@uzum-tech/ui 2.0.1 → 2.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/dist/index.js +260 -62
- package/dist/index.mjs +260 -62
- package/dist/index.prod.js +2 -2
- package/dist/index.prod.mjs +2 -2
- package/es/chat/src/ChatParts/MainArea.mjs +3 -1
- package/es/components.d.ts +51 -0
- package/es/input-number/src/InputNumber.d.ts +14 -0
- package/es/input-number/src/InputNumber.mjs +121 -48
- package/es/input-number/src/constants.d.ts +14 -0
- package/es/input-number/src/constants.mjs +15 -0
- package/es/input-number/src/interface.d.ts +4 -0
- package/es/input-number/src/utils.d.ts +12 -0
- package/es/input-number/src/utils.mjs +89 -1
- package/es/mapping-card/src/MappingCardList.d.ts +2 -0
- package/es/mapping-card/src/MappingCardList.mjs +11 -2
- package/es/mapping-card/src/interface.d.ts +3 -0
- package/es/mapping-card/src/interface.mjs +2 -1
- package/es/mapping-card/src/styles/index.cssr.mjs +8 -1
- package/es/modal/src/BodyWrapper.d.ts +39 -0
- package/es/modal/src/Modal.d.ts +56 -0
- package/es/modal/src/ModalEnvironment.d.ts +39 -0
- package/es/modal/src/presetProps.d.ts +18 -1
- package/es/modal/src/presetProps.mjs +2 -1
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/lib/chat/src/ChatParts/MainArea.js +45 -43
- package/lib/components.d.ts +51 -0
- package/lib/input-number/src/InputNumber.d.ts +14 -0
- package/lib/input-number/src/InputNumber.js +128 -51
- package/lib/input-number/src/constants.d.ts +14 -0
- package/lib/input-number/src/constants.js +18 -0
- package/lib/input-number/src/interface.d.ts +4 -0
- package/lib/input-number/src/utils.d.ts +12 -0
- package/lib/input-number/src/utils.js +112 -1
- package/lib/mapping-card/src/MappingCardList.d.ts +2 -0
- package/lib/mapping-card/src/MappingCardList.js +9 -4
- package/lib/mapping-card/src/interface.d.ts +3 -0
- package/lib/mapping-card/src/interface.js +2 -1
- package/lib/mapping-card/src/styles/index.cssr.js +8 -1
- package/lib/modal/src/BodyWrapper.d.ts +39 -0
- package/lib/modal/src/Modal.d.ts +56 -0
- package/lib/modal/src/ModalEnvironment.d.ts +39 -0
- package/lib/modal/src/presetProps.d.ts +18 -1
- package/lib/modal/src/presetProps.js +2 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +1 -1
- package/web-types.json +8 -1
package/lib/modal/src/Modal.d.ts
CHANGED
|
@@ -51,6 +51,23 @@ export declare const modalProps: {
|
|
|
51
51
|
loading: BooleanConstructor;
|
|
52
52
|
bordered: BooleanConstructor;
|
|
53
53
|
iconPlacement: PropType<import("../../dialog/src/interface").IconPlacement>;
|
|
54
|
+
contentClass: StringConstructor;
|
|
55
|
+
contentScrollable: BooleanConstructor;
|
|
56
|
+
contentStyle: PropType<CSSProperties | string>;
|
|
57
|
+
headerStyle: PropType<CSSProperties | string>;
|
|
58
|
+
headerExtraStyle: PropType<CSSProperties | string>;
|
|
59
|
+
footerStyle: PropType<CSSProperties | string>;
|
|
60
|
+
embedded: BooleanConstructor;
|
|
61
|
+
segmented: {
|
|
62
|
+
readonly type: PropType<boolean | import("../../card").CardSegmented>;
|
|
63
|
+
readonly default: false;
|
|
64
|
+
};
|
|
65
|
+
hoverable: BooleanConstructor;
|
|
66
|
+
role: StringConstructor;
|
|
67
|
+
tag: {
|
|
68
|
+
readonly type: PropType<keyof HTMLElementTagNameMap>;
|
|
69
|
+
readonly default: "div";
|
|
70
|
+
};
|
|
54
71
|
show: BooleanConstructor;
|
|
55
72
|
unstableShowMask: {
|
|
56
73
|
type: BooleanConstructor;
|
|
@@ -1097,6 +1114,23 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1097
1114
|
loading: BooleanConstructor;
|
|
1098
1115
|
bordered: BooleanConstructor;
|
|
1099
1116
|
iconPlacement: PropType<import("../../dialog/src/interface").IconPlacement>;
|
|
1117
|
+
contentClass: StringConstructor;
|
|
1118
|
+
contentScrollable: BooleanConstructor;
|
|
1119
|
+
contentStyle: PropType<CSSProperties | string>;
|
|
1120
|
+
headerStyle: PropType<CSSProperties | string>;
|
|
1121
|
+
headerExtraStyle: PropType<CSSProperties | string>;
|
|
1122
|
+
footerStyle: PropType<CSSProperties | string>;
|
|
1123
|
+
embedded: BooleanConstructor;
|
|
1124
|
+
segmented: {
|
|
1125
|
+
readonly type: PropType<boolean | import("../../card").CardSegmented>;
|
|
1126
|
+
readonly default: false;
|
|
1127
|
+
};
|
|
1128
|
+
hoverable: BooleanConstructor;
|
|
1129
|
+
role: StringConstructor;
|
|
1130
|
+
tag: {
|
|
1131
|
+
readonly type: PropType<keyof HTMLElementTagNameMap>;
|
|
1132
|
+
readonly default: "div";
|
|
1133
|
+
};
|
|
1100
1134
|
show: BooleanConstructor;
|
|
1101
1135
|
unstableShowMask: {
|
|
1102
1136
|
type: BooleanConstructor;
|
|
@@ -2159,6 +2193,23 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2159
2193
|
loading: BooleanConstructor;
|
|
2160
2194
|
bordered: BooleanConstructor;
|
|
2161
2195
|
iconPlacement: PropType<import("../../dialog/src/interface").IconPlacement>;
|
|
2196
|
+
contentClass: StringConstructor;
|
|
2197
|
+
contentScrollable: BooleanConstructor;
|
|
2198
|
+
contentStyle: PropType<CSSProperties | string>;
|
|
2199
|
+
headerStyle: PropType<CSSProperties | string>;
|
|
2200
|
+
headerExtraStyle: PropType<CSSProperties | string>;
|
|
2201
|
+
footerStyle: PropType<CSSProperties | string>;
|
|
2202
|
+
embedded: BooleanConstructor;
|
|
2203
|
+
segmented: {
|
|
2204
|
+
readonly type: PropType<boolean | import("../../card").CardSegmented>;
|
|
2205
|
+
readonly default: false;
|
|
2206
|
+
};
|
|
2207
|
+
hoverable: BooleanConstructor;
|
|
2208
|
+
role: StringConstructor;
|
|
2209
|
+
tag: {
|
|
2210
|
+
readonly type: PropType<keyof HTMLElementTagNameMap>;
|
|
2211
|
+
readonly default: "div";
|
|
2212
|
+
};
|
|
2162
2213
|
show: BooleanConstructor;
|
|
2163
2214
|
unstableShowMask: {
|
|
2164
2215
|
type: BooleanConstructor;
|
|
@@ -3155,9 +3206,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
3155
3206
|
type: "default" | "error" | "warning" | "success" | "info";
|
|
3156
3207
|
size: "small" | "medium" | "large";
|
|
3157
3208
|
loading: boolean;
|
|
3209
|
+
tag: keyof HTMLElementTagNameMap;
|
|
3158
3210
|
showIcon: boolean;
|
|
3159
3211
|
closable: boolean;
|
|
3160
3212
|
show: boolean;
|
|
3213
|
+
contentScrollable: boolean;
|
|
3214
|
+
embedded: boolean;
|
|
3215
|
+
segmented: boolean | import("../../card").CardSegmented;
|
|
3216
|
+
hoverable: boolean;
|
|
3161
3217
|
displayDirective: "show" | "if";
|
|
3162
3218
|
maskClosable: boolean;
|
|
3163
3219
|
trapFocus: boolean;
|
|
@@ -55,6 +55,23 @@ export declare const UModalEnvironment: import("vue").DefineComponent<import("vu
|
|
|
55
55
|
loading: BooleanConstructor;
|
|
56
56
|
bordered: BooleanConstructor;
|
|
57
57
|
iconPlacement: PropType<import("../../dialog/src/interface").IconPlacement>;
|
|
58
|
+
contentClass: StringConstructor;
|
|
59
|
+
contentScrollable: BooleanConstructor;
|
|
60
|
+
contentStyle: PropType<import("vue").CSSProperties | string>;
|
|
61
|
+
headerStyle: PropType<import("vue").CSSProperties | string>;
|
|
62
|
+
headerExtraStyle: PropType<import("vue").CSSProperties | string>;
|
|
63
|
+
footerStyle: PropType<import("vue").CSSProperties | string>;
|
|
64
|
+
embedded: BooleanConstructor;
|
|
65
|
+
segmented: {
|
|
66
|
+
readonly type: PropType<boolean | import("../..").CardSegmented>;
|
|
67
|
+
readonly default: false;
|
|
68
|
+
};
|
|
69
|
+
hoverable: BooleanConstructor;
|
|
70
|
+
role: StringConstructor;
|
|
71
|
+
tag: {
|
|
72
|
+
readonly type: PropType<keyof HTMLElementTagNameMap>;
|
|
73
|
+
readonly default: "div";
|
|
74
|
+
};
|
|
58
75
|
show: BooleanConstructor;
|
|
59
76
|
unstableShowMask: {
|
|
60
77
|
type: BooleanConstructor;
|
|
@@ -1112,6 +1129,23 @@ export declare const UModalEnvironment: import("vue").DefineComponent<import("vu
|
|
|
1112
1129
|
loading: BooleanConstructor;
|
|
1113
1130
|
bordered: BooleanConstructor;
|
|
1114
1131
|
iconPlacement: PropType<import("../../dialog/src/interface").IconPlacement>;
|
|
1132
|
+
contentClass: StringConstructor;
|
|
1133
|
+
contentScrollable: BooleanConstructor;
|
|
1134
|
+
contentStyle: PropType<import("vue").CSSProperties | string>;
|
|
1135
|
+
headerStyle: PropType<import("vue").CSSProperties | string>;
|
|
1136
|
+
headerExtraStyle: PropType<import("vue").CSSProperties | string>;
|
|
1137
|
+
footerStyle: PropType<import("vue").CSSProperties | string>;
|
|
1138
|
+
embedded: BooleanConstructor;
|
|
1139
|
+
segmented: {
|
|
1140
|
+
readonly type: PropType<boolean | import("../..").CardSegmented>;
|
|
1141
|
+
readonly default: false;
|
|
1142
|
+
};
|
|
1143
|
+
hoverable: BooleanConstructor;
|
|
1144
|
+
role: StringConstructor;
|
|
1145
|
+
tag: {
|
|
1146
|
+
readonly type: PropType<keyof HTMLElementTagNameMap>;
|
|
1147
|
+
readonly default: "div";
|
|
1148
|
+
};
|
|
1115
1149
|
show: BooleanConstructor;
|
|
1116
1150
|
unstableShowMask: {
|
|
1117
1151
|
type: BooleanConstructor;
|
|
@@ -2108,9 +2142,14 @@ export declare const UModalEnvironment: import("vue").DefineComponent<import("vu
|
|
|
2108
2142
|
type: "default" | "error" | "warning" | "success" | "info";
|
|
2109
2143
|
size: "small" | "medium" | "large";
|
|
2110
2144
|
loading: boolean;
|
|
2145
|
+
tag: keyof HTMLElementTagNameMap;
|
|
2111
2146
|
showIcon: boolean;
|
|
2112
2147
|
closable: boolean;
|
|
2113
2148
|
show: boolean;
|
|
2149
|
+
contentScrollable: boolean;
|
|
2150
|
+
embedded: boolean;
|
|
2151
|
+
segmented: boolean | import("../..").CardSegmented;
|
|
2152
|
+
hoverable: boolean;
|
|
2114
2153
|
displayDirective: "show" | "if";
|
|
2115
2154
|
maskClosable: boolean;
|
|
2116
2155
|
trapFocus: boolean;
|
|
@@ -31,6 +31,23 @@ declare const presetProps: {
|
|
|
31
31
|
onPositiveClick: PropType<(e: MouseEvent) => void>;
|
|
32
32
|
onNegativeClick: PropType<(e: MouseEvent) => void>;
|
|
33
33
|
onClose: PropType<() => void>;
|
|
34
|
+
contentClass: StringConstructor;
|
|
35
|
+
contentScrollable: BooleanConstructor;
|
|
36
|
+
contentStyle: PropType<import("vue").CSSProperties | string>;
|
|
37
|
+
headerStyle: PropType<import("vue").CSSProperties | string>;
|
|
38
|
+
headerExtraStyle: PropType<import("vue").CSSProperties | string>;
|
|
39
|
+
footerStyle: PropType<import("vue").CSSProperties | string>;
|
|
40
|
+
embedded: BooleanConstructor;
|
|
41
|
+
segmented: {
|
|
42
|
+
readonly type: PropType<boolean | import("../../card/src/Card").CardSegmented>;
|
|
43
|
+
readonly default: false;
|
|
44
|
+
};
|
|
45
|
+
hoverable: BooleanConstructor;
|
|
46
|
+
role: StringConstructor;
|
|
47
|
+
tag: {
|
|
48
|
+
readonly type: PropType<keyof HTMLElementTagNameMap>;
|
|
49
|
+
readonly default: "div";
|
|
50
|
+
};
|
|
34
51
|
};
|
|
35
|
-
declare const presetPropsKeys: ("bordered" | "icon" | "type" | "content" | "body" | "title" | "size" | "positiveText" | "negativeText" | "loading" | "showIcon" | "closable" | "onClose" | "iconPlacement" | "positiveButtonProps" | "negativeButtonProps" | "action" | "onPositiveClick" | "onNegativeClick")[];
|
|
52
|
+
declare const presetPropsKeys: ("bordered" | "icon" | "type" | "content" | "body" | "title" | "size" | "positiveText" | "negativeText" | "loading" | "tag" | "showIcon" | "closable" | "onClose" | "contentClass" | "contentStyle" | "iconPlacement" | "contentScrollable" | "headerStyle" | "headerExtraStyle" | "footerStyle" | "embedded" | "segmented" | "hoverable" | "role" | "positiveButtonProps" | "negativeButtonProps" | "action" | "onPositiveClick" | "onNegativeClick")[];
|
|
36
53
|
export { presetProps, presetPropsKeys };
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.presetPropsKeys = exports.presetProps = void 0;
|
|
4
4
|
const _utils_1 = require("../../_utils");
|
|
5
|
+
const Card_1 = require("../../card/src/Card");
|
|
5
6
|
const dialogProps_1 = require("../../dialog/src/dialogProps");
|
|
6
|
-
const presetProps = Object.assign(Object.assign({}, dialogProps_1.dialogProps), { size: {
|
|
7
|
+
const presetProps = Object.assign(Object.assign(Object.assign({}, Card_1.cardBaseProps), dialogProps_1.dialogProps), { size: {
|
|
7
8
|
type: String,
|
|
8
9
|
default: 'medium'
|
|
9
10
|
} });
|
package/lib/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "2.0.
|
|
1
|
+
declare const _default: "2.0.2";
|
|
2
2
|
export default _default;
|
package/lib/version.js
CHANGED
package/package.json
CHANGED
package/web-types.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"framework": "vue",
|
|
4
4
|
"name": "@uzum-tech/ui",
|
|
5
|
-
"version": "2.0.
|
|
5
|
+
"version": "2.0.2",
|
|
6
6
|
"js-types-syntax": "typescript",
|
|
7
7
|
"contributions": {
|
|
8
8
|
"html": {
|
|
@@ -8618,6 +8618,13 @@
|
|
|
8618
8618
|
"description": "Whether to show increase/decrease buttons.",
|
|
8619
8619
|
"default": "true"
|
|
8620
8620
|
},
|
|
8621
|
+
{
|
|
8622
|
+
"name": "type",
|
|
8623
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/input-number",
|
|
8624
|
+
"type": "'default' | 'amount'",
|
|
8625
|
+
"description": "When set to `amount`, the input will format numbers with a space thousands separator and increase/decrease buttons will be hidden.",
|
|
8626
|
+
"default": "'default'"
|
|
8627
|
+
},
|
|
8621
8628
|
{
|
|
8622
8629
|
"name": "size",
|
|
8623
8630
|
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/input-number",
|