hys-ui 0.4.0 → 0.6.0

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 (152) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/components/HysAnimatedNumber/HysAnimatedNumber.vue.js +3 -3
  3. package/dist/components/HysAnimatedNumber/HysAnimatedNumber2.vue.js +440 -119
  4. package/dist/components/HysAnimatedNumber/NumberAnimationCanvas/NumberAnimationCanvas.vue.js +7 -0
  5. package/dist/components/HysAnimatedNumber/NumberAnimationCanvas/NumberAnimationCanvas2.vue.js +166 -0
  6. package/dist/components/HysAnimatedNumber/NumberDigits/NumberDigits.vue.js +7 -0
  7. package/dist/components/HysAnimatedNumber/NumberDigits/NumberDigits2.vue.js +105 -0
  8. package/dist/components/HysAnimatedNumber/animation/digital.js +186 -0
  9. package/dist/components/HysAnimatedNumber/animation/morph.js +110 -0
  10. package/dist/components/HysAnimatedNumber/animation/paint.js +34 -0
  11. package/dist/components/HysAnimatedNumber/animation/particles.js +51 -0
  12. package/dist/components/HysAnimatedNumber/animation/paths.js +165 -0
  13. package/dist/components/HysAnimatedNumber/animation/physics.js +66 -0
  14. package/dist/components/HysAnimatedNumber/animation/render.js +89 -0
  15. package/dist/components/HysAnimatedNumber/animation/reveal.js +125 -0
  16. package/dist/components/HysAnimatedNumber/animation/rolling.js +66 -0
  17. package/dist/components/HysAnimatedNumber/animation/scenarios.js +217 -0
  18. package/dist/components/HysAnimatedNumber/animation/spatial.js +112 -0
  19. package/dist/components/HysAnimatedNumber/useNumberCountdown.js +58 -0
  20. package/dist/components/HysAnimatedNumber/useNumberVisuals.js +60 -0
  21. package/dist/components/HysDrawer/HysDrawer.vue.js +1 -1
  22. package/dist/components/HysDrawer/HysDrawer2.vue.js +2 -2
  23. package/dist/components/HysFormItem/HysFormItem.vue.js +1 -1
  24. package/dist/components/HysFormItem/HysFormItem2.vue.js +231 -229
  25. package/dist/components/HysInput/HysInput.vue.js +2 -2
  26. package/dist/components/HysInput/HysInput2.vue.js +327 -274
  27. package/dist/components/HysModal/HysModal.vue.js +2 -2
  28. package/dist/components/HysModal/HysModal2.vue.js +38 -38
  29. package/dist/components/HysSearch/HysSearch.vue.js +2 -2
  30. package/dist/components/HysSortableList/HysSortableList.vue.js +2 -2
  31. package/dist/components/HysSortableList/HysSortableList2.vue.js +498 -129
  32. package/dist/components/HysSortableList/SortableGhost/SortableGhost.vue.js +7 -0
  33. package/dist/components/HysSortableList/SortableGhost/SortableGhost2.vue.js +43 -0
  34. package/dist/components/HysSortableList/SortableGhost/useSortGhost.js +54 -0
  35. package/dist/components/HysSortableList/geometry.js +230 -0
  36. package/dist/components/HysSortableList/model.js +254 -0
  37. package/dist/components/HysSortableList/transactions.js +281 -0
  38. package/dist/components/HysSortableList/useSortDrag.js +270 -0
  39. package/dist/components/HysSortableList/useSortKeyboard.js +72 -0
  40. package/dist/components/HysSortableList/useSortWindow.js +144 -0
  41. package/dist/components/HysTextarea/HysTextarea.vue.js +56 -32
  42. package/dist/components/HysToast/HysToast.vue.js +3 -3
  43. package/dist/components/HysToast/HysToast2.vue.js +379 -107
  44. package/dist/components/HysToast/ToastViewport/ToastViewport.vue.js +7 -0
  45. package/dist/components/HysToast/ToastViewport/ToastViewport2.vue.js +211 -0
  46. package/dist/components/HysToast/ToastViewport/useToastStackDisclosure.js +71 -0
  47. package/dist/components/HysToast/toastPresentation.js +98 -0
  48. package/dist/components/HysToast/useToastActions.js +62 -0
  49. package/dist/components/HysToast/useToastSwipe.js +48 -0
  50. package/dist/components/HysToast/useToastTimer.js +90 -0
  51. package/dist/composables/animatedNumberDigits.js +106 -0
  52. package/dist/composables/animatedNumberFormat.js +222 -0
  53. package/dist/composables/animatedNumberTiming.js +66 -0
  54. package/dist/composables/numberAnimation.js +72 -0
  55. package/dist/composables/numberAnimationCatalog.js +301 -0
  56. package/dist/composables/numberAnimationSequence.js +45 -0
  57. package/dist/composables/popupReferenceBinding.js +41 -0
  58. package/dist/composables/textInput.js +23 -14
  59. package/dist/composables/toastEscape.js +18 -10
  60. package/dist/composables/toastQueue.js +276 -0
  61. package/dist/composables/toastQueueModel.js +86 -0
  62. package/dist/composables/toastTasks.js +58 -0
  63. package/dist/composables/useHysAnimatedNumber.js +264 -0
  64. package/dist/composables/useHysNumberAnimationGroup.js +23 -0
  65. package/dist/composables/useHysToast.js +117 -135
  66. package/dist/composables/usePopupSurface.js +190 -356
  67. package/dist/composables/usePopupSurfaceInteractions.js +172 -0
  68. package/dist/composables/useTextareaSize.js +62 -46
  69. package/dist/index.js +125 -111
  70. package/dist/style.css +1 -1
  71. package/dist/types/components/HysAnimatedNumber/HysAnimatedNumber.vue.d.ts +88 -49
  72. package/dist/types/components/HysAnimatedNumber/NumberAnimationCanvas/NumberAnimationCanvas.vue.d.ts +19 -0
  73. package/dist/types/components/HysAnimatedNumber/NumberDigits/NumberDigits.vue.d.ts +31 -0
  74. package/dist/types/components/HysAnimatedNumber/animation/digital.d.ts +3 -0
  75. package/dist/types/components/HysAnimatedNumber/animation/morph.d.ts +2 -0
  76. package/dist/types/components/HysAnimatedNumber/animation/paint.d.ts +44 -0
  77. package/dist/types/components/HysAnimatedNumber/animation/particles.d.ts +5 -0
  78. package/dist/types/components/HysAnimatedNumber/animation/paths.d.ts +12 -0
  79. package/dist/types/components/HysAnimatedNumber/animation/physics.d.ts +2 -0
  80. package/dist/types/components/HysAnimatedNumber/animation/render.d.ts +2 -0
  81. package/dist/types/components/HysAnimatedNumber/animation/reveal.d.ts +2 -0
  82. package/dist/types/components/HysAnimatedNumber/animation/rolling.d.ts +2 -0
  83. package/dist/types/components/HysAnimatedNumber/animation/scenarios.d.ts +4 -0
  84. package/dist/types/components/HysAnimatedNumber/animation/spatial.d.ts +2 -0
  85. package/dist/types/components/HysAnimatedNumber/useNumberCountdown.d.ts +8 -0
  86. package/dist/types/components/HysAnimatedNumber/useNumberVisuals.d.ts +12 -0
  87. package/dist/types/components/HysAutocomplete/HysAutocomplete.vue.d.ts +11 -2
  88. package/dist/types/components/HysAvatarGroup/HysAvatarGroup.vue.d.ts +2 -2
  89. package/dist/types/components/HysCard/HysCard.vue.d.ts +1 -1
  90. package/dist/types/components/HysCascader/HysCascader.vue.d.ts +3 -3
  91. package/dist/types/components/HysCascader/HysCascaderColumn.vue.d.ts +2 -2
  92. package/dist/types/components/HysColorPicker/HysColorPicker.vue.d.ts +2 -2
  93. package/dist/types/components/HysDatePicker/HysDatePicker.vue.d.ts +3 -3
  94. package/dist/types/components/HysDatePicker/HysDatePickerControl.vue.d.ts +5 -5
  95. package/dist/types/components/HysDateRangePicker/HysDateRangePicker.vue.d.ts +3 -3
  96. package/dist/types/components/HysDrawer/HysDrawer.vue.d.ts +1 -1
  97. package/dist/types/components/HysFormItem/HysFormItem.vue.d.ts +1 -1
  98. package/dist/types/components/HysGantt/HysGantt.vue.d.ts +1 -1
  99. package/dist/types/components/HysInput/HysInput.vue.d.ts +13 -1
  100. package/dist/types/components/HysModal/HysModal.vue.d.ts +1 -1
  101. package/dist/types/components/HysNumberInput/HysNumberInput.vue.d.ts +2 -2
  102. package/dist/types/components/HysPopover/HysPopover.vue.d.ts +1 -1
  103. package/dist/types/components/HysSearch/HysSearch.vue.d.ts +1 -1
  104. package/dist/types/components/HysSkeleton/HysSkeleton.vue.d.ts +2 -2
  105. package/dist/types/components/HysSortableList/HysSortableList.vue.d.ts +48 -25
  106. package/dist/types/components/HysSortableList/SortableGhost/SortableGhost.vue.d.ts +31 -0
  107. package/dist/types/components/HysSortableList/SortableGhost/useSortGhost.d.ts +23 -0
  108. package/dist/types/components/HysSortableList/geometry.d.ts +35 -0
  109. package/dist/types/components/HysSortableList/model.d.ts +61 -0
  110. package/dist/types/components/HysSortableList/sortableList.d.ts +151 -0
  111. package/dist/types/components/HysSortableList/transactions.d.ts +10 -0
  112. package/dist/types/components/HysSortableList/useSortDrag.d.ts +25 -0
  113. package/dist/types/components/HysSortableList/useSortKeyboard.d.ts +17 -0
  114. package/dist/types/components/HysSortableList/useSortWindow.d.ts +16 -0
  115. package/dist/types/components/HysSteps/HysSteps.vue.d.ts +1 -1
  116. package/dist/types/components/HysTabs/HysTabs.vue.d.ts +1 -1
  117. package/dist/types/components/HysTagInput/HysTagInput.vue.d.ts +1 -1
  118. package/dist/types/components/HysTextarea/HysTextarea.vue.d.ts +13 -2
  119. package/dist/types/components/HysToast/HysToast.vue.d.ts +44 -46
  120. package/dist/types/components/HysToast/ToastViewport/ToastViewport.vue.d.ts +25 -0
  121. package/dist/types/components/HysToast/ToastViewport/useToastStackDisclosure.d.ts +16 -0
  122. package/dist/types/components/HysToast/toastPresentation.d.ts +8 -0
  123. package/dist/types/components/HysToast/toastTypes.d.ts +212 -0
  124. package/dist/types/components/HysToast/useToastActions.d.ts +18 -0
  125. package/dist/types/components/HysToast/useToastSwipe.d.ts +11 -0
  126. package/dist/types/components/HysToast/useToastTimer.d.ts +22 -0
  127. package/dist/types/components/HysTooltip/HysTooltip.vue.d.ts +1 -1
  128. package/dist/types/components/HysTour/HysTour.vue.d.ts +1 -1
  129. package/dist/types/components/HysTreeSelect/HysTreeSelect.vue.d.ts +3 -3
  130. package/dist/types/components/HysUpload/HysUpload.vue.d.ts +2 -2
  131. package/dist/types/composables/animatedNumber.d.ts +220 -0
  132. package/dist/types/composables/animatedNumberDigits.d.ts +32 -0
  133. package/dist/types/composables/animatedNumberFormat.d.ts +16 -0
  134. package/dist/types/composables/animatedNumberTiming.d.ts +21 -0
  135. package/dist/types/composables/drawer.d.ts +1 -1
  136. package/dist/types/composables/numberAnimation.d.ts +29 -0
  137. package/dist/types/composables/numberAnimationCatalog.d.ts +58 -0
  138. package/dist/types/composables/numberAnimationSequence.d.ts +13 -0
  139. package/dist/types/composables/popupReferenceBinding.d.ts +9 -0
  140. package/dist/types/composables/textInput.d.ts +39 -4
  141. package/dist/types/composables/toastEscape.d.ts +1 -1
  142. package/dist/types/composables/toastQueue.d.ts +121 -0
  143. package/dist/types/composables/toastQueueModel.d.ts +116 -0
  144. package/dist/types/composables/toastTasks.d.ts +2 -0
  145. package/dist/types/composables/useHysAnimatedNumber.d.ts +37 -0
  146. package/dist/types/composables/useHysNumberAnimationGroup.d.ts +4 -0
  147. package/dist/types/composables/useHysToast.d.ts +4 -48
  148. package/dist/types/composables/usePopupSurface.d.ts +20 -20
  149. package/dist/types/composables/usePopupSurfaceInteractions.d.ts +33 -0
  150. package/dist/types/composables/useTextareaSize.d.ts +5 -2
  151. package/dist/types/index.d.ts +15 -6
  152. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  import o from "./HysModal2.vue.js";
