hzzt-plus 0.0.9 → 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.
- package/dist/index.css +1 -1
- package/dist/index.full.js +395 -217
- package/dist/index.full.min.js +13 -13
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +13 -13
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +390 -219
- package/es/component.mjs +3 -1
- package/es/component.mjs.map +1 -1
- package/es/components/index.d.ts +1 -0
- package/es/components/index.mjs +3 -0
- package/es/components/index.mjs.map +1 -1
- package/es/components/scan/index.d.ts +5 -0
- package/es/components/scan/index.mjs +9 -0
- package/es/components/scan/index.mjs.map +1 -0
- package/es/components/scan/src/scan.d.ts +15 -0
- package/es/components/scan/src/scan.mjs +28 -0
- package/es/components/scan/src/scan.mjs.map +1 -0
- package/es/components/scan/src/scan.vue.d.ts +572 -0
- package/es/components/scan/src/scan2.mjs +149 -0
- package/es/components/scan/src/scan2.mjs.map +1 -0
- package/es/components/scan/style/css.d.ts +2 -0
- package/es/components/scan/style/css.mjs +3 -0
- package/es/components/scan/style/css.mjs.map +1 -0
- package/es/components/scan/style/index.d.ts +2 -0
- package/es/components/scan/style/index.mjs +3 -0
- package/es/components/scan/style/index.mjs.map +1 -0
- package/es/components/title/index.d.ts +4 -29
- package/es/components/title/index.mjs +2 -1
- package/es/components/title/index.mjs.map +1 -1
- package/es/components/title/src/title.d.ts +8 -0
- package/es/components/title/src/title.mjs +8 -43
- package/es/components/title/src/title.mjs.map +1 -1
- package/es/components/title/src/title.vue.d.ts +7 -16
- package/es/components/title/src/title2.mjs +44 -0
- package/es/components/title/src/title2.mjs.map +1 -0
- package/es/constants/index.d.ts +1 -0
- package/es/constants/index.mjs +1 -0
- package/es/constants/index.mjs.map +1 -1
- package/es/index.mjs +4 -0
- package/es/index.mjs.map +1 -1
- package/global.d.ts +1 -0
- package/lib/component.js +3 -1
- package/lib/component.js.map +1 -1
- package/lib/components/index.d.ts +1 -0
- package/lib/components/index.js +7 -0
- package/lib/components/index.js.map +1 -1
- package/lib/components/scan/index.d.ts +5 -0
- package/lib/components/scan/index.js +16 -0
- package/lib/components/scan/index.js.map +1 -0
- package/lib/components/scan/src/scan.d.ts +15 -0
- package/lib/components/scan/src/scan.js +33 -0
- package/lib/components/scan/src/scan.js.map +1 -0
- package/lib/components/scan/src/scan.vue.d.ts +572 -0
- package/lib/components/scan/src/scan2.js +153 -0
- package/lib/components/scan/src/scan2.js.map +1 -0
- package/lib/components/scan/style/css.d.ts +2 -0
- package/lib/components/scan/style/css.js +6 -0
- package/lib/components/scan/style/css.js.map +1 -0
- package/lib/components/scan/style/index.d.ts +2 -0
- package/lib/components/scan/style/index.js +6 -0
- package/lib/components/scan/style/index.js.map +1 -0
- package/lib/components/title/index.d.ts +4 -29
- package/lib/components/title/index.js +3 -1
- package/lib/components/title/index.js.map +1 -1
- package/lib/components/title/src/title.d.ts +8 -0
- package/lib/components/title/src/title.js +8 -43
- package/lib/components/title/src/title.js.map +1 -1
- package/lib/components/title/src/title.vue.d.ts +7 -16
- package/lib/components/title/src/title2.js +48 -0
- package/lib/components/title/src/title2.js.map +1 -0
- package/lib/constants/index.d.ts +1 -0
- package/lib/constants/index.js +4 -0
- package/lib/constants/index.js.map +1 -1
- package/lib/index.js +37 -26
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
- package/theme/hzzt-scan.css +1 -0
- package/theme/index.css +1 -1
- package/theme/src/index.scss +1 -0
- package/theme/src/scan.scss +80 -0
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var vue = require('vue');
|
|
6
|
+
var elementPlus = require('element-plus');
|
|
7
|
+
var scan = require('./scan.js');
|
|
8
|
+
var pluginVue_exportHelper = require('../../../_virtual/plugin-vue_export-helper.js');
|
|
9
|
+
|
|
10
|
+
const _hoisted_1 = /* @__PURE__ */ vue.createElementVNode("div", { style: { "width": "0", "height": "0", "overflow": "hidden" } }, [
|
|
11
|
+
/* @__PURE__ */ vue.createElementVNode("input", {
|
|
12
|
+
readonly: "",
|
|
13
|
+
style: { "width": "0", "height": "0", "overflow": "hidden" }
|
|
14
|
+
}),
|
|
15
|
+
/* @__PURE__ */ vue.createElementVNode("input", {
|
|
16
|
+
readonly: "",
|
|
17
|
+
type: "password",
|
|
18
|
+
autocomplete: "off",
|
|
19
|
+
style: { "width": "0", "height": "0", "overflow": "hidden" }
|
|
20
|
+
})
|
|
21
|
+
], -1);
|
|
22
|
+
const _hoisted_2 = {
|
|
23
|
+
class: "width-100%",
|
|
24
|
+
style: { "overflow": "hidden" }
|
|
25
|
+
};
|
|
26
|
+
const __default__ = vue.defineComponent({
|
|
27
|
+
inheritAttrs: false,
|
|
28
|
+
name: "HzztScan"
|
|
29
|
+
});
|
|
30
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
31
|
+
...__default__,
|
|
32
|
+
props: scan.scanProps,
|
|
33
|
+
emits: scan.scanEmits,
|
|
34
|
+
setup(__props, { expose, emit }) {
|
|
35
|
+
const props = __props;
|
|
36
|
+
const readonly = vue.ref(true);
|
|
37
|
+
const innerValue = vue.ref(" ");
|
|
38
|
+
const inputRef = vue.ref();
|
|
39
|
+
const showValue = vue.computed(() => {
|
|
40
|
+
if (innerValue.value === " ") {
|
|
41
|
+
return ` ${props.placeholder}`;
|
|
42
|
+
} else {
|
|
43
|
+
return innerValue.value;
|
|
44
|
+
}
|
|
45
|
+
});
|
|
46
|
+
const inputType = vue.computed(() => {
|
|
47
|
+
if (innerValue.value && !readonly.value) {
|
|
48
|
+
return "password";
|
|
49
|
+
} else {
|
|
50
|
+
return "text";
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
vue.watch(() => props.modelValue, (v) => {
|
|
54
|
+
if (!v) {
|
|
55
|
+
innerValue.value = " ";
|
|
56
|
+
} else {
|
|
57
|
+
innerValue.value = ` ${changeLetter(v)}`;
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
vue.watch(() => innerValue.value, (v) => {
|
|
61
|
+
if (!v) {
|
|
62
|
+
innerValue.value = " ";
|
|
63
|
+
}
|
|
64
|
+
const str = innerValue.value[0] === " " ? innerValue.value.slice(1) : innerValue.value;
|
|
65
|
+
const final = changeLetter(str != null ? str : "");
|
|
66
|
+
emit("update:modelValue", final);
|
|
67
|
+
emit("input", final);
|
|
68
|
+
});
|
|
69
|
+
function changeLetter(v) {
|
|
70
|
+
if (props.letter === "upper") {
|
|
71
|
+
return v.toLocaleUpperCase();
|
|
72
|
+
} else if (props.letter === "lower") {
|
|
73
|
+
return v.toLocaleLowerCase();
|
|
74
|
+
} else {
|
|
75
|
+
return v;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
function inputFocus() {
|
|
79
|
+
readonly.value = false;
|
|
80
|
+
}
|
|
81
|
+
function inputBlur() {
|
|
82
|
+
readonly.value = true;
|
|
83
|
+
}
|
|
84
|
+
function inputChange() {
|
|
85
|
+
emit("change", props.modelValue);
|
|
86
|
+
}
|
|
87
|
+
function focus() {
|
|
88
|
+
readonly.value = false;
|
|
89
|
+
setTimeout(() => {
|
|
90
|
+
inputRef.value.focus();
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
function blur() {
|
|
94
|
+
readonly.value = true;
|
|
95
|
+
inputRef.value.blur();
|
|
96
|
+
}
|
|
97
|
+
function clear() {
|
|
98
|
+
inputRef.value.clear();
|
|
99
|
+
}
|
|
100
|
+
expose({
|
|
101
|
+
focus,
|
|
102
|
+
blur,
|
|
103
|
+
clear
|
|
104
|
+
});
|
|
105
|
+
return (_ctx, _cache) => {
|
|
106
|
+
return vue.openBlock(), vue.createElementBlock("div", {
|
|
107
|
+
class: vue.normalizeClass(["hzzt-scan", _ctx.$attrs.class]),
|
|
108
|
+
style: vue.normalizeStyle([{ "position": "relative" }, _ctx.$attrs.style])
|
|
109
|
+
}, [
|
|
110
|
+
_hoisted_1,
|
|
111
|
+
vue.createVNode(vue.unref(elementPlus.ElInput), vue.mergeProps({
|
|
112
|
+
ref_key: "inputRef",
|
|
113
|
+
ref: inputRef,
|
|
114
|
+
modelValue: innerValue.value,
|
|
115
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => innerValue.value = $event)
|
|
116
|
+
}, {
|
|
117
|
+
..._ctx.$attrs,
|
|
118
|
+
class: "",
|
|
119
|
+
style: "",
|
|
120
|
+
onChange: ""
|
|
121
|
+
}, {
|
|
122
|
+
readonly: readonly.value,
|
|
123
|
+
type: vue.unref(inputType),
|
|
124
|
+
class: "hzzt-scan-input-original",
|
|
125
|
+
autocomplete: "off",
|
|
126
|
+
onFocus: inputFocus,
|
|
127
|
+
onBlur: inputBlur,
|
|
128
|
+
onChange: inputChange
|
|
129
|
+
}), vue.createSlots({
|
|
130
|
+
_: 2
|
|
131
|
+
}, [
|
|
132
|
+
vue.renderList(_ctx.$slots, (_, key, index) => {
|
|
133
|
+
return {
|
|
134
|
+
name: key,
|
|
135
|
+
fn: vue.withCtx(() => [
|
|
136
|
+
vue.renderSlot(_ctx.$slots, key)
|
|
137
|
+
])
|
|
138
|
+
};
|
|
139
|
+
})
|
|
140
|
+
]), 1040, ["modelValue", "readonly", "type"]),
|
|
141
|
+
vue.createElementVNode("div", {
|
|
142
|
+
class: vue.normalizeClass(["hzzt-scan-input-backup", { "placeholder-color": innerValue.value === " " }])
|
|
143
|
+
}, [
|
|
144
|
+
vue.createElementVNode("div", _hoisted_2, vue.toDisplayString(vue.unref(showValue)), 1)
|
|
145
|
+
], 2)
|
|
146
|
+
], 6);
|
|
147
|
+
};
|
|
148
|
+
}
|
|
149
|
+
});
|
|
150
|
+
var Scan = /* @__PURE__ */ pluginVue_exportHelper["default"](_sfc_main, [["__file", "scan.vue"]]);
|
|
151
|
+
|
|
152
|
+
exports["default"] = Scan;
|
|
153
|
+
//# sourceMappingURL=scan2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scan2.js","sources":["../../../../../../packages/components/scan/src/scan.vue"],"sourcesContent":["<template>\n <div\n class=\"hzzt-scan\"\n style=\"position: relative\"\n :class=\"$attrs.class\"\n :style=\"$attrs.style\"\n >\n <div style=\"width: 0; height: 0; overflow: hidden\">\n <input readonly style=\"width: 0; height: 0; overflow: hidden\" />\n <input\n readonly\n type=\"password\"\n autocomplete=\"off\"\n style=\"width: 0; height: 0; overflow: hidden\"\n />\n </div>\n\n <el-input\n ref=\"inputRef\"\n v-model=\"innerValue\"\n v-bind=\"{\n ...$attrs,\n class: '',\n style: '',\n onChange: '',\n }\"\n :readonly=\"readonly\"\n :type=\"inputType\"\n class=\"hzzt-scan-input-original\"\n autocomplete=\"off\"\n @focus=\"inputFocus\"\n @blur=\"inputBlur\"\n @change=\"inputChange\"\n >\n <template v-for=\"(_, key, index) in $slots\" :key=\"index\" #[key]>\n <slot :name=\"key\" />\n </template>\n </el-input>\n <div\n class=\"hzzt-scan-input-backup\"\n :class=\"{ 'placeholder-color': innerValue === ' ' }\"\n >\n <div class=\"width-100%\" style=\"overflow: hidden\">\n {{ showValue }}\n </div>\n </div>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed, ref, watch } from 'vue'\nimport { ElInput } from 'element-plus'\nimport { scanEmits, scanProps } from '@hzzt-plus/components/scan/src/scan'\n\ndefineOptions({\n inheritAttrs: false,\n name: 'HzztScan',\n})\n\nconst props = defineProps(scanProps)\n\nconst emit = defineEmits(scanEmits)\n\nconst readonly = ref(true)\nconst innerValue = ref(' ')\nconst inputRef = ref()\n\nconst showValue = computed(() => {\n if (innerValue.value === ' ') {\n return ` ${props.placeholder}`\n } else {\n return innerValue.value\n }\n})\n\nconst inputType = computed(() => {\n if (innerValue.value && !readonly.value) {\n return 'password'\n } else {\n return 'text'\n }\n})\n\nwatch(\n () => props.modelValue,\n (v) => {\n if (!v) {\n innerValue.value = ' '\n } else {\n innerValue.value = ` ${changeLetter(v)}`\n }\n }\n)\n\nwatch(\n () => innerValue.value,\n (v) => {\n if (!v) {\n innerValue.value = ' '\n }\n const str =\n innerValue.value[0] === ' ' ? innerValue.value.slice(1) : innerValue.value\n const final = changeLetter(str ?? '')\n emit('update:modelValue', final)\n emit('input', final)\n }\n)\n\nfunction changeLetter(v: string) {\n if (props.letter === 'upper') {\n return v.toLocaleUpperCase()\n } else if (props.letter === 'lower') {\n return v.toLocaleLowerCase()\n } else {\n return v\n }\n}\n\nfunction inputFocus() {\n readonly.value = false\n}\n\nfunction inputBlur() {\n readonly.value = true\n}\n\nfunction inputChange() {\n emit('change', props.modelValue)\n}\n\nfunction focus() {\n readonly.value = false\n setTimeout(() => {\n inputRef.value.focus()\n })\n}\n\nfunction blur() {\n readonly.value = true\n inputRef.value.blur()\n}\n\nfunction clear() {\n inputRef.value.clear()\n}\n\ndefineExpose({\n focus,\n blur,\n clear,\n})\n</script>\n"],"names":["_defineComponent","scanEmits","watch","_openBlock","_createElementBlock","_normalizeClass","_normalizeStyle","_createVNode","_unref","ElInput","_mergeProps"],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
|
|
@@ -1,30 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
type: BooleanConstructor;
|
|
5
|
-
default: boolean;
|
|
6
|
-
};
|
|
7
|
-
}, {
|
|
8
|
-
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
9
|
-
label: StringConstructor;
|
|
10
|
-
sideline: {
|
|
11
|
-
type: BooleanConstructor;
|
|
12
|
-
default: boolean;
|
|
13
|
-
};
|
|
14
|
-
}>> & {
|
|
15
|
-
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
16
|
-
}>>;
|
|
17
|
-
slots: Readonly<{
|
|
18
|
-
[name: string]: import("vue").Slot | undefined;
|
|
19
|
-
}>;
|
|
20
|
-
showLabel: import("vue").ComputedRef<import("vue").VNodeNormalizedChildren | undefined>;
|
|
21
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
22
|
-
label: StringConstructor;
|
|
23
|
-
sideline: {
|
|
24
|
-
type: BooleanConstructor;
|
|
25
|
-
default: boolean;
|
|
26
|
-
};
|
|
27
|
-
}>>, {
|
|
28
|
-
sideline: boolean;
|
|
29
|
-
}>> & Record<string, any>;
|
|
1
|
+
import Title from './src/title.vue';
|
|
2
|
+
import type { SFCWithInstall } from 'hzzt-plus/es/utils';
|
|
3
|
+
export declare const HzztTitle: SFCWithInstall<typeof Title>;
|
|
30
4
|
export default HzztTitle;
|
|
5
|
+
export * from './src/title';
|
|
@@ -3,11 +3,13 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
require('../../utils/index.js');
|
|
6
|
+
var title$1 = require('./src/title2.js');
|
|
6
7
|
var title = require('./src/title.js');
|
|
7
8
|
var install = require('../../utils/vue/install.js');
|
|
8
9
|
|
|
9
|
-
const HzztTitle = install.withInstall(title["default"]);
|
|
10
|
+
const HzztTitle = install.withInstall(title$1["default"]);
|
|
10
11
|
|
|
12
|
+
exports.titleProps = title.titleProps;
|
|
11
13
|
exports.HzztTitle = HzztTitle;
|
|
12
14
|
exports["default"] = HzztTitle;
|
|
13
15
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../packages/components/title/index.ts"],"sourcesContent":["import { withInstall } from '@hzzt-plus/utils'\n\nimport Title from './src/title.vue'\n\nexport const HzztTitle = withInstall(Title)\nexport default HzztTitle\n"],"names":["withInstall","Title"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","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":["withInstall","Title"],"mappings":";;;;;;;;;AAEY,MAAC,SAAS,GAAGA,mBAAW,CAACC,kBAAK;;;;;;"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ExtractPropTypes } from 'vue';
|
|
2
|
+
import type Title from './title.vue';
|
|
3
|
+
export declare const titleProps: {
|
|
4
|
+
readonly label: StringConstructor;
|
|
5
|
+
readonly sideline: import("hzzt-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
6
|
+
};
|
|
7
|
+
export declare type TitleProps = ExtractPropTypes<typeof titleProps>;
|
|
8
|
+
export declare type TitleInstance = InstanceType<typeof Title>;
|
|
@@ -2,51 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
var
|
|
5
|
+
require('../../../utils/index.js');
|
|
6
|
+
var runtime = require('../../../utils/vue/props/runtime.js');
|
|
7
7
|
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
key: 0,
|
|
14
|
-
class: "decorative-line"
|
|
15
|
-
};
|
|
16
|
-
const _hoisted_3 = { class: "label-name" };
|
|
17
|
-
const __default__ = vue.defineComponent({
|
|
18
|
-
name: "HzztTitle"
|
|
19
|
-
});
|
|
20
|
-
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
21
|
-
...__default__,
|
|
22
|
-
props: {
|
|
23
|
-
label: String,
|
|
24
|
-
sideline: {
|
|
25
|
-
type: Boolean,
|
|
26
|
-
default: true
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
setup(__props) {
|
|
30
|
-
const props = __props;
|
|
31
|
-
const slots = vue.useSlots();
|
|
32
|
-
const showLabel = vue.computed(() => {
|
|
33
|
-
var _a, _b, _c;
|
|
34
|
-
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);
|
|
35
|
-
});
|
|
36
|
-
return (_ctx, _cache) => {
|
|
37
|
-
return vue.unref(showLabel) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
38
|
-
__props.sideline ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2)) : vue.createCommentVNode("v-if", true),
|
|
39
|
-
vue.renderSlot(_ctx.$slots, "before"),
|
|
40
|
-
vue.createElementVNode("label", _hoisted_3, [
|
|
41
|
-
vue.renderSlot(_ctx.$slots, "default", {}, () => [
|
|
42
|
-
vue.createTextVNode(vue.toDisplayString(__props.label), 1)
|
|
43
|
-
])
|
|
44
|
-
])
|
|
45
|
-
])) : vue.createCommentVNode("v-if", true);
|
|
46
|
-
};
|
|
8
|
+
const titleProps = runtime.buildProps({
|
|
9
|
+
label: String,
|
|
10
|
+
sideline: {
|
|
11
|
+
type: Boolean,
|
|
12
|
+
default: true
|
|
47
13
|
}
|
|
48
14
|
});
|
|
49
|
-
var Title = /* @__PURE__ */ pluginVue_exportHelper["default"](_sfc_main, [["__file", "title.vue"]]);
|
|
50
15
|
|
|
51
|
-
exports
|
|
16
|
+
exports.titleProps = titleProps;
|
|
52
17
|
//# sourceMappingURL=title.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"title.js","sources":["../../../../../../packages/components/title/src/title.
|
|
1
|
+
{"version":3,"file":"title.js","sources":["../../../../../../packages/components/title/src/title.ts"],"sourcesContent":["import { buildProps } from '@hzzt-plus/utils'\nimport type { ExtractPropTypes } from 'vue'\nimport type Title from './title.vue'\n\nexport const titleProps = buildProps({\n label: String,\n sideline: {\n type: Boolean,\n default: true,\n },\n} as const)\nexport type TitleProps = ExtractPropTypes<typeof titleProps>\n\nexport type TitleInstance = InstanceType<typeof Title>\n"],"names":["buildProps"],"mappings":";;;;;;;AACY,MAAC,UAAU,GAAGA,kBAAU,CAAC;AACrC,EAAE,KAAK,EAAE,MAAM;AACf,EAAE,QAAQ,EAAE;AACZ,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,IAAI;AACjB,GAAG;AACH,CAAC;;;;"}
|
|
@@ -1,16 +1,10 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
label: StringConstructor;
|
|
3
|
-
sideline:
|
|
4
|
-
type: BooleanConstructor;
|
|
5
|
-
default: boolean;
|
|
6
|
-
};
|
|
2
|
+
readonly label: StringConstructor;
|
|
3
|
+
readonly sideline: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
7
4
|
}, {
|
|
8
5
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
9
|
-
label: StringConstructor;
|
|
10
|
-
sideline:
|
|
11
|
-
type: BooleanConstructor;
|
|
12
|
-
default: boolean;
|
|
13
|
-
};
|
|
6
|
+
readonly label: StringConstructor;
|
|
7
|
+
readonly sideline: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
14
8
|
}>> & {
|
|
15
9
|
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
16
10
|
}>>;
|
|
@@ -19,12 +13,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
19
13
|
}>;
|
|
20
14
|
showLabel: import("vue").ComputedRef<import("vue").VNodeNormalizedChildren | undefined>;
|
|
21
15
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
22
|
-
label: StringConstructor;
|
|
23
|
-
sideline:
|
|
24
|
-
type: BooleanConstructor;
|
|
25
|
-
default: boolean;
|
|
26
|
-
};
|
|
16
|
+
readonly label: StringConstructor;
|
|
17
|
+
readonly sideline: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
27
18
|
}>>, {
|
|
28
|
-
sideline:
|
|
19
|
+
readonly sideline: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
29
20
|
}>;
|
|
30
21
|
export default _default;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var vue = require('vue');
|
|
6
|
+
require('../../index.js');
|
|
7
|
+
var pluginVue_exportHelper = require('../../../_virtual/plugin-vue_export-helper.js');
|
|
8
|
+
var title = require('./title.js');
|
|
9
|
+
|
|
10
|
+
const _hoisted_1 = {
|
|
11
|
+
key: 0,
|
|
12
|
+
class: "hzzt-title flex align-items-center"
|
|
13
|
+
};
|
|
14
|
+
const _hoisted_2 = {
|
|
15
|
+
key: 0,
|
|
16
|
+
class: "decorative-line"
|
|
17
|
+
};
|
|
18
|
+
const _hoisted_3 = { class: "label-name" };
|
|
19
|
+
const __default__ = vue.defineComponent({
|
|
20
|
+
name: "HzztTitle"
|
|
21
|
+
});
|
|
22
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
23
|
+
...__default__,
|
|
24
|
+
props: title.titleProps,
|
|
25
|
+
setup(__props) {
|
|
26
|
+
const props = __props;
|
|
27
|
+
const slots = vue.useSlots();
|
|
28
|
+
const showLabel = vue.computed(() => {
|
|
29
|
+
var _a, _b, _c;
|
|
30
|
+
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);
|
|
31
|
+
});
|
|
32
|
+
return (_ctx, _cache) => {
|
|
33
|
+
return vue.unref(showLabel) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
34
|
+
_ctx.sideline ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2)) : vue.createCommentVNode("v-if", true),
|
|
35
|
+
vue.renderSlot(_ctx.$slots, "before"),
|
|
36
|
+
vue.createElementVNode("label", _hoisted_3, [
|
|
37
|
+
vue.renderSlot(_ctx.$slots, "default", {}, () => [
|
|
38
|
+
vue.createTextVNode(vue.toDisplayString(_ctx.label), 1)
|
|
39
|
+
])
|
|
40
|
+
])
|
|
41
|
+
])) : vue.createCommentVNode("v-if", true);
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
var Title = /* @__PURE__ */ pluginVue_exportHelper["default"](_sfc_main, [["__file", "title.vue"]]);
|
|
46
|
+
|
|
47
|
+
exports["default"] = Title;
|
|
48
|
+
//# sourceMappingURL=title2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"title2.js","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":["useSlots","computed"],"mappings":";;;;;;;;;;;;;;;;;;uCAcc,CAAA;AAAA,EACZ,IAAM,EAAA,WAAA;AACR,CAAA,CAAA,CAAA;;;;;;AAIA,IAAA,MAAM,QAAQA,YAAS,EAAA,CAAA;AAEvB,IAAA,MAAM,SAAY,GAAAC,YAAA,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;;;;;;;;;;;;;;;;;;;"}
|
package/lib/constants/index.d.ts
CHANGED
package/lib/constants/index.js
CHANGED
|
@@ -5,6 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var key = require('./key.js');
|
|
6
6
|
var size = require('./size.js');
|
|
7
7
|
var date = require('./date.js');
|
|
8
|
+
var event = require('./event.js');
|
|
8
9
|
|
|
9
10
|
|
|
10
11
|
|
|
@@ -13,4 +14,7 @@ exports.componentSizeMap = size.componentSizeMap;
|
|
|
13
14
|
exports.componentSizes = size.componentSizes;
|
|
14
15
|
exports.WEEK_DAYS = date.WEEK_DAYS;
|
|
15
16
|
exports.datePickTypes = date.datePickTypes;
|
|
17
|
+
exports.CHANGE_EVENT = event.CHANGE_EVENT;
|
|
18
|
+
exports.INPUT_EVENT = event.INPUT_EVENT;
|
|
19
|
+
exports.UPDATE_MODEL_EVENT = event.UPDATE_MODEL_EVENT;
|
|
16
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;"}
|
package/lib/index.js
CHANGED
|
@@ -8,6 +8,7 @@ require('./constants/index.js');
|
|
|
8
8
|
require('./directives/index.js');
|
|
9
9
|
require('./hooks/index.js');
|
|
10
10
|
var makeInstaller = require('./make-installer.js');
|
|
11
|
+
var title = require('./components/title/src/title.js');
|
|
11
12
|
var index = require('./components/title/index.js');
|
|
12
13
|
var index$1 = require('./components/dropdown/index.js');
|
|
13
14
|
var index$2 = require('./components/collapse/index.js');
|
|
@@ -23,23 +24,27 @@ var index$8 = require('./components/page-size/index.js');
|
|
|
23
24
|
var index$9 = require('./components/confirm-password/index.js');
|
|
24
25
|
var index$a = require('./components/check-button/index.js');
|
|
25
26
|
var index$b = require('./components/quarter-picker/index.js');
|
|
27
|
+
var scan = require('./components/scan/src/scan.js');
|
|
28
|
+
var index$c = require('./components/scan/index.js');
|
|
26
29
|
var key = require('./constants/key.js');
|
|
27
30
|
var size = require('./constants/size.js');
|
|
28
31
|
var date = require('./constants/date.js');
|
|
29
|
-
var
|
|
30
|
-
var index$d = require('./directives/
|
|
31
|
-
var index$e = require('./directives/
|
|
32
|
-
var index$f = require('./directives/
|
|
33
|
-
var index$g = require('./directives/
|
|
34
|
-
var index$h = require('./
|
|
35
|
-
var index$i = require('./hooks/use-
|
|
36
|
-
var index$j = require('./hooks/use-
|
|
32
|
+
var event = require('./constants/event.js');
|
|
33
|
+
var index$d = require('./directives/download/index.js');
|
|
34
|
+
var index$e = require('./directives/height/index.js');
|
|
35
|
+
var index$f = require('./directives/blur/index.js');
|
|
36
|
+
var index$g = require('./directives/highlight/index.js');
|
|
37
|
+
var index$h = require('./directives/drag/index.js');
|
|
38
|
+
var index$i = require('./hooks/use-locale/index.js');
|
|
39
|
+
var index$j = require('./hooks/use-size/index.js');
|
|
40
|
+
var index$k = require('./hooks/use-namespace/index.js');
|
|
37
41
|
|
|
38
42
|
const install = defaults["default"].install;
|
|
39
43
|
const version = defaults["default"].version;
|
|
40
44
|
|
|
41
45
|
exports["default"] = defaults["default"];
|
|
42
46
|
exports.makeInstaller = makeInstaller.makeInstaller;
|
|
47
|
+
exports.titleProps = title.titleProps;
|
|
43
48
|
exports.HzztTitle = index.HzztTitle;
|
|
44
49
|
exports.HzztDropdown = index$1.HzztDropdown;
|
|
45
50
|
exports.HzztCollapse = index$2.HzztCollapse;
|
|
@@ -56,29 +61,35 @@ exports.HzztPageSize = index$8.HzztPageSize;
|
|
|
56
61
|
exports.HzztConfirmPassword = index$9.HzztConfirmPassword;
|
|
57
62
|
exports.HzztCheckButton = index$a.HzztCheckButton;
|
|
58
63
|
exports.HzztQuarterPicker = index$b.HzztQuarterPicker;
|
|
64
|
+
exports.scanEmits = scan.scanEmits;
|
|
65
|
+
exports.scanProps = scan.scanProps;
|
|
66
|
+
exports.HzztScan = index$c.HzztScan;
|
|
59
67
|
exports.INSTALLED_KEY = key.INSTALLED_KEY;
|
|
60
68
|
exports.componentSizeMap = size.componentSizeMap;
|
|
61
69
|
exports.componentSizes = size.componentSizes;
|
|
62
70
|
exports.WEEK_DAYS = date.WEEK_DAYS;
|
|
63
71
|
exports.datePickTypes = date.datePickTypes;
|
|
64
|
-
exports.
|
|
65
|
-
exports.
|
|
66
|
-
exports.
|
|
67
|
-
exports.
|
|
68
|
-
exports.
|
|
69
|
-
exports.
|
|
70
|
-
exports.
|
|
71
|
-
exports.
|
|
72
|
-
exports.
|
|
73
|
-
exports.
|
|
74
|
-
exports.
|
|
75
|
-
exports.
|
|
76
|
-
exports.
|
|
77
|
-
exports.
|
|
78
|
-
exports.
|
|
79
|
-
exports.
|
|
80
|
-
exports.
|
|
81
|
-
exports.
|
|
72
|
+
exports.CHANGE_EVENT = event.CHANGE_EVENT;
|
|
73
|
+
exports.INPUT_EVENT = event.INPUT_EVENT;
|
|
74
|
+
exports.UPDATE_MODEL_EVENT = event.UPDATE_MODEL_EVENT;
|
|
75
|
+
exports.Download = index$d["default"];
|
|
76
|
+
exports.Height = index$e["default"];
|
|
77
|
+
exports.Blur = index$f["default"];
|
|
78
|
+
exports.Highlight = index$g["default"];
|
|
79
|
+
exports.Drag = index$h["default"];
|
|
80
|
+
exports.buildLocaleContext = index$i.buildLocaleContext;
|
|
81
|
+
exports.buildTranslator = index$i.buildTranslator;
|
|
82
|
+
exports.localeContextKey = index$i.localeContextKey;
|
|
83
|
+
exports.translate = index$i.translate;
|
|
84
|
+
exports.useLocale = index$i.useLocale;
|
|
85
|
+
exports.SIZE_INJECTION_KEY = index$j.SIZE_INJECTION_KEY;
|
|
86
|
+
exports.useGlobalSize = index$j.useGlobalSize;
|
|
87
|
+
exports.useSizeProp = index$j.useSizeProp;
|
|
88
|
+
exports.useSizeProps = index$j.useSizeProps;
|
|
89
|
+
exports.defaultNamespace = index$k.defaultNamespace;
|
|
90
|
+
exports.namespaceContextKey = index$k.namespaceContextKey;
|
|
91
|
+
exports.useGetDerivedNamespace = index$k.useGetDerivedNamespace;
|
|
92
|
+
exports.useNamespace = index$k.useNamespace;
|
|
82
93
|
exports.install = install;
|
|
83
94
|
exports.version = version;
|
|
84
95
|
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../packages/hzzt-plus/index.ts"],"sourcesContent":["import installer from './defaults'\nexport * from '@hzzt-plus/components'\nexport * from '@hzzt-plus/constants'\nexport * from '@hzzt-plus/directives'\nexport * from '@hzzt-plus/hooks'\nexport * from './make-installer'\n\nexport const install = installer.install\nexport const version = installer.version\nexport default installer\n"],"names":["installer"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../packages/hzzt-plus/index.ts"],"sourcesContent":["import installer from './defaults'\nexport * from '@hzzt-plus/components'\nexport * from '@hzzt-plus/constants'\nexport * from '@hzzt-plus/directives'\nexport * from '@hzzt-plus/hooks'\nexport * from './make-installer'\n\nexport const install = installer.install\nexport const version = installer.version\nexport default installer\n"],"names":["installer"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMY,MAAC,OAAO,GAAGA,mBAAS,CAAC,QAAQ;AAC7B,MAAC,OAAO,GAAGA,mBAAS,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.hzzt-scan .hzzt-scan-input-backup{--el-input-text-color:var(--el-text-color-regular);--el-input-border:var(--el-border);--el-input-hover-border:var(--el-border-color-hover);--el-input-focus-border:var(--el-color-primary);--el-input-transparent-border:0 0 0 1px rgba(0,0,0,0) inset;--el-input-border-color:var(--el-border-color);--el-input-border-radius:var(--el-border-radius-base);--el-input-bg-color:var(--el-fill-color-blank);--el-input-icon-color:var(--el-text-color-placeholder);--el-input-placeholder-color:var(--el-text-color-placeholder);--el-input-hover-border-color:var(--el-border-color-hover);--el-input-clear-hover-color:var(--el-text-color-secondary);--el-input-focus-border-color:var(--el-color-primary);--el-input-width:100%;--el-input-height:var(--el-component-size);border-radius:var(--el-input-border-radius,var(--el-border-radius-base));box-sizing:border-box;color:var(--el-input-text-color,var(--el-text-color-regular));display:inline-block;font-family:"Courier New",Courier,monospace;font-size:var(--el-font-size-base);height:var(--el-input-height);left:0;line-height:var(--el-input-height);outline:0;padding:1px 11px 1px 0;pointer-events:none;position:absolute;top:0;white-space:pre;width:var(--el-input-width)}.hzzt-scan .hzzt-scan-input-backup.placeholder-color{color:var(--el-text-color-placeholder)}.hzzt-scan .hzzt-scan-input-backup::-moz-selection{color:white}.hzzt-scan .hzzt-scan-input-backup::selection{color:white}.hzzt-scan .el-input--small+.hzzt-scan-input-backup{--el-input-height:var(--el-component-size-small);font-size:12px;padding:1px 7px 1px 0}.hzzt-scan .el-input--large+.hzzt-scaninput-backup{--el-input-height:var(--el-component-size-large);font-size:14px;padding:1px 15px 1px 0}.hzzt-scan .hzzt-scan-input-original .el-input__wrapper{padding-left:0}.hzzt-scan .hzzt-scan-input-original .el-input__wrapper input{caret-color:var(--el-input-text-color,var(--el-text-color-regular));color:white;font-family:"Courier New",Courier,monospace}.hzzt-scan .hzzt-scan-input-original .el-input__wrapper input::-moz-selection{color:rgba(0,0,0,0)}.hzzt-scan .hzzt-scan-input-original .el-input__wrapper input::selection{color:rgba(0,0,0,0)}
|