primevue 4.0.3 → 4.0.4

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 (63) hide show
  1. package/config/index.d.ts +30 -0
  2. package/confirmpopup/ConfirmPopup.vue +8 -2
  3. package/confirmpopup/index.mjs +6 -2
  4. package/confirmpopup/index.mjs.map +1 -1
  5. package/confirmpopup/style/index.mjs +1 -1
  6. package/confirmpopup/style/index.mjs.map +1 -1
  7. package/contextmenu/ContextMenu.vue +1 -1
  8. package/contextmenu/index.mjs +1 -1
  9. package/contextmenu/index.mjs.map +1 -1
  10. package/datatable/index.d.ts +1 -1
  11. package/datepicker/DatePicker.vue +6 -4
  12. package/datepicker/index.mjs +5 -4
  13. package/datepicker/index.mjs.map +1 -1
  14. package/datepicker/style/index.mjs +1 -1
  15. package/datepicker/style/index.mjs.map +1 -1
  16. package/dialog/Dialog.vue +12 -4
  17. package/dialog/index.mjs +16 -5
  18. package/dialog/index.mjs.map +1 -1
  19. package/drawer/Drawer.vue +2 -2
  20. package/drawer/index.mjs +3 -2
  21. package/drawer/index.mjs.map +1 -1
  22. package/fieldset/Fieldset.vue +1 -1
  23. package/fieldset/index.d.ts +8 -0
  24. package/fieldset/index.mjs +3 -2
  25. package/fieldset/index.mjs.map +1 -1
  26. package/inputmask/BaseInputMask.vue +8 -0
  27. package/inputmask/InputMask.vue +2 -0
  28. package/inputmask/index.d.ts +8 -0
  29. package/inputmask/index.mjs +11 -1
  30. package/inputmask/index.mjs.map +1 -1
  31. package/inputotp/InputOtp.vue +4 -0
  32. package/inputotp/index.mjs +3 -0
  33. package/inputotp/index.mjs.map +1 -1
  34. package/package.json +3 -3
  35. package/popover/style/index.mjs +1 -1
  36. package/popover/style/index.mjs.map +1 -1
  37. package/stepitem/BaseStepItem.vue +1 -1
  38. package/stepitem/index.mjs +1 -1
  39. package/stepitem/index.mjs.map +1 -1
  40. package/steplist/BaseStepList.vue +0 -6
  41. package/steplist/index.d.ts +0 -4
  42. package/steplist/index.mjs +0 -6
  43. package/steplist/index.mjs.map +1 -1
  44. package/steppanels/BaseStepPanels.vue +0 -6
  45. package/steppanels/index.d.ts +0 -4
  46. package/steppanels/index.mjs +0 -6
  47. package/steppanels/index.mjs.map +1 -1
  48. package/tree/TreeNode.vue +4 -2
  49. package/tree/index.mjs +4 -2
  50. package/tree/index.mjs.map +1 -1
  51. package/treenode/index.d.ts +1 -1
  52. package/umd/primevue.min.js +1 -1
  53. package/web-types.json +1 -1
  54. package/stepperpanel/BaseStepperPanel.vue +0 -19
  55. package/stepperpanel/StepperPanel.vue +0 -15
  56. package/stepperpanel/index.d.ts +0 -290
  57. package/stepperpanel/index.mjs +0 -35
  58. package/stepperpanel/index.mjs.map +0 -1
  59. package/stepperpanel/package.json +0 -11
  60. package/stepperpanel/style/index.d.ts +0 -14
  61. package/stepperpanel/style/index.mjs +0 -8
  62. package/stepperpanel/style/index.mjs.map +0 -1
  63. package/stepperpanel/style/package.json +0 -6
package/web-types.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "framework": "vue",
4
4
  "name": "PrimeVue",
