hzzt-plus 1.0.0 → 1.0.2

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 (169) hide show
  1. package/attributes.json +1 -0
  2. package/dist/index.full.js +5236 -2048
  3. package/dist/index.full.min.js +17 -17
  4. package/dist/index.full.min.js.map +1 -1
  5. package/dist/index.full.min.mjs +18 -18
  6. package/dist/index.full.min.mjs.map +1 -1
  7. package/dist/index.full.mjs +5231 -2051
  8. package/dist/locale/en.js +1 -1
  9. package/dist/locale/en.min.js +1 -1
  10. package/dist/locale/en.min.mjs +1 -1
  11. package/dist/locale/en.mjs +1 -1
  12. package/dist/locale/zh-cn.js +1 -1
  13. package/dist/locale/zh-cn.min.js +1 -1
  14. package/dist/locale/zh-cn.min.mjs +1 -1
  15. package/dist/locale/zh-cn.mjs +1 -1
  16. package/es/component.mjs +5 -1
  17. package/es/component.mjs.map +1 -1
  18. package/es/components/confirm-password/index.d.ts +46 -22
  19. package/es/components/confirm-password/src/confirm-password.vue.d.ts +46 -22
  20. package/es/components/dropdown/index.d.ts +5 -5
  21. package/es/components/dropdown/src/index.mjs +3 -2
  22. package/es/components/dropdown/src/index.mjs.map +1 -1
  23. package/es/components/dropdown/src/index.vue.d.ts +6 -5
  24. package/es/components/icon/src/index.vue.d.ts +4 -4
  25. package/es/components/index.d.ts +2 -0
  26. package/es/components/index.mjs +4 -0
  27. package/es/components/index.mjs.map +1 -1
  28. package/es/components/page-size/index.d.ts +10225 -532
  29. package/es/components/page-size/src/index.mjs.map +1 -1
  30. package/es/components/page-size/src/index.vue.d.ts +10225 -532
  31. package/es/components/pagination/index.d.ts +4 -4
  32. package/es/components/pagination/src/index.vue.d.ts +4 -4
  33. package/es/components/quarter-picker/index.d.ts +121 -97
  34. package/es/components/quarter-picker/src/index.vue.d.ts +121 -97
  35. package/es/components/scan/src/scan.vue.d.ts +46 -22
  36. package/es/components/scan/src/scan2.mjs.map +1 -1
  37. package/es/components/select-input/index.d.ts +826 -0
  38. package/es/components/select-input/index.mjs +9 -0
  39. package/es/components/select-input/index.mjs.map +1 -0
  40. package/es/components/select-input/src/select-input.d.ts +41 -0
  41. package/es/components/select-input/src/select-input.mjs +50 -0
  42. package/es/components/select-input/src/select-input.mjs.map +1 -0
  43. package/es/components/select-input/src/select-input.vue.d.ts +826 -0
  44. package/es/components/select-input/src/select-input2.mjs +129 -0
  45. package/es/components/select-input/src/select-input2.mjs.map +1 -0
  46. package/es/components/select-input/style/css.d.ts +2 -0
  47. package/es/components/select-input/style/css.mjs +3 -0
  48. package/es/components/select-input/style/css.mjs.map +1 -0
  49. package/es/components/select-input/style/index.d.ts +2 -0
  50. package/es/components/select-input/style/index.mjs +3 -0
  51. package/es/components/select-input/style/index.mjs.map +1 -0
  52. package/es/components/select-textarea/index.d.ts +13076 -0
  53. package/es/components/select-textarea/index.mjs +9 -0
  54. package/es/components/select-textarea/index.mjs.map +1 -0
  55. package/es/components/select-textarea/src/select-textarea.d.ts +26 -0
  56. package/es/components/select-textarea/src/select-textarea.mjs +35 -0
  57. package/es/components/select-textarea/src/select-textarea.mjs.map +1 -0
  58. package/es/components/select-textarea/src/select-textarea.vue.d.ts +13075 -0
  59. package/es/components/select-textarea/src/select-textarea2.mjs +105 -0
  60. package/es/components/select-textarea/src/select-textarea2.mjs.map +1 -0
  61. package/es/components/select-textarea/style/css.d.ts +2 -0
  62. package/es/components/select-textarea/style/css.mjs +3 -0
  63. package/es/components/select-textarea/style/css.mjs.map +1 -0
  64. package/es/components/select-textarea/style/index.d.ts +2 -0
  65. package/es/components/select-textarea/style/index.mjs +3 -0
  66. package/es/components/select-textarea/style/index.mjs.map +1 -0
  67. package/es/components/tab/index.d.ts +4 -4
  68. package/es/components/tab/src/index.vue.d.ts +4 -4
  69. package/es/components/title/index.mjs +2 -2
  70. package/es/components/title/index.mjs.map +1 -1
  71. package/es/components/title/src/title2.mjs +3 -4
  72. package/es/components/title/src/title2.mjs.map +1 -1
  73. package/es/components/tooltip/index.d.ts +7615 -316
  74. package/es/components/tooltip/src/tooltip.vue.d.ts +7615 -316
  75. package/es/hooks/index.d.ts +2 -0
  76. package/es/hooks/index.mjs +2 -0
  77. package/es/hooks/index.mjs.map +1 -1
  78. package/es/hooks/use-cursor/index.d.ts +1 -0
  79. package/es/hooks/use-cursor/index.mjs +14 -0
  80. package/es/hooks/use-cursor/index.mjs.map +1 -0
  81. package/es/hooks/use-letter/index.d.ts +1 -0
  82. package/es/hooks/use-letter/index.mjs +13 -0
  83. package/es/hooks/use-letter/index.mjs.map +1 -0
  84. package/es/index.mjs +6 -0
  85. package/es/index.mjs.map +1 -1
  86. package/es/version.d.ts +1 -1
  87. package/es/version.mjs +1 -1
  88. package/es/version.mjs.map +1 -1
  89. package/global.d.ts +2 -0
  90. package/lib/component.js +5 -1
  91. package/lib/component.js.map +1 -1
  92. package/lib/components/confirm-password/index.d.ts +46 -22
  93. package/lib/components/confirm-password/src/confirm-password.vue.d.ts +46 -22
  94. package/lib/components/dropdown/index.d.ts +5 -5
  95. package/lib/components/dropdown/src/index.js +3 -2
  96. package/lib/components/dropdown/src/index.js.map +1 -1
  97. package/lib/components/dropdown/src/index.vue.d.ts +6 -5
  98. package/lib/components/icon/src/index.vue.d.ts +4 -4
  99. package/lib/components/index.d.ts +2 -0
  100. package/lib/components/index.js +10 -0
  101. package/lib/components/index.js.map +1 -1
  102. package/lib/components/page-size/index.d.ts +10225 -532
  103. package/lib/components/page-size/src/index.js.map +1 -1
  104. package/lib/components/page-size/src/index.vue.d.ts +10225 -532
  105. package/lib/components/pagination/index.d.ts +4 -4
  106. package/lib/components/pagination/src/index.vue.d.ts +4 -4
  107. package/lib/components/quarter-picker/index.d.ts +121 -97
  108. package/lib/components/quarter-picker/src/index.vue.d.ts +121 -97
  109. package/lib/components/scan/src/scan.vue.d.ts +46 -22
  110. package/lib/components/scan/src/scan2.js.map +1 -1
  111. package/lib/components/select-input/index.d.ts +826 -0
  112. package/lib/components/select-input/index.js +16 -0
  113. package/lib/components/select-input/index.js.map +1 -0
  114. package/lib/components/select-input/src/select-input.d.ts +41 -0
  115. package/lib/components/select-input/src/select-input.js +55 -0
  116. package/lib/components/select-input/src/select-input.js.map +1 -0
  117. package/lib/components/select-input/src/select-input.vue.d.ts +826 -0
  118. package/lib/components/select-input/src/select-input2.js +133 -0
  119. package/lib/components/select-input/src/select-input2.js.map +1 -0
  120. package/lib/components/select-input/style/css.d.ts +2 -0
  121. package/lib/components/select-input/style/css.js +6 -0
  122. package/lib/components/select-input/style/css.js.map +1 -0
  123. package/lib/components/select-input/style/index.d.ts +2 -0
  124. package/lib/components/select-input/style/index.js +6 -0
  125. package/lib/components/select-input/style/index.js.map +1 -0
  126. package/lib/components/select-textarea/index.d.ts +13076 -0
  127. package/lib/components/select-textarea/index.js +16 -0
  128. package/lib/components/select-textarea/index.js.map +1 -0
  129. package/lib/components/select-textarea/src/select-textarea.d.ts +26 -0
  130. package/lib/components/select-textarea/src/select-textarea.js +40 -0
  131. package/lib/components/select-textarea/src/select-textarea.js.map +1 -0
  132. package/lib/components/select-textarea/src/select-textarea.vue.d.ts +13075 -0
  133. package/lib/components/select-textarea/src/select-textarea2.js +109 -0
  134. package/lib/components/select-textarea/src/select-textarea2.js.map +1 -0
  135. package/lib/components/select-textarea/style/css.d.ts +2 -0
  136. package/lib/components/select-textarea/style/css.js +6 -0
  137. package/lib/components/select-textarea/style/css.js.map +1 -0
  138. package/lib/components/select-textarea/style/index.d.ts +2 -0
  139. package/lib/components/select-textarea/style/index.js +6 -0
  140. package/lib/components/select-textarea/style/index.js.map +1 -0
  141. package/lib/components/tab/index.d.ts +4 -4
  142. package/lib/components/tab/src/index.vue.d.ts +4 -4
  143. package/lib/components/title/index.js.map +1 -1
  144. package/lib/components/title/src/title2.js +3 -4
  145. package/lib/components/title/src/title2.js.map +1 -1
  146. package/lib/components/tooltip/index.d.ts +7615 -316
  147. package/lib/components/tooltip/src/tooltip.vue.d.ts +7615 -316
  148. package/lib/hooks/index.d.ts +2 -0
  149. package/lib/hooks/index.js +4 -0
  150. package/lib/hooks/index.js.map +1 -1
  151. package/lib/hooks/use-cursor/index.d.ts +1 -0
  152. package/lib/hooks/use-cursor/index.js +18 -0
  153. package/lib/hooks/use-cursor/index.js.map +1 -0
  154. package/lib/hooks/use-letter/index.d.ts +1 -0
  155. package/lib/hooks/use-letter/index.js +17 -0
  156. package/lib/hooks/use-letter/index.js.map +1 -0
  157. package/lib/index.js +40 -26
  158. package/lib/index.js.map +1 -1
  159. package/lib/version.d.ts +1 -1
  160. package/lib/version.js +1 -1
  161. package/lib/version.js.map +1 -1
  162. package/package.json +3 -3
  163. package/tags.json +1 -0
  164. package/theme/hzzt-select-input.css +0 -0
  165. package/theme/hzzt-select-textarea.css +0 -0
  166. package/theme/src/index.scss +2 -0
  167. package/theme/src/select-input.scss +0 -0
  168. package/theme/src/select-textarea.scss +0 -0
  169. package/web-types.json +692 -0
