rappel-ui 1.0.32 → 1.0.33
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/README.md +7 -1
- package/cjs/components/button/src/button-group.vue_vue_type_script_setup_true_lang.js +1 -1
- package/cjs/components/button/src/button.vue_vue_type_script_setup_true_lang.js +1 -1
- package/cjs/components/button/src/types.d.ts +1 -0
- package/cjs/components/popconfirm/src/popconfirm.vue_vue_type_script_setup_true_lang.js +1 -1
- package/cjs/components/popover/src/popover.vue_vue_type_script_setup_true_lang.js +1 -1
- package/cjs/components/svg-icon/src/svg-icon.vue_vue_type_script_setup_true_lang.js +1 -1
- package/cjs/components/svg-icon/src/types.d.ts +1 -1
- package/cjs/components/tooltip/src/tooltip.vue_vue_type_script_setup_true_lang.js +1 -1
- package/cjs/composables/use-namespace/index.d.ts +2 -0
- package/cjs/composables/use-namespace/index.js +1 -1
- package/cjs/index.d.ts +105 -420
- package/cjs/svg-icons/create-icon.d.ts +3 -12
- package/cjs/svg-icons/create-icon.js +1 -1
- package/cjs/svg-icons/src/arrow-backward.d.ts +3 -12
- package/cjs/svg-icons/src/arrow-backward.js +1 -1
- package/cjs/svg-icons/src/arrow-down.d.ts +3 -12
- package/cjs/svg-icons/src/arrow-down.js +1 -1
- package/cjs/svg-icons/src/arrow-downward.d.ts +3 -12
- package/cjs/svg-icons/src/arrow-downward.js +1 -1
- package/cjs/svg-icons/src/arrow-forward.d.ts +3 -12
- package/cjs/svg-icons/src/arrow-forward.js +1 -1
- package/cjs/svg-icons/src/arrow-left.d.ts +3 -12
- package/cjs/svg-icons/src/arrow-left.js +1 -1
- package/cjs/svg-icons/src/arrow-right.d.ts +3 -12
- package/cjs/svg-icons/src/arrow-right.js +1 -1
- package/cjs/svg-icons/src/arrow-up.d.ts +3 -12
- package/cjs/svg-icons/src/arrow-up.js +1 -1
- package/cjs/svg-icons/src/arrow-upward.d.ts +3 -12
- package/cjs/svg-icons/src/arrow-upward.js +1 -1
- package/cjs/svg-icons/src/check-circle.d.ts +3 -12
- package/cjs/svg-icons/src/check-circle.js +1 -1
- package/cjs/svg-icons/src/check-fill.d.ts +3 -12
- package/cjs/svg-icons/src/check.d.ts +3 -12
- package/cjs/svg-icons/src/check.js +1 -1
- package/cjs/svg-icons/src/close-circle.d.ts +3 -12
- package/cjs/svg-icons/src/close-circle.js +1 -1
- package/cjs/svg-icons/src/close-fill.d.ts +3 -12
- package/cjs/svg-icons/src/close-short.d.ts +3 -12
- package/cjs/svg-icons/src/close-short.js +1 -1
- package/cjs/svg-icons/src/close.d.ts +3 -12
- package/cjs/svg-icons/src/close.js +1 -1
- package/cjs/svg-icons/src/copy-closure.d.ts +3 -12
- package/cjs/svg-icons/src/copy-closure.js +1 -1
- package/cjs/svg-icons/src/copy.d.ts +3 -12
- package/cjs/svg-icons/src/copy.js +1 -1
- package/cjs/svg-icons/src/delete.d.ts +3 -12
- package/cjs/svg-icons/src/delete.js +1 -1
- package/cjs/svg-icons/src/exclam-fill.d.ts +3 -12
- package/cjs/svg-icons/src/exclam.d.ts +3 -12
- package/cjs/svg-icons/src/exclam.js +1 -1
- package/cjs/svg-icons/src/help.d.ts +3 -12
- package/cjs/svg-icons/src/help.js +1 -1
- package/cjs/svg-icons/src/info-circle.d.ts +3 -12
- package/cjs/svg-icons/src/info-circle.js +1 -1
- package/cjs/svg-icons/src/info-fill.d.ts +3 -12
- package/cjs/svg-icons/src/loading.d.ts +3 -12
- package/cjs/svg-icons/src/loading.js +1 -1
- package/cjs/svg-icons/src/more-dot-circle-horizontal.d.ts +3 -12
- package/cjs/svg-icons/src/more-dot-circle-horizontal.js +1 -1
- package/cjs/svg-icons/src/more-dot-circle-outline-horizontal.d.ts +3 -12
- package/cjs/svg-icons/src/more-dot-circle-outline-horizontal.js +1 -1
- package/cjs/svg-icons/src/more-dot-circle-outline-vertical.d.ts +3 -12
- package/cjs/svg-icons/src/more-dot-circle-outline-vertical.js +1 -1
- package/cjs/svg-icons/src/more-dot-circle.d.ts +3 -12
- package/cjs/svg-icons/src/more-dot-circle.js +1 -1
- package/cjs/svg-icons/src/more-dot-square-horizontal.d.ts +3 -12
- package/cjs/svg-icons/src/more-dot-square-horizontal.js +1 -1
- package/cjs/svg-icons/src/more-dot-square.d.ts +3 -12
- package/cjs/svg-icons/src/more-dot-square.js +1 -1
- package/cjs/svg-icons/src/more-line.d.ts +3 -12
- package/cjs/svg-icons/src/more-line.js +1 -1
- package/cjs/svg-icons/src/search-bold.d.ts +3 -12
- package/cjs/svg-icons/src/search-bold.js +1 -1
- package/cjs/svg-icons/src/search.d.ts +3 -12
- package/cjs/svg-icons/src/search.js +1 -1
- package/cjs/svg-icons/src/star-fill.d.ts +3 -12
- package/cjs/svg-icons/src/star.d.ts +3 -12
- package/cjs/svg-icons/src/star.js +1 -1
- package/cjs/svg-icons/types.d.ts +1 -1
- package/cjs/utils/util.d.ts +72 -68
- package/cjs/utils/util.js +1 -1
- package/dist/index.css +1 -1
- package/dist/index.umd.js +9 -9
- package/es/components/button/src/button-group.vue_vue_type_script_setup_true_lang.mjs +23 -12
- package/es/components/button/src/button.vue_vue_type_script_setup_true_lang.mjs +49 -45
- package/es/components/button/src/types.d.ts +1 -0
- package/es/components/popconfirm/src/popconfirm.vue_vue_type_script_setup_true_lang.mjs +3 -3
- package/es/components/popover/src/popover.vue_vue_type_script_setup_true_lang.mjs +1 -1
- package/es/components/svg-icon/src/svg-icon.vue_vue_type_script_setup_true_lang.mjs +2 -2
- package/es/components/svg-icon/src/types.d.ts +1 -1
- package/es/components/tooltip/src/tooltip.vue_vue_type_script_setup_true_lang.mjs +3 -2
- package/es/composables/use-namespace/index.d.ts +2 -0
- package/es/composables/use-namespace/index.mjs +2 -0
- package/es/index.d.ts +105 -420
- package/es/svg-icons/create-icon.d.ts +3 -12
- package/es/svg-icons/create-icon.mjs +3 -7
- package/es/svg-icons/src/arrow-backward.d.ts +3 -12
- package/es/svg-icons/src/arrow-backward.mjs +3 -1
- package/es/svg-icons/src/arrow-down.d.ts +3 -12
- package/es/svg-icons/src/arrow-down.mjs +3 -1
- package/es/svg-icons/src/arrow-downward.d.ts +3 -12
- package/es/svg-icons/src/arrow-downward.mjs +3 -1
- package/es/svg-icons/src/arrow-forward.d.ts +3 -12
- package/es/svg-icons/src/arrow-forward.mjs +3 -1
- package/es/svg-icons/src/arrow-left.d.ts +3 -12
- package/es/svg-icons/src/arrow-left.mjs +3 -1
- package/es/svg-icons/src/arrow-right.d.ts +3 -12
- package/es/svg-icons/src/arrow-right.mjs +3 -1
- package/es/svg-icons/src/arrow-up.d.ts +3 -12
- package/es/svg-icons/src/arrow-up.mjs +3 -1
- package/es/svg-icons/src/arrow-upward.d.ts +3 -12
- package/es/svg-icons/src/arrow-upward.mjs +3 -1
- package/es/svg-icons/src/check-circle.d.ts +3 -12
- package/es/svg-icons/src/check-circle.mjs +3 -1
- package/es/svg-icons/src/check-fill.d.ts +3 -12
- package/es/svg-icons/src/check.d.ts +3 -12
- package/es/svg-icons/src/check.mjs +3 -1
- package/es/svg-icons/src/close-circle.d.ts +3 -12
- package/es/svg-icons/src/close-circle.mjs +3 -1
- package/es/svg-icons/src/close-fill.d.ts +3 -12
- package/es/svg-icons/src/close-short.d.ts +3 -12
- package/es/svg-icons/src/close-short.mjs +3 -1
- package/es/svg-icons/src/close.d.ts +3 -12
- package/es/svg-icons/src/close.mjs +3 -1
- package/es/svg-icons/src/copy-closure.d.ts +3 -12
- package/es/svg-icons/src/copy-closure.mjs +3 -1
- package/es/svg-icons/src/copy.d.ts +3 -12
- package/es/svg-icons/src/copy.mjs +3 -1
- package/es/svg-icons/src/delete.d.ts +3 -12
- package/es/svg-icons/src/delete.mjs +3 -1
- package/es/svg-icons/src/exclam-fill.d.ts +3 -12
- package/es/svg-icons/src/exclam.d.ts +3 -12
- package/es/svg-icons/src/exclam.mjs +3 -1
- package/es/svg-icons/src/help.d.ts +3 -12
- package/es/svg-icons/src/help.mjs +3 -1
- package/es/svg-icons/src/info-circle.d.ts +3 -12
- package/es/svg-icons/src/info-circle.mjs +3 -1
- package/es/svg-icons/src/info-fill.d.ts +3 -12
- package/es/svg-icons/src/loading.d.ts +3 -12
- package/es/svg-icons/src/loading.mjs +3 -1
- package/es/svg-icons/src/more-dot-circle-horizontal.d.ts +3 -12
- package/es/svg-icons/src/more-dot-circle-horizontal.mjs +3 -1
- package/es/svg-icons/src/more-dot-circle-outline-horizontal.d.ts +3 -12
- package/es/svg-icons/src/more-dot-circle-outline-horizontal.mjs +3 -1
- package/es/svg-icons/src/more-dot-circle-outline-vertical.d.ts +3 -12
- package/es/svg-icons/src/more-dot-circle-outline-vertical.mjs +3 -1
- package/es/svg-icons/src/more-dot-circle.d.ts +3 -12
- package/es/svg-icons/src/more-dot-circle.mjs +3 -1
- package/es/svg-icons/src/more-dot-square-horizontal.d.ts +3 -12
- package/es/svg-icons/src/more-dot-square-horizontal.mjs +3 -1
- package/es/svg-icons/src/more-dot-square.d.ts +3 -12
- package/es/svg-icons/src/more-dot-square.mjs +3 -1
- package/es/svg-icons/src/more-line.d.ts +3 -12
- package/es/svg-icons/src/more-line.mjs +3 -1
- package/es/svg-icons/src/search-bold.d.ts +3 -12
- package/es/svg-icons/src/search-bold.mjs +3 -1
- package/es/svg-icons/src/search.d.ts +3 -12
- package/es/svg-icons/src/search.mjs +3 -1
- package/es/svg-icons/src/star-fill.d.ts +3 -12
- package/es/svg-icons/src/star.d.ts +3 -12
- package/es/svg-icons/src/star.mjs +3 -1
- package/es/svg-icons/types.d.ts +1 -1
- package/es/utils/util.d.ts +72 -68
- package/es/utils/util.mjs +2 -2
- package/package.json +2 -2
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/re-button-group.css +1 -1
- package/theme-chalk/re-button.css +1 -1
- package/theme-chalk/re-popconfirm.css +1 -1
- package/theme-chalk/re-popover.css +1 -1
- package/theme-chalk/re-tooltip.css +1 -1
- package/theme-chalk/src/button-group.scss +32 -8
- package/theme-chalk/src/function/index.scss +1 -1
- package/theme-chalk/src/message.scss +0 -1
- package/theme-chalk/src/mixins/_button.scss +1 -1
- package/theme-chalk/src/popconfirm.scss +16 -0
- package/theme-chalk/src/popover.scss +16 -0
- package/theme-chalk/src/tooltip.scss +16 -10
|
@@ -6,11 +6,7 @@ export declare const MoreDotSquareHorizontal: DefineComponent<ExtractPropTypes<{
|
|
|
6
6
|
};
|
|
7
7
|
color: {
|
|
8
8
|
type: StringConstructor;
|
|
9
|
-
default: string
|
|
10
|
-
};
|
|
11
|
-
fill: {
|
|
12
|
-
type: StringConstructor;
|
|
13
|
-
default: string | undefined;
|
|
9
|
+
default: string;
|
|
14
10
|
};
|
|
15
11
|
spin: {
|
|
16
12
|
type: BooleanConstructor;
|
|
@@ -25,11 +21,7 @@ export declare const MoreDotSquareHorizontal: DefineComponent<ExtractPropTypes<{
|
|
|
25
21
|
};
|
|
26
22
|
color: {
|
|
27
23
|
type: StringConstructor;
|
|
28
|
-
default: string
|
|
29
|
-
};
|
|
30
|
-
fill: {
|
|
31
|
-
type: StringConstructor;
|
|
32
|
-
default: string | undefined;
|
|
24
|
+
default: string;
|
|
33
25
|
};
|
|
34
26
|
spin: {
|
|
35
27
|
type: BooleanConstructor;
|
|
@@ -37,7 +29,6 @@ export declare const MoreDotSquareHorizontal: DefineComponent<ExtractPropTypes<{
|
|
|
37
29
|
};
|
|
38
30
|
}>> & Readonly<{}>, {
|
|
39
31
|
size: string | number;
|
|
40
|
-
fill: string;
|
|
41
|
-
color: string;
|
|
42
32
|
spin: boolean;
|
|
33
|
+
color: string;
|
|
43
34
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any> | undefined;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { createIcon as e } from "../create-icon.mjs";
|
|
2
|
+
//#region packages/svg-icons/src/more-dot-square-horizontal.ts
|
|
2
3
|
var t = e({
|
|
3
4
|
name: "more-dot-square-horizontal",
|
|
4
|
-
path: "M4 11h2v2h-2v-2m0 1h2m0 1h-2M11 11h2v2h-2v-2m0 1h2m0 1h-2M18 11h2v2h-2v-2m0 1h2m0 1h-2"
|
|
5
|
+
path: "M4 11h2v2h-2v-2m0 1h2m0 1h-2M11 11h2v2h-2v-2m0 1h2m0 1h-2M18 11h2v2h-2v-2m0 1h2m0 1h-2",
|
|
6
|
+
stroke: "currentColor"
|
|
5
7
|
});
|
|
6
8
|
//#endregion
|
|
7
9
|
export { t as MoreDotSquareHorizontal };
|
|
@@ -6,11 +6,7 @@ export declare const MoreDotSquare: DefineComponent<ExtractPropTypes<{
|
|
|
6
6
|
};
|
|
7
7
|
color: {
|
|
8
8
|
type: StringConstructor;
|
|
9
|
-
default: string
|
|
10
|
-
};
|
|
11
|
-
fill: {
|
|
12
|
-
type: StringConstructor;
|
|
13
|
-
default: string | undefined;
|
|
9
|
+
default: string;
|
|
14
10
|
};
|
|
15
11
|
spin: {
|
|
16
12
|
type: BooleanConstructor;
|
|
@@ -25,11 +21,7 @@ export declare const MoreDotSquare: DefineComponent<ExtractPropTypes<{
|
|
|
25
21
|
};
|
|
26
22
|
color: {
|
|
27
23
|
type: StringConstructor;
|
|
28
|
-
default: string
|
|
29
|
-
};
|
|
30
|
-
fill: {
|
|
31
|
-
type: StringConstructor;
|
|
32
|
-
default: string | undefined;
|
|
24
|
+
default: string;
|
|
33
25
|
};
|
|
34
26
|
spin: {
|
|
35
27
|
type: BooleanConstructor;
|
|
@@ -37,7 +29,6 @@ export declare const MoreDotSquare: DefineComponent<ExtractPropTypes<{
|
|
|
37
29
|
};
|
|
38
30
|
}>> & Readonly<{}>, {
|
|
39
31
|
size: string | number;
|
|
40
|
-
fill: string;
|
|
41
|
-
color: string;
|
|
42
32
|
spin: boolean;
|
|
33
|
+
color: string;
|
|
43
34
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any> | undefined;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { createIcon as e } from "../create-icon.mjs";
|
|
2
|
+
//#region packages/svg-icons/src/more-dot-square.ts
|
|
2
3
|
var t = e({
|
|
3
4
|
name: "more-dot-square",
|
|
4
|
-
path: "M10 4h2v2h-2v-2m0 1h2m0 1h-2M10 11 h2v2h-2v-2m0 1h2m0 1h-2M10 18 h2v2h-2v-2m0 1h2m0 1h-2"
|
|
5
|
+
path: "M10 4h2v2h-2v-2m0 1h2m0 1h-2M10 11 h2v2h-2v-2m0 1h2m0 1h-2M10 18 h2v2h-2v-2m0 1h2m0 1h-2",
|
|
6
|
+
stroke: "currentColor"
|
|
5
7
|
});
|
|
6
8
|
//#endregion
|
|
7
9
|
export { t as MoreDotSquare };
|
|
@@ -6,11 +6,7 @@ export declare const MoreLine: DefineComponent<ExtractPropTypes<{
|
|
|
6
6
|
};
|
|
7
7
|
color: {
|
|
8
8
|
type: StringConstructor;
|
|
9
|
-
default: string
|
|
10
|
-
};
|
|
11
|
-
fill: {
|
|
12
|
-
type: StringConstructor;
|
|
13
|
-
default: string | undefined;
|
|
9
|
+
default: string;
|
|
14
10
|
};
|
|
15
11
|
spin: {
|
|
16
12
|
type: BooleanConstructor;
|
|
@@ -25,11 +21,7 @@ export declare const MoreLine: DefineComponent<ExtractPropTypes<{
|
|
|
25
21
|
};
|
|
26
22
|
color: {
|
|
27
23
|
type: StringConstructor;
|
|
28
|
-
default: string
|
|
29
|
-
};
|
|
30
|
-
fill: {
|
|
31
|
-
type: StringConstructor;
|
|
32
|
-
default: string | undefined;
|
|
24
|
+
default: string;
|
|
33
25
|
};
|
|
34
26
|
spin: {
|
|
35
27
|
type: BooleanConstructor;
|
|
@@ -37,7 +29,6 @@ export declare const MoreLine: DefineComponent<ExtractPropTypes<{
|
|
|
37
29
|
};
|
|
38
30
|
}>> & Readonly<{}>, {
|
|
39
31
|
size: string | number;
|
|
40
|
-
fill: string;
|
|
41
|
-
color: string;
|
|
42
32
|
spin: boolean;
|
|
33
|
+
color: string;
|
|
43
34
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any> | undefined;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { createIcon as e } from "../create-icon.mjs";
|
|
2
|
+
//#region packages/svg-icons/src/more-line.ts
|
|
2
3
|
var t = e({
|
|
3
4
|
name: "more-line",
|
|
4
|
-
path: "M5 5h14l0 1h-14zM5 11h14l0 1h-14zM5 17h14l0 1h-14z"
|
|
5
|
+
path: "M5 5h14l0 1h-14zM5 11h14l0 1h-14zM5 17h14l0 1h-14z",
|
|
6
|
+
stroke: "currentColor"
|
|
5
7
|
});
|
|
6
8
|
//#endregion
|
|
7
9
|
export { t as MoreLine };
|
|
@@ -6,11 +6,7 @@ export declare const SearchBold: DefineComponent<ExtractPropTypes<{
|
|
|
6
6
|
};
|
|
7
7
|
color: {
|
|
8
8
|
type: StringConstructor;
|
|
9
|
-
default: string
|
|
10
|
-
};
|
|
11
|
-
fill: {
|
|
12
|
-
type: StringConstructor;
|
|
13
|
-
default: string | undefined;
|
|
9
|
+
default: string;
|
|
14
10
|
};
|
|
15
11
|
spin: {
|
|
16
12
|
type: BooleanConstructor;
|
|
@@ -25,11 +21,7 @@ export declare const SearchBold: DefineComponent<ExtractPropTypes<{
|
|
|
25
21
|
};
|
|
26
22
|
color: {
|
|
27
23
|
type: StringConstructor;
|
|
28
|
-
default: string
|
|
29
|
-
};
|
|
30
|
-
fill: {
|
|
31
|
-
type: StringConstructor;
|
|
32
|
-
default: string | undefined;
|
|
24
|
+
default: string;
|
|
33
25
|
};
|
|
34
26
|
spin: {
|
|
35
27
|
type: BooleanConstructor;
|
|
@@ -37,7 +29,6 @@ export declare const SearchBold: DefineComponent<ExtractPropTypes<{
|
|
|
37
29
|
};
|
|
38
30
|
}>> & Readonly<{}>, {
|
|
39
31
|
size: string | number;
|
|
40
|
-
fill: string;
|
|
41
|
-
color: string;
|
|
42
32
|
spin: boolean;
|
|
33
|
+
color: string;
|
|
43
34
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any> | undefined;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { createIcon as e } from "../create-icon.mjs";
|
|
2
|
+
//#region packages/svg-icons/src/search-bold.ts
|
|
2
3
|
var t = e({
|
|
3
4
|
name: "search-bold",
|
|
4
|
-
path: "M4 11 A7 7 0 1 0 18 11A7 7 0 1 0 4 11M16 16 L20 20"
|
|
5
|
+
path: "M4 11 A7 7 0 1 0 18 11A7 7 0 1 0 4 11M16 16 L20 20",
|
|
6
|
+
stroke: "currentColor"
|
|
5
7
|
});
|
|
6
8
|
//#endregion
|
|
7
9
|
export { t as SearchBold };
|
|
@@ -6,11 +6,7 @@ export declare const Search: DefineComponent<ExtractPropTypes<{
|
|
|
6
6
|
};
|
|
7
7
|
color: {
|
|
8
8
|
type: StringConstructor;
|
|
9
|
-
default: string
|
|
10
|
-
};
|
|
11
|
-
fill: {
|
|
12
|
-
type: StringConstructor;
|
|
13
|
-
default: string | undefined;
|
|
9
|
+
default: string;
|
|
14
10
|
};
|
|
15
11
|
spin: {
|
|
16
12
|
type: BooleanConstructor;
|
|
@@ -25,11 +21,7 @@ export declare const Search: DefineComponent<ExtractPropTypes<{
|
|
|
25
21
|
};
|
|
26
22
|
color: {
|
|
27
23
|
type: StringConstructor;
|
|
28
|
-
default: string
|
|
29
|
-
};
|
|
30
|
-
fill: {
|
|
31
|
-
type: StringConstructor;
|
|
32
|
-
default: string | undefined;
|
|
24
|
+
default: string;
|
|
33
25
|
};
|
|
34
26
|
spin: {
|
|
35
27
|
type: BooleanConstructor;
|
|
@@ -37,7 +29,6 @@ export declare const Search: DefineComponent<ExtractPropTypes<{
|
|
|
37
29
|
};
|
|
38
30
|
}>> & Readonly<{}>, {
|
|
39
31
|
size: string | number;
|
|
40
|
-
fill: string;
|
|
41
|
-
color: string;
|
|
42
32
|
spin: boolean;
|
|
33
|
+
color: string;
|
|
43
34
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any> | undefined;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { createIcon as e } from "../create-icon.mjs";
|
|
2
|
+
//#region packages/svg-icons/src/search.ts
|
|
2
3
|
var t = e({
|
|
3
4
|
name: "search",
|
|
4
|
-
path: "M4 10A6 6 0 1 0 16 10 A6 6 0 1 0 4 10M20 20 L14.5 14.5"
|
|
5
|
+
path: "M4 10A6 6 0 1 0 16 10 A6 6 0 1 0 4 10M20 20 L14.5 14.5",
|
|
6
|
+
stroke: "currentColor"
|
|
5
7
|
});
|
|
6
8
|
//#endregion
|
|
7
9
|
export { t as Search };
|
|
@@ -6,11 +6,7 @@ export declare const StarFill: DefineComponent<ExtractPropTypes<{
|
|
|
6
6
|
};
|
|
7
7
|
color: {
|
|
8
8
|
type: StringConstructor;
|
|
9
|
-
default: string
|
|
10
|
-
};
|
|
11
|
-
fill: {
|
|
12
|
-
type: StringConstructor;
|
|
13
|
-
default: string | undefined;
|
|
9
|
+
default: string;
|
|
14
10
|
};
|
|
15
11
|
spin: {
|
|
16
12
|
type: BooleanConstructor;
|
|
@@ -25,11 +21,7 @@ export declare const StarFill: DefineComponent<ExtractPropTypes<{
|
|
|
25
21
|
};
|
|
26
22
|
color: {
|
|
27
23
|
type: StringConstructor;
|
|
28
|
-
default: string
|
|
29
|
-
};
|
|
30
|
-
fill: {
|
|
31
|
-
type: StringConstructor;
|
|
32
|
-
default: string | undefined;
|
|
24
|
+
default: string;
|
|
33
25
|
};
|
|
34
26
|
spin: {
|
|
35
27
|
type: BooleanConstructor;
|
|
@@ -37,7 +29,6 @@ export declare const StarFill: DefineComponent<ExtractPropTypes<{
|
|
|
37
29
|
};
|
|
38
30
|
}>> & Readonly<{}>, {
|
|
39
31
|
size: string | number;
|
|
40
|
-
fill: string;
|
|
41
|
-
color: string;
|
|
42
32
|
spin: boolean;
|
|
33
|
+
color: string;
|
|
43
34
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any> | undefined;
|
|
@@ -6,11 +6,7 @@ export declare const Star: DefineComponent<ExtractPropTypes<{
|
|
|
6
6
|
};
|
|
7
7
|
color: {
|
|
8
8
|
type: StringConstructor;
|
|
9
|
-
default: string
|
|
10
|
-
};
|
|
11
|
-
fill: {
|
|
12
|
-
type: StringConstructor;
|
|
13
|
-
default: string | undefined;
|
|
9
|
+
default: string;
|
|
14
10
|
};
|
|
15
11
|
spin: {
|
|
16
12
|
type: BooleanConstructor;
|
|
@@ -25,11 +21,7 @@ export declare const Star: DefineComponent<ExtractPropTypes<{
|
|
|
25
21
|
};
|
|
26
22
|
color: {
|
|
27
23
|
type: StringConstructor;
|
|
28
|
-
default: string
|
|
29
|
-
};
|
|
30
|
-
fill: {
|
|
31
|
-
type: StringConstructor;
|
|
32
|
-
default: string | undefined;
|
|
24
|
+
default: string;
|
|
33
25
|
};
|
|
34
26
|
spin: {
|
|
35
27
|
type: BooleanConstructor;
|
|
@@ -37,7 +29,6 @@ export declare const Star: DefineComponent<ExtractPropTypes<{
|
|
|
37
29
|
};
|
|
38
30
|
}>> & Readonly<{}>, {
|
|
39
31
|
size: string | number;
|
|
40
|
-
fill: string;
|
|
41
|
-
color: string;
|
|
42
32
|
spin: boolean;
|
|
33
|
+
color: string;
|
|
43
34
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any> | undefined;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { createIcon as e } from "../create-icon.mjs";
|
|
2
|
+
//#region packages/svg-icons/src/star.ts
|
|
2
3
|
var t = e({
|
|
3
4
|
name: "star",
|
|
4
|
-
path: "M12 2L14.63 9.25L22 9.64L16.26 14.51L18.18 22L12 17.77L5.82 22L7.74 14.51L2 9.64L9.37 9.25L12 2"
|
|
5
|
+
path: "M12 2L14.63 9.25L22 9.64L16.26 14.51L18.18 22L12 17.77L5.82 22L7.74 14.51L2 9.64L9.37 9.25L12 2",
|
|
6
|
+
stroke: "currentColor"
|
|
5
7
|
});
|
|
6
8
|
//#endregion
|
|
7
9
|
export { t as Star };
|
package/es/svg-icons/types.d.ts
CHANGED
package/es/utils/util.d.ts
CHANGED
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* @param { Object } params
|
|
4
|
-
* @returns
|
|
2
|
+
* Convert objects to FormData objects
|
|
3
|
+
* @param { Object } params - objects to convert
|
|
4
|
+
* @returns - converted FormData object
|
|
5
5
|
*/
|
|
6
6
|
export declare function paramsToFormData(params: Record<string, any>): FormData;
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
9
|
-
* @param { string } urlString - URL
|
|
10
|
-
* @param { Object } params -
|
|
11
|
-
* @returns { string }
|
|
8
|
+
* Set URLSearchParams object and return a new URL string
|
|
9
|
+
* @param { string } urlString - URL string
|
|
10
|
+
* @param { Object } params - parameters to set in the URLSearchParams object
|
|
11
|
+
* @returns { string } - new URL string with updated search parameters
|
|
12
12
|
*/
|
|
13
13
|
export declare function setURLSearchParams(urlString: string, params: Record<string, any>): string;
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
16
|
-
* @param { string[] } ...urls
|
|
17
|
-
* @returns { string }
|
|
15
|
+
* Merge URL strings
|
|
16
|
+
* @param { string[] } ...urls -Variable parameters: URL string parameters
|
|
17
|
+
* @returns { string } -merged URL string
|
|
18
18
|
*/
|
|
19
19
|
export declare function joinURLs(...urls: string[]): string;
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* deep clone
|
|
22
22
|
* @param arr
|
|
23
23
|
* @returns
|
|
24
24
|
*/
|
|
25
25
|
export declare function deepClone(arr: any[]): any[] | null;
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
28
|
-
* @param byte {number} -
|
|
27
|
+
* Automatically convert file size to a suitable unit size
|
|
28
|
+
* @param byte {number} - file size(B)
|
|
29
29
|
* @returns
|
|
30
30
|
*/
|
|
31
31
|
export declare function autoCalcFileSize(byte: number): string;
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
34
|
-
* @param file {File} -
|
|
35
|
-
* @param encode {string} -
|
|
33
|
+
* Read txt files based on encoding
|
|
34
|
+
* @param file {File} - File Object
|
|
35
|
+
* @param encode {string} - Encoding type
|
|
36
36
|
* @returns
|
|
37
37
|
*/
|
|
38
38
|
export declare function readTxtFile(file: File, encode: string): Promise<string>;
|
|
39
39
|
/**
|
|
40
|
-
*
|
|
41
|
-
* @param file {File} -
|
|
42
|
-
* @param encodes {string[]} -
|
|
40
|
+
* Read txt file with different encodings
|
|
41
|
+
* @param file {File} - File Object
|
|
42
|
+
* @param encodes {string[]} - Encodings array
|
|
43
43
|
* @returns
|
|
44
44
|
*/
|
|
45
45
|
export declare function readTxtByEncodes(file: File, encodes?: string[]): Promise<string>;
|
|
@@ -49,27 +49,27 @@ export declare function readTxtByEncodes(file: File, encodes?: string[]): Promis
|
|
|
49
49
|
*/
|
|
50
50
|
export declare function lineBreakToComma(str: string): string;
|
|
51
51
|
/**
|
|
52
|
-
*
|
|
53
|
-
* @param {Function} fn -
|
|
52
|
+
* singleton mode
|
|
53
|
+
* @param {Function} fn - function to run / class to construct
|
|
54
54
|
*/
|
|
55
55
|
export declare function singleton(fn: (...args: unknown[]) => unknown): unknown;
|
|
56
56
|
/**
|
|
57
|
-
*
|
|
57
|
+
* function overload
|
|
58
58
|
* @example
|
|
59
59
|
* const overload = createOverload()
|
|
60
60
|
* overload.add('string', (arg: string) => { console.log('string', arg) })
|
|
61
61
|
* overload.add('number','string', (arg1: number, arg2: string) => { console.log('number,string', arg1, arg2) })
|
|
62
|
-
* @returns {Function}
|
|
62
|
+
* @returns {Function} overload function
|
|
63
63
|
*/
|
|
64
64
|
export declare function createOverload(): {
|
|
65
65
|
(...args: any[]): any;
|
|
66
66
|
add(...args: any[]): void;
|
|
67
67
|
};
|
|
68
68
|
/**
|
|
69
|
-
*
|
|
70
|
-
* @param data {Array} -
|
|
71
|
-
* @param props {Object} -
|
|
72
|
-
* @returns {Array} -
|
|
69
|
+
* flat to tree
|
|
70
|
+
* @param data {Array} - original data
|
|
71
|
+
* @param props {Object} - props map
|
|
72
|
+
* @returns {Array} - tree data
|
|
73
73
|
*/
|
|
74
74
|
export declare function buildTree(data: any[], props?: {
|
|
75
75
|
label: string;
|
|
@@ -83,80 +83,81 @@ export declare function hexToRGB(hexColor: string): {
|
|
|
83
83
|
b: number;
|
|
84
84
|
};
|
|
85
85
|
/**
|
|
86
|
-
*
|
|
86
|
+
* Input can be float number, and the final output: #rrggbb
|
|
87
87
|
* @param r 0‑255
|
|
88
88
|
* @param g 0‑255
|
|
89
89
|
* @param b 0‑255
|
|
90
90
|
*/
|
|
91
91
|
export declare function rgbToHex(r: number, g: number, b: number): string;
|
|
92
92
|
/**
|
|
93
|
-
*
|
|
94
|
-
* @param hexColor
|
|
95
|
-
* @param opacity
|
|
96
|
-
* @returns
|
|
93
|
+
* Calculate the equivalent color value of transparency
|
|
94
|
+
* @param hexColor - (e.g., '#a895ff')
|
|
95
|
+
* @param opacity - (between 0-1, default is 1)
|
|
96
|
+
* @returns the equivalent opaque color value (hexadecimal format)
|
|
97
97
|
*/
|
|
98
98
|
export declare function getEqualOpacityColor(hexColor: string, bgcolor?: string, opacity?: number): string;
|
|
99
99
|
/**
|
|
100
100
|
* Mixed color(Hexadecimal)
|
|
101
|
-
* @param
|
|
102
|
-
* @param mixColor
|
|
103
|
-
* @param ratio
|
|
104
|
-
* @returns
|
|
101
|
+
* @param originColor -original color(Hexadecimal, eg: '#a895ff')
|
|
102
|
+
* @param mixColor -mixed color(Hexadecimal, eg: '#000000')
|
|
103
|
+
* @param ratio -Mixing ratio (0-1, 0 means no change at all, 1 means completely mixed color)
|
|
104
|
+
* @returns -mixed color value
|
|
105
105
|
*/
|
|
106
|
-
export declare function mixedColor(
|
|
106
|
+
export declare function mixedColor(originColor: string, mixColor: string, ratio?: number): string;
|
|
107
107
|
/**
|
|
108
108
|
* @description 创建层次颜色数组,包含一个变暗的颜色(hover/active)和多个透明度的等值颜色值
|
|
109
109
|
* @param baseColor - 基础颜色的十六进制字符串 (例如 '#a895ff')
|
|
110
|
-
* @param
|
|
111
|
-
* @param
|
|
110
|
+
* @param bgcolor - 背景颜色的十六进制字符串,默认为 '#ffffff'
|
|
111
|
+
* @param mixColor - 混入颜色的十六进制字符串
|
|
112
|
+
* @param mixRatio - 混入颜色比率,取值范围为0-1,0表示不变,1表示完全变为混入颜色
|
|
112
113
|
* @param opacityLevels - 透明度数组,默认为 [0.9, 0.8, 0.7, 0.6, 0.5, 0.4, 0.3, 0.2, 0.1]
|
|
113
114
|
* @returns 层次颜色数组
|
|
114
115
|
*/
|
|
115
116
|
export declare function createColors(baseColor: string, bgcolor: string | undefined, mixColor: string, mixRatio?: number, opacityLevels?: number[]): string[];
|
|
116
117
|
/**
|
|
117
|
-
* @description
|
|
118
|
+
* @description Whether the object has the specified key
|
|
118
119
|
*
|
|
119
|
-
* @param { Record<string, unknown> } obj -
|
|
120
|
-
* @param { string } key -
|
|
121
|
-
* @returns { boolean } -
|
|
120
|
+
* @param { Record<string, unknown> } obj - the object to be judged.
|
|
121
|
+
* @param { string } key - the key to check.
|
|
122
|
+
* @returns { boolean } - true or false
|
|
122
123
|
*/
|
|
123
124
|
export declare function hasOwnProperty(obj: Record<string, unknown>, key: string): boolean;
|
|
124
125
|
/**
|
|
125
|
-
* @description
|
|
126
|
+
* @description whether the object is a plain object.
|
|
126
127
|
*
|
|
127
|
-
* @param { unknown } obj -
|
|
128
|
-
* @returns { boolean } -
|
|
128
|
+
* @param { unknown } obj - the object to be judged.
|
|
129
|
+
* @returns { boolean } - true or false
|
|
129
130
|
*/
|
|
130
131
|
export declare function isPlainObject(obj: unknown): boolean;
|
|
131
132
|
/**
|
|
132
|
-
* @description
|
|
133
|
+
* @description delete object keys.
|
|
133
134
|
*
|
|
134
|
-
* @param { Record<string, unknown> } obj -
|
|
135
|
-
* @param { string[] } keys -
|
|
136
|
-
* @returns { Record<string, unknown> } -
|
|
135
|
+
* @param { Record<string, unknown> } obj - target object.
|
|
136
|
+
* @param { string[] } keys - keys to delete.
|
|
137
|
+
* @returns { Record<string, unknown> } - new object after deleting keys
|
|
137
138
|
*/
|
|
138
139
|
export declare function deleteKeys<T extends Record<string, unknown>, K extends keyof T>(obj: T, keys: K[] | K): Omit<T, K>;
|
|
139
140
|
/**
|
|
140
|
-
* @description
|
|
141
|
+
* @description Recursive array flattening, supporting array sub-elements as basic types, objects, and arrays.
|
|
141
142
|
*
|
|
142
|
-
* @param { Record<string, unknown>[] } arr -
|
|
143
|
-
* @param { string } key -
|
|
144
|
-
* @returns { Record<string, unknown>[] } -
|
|
143
|
+
* @param { Record<string, unknown>[] } arr - original array.
|
|
144
|
+
* @param { string } key - flattened key.
|
|
145
|
+
* @returns { Record<string, unknown>[] } - flattened array
|
|
145
146
|
*/
|
|
146
147
|
export declare function flatArr<T extends Record<string, unknown>, K extends keyof T>(arr: T[], key?: K): T[];
|
|
147
148
|
/**
|
|
148
|
-
* @description
|
|
149
|
+
* @description remove object empty keys.
|
|
149
150
|
*
|
|
150
|
-
* @param { Record<string, unknown> } obj -
|
|
151
|
-
* @param { unknown[] } emptyValues -
|
|
152
|
-
* null, {}, [], false, 0]
|
|
153
|
-
* @returns { Partial<T> | T } -
|
|
151
|
+
* @param { Record<string, unknown> } obj - target object.
|
|
152
|
+
* @param { unknown[] } emptyValues - empty value array (default is ['', undefined, null], supports empty value judgment for arrays and objects ['',
|
|
153
|
+
* null, {}, [], false, 0])
|
|
154
|
+
* @returns { Partial<T> | T } - new object after removing empty values
|
|
154
155
|
*/
|
|
155
156
|
export declare function omitEmptyKeys<T extends Record<string, unknown> & {
|
|
156
157
|
length?: never;
|
|
157
158
|
}>(obj: T, emptyValues?: unknown[]): Partial<T> | T;
|
|
158
159
|
/**
|
|
159
|
-
*
|
|
160
|
+
* element sizes transition
|
|
160
161
|
* @param dom
|
|
161
162
|
* @param property
|
|
162
163
|
* @param show
|
|
@@ -164,26 +165,29 @@ export declare function omitEmptyKeys<T extends Record<string, unknown> & {
|
|
|
164
165
|
*/
|
|
165
166
|
export declare function transitionSize(dom: HTMLElement | undefined, property: "height" | "width" | undefined, show: boolean, transition?: string): void;
|
|
166
167
|
/**
|
|
167
|
-
*
|
|
168
|
-
* @param {string} text -
|
|
168
|
+
* copy text to clipboard
|
|
169
|
+
* @param {string} text - text to copy
|
|
169
170
|
* @returns {Promise<any>}
|
|
170
171
|
*/
|
|
171
172
|
export declare function copyText(text: string): Promise<any>;
|
|
172
173
|
/**
|
|
173
|
-
*
|
|
174
|
-
* @param value
|
|
175
|
-
* @returns
|
|
174
|
+
* Convert to a size value with px unit
|
|
175
|
+
* @param value number / pure number string / string with unit
|
|
176
|
+
* @returns CSS value with unit
|
|
176
177
|
*/
|
|
177
178
|
export declare function toPx(val?: string | number): string | undefined;
|
|
178
179
|
/**
|
|
179
|
-
*
|
|
180
|
+
* Get CSS variables by prefix
|
|
180
181
|
* @param prefix
|
|
181
182
|
* @param element
|
|
182
183
|
* @returns
|
|
183
184
|
*/
|
|
184
185
|
export declare function getCssVarsByPrefix(prefix: string, element?: HTMLElement): {};
|
|
185
186
|
/**
|
|
186
|
-
*
|
|
187
|
-
*
|
|
187
|
+
* Convert PascalCase to kebab-case
|
|
188
|
+
* @param str {string} - PascalCase string
|
|
189
|
+
* @returns {string} - kebab-case string
|
|
190
|
+
* @example
|
|
191
|
+
* ReFilterPanel -> re-filter-panel
|
|
188
192
|
*/
|
|
189
193
|
export declare function toKebabCase(str: string): string;
|
package/es/utils/util.mjs
CHANGED
|
@@ -113,9 +113,9 @@ function p(e, t = "#ffffff", n = 1) {
|
|
|
113
113
|
let { r, g: i, b: a } = d(e), { r: o, g: s, b: c } = d(t);
|
|
114
114
|
return f(Math.round(r * n + o * (1 - n)), Math.round(i * n + s * (1 - n)), Math.round(a * n + c * (1 - n)));
|
|
115
115
|
}
|
|
116
|
-
function m(e, t, n = .
|
|
116
|
+
function m(e, t, n = .12) {
|
|
117
117
|
let { r, g: i, b: a } = d(e), { r: o, g: s, b: c } = d(t);
|
|
118
|
-
return f(Math.round(r * (1 - n) + o * n), Math.round(i * (1 - n) + s * n), Math.round(a * (1 - n) + c * n));
|
|
118
|
+
return n = Math.max(0, Math.min(1, n)), f(Math.round(r * (1 - n) + o * n), Math.round(i * (1 - n) + s * n), Math.round(a * (1 - n) + c * n));
|
|
119
119
|
}
|
|
120
120
|
function h(e, t = "#ffffff", n, r = .12, i = [
|
|
121
121
|
.9,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rappel-ui",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.33",
|
|
4
4
|
"description": "A Vue3 Component Library",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"vue",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"vue": "^3.2.0"
|
|
74
74
|
},
|
|
75
75
|
"dependencies": {
|
|
76
|
-
"@rappel-ui/svg-icons": "^1.0.
|
|
76
|
+
"@rappel-ui/svg-icons": "^1.0.24",
|
|
77
77
|
"@vueuse/core": "^14.4.0",
|
|
78
78
|
"dayjs": "^1.11.18",
|
|
79
79
|
"@floating-ui/vue": "^2.0.1"
|