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.
- package/attributes.json +1 -0
- package/dist/index.full.js +5236 -2048
- package/dist/index.full.min.js +17 -17
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +18 -18
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +5231 -2051
- package/dist/locale/en.js +1 -1
- package/dist/locale/en.min.js +1 -1
- package/dist/locale/en.min.mjs +1 -1
- package/dist/locale/en.mjs +1 -1
- package/dist/locale/zh-cn.js +1 -1
- package/dist/locale/zh-cn.min.js +1 -1
- package/dist/locale/zh-cn.min.mjs +1 -1
- package/dist/locale/zh-cn.mjs +1 -1
- 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/dropdown/index.d.ts +5 -5
- package/es/components/dropdown/src/index.mjs +3 -2
- package/es/components/dropdown/src/index.mjs.map +1 -1
- package/es/components/dropdown/src/index.vue.d.ts +6 -5
- package/es/components/icon/src/index.vue.d.ts +4 -4
- package/es/components/index.d.ts +2 -0
- package/es/components/index.mjs +4 -0
- package/es/components/index.mjs.map +1 -1
- package/es/components/page-size/index.d.ts +10225 -532
- package/es/components/page-size/src/index.mjs.map +1 -1
- package/es/components/page-size/src/index.vue.d.ts +10225 -532
- 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/src/scan.vue.d.ts +46 -22
- package/es/components/scan/src/scan2.mjs.map +1 -1
- 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/select-textarea/index.d.ts +13076 -0
- package/es/components/select-textarea/index.mjs +9 -0
- package/es/components/select-textarea/index.mjs.map +1 -0
- package/es/components/select-textarea/src/select-textarea.d.ts +26 -0
- package/es/components/select-textarea/src/select-textarea.mjs +35 -0
- package/es/components/select-textarea/src/select-textarea.mjs.map +1 -0
- package/es/components/select-textarea/src/select-textarea.vue.d.ts +13075 -0
- package/es/components/select-textarea/src/select-textarea2.mjs +105 -0
- package/es/components/select-textarea/src/select-textarea2.mjs.map +1 -0
- package/es/components/select-textarea/style/css.d.ts +2 -0
- package/es/components/select-textarea/style/css.mjs +3 -0
- package/es/components/select-textarea/style/css.mjs.map +1 -0
- package/es/components/select-textarea/style/index.d.ts +2 -0
- package/es/components/select-textarea/style/index.mjs +3 -0
- package/es/components/select-textarea/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.mjs +2 -2
- package/es/components/title/index.mjs.map +1 -1
- package/es/components/title/src/title2.mjs +3 -4
- package/es/components/title/src/title2.mjs.map +1 -1
- package/es/components/tooltip/index.d.ts +7615 -316
- package/es/components/tooltip/src/tooltip.vue.d.ts +7615 -316
- package/es/hooks/index.d.ts +2 -0
- package/es/hooks/index.mjs +2 -0
- package/es/hooks/index.mjs.map +1 -1
- package/es/hooks/use-cursor/index.d.ts +1 -0
- package/es/hooks/use-cursor/index.mjs +14 -0
- package/es/hooks/use-cursor/index.mjs.map +1 -0
- 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 +6 -0
- package/es/index.mjs.map +1 -1
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/version.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/dropdown/index.d.ts +5 -5
- package/lib/components/dropdown/src/index.js +3 -2
- package/lib/components/dropdown/src/index.js.map +1 -1
- package/lib/components/dropdown/src/index.vue.d.ts +6 -5
- package/lib/components/icon/src/index.vue.d.ts +4 -4
- package/lib/components/index.d.ts +2 -0
- package/lib/components/index.js +10 -0
- package/lib/components/index.js.map +1 -1
- package/lib/components/page-size/index.d.ts +10225 -532
- package/lib/components/page-size/src/index.js.map +1 -1
- package/lib/components/page-size/src/index.vue.d.ts +10225 -532
- 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/src/scan.vue.d.ts +46 -22
- package/lib/components/scan/src/scan2.js.map +1 -1
- 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/select-textarea/index.d.ts +13076 -0
- package/lib/components/select-textarea/index.js +16 -0
- package/lib/components/select-textarea/index.js.map +1 -0
- package/lib/components/select-textarea/src/select-textarea.d.ts +26 -0
- package/lib/components/select-textarea/src/select-textarea.js +40 -0
- package/lib/components/select-textarea/src/select-textarea.js.map +1 -0
- package/lib/components/select-textarea/src/select-textarea.vue.d.ts +13075 -0
- package/lib/components/select-textarea/src/select-textarea2.js +109 -0
- package/lib/components/select-textarea/src/select-textarea2.js.map +1 -0
- package/lib/components/select-textarea/style/css.d.ts +2 -0
- package/lib/components/select-textarea/style/css.js +6 -0
- package/lib/components/select-textarea/style/css.js.map +1 -0
- package/lib/components/select-textarea/style/index.d.ts +2 -0
- package/lib/components/select-textarea/style/index.js +6 -0
- package/lib/components/select-textarea/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.js.map +1 -1
- package/lib/components/title/src/title2.js +3 -4
- package/lib/components/title/src/title2.js.map +1 -1
- package/lib/components/tooltip/index.d.ts +7615 -316
- package/lib/components/tooltip/src/tooltip.vue.d.ts +7615 -316
- package/lib/hooks/index.d.ts +2 -0
- package/lib/hooks/index.js +4 -0
- package/lib/hooks/index.js.map +1 -1
- package/lib/hooks/use-cursor/index.d.ts +1 -0
- package/lib/hooks/use-cursor/index.js +18 -0
- package/lib/hooks/use-cursor/index.js.map +1 -0
- 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 +40 -26
- package/lib/index.js.map +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -1
- package/package.json +3 -3
- package/tags.json +1 -0
- package/theme/hzzt-select-input.css +0 -0
- package/theme/hzzt-select-textarea.css +0 -0
- package/theme/src/index.scss +2 -0
- package/theme/src/select-input.scss +0 -0
- package/theme/src/select-textarea.scss +0 -0
- package/web-types.json +692 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
require('../../utils/index.js');
|
|
6
|
+
var selectTextarea$1 = require('./src/select-textarea2.js');
|
|
7
|
+
var selectTextarea = require('./src/select-textarea.js');
|
|
8
|
+
var install = require('../../utils/vue/install.js');
|
|
9
|
+
|
|
10
|
+
const HzztSelectTextarea = install.withInstall(selectTextarea$1["default"]);
|
|
11
|
+
|
|
12
|
+
exports.selectTextareaEmits = selectTextarea.selectTextareaEmits;
|
|
13
|
+
exports.selectTextareaProps = selectTextarea.selectTextareaProps;
|
|
14
|
+
exports.HzztSelectTextarea = HzztSelectTextarea;
|
|
15
|
+
exports["default"] = HzztSelectTextarea;
|
|
16
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../packages/components/select-textarea/index.ts"],"sourcesContent":["import { withInstall } from '@hzzt-plus/utils'\nimport SelectTextarea from './src/select-textarea.vue'\n\nexport const HzztSelectTextarea = withInstall(SelectTextarea)\nexport default HzztSelectTextarea\n\nexport * from './src/select-textarea'\n"],"names":["withInstall","SelectTextarea"],"mappings":";;;;;;;;;AAEY,MAAC,kBAAkB,GAAGA,mBAAW,CAACC,2BAAc;;;;;;;"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { ExtractPropTypes } from 'vue';
|
|
2
|
+
import type SelectTextarea from './select-textarea.vue';
|
|
3
|
+
import { OptionType } from "hzzt-plus/es/components";
|
|
4
|
+
export declare const selectTextareaProps: {
|
|
5
|
+
size: {
|
|
6
|
+
readonly type: import("vue").PropType<import("hzzt-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
7
|
+
readonly required: false;
|
|
8
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
9
|
+
__epPropKey: true;
|
|
10
|
+
};
|
|
11
|
+
disabled: BooleanConstructor;
|
|
12
|
+
label: StringConstructor;
|
|
13
|
+
data: import("hzzt-plus/es/utils").EpPropFinalized<(new (...args: any[]) => OptionType[]) | (() => OptionType[]) | ((new (...args: any[]) => OptionType[]) | (() => OptionType[]))[], unknown, unknown, () => never[], boolean>;
|
|
14
|
+
inputProps: ObjectConstructor;
|
|
15
|
+
replace: BooleanConstructor;
|
|
16
|
+
modelValue: import("hzzt-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined) | ((new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined))[], unknown, unknown, string, boolean>;
|
|
17
|
+
};
|
|
18
|
+
export declare type SelectTextareaProps = ExtractPropTypes<typeof selectTextareaProps>;
|
|
19
|
+
export declare const selectTextareaEmits: {
|
|
20
|
+
"update:modelValue": (value: string) => boolean;
|
|
21
|
+
input: (value: string) => boolean;
|
|
22
|
+
change: (value: string) => boolean;
|
|
23
|
+
select: (value: string) => boolean;
|
|
24
|
+
};
|
|
25
|
+
export declare type SelectTextareaEmits = typeof selectTextareaEmits;
|
|
26
|
+
export declare type SelectTextareaInstance = InstanceType<typeof SelectTextarea>;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
require('../../../utils/index.js');
|
|
6
|
+
require('../../../hooks/index.js');
|
|
7
|
+
require('../../../constants/index.js');
|
|
8
|
+
var runtime = require('../../../utils/vue/props/runtime.js');
|
|
9
|
+
var index = require('../../../hooks/use-size/index.js');
|
|
10
|
+
var event = require('../../../constants/event.js');
|
|
11
|
+
var shared = require('@vue/shared');
|
|
12
|
+
|
|
13
|
+
const selectTextareaProps = runtime.buildProps({
|
|
14
|
+
size: index.useSizeProp,
|
|
15
|
+
disabled: Boolean,
|
|
16
|
+
label: String,
|
|
17
|
+
data: {
|
|
18
|
+
type: runtime.definePropType(Array),
|
|
19
|
+
default: () => []
|
|
20
|
+
},
|
|
21
|
+
inputProps: Object,
|
|
22
|
+
replace: Boolean,
|
|
23
|
+
modelValue: {
|
|
24
|
+
type: runtime.definePropType([
|
|
25
|
+
String,
|
|
26
|
+
Number
|
|
27
|
+
]),
|
|
28
|
+
default: ""
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
const selectTextareaEmits = {
|
|
32
|
+
[event.UPDATE_MODEL_EVENT]: (value) => shared.isString(value),
|
|
33
|
+
input: (value) => shared.isString(value),
|
|
34
|
+
change: (value) => shared.isString(value),
|
|
35
|
+
select: (value) => shared.isString(value)
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
exports.selectTextareaEmits = selectTextareaEmits;
|
|
39
|
+
exports.selectTextareaProps = selectTextareaProps;
|
|
40
|
+
//# sourceMappingURL=select-textarea.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"select-textarea.js","sources":["../../../../../../packages/components/select-textarea/src/select-textarea.ts"],"sourcesContent":["import {buildProps, definePropType, isString} from '@hzzt-plus/utils'\n\nimport type { ExtractPropTypes } from 'vue'\nimport type SelectTextarea from './select-textarea.vue'\nimport {useSizeProp} from \"@hzzt-plus/hooks\";\nimport {OptionType} from \"@hzzt-plus/components\";\nimport {UPDATE_MODEL_EVENT} from \"@hzzt-plus/constants\";\n\nexport const selectTextareaProps = buildProps({\n size: useSizeProp,\n disabled: Boolean,\n label: String,\n data: {\n type: definePropType<OptionType[]>(Array),\n default: () => [],\n },\n inputProps: Object,\n replace: Boolean,\n modelValue: {\n type: definePropType<string | number | null | undefined>([\n String,\n Number,\n ]),\n default: '',\n },\n})\n\nexport type SelectTextareaProps = ExtractPropTypes<typeof selectTextareaProps>\n\nexport const selectTextareaEmits = {\n [UPDATE_MODEL_EVENT]: (value: string) => isString(value),\n input: (value: string) => isString(value),\n change: (value: string) => isString(value),\n select: (value: string) => isString(value),\n}\nexport type SelectTextareaEmits = typeof selectTextareaEmits\n\nexport type SelectTextareaInstance = InstanceType<typeof SelectTextarea>\n"],"names":["buildProps","useSizeProp","definePropType","UPDATE_MODEL_EVENT","isString"],"mappings":";;;;;;;;;;;;AAGY,MAAC,mBAAmB,GAAGA,kBAAU,CAAC;AAC9C,EAAE,IAAI,EAAEC,iBAAW;AACnB,EAAE,QAAQ,EAAE,OAAO;AACnB,EAAE,KAAK,EAAE,MAAM;AACf,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAEC,sBAAc,CAAC,KAAK,CAAC;AAC/B,IAAI,OAAO,EAAE,MAAM,EAAE;AACrB,GAAG;AACH,EAAE,UAAU,EAAE,MAAM;AACpB,EAAE,OAAO,EAAE,OAAO;AAClB,EAAE,UAAU,EAAE;AACd,IAAI,IAAI,EAAEA,sBAAc,CAAC;AACzB,MAAM,MAAM;AACZ,MAAM,MAAM;AACZ,KAAK,CAAC;AACN,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,CAAC,EAAE;AACS,MAAC,mBAAmB,GAAG;AACnC,EAAE,CAACC,wBAAkB,GAAG,CAAC,KAAK,KAAKC,eAAQ,CAAC,KAAK,CAAC;AAClD,EAAE,KAAK,EAAE,CAAC,KAAK,KAAKA,eAAQ,CAAC,KAAK,CAAC;AACnC,EAAE,MAAM,EAAE,CAAC,KAAK,KAAKA,eAAQ,CAAC,KAAK,CAAC;AACpC,EAAE,MAAM,EAAE,CAAC,KAAK,KAAKA,eAAQ,CAAC,KAAK,CAAC;AACpC;;;;;"}
|