@@ -0,0 +1,105 @@
1
+ import { defineComponent, ref, computed, watch, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, renderSlot, createVNode, createBlock, createCommentVNode, mergeProps } from 'vue';
2
+ import { selectTextareaProps, selectTextareaEmits } from './select-textarea.mjs';
3
+ import '../../../hooks/index.mjs';
4
+ import { useFormSize, useFormDisabled, ElSelectV2, ElInput } from 'element-plus';
5
+ import HzztTitle from '../../title/src/title2.mjs';
6
+ import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
7
+ import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
8
+ import { useGlobalSize } from '../../../hooks/use-size/index.mjs';
9
+ import { insertCursorPosition } from '../../../hooks/use-cursor/index.mjs';
10
+
11
+ const _hoisted_1 = { class: "flex column" };
12
+ const _hoisted_2 = { class: "flex align-items-center" };
13
+ const __default__ = defineComponent({
14
+ name: "HzztSelectTextarea"
15
+ });
16
+ const _sfc_main = /* @__PURE__ */ defineComponent({
17
+ ...__default__,
18
+ props: selectTextareaProps,
19
+ emits: selectTextareaEmits,
20
+ setup(__props, { emit }) {
21
+ const props = __props;
22
+ const inputVal = ref(props.modelValue);
23
+ const selectValue = ref("");
24
+ const inputRef = ref();
25
+ const nsInput = useNamespace("select-textarea");
26
+ const formSize = useFormSize();
27
+ const formDisabled = useFormDisabled();
28
+ const trueSize = computed(() => props.size || formSize.value || useGlobalSize().value);
29
+ const trueDisabled = computed(() => props.disabled || formDisabled.value);
30
+ const containerCls = computed(() => [
31
+ nsInput.b(),
32
+ nsInput.m(trueSize.value)
33
+ ]);
34
+ const _inputProps = computed(() => ({
35
+ disabled: trueDisabled.value,
36
+ clearable: true,
37
+ ...props.inputProps,
38
+ type: "textarea"
39
+ }));
40
+ watch(() => props.modelValue, (v) => {
41
+ inputVal.value = v;
42
+ });
43
+ function input(val) {
44
+ emit("update:modelValue", val);
45
+ emit("input", val);
46
+ }
47
+ function change(val) {
48
+ emit("change", val);
49
+ }
50
+ function selectChange(val) {
51
+ if (!inputVal.value && inputVal.value !== 0)
52
+ inputVal.value = "";
53
+ let content = val;
54
+ if (!props.replace) {
55
+ const inputEl = inputRef.value.getElementsByTagName("textarea")[0];
56
+ content = insertCursorPosition(inputEl, val);
57
+ }
58
+ input(content);
59
+ change(content);
60
+ emit("select", val);
61
+ }
62
+ return (_ctx, _cache) => {
63
+ return openBlock(), createElementBlock("div", {
64
+ class: normalizeClass(unref(containerCls))
65
+ }, [
66
+ createElementVNode("div", _hoisted_1, [
67
+ createElementVNode("div", _hoisted_2, [
68
+ renderSlot(_ctx.$slots, "title", {}, () => [
69
+ createVNode(HzztTitle, {
70
+ class: "margin-l-1",
71
+ label: _ctx.label
72
+ }, null, 8, ["label"])
73
+ ]),
74
+ !unref(trueDisabled) ? (openBlock(), createBlock(unref(ElSelectV2), {
75
+ key: 0,
76
+ class: "flex-1",
77
+ modelValue: selectValue.value,
78
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => selectValue.value = $event),
79
+ "allow-create": "",
80
+ filterable: "",
81
+ clearable: "",
82
+ onChange: selectChange,
83
+ options: _ctx.data
84
+ }, null, 8, ["modelValue", "options"])) : createCommentVNode("v-if", true),
85
+ renderSlot(_ctx.$slots, "right")
86
+ ]),
87
+ createVNode(unref(ElInput), mergeProps({
88
+ ref_key: "inputRef",
89
+ ref: inputRef,
90
+ class: "flex-1 margin-t-1",
91
+ modelValue: inputVal.value,
92
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => inputVal.value = $event)
93
+ }, unref(_inputProps), {
94
+ onInput: input,
95
+ onChange: change
96
+ }), null, 16, ["modelValue"])
97
+ ])
98
+ ], 2);
99
+ };
100
+ }
101
+ });
102
+ var SelectTextarea = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "select-textarea.vue"]]);
103
+
104
+ export { SelectTextarea as default };
105
+ //# sourceMappingURL=select-textarea2.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"select-textarea2.mjs","sources":["../../../../../../packages/components/select-textarea/src/select-textarea.vue"],"sourcesContent":["<template>\n <div :class=\"containerCls\">\n <div class=\"flex column\">\n <div class=\"flex align-items-center\">\n <slot name=\"title\">\n <hzzt-title class=\"margin-l-1\" :label=\"label\"></hzzt-title>\n </slot>\n <el-select-v2 class=\"flex-1\" v-model=\"selectValue\" allow-create filterable clearable @change=\"selectChange\"\n v-if=\"!trueDisabled\" :options=\"data\"></el-select-v2>\n <slot name=\"right\"></slot>\n </div>\n <el-input ref=\"inputRef\" class=\"flex-1 margin-t-1\" v-model=\"inputVal\" v-bind=\"_inputProps\"\n @input=\"input\"\n @change=\"change\"></el-input>\n </div>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\n import {selectTextareaProps, selectTextareaEmits} from './select-textarea'\n import {computed, ref, watch} from \"vue\";\n import {useGlobalSize, useNamespace, insertCursorPosition} from \"@hzzt-plus/hooks\";\n import {useFormDisabled, useFormSize} from \"element-plus\";\n import HzztTitle from \"@hzzt-plus/components/title/src/title.vue\";\n import {ElInput, ElSelectV2} from 'element-plus'\n\n defineOptions({\n name: 'HzztSelectTextarea',\n })\n\n const props = defineProps(selectTextareaProps)\n const emit = defineEmits(selectTextareaEmits)\n\n const inputVal = ref(props.modelValue);\n const selectValue = ref('');\n const inputRef = ref();\n\n const nsInput = useNamespace('select-textarea')\n const formSize = useFormSize()\n const formDisabled = useFormDisabled()\n\n const trueSize = computed(\n () => props.size || formSize.value || useGlobalSize().value\n )\n\n const trueDisabled = computed(() => props.disabled || formDisabled.value)\n\n const containerCls = computed(() => [\n nsInput.b(),\n nsInput.m(trueSize.value),\n ])\n\n const _inputProps = computed(() => ({\n disabled: trueDisabled.value,\n clearable: true,\n ...props.inputProps,\n type: 'textarea',\n }))\n\n watch(() => props.modelValue, (v) => {\n inputVal.value = v;\n })\n\n function input(val: string) {\n emit('update:modelValue', val);\n emit('input', val);\n }\n\n function change(val: string) {\n emit('change', val);\n }\n\n function selectChange(val: string) {\n if (!inputVal.value && inputVal.value !== 0) inputVal.value = '';\n let content = val;\n if (!props.replace) {\n const inputEl = inputRef.value.getElementsByTagName('textarea')[0];\n content = insertCursorPosition(inputEl, val);\n }\n input(content);\n change(content);\n emit('select', val);\n }\n\n\n</script>\n"],"names":["_openBlock","_createElementBlock"],"mappings":";;;;;;;;;;;;mCA0BgB,CAAA;AAAA,EACZ,IAAM,EAAA,oBAAA;AACR,CAAA,CAAA,CAAA;;;;;;;AAKA,IAAM,MAAA,QAAA,GAAW,GAAI,CAAA,KAAA,CAAM,UAAU,CAAA,CAAA;AACrC,IAAM,MAAA,WAAA,GAAc,IAAI,EAAE,CAAA,CAAA;AAC1B,IAAA,MAAM,WAAW,GAAI,EAAA,CAAA;AAErB,IAAM,MAAA,OAAA,GAAU,aAAa,iBAAiB,CAAA,CAAA;AAC9C,IAAA,MAAM,WAAW,WAAY,EAAA,CAAA;AAC7B,IAAA,MAAM,eAAe,eAAgB,EAAA,CAAA;AAErC,IAAA,MAAM,QAAW,GAAA,QAAA,CAAA,MAAA,KAAA,CAAA,IAAA,IAAA,QAAA,CAAA,KAAA,IAAA,aAAA,EAAA,CAAA,KAAA,CAAA,CAAA;AAAA,IAAA,kBACH,GAAA,QAAiB,CAAA,MAAA,kBAAuB,YAAE,CAAA,KAAA,CAAA,CAAA;AAAA,IACxD,MAAA,YAAA,GAAA,QAAA,CAAA,MAAA;AAEA,MAAA;AAEA,MAAM,OAAA,CAAA,CAAA,CAAA,QAAA,CAAe;AAAe,KAAA,CAClC;AAAU,IACV,MAAA,WAAU,GAAA,QAAc,CAAA,OAAA;AAAA,MACzB,QAAA,EAAA,YAAA,CAAA,KAAA;AAED,MAAM,SAAA,EAAA,IAAA;AAA8B,MAClC,mBAAuB;AAAA,MACvB,IAAW,EAAA,UAAA;AAAA,KAAA,CACX;AAAS,IAAA,KACH,CAAA,MAAA,KAAA,CAAA,UAAA,EAAA,CAAA,CAAA,KAAA;AAAA,MACN,QAAA,CAAA,KAAA,GAAA,CAAA,CAAA;AAEF,KAAA,CAAA,CAAA;AACE,IAAA,SAAA,KAAiB,CAAA,GAAA,EAAA;AAAA,MAClB,IAAA,CAAA,mBAAA,EAAA,GAAA,CAAA,CAAA;AAED,MAAA,IAAA,CAAA,SAA4B,GAAA,CAAA,CAAA;AAC1B,KAAA;AACA,IAAA,gBAAc,GAAG,EAAA;AAAA,MACnB,IAAA,CAAA,QAAA,EAAA,GAAA,CAAA,CAAA;AAEA,KAAA;AACE,IAAA,qBAAkB,CAAA,GAAA,EAAA;AAAA,MACpB,IAAA,CAAA,QAAA,CAAA,KAAA,IAAA,QAAA,CAAA,KAAA,KAAA,CAAA;AAEA,QAAA,mBAAmC,CAAA;AACjC,MAAA,IAAI,OAAC,GAAS,GAAS,CAAA;AAAsB,MAAA,IAAA,CAAA,KAAA,CAAS,OAAQ,EAAA;AAC9D,QAAA,MAAc,OAAA,GAAA,QAAA,CAAA,KAAA,CAAA,oBAAA,CAAA,UAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AACd,QAAI,UAAgB,oBAAA,CAAA,OAAA,EAAA,GAAA,CAAA,CAAA;AAClB,OAAA;AACA,MAAU,KAAA,CAAA,OAAA,CAAA,CAAA;AAAiC,MAC7C,MAAA,CAAA,OAAA,CAAA,CAAA;AACA,MAAA,IAAA,CAAA,QAAa,EAAA,GAAA,CAAA,CAAA;AACb,KAAA;AACA,IAAA,OAAK,aAAa,KAAA;AAAA,MACpB,OAAAA,SAAA,EAAA,EAAAC,kBAAA,CAAA,KAAA,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,2 @@
1
+ import 'hzzt-plus/es/components/base/style/css';
2
+ import 'hzzt-plus/theme/hzzt-select-textarea.css';
@@ -0,0 +1,3 @@
1
+ import '../../base/style/css.mjs';
2
+ import 'hzzt-plus/theme/hzzt-select-textarea.css';
3
+ //# sourceMappingURL=css.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"css.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -0,0 +1,2 @@
1
+ import 'hzzt-plus/es/components/base/style';
2
+ import 'hzzt-plus/theme/src/select-textarea.scss';
@@ -0,0 +1,3 @@
1
+ import '../../base/style/index.mjs';
2
+ import 'hzzt-plus/theme/src/select-textarea.scss';
3
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -75,7 +75,7 @@ export declare const HzztTab: import("hzzt-plus/es/utils").SFCWithInstall<import
75
75
  $data: {};
