@vc-shell/framework 1.1.76 → 1.1.77

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 (167) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/framework.js +28 -27
  3. package/dist/shared/components/app-switcher/components/vc-app-switcher/vc-app-switcher.vue.d.ts.map +1 -1
  4. package/dist/shared/components/blade-navigation/components/vc-blade-navigation/_internal/vc-mobile-back-button.vue.d.ts.map +1 -1
  5. package/dist/shared/components/blade-navigation/components/vc-blade-navigation/vc-blade-navigation.vue.d.ts.map +1 -1
  6. package/dist/shared/components/change-password/change-password.vue.d.ts.map +1 -1
  7. package/dist/shared/components/change-password-button/change-password-button.vue.d.ts.map +1 -1
  8. package/dist/shared/components/common/popup/vc-popup-error.vue.d.ts.map +1 -1
  9. package/dist/shared/components/common/popup/vc-popup-info.vue.d.ts.map +1 -1
  10. package/dist/shared/components/common/popup/vc-popup-warning.vue.d.ts.map +1 -1
  11. package/dist/shared/components/dashboard-widget-card/dashboard-widget-card.vue.d.ts.map +1 -1
  12. package/dist/shared/components/draggable-dashboard/DraggableDashboard.vue.d.ts.map +1 -1
  13. package/dist/shared/components/draggable-dashboard/_internal/DashboardWidget.vue.d.ts.map +1 -1
  14. package/dist/shared/components/generic-dropdown/generic-dropdown.vue.d.ts +2 -2
  15. package/dist/shared/components/generic-dropdown/generic-dropdown.vue.d.ts.map +1 -1
  16. package/dist/shared/components/language-selector/language-selector.vue.d.ts.map +1 -1
  17. package/dist/shared/components/logout-button/logout-button.vue.d.ts.map +1 -1
  18. package/dist/shared/components/multilanguage-selector/multilanguage-selector.vue.d.ts.map +1 -1
  19. package/dist/shared/components/notification-dropdown/_internal/notification/notification.vue.d.ts.map +1 -1
  20. package/dist/shared/components/notification-dropdown/notification-dropdown.vue.d.ts.map +1 -1
  21. package/dist/shared/components/notification-template/notification-template.vue.d.ts.map +1 -1
  22. package/dist/shared/components/popup-handler/components/vc-popup-container/vc-popup-container.vue.d.ts.map +1 -1
  23. package/dist/shared/components/settings-menu/settings-menu.vue.d.ts.map +1 -1
  24. package/dist/shared/components/settings-menu-item/settings-menu-item.vue.d.ts.map +1 -1
  25. package/dist/shared/components/sidebar/sidebar.vue.d.ts.map +1 -1
  26. package/dist/shared/components/sign-in/external-provider.vue.d.ts.map +1 -1
  27. package/dist/shared/components/sign-in/external-providers.vue.d.ts.map +1 -1
  28. package/dist/shared/components/theme-selector/theme-selector.vue.d.ts.map +1 -1
  29. package/dist/shared/components/user-dropdown-button/_internal/user-info.vue.d.ts.map +1 -1
  30. package/dist/shared/components/user-dropdown-button/_internal/user-sidebar.vue.d.ts.map +1 -1
  31. package/dist/shared/components/user-dropdown-button/user-dropdown-button.vue.d.ts.map +1 -1
  32. package/dist/shared/composables/useMenuExpanded.d.ts +1 -1
  33. package/dist/shared/modules/assets/components/assets-details/assets-details.vue.d.ts.map +1 -1
  34. package/dist/shared/modules/assets-manager/components/assets-manager/assets-manager.vue.d.ts.map +1 -1
  35. package/dist/shared/modules/dynamic/pages/dynamic-blade-form.vue.d.ts.map +1 -1
  36. package/dist/shared/modules/dynamic/pages/dynamic-blade-list.vue.d.ts.map +1 -1
  37. package/dist/shared/pages/ChangePasswordPage/components/change-password/ChangePassword.vue.d.ts.map +1 -1
  38. package/dist/shared/pages/InvitePage/components/invite/Invite.vue.d.ts.map +1 -1
  39. package/dist/shared/pages/LoginPage/components/login/Login.vue.d.ts.map +1 -1
  40. package/dist/shared/pages/ResetPasswordPage/components/reset-password/ResetPassword.vue.d.ts.map +1 -1
  41. package/dist/tsconfig.tsbuildinfo +1 -1
  42. package/dist/ui/components/atoms/vc-badge/vc-badge.vue.d.ts.map +1 -1
  43. package/dist/ui/components/atoms/vc-banner/vc-banner.vue.d.ts.map +1 -1
  44. package/dist/ui/components/atoms/vc-button/vc-button.vue.d.ts.map +1 -1
  45. package/dist/ui/components/atoms/vc-card/vc-card.vue.d.ts.map +1 -1
  46. package/dist/ui/components/atoms/vc-col/vc-col.vue.d.ts.map +1 -1
  47. package/dist/ui/components/atoms/vc-container/vc-container.vue.d.ts +2 -2
  48. package/dist/ui/components/atoms/vc-container/vc-container.vue.d.ts.map +1 -1
  49. package/dist/ui/components/atoms/vc-hint/vc-hint.vue.d.ts.map +1 -1
  50. package/dist/ui/components/atoms/vc-icon/icons/MenuBurgerIcon.vue.d.ts.map +1 -1
  51. package/dist/ui/components/atoms/vc-icon/vc-bootstrap-icon.vue.d.ts.map +1 -1
  52. package/dist/ui/components/atoms/vc-icon/vc-fontawesome-icon.vue.d.ts.map +1 -1
  53. package/dist/ui/components/atoms/vc-icon/vc-icon-examples.vue.d.ts.map +1 -1
  54. package/dist/ui/components/atoms/vc-icon/vc-icon-test.vue.d.ts.map +1 -1
  55. package/dist/ui/components/atoms/vc-icon/vc-icon.vue.d.ts.map +1 -1
  56. package/dist/ui/components/atoms/vc-icon/vc-lucide-icon.vue.d.ts.map +1 -1
  57. package/dist/ui/components/atoms/vc-icon/vc-material-icon.vue.d.ts.map +1 -1
  58. package/dist/ui/components/atoms/vc-icon/vc-svg-icon.vue.d.ts.map +1 -1
  59. package/dist/ui/components/atoms/vc-image/vc-image.vue.d.ts.map +1 -1
  60. package/dist/ui/components/atoms/vc-label/vc-label.vue.d.ts.map +1 -1
  61. package/dist/ui/components/atoms/vc-link/vc-link.vue.d.ts.map +1 -1
  62. package/dist/ui/components/atoms/vc-loading/vc-loading.vue.d.ts.map +1 -1
  63. package/dist/ui/components/atoms/vc-progress/vc-progress.vue.d.ts.map +1 -1
  64. package/dist/ui/components/atoms/vc-row/vc-row.vue.d.ts.map +1 -1
  65. package/dist/ui/components/atoms/vc-skeleton/vc-skeleton.vue.d.ts.map +1 -1
  66. package/dist/ui/components/atoms/vc-status/vc-status.vue.d.ts.map +1 -1
  67. package/dist/ui/components/atoms/vc-status-icon/vc-status-icon.vue.d.ts.map +1 -1
  68. package/dist/ui/components/atoms/vc-tooltip/vc-tooltip.vue.d.ts.map +1 -1
  69. package/dist/ui/components/atoms/vc-video/vc-video.vue.d.ts.map +1 -1
  70. package/dist/ui/components/atoms/vc-widget/vc-widget.vue.d.ts.map +1 -1
  71. package/dist/ui/components/molecules/vc-breadcrumbs/_internal/vc-breadcrumbs-item/vc-breadcrumbs-item.vue.d.ts.map +1 -1
  72. package/dist/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.vue.d.ts.map +1 -1
  73. package/dist/ui/components/molecules/vc-checkbox/vc-checkbox.vue.d.ts.map +1 -1
  74. package/dist/ui/components/molecules/vc-editor/_internal/vc-editor-button.vue.d.ts.map +1 -1
  75. package/dist/ui/components/molecules/vc-editor/_internal/vc-editor-custom-button.vue.d.ts.map +1 -1
  76. package/dist/ui/components/molecules/vc-editor/_internal/vc-editor-font-selector.vue.d.ts.map +1 -1
  77. package/dist/ui/components/molecules/vc-editor/_internal/vc-editor-toolbar.vue.d.ts.map +1 -1
  78. package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts +2 -2
  79. package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts.map +1 -1
  80. package/dist/ui/components/molecules/vc-field/_internal/vc-field-type/vc-field-type.vue.d.ts.map +1 -1
  81. package/dist/ui/components/molecules/vc-field/vc-field.vue.d.ts.map +1 -1
  82. package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts.map +1 -1
  83. package/dist/ui/components/molecules/vc-form/vc-form.vue.d.ts.map +1 -1
  84. package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts.map +1 -1
  85. package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.vue.d.ts.map +1 -1
  86. package/dist/ui/components/molecules/vc-input-dropdown/vc-input-dropdown.vue.d.ts.map +1 -1
  87. package/dist/ui/components/molecules/vc-multivalue/vc-multivalue.vue.d.ts +2 -2
  88. package/dist/ui/components/molecules/vc-multivalue/vc-multivalue.vue.d.ts.map +1 -1
  89. package/dist/ui/components/molecules/vc-pagination/vc-pagination.vue.d.ts.map +1 -1
  90. package/dist/ui/components/molecules/vc-radio-button/vc-radio-button.vue.d.ts.map +1 -1
  91. package/dist/ui/components/molecules/vc-rating/vc-rating.vue.d.ts.map +1 -1
  92. package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts +2 -2
  93. package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts.map +1 -1
  94. package/dist/ui/components/molecules/vc-slider/vc-slider.vue.d.ts +5 -5
  95. package/dist/ui/components/molecules/vc-slider/vc-slider.vue.d.ts.map +1 -1
  96. package/dist/ui/components/molecules/vc-switch/vc-switch.vue.d.ts.map +1 -1
  97. package/dist/ui/components/molecules/vc-textarea/vc-textarea.vue.d.ts.map +1 -1
  98. package/dist/ui/components/molecules/vc-toast/vc-toast.vue.d.ts.map +1 -1
  99. package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarContent.vue.d.ts.map +1 -1
  100. package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarHeader.vue.d.ts.map +1 -1
  101. package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarMobileActions.vue.d.ts.map +1 -1
  102. package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarOverlay.vue.d.ts +2 -2
  103. package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarOverlay.vue.d.ts.map +1 -1
  104. package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarSlots.vue.d.ts.map +1 -1
  105. package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarWidgetItem.vue.d.ts.map +1 -1
  106. package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarWidgetsMenu.vue.d.ts.map +1 -1
  107. package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/MenuSidebar.vue.d.ts.map +1 -1
  108. package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/vc-app-bar.vue.d.ts.map +1 -1
  109. package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/_internal/vc-app-menu-link.vue.d.ts.map +1 -1
  110. package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/vc-app-menu-item.vue.d.ts.map +1 -1
  111. package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/vc-app-menu.vue.d.ts.map +1 -1
  112. package/dist/ui/components/organisms/vc-app/vc-app.vue.d.ts.map +1 -1
  113. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-header/vc-blade-header.vue.d.ts +2 -2
  114. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-header/vc-blade-header.vue.d.ts.map +1 -1
  115. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-base-button.vue.d.ts.map +1 -1
  116. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-button.vue.d.ts.map +1 -1
  117. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-circle-button.vue.d.ts.map +1 -1
  118. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/desktop/vc-blade-toolbar-desktop.vue.d.ts.map +1 -1
  119. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/mobile/vc-blade-toolbar-mobile.vue.d.ts.map +1 -1
  120. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/vc-blade-toolbar-buttons.vue.d.ts.map +1 -1
  121. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/vc-blade-toolbar.vue.d.ts +2 -2
  122. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/vc-blade-toolbar.vue.d.ts.map +1 -1
  123. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-widget-container/_internal/vc-widget-container-desktop.vue.d.ts.map +1 -1
  124. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-widget-container/_internal/vc-widget-container-mobile.vue.d.ts.map +1 -1
  125. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-widget-container/vc-widget-container.vue.d.ts.map +1 -1
  126. package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts.map +1 -1
  127. package/dist/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue.d.ts +2 -2
  128. package/dist/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue.d.ts.map +1 -1
  129. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue.d.ts.map +1 -1
  130. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts.map +1 -1
  131. package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts.map +1 -1
  132. package/dist/ui/components/organisms/vc-login-form/vc-login-form.vue.d.ts.map +1 -1
  133. package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts.map +1 -1
  134. package/dist/ui/components/organisms/vc-table/_internal/vc-table-add-new/vc-table-add-new.vue.d.ts.map +1 -1
  135. package/dist/ui/components/organisms/vc-table/_internal/vc-table-base-header/vc-table-base-header.vue.d.ts +2 -2
  136. package/dist/ui/components/organisms/vc-table/_internal/vc-table-base-header/vc-table-base-header.vue.d.ts.map +1 -1
  137. package/dist/ui/components/organisms/vc-table/_internal/vc-table-cell/vc-table-cell.vue.d.ts.map +1 -1
  138. package/dist/ui/components/organisms/vc-table/_internal/vc-table-column-switcher/vc-table-column-switcher.vue.d.ts.map +1 -1
  139. package/dist/ui/components/organisms/vc-table/_internal/vc-table-counter/vc-table-counter.vue.d.ts.map +1 -1
  140. package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-body/vc-table-body.vue.d.ts +2 -2
  141. package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-body/vc-table-body.vue.d.ts.map +1 -1
  142. package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-columns-header/vc-table-columns-header.vue.d.ts +2 -2
  143. package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-columns-header/vc-table-columns-header.vue.d.ts.map +1 -1
  144. package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-row/vc-table-row.vue.d.ts +2 -2
  145. package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-row/vc-table-row.vue.d.ts.map +1 -1
  146. package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-select-all-header/vc-table-select-all-header.vue.d.ts.map +1 -1
  147. package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/vc-table-desktop-view.vue.d.ts +2 -2
  148. package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/vc-table-desktop-view.vue.d.ts.map +1 -1
  149. package/dist/ui/components/organisms/vc-table/_internal/vc-table-empty/vc-table-empty.vue.d.ts.map +1 -1
  150. package/dist/ui/components/organisms/vc-table/_internal/vc-table-filter/vc-table-filter.vue.d.ts +2 -2
  151. package/dist/ui/components/organisms/vc-table/_internal/vc-table-filter/vc-table-filter.vue.d.ts.map +1 -1
  152. package/dist/ui/components/organisms/vc-table/_internal/vc-table-footer/vc-table-footer.vue.d.ts.map +1 -1
  153. package/dist/ui/components/organisms/vc-table/_internal/vc-table-header/vc-table-header.vue.d.ts.map +1 -1
  154. package/dist/ui/components/organisms/vc-table/_internal/vc-table-mobile-item/vc-table-mobile-item.vue.d.ts +2 -2
  155. package/dist/ui/components/organisms/vc-table/_internal/vc-table-mobile-item/vc-table-mobile-item.vue.d.ts.map +1 -1
  156. package/dist/ui/components/organisms/vc-table/_internal/vc-table-mobile-view/vc-table-mobile-view.vue.d.ts +2 -2
  157. package/dist/ui/components/organisms/vc-table/_internal/vc-table-mobile-view/vc-table-mobile-view.vue.d.ts.map +1 -1
  158. package/dist/ui/components/organisms/vc-table/_internal/vc-table-select-all/vc-table-select-all.vue.d.ts.map +1 -1
  159. package/dist/ui/components/organisms/vc-table/vc-table.vue.d.ts +2 -2
  160. package/dist/ui/components/organisms/vc-table/vc-table.vue.d.ts.map +1 -1
  161. package/dist/vendor-vueuse-components-B0zqjNRW.js +542 -0
  162. package/dist/vendor-vueuse-core-CYgwn-B2.js +5130 -0
  163. package/dist/vendor-vueuse-shared-B_uDJJ6V.js +1169 -0
  164. package/package.json +14 -14
  165. package/dist/vendor-vueuse-components-CuLo31bP.js +0 -219
  166. package/dist/vendor-vueuse-core-A9T6NeUn.js +0 -6880
  167. package/dist/vendor-vueuse-shared-B2Uva3Md.js +0 -35
