morya-ui 0.2.5 → 0.2.7

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 (188) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/README.md +2 -2
  3. package/README.zh-CN.md +2 -2
  4. package/dist/{Button-lNErA-7h.js → Button--RkQybU-.js} +1 -1
  5. package/dist/{Checkbox-B758a_iB.js → Checkbox-CL05RRUD.js} +1 -1
  6. package/dist/{FlyoutSubmenu-kymVjXLs.js → FlyoutSubmenu-B_bkgKag.js} +1 -1
  7. package/dist/{Pagination-Dm2-MBnC.js → Pagination-BKvR-RUW.js} +1 -1
  8. package/dist/{Popover-flzjtjqD.js → Popover-Dq_p0vib.js} +1 -1
  9. package/dist/{ProgressSpinner-BXHLx4Lg.js → ProgressSpinner-DuBpPkna.js} +1 -1
  10. package/dist/{Radio-Bb21-Vk4.js → Radio-DsaKvbhk.js} +1 -1
  11. package/dist/{Tooltip-CeGxjP-L.js → Tooltip-CU1xFt_N.js} +1 -1
  12. package/dist/activity-low-CgK9kHWr.js +4 -0
  13. package/dist/auto-complete/index.js +2 -2
  14. package/dist/breadcrumb/index.js +1 -1
  15. package/dist/building-DYLdXiQg.js +4 -0
  16. package/dist/button/index.js +1 -1
  17. package/dist/carousel/index.js +1 -1
  18. package/dist/cascade-select/index.js +2 -2
  19. package/dist/checkbox/index.js +1 -1
  20. package/dist/chip/index.js +1 -1
  21. package/dist/churn-high-D1ELpZzW.js +4 -0
  22. package/dist/command-menu/index.js +2 -2
  23. package/dist/components/ConfigProvider/ConfigProvider.vue.d.ts.map +1 -1
  24. package/dist/components/Dialog/Dialog.vue.d.ts.map +1 -1
  25. package/dist/components/Empty/Empty.vue.d.ts +5 -6
  26. package/dist/components/Empty/Empty.vue.d.ts.map +1 -1
  27. package/dist/components/Empty/illustrations/catalog.d.ts +5 -0
  28. package/dist/components/Empty/illustrations/catalog.d.ts.map +1 -0
  29. package/dist/components/Empty/illustrations/defaultEmptyIcon.d.ts +3 -0
  30. package/dist/components/Empty/illustrations/defaultEmptyIcon.d.ts.map +1 -0
  31. package/dist/components/Empty/illustrations/index.d.ts +15 -0
  32. package/dist/components/Empty/illustrations/index.d.ts.map +1 -0
  33. package/dist/components/Empty/illustrations/loaders.d.ts +4 -0
  34. package/dist/components/Empty/illustrations/loaders.d.ts.map +1 -0
  35. package/dist/components/Empty/illustrations/markup/activity-low.d.ts +4 -0
  36. package/dist/components/Empty/illustrations/markup/activity-low.d.ts.map +1 -0
  37. package/dist/components/Empty/illustrations/markup/building.d.ts +4 -0
  38. package/dist/components/Empty/illustrations/markup/building.d.ts.map +1 -0
  39. package/dist/components/Empty/illustrations/markup/churn-high.d.ts +4 -0
  40. package/dist/components/Empty/illustrations/markup/churn-high.d.ts.map +1 -0
  41. package/dist/components/Empty/illustrations/markup/conversion-low.d.ts +4 -0
  42. package/dist/components/Empty/illustrations/markup/conversion-low.d.ts.map +1 -0
  43. package/dist/components/Empty/illustrations/markup/input-irregular.d.ts +4 -0
  44. package/dist/components/Empty/illustrations/markup/input-irregular.d.ts.map +1 -0
  45. package/dist/components/Empty/illustrations/markup/network-error.d.ts +4 -0
  46. package/dist/components/Empty/illustrations/markup/network-error.d.ts.map +1 -0
  47. package/dist/components/Empty/illustrations/markup/no-content.d.ts +4 -0
  48. package/dist/components/Empty/illustrations/markup/no-content.d.ts.map +1 -0
  49. package/dist/components/Empty/illustrations/markup/no-issue.d.ts +4 -0
  50. package/dist/components/Empty/illustrations/markup/no-issue.d.ts.map +1 -0
  51. package/dist/components/Empty/illustrations/markup/no-message.d.ts +4 -0
  52. package/dist/components/Empty/illustrations/markup/no-message.d.ts.map +1 -0
  53. package/dist/components/Empty/illustrations/markup/no-result.d.ts +4 -0
  54. package/dist/components/Empty/illustrations/markup/no-result.d.ts.map +1 -0
  55. package/dist/components/Empty/illustrations/markup/no-schedule.d.ts +4 -0
  56. package/dist/components/Empty/illustrations/markup/no-schedule.d.ts.map +1 -0
  57. package/dist/components/Empty/illustrations/markup/payment-cycle-long.d.ts +4 -0
  58. package/dist/components/Empty/illustrations/markup/payment-cycle-long.d.ts.map +1 -0
  59. package/dist/components/Empty/illustrations/markup/profile-unclear.d.ts +4 -0
  60. package/dist/components/Empty/illustrations/markup/profile-unclear.d.ts.map +1 -0
  61. package/dist/components/Empty/illustrations/markup/server-error.d.ts +4 -0
  62. package/dist/components/Empty/illustrations/markup/server-error.d.ts.map +1 -0
  63. package/dist/components/Empty/index.d.ts +3 -1
  64. package/dist/components/Empty/index.d.ts.map +1 -1
  65. package/dist/components/Empty/styles.css +104 -30
  66. package/dist/components/Empty/types.d.ts +25 -4
  67. package/dist/components/Empty/types.d.ts.map +1 -1
  68. package/dist/components/Form/types.d.ts +1 -1
  69. package/dist/components/Form/types.d.ts.map +1 -1
  70. package/dist/components/Layout/styles.css +5 -0
  71. package/dist/components/Layout/types.d.ts +1 -1
  72. package/dist/components/Layout/types.d.ts.map +1 -1
  73. package/dist/components/Menu/styles.css +19 -0
  74. package/dist/components/Message/types.d.ts +1 -1
  75. package/dist/components/Message/types.d.ts.map +1 -1
  76. package/dist/components/Pagination/types.d.ts +4 -4
  77. package/dist/components/Pagination/types.d.ts.map +1 -1
  78. package/dist/components/Result/Result.vue.d.ts +2 -2
  79. package/dist/components/Result/Result.vue.d.ts.map +1 -1
  80. package/dist/components/Result/index.d.ts +1 -1
  81. package/dist/components/Result/index.d.ts.map +1 -1
  82. package/dist/components/Result/statusIcons.d.ts +4 -0
  83. package/dist/components/Result/statusIcons.d.ts.map +1 -0
  84. package/dist/components/Result/styles.css +89 -23
  85. package/dist/components/Result/types.d.ts +10 -4
  86. package/dist/components/Result/types.d.ts.map +1 -1
  87. package/dist/components/Splitter/types.d.ts +4 -4
  88. package/dist/components/Splitter/types.d.ts.map +1 -1
  89. package/dist/components/Status/Status.vue.d.ts +7 -3
  90. package/dist/components/Status/Status.vue.d.ts.map +1 -1
  91. package/dist/components/Status/index.d.ts +1 -1
  92. package/dist/components/Status/index.d.ts.map +1 -1
  93. package/dist/components/Status/styles.css +116 -26
  94. package/dist/components/Status/types.d.ts +16 -2
  95. package/dist/components/Status/types.d.ts.map +1 -1
  96. package/dist/components/Tree/TreeNodeItem.vue.d.ts.map +1 -1
  97. package/dist/components/Tree/types.d.ts +1 -1
  98. package/dist/components/Tree/types.d.ts.map +1 -1
  99. package/dist/{config-Dln2-u_v.js → config-BdK5ccNT.js} +1 -0
  100. package/dist/config-provider/index.js +28 -15
  101. package/dist/confirm-dialog/index.js +3 -3
  102. package/dist/confirm-popup/index.js +3 -3
  103. package/dist/context-menu/index.js +2 -2
  104. package/dist/conversion-low-CwZiQc2k.js +4 -0
  105. package/dist/data-view/index.js +3 -3
  106. package/dist/date-picker/index.js +2 -2
  107. package/dist/dialog/index.js +77 -61
  108. package/dist/drawer/index.js +2 -2
  109. package/dist/dropdown/index.js +3 -3
  110. package/dist/empty/index.js +141 -26
  111. package/dist/empty/style.css +104 -30
  112. package/dist/file-upload/index.js +1 -1
  113. package/dist/flex/index.js +1 -1
  114. package/dist/form/index.js +1 -1
  115. package/dist/gallery/index.js +1 -1
  116. package/dist/index.d.ts +5 -3
  117. package/dist/index.d.ts.map +1 -1
  118. package/dist/index.js +1384 -1160
  119. package/dist/input/index.js +2 -2
  120. package/dist/input-color/index.js +2 -2
  121. package/dist/input-irregular-xSLDoNTS.js +4 -0
  122. package/dist/input-number/index.js +2 -2
  123. package/dist/input-otp/index.js +2 -2
  124. package/dist/input-password/index.js +2 -2
  125. package/dist/input-tags/index.js +2 -2
  126. package/dist/layout/index.js +1 -1
  127. package/dist/layout/style.css +5 -0
  128. package/dist/listbox/index.js +2 -2
  129. package/dist/locale/en-US.d.ts.map +1 -1
  130. package/dist/locale/types.d.ts +1 -0
  131. package/dist/locale/types.d.ts.map +1 -1
  132. package/dist/locale/zh-CN.d.ts.map +1 -1
  133. package/dist/{locale-DNYpTg5K.js → locale-B36KH7c3.js} +1 -1
  134. package/dist/mega-menu/index.js +2 -2
  135. package/dist/menu/index.js +52 -40
  136. package/dist/menu/style.css +19 -0
  137. package/dist/menubar/index.js +2 -2
  138. package/dist/message/index.js +2 -2
  139. package/dist/network-error-C6vl5a7S.js +4 -0
  140. package/dist/no-content-CwbqVPoN.js +4 -0
  141. package/dist/no-issue-DMkU-Pnw.js +4 -0
  142. package/dist/no-message-DnIEpMiO.js +4 -0
  143. package/dist/no-result-pGce34BV.js +4 -0
  144. package/dist/no-schedule-Cl9Frt1Q.js +4 -0
  145. package/dist/order-list/index.js +1 -1
  146. package/dist/pagination/index.js +1 -1
  147. package/dist/panel/index.js +1 -1
  148. package/dist/payment-cycle-long-Ba9FNStl.js +4 -0
  149. package/dist/pick-list/index.js +1 -1
  150. package/dist/popover/index.js +1 -1
  151. package/dist/profile-unclear-CGs4PCfw.js +4 -0
  152. package/dist/progress-spinner/index.js +1 -1
  153. package/dist/radio/index.js +1 -1
  154. package/dist/rating/index.js +2 -2
  155. package/dist/result/index.js +72 -36
  156. package/dist/result/style.css +89 -23
  157. package/dist/scroll-top/index.js +2 -2
  158. package/dist/select/index.js +2 -2
  159. package/dist/select-button/index.js +1 -1
  160. package/dist/server-error-D8zGMe5r.js +4 -0
  161. package/dist/shared/optionalRouter.d.ts +5 -0
  162. package/dist/shared/optionalRouter.d.ts.map +1 -1
  163. package/dist/shared/responsive.d.ts +1 -1
  164. package/dist/shared/responsive.d.ts.map +1 -1
  165. package/dist/sidebar/index.js +1 -1
  166. package/dist/slider/index.js +2 -2
  167. package/dist/space/index.js +1 -1
  168. package/dist/speed-dial/index.js +2 -2
  169. package/dist/split-button/index.js +2 -2
  170. package/dist/splitter/index.js +1 -1
  171. package/dist/status/index.js +46 -19
  172. package/dist/status/style.css +171 -26
  173. package/dist/status/style.js +1 -0
  174. package/dist/styles.css +1 -1
  175. package/dist/switch/index.js +1 -1
  176. package/dist/table/index.js +7 -7
  177. package/dist/tabs/index.js +1 -1
  178. package/dist/tag/index.js +2 -2
  179. package/dist/terminal/index.js +1 -1
  180. package/dist/textarea/index.js +2 -2
  181. package/dist/tiered-menu/index.js +2 -2
  182. package/dist/toast/index.js +2 -2
  183. package/dist/toggle-button/index.js +1 -1
  184. package/dist/tooltip/index.js +1 -1
  185. package/dist/tree/index.js +9 -4
  186. package/dist/tree-select/index.js +3 -3
  187. package/dist/tree-table/index.js +1 -1
  188. package/package.json +6 -5
