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/config/index.d.ts CHANGED
@@ -14,6 +14,7 @@ import type { BadgeDirectivePassThroughOptions } from 'primevue/badgedirective';
14
14
  import type { BlockUIPassThroughOptions } from 'primevue/blockui';
15
15
  import type { BreadcrumbPassThroughOptions } from 'primevue/breadcrumb';
16
16
  import type { ButtonPassThroughOptions } from 'primevue/button';
17
+ import type { ButtonGroupPassThroughOptions } from 'primevue/buttongroup';
17
18
  import type { CalendarPassThroughOptions } from 'primevue/calendar';
18
19
  import type { CardPassThroughOptions } from 'primevue/card';
19
20
  import type { CarouselPassThroughOptions } from 'primevue/carousel';
@@ -40,14 +41,20 @@ import type { DropdownPassThroughOptions } from 'primevue/dropdown';
40
41
  import type { EditorPassThroughOptions } from 'primevue/editor';
41
42
  import type { FieldsetPassThroughOptions } from 'primevue/fieldset';
42
43
  import type { FileUploadPassThroughOptions } from 'primevue/fileupload';
44
+ import type { FloatLabelPassThroughOptions } from 'primevue/floatlabel';
45
+ import type { FluidPassThroughOptions } from 'primevue/fluid';
43
46
  import type { FocusTrapDirectivePassThroughOptions } from 'primevue/focustrap';
44
47
  import type { GalleriaPassThroughOptions } from 'primevue/galleria';
45
48
  import type { ImagePassThroughOptions } from 'primevue/image';
46
49
  import type { InlineMessagePassThroughOptions } from 'primevue/inlinemessage';
47
50
  import type { InplacePassThroughOptions } from 'primevue/inplace';
48
51
  import type { InputChipsPassThroughOptions } from 'primevue/inputchips';
52
+ import type { InputGroupPassThroughOptions } from 'primevue/inputgroup';
53
+ import type { InputGroupAddonPassThroughOptions } from 'primevue/inputgroupaddon';
54
+ import type { InputIconPassThroughOptions } from 'primevue/inputicon';
49
55
  import type { InputMaskPassThroughOptions } from 'primevue/inputmask';
50
56
  import type { InputNumberPassThroughOptions } from 'primevue/inputnumber';
57
+ import type { InputOtpPassThroughOptions } from 'primevue/inputotp';
51
58
  import type { InputSwitchPassThroughOptions } from 'primevue/inputswitch';
52
59
  import type { InputTextPassThroughOptions } from 'primevue/inputtext';
53
60
  import type { KnobPassThroughOptions } from 'primevue/knob';
@@ -56,9 +63,11 @@ import type { MegaMenuPassThroughOptions } from 'primevue/megamenu';
56
63
  import type { MenuPassThroughOptions } from 'primevue/menu';
57
64
  import type { MenubarPassThroughOptions } from 'primevue/menubar';
58
65
  import type { MessagePassThroughOptions } from 'primevue/message';
66
+ import type { MeterGroupPassThroughOptions } from 'primevue/metergroup';
59
67
  import type { MultiSelectPassThroughOptions } from 'primevue/multiselect';
60
68
  import type { OrderListPassThroughOptions } from 'primevue/orderlist';
61
69
  import type { OrganizationChartPassThroughOptions } from 'primevue/organizationchart';
70
+ import type { OverlayBadgePassThroughOptions } from 'primevue/overlaybadge';
62
71
  import type { OverlayPanelPassThroughOptions } from 'primevue/overlaypanel';
63
72
  import type { PaginatorPassThroughOptions } from 'primevue/paginator';
64
73
  import type { PanelPassThroughOptions } from 'primevue/panel';
@@ -84,6 +93,12 @@ import type { SpeedDialPassThroughOptions } from 'primevue/speeddial';
84
93
  import type { SplitButtonPassThroughOptions } from 'primevue/splitbutton';
85
94
  import type { SplitterPassThroughOptions } from 'primevue/splitter';
86
95
  import type { SplitterPanelPassThroughOptions } from 'primevue/splitterpanel';
96
+ import type { StepPassThroughOptions } from 'primevue/step';
97
+ import type { StepItemPassThroughOptions } from 'primevue/stepitem';
98
+ import type { StepListPassThroughOptions } from 'primevue/steplist';
99
+ import type { StepPanelPassThroughOptions } from 'primevue/steppanel';
100
+ import type { StepPanelsPassThroughOptions } from 'primevue/steppanels';
101
+ import type { StepperPassThroughOptions } from 'primevue/stepper';
87
102
  import type { StepsPassThroughOptions } from 'primevue/steps';
88
103
  import type { StyleClassDirectivePassThroughOptions } from 'primevue/styleclass';
89
104
  import type { TabPassThroughOptions } from 'primevue/tab';