@@ -0,0 +1,542 @@
1
+ import { defineComponent as se, ref as E, h as ue, watch as x, computed as M, reactive as X, nextTick as ie, getCurrentInstance as ce, onMounted as ae } from "vue";
2
+ import { d as H, n as I, i as j, a as fe, t as S, b as de, c as Y, e as ne, f as ve, u as me, g as pe, h as he } from "./vendor-vueuse-shared-B_uDJJ6V.js";
3
+ function w(e) {
4
+ var o;
5
+ const t = S(e);
6
+ return (o = t?.$el) != null ? o : t;
7
+ }
8
+ const W = fe ? window : void 0;
9
+ function L(...e) {
10
+ let o, t, n, u;
11
+ if (typeof e[0] == "string" || Array.isArray(e[0]) ? ([t, n, u] = e, o = W) : [o, t, n, u] = e, !o)
12
+ return I;
13
+ Array.isArray(t) || (t = [t]), Array.isArray(n) || (n = [n]);
14
+ const r = [], s = () => {
15
+ r.forEach((v) => v()), r.length = 0;
16
+ }, l = (v, c, i, m) => (v.addEventListener(c, i, m), () => v.removeEventListener(c, i, m)), f = x(
17
+ () => [w(o), S(u)],
18
+ ([v, c]) => {
19
+ if (s(), !v)
20
+ return;
21
+ const i = de(c) ? { ...c } : c;
22
+ r.push(
23
+ ...t.flatMap((m) => n.map((p) => l(v, m, p, i)))
24
+ );
25
+ },
26
+ { immediate: !0, flush: "post" }
27
+ ), a = () => {
28
+ f(), s();
29
+ };
30
+ return Y(a), a;
31
+ }
32
+ let Q = !1;
33
+ function Z(e, o, t = {}) {
34
+ const { window: n = W, ignore: u = [], capture: r = !0, detectIframe: s = !1 } = t;
35
+ if (!n)
36
+ return I;
37
+ j && !Q && (Q = !0, Array.from(n.document.body.children).forEach((i) => i.addEventListener("click", I)), n.document.documentElement.addEventListener("click", I));
38
+ let l = !0;
39
+ const f = (i) => u.some((m) => {
40
+ if (typeof m == "string")
41
+ return Array.from(n.document.querySelectorAll(m)).some((p) => p === i.target || i.composedPath().includes(p));
42
+ {
43
+ const p = w(m);
44
+ return p && (i.target === p || i.composedPath().includes(p));
45
+ }
46
+ }), v = [
47
+ L(n, "click", (i) => {
48
+ const m = w(e);
49
+ if (!(!m || m === i.target || i.composedPath().includes(m))) {
50
+ if (i.detail === 0 && (l = !f(i)), !l) {
51
+ l = !0;
52
+ return;
53
+ }
54
+ o(i);
55
+ }
56
+ }, { passive: !0, capture: r }),
57
+ L(n, "pointerdown", (i) => {
58
+ const m = w(e);
59
+ l = !f(i) && !!(m && !i.composedPath().includes(m));
60
+ }, { passive: !0 }),
61
+ s && L(n, "blur", (i) => {
62
+ setTimeout(() => {
63
+ var m;
64
+ const p = w(e);
65
+ ((m = n.document.activeElement) == null ? void 0 : m.tagName) === "IFRAME" && !p?.contains(n.document.activeElement) && o(i);
66
+ }, 0);
67
+ })
68
+ ].filter(Boolean);
69
+ return () => v.forEach((i) => i());
70
+ }
71
+ const ke = {
72
+ [H.mounted](e, o) {
73
+ const t = !o.modifiers.bubble;
74
+ if (typeof o.value == "function")
75
+ e.__onClickOutside_stop = Z(e, o.value, { capture: t });
76
+ else {
77
+ const [n, u] = o.value;
78
+ e.__onClickOutside_stop = Z(e, n, Object.assign({ capture: t }, u));
79
+ }
80
+ },
81
+ [H.unmounted](e) {
82
+ e.__onClickOutside_stop();
83
+ }
84
+ };
85
+ function ye(e) {
86
+ return typeof e == "function" ? e : typeof e == "string" ? (o) => o.key === e : Array.isArray(e) ? (o) => e.includes(o.key) : () => !0;
87
+ }
88
+ function ee(...e) {
89
+ let o, t, n = {};
90
+ e.length === 3 ? (o = e[0], t = e[1], n = e[2]) : e.length === 2 ? typeof e[1] == "object" ? (o = !0, t = e[0], n = e[1]) : (o = e[0], t = e[1]) : (o = !0, t = e[0]);
91
+ const {
92
+ target: u = W,
93
+ eventName: r = "keydown",
94
+ passive: s = !1,
95
+ dedupe: l = !1
96
+ } = n, f = ye(o);
97
+ return L(u, r, (v) => {
98
+ v.repeat && S(l) || f(v) && t(v);
99
+ }, s);
100
+ }
101
+ H.mounted + "";
102
+ const we = 500, _e = 10;
103
+ function q(e, o, t) {
104
+ var n, u;
105
+ const r = M(() => w(e));
106
+ let s, l, f, a = !1;
107
+ function v() {
108
+ s && (clearTimeout(s), s = void 0), l = void 0, f = void 0, a = !1;
109
+ }
110
+ function c(d) {
111
+ var y, O, D;
112
+ const [g, P, h] = [f, l, a];
113
+ if (v(), !t?.onMouseUp || !P || !g || (y = t?.modifiers) != null && y.self && d.target !== r.value)
114
+ return;
115
+ (O = t?.modifiers) != null && O.prevent && d.preventDefault(), (D = t?.modifiers) != null && D.stop && d.stopPropagation();
116
+ const T = d.x - P.x, _ = d.y - P.y, C = Math.sqrt(T * T + _ * _);
117
+ t.onMouseUp(d.timeStamp - g, C, h);
118
+ }
119
+ function i(d) {
120
+ var y, O, D, g;
121
+ (y = t?.modifiers) != null && y.self && d.target !== r.value || (v(), (O = t?.modifiers) != null && O.prevent && d.preventDefault(), (D = t?.modifiers) != null && D.stop && d.stopPropagation(), l = {
122
+ x: d.x,
123
+ y: d.y
124
+ }, f = d.timeStamp, s = setTimeout(
125
+ () => {
126
+ a = !0, o(d);
127
+ },
128
+ (g = t?.delay) != null ? g : we
129
+ ));
130
+ }
131
+ function m(d) {
132
+ var y, O, D, g;
133
+ if ((y = t?.modifiers) != null && y.self && d.target !== r.value || !l || t?.distanceThreshold === !1)
134
+ return;
135
+ (O = t?.modifiers) != null && O.prevent && d.preventDefault(), (D = t?.modifiers) != null && D.stop && d.stopPropagation();
136
+ const P = d.x - l.x, h = d.y - l.y;
137
+ Math.sqrt(P * P + h * h) >= ((g = t?.distanceThreshold) != null ? g : _e) && v();
138
+ }
139
+ const p = {
140
+ capture: (n = t?.modifiers) == null ? void 0 : n.capture,
141
+ once: (u = t?.modifiers) == null ? void 0 : u.once
142
+ }, b = [
143
+ L(r, "pointerdown", i, p),
144
+ L(r, "pointermove", m, p),
145
+ L(r, ["pointerup", "pointerleave"], c, p)
146
+ ];
147
+ return () => b.forEach((d) => d());
148
+ }
149
+ const De = /* @__PURE__ */ se({
150
+ name: "OnLongPress",
151
+ props: ["as", "options"],
152
+ emits: ["trigger"],
153
+ setup(e, { slots: o, emit: t }) {
154
+ const n = E();
155
+ return q(
156
+ n,
157
+ (u) => {
158
+ t("trigger", u);
159
+ },
160
+ e.options
161
+ ), () => {
162
+ if (o.default)
163
+ return ue(e.as || "div", { ref: n }, o.default());
164
+ };
165
+ }
166
+ });
167
+ H.mounted + "";
168
+ function Se() {
169
+ const e = E(!1), o = ce();
170
+ return o && ae(() => {
171
+ e.value = !0;
172
+ }, o), e;
173
+ }
174
+ function le(e) {
175
+ const o = Se();
176
+ return M(() => (o.value, !!e()));
177
+ }
178
+ function Ee(e, o = {}) {
179
+ const {
180
+ delayEnter: t = 0,
181
+ delayLeave: n = 0,
182
+ window: u = W
183
+ } = o, r = E(!1);
184
+ let s;
185
+ const l = (f) => {
186
+ const a = f ? t : n;
187
+ s && (clearTimeout(s), s = void 0), a ? s = setTimeout(() => r.value = f, a) : r.value = f;
188
+ };
189
+ return u && (L(e, "mouseenter", () => l(!0), { passive: !0 }), L(e, "mouseleave", () => l(!1), { passive: !0 })), r;
190
+ }
191
+ H.mounted + "";
192
+ function be(e, o, t = {}) {
193
+ const { window: n = W, ...u } = t;
194
+ let r;
195
+ const s = le(() => n && "ResizeObserver" in n), l = () => {
196
+ r && (r.disconnect(), r = void 0);
197
+ }, f = M(() => Array.isArray(e) ? e.map((c) => w(c)) : [w(e)]), a = x(
198
+ f,
199
+ (c) => {
200
+ if (l(), s.value && n) {
201
+ r = new ResizeObserver(o);
202
+ for (const i of c)
203
+ i && r.observe(i, u);
204
+ }
205
+ },
206
+ { immediate: !0, flush: "post" }
207
+ ), v = () => {
208
+ l(), a();
209
+ };
210
+ return Y(v), {
211
+ isSupported: s,
212
+ stop: v
213
+ };
214
+ }
215
+ function ge(e, o = { width: 0, height: 0 }, t = {}) {
216
+ const { window: n = W, box: u = "content-box" } = t, r = M(() => {
217
+ var c, i;
218
+ return (i = (c = w(e)) == null ? void 0 : c.namespaceURI) == null ? void 0 : i.includes("svg");
219
+ }), s = E(o.width), l = E(o.height), { stop: f } = be(
220
+ e,
221
+ ([c]) => {
222
+ const i = u === "border-box" ? c.borderBoxSize : u === "content-box" ? c.contentBoxSize : c.devicePixelContentBoxSize;
223
+ if (n && r.value) {
224
+ const m = w(e);
225
+ if (m) {
226
+ const p = m.getBoundingClientRect();
227
+ s.value = p.width, l.value = p.height;
228
+ }
229
+ } else if (i) {
230
+ const m = Array.isArray(i) ? i : [i];
231
+ s.value = m.reduce((p, { inlineSize: b }) => p + b, 0), l.value = m.reduce((p, { blockSize: b }) => p + b, 0);
232
+ } else
233
+ s.value = c.contentRect.width, l.value = c.contentRect.height;
234
+ },
235
+ t
236
+ );
237
+ ne(() => {
238
+ const c = w(e);
239
+ c && (s.value = "offsetWidth" in c ? c.offsetWidth : o.width, l.value = "offsetHeight" in c ? c.offsetHeight : o.height);
240
+ });
241
+ const a = x(
242
+ () => w(e),
243
+ (c) => {
244
+ s.value = c ? o.width : 0, l.value = c ? o.height : 0;
245
+ }
246
+ );
247
+ function v() {
248
+ f(), a();
249
+ }
250
+ return {
251
+ width: s,
252
+ height: l,
253
+ stop: v
254
+ };
255
+ }
256
+ H.mounted + "";
257
+ function K(e, o, t = {}) {
258
+ const {
259
+ root: n,
260
+ rootMargin: u = "0px",
261
+ threshold: r = 0.1,
262
+ window: s = W,
263
+ immediate: l = !0
264
+ } = t, f = le(() => s && "IntersectionObserver" in s), a = M(() => {
265
+ const p = S(e);
266
+ return (Array.isArray(p) ? p : [p]).map(w).filter(ve);
267
+ });
268
+ let v = I;
269
+ const c = E(l), i = f.value ? x(
270
+ () => [a.value, w(n), c.value],
271
+ ([p, b]) => {
272
+ if (v(), !c.value || !p.length)
273
+ return;
274
+ const k = new IntersectionObserver(
275
+ o,
276
+ {
277
+ root: w(b),
278
+ rootMargin: u,
279
+ threshold: r
280
+ }
281
+ );
282
+ p.forEach((d) => d && k.observe(d)), v = () => {
283
+ k.disconnect(), v = I;
284
+ };
285
+ },
286
+ { immediate: l, flush: "post" }
287
+ ) : I, m = () => {
288
+ v(), i(), c.value = !1;
289
+ };
290
+ return Y(m), {
291
+ isSupported: f,
292
+ isActive: c,
293
+ pause() {
294
+ v(), c.value = !1;
295
+ },
296
+ resume() {
297
+ c.value = !0;
298
+ },
299
+ stop: m
300
+ };
301
+ }
302
+ function $(e, o = {}) {
303
+ const { window: t = W, scrollTarget: n, threshold: u = 0 } = o, r = E(!1);
304
+ return K(
305
+ e,
306
+ (s) => {
307
+ let l = r.value, f = 0;
308
+ for (const a of s)
309
+ a.time >= f && (f = a.time, l = a.isIntersecting);
310
+ r.value = l;
311
+ },
312
+ {
313
+ root: n,
314
+ window: t,
315
+ threshold: u
316
+ }
317
+ ), r;
318
+ }
319
+ H.mounted + "";
320
+ const te = 1;
321
+ function G(e, o = {}) {
322
+ const {
323
+ throttle: t = 0,
324
+ idle: n = 200,
325
+ onStop: u = I,
326
+ onScroll: r = I,
327
+ offset: s = {
328
+ left: 0,
329
+ right: 0,
330
+ top: 0,
331
+ bottom: 0
332
+ },
333
+ eventListenerOptions: l = {
334
+ capture: !1,
335
+ passive: !0
336
+ },
337
+ behavior: f = "auto",
338
+ window: a = W,
339
+ onError: v = (h) => {
340
+ console.error(h);
341
+ }
342
+ } = o, c = E(0), i = E(0), m = M({
343
+ get() {
344
+ return c.value;
345
+ },
346
+ set(h) {
347
+ b(h, void 0);
348
+ }
349
+ }), p = M({
350
+ get() {
351
+ return i.value;
352
+ },
353
+ set(h) {
354
+ b(void 0, h);
355
+ }
356
+ });
357
+ function b(h, T) {
358
+ var _, C, V, R;
359
+ if (!a)
360
+ return;
361
+ const A = S(e);
362
+ if (!A)
363
+ return;
364
+ (V = A instanceof Document ? a.document.body : A) == null || V.scrollTo({
365
+ top: (_ = S(T)) != null ? _ : p.value,
366
+ left: (C = S(h)) != null ? C : m.value,
367
+ behavior: S(f)
368
+ });
369
+ const N = ((R = A?.document) == null ? void 0 : R.documentElement) || A?.documentElement || A;
370
+ m != null && (c.value = N.scrollLeft), p != null && (i.value = N.scrollTop);
371
+ }
372
+ const k = E(!1), d = X({
373
+ left: !0,
374
+ right: !1,
375
+ top: !0,
376
+ bottom: !1
377
+ }), y = X({
378
+ left: !1,
379
+ right: !1,
380
+ top: !1,
381
+ bottom: !1
382
+ }), O = (h) => {
383
+ k.value && (k.value = !1, y.left = !1, y.right = !1, y.top = !1, y.bottom = !1, u(h));
384
+ }, D = pe(O, t + n), g = (h) => {
385
+ var T;
386
+ if (!a)
387
+ return;
388
+ const _ = ((T = h?.document) == null ? void 0 : T.documentElement) || h?.documentElement || w(h), { display: C, flexDirection: V } = getComputedStyle(_), R = _.scrollLeft;
389
+ y.left = R < c.value, y.right = R > c.value;
390
+ const A = Math.abs(R) <= (s.left || 0), N = Math.abs(R) + _.clientWidth >= _.scrollWidth - (s.right || 0) - te;
391
+ C === "flex" && V === "row-reverse" ? (d.left = N, d.right = A) : (d.left = A, d.right = N), c.value = R;
392
+ let B = _.scrollTop;
393
+ h === a.document && !B && (B = a.document.body.scrollTop), y.top = B < i.value, y.bottom = B > i.value;
394
+ const F = Math.abs(B) <= (s.top || 0), J = Math.abs(B) + _.clientHeight >= _.scrollHeight - (s.bottom || 0) - te;
395
+ C === "flex" && V === "column-reverse" ? (d.top = J, d.bottom = F) : (d.top = F, d.bottom = J), i.value = B;
396
+ }, P = (h) => {
397
+ var T;
398
+ if (!a)
399
+ return;
400
+ const _ = (T = h.target.documentElement) != null ? T : h.target;
401
+ g(_), k.value = !0, D(h), r(h);
402
+ };
403
+ return L(
404
+ e,
405
+ "scroll",
406
+ t ? me(P, t, !0, !1) : P,
407
+ l
408
+ ), ne(() => {
409
+ try {
410
+ const h = S(e);
411
+ if (!h)
412
+ return;
413
+ g(h);
414
+ } catch (h) {
415
+ v(h);
416
+ }
417
+ }), L(
418
+ e,
419
+ "scrollend",
420
+ O,
421
+ l
422
+ ), {
423
+ x: m,
424
+ y: p,
425
+ isScrolling: k,
426
+ arrivedState: d,
427
+ directions: y,
428
+ measure() {
429
+ const h = S(e);
430
+ a && h && g(h);
431
+ }
432
+ };
433
+ }
434
+ function U(e) {
435
+ return typeof Window < "u" && e instanceof Window ? e.document.documentElement : typeof Document < "u" && e instanceof Document ? e.documentElement : e;
436
+ }
437
+ function oe(e, o, t = {}) {
438
+ var n;
439
+ const {
440
+ direction: u = "bottom",
441
+ interval: r = 100,
442
+ canLoadMore: s = () => !0
443
+ } = t, l = X(G(
444
+ e,
445
+ {
446
+ ...t,
447
+ offset: {
448
+ [u]: (n = t.distance) != null ? n : 0,
449
+ ...t.offset
450
+ }
451
+ }
452
+ )), f = E(), a = M(() => !!f.value), v = M(() => U(S(e))), c = $(v);
453
+ function i() {
454
+ if (l.measure(), !v.value || !c.value || !s(v.value))
455
+ return;
456
+ const { scrollHeight: m, clientHeight: p, scrollWidth: b, clientWidth: k } = v.value, d = u === "bottom" || u === "top" ? m <= p : b <= k;
457
+ (l.arrivedState[u] || d) && (f.value || (f.value = Promise.all([
458
+ o(l),
459
+ new Promise((y) => setTimeout(y, r))
460
+ ]).finally(() => {
461
+ f.value = null, ie(() => i());
462
+ })));
463
+ }
464
+ return x(
465
+ () => [l.arrivedState[u], c.value],
466
+ i,
467
+ { immediate: !0 }
468
+ ), {
469
+ isLoading: a
470
+ };
471
+ }
472
+ H.mounted + "";
473
+ H.mounted + "";
474
+ H.mounted + "";
475
+ function re(e) {
476
+ const o = window.getComputedStyle(e);
477
+ if (o.overflowX === "scroll" || o.overflowY === "scroll" || o.overflowX === "auto" && e.clientWidth < e.scrollWidth || o.overflowY === "auto" && e.clientHeight < e.scrollHeight)
478
+ return !0;
479
+ {
480
+ const t = e.parentNode;
481
+ return !t || t.tagName === "BODY" ? !1 : re(t);
482
+ }
483
+ }
484
+ function Le(e) {
485
+ const o = e || window.event, t = o.target;
486
+ return re(t) ? !1 : o.touches.length > 1 ? !0 : (o.preventDefault && o.preventDefault(), !1);
487
+ }
488
+ const z = /* @__PURE__ */ new WeakMap();
489
+ function Oe(e, o = !1) {
490
+ const t = E(o);
491
+ let n = null, u = "";
492
+ x(he(e), (l) => {
493
+ const f = U(S(l));
494
+ if (f) {
495
+ const a = f;
496
+ if (z.get(a) || z.set(a, a.style.overflow), a.style.overflow !== "hidden" && (u = a.style.overflow), a.style.overflow === "hidden")
497
+ return t.value = !0;
498
+ if (t.value)
499
+ return a.style.overflow = "hidden";
500
+ }
501
+ }, {
502
+ immediate: !0
503
+ });
504
+ const r = () => {
505
+ const l = U(S(e));
506
+ !l || t.value || (j && (n = L(
507
+ l,
508
+ "touchmove",
509
+ (f) => {
510
+ Le(f);
511
+ },
512
+ { passive: !1 }
513
+ )), l.style.overflow = "hidden", t.value = !0);
514
+ }, s = () => {
515
+ const l = U(S(e));
516
+ !l || !t.value || (j && n?.(), l.style.overflow = u, z.delete(l), t.value = !1);
517
+ };
518
+ return Y(s), M({
519
+ get() {
520
+ return t.value;
521
+ },
522
+ set(l) {
523
+ l ? r() : s();
524
+ }
525
+ });
526
+ }
527
+ function Te() {
528
+ let e = !1;
529
+ const o = E(!1);
530
+ return (t, n) => {
531
+ if (o.value = n.value, e)
532
+ return;
533
+ e = !0;
534
+ const u = Oe(t, n.value);
535
+ x(o, (r) => u.value = r);
536
+ };
537
+ }
538
+ Te();
539
+ export {
540
+ De as O,
541
+ ke as v
542
+ };