76
76
  $props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{
77
77
  readonly size: {
78
- readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown>>;
78
+ readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>>;
79
79
  readonly required: false;
80
80
  readonly validator: ((val: unknown) => boolean) | undefined;
81
81
  __epPropKey: true;
@@ -102,7 +102,7 @@ export declare const HzztTab: import("hzzt-plus/es/utils").SFCWithInstall<import
102
102
  $el: any;
103
103
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
104
104
  readonly size: {
105
- readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown>>;
105
+ readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>>;
106
106
  readonly required: false;
107
107
  readonly validator: ((val: unknown) => boolean) | undefined;
108
108
  __epPropKey: true;
@@ -135,7 +135,7 @@ export declare const HzztTab: import("hzzt-plus/es/utils").SFCWithInstall<import
135
135
  $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
136
136
  } & Readonly<import("vue").ExtractPropTypes<{
137
137
  readonly size: {
138
- readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown>>;
138
+ readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>>;
139
139
  readonly required: false;
140
140
  readonly validator: ((val: unknown) => boolean) | undefined;
141
141
  __epPropKey: true;
@@ -152,7 +152,7 @@ export declare const HzztTab: import("hzzt-plus/es/utils").SFCWithInstall<import
152
152
  __isSuspense?: undefined;
153
153
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
154
154
  readonly size: {
155
- readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown>>;
155
+ readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>>;
156
156
  readonly required: false;
157
157
  readonly validator: ((val: unknown) => boolean) | undefined;
158
158
  __epPropKey: true;
@@ -76,7 +76,7 @@ declare const _default: import("vue").DefineComponent<{
76
76
  $data: {};
77
77
  $props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{
78
78
  readonly size: {
79
- readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown>>;
79
+ readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>>;
80
80
  readonly required: false;
81
81
  readonly validator: ((val: unknown) => boolean) | undefined;
82
82
  __epPropKey: true;
@@ -103,7 +103,7 @@ declare const _default: import("vue").DefineComponent<{
103
103
  $el: any;
104
104
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
105
105
  readonly size: {
106
- readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown>>;
106
+ readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>>;
107
107
  readonly required: false;
108
108
  readonly validator: ((val: unknown) => boolean) | undefined;
109
109
  __epPropKey: true;
@@ -136,7 +136,7 @@ declare const _default: import("vue").DefineComponent<{
136
136
  $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
137
137
  } & Readonly<import("vue").ExtractPropTypes<{
138
138
  readonly size: {
139
- readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown>>;
139
+ readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>>;
140
140
  readonly required: false;
141
141
  readonly validator: ((val: unknown) => boolean) | undefined;
142
142
  __epPropKey: true;
@@ -153,7 +153,7 @@ declare const _default: import("vue").DefineComponent<{
153
153
  __isSuspense?: undefined;
154
154
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
155
155
  readonly size: {
156
- readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown>>;
156
+ readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>>;
157
157
  readonly required: false;
158
158
  readonly validator: ((val: unknown) => boolean) | undefined;
159
159
  __epPropKey: true;
@@ -1,9 +1,9 @@
1
1
  import '../../utils/index.mjs';
2
- import Title from './src/title2.mjs';
2
+ import HzztTitle$1 from './src/title2.mjs';
3
3
  export { titleProps } from './src/title.mjs';
4
4
  import { withInstall } from '../../utils/vue/install.mjs';
5
5
 
6
- const HzztTitle = withInstall(Title);
6
+ const HzztTitle = withInstall(HzztTitle$1);
7
7
 
8
8
  export { HzztTitle, HzztTitle as default };
9
9
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":["../../../../../packages/components/title/index.ts"],"sourcesContent":["import { withInstall } from '@hzzt-plus/utils'\n\nimport Title from './src/title.vue'\nimport type { SFCWithInstall } from '@hzzt-plus/utils'\n\nexport const HzztTitle: SFCWithInstall<typeof Title> = withInstall(Title)\nexport default HzztTitle\n\nexport * from './src/title'\n"],"names":[],"mappings":";;;;;AAEY,MAAC,SAAS,GAAG,WAAW,CAAC,KAAK;;;;"}
1
+ {"version":3,"file":"index.mjs","sources":["../../../../../packages/components/title/index.ts"],"sourcesContent":["import { withInstall } from '@hzzt-plus/utils'\nimport Title from './src/title.vue'\nimport type { SFCWithInstall } from '@hzzt-plus/utils'\n\nexport const HzztTitle: SFCWithInstall<typeof Title> = withInstall(Title)\nexport default HzztTitle\n\nexport * from './src/title'\n"],"names":["Title"],"mappings":";;;;;AAEY,MAAC,SAAS,GAAG,WAAW,CAACA,WAAK;;;;"}
@@ -1,7 +1,6 @@
1
1
  import { defineComponent, useSlots, computed, unref, openBlock, createElementBlock, createCommentVNode, renderSlot, createElementVNode, createTextVNode, toDisplayString } from 'vue';
2
- import '../../index.mjs';
3
- import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
4
2
  import { titleProps } from './title.mjs';
3
+ import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
5
4
 
6
5
  const _hoisted_1 = {
7
6
  key: 0,
@@ -38,7 +37,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
38
37
  };
39
38
  }
40
39
  });
41
- var Title = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "title.vue"]]);
40
+ var HzztTitle = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "title.vue"]]);
42
41
 
43
- export { Title as default };
42
+ export { HzztTitle as default };
44
43
  //# sourceMappingURL=title2.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"title2.mjs","sources":["../../../../../../packages/components/title/src/title.vue"],"sourcesContent":["<template>\n <div v-if=\"showLabel\" class=\"hzzt-title flex align-items-center\">\n <span v-if=\"sideline\" class=\"decorative-line\" />\n <slot name=\"before\" />\n <label class=\"label-name\">\n <slot>{{ label }}</slot>\n </label>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed, useSlots } from 'vue'\nimport { titleProps } from '@hzzt-plus/components'\n\ndefineOptions({\n name: 'HzztTitle',\n})\n\nconst props = defineProps(titleProps)\n\nconst slots = useSlots()\n\nconst showLabel = computed(\n () => props.label || slots?.default?.()?.[0]?.children\n)\n</script>\n"],"names":[],"mappings":";;;;;;;;;;;;;;mCAcc,CAAA;AAAA,EACZ,IAAM,EAAA,WAAA;AACR,CAAA,CAAA,CAAA;;;;;;AAIA,IAAA,MAAM,QAAQ,QAAS,EAAA,CAAA;AAEvB,IAAA,MAAM,SAAY,GAAA,QAAA,CAAA,MAAA;AAAA,MAChB,MAAM,EAAM,EAAA,EAAA,EAAA,CAAA;AAAkC,MAChD,OAAA,KAAA,CAAA,KAAA,KAAA,CAAA,EAAA,GAAA,CAAA,EAAA,GAAA,CAAA,EAAA,GAAA,KAAA,IAAA,IAAA,GAAA,KAAA,CAAA,GAAA,KAAA,CAAA,OAAA,KAAA,IAAA,GAAA,KAAA,CAAA,GAAA,EAAA,CAAA,IAAA,CAAA,KAAA,CAAA,KAAA,IAAA,GAAA,KAAA,CAAA,GAAA,EAAA,CAAA,CAAA,CAAA,KAAA,IAAA,GAAA,KAAA,CAAA,GAAA,EAAA,CAAA,QAAA,CAAA,CAAA;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"title2.mjs","sources":["../../../../../../packages/components/title/src/title.vue"],"sourcesContent":["<template>\n <div v-if=\"showLabel\" class=\"hzzt-title flex align-items-center\">\n <span v-if=\"sideline\" class=\"decorative-line\" />\n <slot name=\"before\" />\n <label class=\"label-name\">\n <slot>{{ label }}</slot>\n </label>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed, useSlots } from 'vue'\nimport { titleProps } from './title'\n\ndefineOptions({\n name: 'HzztTitle',\n})\n\nconst props = defineProps(titleProps)\n\nconst slots = useSlots()\n\nconst showLabel = computed(\n () => props.label || slots?.default?.()?.[0]?.children\n)\n</script>\n"],"names":[],"mappings":";;;;;;;;;;;;;mCAcc,CAAA;AAAA,EACZ,IAAM,EAAA,WAAA;AACR,CAAA,CAAA,CAAA;;;;;;AAIA,IAAA,MAAM,QAAQ,QAAS,EAAA,CAAA;AAEvB,IAAA,MAAM,SAAY,GAAA,QAAA,CAAA,MAAA;AAAA,MAChB,MAAM,EAAM,EAAA,EAAA,EAAA,CAAA;AAAkC,MAChD,OAAA,KAAA,CAAA,KAAA,KAAA,CAAA,EAAA,GAAA,CAAA,EAAA,GAAA,CAAA,EAAA,GAAA,KAAA,IAAA,IAAA,GAAA,KAAA,CAAA,GAAA,KAAA,CAAA,OAAA,KAAA,IAAA,GAAA,KAAA,CAAA,GAAA,EAAA,CAAA,IAAA,CAAA,KAAA,CAAA,KAAA,IAAA,GAAA,KAAA,CAAA,GAAA,EAAA,CAAA,CAAA,CAAA,KAAA,IAAA,GAAA,KAAA,CAAA,GAAA,EAAA,CAAA,QAAA,CAAA,CAAA;;;;;;;;;;;;;;;;;;;"}