UNPKG

primevue

Version:

PrimeVue is an open source UI library for Vue featuring a rich set of 80+ components, a theme designer, various theme alternatives such as Material, Bootstrap, Tailwind, premium templates and professional support. In addition, it integrates with PrimeBloc

1 lines 4.13 kB
{"version":3,"file":"index.mjs","sources":["../../src/divider/BaseDivider.vue","../../src/divider/Divider.vue","../../src/divider/Divider.vue?vue&type=template&id=77ce90d5&lang.js"],"sourcesContent":["<script>\nimport BaseComponent from '@primevue/core/basecomponent';\nimport DividerStyle from 'primevue/divider/style';\n\nexport default {\n name: 'BaseDivider',\n extends: BaseComponent,\n props: {\n align: {\n type: String,\n default: null\n },\n layout: {\n type: String,\n default: 'horizontal'\n },\n type: {\n type: String,\n default: 'solid'\n }\n },\n style: DividerStyle,\n provide() {\n return {\n $pcDivider: this,\n $parentInstance: this\n };\n }\n};\n</script>\n","<template>\n <div :class=\"cx('root')\" :style=\"sx('root')\" role=\"separator\" :aria-orientation=\"layout\" :data-p=\"dataP\" v-bind=\"ptmi('root')\">\n <div v-if=\"$slots.default\" :class=\"cx('content')\" :data-p=\"dataP\" v-bind=\"ptm('content')\">\n <slot></slot>\n </div>\n </div>\n</template>\n\n<script>\nimport { cn } from '@primeuix/utils';\nimport BaseDivider from './BaseDivider.vue';\n\nexport default {\n name: 'Divider',\n extends: BaseDivider,\n inheritAttrs: false,\n computed: {\n dataP() {\n return cn({\n [this.align]: this.align,\n [this.layout]: this.layout,\n [this.type]: this.type\n });\n }\n }\n};\n</script>\n","<template>\n <div :class=\"cx('root')\" :style=\"sx('root')\" role=\"separator\" :aria-orientation=\"layout\" :data-p=\"dataP\" v-bind=\"ptmi('root')\">\n <div v-if=\"$slots.default\" :class=\"cx('content')\" :data-p=\"dataP\" v-bind=\"ptm('content')\">\n <slot></slot>\n </div>\n </div>\n</template>\n\n<script>\nimport { cn } from '@primeuix/utils';\nimport BaseDivider from './BaseDivider.vue';\n\nexport default {\n name: 'Divider',\n extends: BaseDivider,\n inheritAttrs: false,\n computed: {\n dataP() {\n return cn({\n [this.align]: this.align,\n [this.layout]: this.layout,\n [this.type]: this.type\n });\n }\n }\n};\n</script>\n"],"names":["name","BaseComponent","props","align","type","String","layout","style","DividerStyle","provide","$pcDivider","$parentInstance","BaseDivider","inheritAttrs","computed","dataP","cn","_defineProperty","_openBlock","_createElementBlock","_mergeProps","_ctx","cx","sx","role","$options","ptmi","$slots","ptm","_renderSlot"],"mappings":";;;;;AAIA,eAAe;AACXA,EAAAA,IAAI,EAAE,aAAa;AACnB,EAAA,SAAA,EAASC,aAAa;AACtBC,EAAAA,KAAK,EAAE;AACHC,IAAAA,KAAK,EAAE;AACHC,MAAAA,IAAI,EAAEC,MAAM;MACZ,SAAS,EAAA;KACZ;AACDC,IAAAA,MAAM,EAAE;AACJF,MAAAA,IAAI,EAAEC,MAAM;MACZ,SAAS,EAAA;KACZ;AACDD,IAAAA,IAAI,EAAE;AACFA,MAAAA,IAAI,EAAEC,MAAM;MACZ,SAAS,EAAA;AACb;GACH;AACDE,EAAAA,KAAK,EAAEC,YAAY;EACnBC,OAAO,EAAA,SAAPA,OAAOA,GAAG;IACN,OAAO;AACHC,MAAAA,UAAU,EAAE,IAAI;AAChBC,MAAAA,eAAe,EAAE;KACpB;AACL;AACJ,CAAC;;;;;;AChBD,aAAe;AACXX,EAAAA,IAAI,EAAE,SAAS;AACf,EAAA,SAAA,EAASY,QAAW;AACpBC,EAAAA,YAAY,EAAE,KAAK;AACnBC,EAAAA,QAAQ,EAAE;IACNC,KAAK,EAAA,SAALA,KAAKA,GAAG;AACJ,MAAA,OAAOC,EAAE,CAAAC,eAAA,CAAAA,eAAA,CAAAA,eAAA,CACJ,EAAA,EAAA,IAAI,CAACd,KAAK,EAAG,IAAI,CAACA,KAAK,CAAA,EACvB,IAAI,CAACG,MAAM,EAAG,IAAI,CAACA,MAAM,CACzB,EAAA,IAAI,CAACF,IAAI,EAAG,IAAI,CAACA,IAAG,CACxB,CAAC;AACN;AACJ;AACJ,CAAC;;;;;ECxBG,OAAAc,SAAA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