5
- "version": "4.0.3",
5
+ "version": "4.0.4",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "types-syntax": "typescript",
@@ -1,19 +0,0 @@
1
- <script>
2
- import BaseComponent from '@primevue/core/basecomponent';
3
- import StepperPanelStyle from 'primevue/stepperpanel/style';
4
-
5
- export default {
6
- name: 'BaseStepperPanel',
7
- extends: BaseComponent,
8
- props: {
9
- header: null
10
- },
11
- style: StepperPanelStyle,
12
- provide() {
13
- return {
14
- $pcStepperPanel: this,
15
- $parentInstance: this
16
- };
17
- }
18
- };
19
- </script>
@@ -1,15 +0,0 @@
1
- <template>
2
- <slot />
3
- </template>
4
-
5
- <script>
6
- import BaseStepperPanel from './BaseStepperPanel.vue';
7
-
8
- export default {
9
- name: 'StepperPanel',
10
- extends: BaseStepperPanel,
11
- mounted() {
12
- console.warn('Deprecated since v4. Use the new structure of Stepper instead.');
13
- }
14
- };
15
- </script>
@@ -1,290 +0,0 @@
1
- /**
2
- *
3
- * StepperPanel is a helper component for Stepper component.
4
- *
5
- * [Live Demo](https://www.primevue.org/stepper/)
6
- *
7
- * @module stepperpanel
8
- *
9
- */
10
- import type { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '@primevue/core';
11
- import type { ComponentHooks } from '@primevue/core/basecomponent';
12
- import type { PassThroughOptions } from 'primevue/passthrough';
13
- import { TransitionProps, VNode } from 'vue';
14
-
15
- export declare type StepperPanelPassThroughOptionType = StepperPanelPassThroughAttributes | ((options: StepperPanelPassThroughMethodOptions) => StepperPanelPassThroughAttributes | string) | string | null | undefined;
16
-
17
- export declare type StepperPanelPassThroughTransitionType = TransitionProps | ((options: StepperPanelPassThroughMethodOptions) => TransitionProps) | undefined;
18
-
19
- /**
20
- * Custom passthrough(pt) option method.
21
- */
22
- export interface StepperPanelPassThroughMethodOptions {
23
- /**
24
- * Defines instance.
25
- */
26
- instance: any;
27
- /**
28
- * Defines valid properties.
29
- */
30
- props: StepperPanelProps;
31
- /**
32
- * Defines current options.
33
- */
34
- context: StepperPanelContext;
35
- /**
36
- * Defines valid attributes.
37
- */
38
- attrs: any;
39
- /**
40
- * Defines parent options.
41
- */
42
- parent: any;
43
- /**
44
- * Defines passthrough(pt) options in global config.
45
- */
46
- global: object | undefined;
47
- }
48
-
49
- /**
50
- * Custom passthrough(pt) options.
51
- * @see {@link StepperPanelProps.pt}
52
- */
53
- export interface StepperPanelPassThroughOptions {
54
- /**
55
- * Used to pass attributes to the root's DOM element.
56
- */
57
- root?: StepperPanelPassThroughOptionType;
58
- /**
59
- * Used to pass attributes to the item's DOM element.
60
- */
61
- item?: StepperPanelPassThroughOptionType;
62
- /**
63
- * Used to pass attributes to the item header's DOM element.
64
- */
65
- itemHeader?: StepperPanelPassThroughOptionType;
66
- /**
67
- * Used to pass attributes to the item number's DOM element.
68
- */
69
- itemNumber?: StepperPanelPassThroughOptionType;
70
- /**
71
- * Used to pass attributes to the item title's DOM element.
72
- */
73
- itemTitle?: StepperPanelPassThroughOptionType;
74
- /**
75
- * Used to pass attributes to the separator's DOM element.
76
- */
77
- separator?: StepperPanelPassThroughOptionType;
78
- /**
79
- * Used to pass attributes to the panel content container's DOM element.
80
- */
81
- panelContentContainer?: StepperPanelPassThroughOptionType;
82
- /**
83
- * Used to pass attributes to the panel content's DOM element.
84
- */
85
- panelContent?: StepperPanelPassThroughOptionType;
86
- /**
87
- * Used to control Vue Transition API.
88
- */
89
- transition?: StepperPanelPassThroughTransitionType;
90
- /**
91
- * Used to manage all lifecycle hooks.
92
- * @see {@link BaseComponent.ComponentHooks}
93
- */
94
- hooks?: ComponentHooks;
95
- }
96
-
97
- export interface StepperPanelPassThroughAttributes {
98
- [key: string]: any;
99
- }
100
-
101
- /**
102
- * Defines valid properties in StepperPanel component.
103
- */
104
- export interface StepperPanelProps {
105
- /**
106
- * Orientation of tab headers.
107
- */
108
- header?: string | undefined;
109
- /**
110
- * It generates scoped CSS variables using design tokens for the component.
111
- */
112
- dt?: DesignToken<any>;
113
- /**
114
- * Used to pass attributes to DOM elements inside the component.
115
- * @type {StepperPanelPassThroughOptions}
116
- */
117
- pt?: PassThrough<StepperPanelPassThroughOptions>;
118
- /**
119
- * Used to configure passthrough(pt) options of the component.
120
- * @type {PassThroughOptions}
121
- */
122
- ptOptions?: PassThroughOptions;
123
- }
124
-
125
- /**
126
- * Defines current options in StepperPanel component.
127
- */
128
- export interface StepperPanelContext {
129
- /**
130
- * Current index of the stepperpanel.
131
- */
132
- index: number;
133
- /**
134
- * Count of stepperpanels
135
- */
136
- count: number;
137
- /**
138
- * Whether the stepperpanel is first.
139
- */
140
- first: boolean;
141
- /**
142
- * Whether the stepperpanel is last.
143
- */
144
- last: boolean;
145
- /**
146
- * Whether the stepperpanel is active.
147
- */
148
- active: boolean;
149
- /**
150
- * Whether the stepperpanel is highlighted.
151
- */
152
- highlighted: boolean;
153
- /**
154
- * Whether the stepperpanel is disabled.
155
- */
156
- disabled: boolean;
157
- }
158
-
159
- /**
160
- * Defines valid slots in StepperPanel slots.
161
- */
162
- export interface StepperPanelSlots {
163
- /**
164
- * Custom content template.
165
- */
166
- default(): VNode[];
167
- /**
168
- * Custom header template.
169
- */
170
- header(scope: {
171
- /**
172
- * Index of the stepperpanel
173
- */
174
- index: number;
175
- /**
176
- * Current active state of the stepperpanel
177
- */
178
- active: boolean;
179
- /**
180
- * Current highlighted state of the stepperpanel
181
- */
182
- highlighted: boolean;
183
- /**
184
- * Style class of the stepperpanel
185
- */
186
- class: string;
187
- /**
188
- * Style class of the stepperpanel
189
- */
190
- headerClass: string;
191
- /**
192
- * Style class of the number content container
193
- */
194
- numberClass: string;
195
- /**
196
- * Style class of the title content container
197
- */
198
- titleClass: string;
199
- /**
200
- * Header click function.
201
- * @param {Event} event - Browser event
202
- */
203
- clickCallback: (event: Event) => void;
204
- }): VNode[];
205
- /**
206
- * Custom content template.
207
- */
208
- content(scope: {
209
- /**
210
- * Index of the stepperpanel
211
- */
212
- index: number;
213
- /**
214
- * Current active state of the stepperpanel
215
- */
216
- active: boolean;
217
- /**
218
- * Current highlighted state of the stepperpanel
219
- */
220
- highlighted: boolean;
221
- /**
222
- * Style class of the stepperpanel
223
- */
224
- class: string;
225
- /**
226
- * Content click function.
227
- * @param {Event} event - Browser event
228
- */
229
- clickCallback: (event: Event) => void;
230
- /**
231
- * Content previous panel click function.
232
- * @param {Event} event - Browser event
233
- */
234
- prevCallback: (event: Event) => void;
235
- /**
236
- * Content next panel click function.
237
- * @param {Event} event - Browser event
238
- */
239
- nextCallback: (event: Event) => void;
240
- }): VNode[];
241
- /**
242
- * Custom separator template.
243
- */
244
- separator(scope: {
245
- /**
246
- * Index of the stepperpanel
247
- */
248
- index: number;
249
- /**
250
- * Current active state of the stepperpanel
251
- */
252
- active: boolean;
253
- /**
254
- * Current highlighted state of the stepperpanel
255
- */
256
- highlighted: boolean;
257
- /**
258
- * Style class of the stepperpanel
259
- */
260
- class: string;
261
- }): VNode[];
262
- }
263
-
264
- export interface StepperPanelEmitsOptions {}
265
-
266
- export declare type StepperPanelEmits = EmitFn<StepperPanelEmitsOptions>;
267
-
268
- /**
269
- * @deprecated since v4. Use the new structure of Stepper instead.
270
- *
271
- * **PrimeVue - StepperPanel**
272
- *
273
- * _StepperPanel is a helper component for Stepper component._
274
- *
275
- * [Live Demo](https://www.primevue.org/stepper/)
276
- * --- ---
277
- * ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
278
- *
279
- * @group Component
280
- *
281
- */
282
- declare const StepperPanel: DefineComponent<StepperPanelProps, StepperPanelSlots, StepperPanelEmits>;
283
-
284
- declare module 'vue' {
285
- export interface GlobalComponents {
286
- StepperPanel: GlobalComponentConstructor<StepperPanelProps, StepperPanelSlots, StepperPanelEmits>;
287
- }
288
- }
289
-
290
- export default StepperPanel;
@@ -1,35 +0,0 @@
1
- import BaseComponent from '@primevue/core/basecomponent';
2
- import StepperPanelStyle from 'primevue/stepperpanel/style';
3
- import { renderSlot } from 'vue';
4
-
5
- var script$1 = {
6
- name: 'BaseStepperPanel',
7
- "extends": BaseComponent,
8
- props: {
9
- header: null
10
- },
11
- style: StepperPanelStyle,
12
- provide: function provide() {
13
- return {
14
- $pcStepperPanel: this,
15
- $parentInstance: this
16
- };
17
- }
18
- };
19
-
20
- var script = {
21
- name: 'StepperPanel',
22
- "extends": script$1,
23
- mounted: function mounted() {
24
- console.warn('Deprecated since v4. Use the new structure of Stepper instead.');
25
- }
26
- };
27
-
28
- function render(_ctx, _cache, $props, $setup, $data, $options) {
29
- return renderSlot(_ctx.$slots, "default");
30
- }
31
-
32
- script.render = render;
33
-
34
- export { script as default };
35
- //# sourceMappingURL=index.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.mjs","sources":["../../src/stepperpanel/BaseStepperPanel.vue","../../src/stepperpanel/StepperPanel.vue","../../src/stepperpanel/StepperPanel.vue?vue&type=template&id=e12b9f9a&lang.js"],"sourcesContent":["<script>\nimport BaseComponent from '@primevue/core/basecomponent';\nimport StepperPanelStyle from 'primevue/stepperpanel/style';\n\nexport default {\n name: 'BaseStepperPanel',\n extends: BaseComponent,\n props: {\n header: null\n },\n style: StepperPanelStyle,\n provide() {\n return {\n $pcStepperPanel: this,\n $parentInstance: this\n };\n }\n};\n</script>\n","<template>\n <slot />\n</template>\n\n<script>\nimport BaseStepperPanel from './BaseStepperPanel.vue';\n\nexport default {\n name: 'StepperPanel',\n extends: BaseStepperPanel,\n mounted() {\n console.warn('Deprecated since v4. Use the new structure of Stepper instead.');\n }\n};\n</script>\n","<template>\n <slot />\n</template>\n\n<script>\nimport BaseStepperPanel from './BaseStepperPanel.vue';\n\nexport default {\n name: 'StepperPanel',\n extends: BaseStepperPanel,\n mounted() {\n console.warn('Deprecated since v4. Use the new structure of Stepper instead.');\n }\n};\n</script>\n"],"names":["name","BaseComponent","props","header","style","StepperPanelStyle","provide","$pcStepperPanel","$parentInstance","BaseStepperPanel","mounted","console","warn","_renderSlot","_ctx","$slots"],"mappings":";;;;AAIA,eAAe;AACXA,EAAAA,IAAI,EAAE,kBAAkB;AACxB,EAAA,SAAA,EAASC,aAAa;AACtBC,EAAAA,KAAK,EAAE;AACHC,IAAAA,MAAM,EAAE,IAAA;GACX;AACDC,EAAAA,KAAK,EAAEC,iBAAiB;EACxBC,OAAO,EAAA,SAAPA,OAAOA,GAAG;IACN,OAAO;AACHC,MAAAA,eAAe,EAAE,IAAI;AACrBC,MAAAA,eAAe,EAAE,IAAA;KACpB,CAAA;AACL,GAAA;AACJ,CAAC;;ACVD,aAAe;AACXR,EAAAA,IAAI,EAAE,cAAc;AACpB,EAAA,SAAA,EAASS,QAAgB;EACzBC,OAAO,EAAA,SAAPA,OAAOA,GAAG;AACNC,IAAAA,OAAO,CAACC,IAAI,CAAC,gEAAgE,CAAC,CAAA;AAClF,GAAA;AACJ,CAAC;;;SCZGC,UAAO,CAAAC,IAAA,CAAAC,MAAA,EAAA,SAAA,CAAA,CAAA;;;;;;;"}
@@ -1,11 +0,0 @@
1
- {
2
- "main": "./index.mjs",
3
- "module": "./index.mjs",
4
- "types": "./index.d.ts",
5
- "browser": {
6
- "./sfc": "./StepperPanel.vue"
7
- },
8
- "sideEffects": [
9
- "*.vue"
10
- ]
11
- }
@@ -1,14 +0,0 @@
1
- /**
2
- *
3
- * StepperPanel is a helper component for Stepper component.
4
- *
5
- * [Live Demo](https://www.primevue.org/stepper/)
6
- *
7
- * @module stepperpanelstyle
8
- *
9
- */
10
- import type { BaseStyle } from '@primevue/core/base/style';
11
-
12
- export enum StepperPanelClasses {}
13
-
14
- export interface StepperPanelStyle extends BaseStyle {}
@@ -1,8 +0,0 @@
1
- import BaseStyle from '@primevue/core/base/style';
2
-
3
- var StepperPanelStyle = BaseStyle.extend({
4
- name: 'stepperpanel'
5
- });
6
-
7
- export { StepperPanelStyle as default };
8
- //# sourceMappingURL=index.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.mjs","sources":["../../../src/stepperpanel/style/StepperPanelStyle.js"],"sourcesContent":["import BaseStyle from '@primevue/core/base/style';\n\nexport default BaseStyle.extend({\n name: 'stepperpanel'\n});\n"],"names":["BaseStyle","extend","name"],"mappings":";;AAEA,wBAAeA,SAAS,CAACC,MAAM,CAAC;AAC5BC,EAAAA,IAAI,EAAE,cAAA;AACV,CAAC,CAAC;;;;"}
@@ -1,6 +0,0 @@
1
- {
2
- "main": "./index.mjs",
3
- "module": "./index.mjs",
4
- "types": "./index.d.ts",
5
- "sideEffects": false
6
- }