hzzt-plus 0.0.8 → 1.0.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 (93) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index.full.js +438 -246
  3. package/dist/index.full.min.js +13 -13
  4. package/dist/index.full.min.js.map +1 -1
  5. package/dist/index.full.min.mjs +13 -13
  6. package/dist/index.full.min.mjs.map +1 -1
  7. package/dist/index.full.mjs +433 -248
  8. package/es/component.mjs +3 -1
  9. package/es/component.mjs.map +1 -1
  10. package/es/components/index.d.ts +1 -0
  11. package/es/components/index.mjs +3 -0
  12. package/es/components/index.mjs.map +1 -1
  13. package/es/components/scan/index.d.ts +5 -0
  14. package/es/components/scan/index.mjs +9 -0
  15. package/es/components/scan/index.mjs.map +1 -0
  16. package/es/components/scan/src/scan.d.ts +15 -0
  17. package/es/components/scan/src/scan.mjs +28 -0
  18. package/es/components/scan/src/scan.mjs.map +1 -0
  19. package/es/components/scan/src/scan.vue.d.ts +572 -0
  20. package/es/components/scan/src/scan2.mjs +149 -0
  21. package/es/components/scan/src/scan2.mjs.map +1 -0
  22. package/es/components/scan/style/css.d.ts +2 -0
  23. package/es/components/scan/style/css.mjs +3 -0
  24. package/es/components/scan/style/css.mjs.map +1 -0
  25. package/es/components/scan/style/index.d.ts +2 -0
  26. package/es/components/scan/style/index.mjs +3 -0
  27. package/es/components/scan/style/index.mjs.map +1 -0
  28. package/es/components/tab/index.d.ts +161 -3
  29. package/es/components/tab/src/index.mjs +19 -4
  30. package/es/components/tab/src/index.mjs.map +1 -1
  31. package/es/components/tab/src/index.vue.d.ts +162 -3
  32. package/es/components/title/index.d.ts +4 -29
  33. package/es/components/title/index.mjs +2 -1
  34. package/es/components/title/index.mjs.map +1 -1
  35. package/es/components/title/src/title.d.ts +8 -0
  36. package/es/components/title/src/title.mjs +8 -43
  37. package/es/components/title/src/title.mjs.map +1 -1
  38. package/es/components/title/src/title.vue.d.ts +7 -16
  39. package/es/components/title/src/title2.mjs +44 -0
  40. package/es/components/title/src/title2.mjs.map +1 -0
  41. package/es/constants/index.d.ts +1 -0
  42. package/es/constants/index.mjs +1 -0
  43. package/es/constants/index.mjs.map +1 -1
  44. package/es/index.mjs +4 -0
  45. package/es/index.mjs.map +1 -1
  46. package/global.d.ts +1 -0
  47. package/lib/component.js +3 -1
  48. package/lib/component.js.map +1 -1
  49. package/lib/components/index.d.ts +1 -0
  50. package/lib/components/index.js +7 -0
  51. package/lib/components/index.js.map +1 -1
  52. package/lib/components/scan/index.d.ts +5 -0
  53. package/lib/components/scan/index.js +16 -0
  54. package/lib/components/scan/index.js.map +1 -0
  55. package/lib/components/scan/src/scan.d.ts +15 -0
  56. package/lib/components/scan/src/scan.js +33 -0
  57. package/lib/components/scan/src/scan.js.map +1 -0
  58. package/lib/components/scan/src/scan.vue.d.ts +572 -0
  59. package/lib/components/scan/src/scan2.js +153 -0
  60. package/lib/components/scan/src/scan2.js.map +1 -0
  61. package/lib/components/scan/style/css.d.ts +2 -0
  62. package/lib/components/scan/style/css.js +6 -0
  63. package/lib/components/scan/style/css.js.map +1 -0
  64. package/lib/components/scan/style/index.d.ts +2 -0
  65. package/lib/components/scan/style/index.js +6 -0
  66. package/lib/components/scan/style/index.js.map +1 -0
  67. package/lib/components/tab/index.d.ts +161 -3
  68. package/lib/components/tab/src/index.js +18 -3
  69. package/lib/components/tab/src/index.js.map +1 -1
  70. package/lib/components/tab/src/index.vue.d.ts +162 -3
  71. package/lib/components/title/index.d.ts +4 -29
  72. package/lib/components/title/index.js +3 -1
  73. package/lib/components/title/index.js.map +1 -1
  74. package/lib/components/title/src/title.d.ts +8 -0
  75. package/lib/components/title/src/title.js +8 -43
  76. package/lib/components/title/src/title.js.map +1 -1
  77. package/lib/components/title/src/title.vue.d.ts +7 -16
  78. package/lib/components/title/src/title2.js +48 -0
  79. package/lib/components/title/src/title2.js.map +1 -0
  80. package/lib/constants/index.d.ts +1 -0
  81. package/lib/constants/index.js +4 -0
  82. package/lib/constants/index.js.map +1 -1
  83. package/lib/index.js +37 -26
  84. package/lib/index.js.map +1 -1
  85. package/package.json +1 -1
  86. package/theme/hzzt-collapse.css +1 -1
  87. package/theme/hzzt-scan.css +1 -0
  88. package/theme/hzzt-tab.css +1 -1
  89. package/theme/index.css +1 -1
  90. package/theme/src/collapse.scss +1 -0
  91. package/theme/src/index.scss +1 -0
  92. package/theme/src/scan.scss +80 -0
  93. package/theme/src/tab.scss +24 -6
@@ -1,6 +1,6 @@
1
1
  /*! Hzzt Plus v0.0.1 */
2
2
 
3
- import { getCurrentScope, onScopeDispose, unref, getCurrentInstance, onMounted, nextTick, watch, ref, defineComponent, openBlock, createElementBlock, createElementVNode, warn, computed, isRef, inject, provide, renderSlot, useSlots, createCommentVNode, createTextVNode, toDisplayString, shallowRef, onBeforeUnmount, onBeforeMount, mergeProps, toRef, onUnmounted, useAttrs as useAttrs$1, Fragment, normalizeClass, createBlock, withCtx, resolveDynamicComponent, withModifiers, createVNode, normalizeStyle, Transition, withDirectives, vShow, reactive, onActivated, onUpdated, cloneVNode, Text, Comment, Teleport as Teleport$1, readonly, onDeactivated, withKeys, toRaw, toRefs, watchEffect, resolveComponent, resolveDirective, toHandlerKey, renderList, vModelText, normalizeProps, guardReactiveProps } from 'vue';
3
+ import { getCurrentScope, onScopeDispose, unref, getCurrentInstance, onMounted, nextTick, watch, ref, defineComponent, openBlock, createElementBlock, createElementVNode, warn, computed, isRef, inject, provide, renderSlot, shallowRef, onBeforeUnmount, onBeforeMount, mergeProps, toRef, onUnmounted, useAttrs as useAttrs$1, useSlots, createCommentVNode, Fragment, normalizeClass, createBlock, withCtx, resolveDynamicComponent, withModifiers, createVNode, toDisplayString, normalizeStyle, Transition, withDirectives, vShow, reactive, onActivated, onUpdated, cloneVNode, Text, Comment, Teleport as Teleport$1, readonly, onDeactivated, withKeys, toRaw, toRefs, watchEffect, resolveComponent, resolveDirective, toHandlerKey, renderList, createTextVNode, vModelText, normalizeProps, guardReactiveProps, createSlots } from 'vue';
4
4
 
5
5
  var _a;
6
6
  const isClient = typeof window !== "undefined";
@@ -12660,6 +12660,10 @@ const WEEK_DAYS = [
12660
12660
  "sat"
12661
12661
  ];
12662
12662
 
