primevue 3.30.0 → 3.30.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -2
- package/accordion/Accordion.d.ts +6 -1
- package/accordion/Accordion.vue +2 -1
- package/accordion/accordion.cjs.js +5 -9
- package/accordion/accordion.cjs.min.js +1 -1
- package/accordion/accordion.esm.js +5 -9
- package/accordion/accordion.esm.min.js +1 -1
- package/accordion/accordion.js +6 -10
- package/accordion/accordion.min.js +1 -1
- package/accordiontab/AccordionTab.d.ts +1 -1
- package/autocomplete/AutoComplete.d.ts +1 -1
- package/avatar/Avatar.d.ts +1 -1
- package/badge/Badge.d.ts +1 -1
- package/basecomponent/BaseComponent.vue +12 -16
- package/basecomponent/basecomponent.cjs.js +18 -6
- package/basecomponent/basecomponent.cjs.min.js +1 -1
- package/basecomponent/basecomponent.esm.js +18 -6
- package/basecomponent/basecomponent.esm.min.js +1 -1
- package/basecomponent/basecomponent.js +18 -6
- package/basecomponent/basecomponent.min.js +1 -1
- package/basedirective/basedirective.cjs.js +8 -2
- package/basedirective/basedirective.cjs.min.js +1 -1
- package/basedirective/basedirective.esm.js +8 -2
- package/basedirective/basedirective.esm.min.js +1 -1
- package/basedirective/basedirective.js +8 -2
- package/basedirective/basedirective.min.js +1 -1
- package/blockui/BlockUI.d.ts +1 -1
- package/breadcrumb/Breadcrumb.d.ts +1 -1
- package/button/Button.d.ts +1 -1
- package/calendar/Calendar.d.ts +1 -1
- package/carousel/Carousel.d.ts +1 -1
- package/cascadeselect/CascadeSelect.d.ts +1 -1
- package/chart/Chart.d.ts +1 -1
- package/checkbox/Checkbox.d.ts +1 -1
- package/chip/Chip.d.ts +1 -1
- package/chips/Chips.d.ts +1 -1
- package/colorpicker/ColorPicker.d.ts +1 -1
- package/column/Column.d.ts +1 -1
- package/columngroup/ColumnGroup.d.ts +1 -1
- package/config/PrimeVue.d.ts +13 -6
- package/confirmdialog/ConfirmDialog.d.ts +1 -1
- package/confirmpopup/ConfirmPopup.d.ts +1 -1
- package/contextmenu/ContextMenu.d.ts +1 -1
- package/core/core.js +127 -92
- package/core/core.min.js +7 -7
- package/datatable/BodyCell.vue +2 -1
- package/datatable/DataTable.d.ts +1 -1
- package/datatable/FooterCell.vue +2 -1
- package/datatable/HeaderCell.vue +2 -1
- package/datatable/TableFooter.vue +3 -2
- package/datatable/TableHeader.vue +4 -3
- package/datatable/datatable.cjs.js +75 -105
- package/datatable/datatable.cjs.min.js +1 -1
- package/datatable/datatable.esm.js +75 -105
- package/datatable/datatable.esm.min.js +1 -1
- package/datatable/datatable.js +75 -105
- package/datatable/datatable.min.js +1 -1
- package/dataview/BaseDataView.vue +1 -2
- package/dataview/DataView.d.ts +1 -1
- package/dataview/DataView.vue +3 -3
- package/dataview/dataview.cjs.js +5 -13
- package/dataview/dataview.cjs.min.js +1 -1
- package/dataview/dataview.esm.js +5 -13
- package/dataview/dataview.esm.min.js +1 -1
- package/dataview/dataview.js +5 -13
- package/dataview/dataview.min.js +1 -1
- package/dataviewlayoutoptions/DataViewLayoutOptions.d.ts +6 -1
- package/deferredcontent/DeferredContent.d.ts +1 -1
- package/dialog/Dialog.d.ts +1 -1
- package/divider/Divider.d.ts +1 -1
- package/dock/Dock.d.ts +1 -1
- package/dropdown/Dropdown.d.ts +1 -1
- package/editor/Editor.d.ts +1 -1
- package/fieldset/Fieldset.d.ts +1 -1
- package/fileupload/FileUpload.d.ts +1 -1
- package/galleria/Galleria.d.ts +1 -1
- package/image/Image.d.ts +1 -1
- package/inlinemessage/InlineMessage.d.ts +1 -1
- package/inplace/Inplace.d.ts +1 -1
- package/inputnumber/InputNumber.d.ts +1 -1
- package/inputswitch/InputSwitch.d.ts +1 -1
- package/inputtext/InputText.d.ts +26 -1
- package/inputtext/InputText.vue +2 -1
- package/inputtext/inputtext.cjs.js +2 -1
- package/inputtext/inputtext.cjs.min.js +1 -1
- package/inputtext/inputtext.esm.js +2 -1
- package/inputtext/inputtext.esm.min.js +1 -1
- package/inputtext/inputtext.js +2 -1
- package/inputtext/inputtext.min.js +1 -1
- package/knob/Knob.d.ts +1 -1
- package/listbox/Listbox.d.ts +1 -1
- package/megamenu/MegaMenu.d.ts +1 -1
- package/menu/Menu.d.ts +1 -1
- package/menubar/Menubar.d.ts +1 -1
- package/message/Message.d.ts +1 -1
- package/multiselect/MultiSelect.d.ts +1 -1
- package/multiselect/MultiSelect.vue +1 -1
- package/multiselect/multiselect.cjs.js +1 -1
- package/multiselect/multiselect.cjs.min.js +1 -1
- package/multiselect/multiselect.esm.js +1 -1
- package/multiselect/multiselect.esm.min.js +1 -1
- package/multiselect/multiselect.js +1 -1
- package/multiselect/multiselect.min.js +1 -1
- package/orderlist/OrderList.d.ts +18 -1
- package/orderlist/OrderList.vue +7 -7
- package/orderlist/orderlist.cjs.js +19 -15
- package/orderlist/orderlist.cjs.min.js +1 -1
- package/orderlist/orderlist.esm.js +19 -15
- package/orderlist/orderlist.esm.min.js +1 -1
- package/orderlist/orderlist.js +19 -15
- package/orderlist/orderlist.min.js +1 -1
- package/organizationchart/OrganizationChart.d.ts +1 -1
- package/overlaypanel/OverlayPanel.d.ts +1 -1
- package/package.json +1 -1
- package/paginator/JumpToPageDropdown.vue +1 -1
- package/paginator/Paginator.d.ts +1 -26
- package/paginator/paginator.cjs.js +1 -1
- package/paginator/paginator.cjs.min.js +1 -1
- package/paginator/paginator.esm.js +1 -1
- package/paginator/paginator.esm.min.js +1 -1
- package/paginator/paginator.js +1 -1
- package/paginator/paginator.min.js +1 -1
- package/panel/Panel.d.ts +2 -2
- package/panelmenu/PanelMenu.d.ts +1 -1
- package/password/Password.d.ts +1 -1
- package/picklist/BasePickList.vue +4 -4
- package/picklist/PickList.d.ts +22 -1
- package/picklist/PickList.vue +19 -19
- package/picklist/picklist.cjs.js +59 -47
- package/picklist/picklist.cjs.min.js +1 -1
- package/picklist/picklist.esm.js +59 -47
- package/picklist/picklist.esm.min.js +1 -1
- package/picklist/picklist.js +59 -47
- package/picklist/picklist.min.js +1 -1
- package/progressbar/ProgressBar.d.ts +1 -1
- package/progressspinner/ProgressSpinner.d.ts +1 -1
- package/radiobutton/RadioButton.d.ts +1 -1
- package/rating/Rating.d.ts +1 -1
- package/row/Row.d.ts +1 -1
- package/scrollpanel/ScrollPanel.d.ts +1 -1
- package/scrolltop/ScrollTop.d.ts +1 -1
- package/selectbutton/SelectButton.d.ts +1 -1
- package/sidebar/Sidebar.d.ts +1 -1
- package/skeleton/Skeleton.d.ts +1 -1
- package/slider/Slider.d.ts +1 -1
- package/speeddial/SpeedDial.d.ts +1 -1
- package/splitbutton/SplitButton.d.ts +1 -1
- package/splitter/Splitter.d.ts +1 -1
- package/splitterpanel/SplitterPanel.d.ts +1 -1
- package/steps/Steps.d.ts +1 -1
- package/tabmenu/TabMenu.d.ts +1 -1
- package/tabpanel/TabPanel.d.ts +17 -1
- package/tabview/TabView.d.ts +6 -1
- package/tabview/TabView.vue +10 -4
- package/tabview/tabview.cjs.js +17 -14
- package/tabview/tabview.cjs.min.js +1 -1
- package/tabview/tabview.esm.js +17 -14
- package/tabview/tabview.esm.min.js +1 -1
- package/tabview/tabview.js +18 -15
- package/tabview/tabview.min.js +1 -1
- package/tag/Tag.d.ts +1 -1
- package/terminal/Terminal.d.ts +1 -1
- package/textarea/Textarea.d.ts +18 -1
- package/textarea/Textarea.vue +8 -1
- package/textarea/textarea.cjs.js +8 -1
- package/textarea/textarea.cjs.min.js +1 -1
- package/textarea/textarea.esm.js +8 -1
- package/textarea/textarea.esm.min.js +1 -1
- package/textarea/textarea.js +8 -1
- package/textarea/textarea.min.js +1 -1
- package/tieredmenu/TieredMenu.d.ts +1 -1
- package/timeline/Timeline.d.ts +20 -1
- package/timeline/Timeline.vue +14 -6
- package/timeline/timeline.cjs.js +17 -7
- package/timeline/timeline.cjs.min.js +1 -1
- package/timeline/timeline.esm.js +17 -7
- package/timeline/timeline.esm.min.js +1 -1
- package/timeline/timeline.js +17 -7
- package/timeline/timeline.min.js +1 -1
- package/toast/Toast.d.ts +1 -1
- package/togglebutton/ToggleButton.d.ts +1 -1
- package/toolbar/Toolbar.d.ts +1 -1
- package/tree/Tree.d.ts +1 -1
- package/treeselect/TreeSelect.d.ts +1 -1
- package/treetable/BaseTreeTable.vue +2 -2
- package/treetable/BodyCell.vue +2 -1
- package/treetable/FooterCell.vue +2 -1
- package/treetable/HeaderCell.vue +3 -2
- package/treetable/TreeTable.d.ts +1 -1
- package/treetable/TreeTable.vue +4 -3
- package/treetable/TreeTableRow.vue +1 -1
- package/treetable/treetable.cjs.js +26 -42
- package/treetable/treetable.cjs.min.js +1 -1
- package/treetable/treetable.esm.js +27 -43
- package/treetable/treetable.esm.min.js +1 -1
- package/treetable/treetable.js +26 -42
- package/treetable/treetable.min.js +1 -1
- package/tristatecheckbox/TriStateCheckbox.d.ts +1 -1
- package/usestyle/UseStyle.d.ts +1 -0
- package/usestyle/usestyle.cjs.js +12 -10
- package/usestyle/usestyle.cjs.min.js +1 -1
- package/usestyle/usestyle.esm.js +12 -10
- package/usestyle/usestyle.esm.min.js +1 -1
- package/usestyle/usestyle.js +12 -10
- package/usestyle/usestyle.min.js +1 -1
- package/utils/Utils.d.ts +4 -3
- package/utils/utils.cjs.js +19 -5
- package/utils/utils.cjs.min.js +1 -1
- package/utils/utils.esm.js +19 -5
- package/utils/utils.esm.min.js +1 -1
- package/utils/utils.js +19 -5
- package/utils/utils.min.js +1 -1
- package/virtualscroller/VirtualScroller.d.ts +1 -1
- package/web-types.json +1 -1
package/datatable/BodyCell.vue
CHANGED
|
@@ -86,6 +86,7 @@ import TimesIcon from 'primevue/icons/times';
|
|
|
86
86
|
import OverlayEventBus from 'primevue/overlayeventbus';
|
|
87
87
|
import Ripple from 'primevue/ripple';
|
|
88
88
|
import { DomHandler, ObjectUtils } from 'primevue/utils';
|
|
89
|
+
import { mergeProps } from 'vue';
|
|
89
90
|
import RowCheckbox from './RowCheckbox.vue';
|
|
90
91
|
import RowRadioButton from './RowRadioButton.vue';
|
|
91
92
|
|
|
@@ -217,7 +218,7 @@ export default {
|
|
|
217
218
|
}
|
|
218
219
|
};
|
|
219
220
|
|
|
220
|
-
return
|
|
221
|
+
return mergeProps(this.ptm(`column.${key}`, { column: columnMetaData }), this.ptm(`column.${key}`, columnMetaData), this.ptmo(this.getColumnProp(), key, columnMetaData));
|
|
221
222
|
},
|
|
222
223
|
getColumnProp() {
|
|
223
224
|
return this.column.props && this.column.props.pt ? this.column.props.pt : undefined;
|
package/datatable/DataTable.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ import { RowPassThroughOptionType } from '../row';
|
|
|
16
16
|
import { ClassComponent, GlobalComponentConstructor, Nullable } from '../ts-helpers';
|
|
17
17
|
import { VirtualScrollerPassThroughOptionType, VirtualScrollerProps } from '../virtualscroller';
|
|
18
18
|
|
|
19
|
-
export declare type DataTablePassThroughOptionType = DataTablePassThroughAttributes | ((options: DataTablePassThroughMethodOptions) => DataTablePassThroughAttributes) | null | undefined;
|
|
19
|
+
export declare type DataTablePassThroughOptionType = DataTablePassThroughAttributes | ((options: DataTablePassThroughMethodOptions) => DataTablePassThroughAttributes | string) | string | null | undefined;
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Custom passthrough(pt) option method.
|
package/datatable/FooterCell.vue
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
<script>
|
|
9
9
|
import BaseComponent from 'primevue/basecomponent';
|
|
10
10
|
import { DomHandler, ObjectUtils } from 'primevue/utils';
|
|
11
|
+
import { mergeProps } from 'vue';
|
|
11
12
|
|
|
12
13
|
export default {
|
|
13
14
|
name: 'FooterCell',
|
|
@@ -54,7 +55,7 @@ export default {
|
|
|
54
55
|
}
|
|
55
56
|
};
|
|
56
57
|
|
|
57
|
-
return
|
|
58
|
+
return mergeProps(this.ptm(`column.${key}`, { column: columnMetaData }), this.ptm(`column.${key}`, columnMetaData), this.ptmo(this.getColumnProp(), key, columnMetaData));
|
|
58
59
|
},
|
|
59
60
|
getColumnProp() {
|
|
60
61
|
return this.column.props && this.column.props.pt ? this.column.props.pt : undefined;
|
package/datatable/HeaderCell.vue
CHANGED
|
@@ -87,6 +87,7 @@ import SortAltIcon from 'primevue/icons/sortalt';
|
|
|
87
87
|
import SortAmountDownIcon from 'primevue/icons/sortamountdown';
|
|
88
88
|
import SortAmountUpAltIcon from 'primevue/icons/sortamountupalt';
|
|
89
89
|
import { DomHandler, ObjectUtils } from 'primevue/utils';
|
|
90
|
+
import { mergeProps } from 'vue';
|
|
90
91
|
import ColumnFilter from './ColumnFilter.vue';
|
|
91
92
|
import HeaderCheckbox from './HeaderCheckbox.vue';
|
|
92
93
|
|
|
@@ -217,7 +218,7 @@ export default {
|
|
|
217
218
|
}
|
|
218
219
|
};
|
|
219
220
|
|
|
220
|
-
return
|
|
221
|
+
return mergeProps(this.ptm(`column.${key}`, { column: columnMetaData }), this.ptm(`column.${key}`, columnMetaData), this.ptmo(this.getColumnProp(), key, columnMetaData));
|
|
221
222
|
},
|
|
222
223
|
getColumnProp() {
|
|
223
224
|
return this.column.props && this.column.props.pt ? this.column.props.pt : undefined; //@todo:
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
<script>
|
|
19
19
|
import BaseComponent from 'primevue/basecomponent';
|
|
20
20
|
import { ObjectUtils } from 'primevue/utils';
|
|
21
|
+
import { mergeProps } from 'vue';
|
|
21
22
|
import FooterCell from './FooterCell.vue';
|
|
22
23
|
|
|
23
24
|
export default {
|
|
@@ -50,7 +51,7 @@ export default {
|
|
|
50
51
|
}
|
|
51
52
|
};
|
|
52
53
|
|
|
53
|
-
return
|
|
54
|
+
return mergeProps(this.ptm(`columnGroup.${key}`, { columnGroup: columnGroupMetaData }), this.ptm(`columnGroup.${key}`, columnGroupMetaData), this.ptmo(this.getColumnGroupProps(), key, columnGroupMetaData));
|
|
54
55
|
},
|
|
55
56
|
getColumnGroupProps() {
|
|
56
57
|
return this.columnGroup && this.columnGroup.props && this.columnGroup.props.pt ? this.columnGroup.props.pt : undefined; //@todo
|
|
@@ -67,7 +68,7 @@ export default {
|
|
|
67
68
|
}
|
|
68
69
|
};
|
|
69
70
|
|
|
70
|
-
return
|
|
71
|
+
return mergeProps(this.ptm(`row.${key}`, { row: rowMetaData }), this.ptm(`row.${key}`, rowMetaData), this.ptmo(this.getRowProp(row), key, rowMetaData));
|
|
71
72
|
},
|
|
72
73
|
getRowProp(row) {
|
|
73
74
|
return row.props && row.props.pt ? row.props.pt : undefined; //@todo
|
|
@@ -131,6 +131,7 @@
|
|
|
131
131
|
<script>
|
|
132
132
|
import BaseComponent from 'primevue/basecomponent';
|
|
133
133
|
import { ObjectUtils } from 'primevue/utils';
|
|
134
|
+
import { mergeProps } from 'vue';
|
|
134
135
|
import ColumnFilter from './ColumnFilter.vue';
|
|
135
136
|
import HeaderCell from './HeaderCell.vue';
|
|
136
137
|
import HeaderCheckbox from './HeaderCheckbox.vue';
|
|
@@ -247,7 +248,7 @@ export default {
|
|
|
247
248
|
}
|
|
248
249
|
};
|
|
249
250
|
|
|
250
|
-
return
|
|
251
|
+
return mergeProps(this.ptm(`columnGroup.${key}`, { columnGroup: columnGroupMetaData }), this.ptm(`columnGroup.${key}`, columnGroupMetaData), this.ptmo(this.getColumnGroupProps(), key, columnGroupMetaData));
|
|
251
252
|
},
|
|
252
253
|
getColumnGroupProps() {
|
|
253
254
|
return this.columnGroup && this.columnGroup.props && this.columnGroup.props.pt ? this.columnGroup.props.pt : undefined; //@todo
|
|
@@ -264,7 +265,7 @@ export default {
|
|
|
264
265
|
}
|
|
265
266
|
};
|
|
266
267
|
|
|
267
|
-
return
|
|
268
|
+
return mergeProps(this.ptm(`row.${key}`, { row: rowMetaData }), this.ptm(`row.${key}`, rowMetaData), this.ptmo(this.getRowProp(row), key, rowMetaData));
|
|
268
269
|
},
|
|
269
270
|
getRowProp(row) {
|
|
270
271
|
return row.props && row.props.pt ? row.props.pt : undefined; //@todo
|
|
@@ -281,7 +282,7 @@ export default {
|
|
|
281
282
|
}
|
|
282
283
|
};
|
|
283
284
|
|
|
284
|
-
return
|
|
285
|
+
return mergeProps(this.ptm(`column.${key}`, { column: columnMetaData }), this.ptm(`column.${key}`, columnMetaData), this.ptmo(this.getColumnProp(column), key, columnMetaData));
|
|
285
286
|
},
|
|
286
287
|
getColumnProp(column) {
|
|
287
288
|
return column.props && column.props.pt ? column.props.pt : undefined; //@todo
|