2
2
  /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-84baf613"]]);
4
+ const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-a0062868"]]);
5
5
  export {
6
- m as default
6
+ p as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as oe, useSlots as le, useAttrs as ie, ref as ne, useId as re, computed as g, mergeProps as B, openBlock as r, createBlock as C, Teleport as de, createVNode as v, Transition as se, normalizeProps as y, guardReactiveProps as m, withCtx as w, unref as a, withDirectives as p, createElementBlock as u, renderSlot as h, createElementVNode as c, toDisplayString as b, createCommentVNode as s, normalizeStyle as z, normalizeClass as T, resolveDynamicComponent as D, createTextVNode as F, vShow as j, withModifiers as ue } from "vue";
1
+ import { defineComponent as oe, useSlots as le, useAttrs as ie, ref as ne, useId as re, computed as g, mergeProps as B, openBlock as r, createBlock as C, Teleport as se, createVNode as v, Transition as de, normalizeProps as y, guardReactiveProps as m, withCtx as w, unref as a, withDirectives as p, createElementBlock as u, renderSlot as h, createElementVNode as c, toDisplayString as b, createCommentVNode as d, normalizeStyle as z, normalizeClass as T, resolveDynamicComponent as D, createTextVNode as F, vShow as j, withModifiers as ue } from "vue";
2
2
  import { Info as q, CircleHelp as ce, CircleX as ye, TriangleAlert as me, CircleCheck as fe, GripHorizontal as he, GripVertical as N, Minimize2 as ge, Maximize2 as ve, X as be, LoaderCircle as ke } from "lucide-vue-next";
