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.
Files changed (214) hide show
  1. package/README.md +4 -2
  2. package/accordion/Accordion.d.ts +6 -1
  3. package/accordion/Accordion.vue +2 -1
  4. package/accordion/accordion.cjs.js +5 -9
  5. package/accordion/accordion.cjs.min.js +1 -1
  6. package/accordion/accordion.esm.js +5 -9
  7. package/accordion/accordion.esm.min.js +1 -1
  8. package/accordion/accordion.js +6 -10
  9. package/accordion/accordion.min.js +1 -1
  10. package/accordiontab/AccordionTab.d.ts +1 -1
  11. package/autocomplete/AutoComplete.d.ts +1 -1
  12. package/avatar/Avatar.d.ts +1 -1
  13. package/badge/Badge.d.ts +1 -1
  14. package/basecomponent/BaseComponent.vue +12 -16
  15. package/basecomponent/basecomponent.cjs.js +18 -6
  16. package/basecomponent/basecomponent.cjs.min.js +1 -1
  17. package/basecomponent/basecomponent.esm.js +18 -6
  18. package/basecomponent/basecomponent.esm.min.js +1 -1
  19. package/basecomponent/basecomponent.js +18 -6
  20. package/basecomponent/basecomponent.min.js +1 -1
  21. package/basedirective/basedirective.cjs.js +8 -2
  22. package/basedirective/basedirective.cjs.min.js +1 -1
  23. package/basedirective/basedirective.esm.js +8 -2
  24. package/basedirective/basedirective.esm.min.js +1 -1
  25. package/basedirective/basedirective.js +8 -2
  26. package/basedirective/basedirective.min.js +1 -1
  27. package/blockui/BlockUI.d.ts +1 -1
  28. package/breadcrumb/Breadcrumb.d.ts +1 -1
  29. package/button/Button.d.ts +1 -1
  30. package/calendar/Calendar.d.ts +1 -1
  31. package/carousel/Carousel.d.ts +1 -1
  32. package/cascadeselect/CascadeSelect.d.ts +1 -1
  33. package/chart/Chart.d.ts +1 -1
  34. package/checkbox/Checkbox.d.ts +1 -1
  35. package/chip/Chip.d.ts +1 -1
  36. package/chips/Chips.d.ts +1 -1
  37. package/colorpicker/ColorPicker.d.ts +1 -1
  38. package/column/Column.d.ts +1 -1
  39. package/columngroup/ColumnGroup.d.ts +1 -1
  40. package/config/PrimeVue.d.ts +13 -6
  41. package/confirmdialog/ConfirmDialog.d.ts +1 -1
  42. package/confirmpopup/ConfirmPopup.d.ts +1 -1
  43. package/contextmenu/ContextMenu.d.ts +1 -1
  44. package/core/core.js +127 -92
  45. package/core/core.min.js +7 -7
  46. package/datatable/BodyCell.vue +2 -1
  47. package/datatable/DataTable.d.ts +1 -1
  48. package/datatable/FooterCell.vue +2 -1
  49. package/datatable/HeaderCell.vue +2 -1
  50. package/datatable/TableFooter.vue +3 -2
  51. package/datatable/TableHeader.vue +4 -3
  52. package/datatable/datatable.cjs.js +75 -105
  53. package/datatable/datatable.cjs.min.js +1 -1
  54. package/datatable/datatable.esm.js +75 -105
  55. package/datatable/datatable.esm.min.js +1 -1
  56. package/datatable/datatable.js +75 -105
  57. package/datatable/datatable.min.js +1 -1
  58. package/dataview/BaseDataView.vue +1 -2
  59. package/dataview/DataView.d.ts +1 -1
  60. package/dataview/DataView.vue +3 -3
  61. package/dataview/dataview.cjs.js +5 -13
  62. package/dataview/dataview.cjs.min.js +1 -1
  63. package/dataview/dataview.esm.js +5 -13
  64. package/dataview/dataview.esm.min.js +1 -1
  65. package/dataview/dataview.js +5 -13
  66. package/dataview/dataview.min.js +1 -1
  67. package/dataviewlayoutoptions/DataViewLayoutOptions.d.ts +6 -1
  68. package/deferredcontent/DeferredContent.d.ts +1 -1
  69. package/dialog/Dialog.d.ts +1 -1
  70. package/divider/Divider.d.ts +1 -1
  71. package/dock/Dock.d.ts +1 -1
  72. package/dropdown/Dropdown.d.ts +1 -1
  73. package/editor/Editor.d.ts +1 -1
  74. package/fieldset/Fieldset.d.ts +1 -1
  75. package/fileupload/FileUpload.d.ts +1 -1
  76. package/galleria/Galleria.d.ts +1 -1
  77. package/image/Image.d.ts +1 -1
  78. package/inlinemessage/InlineMessage.d.ts +1 -1
  79. package/inplace/Inplace.d.ts +1 -1
  80. package/inputnumber/InputNumber.d.ts +1 -1
  81. package/inputswitch/InputSwitch.d.ts +1 -1
  82. package/inputtext/InputText.d.ts +26 -1
  83. package/inputtext/InputText.vue +2 -1
  84. package/inputtext/inputtext.cjs.js +2 -1
  85. package/inputtext/inputtext.cjs.min.js +1 -1
  86. package/inputtext/inputtext.esm.js +2 -1
  87. package/inputtext/inputtext.esm.min.js +1 -1
  88. package/inputtext/inputtext.js +2 -1
  89. package/inputtext/inputtext.min.js +1 -1
  90. package/knob/Knob.d.ts +1 -1
  91. package/listbox/Listbox.d.ts +1 -1
  92. package/megamenu/MegaMenu.d.ts +1 -1
  93. package/menu/Menu.d.ts +1 -1
  94. package/menubar/Menubar.d.ts +1 -1
  95. package/message/Message.d.ts +1 -1
  96. package/multiselect/MultiSelect.d.ts +1 -1
  97. package/multiselect/MultiSelect.vue +1 -1
  98. package/multiselect/multiselect.cjs.js +1 -1
  99. package/multiselect/multiselect.cjs.min.js +1 -1
  100. package/multiselect/multiselect.esm.js +1 -1
  101. package/multiselect/multiselect.esm.min.js +1 -1
  102. package/multiselect/multiselect.js +1 -1
  103. package/multiselect/multiselect.min.js +1 -1
  104. package/orderlist/OrderList.d.ts +18 -1
  105. package/orderlist/OrderList.vue +7 -7
  106. package/orderlist/orderlist.cjs.js +19 -15
  107. package/orderlist/orderlist.cjs.min.js +1 -1
  108. package/orderlist/orderlist.esm.js +19 -15
  109. package/orderlist/orderlist.esm.min.js +1 -1
  110. package/orderlist/orderlist.js +19 -15
  111. package/orderlist/orderlist.min.js +1 -1
  112. package/organizationchart/OrganizationChart.d.ts +1 -1
  113. package/overlaypanel/OverlayPanel.d.ts +1 -1
  114. package/package.json +1 -1
  115. package/paginator/JumpToPageDropdown.vue +1 -1
  116. package/paginator/Paginator.d.ts +1 -26
  117. package/paginator/paginator.cjs.js +1 -1
  118. package/paginator/paginator.cjs.min.js +1 -1
  119. package/paginator/paginator.esm.js +1 -1
  120. package/paginator/paginator.esm.min.js +1 -1
  121. package/paginator/paginator.js +1 -1
  122. package/paginator/paginator.min.js +1 -1
  123. package/panel/Panel.d.ts +2 -2
  124. package/panelmenu/PanelMenu.d.ts +1 -1
  125. package/password/Password.d.ts +1 -1
  126. package/picklist/BasePickList.vue +4 -4
  127. package/picklist/PickList.d.ts +22 -1
  128. package/picklist/PickList.vue +19 -19
  129. package/picklist/picklist.cjs.js +59 -47
  130. package/picklist/picklist.cjs.min.js +1 -1
  131. package/picklist/picklist.esm.js +59 -47
  132. package/picklist/picklist.esm.min.js +1 -1
  133. package/picklist/picklist.js +59 -47
  134. package/picklist/picklist.min.js +1 -1
  135. package/progressbar/ProgressBar.d.ts +1 -1
  136. package/progressspinner/ProgressSpinner.d.ts +1 -1
  137. package/radiobutton/RadioButton.d.ts +1 -1
  138. package/rating/Rating.d.ts +1 -1
  139. package/row/Row.d.ts +1 -1
  140. package/scrollpanel/ScrollPanel.d.ts +1 -1
  141. package/scrolltop/ScrollTop.d.ts +1 -1
  142. package/selectbutton/SelectButton.d.ts +1 -1
  143. package/sidebar/Sidebar.d.ts +1 -1
  144. package/skeleton/Skeleton.d.ts +1 -1
  145. package/slider/Slider.d.ts +1 -1
  146. package/speeddial/SpeedDial.d.ts +1 -1
  147. package/splitbutton/SplitButton.d.ts +1 -1
  148. package/splitter/Splitter.d.ts +1 -1
  149. package/splitterpanel/SplitterPanel.d.ts +1 -1
  150. package/steps/Steps.d.ts +1 -1
  151. package/tabmenu/TabMenu.d.ts +1 -1
  152. package/tabpanel/TabPanel.d.ts +17 -1
  153. package/tabview/TabView.d.ts +6 -1
  154. package/tabview/TabView.vue +10 -4
  155. package/tabview/tabview.cjs.js +17 -14
  156. package/tabview/tabview.cjs.min.js +1 -1
  157. package/tabview/tabview.esm.js +17 -14
  158. package/tabview/tabview.esm.min.js +1 -1
  159. package/tabview/tabview.js +18 -15
  160. package/tabview/tabview.min.js +1 -1
  161. package/tag/Tag.d.ts +1 -1
  162. package/terminal/Terminal.d.ts +1 -1
  163. package/textarea/Textarea.d.ts +18 -1
  164. package/textarea/Textarea.vue +8 -1
  165. package/textarea/textarea.cjs.js +8 -1
  166. package/textarea/textarea.cjs.min.js +1 -1
  167. package/textarea/textarea.esm.js +8 -1
  168. package/textarea/textarea.esm.min.js +1 -1
  169. package/textarea/textarea.js +8 -1
  170. package/textarea/textarea.min.js +1 -1
  171. package/tieredmenu/TieredMenu.d.ts +1 -1
  172. package/timeline/Timeline.d.ts +20 -1
  173. package/timeline/Timeline.vue +14 -6
  174. package/timeline/timeline.cjs.js +17 -7
  175. package/timeline/timeline.cjs.min.js +1 -1
  176. package/timeline/timeline.esm.js +17 -7
  177. package/timeline/timeline.esm.min.js +1 -1
  178. package/timeline/timeline.js +17 -7
  179. package/timeline/timeline.min.js +1 -1
  180. package/toast/Toast.d.ts +1 -1
  181. package/togglebutton/ToggleButton.d.ts +1 -1
  182. package/toolbar/Toolbar.d.ts +1 -1
  183. package/tree/Tree.d.ts +1 -1
  184. package/treeselect/TreeSelect.d.ts +1 -1
  185. package/treetable/BaseTreeTable.vue +2 -2
  186. package/treetable/BodyCell.vue +2 -1
  187. package/treetable/FooterCell.vue +2 -1
  188. package/treetable/HeaderCell.vue +3 -2
  189. package/treetable/TreeTable.d.ts +1 -1
  190. package/treetable/TreeTable.vue +4 -3
  191. package/treetable/TreeTableRow.vue +1 -1
  192. package/treetable/treetable.cjs.js +26 -42
  193. package/treetable/treetable.cjs.min.js +1 -1
  194. package/treetable/treetable.esm.js +27 -43
  195. package/treetable/treetable.esm.min.js +1 -1
  196. package/treetable/treetable.js +26 -42
  197. package/treetable/treetable.min.js +1 -1
  198. package/tristatecheckbox/TriStateCheckbox.d.ts +1 -1
  199. package/usestyle/UseStyle.d.ts +1 -0
  200. package/usestyle/usestyle.cjs.js +12 -10
  201. package/usestyle/usestyle.cjs.min.js +1 -1
  202. package/usestyle/usestyle.esm.js +12 -10
  203. package/usestyle/usestyle.esm.min.js +1 -1
  204. package/usestyle/usestyle.js +12 -10
  205. package/usestyle/usestyle.min.js +1 -1
  206. package/utils/Utils.d.ts +4 -3
  207. package/utils/utils.cjs.js +19 -5
  208. package/utils/utils.cjs.min.js +1 -1
  209. package/utils/utils.esm.js +19 -5
  210. package/utils/utils.esm.min.js +1 -1
  211. package/utils/utils.js +19 -5
  212. package/utils/utils.min.js +1 -1
  213. package/virtualscroller/VirtualScroller.d.ts +1 -1
  214. package/web-types.json +1 -1