12663
+ const UPDATE_MODEL_EVENT$1 = "update:modelValue";
12664
+ const CHANGE_EVENT$1 = "change";
12665
+ const INPUT_EVENT$1 = "input";
12666
+
12663
12667
  var English$1 = {
12664
12668
  name: "en",
12665
12669
  hzzt: {
@@ -12890,59 +12894,6 @@ const makeInstaller = (components = []) => {
12890
12894
  };
12891
12895
  };
12892
12896
 
12893
- var _export_sfc$1 = (sfc, props) => {
12894
- const target = sfc.__vccOpts || sfc;
12895
- for (const [key, val] of props) {
12896
- target[key] = val;
12897
- }
12898
- return target;
12899
- };
12900
-
12901
- const _hoisted_1$8 = {
12902
- key: 0,
12903
- class: "hzzt-title flex align-items-center"
12904
- };
12905
- const _hoisted_2$7 = {
12906
- key: 0,
12907
- class: "decorative-line"
12908
- };
12909
- const _hoisted_3$7 = { class: "label-name" };
12910
- const __default__$o = defineComponent({
12911
- name: "HzztTitle"
12912
- });
12913
- const _sfc_main$z = /* @__PURE__ */ defineComponent({
12914
- ...__default__$o,
12915
- props: {
12916
- label: String,
12917
- sideline: {
12918
- type: Boolean,
12919
- default: true
12920
- }
12921
- },
12922
- setup(__props) {
12923
- const props = __props;
12924
- const slots = useSlots();
12925
- const showLabel = computed(() => {
12926
- var _a, _b, _c;
12927
- return props.label || ((_c = (_b = (_a = slots == null ? void 0 : slots.default) == null ? void 0 : _a.call(slots)) == null ? void 0 : _b[0]) == null ? void 0 : _c.children);
12928
- });
12929
- return (_ctx, _cache) => {
12930
- return unref(showLabel) ? (openBlock(), createElementBlock("div", _hoisted_1$8, [
12931
- __props.sideline ? (openBlock(), createElementBlock("span", _hoisted_2$7)) : createCommentVNode("v-if", true),
12932
- renderSlot(_ctx.$slots, "before"),
12933
- createElementVNode("label", _hoisted_3$7, [
12934
- renderSlot(_ctx.$slots, "default", {}, () => [
12935
- createTextVNode(toDisplayString(__props.label), 1)
12936
- ])
12937
- ])
12938
- ])) : createCommentVNode("v-if", true);
12939
- };
12940
- }
12941
- });
12942
- var Title = /* @__PURE__ */ _export_sfc$1(_sfc_main$z, [["__file", "title.vue"]]);
12943
-
12944
- const HzztTitle = withInstall$1(Title);
12945
-
12946
12897
  const composeEventHandlers = (theirsHandler, oursHandler, { checkForDefaultPrevented = true } = {}) => {
12947
12898
  const handleEvent = (event) => {
12948
12899
  const shouldPrevent = theirsHandler == null ? void 0 : theirsHandler(event);
@@ -14030,7 +13981,7 @@ function useGlobalConfig(key, defaultValue = void 0) {
14030
13981
  }
14031
13982
  }
14032
13983
 
14033
- var _export_sfc = (sfc, props) => {
13984
+ var _export_sfc$1 = (sfc, props) => {
14034
13985
  const target = sfc.__vccOpts || sfc;
14035
13986
  for (const [key, val] of props) {
14036
13987
  target[key] = val;
@@ -14047,12 +13998,12 @@ const iconProps = buildProps({
14047
13998
  }
14048
13999
  });
14049
14000
 
14050
- const __default__$n = defineComponent({
14001
+ const __default__$p = defineComponent({
14051
14002
  name: "ElIcon",
14052
14003
  inheritAttrs: false
14053
14004
  });
14054
- const _sfc_main$y = /* @__PURE__ */ defineComponent({
14055
- ...__default__$n,
14005
+ const _sfc_main$A = /* @__PURE__ */ defineComponent({
14006
+ ...__default__$p,
14056
14007
  props: iconProps,
14057
14008
  setup(__props) {
14058
14009
  const props = __props;
@@ -14076,7 +14027,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
14076
14027
  };
14077
14028
  }
14078
14029
  });
14079
- var Icon = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__file", "icon.vue"]]);
14030
+ var Icon = /* @__PURE__ */ _export_sfc$1(_sfc_main$A, [["__file", "icon.vue"]]);
14080
14031
 
14081
14032
  const ElIcon = withInstall(Icon);
14082
14033
 
@@ -14319,12 +14270,12 @@ const inputEmits = {
14319
14270
  compositionend: (evt) => evt instanceof CompositionEvent
14320
14271
  };
14321
14272
 
14322
- const __default__$m = defineComponent({
14273
+ const __default__$o = defineComponent({
14323
14274
  name: "ElInput",
14324
14275
  inheritAttrs: false
14325
14276
  });
14326
- const _sfc_main$x = /* @__PURE__ */ defineComponent({
14327
- ...__default__$m,
14277
+ const _sfc_main$z = /* @__PURE__ */ defineComponent({
14278
+ ...__default__$o,
14328
14279
  props: inputProps,
14329
14280
  emits: inputEmits,
14330
14281
  setup(__props, { expose, emit }) {
@@ -14741,7 +14692,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
14741
14692
  };
14742
14693
  }
14743
14694
  });
14744
- var Input = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__file", "input.vue"]]);
14695
+ var Input = /* @__PURE__ */ _export_sfc$1(_sfc_main$z, [["__file", "input.vue"]]);
14745
14696
 
14746
14697
  const ElInput = withInstall(Input);
14747
14698
 
@@ -14791,7 +14742,7 @@ const thumbProps = buildProps({
14791
14742
  });
14792
14743
 
14793
14744
  const COMPONENT_NAME$2 = "Thumb";
14794
- const _sfc_main$w = /* @__PURE__ */ defineComponent({
14745
+ const _sfc_main$y = /* @__PURE__ */ defineComponent({
14795
14746
  __name: "thumb",
14796
14747
  props: thumbProps,
14797
14748
  setup(__props) {
@@ -14910,7 +14861,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
14910
14861
  };
14911
14862
  }
14912
14863
  });
14913
- var Thumb = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__file", "thumb.vue"]]);
14864
+ var Thumb = /* @__PURE__ */ _export_sfc$1(_sfc_main$y, [["__file", "thumb.vue"]]);
14914
14865
 
14915
14866
  const barProps = buildProps({
14916
14867
  always: {
@@ -14923,7 +14874,7 @@ const barProps = buildProps({
14923
14874
  }
14924
14875
  });
14925
14876
 
14926
- const _sfc_main$v = /* @__PURE__ */ defineComponent({
14877
+ const _sfc_main$x = /* @__PURE__ */ defineComponent({
14927
14878
  __name: "bar",
14928
14879
  props: barProps,
14929
14880
  setup(__props, { expose }) {
@@ -14981,7 +14932,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
14981
14932
  };
14982
14933
  }
14983
14934
  });
14984
- var Bar = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__file", "bar.vue"]]);
14935
+ var Bar = /* @__PURE__ */ _export_sfc$1(_sfc_main$x, [["__file", "bar.vue"]]);
14985
14936
 
14986
14937
  const scrollbarProps = buildProps({
14987
14938
  height: {
@@ -15034,11 +14985,11 @@ const scrollbarEmits = {
15034
14985
  };
15035
14986
 
15036
14987
  const COMPONENT_NAME$1 = "ElScrollbar";
15037
- const __default__$l = defineComponent({
14988
+ const __default__$n = defineComponent({
15038
14989
  name: COMPONENT_NAME$1
15039
14990
  });
15040
- const _sfc_main$u = /* @__PURE__ */ defineComponent({
15041
- ...__default__$l,
14991
+ const _sfc_main$w = /* @__PURE__ */ defineComponent({
14992
+ ...__default__$n,
15042
14993
  props: scrollbarProps,
15043
14994
  emits: scrollbarEmits,
15044
14995
  setup(__props, { expose, emit }) {
@@ -15187,7 +15138,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
15187
15138
  };
15188
15139
  }
15189
15140
  });
15190
- var Scrollbar = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__file", "scrollbar.vue"]]);
15141
+ var Scrollbar = /* @__PURE__ */ _export_sfc$1(_sfc_main$w, [["__file", "scrollbar.vue"]]);
15191
15142
 
15192
15143
  const ElScrollbar = withInstall(Scrollbar);
15193
15144
 
@@ -15212,12 +15163,12 @@ const popperProps = buildProps({
15212
15163
  }
15213
15164
  });
15214
15165
 
15215
- const __default__$k = defineComponent({
15166
+ const __default__$m = defineComponent({
15216
15167
  name: "ElPopper",
15217
15168
  inheritAttrs: false
15218
15169
  });
15219
- const _sfc_main$t = /* @__PURE__ */ defineComponent({
15220
- ...__default__$k,
15170
+ const _sfc_main$v = /* @__PURE__ */ defineComponent({
15171
+ ...__default__$m,
15221
15172
  props: popperProps,
15222
15173
  setup(__props, { expose }) {
15223
15174
  const props = __props;
@@ -15240,7 +15191,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
15240
15191
  };
15241
15192
  }
15242
15193
  });
15243
- var Popper = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__file", "popper.vue"]]);
15194
+ var Popper = /* @__PURE__ */ _export_sfc$1(_sfc_main$v, [["__file", "popper.vue"]]);
15244
15195
 
15245
15196
  const popperArrowProps = buildProps({
15246
15197
  arrowOffset: {
@@ -15249,12 +15200,12 @@ const popperArrowProps = buildProps({
15249
15200
  }
15250
15201
  });
15251
15202
 
15252
- const __default__$j = defineComponent({
15203
+ const __default__$l = defineComponent({
15253
15204
  name: "ElPopperArrow",
15254
15205
  inheritAttrs: false
15255
15206
  });
15256
- const _sfc_main$s = /* @__PURE__ */ defineComponent({
15257
- ...__default__$j,
15207
+ const _sfc_main$u = /* @__PURE__ */ defineComponent({
15208
+ ...__default__$l,
15258
15209
  props: popperArrowProps,
15259
15210
  setup(__props, { expose }) {
15260
15211
  const props = __props;
@@ -15280,7 +15231,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
15280
15231
  };
15281
15232
  }
15282
15233
  });
15283
- var ElPopperArrow = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__file", "arrow.vue"]]);
15234
+ var ElPopperArrow = /* @__PURE__ */ _export_sfc$1(_sfc_main$u, [["__file", "arrow.vue"]]);
15284
15235
 
15285
15236
  const NAME = "ElOnlyChild";
15286
15237
  const OnlyChild = defineComponent({
@@ -15367,12 +15318,12 @@ const popperTriggerProps = buildProps({
15367
15318
  open: Boolean
15368
15319
  });
15369
15320
 
15370
- const __default__$i = defineComponent({
15321
+ const __default__$k = defineComponent({
15371
15322
  name: "ElPopperTrigger",
15372
15323
  inheritAttrs: false
15373
15324
  });
15374
- const _sfc_main$r = /* @__PURE__ */ defineComponent({
15375
- ...__default__$i,
15325
+ const _sfc_main$t = /* @__PURE__ */ defineComponent({
15326
+ ...__default__$k,
15376
15327
  props: popperTriggerProps,
15377
15328
  setup(__props, { expose }) {
15378
15329
  const props = __props;
@@ -15481,7 +15432,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
15481
15432
  };
15482
15433
  }
15483
15434
  });
15484
- var ElPopperTrigger = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__file", "trigger.vue"]]);
15435
+ var ElPopperTrigger = /* @__PURE__ */ _export_sfc$1(_sfc_main$t, [["__file", "trigger.vue"]]);
15485
15436
 
15486
15437
  const FOCUS_AFTER_TRAPPED = "focus-trap.focus-after-trapped";
15487
15438
  const FOCUS_AFTER_RELEASED = "focus-trap.focus-after-released";
@@ -15631,7 +15582,7 @@ const createFocusOutPreventedEvent = (detail) => {
15631
15582
  });
15632
15583
  };
15633
15584
 
15634
- const _sfc_main$q = defineComponent({
15585
+ const _sfc_main$s = defineComponent({
15635
15586
  name: "ElFocusTrap",
15636
15587
  inheritAttrs: false,
15637
15588
  props: {
@@ -15876,7 +15827,7 @@ const _sfc_main$q = defineComponent({
15876
15827
  function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
15877
15828
  return renderSlot(_ctx.$slots, "default", { handleKeydown: _ctx.onKeydown });
15878
15829
  }
15879
- var ElFocusTrap = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$6], ["__file", "focus-trap.vue"]]);
15830
+ var ElFocusTrap = /* @__PURE__ */ _export_sfc$1(_sfc_main$s, [["render", _sfc_render$6], ["__file", "focus-trap.vue"]]);
15880
15831
 
15881
15832
  const POSITIONING_STRATEGIES = ["fixed", "absolute"];
15882
15833
  const popperCoreConfigProps = buildProps({
@@ -16164,11 +16115,11 @@ const usePopperContentFocusTrap = (props, emit) => {
16164
16115
  };
16165
16116
  };
16166
16117
 
16167
- const __default__$h = defineComponent({
16118
+ const __default__$j = defineComponent({
16168
16119
  name: "ElPopperContent"
16169
16120
  });
16170
- const _sfc_main$p = /* @__PURE__ */ defineComponent({
16171
- ...__default__$h,
16121
+ const _sfc_main$r = /* @__PURE__ */ defineComponent({
16122
+ ...__default__$j,
16172
16123
  props: popperContentProps,
16173
16124
  emits: popperContentEmits,
16174
16125
  setup(__props, { expose, emit }) {
@@ -16284,7 +16235,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
16284
16235
  };
16285
16236
  }
16286
16237
  });
16287
- var ElPopperContent = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__file", "content.vue"]]);
16238
+ var ElPopperContent = /* @__PURE__ */ _export_sfc$1(_sfc_main$r, [["__file", "content.vue"]]);
16288
16239
 
16289
16240
  const ElPopper = withInstall(Popper);
16290
16241
 
@@ -16366,11 +16317,11 @@ const whenTrigger = (trigger, type, handler) => {
16366
16317
  };
16367
16318
  };
16368
16319
 
16369
- const __default__$g = defineComponent({
16320
+ const __default__$i = defineComponent({
16370
16321
  name: "ElTooltipTrigger"
16371
16322
  });
16372
- const _sfc_main$o = /* @__PURE__ */ defineComponent({
16373
- ...__default__$g,
16323
+ const _sfc_main$q = /* @__PURE__ */ defineComponent({
16324
+ ...__default__$i,
16374
16325
  props: useTooltipTriggerProps,
16375
16326
  setup(__props, { expose }) {
16376
16327
  const props = __props;
@@ -16429,7 +16380,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
16429
16380
  };
16430
16381
  }
16431
16382
  });
16432
- var ElTooltipTrigger = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__file", "trigger.vue"]]);
16383
+ var ElTooltipTrigger = /* @__PURE__ */ _export_sfc$1(_sfc_main$q, [["__file", "trigger.vue"]]);
16433
16384
 
16434
16385
  const teleportProps = buildProps({
16435
16386
  to: {
@@ -16439,7 +16390,7 @@ const teleportProps = buildProps({
16439
16390
  disabled: Boolean
16440
16391
  });
16441
16392
 
16442
- const _sfc_main$n = /* @__PURE__ */ defineComponent({
16393
+ const _sfc_main$p = /* @__PURE__ */ defineComponent({
16443
16394
  __name: "teleport",
16444
16395
  props: teleportProps,
16445
16396
  setup(__props) {
@@ -16453,16 +16404,16 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
16453
16404
  };
16454
16405
  }
16455
16406
  });
16456
- var Teleport = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__file", "teleport.vue"]]);
16407
+ var Teleport = /* @__PURE__ */ _export_sfc$1(_sfc_main$p, [["__file", "teleport.vue"]]);
16457
16408
 
16458
16409
  const ElTeleport = withInstall(Teleport);
16459
16410
 
16460
- const __default__$f = defineComponent({
16411
+ const __default__$h = defineComponent({
16461
16412
  name: "ElTooltipContent",
16462
16413
  inheritAttrs: false
16463
16414
  });
16464
- const _sfc_main$m = /* @__PURE__ */ defineComponent({
16465
- ...__default__$f,
16415
+ const _sfc_main$o = /* @__PURE__ */ defineComponent({
16416
+ ...__default__$h,
16466
16417
  props: useTooltipContentProps,
16467
16418
  setup(__props, { expose }) {
16468
16419
  const props = __props;
@@ -16622,13 +16573,13 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
16622
16573
  };
16623
16574
  }
16624
16575
  });
16625
- var ElTooltipContent = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__file", "content.vue"]]);
16576
+ var ElTooltipContent = /* @__PURE__ */ _export_sfc$1(_sfc_main$o, [["__file", "content.vue"]]);
16626
16577
 
16627
- const __default__$e = defineComponent({
16578
+ const __default__$g = defineComponent({
16628
16579
  name: "ElTooltip"
16629
16580
  });
16630
- const _sfc_main$l = /* @__PURE__ */ defineComponent({
16631
- ...__default__$e,
16581
+ const _sfc_main$n = /* @__PURE__ */ defineComponent({
16582
+ ...__default__$g,
16632
16583
  props: useTooltipProps,
16633
16584
  emits: tooltipEmits,
16634
16585
  setup(__props, { expose, emit }) {
@@ -16780,7 +16731,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
16780
16731
  };
16781
16732
  }
16782
16733
  });
16783
- var Tooltip$1 = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__file", "tooltip.vue"]]);
16734
+ var Tooltip$1 = /* @__PURE__ */ _export_sfc$1(_sfc_main$n, [["__file", "tooltip.vue"]]);
16784
16735
 
16785
16736
  const ElTooltip = withInstall(Tooltip$1);
16786
16737
 
@@ -17847,11 +17798,11 @@ function useButtonCustomStyle(props) {
17847
17798
  });
17848
17799
  }
17849
17800
 
17850
- const __default__$d = defineComponent({
17801
+ const __default__$f = defineComponent({
17851
17802
  name: "ElButton"
17852
17803
  });
17853
- const _sfc_main$k = /* @__PURE__ */ defineComponent({
17854
- ...__default__$d,
17804
+ const _sfc_main$m = /* @__PURE__ */ defineComponent({
17805
+ ...__default__$f,
17855
17806
  props: buttonProps,
17856
17807
  emits: buttonEmits,
17857
17808
  setup(__props, { expose, emit }) {
@@ -17917,18 +17868,18 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
17917
17868
  };
17918
17869
  }
17919
17870
  });
17920
- var Button = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__file", "button.vue"]]);
17871
+ var Button = /* @__PURE__ */ _export_sfc$1(_sfc_main$m, [["__file", "button.vue"]]);
17921
17872
 
17922
17873
  const buttonGroupProps = {
17923
17874
  size: buttonProps.size,
17924
17875
  type: buttonProps.type
17925
17876
  };
17926
17877
 
17927
- const __default__$c = defineComponent({
17878
+ const __default__$e = defineComponent({
17928
17879
  name: "ElButtonGroup"
17929
17880
  });
17930
- const _sfc_main$j = /* @__PURE__ */ defineComponent({
17931
- ...__default__$c,
17881
+ const _sfc_main$l = /* @__PURE__ */ defineComponent({
17882
+ ...__default__$e,
17932
17883
  props: buttonGroupProps,
17933
17884
  setup(__props) {
17934
17885
  const props = __props;
@@ -17946,7 +17897,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
17946
17897
  };
17947
17898
  }
17948
17899
  });
17949
- var ButtonGroup = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__file", "button-group.vue"]]);
17900
+ var ButtonGroup = /* @__PURE__ */ _export_sfc$1(_sfc_main$l, [["__file", "button-group.vue"]]);
17950
17901
 
17951
17902
  const ElButton = withInstall(Button, {
17952
17903
  ButtonGroup
@@ -18086,11 +18037,11 @@ const tagEmits = {
18086
18037
  click: (evt) => evt instanceof MouseEvent
18087
18038
  };
18088
18039
 
18089
- const __default__$b = defineComponent({
18040
+ const __default__$d = defineComponent({
18090
18041
  name: "ElTag"
18091
18042
  });
18092
- const _sfc_main$i = /* @__PURE__ */ defineComponent({
18093
- ...__default__$b,
18043
+ const _sfc_main$k = /* @__PURE__ */ defineComponent({
18044
+ ...__default__$d,
18094
18045
  props: tagProps,
18095
18046
  emits: tagEmits,
18096
18047
  setup(__props, { emit }) {
@@ -18174,26 +18125,26 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
18174
18125
  };
18175
18126
  }
18176
18127
  });
18177
- var Tag = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__file", "tag.vue"]]);
18128
+ var Tag = /* @__PURE__ */ _export_sfc$1(_sfc_main$k, [["__file", "tag.vue"]]);
18178
18129
 
18179
18130
  const ElTag = withInstall(Tag);
18180
18131
 
18181
- const _sfc_main$h = /* @__PURE__ */ defineComponent({
18132
+ const _sfc_main$j = /* @__PURE__ */ defineComponent({
18182
18133
  inheritAttrs: false
18183
18134
  });
18184
18135
  function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
18185
18136
  return renderSlot(_ctx.$slots, "default");
18186
18137
  }
18187
- var Collection = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$5], ["__file", "collection.vue"]]);
18138
+ var Collection = /* @__PURE__ */ _export_sfc$1(_sfc_main$j, [["render", _sfc_render$5], ["__file", "collection.vue"]]);
18188
18139
 
18189
- const _sfc_main$g = /* @__PURE__ */ defineComponent({
18140
+ const _sfc_main$i = /* @__PURE__ */ defineComponent({
18190
18141
  name: "ElCollectionItem",
18191
18142
  inheritAttrs: false
18192
18143
  });
18193
18144
  function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
18194
18145
  return renderSlot(_ctx.$slots, "default");
18195
18146
  }
18196
- var CollectionItem = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$4], ["__file", "collection-item.vue"]]);
18147
+ var CollectionItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$i, [["render", _sfc_render$4], ["__file", "collection-item.vue"]]);
18197
18148
 
18198
18149
  const COLLECTION_ITEM_SIGN = `data-el-collection-item`;
18199
18150
  const createCollectionWithScope = (name) => {
@@ -18394,11 +18345,11 @@ const inputNumberEmits = {
18394
18345
  [UPDATE_MODEL_EVENT]: (val) => isNumber(val) || isNil(val)
18395
18346
  };
18396
18347
 
18397
- const __default__$a = defineComponent({
18348
+ const __default__$c = defineComponent({
18398
18349
  name: "ElInputNumber"
18399
18350
  });
18400
- const _sfc_main$f = /* @__PURE__ */ defineComponent({
18401
- ...__default__$a,
18351
+ const _sfc_main$h = /* @__PURE__ */ defineComponent({
18352
+ ...__default__$c,
18402
18353
  props: inputNumberProps,
18403
18354
  emits: inputNumberEmits,
18404
18355
  setup(__props, { expose, emit }) {
@@ -18703,7 +18654,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
18703
18654
  };
18704
18655
  }
18705
18656
  });
18706
- var InputNumber = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__file", "input-number.vue"]]);
18657
+ var InputNumber = /* @__PURE__ */ _export_sfc$1(_sfc_main$h, [["__file", "input-number.vue"]]);
18707
18658
 
18708
18659
  const ElInputNumber = withInstall(InputNumber);
18709
18660
 
@@ -18785,7 +18736,7 @@ function useOption(props, states) {
18785
18736
  };
18786
18737
  }
18787
18738
 
18788
- const _sfc_main$e = defineComponent({
18739
+ const _sfc_main$g = defineComponent({
18789
18740
  name: "ElOption",
18790
18741
  componentName: "ElOption",
18791
18742
  props: {
@@ -18876,9 +18827,9 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
18876
18827
  [vShow, _ctx.visible]
18877
18828
  ]);
18878
18829
  }
18879
- var Option = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render", _sfc_render$3], ["__file", "option.vue"]]);
18830
+ var Option = /* @__PURE__ */ _export_sfc$1(_sfc_main$g, [["render", _sfc_render$3], ["__file", "option.vue"]]);
18880
18831
 
18881
- const _sfc_main$d = defineComponent({
18832
+ const _sfc_main$f = defineComponent({
18882
18833
  name: "ElSelectDropdown",
18883
18834
  componentName: "ElSelectDropdown",
18884
18835
  setup() {
@@ -18925,7 +18876,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
18925
18876
  ], 2)) : createCommentVNode("v-if", true)
18926
18877
  ], 6);
18927
18878
  }
18928
- var ElSelectMenu = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_render$2], ["__file", "select-dropdown.vue"]]);
18879
+ var ElSelectMenu = /* @__PURE__ */ _export_sfc$1(_sfc_main$f, [["render", _sfc_render$2], ["__file", "select-dropdown.vue"]]);
18929
18880
 
18930
18881
  const MINIMUM_INPUT_WIDTH = 11;
18931
18882
  const useSelect = (props, emit) => {
@@ -19684,7 +19635,7 @@ const SelectProps = buildProps({
19684
19635
  });
19685
19636
 
19686
19637
  const COMPONENT_NAME = "ElSelect";
19687
- const _sfc_main$c = defineComponent({
19638
+ const _sfc_main$e = defineComponent({
19688
19639
  name: COMPONENT_NAME,
19689
19640
  componentName: COMPONENT_NAME,
19690
19641
  components: {
@@ -20077,9 +20028,9 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
20077
20028
  [_directive_click_outside, _ctx.handleClickOutside, _ctx.popperRef]
20078
20029
  ]);
20079
20030
  }
20080
- var Select = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", _sfc_render$1], ["__file", "select.vue"]]);
20031
+ var Select = /* @__PURE__ */ _export_sfc$1(_sfc_main$e, [["render", _sfc_render$1], ["__file", "select.vue"]]);
20081
20032
 
20082
- const _sfc_main$b = defineComponent({
20033
+ const _sfc_main$d = defineComponent({
20083
20034
  name: "ElOptionGroup",
20084
20035
  componentName: "ElOptionGroup",
20085
20036
  props: {
@@ -20151,7 +20102,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
20151
20102
  [vShow, _ctx.visible]
20152
20103
  ]);
20153
20104
  }
20154
- var OptionGroup = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render], ["__file", "option-group.vue"]]);
20105
+ var OptionGroup = /* @__PURE__ */ _export_sfc$1(_sfc_main$d, [["render", _sfc_render], ["__file", "option-group.vue"]]);
20155
20106
 
20156
20107
  const ElSelect = withInstall(Select, {
20157
20108
  Option,
@@ -20222,11 +20173,11 @@ const popoverEmits = {
20222
20173
  };
20223
20174
 
20224
20175
  const updateEventKeyRaw = `onUpdate:visible`;
20225
- const __default__$9 = defineComponent({
20176
+ const __default__$b = defineComponent({
20226
20177
  name: "ElPopover"
20227
20178
  });
20228
- const _sfc_main$a = /* @__PURE__ */ defineComponent({
20229
- ...__default__$9,
20179
+ const _sfc_main$c = /* @__PURE__ */ defineComponent({
20180
+ ...__default__$b,
20230
20181
  props: popoverProps,
20231
20182
  emits: popoverEmits,
20232
20183
  setup(__props, { expose, emit }) {
@@ -20325,7 +20276,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
20325
20276
  };
20326
20277
  }
20327
20278
  });
20328
- var Popover = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__file", "popover.vue"]]);
20279
+ var Popover = /* @__PURE__ */ _export_sfc$1(_sfc_main$c, [["__file", "popover.vue"]]);
20329
20280
 
20330
20281
  const attachEvents = (el, binding) => {
20331
20282
  const popperComponent = binding.arg || binding.value;
@@ -20349,18 +20300,26 @@ const ElPopover = withInstall(Popover, {
20349
20300
  directive: ElPopoverDirective
20350
20301
  });
20351
20302
 
20352
- const _hoisted_1$7 = ["onClick"];
20353
- const _hoisted_2$6 = { class: "hzzt-dropdown-name" };
20354
- const _hoisted_3$6 = /* @__PURE__ */ createElementVNode("span", { class: "caret" }, null, -1);
20303
+ var _export_sfc = (sfc, props) => {
20304
+ const target = sfc.__vccOpts || sfc;
20305
+ for (const [key, val] of props) {
20306
+ target[key] = val;
20307
+ }
20308
+ return target;
20309
+ };
20310
+
20311
+ const _hoisted_1$9 = ["onClick"];
20312
+ const _hoisted_2$8 = { class: "hzzt-dropdown-name" };
20313
+ const _hoisted_3$7 = /* @__PURE__ */ createElementVNode("span", { class: "caret" }, null, -1);
20355
20314
  const _hoisted_4$5 = { class: "hzzt-dropdown-menu" };
20356
20315
  const _hoisted_5$3 = ["onClick"];
20357
20316
  const _hoisted_6$3 = { class: "submenu" };
20358
20317
  const _hoisted_7$3 = ["onClick"];
20359
- const __default__$8 = defineComponent({
20318
+ const __default__$a = defineComponent({
20360
20319
  name: "HzztDropDown"
20361
20320
  });
20362
- const _sfc_main$9 = /* @__PURE__ */ defineComponent({
20363
- ...__default__$8,
20321
+ const _sfc_main$b = /* @__PURE__ */ defineComponent({
20322
+ ...__default__$a,
20364
20323
  props: {
20365
20324
  options: {
20366
20325
  type: Array,
@@ -20415,8 +20374,8 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
20415
20374
  createElementVNode("li", {
20416
20375
  class: normalizeClass({ "hzzt-dropdown-li": true, "hzzt-dropdown-li-show": toggle.value })
20417
20376
  }, [
20418
- createElementVNode("span", _hoisted_2$6, toDisplayString(__props.label), 1),
20419
- _hoisted_3$6,
20377
+ createElementVNode("span", _hoisted_2$8, toDisplayString(__props.label), 1),
20378
+ _hoisted_3$7,
20420
20379
  createElementVNode("ul", _hoisted_4$5, [
20421
20380
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.options, (option, index) => {
20422
20381
  return openBlock(), createElementBlock(Fragment, null, [
@@ -20463,19 +20422,19 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
20463
20422
  }), 256))
20464
20423
  ])
20465
20424
  ], 2)
20466
- ], 8, _hoisted_1$7)), [
20425
+ ], 8, _hoisted_1$9)), [
20467
20426
  [unref(ClickOutside), close]
20468
20427
  ]);
20469
20428
  };
20470
20429
  }
20471
20430
  });
20472
- var Dropdown = /* @__PURE__ */ _export_sfc$1(_sfc_main$9, [["__file", "index.vue"]]);
20431
+ var Dropdown = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__file", "index.vue"]]);
20473
20432
 
20474
20433
  const HzztDropdown = withInstall$1(Dropdown);
20475
20434
 
20476
- const _hoisted_1$6 = { class: "hzzt-collapse" };
20477
- const _hoisted_2$5 = { class: "flex align-items-center" };
20478
- const _hoisted_3$5 = { class: "hzzt-collapse-title-wrapper" };
20435
+ const _hoisted_1$8 = { class: "hzzt-collapse" };
20436
+ const _hoisted_2$7 = { class: "flex align-items-center" };
20437
+ const _hoisted_3$6 = { class: "hzzt-collapse-title-wrapper" };
20479
20438
  const _hoisted_4$4 = /* @__PURE__ */ createElementVNode("div", { class: "hzzt-collapse-title-block" }, null, -1);
20480
20439
  const _hoisted_5$2 = { class: "hzzt-collapse-title" };
20481
20440
  const _hoisted_6$2 = /* @__PURE__ */ createElementVNode("div", { class: "hzzt-collapse-line" }, null, -1);
@@ -20483,11 +20442,11 @@ const _hoisted_7$2 = {
20483
20442
  key: 0,
20484
20443
  class: "hzzt-collapse-text"
20485
20444
  };
20486
- const __default__$7 = defineComponent({
20445
+ const __default__$9 = defineComponent({
20487
20446
  name: "HzztCollapse"
20488
20447
  });
20489
- const _sfc_main$8 = /* @__PURE__ */ defineComponent({
20490
- ...__default__$7,
20448
+ const _sfc_main$a = /* @__PURE__ */ defineComponent({
20449
+ ...__default__$9,
20491
20450
  props: {
20492
20451
  defaultActive: {
20493
20452
  type: Boolean,
@@ -20513,13 +20472,13 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
20513
20472
  active.value = !active.value;
20514
20473
  }
20515
20474
  return (_ctx, _cache) => {
20516
- return openBlock(), createElementBlock("div", _hoisted_1$6, [
20475
+ return openBlock(), createElementBlock("div", _hoisted_1$8, [
20517
20476
  createElementVNode("div", {
20518
20477
  class: "hzzt-collapse-header",
20519
20478
  onClick: toggle
20520
20479
  }, [
20521
- createElementVNode("div", _hoisted_2$5, [
20522
- createElementVNode("div", _hoisted_3$5, [
20480
+ createElementVNode("div", _hoisted_2$7, [
20481
+ createElementVNode("div", _hoisted_3$6, [
20523
20482
  _hoisted_4$4,
20524
20483
  createElementVNode("div", _hoisted_5$2, toDisplayString(__props.title), 1)
20525
20484
  ]),
@@ -20533,13 +20492,41 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
20533
20492
  };
20534
20493
  }
20535
20494
  });
20536
- var Collapse = /* @__PURE__ */ _export_sfc$1(_sfc_main$8, [["__file", "collapse.vue"]]);
20495
+ var Collapse = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__file", "collapse.vue"]]);
20537
20496
 
20538
20497
  const HzztCollapse = withInstall$1(Collapse);
20539
20498
 
20540
- const _hoisted_1$5 = { class: "hzzt-tab flex align-items-center justify-content-between wrap" };
20541
- const _hoisted_2$4 = { class: "flex align-items-center" };
20542
- const _hoisted_3$4 = { class: "flex" };
20499
+ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
20500
+ __name: "index",
20501
+ props: {
20502
+ name: {
20503
+ type: String,
20504
+ required: true
20505
+ },
20506
+ type: {
20507
+ type: String,
20508
+ default: "el"
20509
+ }
20510
+ },
20511
+ setup(__props) {
20512
+ const props = __props;
20513
+ const attrs = useAttrs$1();
20514
+ const componentName = computed(() => `hzzt-${props.type}-${props.name}`);
20515
+ return (_ctx, _cache) => {
20516
+ return openBlock(), createBlock(unref(ElIcon), normalizeProps(guardReactiveProps(unref(attrs))), {
20517
+ default: withCtx(() => [
20518
+ (openBlock(), createBlock(resolveDynamicComponent(unref(componentName))))
20519
+ ]),
20520
+ _: 1
20521
+ }, 16);
20522
+ };
20523
+ }
20524
+ });
20525
+ var HzztIcon$1 = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__file", "index.vue"]]);
20526
+
20527
+ const _hoisted_1$7 = { class: "hzzt-tab flex align-items-center justify-content-between wrap" };
20528
+ const _hoisted_2$6 = { class: "flex align-items-center" };
20529
+ const _hoisted_3$5 = { class: "flex" };
20543
20530
  const _hoisted_4$3 = ["onClick"];
20544
20531
  const _hoisted_5$1 = { class: "hzzt-tab-badge" };
20545
20532
  const _hoisted_6$1 = {
@@ -20547,11 +20534,11 @@ const _hoisted_6$1 = {
20547
20534
  class: "hzzt-tab-badge-count"
20548
20535
  };
20549
20536
  const _hoisted_7$1 = { class: "flex wrap" };
20550
- const __default__$6 = defineComponent({
20537
+ const __default__$8 = defineComponent({
20551
20538
  name: "HzztTab"
20552
20539
  });
20553
- const _sfc_main$7 = /* @__PURE__ */ defineComponent({
20554
- ...__default__$6,
20540
+ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
20541
+ ...__default__$8,
20555
20542
  props: {
20556
20543
  tabList: {
20557
20544
  type: Array,
@@ -20559,9 +20546,13 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
20559
20546
  },
20560
20547
  modelValue: {
20561
20548
  type: [Number, String, Array]
20549
+ },
20550
+ closable: {
20551
+ type: Boolean,
20552
+ default: () => false
20562
20553
  }
20563
20554
  },
20564
- emits: ["update:modelValue", "tab-click"],
20555
+ emits: ["update:modelValue", "tab-click", "tab-close"],
20565
20556
  setup(__props, { emit }) {
20566
20557
  const props = __props;
20567
20558
  const customTabList = computed(() => props.tabList.map((value) => {
@@ -20579,11 +20570,15 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
20579
20570
  emit("update:modelValue", tab.name);
20580
20571
  emit("tab-click", tab, event);
20581
20572
  }
20573
+ function close(index, event) {
20574
+ event.stopPropagation();
20575
+ emit("tab-close", index);
20576
+ }
20582
20577
  return (_ctx, _cache) => {
20583
- return openBlock(), createElementBlock("div", _hoisted_1$5, [
20584
- createElementVNode("div", _hoisted_2$4, [
20585
- createElementVNode("div", _hoisted_3$4, [
20586
- (openBlock(true), createElementBlock(Fragment, null, renderList(unref(customTabList), (tab) => {
20578
+ return openBlock(), createElementBlock("div", _hoisted_1$7, [
20579
+ createElementVNode("div", _hoisted_2$6, [
20580
+ createElementVNode("div", _hoisted_3$5, [
20581
+ (openBlock(true), createElementBlock(Fragment, null, renderList(unref(customTabList), (tab, index) => {
20587
20582
  return openBlock(), createElementBlock("div", {
20588
20583
  key: tab.key,
20589
20584
  class: "hzzt-tab-pane",
@@ -20593,7 +20588,13 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
20593
20588
  createElementVNode("p", {
20594
20589
  class: normalizeClass([{ active: __props.modelValue === tab.name }, "hzzt-tab-badge-text"])
20595
20590
  }, toDisplayString(tab.label), 3),
20596
- tab.number && tab.number !== 0 ? (openBlock(), createElementBlock("p", _hoisted_6$1, toDisplayString(tab.number > 999 ? "999+" : tab.number), 1)) : createCommentVNode("v-if", true)
20591
+ tab.number && tab.number !== 0 ? (openBlock(), createElementBlock("p", _hoisted_6$1, toDisplayString(tab.number > 999 ? "999+" : tab.number), 1)) : createCommentVNode("v-if", true),
20592
+ __props.closable ? (openBlock(), createBlock(HzztIcon$1, {
20593
+ key: 1,
20594
+ class: "is-icon-close",
20595
+ name: "close",
20596
+ onClick: ($event) => close(index, $event)
20597
+ }, null, 8, ["onClick"])) : createCommentVNode("v-if", true)
20597
20598
  ])
20598
20599
  ], 8, _hoisted_4$3);
20599
20600
  }), 128))
@@ -20608,38 +20609,10 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
20608
20609
  };
20609
20610
  }
20610
20611
  });
20611
- var Tab = /* @__PURE__ */ _export_sfc$1(_sfc_main$7, [["__file", "index.vue"]]);
20612
+ var Tab = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__file", "index.vue"]]);
20612
20613
 
20613
20614
  const HzztTab = withInstall$1(Tab);
20614
20615
 
20615
- const _sfc_main$6 = /* @__PURE__ */ defineComponent({
20616
- __name: "index",
20617
- props: {
20618
- name: {
20619
- type: String,
20620
- required: true
20621
- },
20622
- type: {
20623
- type: String,
20624
- default: "el"
20625
- }
20626
- },
20627
- setup(__props) {
20628
- const props = __props;
20629
- const attrs = useAttrs$1();
20630
- const componentName = computed(() => `hzzt-${props.type}-${props.name}`);
20631
- return (_ctx, _cache) => {
20632
- return openBlock(), createBlock(unref(ElIcon), normalizeProps(guardReactiveProps(unref(attrs))), {
20633
- default: withCtx(() => [
20634
- (openBlock(), createBlock(resolveDynamicComponent(unref(componentName))))
20635
- ]),
20636
- _: 1
20637
- }, 16);
20638
- };
20639
- }
20640
- });
20641
- var HzztIcon$1 = /* @__PURE__ */ _export_sfc$1(_sfc_main$6, [["__file", "index.vue"]]);
20642
-
20643
20616
  const HzztIcon = {
20644
20617
  install(app) {
20645
20618
  app.component("HzztIcon", HzztIcon$1);
@@ -20652,15 +20625,15 @@ function tarnsElIconName(name) {
20652
20625
  return `hzzt-el${name.replace(/[A-Z]/g, (match) => `-${match.toLocaleLowerCase()}`)}`;
20653
20626
  }
20654
20627
 
20655
- const _hoisted_1$4 = { class: "flex justify-content-between hzzt-pagination" };
20656
- const _hoisted_2$3 = { class: "flex align-items-center font-12 hzzt-pagination-total" };
20657
- const _hoisted_3$3 = { class: "flex align-items-center hzzt-pagination-page font-14" };
20628
+ const _hoisted_1$6 = { class: "flex justify-content-between hzzt-pagination" };
20629
+ const _hoisted_2$5 = { class: "flex align-items-center font-12 hzzt-pagination-total" };
20630
+ const _hoisted_3$4 = { class: "flex align-items-center hzzt-pagination-page font-14" };
20658
20631
  const _hoisted_4$2 = { class: "flex" };
20659
- const __default__$5 = defineComponent({
20632
+ const __default__$7 = defineComponent({
20660
20633
  name: "HzztPagination"
20661
20634
  });
20662
- const _sfc_main$5 = /* @__PURE__ */ defineComponent({
20663
- ...__default__$5,
20635
+ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
20636
+ ...__default__$7,
20664
20637
  props: {
20665
20638
  pagination: {
20666
20639
  type: Object,
@@ -20690,9 +20663,9 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
20690
20663
  }
20691
20664
  }
20692
20665
  return (_ctx, _cache) => {
20693
- return openBlock(), createElementBlock("div", _hoisted_1$4, [
20694
- createElementVNode("p", _hoisted_2$3, toDisplayString(unref(t)("hzzt.pagination.total")) + toDisplayString(__props.pagination.total) + toDisplayString(unref(t)("hzzt.pagination.strip")), 1),
20695
- createElementVNode("div", _hoisted_3$3, [
20666
+ return openBlock(), createElementBlock("div", _hoisted_1$6, [
20667
+ createElementVNode("p", _hoisted_2$5, toDisplayString(unref(t)("hzzt.pagination.total")) + toDisplayString(__props.pagination.total) + toDisplayString(unref(t)("hzzt.pagination.strip")), 1),
20668
+ createElementVNode("div", _hoisted_3$4, [
20696
20669
  renderSlot(_ctx.$slots, "right"),
20697
20670
  createVNode(HzztIcon$1, {
20698
20671
  class: normalizeClass(["hzzt-pagination-arrow", { active: __props.pagination.current_page > 1 }]),
@@ -20710,18 +20683,18 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
20710
20683
  };
20711
20684
  }
20712
20685
  });
20713
- var Pagination = /* @__PURE__ */ _export_sfc$1(_sfc_main$5, [["__file", "index.vue"]]);
20686
+ var Pagination = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__file", "index.vue"]]);
20714
20687
 
20715
20688
  const HzztPagination = withInstall$1(Pagination);
20716
20689
 
20717
- const _hoisted_1$3 = { class: "flex align-content-center" };
20718
- const _hoisted_2$2 = { style: { "max-width": "300px" } };
20719
- const _hoisted_3$2 = { style: { "padding": "0", "margin": "0", "word-break": "break-all", "white-space": "pre-wrap" } };
20720
- const __default__$4 = defineComponent({
20690
+ const _hoisted_1$5 = { class: "flex align-content-center" };
20691
+ const _hoisted_2$4 = { style: { "max-width": "300px" } };
20692
+ const _hoisted_3$3 = { style: { "padding": "0", "margin": "0", "word-break": "break-all", "white-space": "pre-wrap" } };
20693
+ const __default__$6 = defineComponent({
20721
20694
  name: "HzztTooltip"
20722
20695
  });
20723
- const _sfc_main$4 = /* @__PURE__ */ defineComponent({
20724
- ...__default__$4,
20696
+ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
20697
+ ...__default__$6,
20725
20698
  props: {
20726
20699
  content: {
20727
20700
  type: String,
@@ -20732,12 +20705,12 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
20732
20705
  setup(__props, { emit }) {
20733
20706
  const attrs = useAttrs$1();
20734
20707
  return (_ctx, _cache) => {
20735
- return openBlock(), createElementBlock("div", _hoisted_1$3, [
20708
+ return openBlock(), createElementBlock("div", _hoisted_1$5, [
20736
20709
  createVNode(unref(ElTooltip), mergeProps({ effect: "dark" }, unref(attrs)), {
20737
20710
  content: withCtx(() => [
20738
20711
  renderSlot(_ctx.$slots, "content", {}, () => [
20739
- createElementVNode("div", _hoisted_2$2, [
20740
- createElementVNode("pre", _hoisted_3$2, toDisplayString(__props.content), 1)
20712
+ createElementVNode("div", _hoisted_2$4, [
20713
+ createElementVNode("pre", _hoisted_3$3, toDisplayString(__props.content), 1)
20741
20714
  ])
20742
20715
  ])
20743
20716
  ]),
@@ -20755,28 +20728,28 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
20755
20728
  };
20756
20729
  }
20757
20730
  });
20758
- var Tooltip = /* @__PURE__ */ _export_sfc$1(_sfc_main$4, [["__file", "tooltip.vue"]]);
20731
+ var Tooltip = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__file", "tooltip.vue"]]);
20759
20732
 
20760
20733
  const HzztTooltip = withInstall$1(Tooltip);
20761
20734
 
20762
- const _hoisted_1$2 = {
20735
+ const _hoisted_1$4 = {
20763
20736
  key: 0,
20764
20737
  style: { "white-space": "nowrap" }
20765
20738
  };
20766
- const _hoisted_2$1 = {
20739
+ const _hoisted_2$3 = {
20767
20740
  key: 1,
20768
20741
  style: { "white-space": "nowrap" }
20769
20742
  };
20770
- const _hoisted_3$1 = { class: "line-height-1" };
20743
+ const _hoisted_3$2 = { class: "line-height-1" };
20771
20744
  const _hoisted_4$1 = {
20772
20745
  key: 0,
20773
20746
  class: "margin-l-1 margin-r-2"
20774
20747
  };
20775
- const __default__$3 = defineComponent({
20748
+ const __default__$5 = defineComponent({
20776
20749
  name: "HzztPageSize"
20777
20750
  });
20778
- const _sfc_main$3 = /* @__PURE__ */ defineComponent({
20779
- ...__default__$3,
20751
+ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
20752
+ ...__default__$5,
20780
20753
  props: {
20781
20754
  modelValue: {
20782
20755
  type: Number,
@@ -20833,13 +20806,13 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
20833
20806
  return openBlock(), createElementBlock("main", {
20834
20807
  class: normalizeClass([unref(compKls), "flex wrap align-items-center justify-content-end"])
20835
20808
  }, [
20836
- __props.total > 0 && !__props.isManual ? (openBlock(), createElementBlock("span", _hoisted_1$2, toDisplayString(unref(t)("hzzt.pageSize.total")) + toDisplayString(__props.total) + toDisplayString(unref(t)("hzzt.pageSize.strip")), 1)) : createCommentVNode("v-if", true),
20837
- __props.isManual ? (openBlock(), createElementBlock("span", _hoisted_2$1, toDisplayString(unref(t)("hzzt.pageSize.d")) + toDisplayString(__props.modelValue) + toDisplayString(unref(t)("hzzt.pageSize.page")), 1)) : createCommentVNode("v-if", true),
20809
+ __props.total > 0 && !__props.isManual ? (openBlock(), createElementBlock("span", _hoisted_1$4, toDisplayString(unref(t)("hzzt.pageSize.total")) + toDisplayString(__props.total) + toDisplayString(unref(t)("hzzt.pageSize.strip")), 1)) : createCommentVNode("v-if", true),
20810
+ __props.isManual ? (openBlock(), createElementBlock("span", _hoisted_2$3, toDisplayString(unref(t)("hzzt.pageSize.d")) + toDisplayString(__props.modelValue) + toDisplayString(unref(t)("hzzt.pageSize.page")), 1)) : createCommentVNode("v-if", true),
20838
20811
  __props.pageSizeOptions.length ? (openBlock(), createElementBlock("div", {
20839
20812
  key: 2,
20840
20813
  class: normalizeClass([unref(ns).e("option"), "flex align-items-center"])
20841
20814
  }, [
20842
- createElementVNode("span", _hoisted_3$1, toDisplayString(unref(t)("hzzt.pageSize.per_page")), 1),
20815
+ createElementVNode("span", _hoisted_3$2, toDisplayString(unref(t)("hzzt.pageSize.per_page")), 1),
20843
20816
  createVNode(unref(ElSelect), {
20844
20817
  modelValue: sizeValue.value,
20845
20818
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => sizeValue.value = $event),
@@ -20903,15 +20876,15 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
20903
20876
  };
20904
20877
  }
20905
20878
  });
20906
- var PageSize = /* @__PURE__ */ _export_sfc$1(_sfc_main$3, [["__file", "index.vue"]]);
20879
+ var PageSize = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__file", "index.vue"]]);
20907
20880
 
20908
20881
  const HzztPageSize = withInstall$1(PageSize);
20909
20882
 
20910
- const __default__$2 = defineComponent({
20883
+ const __default__$4 = defineComponent({
20911
20884
  name: "HzztConfirmPassword"
20912
20885
  });
20913
- const _sfc_main$2 = /* @__PURE__ */ defineComponent({
20914
- ...__default__$2,
20886
+ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
20887
+ ...__default__$4,
20915
20888
  props: {
20916
20889
  placeholder: {
20917
20890
  type: String,
@@ -20971,16 +20944,16 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
20971
20944
  };
20972
20945
  }
20973
20946
  });
20974
- var ConfirmPassword = /* @__PURE__ */ _export_sfc$1(_sfc_main$2, [["__file", "confirm-password.vue"]]);
20947
+ var ConfirmPassword = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__file", "confirm-password.vue"]]);
20975
20948
 
20976
20949
  const HzztConfirmPassword = withInstall$1(ConfirmPassword);
20977
20950
 
20978
- const _hoisted_1$1 = ["onClick"];
20979
- const __default__$1 = defineComponent({
20951
+ const _hoisted_1$3 = ["onClick"];
20952
+ const __default__$3 = defineComponent({
20980
20953
  name: "HzztCheckButton"
20981
20954
  });
20982
- const _sfc_main$1 = /* @__PURE__ */ defineComponent({
20983
- ...__default__$1,
20955
+ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
20956
+ ...__default__$3,
20984
20957
  props: {
20985
20958
  options: {
20986
20959
  type: Array,
@@ -21041,7 +21014,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
21041
21014
  ...unref(spanKls)
21042
21015
  ], "flex-1"]),
21043
21016
  onClick: ($event) => selectValue(item.value)
21044
- }, toDisplayString(item.label), 11, _hoisted_1$1)
21017
+ }, toDisplayString(item.label), 11, _hoisted_1$3)
21045
21018
  ]),
21046
21019
  _: 2
21047
21020
  }, 1032, ["hidden", "value"]);
@@ -21050,7 +21023,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
21050
21023
  };
21051
21024
  }
21052
21025
  });
21053
- var CheckButton = /* @__PURE__ */ _export_sfc$1(_sfc_main$1, [["__file", "index.vue"]]);
21026
+ var CheckButton = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__file", "index.vue"]]);
21054
21027
 
21055
21028
  const HzztCheckButton = withInstall$1(CheckButton);
21056
21029
 
@@ -21291,9 +21264,9 @@ function range(n) {
21291
21264
  return Array.from({ length: n }).map((_, n2) => n2);
21292
21265
  }
21293
21266
 
21294
- const _hoisted_1 = { class: "el-date-picker" };
21295
- const _hoisted_2 = { class: "el-picker-panel__body" };
21296
- const _hoisted_3 = {
21267
+ const _hoisted_1$2 = { class: "el-date-picker" };
21268
+ const _hoisted_2$2 = { class: "el-picker-panel__body" };
21269
+ const _hoisted_3$1 = {
21297
21270
  class: "el-date-picker__header el-date-picker__header--bordered",
21298
21271
  style: { "margin": "0px", "line-height": "30px" }
21299
21272
  };
@@ -21308,11 +21281,11 @@ const _hoisted_8 = { class: "cell" };
21308
21281
  const _hoisted_9 = { class: "cell" };
21309
21282
  const _hoisted_10 = { class: "cell" };
21310
21283
  const _hoisted_11 = { class: "cell" };
21311
- const __default__ = defineComponent({
21284
+ const __default__$2 = defineComponent({
21312
21285
  name: "HzztQuarterPicker"
21313
21286
  });
21314
- const _sfc_main = /* @__PURE__ */ defineComponent({
21315
- ...__default__,
21287
+ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
21288
+ ...__default__$2,
21316
21289
  props: {
21317
21290
  size: useSizeProp$1,
21318
21291
  format: {
@@ -21490,9 +21463,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
21490
21463
  }, 16, ["disabled", "size", "placeholder", "value"])
21491
21464
  ]),
21492
21465
  default: withCtx(() => [
21493
- createElementVNode("div", _hoisted_1, [
21494
- createElementVNode("div", _hoisted_2, [
21495
- createElementVNode("div", _hoisted_3, [
21466
+ createElementVNode("div", _hoisted_1$2, [
21467
+ createElementVNode("div", _hoisted_2$2, [
21468
+ createElementVNode("div", _hoisted_3$1, [
21496
21469
  createElementVNode("button", {
21497
21470
  type: "button",
21498
21471
  "aria-label": unref(t)(`hzzt.quarterpicker.prevYear`),
@@ -21552,10 +21525,221 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
21552
21525
  };
21553
21526
  }
21554
21527
  });
21555
- var QuarterPicker = /* @__PURE__ */ _export_sfc$1(_sfc_main, [["__file", "index.vue"]]);
21528
+ var QuarterPicker = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__file", "index.vue"]]);
21556
21529
 
21557
21530
  const HzztQuarterPicker = withInstall$1(QuarterPicker);
21558
21531
 
21532
+ const scanProps = buildProps$1({
21533
+ modelValue: {
21534
+ type: String,
21535
+ default: ""
21536
+ },
21537
+ placeholder: {
21538
+ type: String,
21539
+ default: ""
21540
+ },
21541
+ letter: {
21542
+ type: String,
21543
+ default: "upper"
21544
+ }
21545
+ });
21546
+ const scanEmits = {
21547
+ [UPDATE_MODEL_EVENT$1]: (value) => isString$1(value),
21548
+ [CHANGE_EVENT$1]: (value) => isString$1(value),
21549
+ [INPUT_EVENT$1]: (value) => isString$1(value)
21550
+ };
21551
+
21552
+ const _hoisted_1$1 = /* @__PURE__ */ createElementVNode("div", { style: { "width": "0", "height": "0", "overflow": "hidden" } }, [
21553
+ /* @__PURE__ */ createElementVNode("input", {
21554
+ readonly: "",
21555
+ style: { "width": "0", "height": "0", "overflow": "hidden" }
21556
+ }),
21557
+ /* @__PURE__ */ createElementVNode("input", {
21558
+ readonly: "",
21559
+ type: "password",
21560
+ autocomplete: "off",
21561
+ style: { "width": "0", "height": "0", "overflow": "hidden" }
21562
+ })
21563
+ ], -1);
21564
+ const _hoisted_2$1 = {
21565
+ class: "width-100%",
21566
+ style: { "overflow": "hidden" }
21567
+ };
21568
+ const __default__$1 = defineComponent({
21569
+ inheritAttrs: false,
21570
+ name: "HzztScan"
21571
+ });
21572
+ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
21573
+ ...__default__$1,
21574
+ props: scanProps,
21575
+ emits: scanEmits,
21576
+ setup(__props, { expose, emit }) {
21577
+ const props = __props;
21578
+ const readonly = ref(true);
21579
+ const innerValue = ref(" ");
21580
+ const inputRef = ref();
21581
+ const showValue = computed(() => {
21582
+ if (innerValue.value === " ") {
21583
+ return ` ${props.placeholder}`;
21584
+ } else {
21585
+ return innerValue.value;
21586
+ }
21587
+ });
21588
+ const inputType = computed(() => {
21589
+ if (innerValue.value && !readonly.value) {
21590
+ return "password";
21591
+ } else {
21592
+ return "text";
21593
+ }
21594
+ });
21595
+ watch(() => props.modelValue, (v) => {
21596
+ if (!v) {
21597
+ innerValue.value = " ";
21598
+ } else {
21599
+ innerValue.value = ` ${changeLetter(v)}`;
21600
+ }
21601
+ });
21602
+ watch(() => innerValue.value, (v) => {
21603
+ if (!v) {
21604
+ innerValue.value = " ";
21605
+ }
21606
+ const str = innerValue.value[0] === " " ? innerValue.value.slice(1) : innerValue.value;
21607
+ const final = changeLetter(str != null ? str : "");
21608
+ emit("update:modelValue", final);
21609
+ emit("input", final);
21610
+ });
21611
+ function changeLetter(v) {
21612
+ if (props.letter === "upper") {
21613
+ return v.toLocaleUpperCase();
21614
+ } else if (props.letter === "lower") {
21615
+ return v.toLocaleLowerCase();
21616
+ } else {
21617
+ return v;
21618
+ }
21619
+ }
21620
+ function inputFocus() {
21621
+ readonly.value = false;
21622
+ }
21623
+ function inputBlur() {
21624
+ readonly.value = true;
21625
+ }
21626
+ function inputChange() {
21627
+ emit("change", props.modelValue);
21628
+ }
21629
+ function focus() {
21630
+ readonly.value = false;
21631
+ setTimeout(() => {
21632
+ inputRef.value.focus();
21633
+ });
21634
+ }
21635
+ function blur() {
21636
+ readonly.value = true;
21637
+ inputRef.value.blur();
21638
+ }
21639
+ function clear() {
21640
+ inputRef.value.clear();
21641
+ }
21642
+ expose({
21643
+ focus,
21644
+ blur,
21645
+ clear
21646
+ });
21647
+ return (_ctx, _cache) => {
21648
+ return openBlock(), createElementBlock("div", {
21649
+ class: normalizeClass(["hzzt-scan", _ctx.$attrs.class]),
21650
+ style: normalizeStyle([{ "position": "relative" }, _ctx.$attrs.style])
21651
+ }, [
21652
+ _hoisted_1$1,
21653
+ createVNode(unref(ElInput), mergeProps({
21654
+ ref_key: "inputRef",
21655
+ ref: inputRef,
21656
+ modelValue: innerValue.value,
21657
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => innerValue.value = $event)
21658
+ }, {
21659
+ ..._ctx.$attrs,
21660
+ class: "",
21661
+ style: "",
21662
+ onChange: ""
21663
+ }, {
21664
+ readonly: readonly.value,
21665
+ type: unref(inputType),
21666
+ class: "hzzt-scan-input-original",
21667
+ autocomplete: "off",
21668
+ onFocus: inputFocus,
21669
+ onBlur: inputBlur,
21670
+ onChange: inputChange
21671
+ }), createSlots({
21672
+ _: 2
21673
+ }, [
21674
+ renderList(_ctx.$slots, (_, key, index) => {
21675
+ return {
21676
+ name: key,
21677
+ fn: withCtx(() => [
21678
+ renderSlot(_ctx.$slots, key)
21679
+ ])
21680
+ };
21681
+ })
21682
+ ]), 1040, ["modelValue", "readonly", "type"]),
21683
+ createElementVNode("div", {
21684
+ class: normalizeClass(["hzzt-scan-input-backup", { "placeholder-color": innerValue.value === " " }])
21685
+ }, [
21686
+ createElementVNode("div", _hoisted_2$1, toDisplayString(unref(showValue)), 1)
21687
+ ], 2)
21688
+ ], 6);
21689
+ };
21690
+ }
21691
+ });
21692
+ var Scan = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__file", "scan.vue"]]);
21693
+
21694
+ const HzztScan = withInstall$1(Scan);
21695
+
21696
+ const _hoisted_1 = {
21697
+ key: 0,
21698
+ class: "hzzt-title flex align-items-center"
21699
+ };
21700
+ const _hoisted_2 = {
21701
+ key: 0,
21702
+ class: "decorative-line"
21703
+ };
21704
+ const _hoisted_3 = { class: "label-name" };
21705
+ const __default__ = defineComponent({
21706
+ name: "HzztTitle"
21707
+ });
21708
+ const _sfc_main = /* @__PURE__ */ defineComponent({
21709
+ ...__default__,
21710
+ props: titleProps,
21711
+ setup(__props) {
21712
+ const props = __props;
21713
+ const slots = useSlots();
21714
+ const showLabel = computed(() => {
21715
+ var _a, _b, _c;
21716
+ return props.label || ((_c = (_b = (_a = slots == null ? void 0 : slots.default) == null ? void 0 : _a.call(slots)) == null ? void 0 : _b[0]) == null ? void 0 : _c.children);
21717
+ });
21718
+ return (_ctx, _cache) => {
21719
+ return unref(showLabel) ? (openBlock(), createElementBlock("div", _hoisted_1, [
21720
+ _ctx.sideline ? (openBlock(), createElementBlock("span", _hoisted_2)) : createCommentVNode("v-if", true),
21721
+ renderSlot(_ctx.$slots, "before"),
21722
+ createElementVNode("label", _hoisted_3, [
21723
+ renderSlot(_ctx.$slots, "default", {}, () => [
21724
+ createTextVNode(toDisplayString(_ctx.label), 1)
21725
+ ])
21726
+ ])
21727
+ ])) : createCommentVNode("v-if", true);
21728
+ };
21729
+ }
21730
+ });
21731
+ var Title = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "title.vue"]]);
21732
+
21733
+ const titleProps = buildProps$1({
21734
+ label: String,
21735
+ sideline: {
21736
+ type: Boolean,
21737
+ default: true
21738
+ }
21739
+ });
21740
+
21741
+ const HzztTitle = withInstall$1(Title);
21742
+
21559
21743
  var Components = [
21560
21744
  HzztConfigProvider,
21561
21745
  HzztTitle,
@@ -21568,7 +21752,8 @@ var Components = [
21568
21752
  HzztPageSize,
21569
21753
  HzztConfirmPassword,
21570
21754
  HzztCheckButton,
21571
- HzztQuarterPicker
21755
+ HzztQuarterPicker,
21756
+ HzztScan
21572
21757
  ];
21573
21758
 
21574
21759
  var Plugins = [];
@@ -21780,4 +21965,4 @@ function initMouseEvent(el, callback) {
21780
21965
  const install = installer.install;
21781
21966
  const version = installer.version;
21782
21967
 
21783
- export { Blur, Download, Drag, Height, Highlight, HzztCheckButton, HzztCollapse, HzztConfigProvider, HzztConfirmPassword, HzztDropdown, HzztIcon, HzztPageSize, HzztPagination, HzztQuarterPicker, HzztTab, HzztTitle, HzztTooltip, INSTALLED_KEY, SIZE_INJECTION_KEY$1 as SIZE_INJECTION_KEY, WEEK_DAYS, buildLocaleContext$1 as buildLocaleContext, buildTranslator$1 as buildTranslator, componentSizeMap, componentSizes$1 as componentSizes, configProviderContextKey$1 as configProviderContextKey, configProviderProps, datePickTypes, installer as default, defaultNamespace$1 as defaultNamespace, install, localeContextKey$1 as localeContextKey, makeInstaller, namespaceContextKey$1 as namespaceContextKey, provideGlobalConfig, translate$1 as translate, useGetDerivedNamespace$1 as useGetDerivedNamespace, useGlobalConfig$1 as useGlobalConfig, useGlobalSize$1 as useGlobalSize, useLocale$1 as useLocale, useNamespace$1 as useNamespace, useSizeProp$1 as useSizeProp, useSizeProps, version };
21968
+ export { Blur, CHANGE_EVENT$1 as CHANGE_EVENT, Download, Drag, Height, Highlight, HzztCheckButton, HzztCollapse, HzztConfigProvider, HzztConfirmPassword, HzztDropdown, HzztIcon, HzztPageSize, HzztPagination, HzztQuarterPicker, HzztScan, HzztTab, HzztTitle, HzztTooltip, INPUT_EVENT$1 as INPUT_EVENT, INSTALLED_KEY, SIZE_INJECTION_KEY$1 as SIZE_INJECTION_KEY, UPDATE_MODEL_EVENT$1 as UPDATE_MODEL_EVENT, WEEK_DAYS, buildLocaleContext$1 as buildLocaleContext, buildTranslator$1 as buildTranslator, componentSizeMap, componentSizes$1 as componentSizes, configProviderContextKey$1 as configProviderContextKey, configProviderProps, datePickTypes, installer as default, defaultNamespace$1 as defaultNamespace, install, localeContextKey$1 as localeContextKey, makeInstaller, namespaceContextKey$1 as namespaceContextKey, provideGlobalConfig, scanEmits, scanProps, titleProps, translate$1 as translate, useGetDerivedNamespace$1 as useGetDerivedNamespace, useGlobalConfig$1 as useGlobalConfig, useGlobalSize$1 as useGlobalSize, useLocale$1 as useLocale, useNamespace$1 as useNamespace, useSizeProp$1 as useSizeProp, useSizeProps, version };