3
3
  import R from "../HysButton/HysButton.vue.js";
4
4
  import { useHysRootAttrs as Be } from "../../config.js";
@@ -120,7 +120,7 @@ const ze = ["role", "aria-modal", "aria-label", "aria-labelledby", "aria-describ
120
120
  l,
121
121
  S,
122
122
  (n, ...o) => X(n, ...o)
123
- ), d = t.fullscreen, f = g(() => ({
123
+ ), s = t.fullscreen, f = g(() => ({
124
124
  close: t.requestClose,
125
125
  cancel: t.cancel,
126
126
  confirm: t.confirm,
@@ -130,7 +130,7 @@ const ze = ["role", "aria-modal", "aria-label", "aria-labelledby", "aria-describ
130
130
  error: t.error.value,
131
131
  titleId: x,
132
132
  descriptionId: P,
133
- fullscreen: d.value,
133
+ fullscreen: s.value,
134
134
  toggleFullscreen: t.toggleFullscreen
135
135
  })), Y = g(
136
136
  () => l.footer !== !1 && (l.footer === !0 || !!J.footer)
@@ -144,12 +144,12 @@ const ze = ["role", "aria-modal", "aria-label", "aria-labelledby", "aria-describ
144
144
  "--hys-ui-modal-opacity": t.alpha(l.opacity) * 100 + "%",
145
145
  background: `color-mix(in srgb,var(--hys-ui-surface,var(--hys-ui-theme-surface)) ${t.alpha(l.opacity) * 100}%,transparent)`
146
146
  } : {},
147
- width: d.value ? "100%" : k(
147
+ width: s.value ? "100%" : k(
148
148
  ((n = t.interaction.dimensions.value) == null ? void 0 : n.width) ?? we(l)
149
149
  ),
150
- height: d.value ? "100dvh" : k(((o = t.interaction.dimensions.value) == null ? void 0 : o.height) ?? l.height),
151
- maxWidth: d.value ? "100%" : l.maxWidth ? `min(${l.maxWidth}px,100%)` : "100%",
152
- maxHeight: d.value ? "100dvh" : k(l.maxHeight) ?? "calc(100dvh - 36px)",
150
+ height: s.value ? "100dvh" : k(((o = t.interaction.dimensions.value) == null ? void 0 : o.height) ?? l.height),
151
+ maxWidth: s.value ? "100%" : l.maxWidth ? `min(${l.maxWidth}px,100%)` : "100%",
152
+ maxHeight: s.value ? "100dvh" : k(l.maxHeight) ?? "calc(100dvh - 36px)",
153
153
  "--hys-ui-modal-x": t.interaction.position.value.x + "px",
154
154
  "--hys-ui-modal-y": t.interaction.position.value.y + "px"
155
155
  };
@@ -160,7 +160,7 @@ const ze = ["role", "aria-modal", "aria-label", "aria-labelledby", "aria-describ
160
160
  background: `color-mix(in srgb,#0b183d ${t.alpha(l.maskOpacity) * 100}%,transparent)`
161
161
  } : {},
162
162
  zIndex: t.state.zIndex.value,
163
- ...l.centered === !1 && !d.value ? { alignItems: "flex-start", paddingTop: k(l.top) ?? "15vh" } : {},
163
+ ...l.centered === !1 && !s.value ? { alignItems: "flex-start", paddingTop: k(l.top) ?? "15vh" } : {},
164
164
  ...l.transitionDuration !== void 0 ? {
165
165
  "--hys-ui-modal-duration": Math.max(0, Math.min(5e3, l.transitionDuration)) + "ms"
166
166
  } : {}
@@ -197,7 +197,7 @@ const ze = ["role", "aria-modal", "aria-label", "aria-labelledby", "aria-describ
197
197
  open: t.shown,
198
198
  closing: t.closing,
199
199
  confirming: t.confirming,
200
- fullscreen: d,
200
+ fullscreen: s,
201
201
  get position() {
202
202
  return t.interaction.getPosition();
203
203
  },
@@ -218,11 +218,11 @@ const ze = ["role", "aria-modal", "aria-label", "aria-labelledby", "aria-describ
218
218
  resetSize: t.interaction.resetSize,
219
219
  setPosition: t.interaction.setPosition,
220
220
  setSize: t.interaction.setSize
221
- }), (n, o) => (r(), C(de, {
221
+ }), (n, o) => (r(), C(se, {
222
222
  to: e.appendTo || "body",
223
223
  disabled: e.appendTo === !1
224
224
  }, [
225
- v(se, y(m(te.value)), {
225
+ v(de, y(m(te.value)), {
226
226
  default: w(() => {
227
227
  var E, M;
228
228
  return [
@@ -230,7 +230,7 @@ const ze = ["role", "aria-modal", "aria-label", "aria-labelledby", "aria-describ
230
230
  class: ["hys-ui-overlay hys-ui-modal-overlay", [
231
231
  e.overlayClass,
232
232
  {
233
- "hys-ui-modal-fullscreen": a(d),
233
+ "hys-ui-modal-fullscreen": a(s),
234
234
  "hys-ui-modal-no-mask": l.modal === !1,
235
235
  "hys-ui-modal-penetrable": l.modal === !1 && e.modalPenetrable,
236
236
  "hys-ui-modal-center": e.center,
@@ -251,7 +251,7 @@ const ze = ["role", "aria-modal", "aria-label", "aria-labelledby", "aria-describ
251
251
  "aria-hidden": "true"
252
252
  }, [
253
253
  c("span", null, b(e.title || "移动位置"), 1)
254
- ], 512)) : s("", !0),
254
+ ], 512)) : d("", !0),
255
255
  c("section", B({
256
256
  ref_key: "dialog",
257
257
  ref: S
@@ -283,7 +283,7 @@ const ze = ["role", "aria-modal", "aria-label", "aria-labelledby", "aria-describ
283
283
  e.headerClass,
284
284
  "hys-ui-modal-header-" + (e.headerSize ?? "md"),
285
285
  {
286
- "hys-ui-modal-header-with-center-grip": e.draggable && !a(d) && e.dragHandlePosition === "center"
286
+ "hys-ui-modal-header-with-center-grip": e.draggable && !a(s) && e.dragHandlePosition === "center"
287
287
  }
288
288
  ]]),
289
289
  style: z({
@@ -291,7 +291,7 @@ const ze = ["role", "aria-modal", "aria-label", "aria-labelledby", "aria-describ
291
291
  minHeight: a(k)(e.headerHeight) ?? ((E = e.headerStyle) == null ? void 0 : E.minHeight)
292
292
  })
293
293
  }, [
294
- e.draggable && !a(d) && e.dragHandlePosition === "center" ? (r(), u("button", {
294
+ e.draggable && !a(s) && e.dragHandlePosition === "center" ? (r(), u("button", {
295
295
  key: 0,
296
296
  type: "button",
297
297
  class: "hys-ui-modal-drag-handle hys-ui-modal-drag-handle-center",
@@ -307,9 +307,9 @@ const ze = ["role", "aria-modal", "aria-label", "aria-labelledby", "aria-describ
307
307
  size: 18,
308
308
  "aria-hidden": "true"
309
309
  })
310
- ], 32)) : s("", !0),
310
+ ], 32)) : d("", !0),
311
311
  c("div", Se, [
312
- e.draggable && !a(d) && ["left", "both"].includes(e.dragHandlePosition) ? (r(), u("button", {
312
+ e.draggable && !a(s) && ["left", "both"].includes(e.dragHandlePosition) ? (r(), u("button", {
313
313
  key: 0,
314
314
  type: "button",
315
315
  class: "hys-ui-modal-drag-handle",
@@ -325,7 +325,7 @@ const ze = ["role", "aria-modal", "aria-label", "aria-labelledby", "aria-describ
325
325
  size: 16,
326
326
  "aria-hidden": "true"
327
327
  })
328
- ], 32)) : s("", !0),
328
+ ], 32)) : d("", !0),
329
329
  h(n.$slots, "header", y(m(f.value)), () => [
330
330
  (r(), C(D("h" + Z.value), {
331
331
  id: x,
@@ -340,7 +340,7 @@ const ze = ["role", "aria-modal", "aria-label", "aria-labelledby", "aria-describ
340
340
  ], !0)
341
341
  ]),
342
342
  c("div", xe, [
343
- e.draggable && !a(d) && ["right", "both"].includes(e.dragHandlePosition) ? (r(), u("button", {
343
+ e.draggable && !a(s) && ["right", "both"].includes(e.dragHandlePosition) ? (r(), u("button", {
344
344
  key: 0,
345
345
  type: "button",
346
346
  class: "hys-ui-modal-drag-handle",
@@ -356,25 +356,25 @@ const ze = ["role", "aria-modal", "aria-label", "aria-labelledby", "aria-describ
356
356
  size: 16,
357
357
  "aria-hidden": "true"
358
358
  })
359
- ], 32)) : s("", !0),
359
+ ], 32)) : d("", !0),
360
360
  e.showFullscreen ? (r(), u("button", {
361
361
  key: 1,
362
362
  type: "button",
363
363
  class: "hys-ui-icon-action",
364
- "aria-label": a(d) ? e.restoreText : e.fullscreenText,
365
- title: a(d) ? e.restoreText : e.fullscreenText,
366
- "aria-pressed": a(d),
364
+ "aria-label": a(s) ? e.restoreText : e.fullscreenText,
365
+ title: a(s) ? e.restoreText : e.fullscreenText,
366
+ "aria-pressed": a(s),
367
367
  onClick: o[6] || (o[6] = //@ts-ignore
368
368
  (...i) => a(t).toggleFullscreen && a(t).toggleFullscreen(...i))
369
369
  }, [
370
370
  h(n.$slots, "fullscreen-icon", y(m(f.value)), () => [
371
- (r(), C(D(a(d) ? a(ge) : a(ve)), { size: 16 }))
371
+ (r(), C(D(a(s) ? a(ge) : a(ve)), { size: 16 }))
372
372
  ], !0)
373
- ], 8, Pe)) : s("", !0),
373
+ ], 8, Pe)) : d("", !0),
374
374
  e.showClose ? (r(), u("button", {
375
375
  key: 2,
376
376
  type: "button",
377
- class: "hys-ui-icon-action",
377
+ class: "hys-ui-icon-action hys-ui-dialog-close",
378
378
  "aria-label": e.closeText,
379
379
  disabled: a(t).closing.value || a(t).confirming.value && !e.closeWhileConfirming,
380
380
  onClick: o[7] || (o[7] = (i) => a(t).requestClose("button", i))
@@ -382,9 +382,9 @@ const ze = ["role", "aria-modal", "aria-label", "aria-labelledby", "aria-describ
382
382
  h(n.$slots, "close-icon", y(m(f.value)), () => [
383
383
  v(a(be), { size: 18 })
384
384
  ], !0)
385
- ], 8, He)) : s("", !0)
385
+ ], 8, He)) : d("", !0)
386
386
  ])
387
- ], 6)) : s("", !0),
387
+ ], 6)) : d("", !0),
388
388
  c("div", {
389
389
  class: T(["hys-ui-dialog-body", e.bodyClass]),
390
390
  style: z(e.bodyStyle)
@@ -397,7 +397,7 @@ const ze = ["role", "aria-modal", "aria-label", "aria-labelledby", "aria-describ
397
397
  }),
398
398
  c("span", null, b(e.loadingText), 1)
399
399
  ], !0)
400
- ])) : s("", !0),
400
+ ])) : d("", !0),
401
401
  p(c("div", De, [
402
402
  e.showIcon ?? e.type !== "default" ? (r(), u("span", {
403
403
  key: 0,
@@ -408,19 +408,19 @@ const ze = ["role", "aria-modal", "aria-label", "aria-labelledby", "aria-describ
408
408
  h(n.$slots, "icon", y(m(f.value)), () => [
409
409
  (r(), C(D(ae.value), { size: 24 }))
410
410
  ], !0)
411
- ], 8, Fe)) : s("", !0),
411
+ ], 8, Fe)) : d("", !0),
412
412
  c("div", Ae, [
413
413
  e.description ? (r(), u("p", {
414
414
  key: 0,
415
415
  id: P,
416
416
  class: "hys-ui-modal-description"
417
- }, b(e.description), 1)) : s("", !0),
417
+ }, b(e.description), 1)) : d("", !0),
418
418
  h(n.$slots, "default", y(m(f.value)), void 0, !0)