@@ -17,7 +17,7 @@ import { DropdownPassThroughOptionType } from '../dropdown';
17
17
  import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
18
18
  import { VirtualScrollerLoaderOptions } from '../virtualscroller';
19
19
 
20
- export declare type ColumnPassThroughOptionType = ColumnPassThroughAttributes | ((options: ColumnPassThroughMethodOptions) => ColumnPassThroughAttributes) | null | undefined;
20
+ export declare type ColumnPassThroughOptionType = ColumnPassThroughAttributes | ((options: ColumnPassThroughMethodOptions) => ColumnPassThroughAttributes | string) | string | null | undefined;
21
21
 
22
22
  /**
23
23
  * Custom passthrough(pt) option method.
@@ -9,7 +9,7 @@ import { ComponentHooks } from '../basecomponent';
9
9
  import { DataTablePassThroughOptions } from '../datatable';
10
10
  import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
11
11
 
12
- export declare type ColumnGroupPassThroughOptionType = ColumnGroupPassThroughAttributes | ((options: ColumnGroupPassThroughMethodOptions) => ColumnGroupPassThroughAttributes) | null | undefined;
12
+ export declare type ColumnGroupPassThroughOptionType = ColumnGroupPassThroughAttributes | ((options: ColumnGroupPassThroughMethodOptions) => ColumnGroupPassThroughAttributes | string) | string | null | undefined;
13
13
 
14
14
  /**
15
15
  * Custom passthrough(pt) option method.
@@ -88,7 +88,7 @@ import { TreeTablePassThroughOptions } from '../treetable';
88
88
  import { DefaultPTOptions } from '../ts-helpers';
89
89
  import { VirtualScrollerPassThroughOptions } from '../virtualscroller';
90
90
 
91
- interface PrimeVueConfiguration {
91
+ export interface PrimeVueConfiguration {
92
92
  ripple?: boolean;
93
93
  inputStyle?: string;
94
94
  locale?: PrimeVueLocaleOptions;
@@ -98,14 +98,14 @@ interface PrimeVueConfiguration {
98
98
  unstyled?: boolean;
99
99
  }
100
100
 
101
- interface PrimeVueZIndexOptions {
101
+ export interface PrimeVueZIndexOptions {
102
102
  modal?: number;
103
103
  overlay?: number;
104
104
  menu?: number;
105
105
  tooltip?: number;
106
106
  }
107
107
 
108
- interface PrimeVuePTOptions {
108
+ export interface PrimeVuePTOptions {
109
109
  accordion?: DefaultPTOptions<AccordionPassThroughOptions>;
110
110
  accordiontab?: DefaultPTOptions<AccordionTabPassThroughOptions>;
111
111
  autocomplete?: DefaultPTOptions<AutoCompletePassThroughOptions>;
@@ -198,7 +198,7 @@ interface PrimeVuePTOptions {
198
198
  };
199
199
  }
200
200
 
201
- interface PrimeVueLocaleAriaOptions {
201
+ export interface PrimeVueLocaleAriaOptions {
202
202
  trueLabel?: string;
203
203
  falseLabel?: string;
204
204
  nullLabel?: string;
@@ -249,7 +249,7 @@ interface PrimeVueLocaleAriaOptions {
249
249
  rotateLeft?: string;
250
250
  }
251
251
 
252
- interface PrimeVueLocaleOptions {
252
+ export interface PrimeVueLocaleOptions {
253
253
  startsWith?: string;
254
254
  contains?: string;
255
255
  notContains?: string;
@@ -317,7 +317,12 @@ interface PrimeVueLocaleOptions {
317
317
  aria?: PrimeVueLocaleAriaOptions;
318
318
  }
319
319
 
320
- export declare function usePrimeVue(): { config: PrimeVueConfiguration };
320
+ export type PrimeVueChangeTheme = (currentTheme: string, newTheme: string, linkElementId: string, callback?: Function) => void;
321
+
322
+ export declare function usePrimeVue(): {
323
+ config: PrimeVueConfiguration;
324
+ changeTheme: PrimeVueChangeTheme;
325
+ };
321
326
 
322
327
  declare const plugin: Plugin;
323
328
  export default plugin;
@@ -326,6 +331,7 @@ declare module 'vue/types/vue' {
326
331
  interface Vue {
327
332
  $primevue: {
328
333
  config: PrimeVueConfiguration;
334
+ changeTheme: PrimeVueChangeTheme;
329
335
  };
330
336
  }
331
337
  }
@@ -334,6 +340,7 @@ declare module '@vue/runtime-core' {
334
340
  interface ComponentCustomProperties {
335
341
  $primevue: {
336
342
  config: PrimeVueConfiguration;
343
+ changeTheme: PrimeVueChangeTheme;
337
344
  };
338
345
  }
339
346
  }
@@ -13,7 +13,7 @@ import { ButtonPassThroughOptions } from '../button';
13
13
  import { ConfirmationOptions } from '../confirmationoptions';
14
14
  import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
15
15
 
16
- export declare type ConfirmDialogPassThroughOptionType = ConfirmDialogPassThroughAttributes | ((options: ConfirmDialogPassThroughMethodOptions) => ConfirmDialogPassThroughAttributes) | null | undefined;
16
+ export declare type ConfirmDialogPassThroughOptionType = ConfirmDialogPassThroughAttributes | ((options: ConfirmDialogPassThroughMethodOptions) => ConfirmDialogPassThroughAttributes | string) | string | null | undefined;
17
17
 
18
18
  /**
19
19
  * Custom passthrough(pt) option method.
@@ -13,7 +13,7 @@ import { ButtonPassThroughOptions } from '../button';
13
13
  import { ConfirmationOptions } from '../confirmationoptions';
14
14
  import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
15
15
 
16
- export declare type ConfirmPopupPassThroughOptionType = ConfirmPopupPassThroughAttributes | ((options: ConfirmPopupPassThroughMethodOptions) => ConfirmPopupPassThroughAttributes) | null | undefined;
16
+ export declare type ConfirmPopupPassThroughOptionType = ConfirmPopupPassThroughAttributes | ((options: ConfirmPopupPassThroughMethodOptions) => ConfirmPopupPassThroughAttributes | string) | string | null | undefined;
17
17
 
18
18
  /**
19
19
  * Custom passthrough(pt) option method.
@@ -13,7 +13,7 @@ import { ComponentHooks } from '../basecomponent';
13
13
  import { MenuItem } from '../menuitem';
14
14
  import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
15
15
 
16
- export declare type ContextMenuPassThroughOptionType = ContextMenuPassThroughAttributes | ((options: ContextMenuPassThroughMethodOptions) => ContextMenuPassThroughAttributes) | null | undefined;
16
+ export declare type ContextMenuPassThroughOptionType = ContextMenuPassThroughAttributes | ((options: ContextMenuPassThroughMethodOptions) => ContextMenuPassThroughAttributes | string) | string | null | undefined;
17
17
 
18
18
  /**
19
19
  * Custom passthrough(pt) option method.
package/core/core.js CHANGED
@@ -866,10 +866,18 @@ this.primevue.utils = (function (exports) {
866
866
  },
867
867
  toFlatCase: function toFlatCase(str) {
868
868
  // convert snake, kebab, camel and pascal cases to flat case
869
- return this.isNotEmpty(str) ? str.replace(/(-|_)/g, '').toLowerCase() : str;
869
+ return this.isString(str) ? str.replace(/(-|_)/g, '').toLowerCase() : str;
870
+ },
871
+ toKebabCase: function toKebabCase(str) {
872
+ // convert snake, camel and pascal cases to kebab case
873
+ return this.isString(str) ? str.replace(/(_)/g, '-').replace(/[A-Z]/g, function (c, i) {
874
+ return i === 0 ? c : '-' + c.toLowerCase();
875
+ }).toLowerCase() : str;
870
876
  },
871
877
  toCapitalCase: function toCapitalCase(str) {
872
- return this.isNotEmpty(str) ? str[0].toUpperCase() + str.slice(1) : str;
878
+ return this.isString(str, {
879
+ empty: false
880
+ }) ? str[0].toUpperCase() + str.slice(1) : str;
873
881
  },
874
882
  isEmpty: function isEmpty(value) {
875
883
  return value === null || value === undefined || value === '' || Array.isArray(value) && value.length === 0 || !(value instanceof Date) && _typeof(value) === 'object' && Object.keys(value).length === 0;
@@ -881,13 +889,19 @@ this.primevue.utils = (function (exports) {
881
889
  return !!(value && value.constructor && value.call && value.apply);
882
890
  },
883
891
  isObject: function isObject(value) {
884
- return value !== null && value instanceof Object && value.constructor === Object;
892
+ var empty = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
893
+ return value instanceof Object && value.constructor === Object && (empty || Object.keys(value).length !== 0);
885
894
  },
886
895
  isDate: function isDate(value) {
887
- return value !== null && value instanceof Date && value.constructor === Date;
896
+ return value instanceof Date && value.constructor === Date;
888
897
  },
889
898
  isArray: function isArray(value) {
890
- return value !== null && Array.isArray(value);
899
+ var empty = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
900
+ return Array.isArray(value) && (empty || value.length !== 0);
901
+ },
902
+ isString: function isString(value) {
903
+ var empty = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
904
+ return typeof value === 'string' && (empty || value !== '');
891
905
  },
892
906
  isPrintableCharacter: function isPrintableCharacter() {
893
907
  var _char = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
@@ -1698,6 +1712,85 @@ this.primevue.config = (function (exports, api, vue) {
1698
1712
 
1699
1713
  })({}, primevue.api, Vue);
1700
1714
 
1715
+ this.primevue = this.primevue || {};
1716
+ this.primevue.usestyle = (function (exports, utils, vue) {
1717
+ 'use strict';
1718
+
1719
+ /*
1720
+ * Ported from useStyleTag in @vueuse/core
1721
+ * https://github.com/vueuse
1722
+ */
1723
+ function tryOnMounted(fn) {
1724
+ var sync = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
1725
+ if (vue.getCurrentInstance()) vue.onMounted(fn);else if (sync) fn();else vue.nextTick(fn);
1726
+ }
1727
+ var _id = 0;
1728
+ function useStyle(css) {
1729
+ var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
1730
+ var isLoaded = vue.ref(false);
1731
+ var cssRef = vue.ref(css);
1732
+ var styleRef = vue.ref(null);
1733
+ var defaultDocument = utils.DomHandler.isClient() ? window.document : undefined;
1734
+ var _options$document = options.document,
1735
+ document = _options$document === void 0 ? defaultDocument : _options$document,
1736
+ _options$immediate = options.immediate,
1737
+ immediate = _options$immediate === void 0 ? true : _options$immediate,
1738
+ _options$manual = options.manual,
1739
+ manual = _options$manual === void 0 ? false : _options$manual,
1740
+ _options$name = options.name,
1741
+ name = _options$name === void 0 ? "style_".concat(++_id) : _options$name,
1742
+ _options$id = options.id,
1743
+ id = _options$id === void 0 ? undefined : _options$id,
1744
+ _options$media = options.media,
1745
+ media = _options$media === void 0 ? undefined : _options$media;
1746
+ var stop = function stop() {};
1747
+ var load = function load() {
1748
+ if (!document) return;
1749
+ styleRef.value = document.querySelector("style[data-primevue-style-id=\"".concat(name, "\"]")) || document.getElementById(id) || document.createElement('style');
1750
+ if (!styleRef.value.isConnected) {
1751
+ styleRef.value.type = 'text/css';
1752
+ id && (styleRef.value.id = id);
1753
+ media && (styleRef.value.media = media);
1754
+ document.head.appendChild(styleRef.value);
1755
+ name && styleRef.value.setAttribute('data-primevue-style-id', name);
1756
+ }
1757
+ if (isLoaded.value) return;
1758
+ stop = vue.watch(cssRef, function (value) {
1759
+ styleRef.value.textContent = value;
1760
+ }, {
1761
+ immediate: true
1762
+ });
1763
+ isLoaded.value = true;
1764
+ };
1765
+ var unload = function unload() {
1766
+ if (!document || !isLoaded.value) return;
1767
+ stop();
1768
+ utils.DomHandler.isExist(styleRef.value) && document.head.removeChild(styleRef.value);
1769
+ isLoaded.value = false;
1770
+ };
1771
+ if (immediate && !manual) tryOnMounted(load);
1772
+
1773
+ /*if (!manual)
1774
+ tryOnScopeDispose(unload)*/
1775
+
1776
+ return {
1777
+ id: id,
1778
+ name: name,
1779
+ css: cssRef,
1780
+ unload: unload,
1781
+ load: load,
1782
+ isLoaded: vue.readonly(isLoaded)
1783
+ };
1784
+ }
1785
+
1786
+ exports.useStyle = useStyle;
1787
+
1788
+ Object.defineProperty(exports, '__esModule', { value: true });
1789
+
1790
+ return exports;
1791
+
1792
+ })({}, primevue.utils, Vue);
1793
+
1701
1794
  this.primevue = this.primevue || {};