@@ -144,6 +159,7 @@ export interface PrimeVuePTOptions {
144
159
  blockui?: DefaultPassThrough<BlockUIPassThroughOptions>;
145
160
  breadcrumb?: DefaultPassThrough<BreadcrumbPassThroughOptions>;
146
161
  button?: DefaultPassThrough<ButtonPassThroughOptions>;
162
+ buttongroup?: DefaultPassThrough<ButtonGroupPassThroughOptions>;
147
163
  /**
148
164
  * @deprecated since v4. Use the new structure of DatePicker instead.
149
165
  */
@@ -180,16 +196,22 @@ export interface PrimeVuePTOptions {
180
196
  editor?: DefaultPassThrough<EditorPassThroughOptions>;
181
197
  fieldset?: DefaultPassThrough<FieldsetPassThroughOptions>;
182
198
  fileupload?: DefaultPassThrough<FileUploadPassThroughOptions>;
199
+ floatlabel?: DefaultPassThrough<FloatLabelPassThroughOptions>;
200
+ fluid?: DefaultPassThrough<FluidPassThroughOptions>;
183
201
  galleria?: DefaultPassThrough<GalleriaPassThroughOptions>;
184
202
  image?: DefaultPassThrough<ImagePassThroughOptions>;
185
203
  inlinemessage?: DefaultPassThrough<InlineMessagePassThroughOptions>;
186
204
  inplace?: DefaultPassThrough<InplacePassThroughOptions>;
187
205
  inputchips?: DefaultPassThrough<InputChipsPassThroughOptions>;
206
+ inputgroup?: DefaultPassThrough<InputGroupPassThroughOptions>;
207
+ inputgroupaddon?: DefaultPassThrough<InputGroupAddonPassThroughOptions>;
208
+ inputicon?: DefaultPassThrough<InputIconPassThroughOptions>;
188
209
  inputmask?: DefaultPassThrough<InputMaskPassThroughOptions>;
189
210
  inputnumber?: DefaultPassThrough<InputNumberPassThroughOptions>;
190
211
  /**
191
212
  * @deprecated since v4. Use the new structure of ToggleSwitch instead.
192
213
  */
214
+ inputotp?: DefaultPassThrough<InputOtpPassThroughOptions>;
193
215
  inputswitch?: DefaultPassThrough<InputSwitchPassThroughOptions>;
194
216
  inputtext?: DefaultPassThrough<InputTextPassThroughOptions>;
195
217
  knob?: DefaultPassThrough<KnobPassThroughOptions>;
@@ -198,9 +220,11 @@ export interface PrimeVuePTOptions {
198
220
  menu?: DefaultPassThrough<MenuPassThroughOptions>;
199
221
  menubar?: DefaultPassThrough<MenubarPassThroughOptions>;
200
222
  message?: DefaultPassThrough<MessagePassThroughOptions>;
223
+ metergroup?: DefaultPassThrough<MeterGroupPassThroughOptions>;
201
224
  multiselect?: DefaultPassThrough<MultiSelectPassThroughOptions>;
202
225
  orderlist?: DefaultPassThrough<OrderListPassThroughOptions>;
203
226
  organizationchart?: DefaultPassThrough<OrganizationChartPassThroughOptions>;
227
+ overlaybadge?: DefaultPassThrough<OverlayBadgePassThroughOptions>;
204
228
  /**
205
229
  * @deprecated since v4. Use the new structure of Popover instead.
206
230
  */
@@ -230,6 +254,12 @@ export interface PrimeVuePTOptions {
230
254
  splitbutton?: DefaultPassThrough<SplitButtonPassThroughOptions>;
231
255
  splitter?: DefaultPassThrough<SplitterPassThroughOptions>;
232
256
  splitterpanel?: DefaultPassThrough<SplitterPanelPassThroughOptions>;
257
+ step?: DefaultPassThrough<StepPassThroughOptions>;
258
+ stepitem?: DefaultPassThrough<StepItemPassThroughOptions>;
259
+ steplist?: DefaultPassThrough<StepListPassThroughOptions>;
260
+ steppanel?: DefaultPassThrough<StepPanelPassThroughOptions>;
261
+ steppanels?: DefaultPassThrough<StepPanelsPassThroughOptions>;
262
+ stepper?: DefaultPassThrough<StepperPassThroughOptions>;
233
263
  steps?: DefaultPassThrough<StepsPassThroughOptions>;
234
264
  tabmenu?: DefaultPassThrough<TabMenuPassThroughOptions>;
235
265
  tabs?: DefaultPassThrough<TabsPassThroughOptions>;
@@ -78,7 +78,8 @@ export default {
78
78
  visible: false,
79
79
  confirmation: null,
80
80
  autoFocusAccept: null,
81
- autoFocusReject: null
81
+ autoFocusReject: null,
82
+ target: null
82
83
  };
83
84
  },
84
85
  target: null,
@@ -175,6 +176,8 @@ export default {
175
176
  this.autoFocusAccept = this.confirmation.defaultFocus === undefined || this.confirmation.defaultFocus === 'accept' ? true : false;
176
177
  this.autoFocusReject = this.confirmation.defaultFocus === 'reject' ? true : false;
177
178
 
179
+ this.target = document.activeElement;
180
+
178
181
  this.bindOutsideClickListener();
179
182
  this.bindScrollListener();
180
183
  this.bindResizeListener();
@@ -188,6 +191,9 @@ export default {
188
191
  this.autoFocusAccept = null;
189
192
  this.autoFocusReject = null;
190
193
 
194
+ focus(this.target);
195
+ this.target = null;
196
+
191
197
  this.unbindOutsideClickListener();
192
198
  this.unbindScrollListener();
193
199
  this.unbindResizeListener();
@@ -206,7 +212,7 @@ export default {
206
212
  arrowLeft = targetOffset.left - containerOffset.left;
207
213
  }
208
214
 
209
- this.container.style.setProperty($dt('overlay.arrow.left').name, `${arrowLeft}px`);
215
+ this.container.style.setProperty($dt('confirmpopup.arrow.left').name, `${arrowLeft}px`);
210
216
 
211
217
  if (containerOffset.top < targetOffset.top) {
212
218
  this.container.setAttribute('data-p-confirmpopup-flipped', 'true');
@@ -35,7 +35,8 @@ var script = {
35
35
  visible: false,
36
36
  confirmation: null,
37
37
  autoFocusAccept: null,
38
- autoFocusReject: null
38
+ autoFocusReject: null,
39
+ target: null
39
40
  };
40
41
  },
41
42
  target: null,
@@ -119,6 +120,7 @@ var script = {
119
120
  onEnter: function onEnter(el) {
120
121
  this.autoFocusAccept = this.confirmation.defaultFocus === undefined || this.confirmation.defaultFocus === 'accept' ? true : false;
121
122
  this.autoFocusReject = this.confirmation.defaultFocus === 'reject' ? true : false;
123
+ this.target = document.activeElement;
122
124
  this.bindOutsideClickListener();
123
125
  this.bindScrollListener();
124
126
  this.bindResizeListener();
@@ -130,6 +132,8 @@ var script = {
130
132
  onLeave: function onLeave() {
131
133
  this.autoFocusAccept = null;
132
134
  this.autoFocusReject = null;
135
+ focus(this.target);
136
+ this.target = null;
133
137
  this.unbindOutsideClickListener();
134
138
  this.unbindScrollListener();
135
139
  this.unbindResizeListener();
@@ -145,7 +149,7 @@ var script = {
145
149
  if (containerOffset.left < targetOffset.left) {
146
150
  arrowLeft = targetOffset.left - containerOffset.left;
147
151
  }
148
- this.container.style.setProperty($dt('overlay.arrow.left').name, "".concat(arrowLeft, "px"));
152
+ this.container.style.setProperty($dt('confirmpopup.arrow.left').name, "".concat(arrowLeft, "px"));
149
153
  if (containerOffset.top < targetOffset.top) {
150
154
  this.container.setAttribute('data-p-confirmpopup-flipped', 'true');
151
155
  !this.isUnstyled && addClass(this.container, 'p-confirmpopup-flipped');
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":["../../src/confirmpopup/BaseConfirmPopup.vue","../../src/confirmpopup/ConfirmPopup.vue","../../src/confirmpopup/ConfirmPopup.vue?vue&type=template&id=0f311866&lang.js"],"sourcesContent":["<script>\nimport BaseComponent from '@primevue/core/basecomponent';\nimport ConfirmPopupStyle from 'primevue/confirmpopup/style';\n\nexport default {\n name: 'BaseConfirmPopup',\n extends: BaseComponent,\n props: {\n group: String\n },\n style: ConfirmPopupStyle,\n provide() {\n return {\n $pcConfirmPopup: this,\n $parentInstance: this\n };\n }\n};\n</script>\n","<template>\n <Portal>\n <transition name=\"p-confirmpopup\" @enter=\"onEnter\" @after-enter=\"onAfterEnter\" @leave=\"onLeave\" @after-leave=\"onAfterLeave\" v-bind=\"ptm('transition')\">\n <div v-if=\"visible\" :ref=\"containerRef\" v-focustrap role=\"alertdialog\" :class=\"cx('root')\" :aria-modal=\"visible\" @click=\"onOverlayClick\" @keydown=\"onOverlayKeydown\" v-bind=\"ptmi('root')\">\n <slot v-if=\"$slots.container\" name=\"container\" :message=\"confirmation\" :acceptCallback=\"accept\" :rejectCallback=\"reject\"></slot>\n <template v-else>\n <template v-if=\"!$slots.message\">\n <div :class=\"cx('content')\" v-bind=\"ptm('content')\">\n <slot name=\"icon\">\n <component v-if=\"$slots.icon\" :is=\"$slots.icon\" :class=\"cx('icon')\" />\n <span v-else-if=\"confirmation.icon\" :class=\"[confirmation.icon, cx('icon')]\" v-bind=\"ptm('icon')\" />\n </slot>\n <span :class=\"cx('message')\" v-bind=\"ptm('message')\">{{ confirmation.message }}</span>\n </div>\n </template>\n <component v-else :is=\"$slots.message\" :message=\"confirmation\"></component>\n <div :class=\"cx('footer')\" v-bind=\"ptm('footer')\">\n <Button\n :class=\"[cx('pcRejectButton'), confirmation.rejectClass]\"\n :autofocus=\"autoFocusReject\"\n :unstyled=\"unstyled\"\n :size=\"confirmation.rejectProps?.size || 'small'\"\n :text=\"confirmation.rejectProps?.text || false\"\n @click=\"reject()\"\n @keydown=\"onRejectKeydown\"\n v-bind=\"confirmation.rejectProps\"\n :label=\"rejectLabel\"\n :pt=\"ptm('pcRejectButton')\"\n >\n <template v-if=\"rejectIcon || $slots.rejecticon\" #icon=\"iconProps\">\n <slot name=\"rejecticon\">\n <span :class=\"[rejectIcon, iconProps.class]\" v-bind=\"ptm('pcRejectButton')['icon']\" data-pc-section=\"rejectbuttonicon\" />\n </slot>\n </template>\n </Button>\n <Button\n :class=\"[cx('pcAcceptButton'), confirmation.acceptClass]\"\n :autofocus=\"autoFocusAccept\"\n :unstyled=\"unstyled\"\n :size=\"confirmation.acceptProps?.size || 'small'\"\n @click=\"accept()\"\n @keydown=\"onAcceptKeydown\"\n v-bind=\"confirmation.acceptProps\"\n :label=\"acceptLabel\"\n :pt=\"ptm('pcAcceptButton')\"\n >\n <template v-if=\"acceptIcon || $slots.accepticon\" #icon=\"iconProps\">\n <slot name=\"accepticon\">\n <span :class=\"[acceptIcon, iconProps.class]\" v-bind=\"ptm('pcAcceptButton')['icon']\" data-pc-section=\"acceptbuttonicon\" />\n </slot>\n </template>\n </Button>\n </div>\n </template>\n </div>\n </transition>\n </Portal>\n</template>\n\n<script>\nimport { $dt } from '@primeuix/styled';\nimport { absolutePosition, addClass, focus, getOffset, isTouchDevice } from '@primeuix/utils/dom';\nimport { ZIndex } from '@primeuix/utils/zindex';\nimport { ConnectedOverlayScrollHandler } from '@primevue/core/utils';\nimport Button from 'primevue/button';\nimport ConfirmationEventBus from 'primevue/confirmationeventbus';\nimport FocusTrap from 'primevue/focustrap';\nimport OverlayEventBus from 'primevue/overlayeventbus';\nimport Portal from 'primevue/portal';\nimport BaseConfirmPopup from './BaseConfirmPopup.vue';\n\nexport default {\n name: 'ConfirmPopup',\n extends: BaseConfirmPopup,\n inheritAttrs: false,\n data() {\n return {\n visible: false,\n confirmation: null,\n autoFocusAccept: null,\n autoFocusReject: null\n };\n },\n target: null,\n outsideClickListener: null,\n scrollHandler: null,\n resizeListener: null,\n container: null,\n confirmListener: null,\n closeListener: null,\n mounted() {\n this.confirmListener = (options) => {\n if (!options) {\n return;\n }\n\n if (options.group === this.group) {\n this.confirmation = options;\n this.target = options.target;\n\n if (this.confirmation.onShow) {\n this.confirmation.onShow();\n }\n\n this.visible = true;\n }\n };\n\n this.closeListener = () => {\n this.visible = false;\n this.confirmation = null;\n };\n\n ConfirmationEventBus.on('confirm', this.confirmListener);\n ConfirmationEventBus.on('close', this.closeListener);\n },\n beforeUnmount() {\n ConfirmationEventBus.off('confirm', this.confirmListener);\n ConfirmationEventBus.off('close', this.closeListener);\n\n this.unbindOutsideClickListener();\n\n if (this.scrollHandler) {\n this.scrollHandler.destroy();\n this.scrollHandler = null;\n }\n\n this.unbindResizeListener();\n\n if (this.container) {\n ZIndex.clear(this.container);\n this.container = null;\n }\n\n this.target = null;\n this.confirmation = null;\n },\n methods: {\n accept() {\n if (this.confirmation.accept) {\n this.confirmation.accept();\n }\n\n this.visible = false;\n },\n reject() {\n if (this.confirmation.reject) {\n this.confirmation.reject();\n }\n\n this.visible = false;\n },\n onHide() {\n if (this.confirmation.onHide) {\n this.confirmation.onHide();\n }\n\n this.visible = false;\n },\n onAcceptKeydown(event) {\n if (event.code === 'Space' || event.code === 'Enter' || event.code === 'NumpadEnter') {\n this.accept();\n focus(this.target);\n event.preventDefault();\n }\n },\n onRejectKeydown(event) {\n if (event.code === 'Space' || event.code === 'Enter' || event.code === 'NumpadEnter') {\n this.reject();\n focus(this.target);\n event.preventDefault();\n }\n },\n onEnter(el) {\n this.autoFocusAccept = this.confirmation.defaultFocus === undefined || this.confirmation.defaultFocus === 'accept' ? true : false;\n this.autoFocusReject = this.confirmation.defaultFocus === 'reject' ? true : false;\n\n this.bindOutsideClickListener();\n this.bindScrollListener();\n this.bindResizeListener();\n\n ZIndex.set('overlay', el, this.$primevue.config.zIndex.overlay);\n },\n onAfterEnter() {\n this.focus();\n },\n onLeave() {\n this.autoFocusAccept = null;\n this.autoFocusReject = null;\n\n this.unbindOutsideClickListener();\n this.unbindScrollListener();\n this.unbindResizeListener();\n },\n onAfterLeave(el) {\n ZIndex.clear(el);\n },\n alignOverlay() {\n absolutePosition(this.container, this.target, false);\n\n const containerOffset = getOffset(this.container);\n const targetOffset = getOffset(this.target);\n let arrowLeft = 0;\n\n if (containerOffset.left < targetOffset.left) {\n arrowLeft = targetOffset.left - containerOffset.left;\n }\n\n this.container.style.setProperty($dt('overlay.arrow.left').name, `${arrowLeft}px`);\n\n if (containerOffset.top < targetOffset.top) {\n this.container.setAttribute('data-p-confirmpopup-flipped', 'true');\n !this.isUnstyled && addClass(this.container, 'p-confirmpopup-flipped');\n }\n },\n bindOutsideClickListener() {\n if (!this.outsideClickListener) {\n this.outsideClickListener = (event) => {\n if (this.visible && this.container && !this.container.contains(event.target) && !this.isTargetClicked(event)) {\n if (this.confirmation.onHide) {\n this.confirmation.onHide();\n }\n\n this.visible = false;\n } else {\n this.alignOverlay();\n }\n };\n\n document.addEventListener('click', this.outsideClickListener);\n }\n },\n unbindOutsideClickListener() {\n if (this.outsideClickListener) {\n document.removeEventListener('click', this.outsideClickListener);\n this.outsideClickListener = null;\n }\n },\n bindScrollListener() {\n if (!this.scrollHandler) {\n this.scrollHandler = new ConnectedOverlayScrollHandler(this.target, () => {\n if (this.visible) {\n this.visible = false;\n }\n });\n }\n\n this.scrollHandler.bindScrollListener();\n },\n unbindScrollListener() {\n if (this.scrollHandler) {\n this.scrollHandler.unbindScrollListener();\n }\n },\n bindResizeListener() {\n if (!this.resizeListener) {\n this.resizeListener = () => {\n if (this.visible && !isTouchDevice()) {\n this.visible = false;\n }\n };\n\n window.addEventListener('resize', this.resizeListener);\n }\n },\n unbindResizeListener() {\n if (this.resizeListener) {\n window.removeEventListener('resize', this.resizeListener);\n this.resizeListener = null;\n }\n },\n focus() {\n let focusTarget = this.container.querySelector('[autofocus]');\n\n if (focusTarget) {\n focusTarget.focus({ preventScroll: true }); // Firefox requires preventScroll\n }\n },\n isTargetClicked(event) {\n return this.target && (this.target === event.target || this.target.contains(event.target));\n },\n containerRef(el) {\n this.container = el;\n },\n onOverlayClick(event) {\n OverlayEventBus.emit('overlay-click', {\n originalEvent: event,\n target: this.target\n });\n },\n onOverlayKeydown(event) {\n if (event.code === 'Escape') {\n ConfirmationEventBus.emit('close', this.closeListener);\n focus(this.target);\n }\n }\n },\n computed: {\n message() {\n return this.confirmation ? this.confirmation.message : null;\n },\n acceptLabel() {\n if (this.confirmation) {\n const confirmation = this.confirmation;\n\n return confirmation.acceptLabel || confirmation.acceptProps?.label || this.$primevue.config.locale.accept;\n }\n\n return this.$primevue.config.locale.accept;\n },\n rejectLabel() {\n if (this.confirmation) {\n const confirmation = this.confirmation;\n\n return confirmation.rejectLabel || confirmation.rejectProps?.label || this.$primevue.config.locale.reject;\n }\n\n return this.$primevue.config.locale.reject;\n },\n acceptIcon() {\n return this.confirmation ? this.confirmation.acceptIcon : this.confirmation?.acceptProps ? this.confirmation.acceptProps.icon : null;\n },\n rejectIcon() {\n return this.confirmation ? this.confirmation.rejectIcon : this.confirmation?.rejectProps ? this.confirmation.rejectProps.icon : null;\n }\n },\n components: {\n Button,\n Portal\n },\n directives: {\n focustrap: FocusTrap\n }\n};\n</script>\n","<template>\n <Portal>\n <transition name=\"p-confirmpopup\" @enter=\"onEnter\" @after-enter=\"onAfterEnter\" @leave=\"onLeave\" @after-leave=\"onAfterLeave\" v-bind=\"ptm('transition')\">\n <div v-if=\"visible\" :ref=\"containerRef\" v-focustrap role=\"alertdialog\" :class=\"cx('root')\" :aria-modal=\"visible\" @click=\"onOverlayClick\" @keydown=\"onOverlayKeydown\" v-bind=\"ptmi('root')\">\n <slot v-if=\"$slots.container\" name=\"container\" :message=\"confirmation\" :acceptCallback=\"accept\" :rejectCallback=\"reject\"></slot>\n <template v-else>\n <template v-if=\"!$slots.message\">\n <div :class=\"cx('content')\" v-bind=\"ptm('content')\">\n <slot name=\"icon\">\n <component v-if=\"$slots.icon\" :is=\"$slots.icon\" :class=\"cx('icon')\" />\n <span v-else-if=\"confirmation.icon\" :class=\"[confirmation.icon, cx('icon')]\" v-bind=\"ptm('icon')\" />\n </slot>\n <span :class=\"cx('message')\" v-bind=\"ptm('message')\">{{ confirmation.message }}</span>\n </div>\n </template>\n <component v-else :is=\"$slots.message\" :message=\"confirmation\"></component>\n <div :class=\"cx('footer')\" v-bind=\"ptm('footer')\">\n <Button\n :class=\"[cx('pcRejectButton'), confirmation.rejectClass]\"\n :autofocus=\"autoFocusReject\"\n :unstyled=\"unstyled\"\n :size=\"confirmation.rejectProps?.size || 'small'\"\n :text=\"confirmation.rejectProps?.text || false\"\n @click=\"reject()\"\n @keydown=\"onRejectKeydown\"\n v-bind=\"confirmation.rejectProps\"\n :label=\"rejectLabel\"\n :pt=\"ptm('pcRejectButton')\"\n >\n <template v-if=\"rejectIcon || $slots.rejecticon\" #icon=\"iconProps\">\n <slot name=\"rejecticon\">\n <span :class=\"[rejectIcon, iconProps.class]\" v-bind=\"ptm('pcRejectButton')['icon']\" data-pc-section=\"rejectbuttonicon\" />\n </slot>\n </template>\n </Button>\n <Button\n :class=\"[cx('pcAcceptButton'), confirmation.acceptClass]\"\n :autofocus=\"autoFocusAccept\"\n :unstyled=\"unstyled\"\n :size=\"confirmation.acceptProps?.size || 'small'\"\n @click=\"accept()\"\n @keydown=\"onAcceptKeydown\"\n v-bind=\"confirmation.acceptProps\"\n :label=\"acceptLabel\"\n :pt=\"ptm('pcAcceptButton')\"\n >\n <template v-if=\"acceptIcon || $slots.accepticon\" #icon=\"iconProps\">\n <slot name=\"accepticon\">\n <span :class=\"[acceptIcon, iconProps.class]\" v-bind=\"ptm('pcAcceptButton')['icon']\" data-pc-section=\"acceptbuttonicon\" />\n </slot>\n </template>\n </Button>\n </div>\n </template>\n </div>\n </transition>\n </Portal>\n</template>\n\n<script>\nimport { $dt } from '@primeuix/styled';\nimport { absolutePosition, addClass, focus, getOffset, isTouchDevice } from '@primeuix/utils/dom';\nimport { ZIndex } from '@primeuix/utils/zindex';\nimport { ConnectedOverlayScrollHandler } from '@primevue/core/utils';\nimport Button from 'primevue/button';\nimport ConfirmationEventBus from 'primevue/confirmationeventbus';\nimport FocusTrap from 'primevue/focustrap';\nimport OverlayEventBus from 'primevue/overlayeventbus';\nimport Portal from 'primevue/portal';\nimport BaseConfirmPopup from './BaseConfirmPopup.vue';\n\nexport default {\n name: 'ConfirmPopup',\n extends: BaseConfirmPopup,\n inheritAttrs: false,\n data() {\n return {\n visible: false,\n confirmation: null,\n autoFocusAccept: null,\n autoFocusReject: null\n };\n },\n target: null,\n outsideClickListener: null,\n scrollHandler: null,\n resizeListener: null,\n container: null,\n confirmListener: null,\n closeListener: null,\n mounted() {\n this.confirmListener = (options) => {\n if (!options) {\n return;\n }\n\n if (options.group === this.group) {\n this.confirmation = options;\n this.target = options.target;\n\n if (this.confirmation.onShow) {\n this.confirmation.onShow();\n }\n\n this.visible = true;\n }\n };\n\n this.closeListener = () => {\n this.visible = false;\n this.confirmation = null;\n };\n\n ConfirmationEventBus.on('confirm', this.confirmListener);\n ConfirmationEventBus.on('close', this.closeListener);\n },\n beforeUnmount() {\n ConfirmationEventBus.off('confirm', this.confirmListener);\n ConfirmationEventBus.off('close', this.closeListener);\n\n this.unbindOutsideClickListener();\n\n if (this.scrollHandler) {\n this.scrollHandler.destroy();\n this.scrollHandler = null;\n }\n\n this.unbindResizeListener();\n\n if (this.container) {\n ZIndex.clear(this.container);\n this.container = null;\n }\n\n this.target = null;\n this.confirmation = null;\n },\n methods: {\n accept() {\n if (this.confirmation.accept) {\n this.confirmation.accept();\n }\n\n this.visible = false;\n },\n reject() {\n if (this.confirmation.reject) {\n this.confirmation.reject();\n }\n\n this.visible = false;\n },\n onHide() {\n if (this.confirmation.onHide) {\n this.confirmation.onHide();\n }\n\n this.visible = false;\n },\n onAcceptKeydown(event) {\n if (event.code === 'Space' || event.code === 'Enter' || event.code === 'NumpadEnter') {\n this.accept();\n focus(this.target);\n event.preventDefault();\n }\n },\n onRejectKeydown(event) {\n if (event.code === 'Space' || event.code === 'Enter' || event.code === 'NumpadEnter') {\n this.reject();\n focus(this.target);\n event.preventDefault();\n }\n },\n onEnter(el) {\n this.autoFocusAccept = this.confirmation.defaultFocus === undefined || this.confirmation.defaultFocus === 'accept' ? true : false;\n this.autoFocusReject = this.confirmation.defaultFocus === 'reject' ? true : false;\n\n this.bindOutsideClickListener();\n this.bindScrollListener();\n this.bindResizeListener();\n\n ZIndex.set('overlay', el, this.$primevue.config.zIndex.overlay);\n },\n onAfterEnter() {\n this.focus();\n },\n onLeave() {\n this.autoFocusAccept = null;\n this.autoFocusReject = null;\n\n this.unbindOutsideClickListener();\n this.unbindScrollListener();\n this.unbindResizeListener();\n },\n onAfterLeave(el) {\n ZIndex.clear(el);\n },\n alignOverlay() {\n absolutePosition(this.container, this.target, false);\n\n const containerOffset = getOffset(this.container);\n const targetOffset = getOffset(this.target);\n let arrowLeft = 0;\n\n if (containerOffset.left < targetOffset.left) {\n arrowLeft = targetOffset.left - containerOffset.left;\n }\n\n this.container.style.setProperty($dt('overlay.arrow.left').name, `${arrowLeft}px`);\n\n if (containerOffset.top < targetOffset.top) {\n this.container.setAttribute('data-p-confirmpopup-flipped', 'true');\n !this.isUnstyled && addClass(this.container, 'p-confirmpopup-flipped');\n }\n },\n bindOutsideClickListener() {\n if (!this.outsideClickListener) {\n this.outsideClickListener = (event) => {\n if (this.visible && this.container && !this.container.contains(event.target) && !this.isTargetClicked(event)) {\n if (this.confirmation.onHide) {\n this.confirmation.onHide();\n }\n\n this.visible = false;\n } else {\n this.alignOverlay();\n }\n };\n\n document.addEventListener('click', this.outsideClickListener);\n }\n },\n unbindOutsideClickListener() {\n if (this.outsideClickListener) {\n document.removeEventListener('click', this.outsideClickListener);\n this.outsideClickListener = null;\n }\n },\n bindScrollListener() {\n if (!this.scrollHandler) {\n this.scrollHandler = new ConnectedOverlayScrollHandler(this.target, () => {\n if (this.visible) {\n this.visible = false;\n }\n });\n }\n\n this.scrollHandler.bindScrollListener();\n },\n unbindScrollListener() {\n if (this.scrollHandler) {\n this.scrollHandler.unbindScrollListener();\n }\n },\n bindResizeListener() {\n if (!this.resizeListener) {\n this.resizeListener = () => {\n if (this.visible && !isTouchDevice()) {\n this.visible = false;\n }\n };\n\n window.addEventListener('resize', this.resizeListener);\n }\n },\n unbindResizeListener() {\n if (this.resizeListener) {\n window.removeEventListener('resize', this.resizeListener);\n this.resizeListener = null;\n }\n },\n focus() {\n let focusTarget = this.container.querySelector('[autofocus]');\n\n if (focusTarget) {\n focusTarget.focus({ preventScroll: true }); // Firefox requires preventScroll\n }\n },\n isTargetClicked(event) {\n return this.target && (this.target === event.target || this.target.contains(event.target));\n },\n containerRef(el) {\n this.container = el;\n },\n onOverlayClick(event) {\n OverlayEventBus.emit('overlay-click', {\n originalEvent: event,\n target: this.target\n });\n },\n onOverlayKeydown(event) {\n if (event.code === 'Escape') {\n ConfirmationEventBus.emit('close', this.closeListener);\n focus(this.target);\n }\n }\n },\n computed: {\n message() {\n return this.confirmation ? this.confirmation.message : null;\n },\n acceptLabel() {\n if (this.confirmation) {\n const confirmation = this.confirmation;\n\n return confirmation.acceptLabel || confirmation.acceptProps?.label || this.$primevue.config.locale.accept;\n }\n\n return this.$primevue.config.locale.accept;\n },\n rejectLabel() {\n if (this.confirmation) {\n const confirmation = this.confirmation;\n\n return confirmation.rejectLabel || confirmation.rejectProps?.label || this.$primevue.config.locale.reject;\n }\n\n return this.$primevue.config.locale.reject;\n },\n acceptIcon() {\n return this.confirmation ? this.confirmation.acceptIcon : this.confirmation?.acceptProps ? this.confirmation.acceptProps.icon : null;\n },\n rejectIcon() {\n return this.confirmation ? this.confirmation.rejectIcon : this.confirmation?.rejectProps ? this.confirmation.rejectProps.icon : null;\n }\n },\n components: {\n Button,\n Portal\n },\n directives: {\n focustrap: FocusTrap\n }\n};\n</script>\n"],"names":["name","BaseComponent","props","group","String","style","ConfirmPopupStyle","provide","$pcConfirmPopup","$parentInstance","BaseConfirmPopup","inheritAttrs","data","visible","confirmation","autoFocusAccept","autoFocusReject","target","outsideClickListener","scrollHandler","resizeListener","container","confirmListener","closeListener","mounted","_this","options","onShow","ConfirmationEventBus","on","beforeUnmount","off","unbindOutsideClickListener","destroy","unbindResizeListener","ZIndex","clear","methods","accept","reject","onHide","onAcceptKeydown","event","code","focus","preventDefault","onRejectKeydown","onEnter","el","defaultFocus","undefined","bindOutsideClickListener","bindScrollListener","bindResizeListener","set","$primevue","config","zIndex","overlay","onAfterEnter","onLeave","unbindScrollListener","onAfterLeave","alignOverlay","absolutePosition","containerOffset","getOffset","targetOffset","arrowLeft","left","setProperty","$dt","concat","top","setAttribute","isUnstyled","addClass","_this2","contains","isTargetClicked","document","addEventListener","removeEventListener","_this3","ConnectedOverlayScrollHandler","_this4","isTouchDevice","window","focusTarget","querySelector","preventScroll","containerRef","onOverlayClick","OverlayEventBus","emit","originalEvent","onOverlayKeydown","computed","message","acceptLabel","_confirmation$acceptP","acceptProps","label","locale","rejectLabel","_confirmation$rejectP","rejectProps","acceptIcon","_this$confirmation","icon","rejectIcon","_this$confirmation2","components","Button","Portal","directives","focustrap","FocusTrap","_createBlock","_component_Portal","_createVNode","_Transition","_mergeProps","$options","_ctx","ptm","_$data$confirmation$r","_$data$confirmation$r2","_$data$confirmation$a","$data","_withDirectives","_openBlock","_createElementBlock","ref","role","cx","onClick","apply","arguments","onKeydown","ptmi","$slots","_renderSlot","acceptCallback","rejectCallback","_Fragment","key","_resolveDynamicComponent","_createElementVNode","_toDisplayString","_component_Button","rejectClass","autofocus","unstyled","size","text","pt","rejecticon","fn","_withCtx","iconProps","acceptClass","accepticon"],"mappings":";;;;;;;;;;;;;AAIA,eAAe;AACXA,EAAAA,IAAI,EAAE,kBAAkB;AACxB,EAAA,SAAA,EAASC,aAAa;AACtBC,EAAAA,KAAK,EAAE;AACHC,IAAAA,KAAK,EAAEC,MAAAA;GACV;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;;ACsDD,aAAe;AACXT,EAAAA,IAAI,EAAE,cAAc;AACpB,EAAA,SAAA,EAASU,QAAgB;AACzBC,EAAAA,YAAY,EAAE,KAAK;EACnBC,IAAI,EAAA,SAAJA,IAAIA,GAAG;IACH,OAAO;AACHC,MAAAA,OAAO,EAAE,KAAK;AACdC,MAAAA,YAAY,EAAE,IAAI;AAClBC,MAAAA,eAAe,EAAE,IAAI;AACrBC,MAAAA,eAAe,EAAE,IAAA;KACpB,CAAA;GACJ;AACDC,EAAAA,MAAM,EAAE,IAAI;AACZC,EAAAA,oBAAoB,EAAE,IAAI;AAC1BC,EAAAA,aAAa,EAAE,IAAI;AACnBC,EAAAA,cAAc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AW,MAAA,IAAA,IAAA2B,qBAAA,KAAxBA,KAAAA,CAAAA,GAAAA,KAAAA,CAAAA,GAAAA,qBAAA,CAA0B0B,IAAK,KAAA,OAAA;AACrClB,YAAAA,OAAK;qBAAEb,QAAM,CAAArF,MAAA,EAAA,CAAA;AAAA,aAAA,CAAA;YACbqG,SAAO,EAAEhB,QAAe,CAAAlF,eAAAA;AACjB,WAAA,EAAAwF,KAAA,CAAAnH,YAAY,CAACuF,WAAW,EAAA;YAC/BC,KAAK,EAAEqB,QAAW,CAAAxB,WAAA;AAClByD,YAAAA,EAAE,EAAEhC,IAAG,CAAAC,GAAA,CAAA,gBAAA,CAAA;;;cAEQF,QAAS,CAAAhB,UAAA,IAAKiB,IAAM,CAAAiB,MAAA,CAACqB,UAAU;kBAAG,MAAI;AAClDJ,YAAAA,EAAA,EAAAC,OAAA,CAAA,UADoDC,SAAS,EAAA;cAAA,OAAA,CAC7DlB,UAAA,CAEMlB,+BAFN,YAAA;AAAA,gBAAA,OAEM,CADFwB,kBAAA,CAAwH,QAAxH1B,UAAwH,CAAA;AAAjH,kBAAA,OAAA,EAAQ,CAAAC,QAAA,CAAAhB,UAAU,EAAEqD,SAAS,CAAM,OAAA,CAAA,CAAA;mBAAWpC,IAAG,CAAAC,GAAA,CAAA,gBAAA,CAAA,CAAA,MAAA,CAAA,EAAA;AAA4B,kBAAA,iBAAe,EAAC,kBAAA;AAAiB,iBAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.mjs","sources":["../../src/confirmpopup/BaseConfirmPopup.vue","../../src/confirmpopup/ConfirmPopup.vue","../../src/confirmpopup/ConfirmPopup.vue?vue&type=template&id=7d9f7bff&lang.js"],"sourcesContent":["<script>\nimport BaseComponent from '@primevue/core/basecomponent';\nimport ConfirmPopupStyle from 'primevue/confirmpopup/style';\n\nexport default {\n name: 'BaseConfirmPopup',\n extends: BaseComponent,\n props: {\n group: String\n },\n style: ConfirmPopupStyle,\n provide() {\n return {\n $pcConfirmPopup: this,\n $parentInstance: this\n };\n }\n};\n</script>\n","<template>\n <Portal>\n <transition name=\"p-confirmpopup\" @enter=\"onEnter\" @after-enter=\"onAfterEnter\" @leave=\"onLeave\" @after-leave=\"onAfterLeave\" v-bind=\"ptm('transition')\">\n <div v-if=\"visible\" :ref=\"containerRef\" v-focustrap role=\"alertdialog\" :class=\"cx('root')\" :aria-modal=\"visible\" @click=\"onOverlayClick\" @keydown=\"onOverlayKeydown\" v-bind=\"ptmi('root')\">\n <slot v-if=\"$slots.container\" name=\"container\" :message=\"confirmation\" :acceptCallback=\"accept\" :rejectCallback=\"reject\"></slot>\n <template v-else>\n <template v-if=\"!$slots.message\">\n <div :class=\"cx('content')\" v-bind=\"ptm('content')\">\n <slot name=\"icon\">\n <component v-if=\"$slots.icon\" :is=\"$slots.icon\" :class=\"cx('icon')\" />\n <span v-else-if=\"confirmation.icon\" :class=\"[confirmation.icon, cx('icon')]\" v-bind=\"ptm('icon')\" />\n </slot>\n <span :class=\"cx('message')\" v-bind=\"ptm('message')\">{{ confirmation.message }}</span>\n </div>\n </template>\n <component v-else :is=\"$slots.message\" :message=\"confirmation\"></component>\n <div :class=\"cx('footer')\" v-bind=\"ptm('footer')\">\n <Button\n :class=\"[cx('pcRejectButton'), confirmation.rejectClass]\"\n :autofocus=\"autoFocusReject\"\n :unstyled=\"unstyled\"\n :size=\"confirmation.rejectProps?.size || 'small'\"\n :text=\"confirmation.rejectProps?.text || false\"\n @click=\"reject()\"\n @keydown=\"onRejectKeydown\"\n v-bind=\"confirmation.rejectProps\"\n :label=\"rejectLabel\"\n :pt=\"ptm('pcRejectButton')\"\n >\n <template v-if=\"rejectIcon || $slots.rejecticon\" #icon=\"iconProps\">\n <slot name=\"rejecticon\">\n <span :class=\"[rejectIcon, iconProps.class]\" v-bind=\"ptm('pcRejectButton')['icon']\" data-pc-section=\"rejectbuttonicon\" />\n </slot>\n </template>\n </Button>\n <Button\n :class=\"[cx('pcAcceptButton'), confirmation.acceptClass]\"\n :autofocus=\"autoFocusAccept\"\n :unstyled=\"unstyled\"\n :size=\"confirmation.acceptProps?.size || 'small'\"\n @click=\"accept()\"\n @keydown=\"onAcceptKeydown\"\n v-bind=\"confirmation.acceptProps\"\n :label=\"acceptLabel\"\n :pt=\"ptm('pcAcceptButton')\"\n >\n <template v-if=\"acceptIcon || $slots.accepticon\" #icon=\"iconProps\">\n <slot name=\"accepticon\">\n <span :class=\"[acceptIcon, iconProps.class]\" v-bind=\"ptm('pcAcceptButton')['icon']\" data-pc-section=\"acceptbuttonicon\" />\n </slot>\n </template>\n </Button>\n </div>\n </template>\n </div>\n </transition>\n </Portal>\n</template>\n\n<script>\nimport { $dt } from '@primeuix/styled';\nimport { absolutePosition, addClass, focus, getOffset, isTouchDevice } from '@primeuix/utils/dom';\nimport { ZIndex } from '@primeuix/utils/zindex';\nimport { ConnectedOverlayScrollHandler } from '@primevue/core/utils';\nimport Button from 'primevue/button';\nimport ConfirmationEventBus from 'primevue/confirmationeventbus';\nimport FocusTrap from 'primevue/focustrap';\nimport OverlayEventBus from 'primevue/overlayeventbus';\nimport Portal from 'primevue/portal';\nimport BaseConfirmPopup from './BaseConfirmPopup.vue';\n\nexport default {\n name: 'ConfirmPopup',\n extends: BaseConfirmPopup,\n inheritAttrs: false,\n data() {\n return {\n visible: false,\n confirmation: null,\n autoFocusAccept: null,\n autoFocusReject: null,\n target: null\n };\n },\n target: null,\n outsideClickListener: null,\n scrollHandler: null,\n resizeListener: null,\n container: null,\n confirmListener: null,\n closeListener: null,\n mounted() {\n this.confirmListener = (options) => {\n if (!options) {\n return;\n }\n\n if (options.group === this.group) {\n this.confirmation = options;\n this.target = options.target;\n\n if (this.confirmation.onShow) {\n this.confirmation.onShow();\n }\n\n this.visible = true;\n }\n };\n\n this.closeListener = () => {\n this.visible = false;\n this.confirmation = null;\n };\n\n ConfirmationEventBus.on('confirm', this.confirmListener);\n ConfirmationEventBus.on('close', this.closeListener);\n },\n beforeUnmount() {\n ConfirmationEventBus.off('confirm', this.confirmListener);\n ConfirmationEventBus.off('close', this.closeListener);\n\n this.unbindOutsideClickListener();\n\n if (this.scrollHandler) {\n this.scrollHandler.destroy();\n this.scrollHandler = null;\n }\n\n this.unbindResizeListener();\n\n if (this.container) {\n ZIndex.clear(this.container);\n this.container = null;\n }\n\n this.target = null;\n this.confirmation = null;\n },\n methods: {\n accept() {\n if (this.confirmation.accept) {\n this.confirmation.accept();\n }\n\n this.visible = false;\n },\n reject() {\n if (this.confirmation.reject) {\n this.confirmation.reject();\n }\n\n this.visible = false;\n },\n onHide() {\n if (this.confirmation.onHide) {\n this.confirmation.onHide();\n }\n\n this.visible = false;\n },\n onAcceptKeydown(event) {\n if (event.code === 'Space' || event.code === 'Enter' || event.code === 'NumpadEnter') {\n this.accept();\n focus(this.target);\n event.preventDefault();\n }\n },\n onRejectKeydown(event) {\n if (event.code === 'Space' || event.code === 'Enter' || event.code === 'NumpadEnter') {\n this.reject();\n focus(this.target);\n event.preventDefault();\n }\n },\n onEnter(el) {\n this.autoFocusAccept = this.confirmation.defaultFocus === undefined || this.confirmation.defaultFocus === 'accept' ? true : false;\n this.autoFocusReject = this.confirmation.defaultFocus === 'reject' ? true : false;\n\n this.target = document.activeElement;\n\n this.bindOutsideClickListener();\n this.bindScrollListener();\n this.bindResizeListener();\n\n ZIndex.set('overlay', el, this.$primevue.config.zIndex.overlay);\n },\n onAfterEnter() {\n this.focus();\n },\n onLeave() {\n this.autoFocusAccept = null;\n this.autoFocusReject = null;\n\n focus(this.target);\n this.target = null;\n\n this.unbindOutsideClickListener();\n this.unbindScrollListener();\n this.unbindResizeListener();\n },\n onAfterLeave(el) {\n ZIndex.clear(el);\n },\n alignOverlay() {\n absolutePosition(this.container, this.target, false);\n\n const containerOffset = getOffset(this.container);\n const targetOffset = getOffset(this.target);\n let arrowLeft = 0;\n\n if (containerOffset.left < targetOffset.left) {\n arrowLeft = targetOffset.left - containerOffset.left;\n }\n\n this.container.style.setProperty($dt('confirmpopup.arrow.left').name, `${arrowLeft}px`);\n\n if (containerOffset.top < targetOffset.top) {\n this.container.setAttribute('data-p-confirmpopup-flipped', 'true');\n !this.isUnstyled && addClass(this.container, 'p-confirmpopup-flipped');\n }\n },\n bindOutsideClickListener() {\n if (!this.outsideClickListener) {\n this.outsideClickListener = (event) => {\n if (this.visible && this.container && !this.container.contains(event.target) && !this.isTargetClicked(event)) {\n if (this.confirmation.onHide) {\n this.confirmation.onHide();\n }\n\n this.visible = false;\n } else {\n this.alignOverlay();\n }\n };\n\n document.addEventListener('click', this.outsideClickListener);\n }\n },\n unbindOutsideClickListener() {\n if (this.outsideClickListener) {\n document.removeEventListener('click', this.outsideClickListener);\n this.outsideClickListener = null;\n }\n },\n bindScrollListener() {\n if (!this.scrollHandler) {\n this.scrollHandler = new ConnectedOverlayScrollHandler(this.target, () => {\n if (this.visible) {\n this.visible = false;\n }\n });\n }\n\n this.scrollHandler.bindScrollListener();\n },\n unbindScrollListener() {\n if (this.scrollHandler) {\n this.scrollHandler.unbindScrollListener();\n }\n },\n bindResizeListener() {\n if (!this.resizeListener) {\n this.resizeListener = () => {\n if (this.visible && !isTouchDevice()) {\n this.visible = false;\n }\n };\n\n window.addEventListener('resize', this.resizeListener);\n }\n },\n unbindResizeListener() {\n if (this.resizeListener) {\n window.removeEventListener('resize', this.resizeListener);\n this.resizeListener = null;\n }\n },\n focus() {\n let focusTarget = this.container.querySelector('[autofocus]');\n\n if (focusTarget) {\n focusTarget.focus({ preventScroll: true }); // Firefox requires preventScroll\n }\n },\n isTargetClicked(event) {\n return this.target && (this.target === event.target || this.target.contains(event.target));\n },\n containerRef(el) {\n this.container = el;\n },\n onOverlayClick(event) {\n OverlayEventBus.emit('overlay-click', {\n originalEvent: event,\n target: this.target\n });\n },\n onOverlayKeydown(event) {\n if (event.code === 'Escape') {\n ConfirmationEventBus.emit('close', this.closeListener);\n focus(this.target);\n }\n }\n },\n computed: {\n message() {\n return this.confirmation ? this.confirmation.message : null;\n },\n acceptLabel() {\n if (this.confirmation) {\n const confirmation = this.confirmation;\n\n return confirmation.acceptLabel || confirmation.acceptProps?.label || this.$primevue.config.locale.accept;\n }\n\n return this.$primevue.config.locale.accept;\n },\n rejectLabel() {\n if (this.confirmation) {\n const confirmation = this.confirmation;\n\n return confirmation.rejectLabel || confirmation.rejectProps?.label || this.$primevue.config.locale.reject;\n }\n\n return this.$primevue.config.locale.reject;\n },\n acceptIcon() {\n return this.confirmation ? this.confirmation.acceptIcon : this.confirmation?.acceptProps ? this.confirmation.acceptProps.icon : null;\n },\n rejectIcon() {\n return this.confirmation ? this.confirmation.rejectIcon : this.confirmation?.rejectProps ? this.confirmation.rejectProps.icon : null;\n }\n },\n components: {\n Button,\n Portal\n },\n directives: {\n focustrap: FocusTrap\n }\n};\n</script>\n","<template>\n <Portal>\n <transition name=\"p-confirmpopup\" @enter=\"onEnter\" @after-enter=\"onAfterEnter\" @leave=\"onLeave\" @after-leave=\"onAfterLeave\" v-bind=\"ptm('transition')\">\n <div v-if=\"visible\" :ref=\"containerRef\" v-focustrap role=\"alertdialog\" :class=\"cx('root')\" :aria-modal=\"visible\" @click=\"onOverlayClick\" @keydown=\"onOverlayKeydown\" v-bind=\"ptmi('root')\">\n <slot v-if=\"$slots.container\" name=\"container\" :message=\"confirmation\" :acceptCallback=\"accept\" :rejectCallback=\"reject\"></slot>\n <template v-else>\n <template v-if=\"!$slots.message\">\n <div :class=\"cx('content')\" v-bind=\"ptm('content')\">\n <slot name=\"icon\">\n <component v-if=\"$slots.icon\" :is=\"$slots.icon\" :class=\"cx('icon')\" />\n <span v-else-if=\"confirmation.icon\" :class=\"[confirmation.icon, cx('icon')]\" v-bind=\"ptm('icon')\" />\n </slot>\n <span :class=\"cx('message')\" v-bind=\"ptm('message')\">{{ confirmation.message }}</span>\n </div>\n </template>\n <component v-else :is=\"$slots.message\" :message=\"confirmation\"></component>\n <div :class=\"cx('footer')\" v-bind=\"ptm('footer')\">\n <Button\n :class=\"[cx('pcRejectButton'), confirmation.rejectClass]\"\n :autofocus=\"autoFocusReject\"\n :unstyled=\"unstyled\"\n :size=\"confirmation.rejectProps?.size || 'small'\"\n :text=\"confirmation.rejectProps?.text || false\"\n @click=\"reject()\"\n @keydown=\"onRejectKeydown\"\n v-bind=\"confirmation.rejectProps\"\n :label=\"rejectLabel\"\n :pt=\"ptm('pcRejectButton')\"\n >\n <template v-if=\"rejectIcon || $slots.rejecticon\" #icon=\"iconProps\">\n <slot name=\"rejecticon\">\n <span :class=\"[rejectIcon, iconProps.class]\" v-bind=\"ptm('pcRejectButton')['icon']\" data-pc-section=\"rejectbuttonicon\" />\n </slot>\n </template>\n </Button>\n <Button\n :class=\"[cx('pcAcceptButton'), confirmation.acceptClass]\"\n :autofocus=\"autoFocusAccept\"\n :unstyled=\"unstyled\"\n :size=\"confirmation.acceptProps?.size || 'small'\"\n @click=\"accept()\"\n @keydown=\"onAcceptKeydown\"\n v-bind=\"confirmation.acceptProps\"\n :label=\"acceptLabel\"\n :pt=\"ptm('pcAcceptButton')\"\n >\n <template v-if=\"acceptIcon || $slots.accepticon\" #icon=\"iconProps\">\n <slot name=\"accepticon\">\n <span :class=\"[acceptIcon, iconProps.class]\" v-bind=\"ptm('pcAcceptButton')['icon']\" data-pc-section=\"acceptbuttonicon\" />\n </slot>\n </template>\n </Button>\n </div>\n </template>\n </div>\n </transition>\n </Portal>\n</template>\n\n<script>\nimport { $dt } from '@primeuix/styled';\nimport { absolutePosition, addClass, focus, getOffset, isTouchDevice } from '@primeuix/utils/dom';\nimport { ZIndex } from '@primeuix/utils/zindex';\nimport { ConnectedOverlayScrollHandler } from '@primevue/core/utils';\nimport Button from 'primevue/button';\nimport ConfirmationEventBus from 'primevue/confirmationeventbus';\nimport FocusTrap from 'primevue/focustrap';\nimport OverlayEventBus from 'primevue/overlayeventbus';\nimport Portal from 'primevue/portal';\nimport BaseConfirmPopup from './BaseConfirmPopup.vue';\n\nexport default {\n name: 'ConfirmPopup',\n extends: BaseConfirmPopup,\n inheritAttrs: false,\n data() {\n return {\n visible: false,\n confirmation: null,\n autoFocusAccept: null,\n autoFocusReject: null,\n target: null\n };\n },\n target: null,\n outsideClickListener: null,\n scrollHandler: null,\n resizeListener: null,\n container: null,\n confirmListener: null,\n closeListener: null,\n mounted() {\n this.confirmListener = (options) => {\n if (!options) {\n return;\n }\n\n if (options.group === this.group) {\n this.confirmation = options;\n this.target = options.target;\n\n if (this.confirmation.onShow) {\n this.confirmation.onShow();\n }\n\n this.visible = true;\n }\n };\n\n this.closeListener = () => {\n this.visible = false;\n this.confirmation = null;\n };\n\n ConfirmationEventBus.on('confirm', this.confirmListener);\n ConfirmationEventBus.on('close', this.closeListener);\n },\n beforeUnmount() {\n ConfirmationEventBus.off('confirm', this.confirmListener);\n ConfirmationEventBus.off('close', this.closeListener);\n\n this.unbindOutsideClickListener();\n\n if (this.scrollHandler) {\n this.scrollHandler.destroy();\n this.scrollHandler = null;\n }\n\n this.unbindResizeListener();\n\n if (this.container) {\n ZIndex.clear(this.container);\n this.container = null;\n }\n\n this.target = null;\n this.confirmation = null;\n },\n methods: {\n accept() {\n if (this.confirmation.accept) {\n this.confirmation.accept();\n }\n\n this.visible = false;\n },\n reject() {\n if (this.confirmation.reject) {\n this.confirmation.reject();\n }\n\n this.visible = false;\n },\n onHide() {\n if (this.confirmation.onHide) {\n this.confirmation.onHide();\n }\n\n this.visible = false;\n },\n onAcceptKeydown(event) {\n if (event.code === 'Space' || event.code === 'Enter' || event.code === 'NumpadEnter') {\n this.accept();\n focus(this.target);\n event.preventDefault();\n }\n },\n onRejectKeydown(event) {\n if (event.code === 'Space' || event.code === 'Enter' || event.code === 'NumpadEnter') {\n this.reject();\n focus(this.target);\n event.preventDefault();\n }\n },\n onEnter(el) {\n this.autoFocusAccept = this.confirmation.defaultFocus === undefined || this.confirmation.defaultFocus === 'accept' ? true : false;\n this.autoFocusReject = this.confirmation.defaultFocus === 'reject' ? true : false;\n\n this.target = document.activeElement;\n\n this.bindOutsideClickListener();\n this.bindScrollListener();\n this.bindResizeListener();\n\n ZIndex.set('overlay', el, this.$primevue.config.zIndex.overlay);\n },\n onAfterEnter() {\n this.focus();\n },\n onLeave() {\n this.autoFocusAccept = null;\n this.autoFocusReject = null;\n\n focus(this.target);\n this.target = null;\n\n this.unbindOutsideClickListener();\n this.unbindScrollListener();\n this.unbindResizeListener();\n },\n onAfterLeave(el) {\n ZIndex.clear(el);\n },\n alignOverlay() {\n absolutePosition(this.container, this.target, false);\n\n const containerOffset = getOffset(this.container);\n const targetOffset = getOffset(this.target);\n let arrowLeft = 0;\n\n if (containerOffset.left < targetOffset.left) {\n arrowLeft = targetOffset.left - containerOffset.left;\n }\n\n this.container.style.setProperty($dt('confirmpopup.arrow.left').name, `${arrowLeft}px`);\n\n if (containerOffset.top < targetOffset.top) {\n this.container.setAttribute('data-p-confirmpopup-flipped', 'true');\n !this.isUnstyled && addClass(this.container, 'p-confirmpopup-flipped');\n }\n },\n bindOutsideClickListener() {\n if (!this.outsideClickListener) {\n this.outsideClickListener = (event) => {\n if (this.visible && this.container && !this.container.contains(event.target) && !this.isTargetClicked(event)) {\n if (this.confirmation.onHide) {\n this.confirmation.onHide();\n }\n\n this.visible = false;\n } else {\n this.alignOverlay();\n }\n };\n\n document.addEventListener('click', this.outsideClickListener);\n }\n },\n unbindOutsideClickListener() {\n if (this.outsideClickListener) {\n document.removeEventListener('click', this.outsideClickListener);\n this.outsideClickListener = null;\n }\n },\n bindScrollListener() {\n if (!this.scrollHandler) {\n this.scrollHandler = new ConnectedOverlayScrollHandler(this.target, () => {\n if (this.visible) {\n this.visible = false;\n }\n });\n }\n\n this.scrollHandler.bindScrollListener();\n },\n unbindScrollListener() {\n if (this.scrollHandler) {\n this.scrollHandler.unbindScrollListener();\n }\n },\n bindResizeListener() {\n if (!this.resizeListener) {\n this.resizeListener = () => {\n if (this.visible && !isTouchDevice()) {\n this.visible = false;\n }\n };\n\n window.addEventListener('resize', this.resizeListener);\n }\n },\n unbindResizeListener() {\n if (this.resizeListener) {\n window.removeEventListener('resize', this.resizeListener);\n this.resizeListener = null;\n }\n },\n focus() {\n let focusTarget = this.container.querySelector('[autofocus]');\n\n if (focusTarget) {\n focusTarget.focus({ preventScroll: true }); // Firefox requires preventScroll\n }\n },\n isTargetClicked(event) {\n return this.target && (this.target === event.target || this.target.contains(event.target));\n },\n containerRef(el) {\n this.container = el;\n },\n onOverlayClick(event) {\n OverlayEventBus.emit('overlay-click', {\n originalEvent: event,\n target: this.target\n });\n },\n onOverlayKeydown(event) {\n if (event.code === 'Escape') {\n ConfirmationEventBus.emit('close', this.closeListener);\n focus(this.target);\n }\n }\n },\n computed: {\n message() {\n return this.confirmation ? this.confirmation.message : null;\n },\n acceptLabel() {\n if (this.confirmation) {\n const confirmation = this.confirmation;\n\n return confirmation.acceptLabel || confirmation.acceptProps?.label || this.$primevue.config.locale.accept;\n }\n\n return this.$primevue.config.locale.accept;\n },\n rejectLabel() {\n if (this.confirmation) {\n const confirmation = this.confirmation;\n\n return confirmation.rejectLabel || confirmation.rejectProps?.label || this.$primevue.config.locale.reject;\n }\n\n return this.$primevue.config.locale.reject;\n },\n acceptIcon() {\n return this.confirmation ? this.confirmation.acceptIcon : this.confirmation?.acceptProps ? this.confirmation.acceptProps.icon : null;\n },\n rejectIcon() {\n return this.confirmation ? this.confirmation.rejectIcon : this.confirmation?.rejectProps ? this.confirmation.rejectProps.icon : null;\n }\n },\n components: {\n Button,\n Portal\n },\n directives: {\n focustrap: FocusTrap\n }\n};\n</script>\n"],"names":["name","BaseComponent","props","group","String","style","ConfirmPopupStyle","provide","$pcConfirmPopup","$parentInstance","BaseConfirmPopup","inheritAttrs","data","visible","confirmation","autoFocusAccept","autoFocusReject","target","outsideClickListener","scrollHandler","resizeListener","container","confirmListener","closeListener","mounted","_this","options","onShow","ConfirmationEventBus","on","beforeUnmount","off","unbindOutsideClickListener","destroy","unbindResizeListener","ZIndex","clear","methods","accept","reject","onHide","onAcceptKeydown","event","code","focus","preventDefault","onRejectKeydown","onEnter","el","defaultFocus","undefined","document","activeElement","bindOutsideClickListener","bindScrollListener","bindResizeListener","set","$primevue","config","zIndex","overlay","onAfterEnter","onLeave","unbindScrollListener","onAfterLeave","alignOverlay","absolutePosition","containerOffset","getOffset","targetOffset","arrowLeft","left","setProperty","$dt","concat","top","setAttribute","isUnstyled","addClass","_this2","contains","isTargetClicked","addEventListener","removeEventListener","_this3","ConnectedOverlayScrollHandler","_this4","isTouchDevice","window","focusTarget","querySelector","preventScroll","containerRef","onOverlayClick","OverlayEventBus","emit","originalEvent","onOverlayKeydown","computed","message","acceptLabel","_confirmation$acceptP","acceptProps","label","locale","rejectLabel","_confirmation$rejectP","rejectProps","acceptIcon","_this$confirmation","icon","rejectIcon","_this$confirmation2","components","Button","Portal","directives","focustrap","FocusTrap","_createBlock","_component_Portal","_createVNode","_Transition","_mergeProps","$options","_ctx","ptm","_$data$confirmation$r","_$data$confirmation$r2","_$data$confirmation$a","$data","_withDirectives","_openBlock","_createElementBlock","ref","role","cx","onClick","apply","arguments","onKeydown","ptmi","$slots","_renderSlot","acceptCallback","rejectCallback","_Fragment","key","_resolveDynamicComponent","_createElementVNode","_toDisplayString","_component_Button","rejectClass","autofocus","unstyled","size","text","pt","rejecticon","fn","_withCtx","iconProps","acceptClass","accepticon"],"mappings":";;;;;;;;;;;;;AAIA,eAAe;AACXA,EAAAA,IAAI,EAAE,kBAAkB;AACxB,EAAA,SAAA,EAASC,aAAa;AACtBC,EAAAA,KAAK,EAAE;AACHC,IAAAA,KAAK,EAAEC,MAAAA;GACV;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;;ACsDD,aAAe;AACXT,EAAAA,IAAI,EAAE,cAAc;AACpB,EAAA,SAAA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,kBAAA,OAAA,EAAQ,CAAAC,QAAA,CAAAhB,UAAU,EAAEqD,SAAS,CAAM,OAAA,CAAA,CAAA;mBAAWpC,IAAG,CAAAC,GAAA,CAAA,gBAAA,CAAA,CAAA,MAAA,CAAA,EAAA;AAA4B,kBAAA,iBAAe,EAAC,kBAAA;AAAiB,iBAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA;;;;;;;;;;;;;;;;;"}
@@ -2,7 +2,7 @@ import BaseStyle from '@primevue/core/base/style';
2
2
 
3
3
  var theme = function theme(_ref) {
4
4
  var dt = _ref.dt;
5
- return "\n.p-confirmpopup {\n position: absolute;\n margin-top: ".concat(dt('confirmpopup.gutter'), ";\n top: 0;\n left: 0;\n background: ").concat(dt('confirmpopup.background'), ";\n color: ").concat(dt('confirmpopup.color'), ";\n border: 1px solid ").concat(dt('confirmpopup.border.color'), ";\n border-radius: ").concat(dt('confirmpopup.border.radius'), ";\n box-shadow: ").concat(dt('confirmpopup.shadow'), ";\n}\n\n.p-confirmpopup-content {\n display: flex;\n align-items: center;\n padding: ").concat(dt('confirmpopup.content.padding'), ";\n gap: ").concat(dt('confirmpopup.content.gap'), ";\n}\n\n.p-confirmpopup-icon {\n font-size: ").concat(dt('confirmpopup.icon.size'), ";\n width: ").concat(dt('confirmpopup.icon.size'), ";\n height: ").concat(dt('confirmpopup.icon.size'), ";\n color: ").concat(dt('confirmpopup.icon.color'), ";\n}\n\n.p-confirmpopup-footer {\n display: flex;\n justify-content: flex-end;\n gap: ").concat(dt('confirmpopup.footer.gap'), ";\n padding: ").concat(dt('confirmpopup.footer.padding'), ";\n}\n\n.p-confirmpopup-footer button {\n width: auto;\n}\n\n.p-confirmpopup-footer button:last-child {\n margin: 0;\n}\n\n.p-confirmpopup-flipped {\n margin-top: calc(").concat(dt('confirmpopup.gutter'), " * -1);\n margin-bottom: ").concat(dt('confirmpopup.gutter'), ";\n}\n\n.p-confirmpopup-enter-from {\n opacity: 0;\n transform: scaleY(0.8);\n}\n\n.p-confirmpopup-leave-to {\n opacity: 0;\n}\n\n.p-confirmpopup-enter-active {\n transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1), opacity 0.12s cubic-bezier(0, 0, 0.2, 1);\n}\n\n.p-confirmpopup-leave-active {\n transition: opacity 0.1s linear;\n}\n\n.p-confirmpopup:after,\n.p-confirmpopup:before {\n bottom: 100%;\n left: ").concat(dt('confirmpopup.arrow.offset'), ";\n content: \" \";\n height: 0;\n width: 0;\n position: absolute;\n pointer-events: none;\n}\n\n.p-confirmpopup:after {\n border-width: calc(").concat(dt('confirmpopup.gutter'), " - 2px);\n margin-left: calc(-1 * (").concat(dt('confirmpopup.gutter'), " - 2px));\n border-style: solid;\n border-color: transparent;\n border-bottom-color: ").concat(dt('confirmpopup.background'), ";\n}\n\n.p-confirmpopup:before {\n border-width: ").concat(dt('confirmpopup.gutter'), ";\n margin-left: calc(-1 * ").concat(dt('confirmpopup.gutter'), ");\n border-style: solid;\n border-color: transparent;\n border-bottom-color: ").concat(dt('confirmpopup.border.color'), ";\n}\n\n.p-confirmpopup-flipped:after,\n.p-confirmpopup-flipped:before {\n bottom: auto;\n top: 100%;\n}\n\n.p-confirmpopup-flipped:after {\n border-bottom-color: transparent;\n border-top-color: ").concat(dt('confirmpopup.background'), ";\n}\n\n.p-confirmpopup-flipped:before {\n border-bottom-color: transparent;\n border-top-color: ").concat(dt('confirmpopup.border.color'), ";\n}\n");
5
+ return "\n.p-confirmpopup {\n position: absolute;\n margin-top: ".concat(dt('confirmpopup.gutter'), ";\n top: 0;\n left: 0;\n background: ").concat(dt('confirmpopup.background'), ";\n color: ").concat(dt('confirmpopup.color'), ";\n border: 1px solid ").concat(dt('confirmpopup.border.color'), ";\n border-radius: ").concat(dt('confirmpopup.border.radius'), ";\n box-shadow: ").concat(dt('confirmpopup.shadow'), ";\n}\n\n.p-confirmpopup-content {\n display: flex;\n align-items: center;\n padding: ").concat(dt('confirmpopup.content.padding'), ";\n gap: ").concat(dt('confirmpopup.content.gap'), ";\n}\n\n.p-confirmpopup-icon {\n font-size: ").concat(dt('confirmpopup.icon.size'), ";\n width: ").concat(dt('confirmpopup.icon.size'), ";\n height: ").concat(dt('confirmpopup.icon.size'), ";\n color: ").concat(dt('confirmpopup.icon.color'), ";\n}\n\n.p-confirmpopup-footer {\n display: flex;\n justify-content: flex-end;\n gap: ").concat(dt('confirmpopup.footer.gap'), ";\n padding: ").concat(dt('confirmpopup.footer.padding'), ";\n}\n\n.p-confirmpopup-footer button {\n width: auto;\n}\n\n.p-confirmpopup-footer button:last-child {\n margin: 0;\n}\n\n.p-confirmpopup-flipped {\n margin-top: calc(").concat(dt('confirmpopup.gutter'), " * -1);\n margin-bottom: ").concat(dt('confirmpopup.gutter'), ";\n}\n\n.p-confirmpopup-enter-from {\n opacity: 0;\n transform: scaleY(0.8);\n}\n\n.p-confirmpopup-leave-to {\n opacity: 0;\n}\n\n.p-confirmpopup-enter-active {\n transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1), opacity 0.12s cubic-bezier(0, 0, 0.2, 1);\n}\n\n.p-confirmpopup-leave-active {\n transition: opacity 0.1s linear;\n}\n\n.p-confirmpopup:after,\n.p-confirmpopup:before {\n bottom: 100%;\n left: calc(").concat(dt('confirmpopup.arrow.offset'), " + ").concat(dt('confirmpopup.arrow.left'), ");\n content: \" \";\n height: 0;\n width: 0;\n position: absolute;\n pointer-events: none;\n}\n\n.p-confirmpopup:after {\n border-width: calc(").concat(dt('confirmpopup.gutter'), " - 2px);\n margin-left: calc(-1 * (").concat(dt('confirmpopup.gutter'), " - 2px));\n border-style: solid;\n border-color: transparent;\n border-bottom-color: ").concat(dt('confirmpopup.background'), ";\n}\n\n.p-confirmpopup:before {\n border-width: ").concat(dt('confirmpopup.gutter'), ";\n margin-left: calc(-1 * ").concat(dt('confirmpopup.gutter'), ");\n border-style: solid;\n border-color: transparent;\n border-bottom-color: ").concat(dt('confirmpopup.border.color'), ";\n}\n\n.p-confirmpopup-flipped:after,\n.p-confirmpopup-flipped:before {\n bottom: auto;\n top: 100%;\n}\n\n.p-confirmpopup-flipped:after {\n border-bottom-color: transparent;\n border-top-color: ").concat(dt('confirmpopup.background'), ";\n}\n\n.p-confirmpopup-flipped:before {\n border-bottom-color: transparent;\n border-top-color: ").concat(dt('confirmpopup.border.color'), ";\n}\n");
6
6
  };
7
7
  var classes = {
8
8
  root: 'p-confirmpopup p-component',
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":["../../../src/confirmpopup/style/ConfirmPopupStyle.js"],"sourcesContent":["import BaseStyle from '@primevue/core/base/style';\n\nconst theme = ({ dt }) => `\n.p-confirmpopup {\n position: absolute;\n margin-top: ${dt('confirmpopup.gutter')};\n top: 0;\n left: 0;\n background: ${dt('confirmpopup.background')};\n color: ${dt('confirmpopup.color')};\n border: 1px solid ${dt('confirmpopup.border.color')};\n border-radius: ${dt('confirmpopup.border.radius')};\n box-shadow: ${dt('confirmpopup.shadow')};\n}\n\n.p-confirmpopup-content {\n display: flex;\n align-items: center;\n padding: ${dt('confirmpopup.content.padding')};\n gap: ${dt('confirmpopup.content.gap')};\n}\n\n.p-confirmpopup-icon {\n font-size: ${dt('confirmpopup.icon.size')};\n width: ${dt('confirmpopup.icon.size')};\n height: ${dt('confirmpopup.icon.size')};\n color: ${dt('confirmpopup.icon.color')};\n}\n\n.p-confirmpopup-footer {\n display: flex;\n justify-content: flex-end;\n gap: ${dt('confirmpopup.footer.gap')};\n padding: ${dt('confirmpopup.footer.padding')};\n}\n\n.p-confirmpopup-footer button {\n width: auto;\n}\n\n.p-confirmpopup-footer button:last-child {\n margin: 0;\n}\n\n.p-confirmpopup-flipped {\n margin-top: calc(${dt('confirmpopup.gutter')} * -1);\n margin-bottom: ${dt('confirmpopup.gutter')};\n}\n\n.p-confirmpopup-enter-from {\n opacity: 0;\n transform: scaleY(0.8);\n}\n\n.p-confirmpopup-leave-to {\n opacity: 0;\n}\n\n.p-confirmpopup-enter-active {\n transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1), opacity 0.12s cubic-bezier(0, 0, 0.2, 1);\n}\n\n.p-confirmpopup-leave-active {\n transition: opacity 0.1s linear;\n}\n\n.p-confirmpopup:after,\n.p-confirmpopup:before {\n bottom: 100%;\n left: ${dt('confirmpopup.arrow.offset')};\n content: \" \";\n height: 0;\n width: 0;\n position: absolute;\n pointer-events: none;\n}\n\n.p-confirmpopup:after {\n border-width: calc(${dt('confirmpopup.gutter')} - 2px);\n margin-left: calc(-1 * (${dt('confirmpopup.gutter')} - 2px));\n border-style: solid;\n border-color: transparent;\n border-bottom-color: ${dt('confirmpopup.background')};\n}\n\n.p-confirmpopup:before {\n border-width: ${dt('confirmpopup.gutter')};\n margin-left: calc(-1 * ${dt('confirmpopup.gutter')});\n border-style: solid;\n border-color: transparent;\n border-bottom-color: ${dt('confirmpopup.border.color')};\n}\n\n.p-confirmpopup-flipped:after,\n.p-confirmpopup-flipped:before {\n bottom: auto;\n top: 100%;\n}\n\n.p-confirmpopup-flipped:after {\n border-bottom-color: transparent;\n border-top-color: ${dt('confirmpopup.background')};\n}\n\n.p-confirmpopup-flipped:before {\n border-bottom-color: transparent;\n border-top-color: ${dt('confirmpopup.border.color')};\n}\n`;\n\nconst classes = {\n root: 'p-confirmpopup p-component',\n content: 'p-confirmpopup-content',\n icon: 'p-confirmpopup-icon',\n message: 'p-confirmpopup-message',\n footer: 'p-confirmpopup-footer',\n pcRejectButton: 'p-confirmpopup-reject-button',\n pcAcceptButton: 'p-confirmpopup-accept-button'\n};\n\nexport default BaseStyle.extend({\n name: 'confirmpopup',\n theme,\n classes\n});\n"],"names":["theme","_ref","dt","concat","classes","root","content","icon","message","footer","pcRejectButton","pcAcceptButton","BaseStyle","extend","name"],"mappings":";;AAEA,IAAMA,KAAK,GAAG,SAARA,KAAKA,CAAAC,IAAA,EAAA;AAAA,EAAA,IAAMC,EAAE,GAAAD,IAAA,CAAFC,EAAE,CAAA;AAAA,EAAA,OAAA,gEAAA,CAAAC,MAAA,CAGDD,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AAC,sDAAAA,CAAAA,CAAAA,MAAA,CAIpCD,EAAE,CAAC,qBAAqB,CAAC,oCAAAC,MAAA,CAChBD,EAAE,CAAC,qBAAqB,CAAC,EAAA,yFAAA,CAAA,CAAAC,MAAA,CAG3BD,EAAE,CAAC,2BAA2B,CAAC,sNAAAC,MAAA,CAWlCD,EAAE,CAAC,yBAAyB,CAAC,EAAAC,yGAAAA,CAAAA,CAAAA,MAAA,CAK7BD,EAAE,CAAC,2BAA2B,CAAC,EAAA,QAAA,CAAA,CAAA;AAAA,CAEtD,CAAA;AAED,IAAME,OAAO,GAAG;AACZC,EAAAA,IAAI,EAAE,4BAA4B;AAClCC,EAAAA,OAAO,EAAE,wBAAwB;AACjCC,EAAAA,IAAI,EAAE,qBAAqB;AAC3BC,EAAAA,OAAO,EAAE,wBAAwB;AACjCC,EAAAA,MAAM,EAAE,uBAAuB;AAC/BC,EAAAA,cAAc,EAAE,8BAA8B;AAC9CC,EAAAA,cAAc,EAAE,8BAAA;AACpB,CAAC,CAAA;AAED,wBAAeC,SAAS,CAACC,MAAM,CAAC;AAC5BC,EAAAA,IAAI,EAAE,cAAc;AACpBd,EAAAA,KAAK,EAALA,KAAK;AACLI,EAAAA,OAAO,EAAPA,OAAAA;AACJ,CAAC,CAAC;;;;"}
1
+ {"version":3,"file":"index.mjs","sources":["../../../src/confirmpopup/style/ConfirmPopupStyle.js"],"sourcesContent":["import BaseStyle from '@primevue/core/base/style';\n\nconst theme = ({ dt }) => `\n.p-confirmpopup {\n position: absolute;\n margin-top: ${dt('confirmpopup.gutter')};\n top: 0;\n left: 0;\n background: ${dt('confirmpopup.background')};\n color: ${dt('confirmpopup.color')};\n border: 1px solid ${dt('confirmpopup.border.color')};\n border-radius: ${dt('confirmpopup.border.radius')};\n box-shadow: ${dt('confirmpopup.shadow')};\n}\n\n.p-confirmpopup-content {\n display: flex;\n align-items: center;\n padding: ${dt('confirmpopup.content.padding')};\n gap: ${dt('confirmpopup.content.gap')};\n}\n\n.p-confirmpopup-icon {\n font-size: ${dt('confirmpopup.icon.size')};\n width: ${dt('confirmpopup.icon.size')};\n height: ${dt('confirmpopup.icon.size')};\n color: ${dt('confirmpopup.icon.color')};\n}\n\n.p-confirmpopup-footer {\n display: flex;\n justify-content: flex-end;\n gap: ${dt('confirmpopup.footer.gap')};\n padding: ${dt('confirmpopup.footer.padding')};\n}\n\n.p-confirmpopup-footer button {\n width: auto;\n}\n\n.p-confirmpopup-footer button:last-child {\n margin: 0;\n}\n\n.p-confirmpopup-flipped {\n margin-top: calc(${dt('confirmpopup.gutter')} * -1);\n margin-bottom: ${dt('confirmpopup.gutter')};\n}\n\n.p-confirmpopup-enter-from {\n opacity: 0;\n transform: scaleY(0.8);\n}\n\n.p-confirmpopup-leave-to {\n opacity: 0;\n}\n\n.p-confirmpopup-enter-active {\n transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1), opacity 0.12s cubic-bezier(0, 0, 0.2, 1);\n}\n\n.p-confirmpopup-leave-active {\n transition: opacity 0.1s linear;\n}\n\n.p-confirmpopup:after,\n.p-confirmpopup:before {\n bottom: 100%;\n left: calc(${dt('confirmpopup.arrow.offset')} + ${dt('confirmpopup.arrow.left')});\n content: \" \";\n height: 0;\n width: 0;\n position: absolute;\n pointer-events: none;\n}\n\n.p-confirmpopup:after {\n border-width: calc(${dt('confirmpopup.gutter')} - 2px);\n margin-left: calc(-1 * (${dt('confirmpopup.gutter')} - 2px));\n border-style: solid;\n border-color: transparent;\n border-bottom-color: ${dt('confirmpopup.background')};\n}\n\n.p-confirmpopup:before {\n border-width: ${dt('confirmpopup.gutter')};\n margin-left: calc(-1 * ${dt('confirmpopup.gutter')});\n border-style: solid;\n border-color: transparent;\n border-bottom-color: ${dt('confirmpopup.border.color')};\n}\n\n.p-confirmpopup-flipped:after,\n.p-confirmpopup-flipped:before {\n bottom: auto;\n top: 100%;\n}\n\n.p-confirmpopup-flipped:after {\n border-bottom-color: transparent;\n border-top-color: ${dt('confirmpopup.background')};\n}\n\n.p-confirmpopup-flipped:before {\n border-bottom-color: transparent;\n border-top-color: ${dt('confirmpopup.border.color')};\n}\n`;\n\nconst classes = {\n root: 'p-confirmpopup p-component',\n content: 'p-confirmpopup-content',\n icon: 'p-confirmpopup-icon',\n message: 'p-confirmpopup-message',\n footer: 'p-confirmpopup-footer',\n pcRejectButton: 'p-confirmpopup-reject-button',\n pcAcceptButton: 'p-confirmpopup-accept-button'\n};\n\nexport default BaseStyle.extend({\n name: 'confirmpopup',\n theme,\n classes\n});\n"],"names":["theme","_ref","dt","concat","classes","root","content","icon","message","footer","pcRejectButton","pcAcceptButton","BaseStyle","extend","name"],"mappings":";;AAEA,IAAMA,KAAK,GAAG,SAARA,KAAKA,CAAAC,IAAA,EAAA;AAAA,EAAA,IAAMC,EAAE,GAAAD,IAAA,CAAFC,EAAE,CAAA;AAAA,EAAA,OAAA,gEAAA,CAAAC,MAAA,CAGDD,EAAE,CAAC,qBAAqB,CAAC,oDAAAC,MAAA,CAGzBD,EAAE,CAAC,yBAAyB,CAAC,EAAAC,gBAAAA,CAAAA,CAAAA,MAAA,CAClCD,EAAE,CAAC,oBAAoB,CAAC,EAAA,2BAAA,CAAA,CAAAC,MAAA,CACbD,EAAE,CAAC,2BAA2B,CAAC,EAAAC,wBAAAA,CAAAA,CAAAA,MAAA,CAClCD,EAAE,CAAC,4BAA4B,CAAC,EAAA,qBAAA,CAAA,CAAAC,MAAA,CACnCD,EAAE,CAAC,qBAAqB,CAAC,oGAAAC,MAAA,CAM5BD,EAAE,CAAC,8BAA8B,CAAC,EAAA,cAAA,CAAA,CAAAC,MAAA,CACtCD,EAAE,CAAC,0BAA0B,CAAC,qDAAAC,MAAA,CAIxBD,EAAE,CAAC,wBAAwB,CAAC,EAAAC,gBAAAA,CAAAA,CAAAA,MAAA,CAChCD,EAAE,CAAC,wBAAwB,CAAC,qBAAAC,MAAA,CAC3BD,EAAE,CAAC,wBAAwB,CAAC,EAAAC,gBAAAA,CAAAA,CAAAA,MAAA,CAC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,CAAC,CAAA;AAED,wBAAeC,SAAS,CAACC,MAAM,CAAC;AAC5BC,EAAAA,IAAI,EAAE,cAAc;AACpBd,EAAAA,KAAK,EAALA,KAAK;AACLI,EAAAA,OAAO,EAAPA,OAAAA;AACJ,CAAC,CAAC;;;;"}
@@ -324,7 +324,7 @@ export default {
324
324
  onEnterKey(event) {
325
325
  if (this.focusedItemInfo.index !== -1) {
326
326
  const element = findSingle(this.list, `li[id="${`${this.focusedItemIdx}`}"]`);
327
- const anchorElement = element && findSingle(element, 'a[data-pc-section="itemlink"]');
327
+ const anchorElement = element && findSingle(element, '[data-pc-section="itemlink"]');
328
328
 
329
329
  anchorElement ? anchorElement.click() : element && element.click();
330
330
  const processedItem = this.visibleItems[this.focusedItemInfo.index];
@@ -642,7 +642,7 @@ var script = {
642
642
  onEnterKey: function onEnterKey(event) {
643
643
  if (this.focusedItemInfo.index !== -1) {
644
644
  var element = findSingle(this.list, "li[id=\"".concat("".concat(this.focusedItemIdx), "\"]"));
645
- var anchorElement = element && findSingle(element, 'a[data-pc-section="itemlink"]');
645
+ var anchorElement = element && findSingle(element, '[data-pc-section="itemlink"]');
646
646
  anchorElement ? anchorElement.click() : element && element.click();
647
647
  var processedItem = this.visibleItems[this.focusedItemInfo.index];
648
648
  var grouped = this.isProccessedItemGroup(processedItem);