419
419
  ])
420
420
  ], 512), [
421
421
  [j, !e.loading]
422
422
  ]),
423
- e.showError && a(t).error.value ? (r(), u("p", Oe, b(a(t).error.value), 1)) : s("", !0)
423
+ e.showError && a(t).error.value ? (r(), u("p", Oe, b(a(t).error.value), 1)) : d("", !0)
424
424
  ], 6),
425
425
  Y.value ? (r(), u("footer", {
426
426
  key: 1,
@@ -432,7 +432,7 @@ const ze = ["role", "aria-modal", "aria-label", "aria-labelledby", "aria-describ
432
432
  ...e.footerStyle,
433
433
  minHeight: a(k)(e.footerHeight) ?? ((M = e.footerStyle) == null ? void 0 : M.minHeight),
434
434
  justifyContent: e.footerAlign === "start" ? "flex-start" : e.footerAlign === "center" || e.center ? "center" : "flex-end",
435
- paddingInlineEnd: e.resizable && !a(d) ? "38px" : void 0
435
+ paddingInlineEnd: e.resizable && !a(s) ? "38px" : void 0
436
436
  })
437
437
  }, [
438
438
  h(n.$slots, "footer", y(m(f.value)), () => {
@@ -449,7 +449,7 @@ const ze = ["role", "aria-modal", "aria-label", "aria-labelledby", "aria-describ
449
449
  F(b(e.cancelText), 1)
450
450
  ]),
451
451
  _: 1
452
- }, 16, ["variant", "size", "disabled", "onClick"])) : s("", !0),
452
+ }, 16, ["variant", "size", "disabled", "onClick"])) : d("", !0),
453
453
  v(R, B(e.okButtonProps, {
454
454
  "data-hys-modal-confirm": "",
455
455
  variant: (($ = e.okButtonProps) == null ? void 0 : $.variant) ?? e.okVariant ?? "primary",
@@ -465,8 +465,8 @@ const ze = ["role", "aria-modal", "aria-label", "aria-labelledby", "aria-describ
465
465
  }, 16, ["variant", "size", "loading", "disabled", "onClick"])
466
466
  ];
467
467
  }, !0)