1702
1795
  this.primevue.base = (function (exports, usestyle) {
1703
1796
  'use strict';
@@ -1756,9 +1849,15 @@ this.primevue.basedirective = (function (base, utils, vue) {
1756
1849
  var key = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '';
1757
1850
  var params = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
1758
1851
  var searchInDefaultPT = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : true;
1852
+ var getValue = function getValue() {
1853
+ var value = BaseDirective._getOptionValue.apply(BaseDirective, arguments);
1854
+ return utils.ObjectUtils.isString(value) ? {
1855
+ "class": value
1856
+ } : value;
1857
+ };
1759
1858
  var datasetPrefix = 'data-pc-';
1760
- var self = BaseDirective._getOptionValue(obj, key, params);
1761
- var globalPT = searchInDefaultPT ? BaseDirective._getOptionValue(instance.defaultPT, key, params) : undefined;
1859
+ var self = getValue(obj, key, params);
1860
+ var globalPT = searchInDefaultPT ? getValue(instance.defaultPT, key, params) : undefined;
1762
1861
  var merged = vue.mergeProps(self, globalPT, _objectSpread(_objectSpread({}, key === 'root' && _defineProperty({}, "".concat(datasetPrefix, "name"), utils.ObjectUtils.toFlatCase(instance.$name))), {}, _defineProperty({}, "".concat(datasetPrefix, "section"), utils.ObjectUtils.toFlatCase(key))));
1763
1862
  return merged;
1764
1863
  },
@@ -2055,11 +2154,11 @@ this.primevue.basecomponent = (function (base, usestyle, utils, vue) {
2055
2154
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
2056
2155
  function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
2057
2156
  var inlineStyles = {};
2058
- var buttonStyles = "\n.p-button {\n margin: 0;\n display: inline-flex;\n cursor: pointer;\n user-select: none;\n align-items: center;\n vertical-align: bottom;\n text-align: center;\n overflow: hidden;\n position: relative;\n}\n\n.p-button-label {\n flex: 1 1 auto;\n}\n\n.p-button-icon-right {\n order: 1;\n}\n\n.p-button:disabled {\n cursor: default;\n}\n\n.p-button-icon-only {\n justify-content: center;\n}\n\n.p-button-icon-only .p-button-label {\n visibility: hidden;\n width: 0;\n flex: 0 0 auto;\n}\n\n.p-button-vertical {\n flex-direction: column;\n}\n\n.p-button-icon-bottom {\n order: 2;\n}\n\n.p-buttonset .p-button {\n margin: 0;\n}\n\n.p-buttonset .p-button:not(:last-child) {\n border-right: 0 none;\n}\n\n.p-buttonset .p-button:not(:first-of-type):not(:last-of-type) {\n border-radius: 0;\n}\n\n.p-buttonset .p-button:first-of-type {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n\n.p-buttonset .p-button:last-of-type {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n\n.p-buttonset .p-button:focus {\n position: relative;\n z-index: 1;\n}\n";
2157
+ var buttonStyles = "\n.p-button {\n display: inline-flex;\n cursor: pointer;\n user-select: none;\n align-items: center;\n vertical-align: bottom;\n text-align: center;\n overflow: hidden;\n position: relative;\n}\n\n.p-button-label {\n flex: 1 1 auto;\n}\n\n.p-button-icon-right {\n order: 1;\n}\n\n.p-button:disabled {\n cursor: default;\n}\n\n.p-button-icon-only {\n justify-content: center;\n}\n\n.p-button-icon-only .p-button-label {\n visibility: hidden;\n width: 0;\n flex: 0 0 auto;\n}\n\n.p-button-vertical {\n flex-direction: column;\n}\n\n.p-button-icon-bottom {\n order: 2;\n}\n\n.p-buttonset .p-button {\n margin: 0;\n}\n\n.p-buttonset .p-button:not(:last-child) {\n border-right: 0 none;\n}\n\n.p-buttonset .p-button:not(:first-of-type):not(:last-of-type) {\n border-radius: 0;\n}\n\n.p-buttonset .p-button:first-of-type {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n\n.p-buttonset .p-button:last-of-type {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n\n.p-buttonset .p-button:focus {\n position: relative;\n z-index: 1;\n}\n";
2059
2158
  var checkboxStyles = "\n.p-checkbox {\n display: inline-flex;\n cursor: pointer;\n user-select: none;\n vertical-align: bottom;\n position: relative;\n}\n\n.p-checkbox.p-checkbox-disabled {\n cursor: default;\n}\n\n.p-checkbox-box {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n";
2060
- var inputTextStyles = "\n.p-inputtext {\n margin: 0;\n}\n\n.p-fluid .p-inputtext {\n width: 100%;\n}\n\n/* InputGroup */\n.p-inputgroup {\n display: flex;\n align-items: stretch;\n width: 100%;\n}\n\n.p-inputgroup-addon {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.p-inputgroup .p-float-label {\n display: flex;\n align-items: stretch;\n width: 100%;\n}\n\n.p-inputgroup .p-inputtext,\n.p-fluid .p-inputgroup .p-inputtext,\n.p-inputgroup .p-inputwrapper,\n.p-fluid .p-inputgroup .p-input {\n flex: 1 1 auto;\n width: 1%;\n}\n\n/* Floating Label */\n.p-float-label {\n display: block;\n position: relative;\n}\n\n.p-float-label label {\n position: absolute;\n pointer-events: none;\n top: 50%;\n margin-top: -.5rem;\n transition-property: all;\n transition-timing-function: ease;\n line-height: 1;\n}\n\n.p-float-label textarea ~ label {\n top: 1rem;\n}\n\n.p-float-label input:focus ~ label,\n.p-float-label input.p-filled ~ label,\n.p-float-label textarea:focus ~ label,\n.p-float-label textarea.p-filled ~ label,\n.p-float-label .p-inputwrapper-focus ~ label,\n.p-float-label .p-inputwrapper-filled ~ label {\n top: -.75rem;\n font-size: 12px;\n}\n\n.p-float-label .input:-webkit-autofill ~ label {\n top: -20px;\n font-size: 12px;\n}\n\n.p-float-label .p-placeholder,\n.p-float-label input::placeholder,\n.p-float-label .p-inputtext::placeholder {\n opacity: 0;\n transition-property: all;\n transition-timing-function: ease;\n}\n\n.p-float-label .p-focus .p-placeholder,\n.p-float-label input:focus::placeholder,\n.p-float-label .p-inputtext:focus::placeholder {\n opacity: 1;\n transition-property: all;\n transition-timing-function: ease;\n}\n\n.p-input-icon-left,\n.p-input-icon-right {\n position: relative;\n display: inline-block;\n}\n\n.p-input-icon-left > i,\n.p-input-icon-left > svg,\n.p-input-icon-right > i,\n.p-input-icon-right > svg {\n position: absolute;\n top: 50%;\n margin-top: -.5rem;\n}\n\n.p-fluid .p-input-icon-left,\n.p-fluid .p-input-icon-right {\n display: block;\n width: 100%;\n}\n";
2159
+ var inputTextStyles = "\n.p-fluid .p-inputtext {\n width: 100%;\n}\n\n/* InputGroup */\n.p-inputgroup {\n display: flex;\n align-items: stretch;\n width: 100%;\n}\n\n.p-inputgroup-addon {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.p-inputgroup .p-float-label {\n display: flex;\n align-items: stretch;\n width: 100%;\n}\n\n.p-inputgroup .p-inputtext,\n.p-fluid .p-inputgroup .p-inputtext,\n.p-inputgroup .p-inputwrapper,\n.p-fluid .p-inputgroup .p-input {\n flex: 1 1 auto;\n width: 1%;\n}\n\n/* Floating Label */\n.p-float-label {\n display: block;\n position: relative;\n}\n\n.p-float-label label {\n position: absolute;\n pointer-events: none;\n top: 50%;\n margin-top: -.5rem;\n transition-property: all;\n transition-timing-function: ease;\n line-height: 1;\n}\n\n.p-float-label textarea ~ label {\n top: 1rem;\n}\n\n.p-float-label input:focus ~ label,\n.p-float-label input.p-filled ~ label,\n.p-float-label textarea:focus ~ label,\n.p-float-label textarea.p-filled ~ label,\n.p-float-label .p-inputwrapper-focus ~ label,\n.p-float-label .p-inputwrapper-filled ~ label {\n top: -.75rem;\n font-size: 12px;\n}\n\n.p-float-label .input:-webkit-autofill ~ label {\n top: -20px;\n font-size: 12px;\n}\n\n.p-float-label .p-placeholder,\n.p-float-label input::placeholder,\n.p-float-label .p-inputtext::placeholder {\n opacity: 0;\n transition-property: all;\n transition-timing-function: ease;\n}\n\n.p-float-label .p-focus .p-placeholder,\n.p-float-label input:focus::placeholder,\n.p-float-label .p-inputtext:focus::placeholder {\n opacity: 1;\n transition-property: all;\n transition-timing-function: ease;\n}\n\n.p-input-icon-left,\n.p-input-icon-right {\n position: relative;\n display: inline-block;\n}\n\n.p-input-icon-left > i,\n.p-input-icon-left > svg,\n.p-input-icon-right > i,\n.p-input-icon-right > svg {\n position: absolute;\n top: 50%;\n margin-top: -.5rem;\n}\n\n.p-fluid .p-input-icon-left,\n.p-fluid .p-input-icon-right {\n display: block;\n width: 100%;\n}\n";
2061
2160
  var radioButtonStyles = "\n.p-radiobutton {\n position: relative;\n display: inline-flex;\n cursor: pointer;\n user-select: none;\n vertical-align: bottom;\n}\n\n.p-radiobutton.p-radiobutton-disabled {\n cursor: default;\n}\n\n.p-radiobutton-box {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.p-radiobutton-icon {\n -webkit-backface-visibility: hidden;\n backface-visibility: hidden;\n transform: translateZ(0) scale(.1);\n border-radius: 50%;\n visibility: hidden;\n}\n\n.p-radiobutton-box.p-highlight .p-radiobutton-icon {\n transform: translateZ(0) scale(1.0, 1.0);\n visibility: visible;\n}\n";
2062
- var styles = "\n.p-component, .p-component * {\n box-sizing: border-box;\n}\n\n.p-hidden-space {\n visibility: hidden;\n}\n\n.p-reset {\n margin: 0;\n padding: 0;\n border: 0;\n outline: 0;\n text-decoration: none;\n font-size: 100%;\n list-style: none;\n}\n\n.p-disabled, .p-disabled * {\n cursor: default !important;\n pointer-events: none;\n user-select: none;\n}\n\n.p-component-overlay {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n}\n\n.p-unselectable-text {\n user-select: none;\n}\n\n.p-sr-only {\n border: 0;\n clip: rect(1px, 1px, 1px, 1px);\n clip-path: inset(50%);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n word-wrap: normal !important;\n}\n\ninput[type=\"button\"],\ninput[type=\"submit\"],\ninput[type=\"reset\"],\ninput[type=\"file\"]::-webkit-file-upload-button,\nbutton { /* @todo */\n border-radius: 0;\n}\n\n.p-link {\n\ttext-align: left;\n\tbackground-color: transparent;\n\tmargin: 0;\n\tpadding: 0;\n\tborder: none;\n cursor: pointer;\n user-select: none;\n}\n\n.p-link:disabled {\n\tcursor: default;\n}\n\n/* Non vue overlay animations */\n.p-connected-overlay {\n opacity: 0;\n transform: scaleY(0.8);\n transition: transform .12s cubic-bezier(0, 0, 0.2, 1), opacity .12s cubic-bezier(0, 0, 0.2, 1);\n}\n\n.p-connected-overlay-visible {\n opacity: 1;\n transform: scaleY(1);\n}\n\n.p-connected-overlay-hidden {\n opacity: 0;\n transform: scaleY(1);\n transition: opacity .1s linear;\n}\n\n/* Vue based overlay animations */\n.p-connected-overlay-enter-from {\n opacity: 0;\n transform: scaleY(0.8);\n}\n\n.p-connected-overlay-leave-to {\n opacity: 0;\n}\n\n.p-connected-overlay-enter-active {\n transition: transform .12s cubic-bezier(0, 0, 0.2, 1), opacity .12s cubic-bezier(0, 0, 0.2, 1);\n}\n\n.p-connected-overlay-leave-active {\n transition: opacity .1s linear;\n}\n\n/* Toggleable Content */\n.p-toggleable-content-enter-from,\n.p-toggleable-content-leave-to {\n max-height: 0;\n}\n\n.p-toggleable-content-enter-to,\n.p-toggleable-content-leave-from {\n max-height: 1000px;\n}\n\n.p-toggleable-content-leave-active {\n overflow: hidden;\n transition: max-height 0.45s cubic-bezier(0, 1, 0, 1);\n}\n\n.p-toggleable-content-enter-active {\n overflow: hidden;\n transition: max-height 1s ease-in-out;\n}\n".concat(buttonStyles, "\n").concat(checkboxStyles, "\n").concat(inputTextStyles, "\n").concat(radioButtonStyles, "\n");
2161
+ var styles = "\n.p-component, .p-component * {\n box-sizing: border-box;\n}\n\n.p-hidden-space {\n visibility: hidden;\n}\n\n.p-reset {\n margin: 0;\n padding: 0;\n border: 0;\n outline: 0;\n text-decoration: none;\n font-size: 100%;\n list-style: none;\n}\n\n.p-disabled, .p-disabled * {\n cursor: default !important;\n pointer-events: none;\n user-select: none;\n}\n\n.p-component-overlay {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n}\n\n.p-unselectable-text {\n user-select: none;\n}\n\n.p-sr-only {\n border: 0;\n clip: rect(1px, 1px, 1px, 1px);\n clip-path: inset(50%);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n word-wrap: normal !important;\n}\n\n.p-link {\n\ttext-align: left;\n\tbackground-color: transparent;\n\tmargin: 0;\n\tpadding: 0;\n\tborder: none;\n cursor: pointer;\n user-select: none;\n}\n\n.p-link:disabled {\n\tcursor: default;\n}\n\n/* Non vue overlay animations */\n.p-connected-overlay {\n opacity: 0;\n transform: scaleY(0.8);\n transition: transform .12s cubic-bezier(0, 0, 0.2, 1), opacity .12s cubic-bezier(0, 0, 0.2, 1);\n}\n\n.p-connected-overlay-visible {\n opacity: 1;\n transform: scaleY(1);\n}\n\n.p-connected-overlay-hidden {\n opacity: 0;\n transform: scaleY(1);\n transition: opacity .1s linear;\n}\n\n/* Vue based overlay animations */\n.p-connected-overlay-enter-from {\n opacity: 0;\n transform: scaleY(0.8);\n}\n\n.p-connected-overlay-leave-to {\n opacity: 0;\n}\n\n.p-connected-overlay-enter-active {\n transition: transform .12s cubic-bezier(0, 0, 0.2, 1), opacity .12s cubic-bezier(0, 0, 0.2, 1);\n}\n\n.p-connected-overlay-leave-active {\n transition: opacity .1s linear;\n}\n\n/* Toggleable Content */\n.p-toggleable-content-enter-from,\n.p-toggleable-content-leave-to {\n max-height: 0;\n}\n\n.p-toggleable-content-enter-to,\n.p-toggleable-content-leave-from {\n max-height: 1000px;\n}\n\n.p-toggleable-content-leave-active {\n overflow: hidden;\n transition: max-height 0.45s cubic-bezier(0, 1, 0, 1);\n}\n\n.p-toggleable-content-enter-active {\n overflow: hidden;\n transition: max-height 1s ease-in-out;\n}\n".concat(buttonStyles, "\n").concat(checkboxStyles, "\n").concat(inputTextStyles, "\n").concat(radioButtonStyles, "\n");
2063
2162
  var _useStyle = usestyle.useStyle(styles, {
2064
2163
  name: 'common',
2065
2164
  manual: true
@@ -2140,13 +2239,20 @@ this.primevue.basecomponent = (function (base, usestyle, utils, vue) {
2140
2239
  }) || ''], params), fKeys.join('.'), params) : undefined : utils.ObjectUtils.getItemValue(options, params);
2141
2240
  },
2142
2241
  _getPTValue: function _getPTValue() {
2242
+ var _this = this;
2143
2243
  var obj = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
2144
2244
  var key = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
2145
2245
  var params = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
2146
2246
  var searchInDefaultPT = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : true;
2247
+ var getValue = function getValue() {
2248
+ var value = _this._getOptionValue.apply(_this, arguments);
2249
+ return utils.ObjectUtils.isString(value) ? {
2250
+ "class": value
2251
+ } : value;
2252
+ };
2147
2253
  var datasetPrefix = 'data-pc-';
2148
- var self = this._getOptionValue(obj, key, params);
2149
- var globalPT = searchInDefaultPT ? this._getOptionValue(this.defaultPT, key, params) : undefined;
2254
+ var self = getValue(obj, key, params);
2255
+ var globalPT = searchInDefaultPT ? /./g.test(key) && !!params[key.split('.')[0]] ? getValue(this.globalPT, key, params) : getValue(this.defaultPT, key, params) : undefined;
2150
2256
  var merged = vue.mergeProps(self, globalPT, _objectSpread(_objectSpread({}, key === 'root' && _defineProperty({}, "".concat(datasetPrefix, "name"), utils.ObjectUtils.toFlatCase(this.$.type.name))), {}, _defineProperty({}, "".concat(datasetPrefix, "section"), utils.ObjectUtils.toFlatCase(key))));
2151
2257
  return merged;
2152
2258
  /*
@@ -2205,10 +2311,15 @@ this.primevue.basecomponent = (function (base, usestyle, utils, vue) {
2205
2311
  }
2206
2312
  },
2207
2313
  computed: {
2314
+ globalPT: function globalPT() {
2315
+ return utils.ObjectUtils.getItemValue(this.$primevue.config.pt, {
2316
+ instance: this
2317
+ });
2318
+ },
2208
2319
  defaultPT: function defaultPT() {
2209
2320
  return this._getOptionValue(this.$primevue.config.pt, this.$options.hostName || this.$.type.name, {
2210
2321
  instance: this
2211
- });
2322
+ }) || this.globalPT;
2212
2323
  },
2213
2324
  isUnstyled: function isUnstyled() {
2214
2325
  return this.unstyled !== undefined ? this.unstyled : this.$primevue.config.unstyled;
@@ -5940,83 +6051,6 @@ this.primevue.usedialog = (function (exports, vue) {
5940
6051
 
5941
6052
  })({}, Vue);
5942
6053
 
5943
- this.primevue = this.primevue || {};
5944
- this.primevue.usestyle = (function (exports, utils, vue) {
5945
- 'use strict';
5946
-
5947
- /*
5948
- * Ported from useStyleTag in @vueuse/core
5949
- * https://github.com/vueuse
5950
- */
5951
- function tryOnMounted(fn) {
5952
- var sync = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
5953
- if (vue.getCurrentInstance()) vue.onMounted(fn);else if (sync) fn();else vue.nextTick(fn);
5954
- }
5955
- var _id = 0;
5956
- function useStyle(css) {
5957
- var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
5958
- var isLoaded = vue.ref(false);
5959
- var defaultDocument = utils.DomHandler.isClient() ? window.document : undefined;
5960
- var _options$document = options.document,
5961
- document = _options$document === void 0 ? defaultDocument : _options$document,
5962
- _options$immediate = options.immediate,
5963
- immediate = _options$immediate === void 0 ? true : _options$immediate,
5964
- _options$manual = options.manual,
5965
- manual = _options$manual === void 0 ? false : _options$manual,
5966
- _options$name = options.name,
5967
- name = _options$name === void 0 ? "style_".concat(++_id) : _options$name,
5968
- _options$id = options.id,
5969
- id = _options$id === void 0 ? undefined : _options$id,
5970
- _options$media = options.media,
5971
- media = _options$media === void 0 ? undefined : _options$media;
5972
- var cssRef = vue.ref(css);
5973
- var stop = function stop() {};
5974
- var load = function load() {
5975
- if (!document) return;
5976
- var el = document.querySelector("style[data-primevue-style-id=\"".concat(name, "\"]")) || document.getElementById(id) || document.createElement('style');
5977
- if (!el.isConnected) {
5978
- el.type = 'text/css';
5979
- id && (el.id = id);
5980
- media && (el.media = media);
5981
- document.head.appendChild(el);
5982
- name && el.setAttribute('data-primevue-style-id', name);
5983
- }
5984
- if (isLoaded.value) return;
5985
- stop = vue.watch(cssRef, function (value) {
5986
- el.textContent = value;
5987
- }, {
5988
- immediate: true
5989
- });
5990
- isLoaded.value = true;
5991
- };
5992
- var unload = function unload() {
5993
- if (!document || !isLoaded.value) return;
5994
- stop();
5995
- document.head.removeChild(document.getElementById(id));
5996
- isLoaded.value = false;
5997
- };
5998
- if (immediate && !manual) tryOnMounted(load);
5999
-
6000
- /*if (!manual)
6001
- tryOnScopeDispose(unload)*/
6002
-
6003
- return {
6004
- id: id,
6005
- css: cssRef,
6006
- unload: unload,
6007
- load: load,
6008
- isLoaded: vue.readonly(isLoaded)
6009
- };
6010
- }
6011
-
6012
- exports.useStyle = useStyle;
6013
-
6014
- Object.defineProperty(exports, '__esModule', { value: true });
6015
-
6016
- return exports;
6017
-
6018
- })({}, primevue.utils, Vue);
6019
-
6020
6054
  this.primevue = this.primevue || {};
6021
6055
  this.primevue.button = (function (Badge, SpinnerIcon, Ripple, BaseComponent, vue) {
6022
6056
  'use strict';
@@ -6275,7 +6309,8 @@ this.primevue.inputtext = (function (BaseComponent, vue) {
6275
6309
  ptmParams: function ptmParams() {
6276
6310
  return {
6277
6311
  context: {
6278
- filled: this.filled
6312
+ filled: this.filled,
6313
+ disabled: this.$attrs.disabled || this.$attrs.disabled === ''
6279
6314
  }
6280
6315
  };
6281
6316
  }
@@ -9950,7 +9985,7 @@ this.primevue.paginator = (function (utils, BaseComponent, usestyle, vue, AngleD
9950
9985
  "class": vue.normalizeClass(_ctx.cx('jumpToPageDropdown')),
9951
9986
  disabled: $props.disabled,
9952
9987
  unstyled: _ctx.unstyled,
9953
- pt: _ctx.ptm('jumpTpPageDropdown'),
9988
+ pt: _ctx.ptm('jumpToPageDropdown'),
9954
9989
  "data-pc-section": "jumptopagedropdown"
9955
9990
  }, null, 8, ["modelValue", "options", "class", "disabled", "unstyled", "pt"]);
9956
9991
  }