@@ -11,7 +11,7 @@ export type TreeSelectionKeys = Record<string, boolean>;
11
11
  export type TreeCheckedKeys = Record<string, boolean>;
12
12
  export type TreeExpandedKeys = Record<string, boolean>;
13
13
  export type TreeSelectionMode = 'single' | 'multiple';
14
- /** Naive `check-strategy`. Ignored when `checkStrictly`. */
14
+ /** Check strategy for cascade selection. Ignored when `checkStrictly`. */
15
15
  export type TreeCheckStrategy = 'all' | 'parent' | 'child';
16
16
  export interface TreeProps {
17
17
  pt?: RootPassThrough;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Tree/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAA;AAC/D,MAAM,WAAW,QAAQ;IACvB,GAAG,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,QAAQ,EAAE,CAAA;IACrB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB;AAED,MAAM,MAAM,iBAAiB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;AACvD,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;AACrD,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;AACtD,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GAAG,UAAU,CAAA;AACrD,4DAA4D;AAC5D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IAAI,CAAA;IAC7D,CAAC,KAAK,EAAE,aAAa,EAAE,IAAI,EAAE,QAAQ,GAAG,IAAI,CAAA;IAC5C,CAAC,KAAK,EAAE,eAAe,EAAE,IAAI,EAAE,QAAQ,GAAG,IAAI,CAAA;IAC9C,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE;QAAE,IAAI,EAAE,QAAQ,CAAC;QAAC,WAAW,EAAE,eAAe,CAAA;KAAE,GAAG,IAAI,CAAA;IACjF,CAAC,KAAK,EAAE,WAAW,EAAE,OAAO,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,QAAQ,GAAG,OAAO,GAAG,QAAQ,CAAA;KAAE,GAAG,IAAI,CAAA;CACnH"}
@@ -15,6 +15,7 @@ var a = {
15
15
  result403: "无权访问",
16
16
  result404: "页面不存在",
17
17
  result500: "服务器错误",
18
+ result418: "我是个茶壶",
18
19
  searchPlaceholder: "搜索",
19
20
  datePickerPlaceholder: "选择日期",
20
21
  selectPlaceholder: "请选择",
@@ -1,5 +1,5 @@
1
1
  import { r as e } from "../useComponentAttrs-BTYEe61P.js";
2
- import { n as t, r as n, t as r } from "../config-Dln2-u_v.js";
2
+ import { n as t, r as n, t as r } from "../config-BdK5ccNT.js";
3
3
  import "./style.js";
4
4
  import { computed as i, createElementBlock as a, defineComponent as o, inject as s, mergeProps as c, onBeforeUnmount as l, openBlock as u, ref as d, renderSlot as f, toValue as p, unref as m, useAttrs as h, watch as g } from "vue";
5
5
  //#region src/theme/storage.ts
@@ -72,7 +72,7 @@ function P(e, t) {
72
72
  }
73
73
  //#endregion
74
74
  //#region src/components/ConfigProvider/ConfigProvider.vue?vue&type=script&setup=true&lang.ts
75
- var F = ["data-m-density"], I = /* @__PURE__ */ o({
75
+ var F = ["data-m-density", "data-theme"], I = /* @__PURE__ */ o({
76
76
  inheritAttrs: !1,
77
77
  __name: "ConfigProvider",
78
78
  props: {
@@ -106,32 +106,45 @@ var F = ["data-m-density"], I = /* @__PURE__ */ o({
106
106
  return t(e, b.value);
107
107
  });
108
108
  n(x);
109
- let S = i(() => x.value.density ?? "comfortable"), w = i(() => d.globalDensity !== !1), T = i(() => {
109
+ let S = i(() => x.value.density ?? "comfortable"), w = i(() => {
110
+ let e = x.value.theme;
111
+ if (e !== void 0) return e === "system" ? N() : e;
112
+ }), T = i(() => d.globalDensity !== !1), E = i(() => {
110
113
  let e = x.value.zIndex;
111
114
  if (e != null) return { "--m-z-base": String(e) };
112
- }), E, D, O, k, j = null;
113
- function M() {
114
- x.value.theme === "system" && P(N());
115
- }
115
+ }), D, O, k, j, M = null;
116
116
  function I() {
117
- typeof document > "u" || (k = document.documentElement.dataset.mIgnoreReducedMotion, A(x.value.respectReducedMotion));
117
+ M?.removeEventListener("change", L), M = null;
118
118
  }
119
119
  function L() {
120
- if (!w.value || typeof document > "u") return;
120
+ x.value.theme === "system" && P(N());
121
+ }
122
+ function R() {
123
+ typeof document > "u" || (j = document.documentElement.dataset.mIgnoreReducedMotion, A(x.value.respectReducedMotion));
124
+ }
125
+ function z() {
126
+ if (!T.value || typeof document > "u") return;
121
127
  let { density: e, zIndex: t, theme: n } = x.value;
122
- e && (E = document.documentElement.dataset.mDensity, C(e)), t != null && (D = document.documentElement.style.getPropertyValue("--m-z-base"), document.documentElement.style.setProperty("--m-z-base", String(t))), n !== void 0 && (O = document.documentElement.dataset.theme, P(n === "system" ? N() : n)), n === "system" && typeof window < "u" && (j?.removeEventListener("change", M), j = window.matchMedia("(prefers-color-scheme: dark)"), j.addEventListener("change", M));
128
+ e && (D = document.documentElement.dataset.mDensity, C(e)), t != null && (O = document.documentElement.style.getPropertyValue("--m-z-base"), document.documentElement.style.setProperty("--m-z-base", String(t))), n !== void 0 && (k = document.documentElement.dataset.theme, P(n === "system" ? N() : n)), n === "system" && typeof window < "u" ? (I(), M = window.matchMedia("(prefers-color-scheme: dark)"), M.addEventListener("change", L)) : I();
123
129
  }
124
- return g(() => x.value.respectReducedMotion, I, { immediate: !0 }), g(() => [
125
- w.value,
130
+ return g(() => x.value.respectReducedMotion, R, { immediate: !0 }), g(() => [
131
+ T.value,
126
132
  x.value.density,
127
133
  x.value.zIndex,
128
134
  x.value.theme
129
- ], L, { immediate: !0 }), l(() => {
130
- typeof document > "u" || (k !== void 0 && (k ? document.documentElement.dataset.mIgnoreReducedMotion = k : delete document.documentElement.dataset.mIgnoreReducedMotion), w.value && (E !== void 0 && (E ? document.documentElement.dataset.mDensity = E : delete document.documentElement.dataset.mDensity), D !== void 0 && (D ? document.documentElement.style.setProperty("--m-z-base", D) : document.documentElement.style.removeProperty("--m-z-base")), O !== void 0 && (O ? document.documentElement.dataset.theme = O : delete document.documentElement.dataset.theme), j?.removeEventListener("change", M), j = null));
135
+ ], z, { immediate: !0 }), l(() => {
136
+ if (!(typeof document > "u")) {
137
+ if (j !== void 0 && (j ? document.documentElement.dataset.mIgnoreReducedMotion = j : delete document.documentElement.dataset.mIgnoreReducedMotion), !T.value) {
138
+ I();
139
+ return;
140
+ }
141
+ D !== void 0 && (D ? document.documentElement.dataset.mDensity = D : delete document.documentElement.dataset.mDensity), O !== void 0 && (O ? document.documentElement.style.setProperty("--m-z-base", O) : document.documentElement.style.removeProperty("--m-z-base")), k !== void 0 && (k ? document.documentElement.dataset.theme = k : delete document.documentElement.dataset.theme), I();
142
+ }
131
143
  }), (e, t) => (u(), a("div", c(m(v), {
132
144
  class: "m-config-provider",
133
145
  "data-m-density": S.value,
134
- style: T.value
146
+ "data-theme": w.value,
147
+ style: E.value
135
148
  }), [f(e.$slots, "default")], 16, F));
136
149
  }
137
150
  });
@@ -1,13 +1,13 @@
1
1
  import { r as e } from "../useComponentAttrs-BTYEe61P.js";
2
2
  import { t } from "../Icon-DfpIfo2L.js";
3
- import { t as n } from "../Button-lNErA-7h.js";
3
+ import { t as n } from "../Button--RkQybU-.js";
4
4
  import { n as r } from "../overlay-oR-5MDuE.js";
5
5
  import { t as i } from "../useModalOverlay-Beo3CEAt.js";
6
6
  import { t as a } from "../asyncGuard-CPGT_TKu.js";
7
7
  import { t as o } from "../lastPointer-CRxcUqdd.js";
8
- import { c as s } from "../config-Dln2-u_v.js";
8
+ import { c as s } from "../config-BdK5ccNT.js";
9
9
  import { t as c } from "../overlayHost-78CGtMgR.js";
10
- import { n as l } from "../locale-DNYpTg5K.js";
10
+ import { n as l } from "../locale-B36KH7c3.js";
11
11
  import "./style.js";
12
12
  import { Teleport as u, Transition as d, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createTextVNode as _, createVNode as v, defineComponent as y, mergeProps as b, normalizeClass as x, openBlock as S, ref as C, render as w, renderSlot as T, toDisplayString as E, toRef as D, unref as O, useAttrs as k, watch as A, withCtx as ee, withModifiers as te } from "vue";
13
13
  //#region src/components/ConfirmDialog/ConfirmDialog.vue?vue&type=script&setup=true&lang.ts
@@ -1,11 +1,11 @@
1
1
  import { r as e } from "../useComponentAttrs-BTYEe61P.js";
2
2
  import { t } from "../Icon-DfpIfo2L.js";
3
- import { t as n } from "../Button-lNErA-7h.js";
3
+ import { t as n } from "../Button--RkQybU-.js";
4
4
  import { n as r, t as i } from "../overlay-oR-5MDuE.js";
5
5
  import { t as a } from "../overlayPlacement-Cd20JTD_.js";
6
6
  import { t as o } from "../asyncGuard-CPGT_TKu.js";
7
- import { c as s } from "../config-Dln2-u_v.js";
8
- import { n as c } from "../locale-DNYpTg5K.js";
7
+ import { c as s } from "../config-BdK5ccNT.js";
8
+ import { n as c } from "../locale-B36KH7c3.js";
9
9
  import "./style.js";
10
10
  import { Teleport as l, Transition as u, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createTextVNode as g, createVNode as _, defineComponent as v, mergeProps as y, nextTick as b, onBeforeUnmount as x, openBlock as S, ref as C, renderSlot as w, toDisplayString as T, unref as E, useAttrs as D, watch as O, withCtx as k } from "vue";
11
11
  //#region src/components/ConfirmPopup/ConfirmPopup.vue?vue&type=script&setup=true&lang.ts
@@ -4,8 +4,8 @@ import { n, t as r } from "../overlay-oR-5MDuE.js";
4
4
  import { t as i } from "../Scrollbar-BYnCO8fv.js";
5
5
  import { t as a } from "../icon-xUOyawgJ.js";
6
6
  import { t as o } from "../key-CaQYVkjh.js";
7
- import { t as s } from "../FlyoutSubmenu-kymVjXLs.js";
8
- import { c } from "../config-Dln2-u_v.js";
7
+ import { t as s } from "../FlyoutSubmenu-B_bkgKag.js";
8
+ import { c } from "../config-BdK5ccNT.js";
9
9
  import "./style.js";
10
10
  import { Fragment as l, Teleport as u, Transition as d, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createVNode as _, defineComponent as v, mergeModels as y, mergeProps as b, nextTick as x, normalizeClass as S, normalizeStyle as C, onBeforeUnmount as w, openBlock as T, ref as E, renderList as D, renderSlot as O, toDisplayString as k, unref as A, useAttrs as j, useModel as M, watch as N, withCtx as P, withModifiers as F } from "vue";
11
11
  //#region src/components/ContextMenu/ContextMenuNodes.vue?vue&type=script&setup=true&lang.ts
@@ -0,0 +1,4 @@
1
+ //#region src/components/Empty/illustrations/markup/conversion-low.ts
2
+ var e = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 250 122\" fill=\"none\" aria-hidden=\"true\" focusable=\"false\"><defs><linearGradient gradientUnits=\"objectBoundingBox\" id=\"__MID_0__\" spreadMethod=\"pad\" x1=\"0.5\" x2=\"0.5\" y1=\"0\" y2=\"1\"><stop offset=\"0\" stop-color=\"#c1dbfe\"></stop><stop offset=\"1\" stop-color=\"#ffffff\"></stop></linearGradient><linearGradient gradientUnits=\"objectBoundingBox\" id=\"__MID_1__\" spreadMethod=\"pad\" x1=\"0.67829025\" x2=\"0.04206121\" y1=\"0.3701418\" y2=\"0.6480241\"><stop offset=\"0\" stop-color=\"#f6f6f6\"></stop><stop offset=\"1\" stop-color=\"#7aa1f8\"></stop></linearGradient><linearGradient gradientUnits=\"objectBoundingBox\" id=\"__MID_2__\" spreadMethod=\"pad\" x1=\"0.5\" x2=\"0.5\" y1=\"0\" y2=\"0.9891786\"><stop offset=\"0\" stop-color=\"#83aef5\"></stop><stop offset=\"1\" stop-color=\"#9dbafd\"></stop></linearGradient></defs><g><g><path d=\"M 249.28 122.00 C 219.86 85.49 172.80 64.00 122.26 64.00 C 73.29 64.00 29.44 85.93 0.00 120.52 C 0.00 120.52 249.28 122.00 249.28 122.00 Z\" fill=\"url(#__MID_0__)\" fill-rule=\"evenodd\" stroke=\"none\"></path><path d=\"M 114.00 0.00 L 163.00 0.00 C 167.42 0.00 171.00 3.58 171.00 8.00 L 171.00 71.00 C 171.00 75.42 167.42 79.00 163.00 79.00 L 114.00 79.00 C 109.58 79.00 106.00 75.42 106.00 71.00 L 106.00 8.00 C 106.00 3.58 109.58 0.00 114.00 0.00 Z\" fill=\"#b3c6f5\" fill-rule=\"evenodd\" stroke=\"none\"></path><g><g><g><path d=\"M 48.75 94.60 L 45.76 94.60 L 45.76 84.48 C 45.76 83.67 46.43 83.02 47.25 83.02 L 47.26 83.02 C 48.09 83.02 48.75 83.67 48.75 84.48 L 48.75 94.60 Z\" fill=\"#bae637\" fill-rule=\"evenodd\" stroke=\"none\"></path></g><path d=\"M 50.24 97.08 L 47.24 97.08 L 47.24 91.79 C 47.24 91.01 47.89 90.37 48.70 90.37 L 48.79 90.37 C 49.59 90.37 50.24 91.01 50.24 91.79 L 50.24 97.08 Z\" fill=\"#389e0d\" fill-rule=\"evenodd\" id=\"__MID_3__\" stroke=\"none\"></path><path d=\"M 46.20 94.59 L 43.18 94.59 L 43.18 88.85 C 43.18 88.06 43.83 87.42 44.64 87.42 L 44.74 87.42 C 45.55 87.42 46.20 88.06 46.20 88.85 L 46.20 94.59 Z\" fill=\"#7cb305\" fill-rule=\"evenodd\" id=\"__MID_4__\" stroke=\"none\"></path><g><path d=\"M 50.42 102.99 L 42.56 102.99 C 42.25 102.99 42.00 102.74 42.00 102.44 L 42.00 94.81 C 42.00 94.50 42.25 94.26 42.56 94.26 L 50.42 94.26 C 50.73 94.26 50.98 94.50 50.98 94.81 L 50.98 102.44 C 50.98 102.74 50.73 102.99 50.42 102.99\" fill=\"#3b68b8\" fill-rule=\"evenodd\" stroke=\"none\"></path></g></g></g><g><g><g><path d=\"M 190.18 75.89 L 187.37 75.89 L 187.37 66.39 C 187.37 65.63 188.00 65.02 188.77 65.02 L 188.78 65.02 C 189.55 65.02 190.18 65.63 190.18 66.39 L 190.18 75.89 Z\" fill=\"#bae637\" fill-rule=\"evenodd\" stroke=\"none\"></path></g><path d=\"M 191.57 78.22 L 188.76 78.22 L 188.76 73.26 C 188.76 72.52 189.37 71.92 190.13 71.92 L 190.21 71.92 C 190.96 71.92 191.57 72.52 191.57 73.26 L 191.57 78.22 Z\" fill=\"#389e0d\" fill-rule=\"evenodd\" id=\"__MID_3__\" stroke=\"none\"></path><path d=\"M 187.79 75.89 L 184.95 75.89 L 184.95 70.49 C 184.95 69.75 185.57 69.15 186.32 69.15 L 186.42 69.15 C 187.17 69.15 187.79 69.75 187.79 70.49 L 187.79 75.89 Z\" fill=\"#7cb305\" fill-rule=\"evenodd\" id=\"__MID_4__\" stroke=\"none\"></path><g><path d=\"M 191.74 83.78 L 184.38 83.78 C 184.08 83.78 183.85 83.54 183.85 83.26 L 183.85 76.09 C 183.85 75.80 184.08 75.57 184.38 75.57 L 191.74 75.57 C 192.03 75.57 192.27 75.80 192.27 76.09 L 192.27 83.26 C 192.27 83.54 192.03 83.78 191.74 83.78\" fill=\"#3b68b8\" fill-rule=\"evenodd\" stroke=\"none\"></path></g></g></g><g><g><g><path d=\"M 173.53 100.98 L 170.11 100.98 L 170.11 90.53 C 170.11 89.69 170.87 89.02 171.81 89.02 L 171.83 89.02 C 172.77 89.02 173.53 89.69 173.53 90.53 L 173.53 100.98 Z\" fill=\"#bae637\" fill-rule=\"evenodd\" stroke=\"none\"></path></g><path d=\"M 175.24 103.54 L 171.80 103.54 L 171.80 98.08 C 171.80 97.27 172.55 96.62 173.47 96.62 L 173.57 96.62 C 174.49 96.62 175.24 97.27 175.24 98.08 L 175.24 103.54 Z\" fill=\"#389e0d\" fill-rule=\"evenodd\" id=\"__MID_3__\" stroke=\"none\"></path><path d=\"M 170.61 100.98 L 167.15 100.98 L 167.15 95.04 C 167.15 94.23 167.90 93.57 168.82 93.57 L 168.94 93.57 C 169.86 93.57 170.61 94.23 170.61 95.04 L 170.61 100.98 Z\" fill=\"#7cb305\" fill-rule=\"evenodd\" id=\"__MID_4__\" stroke=\"none\"></path><g><path d=\"M 175.44 109.65 L 166.44 109.65 C 166.08 109.65 165.80 109.40 165.80 109.09 L 165.80 101.20 C 165.80 100.89 166.08 100.63 166.44 100.63 L 175.44 100.63 C 175.80 100.63 176.09 100.89 176.09 101.20 L 176.09 109.09 C 176.09 109.40 175.80 109.65 175.44 109.65\" fill=\"#3b68b8\" fill-rule=\"evenodd\" stroke=\"none\"></path></g></g></g><g><path d=\"M 97.17 89.00 L 79.45 73.19 L 72.02 81.01 L 75.92 85.20 L 60.00 87.54 L 61.50 71.75 L 66.70 75.97 L 79.45 62.00 L 102.00 83.42 Z\" fill=\"url(#__MID_1__)\" fill-rule=\"evenodd\" stroke=\"none\"></path></g><path d=\"M 94.00 9.00 L 155.00 9.00 C 159.42 9.00 163.00 12.58 163.00 17.00 L 163.00 87.00 C 163.00 91.42 159.42 95.00 155.00 95.00 L 94.00 95.00 C 89.58 95.00 86.00 91.42 86.00 87.00 L 86.00 17.00 C 86.00 12.58 89.58 9.00 94.00 9.00 Z\" fill=\"url(#__MID_2__)\" fill-rule=\"evenodd\" stroke=\"none\"></path><path d=\"M 114.00 34.00 L 139.00 34.00 L 139.00 39.00 L 114.00 39.00 Z\" fill=\"#ffffff\" fill-rule=\"evenodd\" stroke=\"none\"></path><path d=\"M 114.00 61.00 L 139.00 61.00 L 139.00 66.00 L 114.00 66.00 Z\" fill=\"#ffffff\" fill-rule=\"evenodd\" stroke=\"none\"></path><path d=\"M 114.00 42.00 L 156.00 42.00 L 156.00 47.00 L 114.00 47.00 Z\" fill=\"#ffffff\" fill-rule=\"evenodd\" stroke=\"none\"></path><path d=\"M 114.00 68.00 L 156.00 68.00 L 156.00 73.00 L 114.00 73.00 Z\" fill=\"#ffffff\" fill-rule=\"evenodd\" stroke=\"none\"></path><path d=\"M 108.00 39.50 C 108.00 43.64 104.64 47.00 100.50 47.00 C 96.36 47.00 93.00 43.64 93.00 39.50 C 93.00 35.36 96.36 32.00 100.50 32.00 C 104.64 32.00 108.00 35.36 108.00 39.50 Z\" fill=\"#ffffff\" fill-rule=\"evenodd\" stroke=\"none\"></path><path d=\"M 108.00 65.50 C 108.00 69.64 104.64 73.00 100.50 73.00 C 96.36 73.00 93.00 69.64 93.00 65.50 C 93.00 61.36 96.36 58.00 100.50 58.00 C 104.64 58.00 108.00 61.36 108.00 65.50 Z\" fill=\"#ffffff\" fill-rule=\"evenodd\" stroke=\"none\"></path><g><path d=\"M 98.68 36.26 L 98.68 36.26 C 98.68 37.51 99.72 38.53 101.00 38.53 C 102.28 38.53 103.32 37.51 103.32 36.26 L 103.32 36.26 C 103.32 35.01 102.28 34.00 101.00 34.00 C 99.72 34.00 98.68 35.01 98.68 36.26 L 98.68 36.26 Z M 101.00 39.66 C 99.12 39.66 97.44 40.53 96.38 41.89 L 96.38 43.00 L 105.62 43.00 L 105.62 41.89 C 104.56 40.53 102.88 39.66 101.00 39.66 L 101.00 39.66 Z\" fill=\"#91b4f9\" fill-rule=\"nonzero\" stroke=\"none\"></path></g><g><path d=\"M 98.68 63.26 L 98.68 63.26 C 98.68 64.51 99.72 65.53 101.00 65.53 C 102.28 65.53 103.32 64.51 103.32 63.26 L 103.32 63.26 C 103.32 62.01 102.28 61.00 101.00 61.00 C 99.72 61.00 98.68 62.01 98.68 63.26 L 98.68 63.26 Z M 101.00 66.66 C 99.12 66.66 97.44 67.53 96.38 68.89 L 96.38 70.00 L 105.62 70.00 L 105.62 68.89 C 104.56 67.53 102.88 66.66 101.00 66.66 L 101.00 66.66 Z\" fill=\"#91b4f9\" fill-rule=\"nonzero\" stroke=\"none\"></path></g><path d=\"M 94.00 9.00 L 155.00 9.00 C 159.42 9.00 163.00 12.58 163.00 17.00 L 163.00 23.00 L 163.00 23.00 L 86.00 23.00 L 86.00 17.00 C 86.00 12.58 89.58 9.00 94.00 9.00 Z\" fill=\"#7aa1f8\" fill-rule=\"evenodd\" stroke=\"none\"></path><path d=\"M 96.00 16.50 C 96.00 17.88 94.88 19.00 93.50 19.00 C 92.12 19.00 91.00 17.88 91.00 16.50 C 91.00 15.12 92.12 14.00 93.50 14.00 C 94.88 14.00 96.00 15.12 96.00 16.50 Z\" fill=\"#ffffff\" fill-rule=\"evenodd\" stroke=\"none\"></path><path d=\"M 103.00 16.50 C 103.00 17.88 101.88 19.00 100.50 19.00 C 99.12 19.00 98.00 17.88 98.00 16.50 C 98.00 15.12 99.12 14.00 100.50 14.00 C 101.88 14.00 103.00 15.12 103.00 16.50 Z\" fill=\"#ffffff\" fill-rule=\"evenodd\" stroke=\"none\"></path><path d=\"M 110.00 16.50 C 110.00 17.88 108.88 19.00 107.50 19.00 C 106.12 19.00 105.00 17.88 105.00 16.50 C 105.00 15.12 106.12 14.00 107.50 14.00 C 108.88 14.00 110.00 15.12 110.00 16.50 Z\" fill=\"#ffffff\" fill-rule=\"evenodd\" stroke=\"none\"></path></g></g></svg>";
3
+ //#endregion
4
+ export { e as default };
@@ -1,7 +1,7 @@
1
1
  import { r as e } from "../useComponentAttrs-BTYEe61P.js";
2
- import { t } from "../Pagination-Dm2-MBnC.js";
3
- import { t as n } from "../ProgressSpinner-BXHLx4Lg.js";
4
- import { n as r } from "../locale-DNYpTg5K.js";
2
+ import { t } from "../Pagination-BKvR-RUW.js";
3
+ import { t as n } from "../ProgressSpinner-DuBpPkna.js";
4
+ import { n as r } from "../locale-B36KH7c3.js";
5
5
  import "./style.js";
6
6
  import { Fragment as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, defineComponent as u, mergeProps as d, openBlock as f, ref as p, renderList as m, renderSlot as h, toDisplayString as g, unref as _, useAttrs as v, useSlots as y, watch as b } from "vue";
7
7
  //#region src/components/DataView/DataView.vue?vue&type=script&setup=true&lang.ts
@@ -3,8 +3,8 @@ import { t } from "../Icon-DfpIfo2L.js";
3
3
  import { n, t as r } from "../overlay-oR-5MDuE.js";
4
4
  import { t as i } from "../overlayPlacement-Cd20JTD_.js";
5
5
  import { t as a } from "../useMId-BXFYayPP.js";
6
- import { c as o, o as s } from "../config-Dln2-u_v.js";
7
- import { n as ee, t as te } from "../locale-DNYpTg5K.js";
6
+ import { c as o, o as s } from "../config-BdK5ccNT.js";
7
+ import { n as ee, t as te } from "../locale-B36KH7c3.js";
8
8
  import "./style.js";
9
9
  import { Fragment as c, Teleport as ne, Transition as re, computed as l, createBlock as ie, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createVNode as p, defineComponent as m, mergeProps as ae, nextTick as h, normalizeClass as g, normalizeStyle as oe, onBeforeUnmount as se, openBlock as _, ref as v, renderList as y, renderSlot as ce, toDisplayString as b, unref as x, useAttrs as le, watch as ue, withCtx as de, withKeys as fe, withModifiers as S } from "vue";
10
10
  //#region src/components/DatePicker/DatePicker.vue?vue&type=script&setup=true&lang.ts
@@ -1,26 +1,26 @@
1
1
  import { r as e } from "../useComponentAttrs-BTYEe61P.js";
2
2
  import { t } from "../Icon-DfpIfo2L.js";
3
- import { t as n } from "../Button-lNErA-7h.js";
3
+ import { t as n } from "../Button--RkQybU-.js";
4
4
  import { n as r } from "../overlay-oR-5MDuE.js";
5
5
  import { t as i } from "../useModalOverlay-Beo3CEAt.js";
6
6
  import { t as a } from "../asyncGuard-CPGT_TKu.js";
7
7
  import { t as o } from "../lastPointer-CRxcUqdd.js";
8
- import { c as s } from "../config-Dln2-u_v.js";
9
- import { n as c } from "../locale-DNYpTg5K.js";
8
+ import { c as s } from "../config-BdK5ccNT.js";
9
+ import { n as ee } from "../locale-B36KH7c3.js";
10
10
  import "./style.js";
11
- import { Teleport as l, Transition as u, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createVNode as g, defineComponent as _, mergeProps as ee, normalizeClass as v, normalizeStyle as y, openBlock as b, ref as x, renderSlot as S, toDisplayString as C, toRef as w, unref as T, useAttrs as te, useSlots as E, watch as ne, withCtx as re, withModifiers as ie } from "vue";
11
+ import { Teleport as c, Transition as l, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createVNode as h, defineComponent as g, mergeProps as _, normalizeClass as v, normalizeStyle as y, openBlock as b, ref as x, renderSlot as S, toDisplayString as C, toRef as w, unref as T, useAttrs as E, useSlots as D, watch as O, withCtx as te, withModifiers as ne } from "vue";
12
12
  //#region src/components/Dialog/Dialog.vue?vue&type=script&setup=true&lang.ts
13
- var ae = ["aria-modal", "aria-label"], oe = {
13
+ var re = ["aria-modal", "aria-label"], ie = {
14
14
  key: 0,
15
15
  class: "m-dialog__header"
16
- }, se = { class: "m-dialog__heading" }, ce = {
16
+ }, ae = { class: "m-dialog__heading" }, oe = {
17
17
  key: 0,
18
18
  class: "m-dialog__type-icon",
19
19
  "aria-hidden": "true"
20
- }, D = { key: 0 }, O = {
20
+ }, se = { key: 0 }, ce = {
21
21
  key: 0,
22
22
  class: "m-dialog__actions"
23
- }, k = ["aria-label", "disabled"], A = ["aria-label", "disabled"], j = { class: "m-dialog__body" }, M = /* @__PURE__ */ _({
23
+ }, le = ["aria-label", "disabled"], ue = ["aria-label", "disabled"], k = { class: "m-dialog__body" }, A = /* @__PURE__ */ g({
24
24
  inheritAttrs: !1,
25
25
  __name: "Dialog",
26
26
  props: {
@@ -77,11 +77,23 @@ var ae = ["aria-modal", "aria-label"], oe = {
77
77
  "maximize",
78
78
  "unmaximize"
79
79
  ],
80
- setup(_, { expose: M, emit: N }) {
81
- let P = _, F = N, I = te(), { rootAttrs: L } = e(I, () => P.pt), R = E(), z = s(), B = c(), V = x(null), H = x(!1), U = x(o()), W = x(null), G = d(() => P.header ?? P.title), K = d(() => r(P, z.value.appendTo)), q = d(() => {
82
- let e = P.type;
80
+ setup(g, { expose: A, emit: j }) {
81
+ let M = g, N = j, P = E(), { rootAttrs: F } = e(P, () => M.pt), I = u(() => {
82
+ let e = F.value.style;
83
+ if (e) return typeof e == "string" ? e.match(/(?:^|;)\s*width\s*:\s*([^;]+)/i)?.[1]?.trim() : typeof e.width == "string" ? e.width : void 0;
84
+ }), L = u(() => {
85
+ let e = { ...F.value }, t = e.style;
86
+ if (!t || !I.value) return e;
87
+ if (typeof t == "string") {
88
+ let n = t.replace(/(?:^|;)\s*width\s*:\s*[^;]+/i, "").replace(/^;|;$/g, "").trim();
89
+ return n ? e.style = n : delete e.style, e;
90
+ }
91
+ let { width: n, ...r } = t;
92
+ return Object.keys(r).length ? e.style = r : delete e.style, e;
93
+ }), R = D(), z = s(), B = ee(), V = x(null), H = x(!1), U = x(o()), W = x(null), G = u(() => M.header ?? M.title), K = u(() => r(M, z.value.appendTo)), q = u(() => {
94
+ let e = M.type;
83
95
  return e === "warning" || e === "warn" ? "warn" : e;
84
- }), J = d(() => {
96
+ }), J = u(() => {
85
97
  switch (q.value) {
86
98
  case "success": return "check-circle";
87
99
  case "warn": return "warning";
@@ -89,44 +101,48 @@ var ae = ["aria-modal", "aria-label"], oe = {
89
101
  case "info": return "info";
90
102
  default: return;
91
103
  }
92
- }), Y = d(() => !R.footer && !!(P.positiveText || P.negativeText)), le = d(() => !!(R.footer || Y.value)), X = d(() => W.value != null), ue = d(() => P.ariaLabel ?? G.value), de = d(() => ({
104
+ }), Y = u(() => !R.footer && !!(M.positiveText || M.negativeText)), de = u(() => !!(R.footer || Y.value)), X = u(() => W.value != null), fe = u(() => M.ariaLabel ?? G.value), pe = u(() => ({
93
105
  "--m-dialog-origin-x": `${U.value.x}px`,
94
106
  "--m-dialog-origin-y": `${U.value.y}px`
95
- })), fe = d(() => P.dismissableMask === void 0 ? P.closeOnOutsideClick === void 0 || P.closeOnOutsideClick : P.dismissableMask);
107
+ })), me = u(() => {
108
+ if (H.value) return;
109
+ let e = M.width ?? I.value;
110
+ return e ? { width: e } : void 0;
111
+ }), he = u(() => M.dismissableMask === void 0 ? M.closeOnOutsideClick === void 0 || M.closeOnOutsideClick : M.dismissableMask);
96
112
  function Z() {
97
- H.value = !1, W.value = null, F("update:modelValue", !1), F("close");
113
+ H.value = !1, W.value = null, N("update:modelValue", !1), N("close");
98
114
  }
99
115
  async function Q() {
100
116
  if (!W.value) {
101
- if (!P.beforeClose) {
117
+ if (!M.beforeClose) {
102
118
  Z();
103
119
  return;
104
120
  }
105
121
  W.value = "close";
106
122
  try {
107
- if (!await a(P.beforeClose)) return;
123
+ if (!await a(M.beforeClose)) return;
108
124
  Z();
109
125
  } finally {
110
126
  W.value === "close" && (W.value = null);
111
127
  }
112
128
  }
113
129
  }
114
- async function pe(e) {
130
+ async function ge(e) {
115
131
  if (!W.value) {
116
132
  W.value = "positive";
117
133
  try {
118
- if (!await a(P.onPositiveClick, e)) return;
134
+ if (!await a(M.onPositiveClick, e)) return;
119
135
  Z();
120
136
  } finally {
121
137
  W.value === "positive" && (W.value = null);
122
138
  }
123
139
  }
124
140
  }
125
- async function me(e) {
141
+ async function _e(e) {
126
142
  if (!W.value) {
127
143
  W.value = "negative";
128
144
  try {
129
- if (!await a(P.onNegativeClick, e)) return;
145
+ if (!await a(M.onNegativeClick, e)) return;
130
146
  Z();
131
147
  } finally {
132
148
  W.value === "negative" && (W.value = null);
@@ -134,26 +150,26 @@ var ae = ["aria-modal", "aria-label"], oe = {
134
150
  }
135
151
  }
136
152
  function $() {
137
- H.value = !H.value, H.value ? F("maximize") : F("unmaximize");
153
+ H.value = !H.value, H.value ? N("maximize") : N("unmaximize");
138
154
  }
139
- function he() {
140
- fe.value && Q();
155
+ function ve() {
156
+ he.value && Q();
141
157
  }
142
- return ne(() => P.modelValue, (e) => {
158
+ return O(() => M.modelValue, (e) => {
143
159
  e && (U.value = o());
144
160
  }), i({
145
- open: w(P, "modelValue"),
161
+ open: w(M, "modelValue"),
146
162
  container: V,
147
- closeOnEsc: w(P, "closeOnEsc"),
148
- blockScroll: () => P.blockScroll && P.modal,
163
+ closeOnEsc: w(M, "closeOnEsc"),
164
+ blockScroll: () => M.blockScroll && M.modal,
149
165
  onEscape: () => {
150
166
  Q();
151
167
  },
152
- onOpen: () => F("show"),
168
+ onOpen: () => N("show"),
153
169
  onClose: () => {
154
- H.value = !1, F("hide");
170
+ H.value = !1, N("hide");
155
171
  }
156
- }), M({
172
+ }), A({
157
173
  close: Q,
158
174
  maximize: () => {
159
175
  H.value || $();
@@ -161,88 +177,88 @@ var ae = ["aria-modal", "aria-label"], oe = {
161
177
  unmaximize: () => {
162
178
  H.value && $();
163
179
  }
164
- }), (e, r) => (b(), f(l, {
180
+ }), (e, r) => (b(), d(c, {
165
181
  to: K.value.to,
166
182
  disabled: K.value.disabled
167
- }, [g(u, { name: "m-dialog" }, {
168
- default: re(() => [_.modelValue ? (b(), m("div", ee({ key: 0 }, T(L), {
169
- class: ["m-dialog-backdrop", [`m-dialog-backdrop--${_.position}`, {
170
- "m-dialog-backdrop--modal": _.modal,
183
+ }, [h(l, { name: "m-dialog" }, {
184
+ default: te(() => [g.modelValue ? (b(), p("div", _({ key: 0 }, L.value, {
185
+ class: ["m-dialog-backdrop", [`m-dialog-backdrop--${g.position}`, {
186
+ "m-dialog-backdrop--modal": g.modal,
171
187
  "m-dialog-backdrop--maximized": H.value
172
188
  }]],
173
- style: de.value
174
- }), [h("div", {
189
+ style: pe.value
190
+ }), [m("div", {
175
191
  class: "m-dialog-zoom",
176
- onClick: ie(he, ["self"])
177
- }, [h("section", {
192
+ onClick: ne(ve, ["self"])
193
+ }, [m("section", {
178
194
  ref_key: "dialogElement",
179
195
  ref: V,
180
196
  class: v(["m-dialog", {
181
197
  "m-dialog--maximized": H.value,
182
198
  [`m-dialog--${q.value}`]: q.value
183
199
  }]),
184
- style: y(_.width && !H.value ? { width: _.width } : void 0),
200
+ style: y(me.value),
185
201
  role: "dialog",
186
- "aria-modal": _.modal || void 0,
187
- "aria-label": ue.value,
202
+ "aria-modal": g.modal || void 0,
203
+ "aria-label": fe.value,
188
204
  tabindex: "-1"
189
205
  }, [
190
- e.$slots.header || G.value || J.value || _.closable || _.maximizable ? (b(), m("header", oe, [h("div", se, [J.value ? (b(), m("span", ce, [g(t, {
206
+ e.$slots.header || G.value || J.value || g.closable || g.maximizable ? (b(), p("header", ie, [m("div", ae, [J.value ? (b(), p("span", oe, [h(t, {
191
207
  name: J.value,
192
208
  size: "sm"
193
- }, null, 8, ["name"])])) : p("", !0), S(e.$slots, "header", {}, () => [G.value ? (b(), m("h2", D, C(G.value), 1)) : p("", !0)])]), _.maximizable || _.closable ? (b(), m("div", O, [_.maximizable ? (b(), m("button", {
209
+ }, null, 8, ["name"])])) : f("", !0), S(e.$slots, "header", {}, () => [G.value ? (b(), p("h2", se, C(G.value), 1)) : f("", !0)])]), g.maximizable || g.closable ? (b(), p("div", ce, [g.maximizable ? (b(), p("button", {
194
210
  key: 0,
195
211
  type: "button",
196
212
  class: "m-dialog__action",
197
213
  "aria-label": H.value ? T(B).restore : T(B).maximize,
198
214
  disabled: X.value,
199
215
  onClick: $
200
- }, [g(t, {
216
+ }, [h(t, {
201
217
  name: H.value ? "restore" : "maximize",
202
218
  size: "sm"
203
- }, null, 8, ["name"])], 8, k)) : p("", !0), _.closable ? (b(), m("button", {
219
+ }, null, 8, ["name"])], 8, le)) : f("", !0), g.closable ? (b(), p("button", {
204
220
  key: 1,
205
221
  type: "button",
206
222
  class: "m-dialog__action",
207
223
  "aria-label": T(B).close,
208
224
  disabled: X.value,
209
225
  onClick: Q
210
- }, [g(t, {
226
+ }, [h(t, {
211
227
  name: "close",
212
228
  size: "sm"
213
- })], 8, A)) : p("", !0)])) : p("", !0)])) : p("", !0),
214
- h("div", j, [S(e.$slots, "default")]),
215
- le.value ? (b(), m("footer", {
229
+ })], 8, ue)) : f("", !0)])) : f("", !0)])) : f("", !0),
230
+ m("div", k, [S(e.$slots, "default")]),
231
+ de.value ? (b(), p("footer", {
216
232
  key: 1,
217
233
  class: v(["m-dialog__footer", { "m-dialog__footer--preset": Y.value }])
218
- }, [S(e.$slots, "footer", {}, () => [_.negativeText ? (b(), f(n, {
234
+ }, [S(e.$slots, "footer", {}, () => [g.negativeText ? (b(), d(n, {
219
235
  key: 0,
220
- label: _.negativeText,
236
+ label: g.negativeText,
221
237
  severity: "secondary",
222
238
  disabled: X.value,
223
239
  loading: W.value === "negative",
224
- onClick: me
240
+ onClick: _e
225
241
  }, null, 8, [
226
242
  "label",
227
243
  "disabled",
228
244
  "loading"
229
- ])) : p("", !0), _.positiveText ? (b(), f(n, {
245
+ ])) : f("", !0), g.positiveText ? (b(), d(n, {
230
246
  key: 1,
231
- label: _.positiveText,
232
- severity: _.positiveSeverity,
247
+ label: g.positiveText,
248
+ severity: g.positiveSeverity,
233
249
  disabled: X.value && W.value !== "positive",
234
250
  loading: W.value === "positive",
235
- onClick: pe
251
+ onClick: ge
236
252
  }, null, 8, [
237
253
  "label",
238
254
  "severity",
239
255
  "disabled",
240
256
  "loading"
241
- ])) : p("", !0)])], 2)) : p("", !0)
242
- ], 14, ae)])], 16)) : p("", !0)]),
257
+ ])) : f("", !0)])], 2)) : f("", !0)
258
+ ], 14, re)])], 16)) : f("", !0)]),
243
259
  _: 3
244
260
  })], 8, ["to", "disabled"]));
245
261
  }
246
262
  });
247
263
  //#endregion
248
- export { M as MDialog };
264
+ export { A as MDialog };
@@ -3,8 +3,8 @@ import { t } from "../Icon-DfpIfo2L.js";
3
3
  import { n } from "../overlay-oR-5MDuE.js";
4
4
  import { t as r } from "../useModalOverlay-Beo3CEAt.js";
5
5
  import { t as i } from "../asyncGuard-CPGT_TKu.js";
6
- import { c as a } from "../config-Dln2-u_v.js";
7
- import { n as o } from "../locale-DNYpTg5K.js";
6
+ import { c as a } from "../config-BdK5ccNT.js";
7
+ import { n as o } from "../locale-B36KH7c3.js";
8
8
  import "./style.js";
9
9
  import { Teleport as s, Transition as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createVNode as m, defineComponent as h, mergeProps as g, normalizeClass as _, normalizeStyle as v, openBlock as y, ref as b, renderSlot as x, toDisplayString as S, toRef as C, unref as w, useAttrs as T, withCtx as E, withModifiers as D } from "vue";
10
10
  //#region src/components/Drawer/Drawer.vue?vue&type=script&setup=true&lang.ts
@@ -5,9 +5,9 @@ import { t as i } from "../overlayPlacement-Cd20JTD_.js";
5
5
  import { t as a } from "../Scrollbar-BYnCO8fv.js";
6
6
  import { t as o } from "../icon-xUOyawgJ.js";
7
7
  import { t as s } from "../key-CaQYVkjh.js";
8
- import { t as c } from "../FlyoutSubmenu-kymVjXLs.js";
9
- import { c as l } from "../config-Dln2-u_v.js";
10
- import { n as u } from "../locale-DNYpTg5K.js";
8
+ import { t as c } from "../FlyoutSubmenu-B_bkgKag.js";
9
+ import { c as l } from "../config-BdK5ccNT.js";
10
+ import { n as u } from "../locale-B36KH7c3.js";
11
11
  import "./style.js";
12
12
  import { Fragment as d, Teleport as f, Transition as p, computed as m, createBlock as h, createCommentVNode as g, createElementBlock as _, createElementVNode as v, createSlots as y, createTextVNode as b, createVNode as x, defineComponent as S, mergeProps as C, nextTick as w, normalizeClass as T, normalizeStyle as E, onBeforeUnmount as D, openBlock as O, ref as k, renderList as A, renderSlot as j, toDisplayString as M, unref as N, useAttrs as ee, watch as te, withCtx as P } from "vue";
13
13
  //#region src/components/Dropdown/DropdownNodes.vue?vue&type=script&setup=true&lang.ts