468
- ], 6)) : s("", !0),
469
- e.resizable && !a(d) ? (r(), u("button", {
468
+ ], 6)) : d("", !0),
469
+ e.resizable && !a(s) ? (r(), u("button", {
470
470
  key: 2,
471
471
  type: "button",
472
472
  class: "hys-ui-modal-resize-handle",
@@ -490,11 +490,11 @@ const ze = ["role", "aria-modal", "aria-label", "aria-labelledby", "aria-describ
490
490
  "stroke-linecap": "round"
491
491
  })
492
492
  ], -1)
493
- ])], 32)) : s("", !0)
493
+ ])], 32)) : d("", !0)
494
494
  ], 16, ze)
495
495
  ], 16)), [
496
496
  [j, a(t).shown.value]
497
- ]) : s("", !0)
497
+ ]) : d("", !0)
498
498
  ];
499
499
  }),
500
500
  _: 3
@@ -1,7 +1,7 @@
1
1
  import o from "./HysSearch2.vue.js";
2
2
  /* empty css */
3
- import a from "../../_virtual/_plugin-vue_export-helper.js";
4
- const p = /* @__PURE__ */ a(o, [["__scopeId", "data-v-b415aa18"]]);
3
+ import r from "../../_virtual/_plugin-vue_export-helper.js";
4
+ const p = /* @__PURE__ */ r(o, [["__scopeId", "data-v-9b26d2a0"]]);
5
5
  export {
6
6
  p as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./HysSortableList2.vue.js";
2
- /* empty css */
2
+ /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.js";
4
- const e = /* @__PURE__ */ t(o, [["__scopeId", "data-v-ed33dba2"]]);
4
+ const e = /* @__PURE__ */ t(o, [["__scopeId", "data-v-e258256c"]]);
5
5
  export {
6
6
  e as default
7
7
  };