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 • 9.83 kB
Source Map (JSON)
{"version":3,"file":"index.mjs","sources":["../../src/column/BaseColumn.vue","../../src/column/Column.vue"],"sourcesContent":["<script>\nimport BaseComponent from '@primevue/core/basecomponent';\nimport ColumnStyle from 'primevue/column/style';\n\nexport default {\n name: 'BaseColumn',\n extends: BaseComponent,\n props: {\n columnKey: {\n type: null,\n default: null\n },\n field: {\n type: [String, Function],\n default: null\n },\n sortField: {\n type: [String, Function],\n default: null\n },\n filterField: {\n type: [String, Function],\n default: null\n },\n dataType: {\n type: String,\n default: 'text'\n },\n sortable: {\n type: Boolean,\n default: false\n },\n header: {\n type: null,\n default: null\n },\n footer: {\n type: null,\n default: null\n },\n style: {\n type: null,\n default: null\n },\n class: {\n type: String,\n default: null\n },\n headerStyle: {\n type: null,\n default: null\n },\n headerClass: {\n type: String,\n default: null\n },\n bodyStyle: {\n type: null,\n default: null\n },\n bodyClass: {\n type: String,\n default: null\n },\n footerStyle: {\n type: null,\n default: null\n },\n footerClass: {\n type: String,\n default: null\n },\n showFilterMenu: {\n type: Boolean,\n default: true\n },\n showFilterOperator: {\n type: Boolean,\n default: true\n },\n showClearButton: {\n type: Boolean,\n default: false\n },\n showApplyButton: {\n type: Boolean,\n default: true\n },\n showFilterMatchModes: {\n type: Boolean,\n default: true\n },\n showAddButton: {\n type: Boolean,\n default: true\n },\n filterMatchModeOptions: {\n type: Array,\n default: null\n },\n maxConstraints: {\n type: Number,\n default: 2\n },\n excludeGlobalFilter: {\n type: Boolean,\n default: false\n },\n filterHeaderClass: {\n type: String,\n default: null\n },\n filterHeaderStyle: {\n type: null,\n default: null\n },\n filterMenuClass: {\n type: String,\n default: null\n },\n filterMenuStyle: {\n type: null,\n default: null\n },\n selectionMode: {\n type: String,\n default: null\n },\n expander: {\n type: Boolean,\n default: false\n },\n colspan: {\n type: Number,\n default: null\n },\n rowspan: {\n type: Number,\n default: null\n },\n rowReorder: {\n type: Boolean,\n default: false\n },\n rowReorderIcon: {\n type: String,\n default: undefined\n },\n reorderableColumn: {\n type: Boolean,\n default: true\n },\n rowEditor: {\n type: Boolean,\n default: false\n },\n frozen: {\n type: Boolean,\n default: false\n },\n alignFrozen: {\n type: String,\n default: 'left'\n },\n exportable: {\n type: Boolean,\n default: true\n },\n exportHeader: {\n type: String,\n default: null\n },\n exportFooter: {\n type: String,\n default: null\n },\n filterMatchMode: {\n type: String,\n default: null\n },\n hidden: {\n type: Boolean,\n default: false\n }\n },\n style: ColumnStyle,\n provide() {\n return {\n $pcColumn: this,\n $parentInstance: this\n };\n }\n};\n</script>\n","<script>\nimport BaseColumn from './BaseColumn.vue';\n\nexport default {\n name: 'Column',\n extends: BaseColumn,\n inheritAttrs: false,\n inject: ['$columns'],\n mounted() {\n this.$columns?.add(this.$);\n },\n unmounted() {\n this.$columns?.delete(this.$);\n },\n render() {\n return null;\n }\n};\n</script>\n"],"names":["name","BaseComponent","props","columnKey","type","field","String","Function","sortField","filterField","dataType","sortable","Boolean","header","footer","style","headerStyle","headerClass","bodyStyle","bodyClass","footerStyle","footerClass","showFilterMenu","showFilterOperator","showClearButton","showApplyButton","showFilterMatchModes","showAddButton","filterMatchModeOptions","Array","maxConstraints","Number","excludeGlobalFilter","filterHeaderClass","filterHeaderStyle","filterMenuClass","filterMenuStyle","selectionMode","expander","colspan","rowspan","rowReorder","rowReorderIcon","undefined","reorderableColumn","rowEditor","frozen","alignFrozen","exportable","exportHeader","exportFooter","filterMatchMode","hidden","ColumnStyle","provide","$pcColumn","$parentInstance","BaseColumn","inheritAttrs","inject","mounted","_this$$columns","$columns","add","$","unmounted","_this$$columns2","render"],"mappings":";;;AAIA,eAAe;AACXA,EAAAA,IAAI,EAAE,YAAY;AAClB,EAAA,SAAA,EAASC,aAAa;AACtBC,EAAAA,KAAK,EAAE;AACHC,IAAAA,SAAS,E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