hzzt-plus 0.0.9 → 1.0.1
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 +2148 -1583
- package/dist/index.full.min.js +12 -12
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +12 -12
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +2139 -1585
- package/es/component.mjs +5 -1
- package/es/component.mjs.map +1 -1
- package/es/components/confirm-password/index.d.ts +46 -22
- package/es/components/confirm-password/src/confirm-password.vue.d.ts +46 -22
- package/es/components/icon/src/index.vue.d.ts +4 -4
- package/es/components/index.d.ts +2 -0
- package/es/components/index.mjs +5 -0
- package/es/components/index.mjs.map +1 -1
- package/es/components/page-size/index.d.ts +10224 -531
- package/es/components/page-size/src/index.vue.d.ts +10224 -531
- package/es/components/pagination/index.d.ts +4 -4
- package/es/components/pagination/src/index.vue.d.ts +4 -4
- package/es/components/quarter-picker/index.d.ts +121 -97
- package/es/components/quarter-picker/src/index.vue.d.ts +121 -97
- 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 +596 -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/select-input/index.d.ts +826 -0
- package/es/components/select-input/index.mjs +9 -0
- package/es/components/select-input/index.mjs.map +1 -0
- package/es/components/select-input/src/select-input.d.ts +41 -0
- package/es/components/select-input/src/select-input.mjs +50 -0
- package/es/components/select-input/src/select-input.mjs.map +1 -0
- package/es/components/select-input/src/select-input.vue.d.ts +826 -0
- package/es/components/select-input/src/select-input2.mjs +129 -0
- package/es/components/select-input/src/select-input2.mjs.map +1 -0
- package/es/components/select-input/style/css.d.ts +2 -0
- package/es/components/select-input/style/css.mjs +3 -0
- package/es/components/select-input/style/css.mjs.map +1 -0
- package/es/components/select-input/style/index.d.ts +2 -0
- package/es/components/select-input/style/index.mjs +3 -0
- package/es/components/select-input/style/index.mjs.map +1 -0
- package/es/components/tab/index.d.ts +4 -4
- package/es/components/tab/src/index.vue.d.ts +4 -4
- package/es/components/title/index.d.ts +4 -29
- package/es/components/title/index.mjs +3 -2
- 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/components/tooltip/index.d.ts +7615 -316
- package/es/components/tooltip/src/tooltip.vue.d.ts +7615 -316
- 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/hooks/index.d.ts +1 -0
- package/es/hooks/index.mjs +1 -0
- package/es/hooks/index.mjs.map +1 -1
- package/es/hooks/use-letter/index.d.ts +1 -0
- package/es/hooks/use-letter/index.mjs +13 -0
- package/es/hooks/use-letter/index.mjs.map +1 -0
- package/es/index.mjs +7 -0
- package/es/index.mjs.map +1 -1
- package/global.d.ts +2 -0
- package/lib/component.js +5 -1
- package/lib/component.js.map +1 -1
- package/lib/components/confirm-password/index.d.ts +46 -22
- package/lib/components/confirm-password/src/confirm-password.vue.d.ts +46 -22
- package/lib/components/icon/src/index.vue.d.ts +4 -4
- package/lib/components/index.d.ts +2 -0
- package/lib/components/index.js +12 -0
- package/lib/components/index.js.map +1 -1
- package/lib/components/page-size/index.d.ts +10224 -531
- package/lib/components/page-size/src/index.vue.d.ts +10224 -531
- package/lib/components/pagination/index.d.ts +4 -4
- package/lib/components/pagination/src/index.vue.d.ts +4 -4
- package/lib/components/quarter-picker/index.d.ts +121 -97
- package/lib/components/quarter-picker/src/index.vue.d.ts +121 -97
- 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 +596 -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/select-input/index.d.ts +826 -0
- package/lib/components/select-input/index.js +16 -0
- package/lib/components/select-input/index.js.map +1 -0
- package/lib/components/select-input/src/select-input.d.ts +41 -0
- package/lib/components/select-input/src/select-input.js +55 -0
- package/lib/components/select-input/src/select-input.js.map +1 -0
- package/lib/components/select-input/src/select-input.vue.d.ts +826 -0
- package/lib/components/select-input/src/select-input2.js +133 -0
- package/lib/components/select-input/src/select-input2.js.map +1 -0
- package/lib/components/select-input/style/css.d.ts +2 -0
- package/lib/components/select-input/style/css.js +6 -0
- package/lib/components/select-input/style/css.js.map +1 -0
- package/lib/components/select-input/style/index.d.ts +2 -0
- package/lib/components/select-input/style/index.js +6 -0
- package/lib/components/select-input/style/index.js.map +1 -0
- package/lib/components/tab/index.d.ts +4 -4
- package/lib/components/tab/src/index.vue.d.ts +4 -4
- 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/components/tooltip/index.d.ts +7615 -316
- package/lib/components/tooltip/src/tooltip.vue.d.ts +7615 -316
- 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/hooks/index.d.ts +1 -0
- package/lib/hooks/index.js +2 -0
- package/lib/hooks/index.js.map +1 -1
- package/lib/hooks/use-letter/index.d.ts +1 -0
- package/lib/hooks/use-letter/index.js +17 -0
- package/lib/hooks/use-letter/index.js.map +1 -0
- package/lib/index.js +44 -26
- package/lib/index.js.map +1 -1
- package/package.json +3 -3
- package/theme/hzzt-scan.css +1 -0
- package/theme/hzzt-select-input.css +0 -0
- package/theme/index.css +1 -1
- package/theme/src/index.scss +2 -0
- package/theme/src/scan.scss +80 -0
- package/theme/src/select-input.scss +0 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
require('../../utils/index.js');
|
|
6
|
+
var scan$1 = require('./src/scan2.js');
|
|
7
|
+
var scan = require('./src/scan.js');
|
|
8
|
+
var install = require('../../utils/vue/install.js');
|
|
9
|
+
|
|
10
|
+
const HzztScan = install.withInstall(scan$1["default"]);
|
|
11
|
+
|
|
12
|
+
exports.scanEmits = scan.scanEmits;
|
|
13
|
+
exports.scanProps = scan.scanProps;
|
|
14
|
+
exports.HzztScan = HzztScan;
|
|
15
|
+
exports["default"] = HzztScan;
|
|
16
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../packages/components/scan/index.ts"],"sourcesContent":["import { withInstall } from '@hzzt-plus/utils'\nimport Scan from './src/scan.vue'\nimport type { SFCWithInstall } from '@hzzt-plus/utils'\n\nexport const HzztScan: SFCWithInstall<typeof Scan> = withInstall(Scan)\nexport default HzztScan\n\nexport * from './src/scan'\n"],"names":["withInstall","Scan"],"mappings":";;;;;;;;;AAEY,MAAC,QAAQ,GAAGA,mBAAW,CAACC,iBAAI;;;;;;;"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type Scan from './scan.vue';
|
|
2
|
+
import type { ExtractPropTypes } from 'vue';
|
|
3
|
+
export declare const scanProps: {
|
|
4
|
+
readonly modelValue: import("hzzt-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
5
|
+
readonly placeholder: import("hzzt-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
6
|
+
readonly letter: import("hzzt-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "upper", boolean>;
|
|
7
|
+
};
|
|
8
|
+
export declare type ScanProps = ExtractPropTypes<typeof scanProps>;
|
|
9
|
+
export declare const scanEmits: {
|
|
10
|
+
"update:modelValue": (value: string) => boolean;
|
|
11
|
+
change: (value: string) => boolean;
|
|
12
|
+
input: (value: string) => boolean;
|
|
13
|
+
};
|
|
14
|
+
export declare type ScanEmits = typeof scanEmits;
|
|
15
|
+
export declare type ScanInstance = InstanceType<typeof Scan>;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
require('../../../utils/index.js');
|
|
6
|
+
require('../../../constants/index.js');
|
|
7
|
+
var runtime = require('../../../utils/vue/props/runtime.js');
|
|
8
|
+
var event = require('../../../constants/event.js');
|
|
9
|
+
var shared = require('@vue/shared');
|
|
10
|
+
|
|
11
|
+
const scanProps = runtime.buildProps({
|
|
12
|
+
modelValue: {
|
|
13
|
+
type: String,
|
|
14
|
+
default: ""
|
|
15
|
+
},
|
|
16
|
+
placeholder: {
|
|
17
|
+
type: String,
|
|
18
|
+
default: ""
|
|
19
|
+
},
|
|
20
|
+
letter: {
|
|
21
|
+
type: String,
|
|
22
|
+
default: "upper"
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
const scanEmits = {
|
|
26
|
+
[event.UPDATE_MODEL_EVENT]: (value) => shared.isString(value),
|
|
27
|
+
[event.CHANGE_EVENT]: (value) => shared.isString(value),
|
|
28
|
+
[event.INPUT_EVENT]: (value) => shared.isString(value)
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
exports.scanEmits = scanEmits;
|
|
32
|
+
exports.scanProps = scanProps;
|
|
33
|
+
//# sourceMappingURL=scan.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scan.js","sources":["../../../../../../packages/components/scan/src/scan.ts"],"sourcesContent":["import { buildProps, isString } from '@hzzt-plus/utils'\nimport {\n CHANGE_EVENT,\n INPUT_EVENT,\n UPDATE_MODEL_EVENT,\n} from '@hzzt-plus/constants'\nimport type Scan from './scan.vue'\nimport type { ExtractPropTypes } from 'vue'\n\nexport const scanProps = buildProps({\n modelValue: {\n type: String,\n default: '',\n },\n placeholder: {\n type: String,\n default: '',\n },\n letter: {\n type: String,\n default: 'upper',\n },\n} as const)\nexport type ScanProps = ExtractPropTypes<typeof scanProps>\n\nexport const scanEmits = {\n [UPDATE_MODEL_EVENT]: (value: string) => isString(value),\n [CHANGE_EVENT]: (value: string) => isString(value),\n [INPUT_EVENT]: (value: string) => isString(value),\n}\nexport type ScanEmits = typeof scanEmits\n\nexport type ScanInstance = InstanceType<typeof Scan>\n"],"names":["buildProps","UPDATE_MODEL_EVENT","isString","CHANGE_EVENT","INPUT_EVENT"],"mappings":";;;;;;;;;;AAMY,MAAC,SAAS,GAAGA,kBAAU,CAAC;AACpC,EAAE,UAAU,EAAE;AACd,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,WAAW,EAAE;AACf,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,OAAO;AACpB,GAAG;AACH,CAAC,EAAE;AACS,MAAC,SAAS,GAAG;AACzB,EAAE,CAACC,wBAAkB,GAAG,CAAC,KAAK,KAAKC,eAAQ,CAAC,KAAK,CAAC;AAClD,EAAE,CAACC,kBAAY,GAAG,CAAC,KAAK,KAAKD,eAAQ,CAAC,KAAK,CAAC;AAC5C,EAAE,CAACE,iBAAW,GAAG,CAAC,KAAK,KAAKF,eAAQ,CAAC,KAAK,CAAC;AAC3C;;;;;"}
|