ll-plus 2.0.4 → 2.0.5
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/es/components/advanced-filtering/index.d.ts +11643 -4929
- package/es/components/advanced-filtering/src/advanced-filtering.d.ts +896 -1
- package/es/components/advanced-filtering/src/advanced-filtering.mjs +5 -1
- package/es/components/advanced-filtering/src/advanced-filtering.mjs.map +1 -1
- package/es/components/advanced-filtering/src/advanced-filtering.vue.d.ts +6030 -1554
- package/es/components/advanced-filtering/src/advanced-filtering.vue2.mjs +2 -1
- package/es/components/advanced-filtering/src/advanced-filtering.vue2.mjs.map +1 -1
- package/es/components/advanced-filtering/src/components/advanced-filtering-tags.vue.d.ts +2242 -4
- package/es/components/button/index.d.ts +4 -4
- package/es/components/button/src/button.d.ts +1 -1
- package/es/components/button/src/button.vue.d.ts +4 -4
- package/es/components/drawer/index.d.ts +6 -6
- package/es/components/drawer/src/drawer.mjs +3 -0
- package/es/components/drawer/src/drawer.mjs.map +1 -1
- package/es/components/drawer/src/drawer.vue.d.ts +6 -6
- package/es/components/empty/src/empty.d.ts +1 -1
- package/es/components/empty/src/empty.mjs +1 -1
- package/es/components/empty/src/empty.mjs.map +1 -1
- package/es/components/icon/index.d.ts +1 -1
- package/es/components/icon/src/icon.vue.d.ts +1 -1
- package/es/components/input/index.d.ts +31 -31
- package/es/components/input/src/input.vue.d.ts +31 -31
- package/es/components/modal/index.d.ts +12 -12
- package/es/components/modal/src/modal.d.ts +3 -3
- package/es/components/modal/src/modal.mjs +4 -4
- package/es/components/modal/src/modal.mjs.map +1 -1
- package/es/components/modal/src/modal.vue.d.ts +12 -12
- package/es/components/modal/src/modal.vue2.mjs +9 -29
- package/es/components/modal/src/modal.vue2.mjs.map +1 -1
- package/es/components/table/index.d.ts +1 -1
- package/es/components/table/src/components/header-search.vue.d.ts +1 -1
- package/es/components/table/src/table.vue.d.ts +1 -1
- package/es/components/tooltip/index.d.ts +2 -2
- package/es/components/tooltip/src/tooltip.vue.d.ts +2 -2
- package/es/components/tree-search/index.d.ts +12 -12
- package/es/components/tree-search/src/config/tree-search.d.ts +4 -4
- package/es/components/tree-search/src/tree-search.vue.d.ts +12 -12
- package/index.full.js +23 -35
- package/index.full.min.js +16 -16
- package/index.full.min.js.map +1 -1
- package/index.full.min.mjs +14 -14
- package/index.full.min.mjs.map +1 -1
- package/index.full.mjs +23 -35
- package/lib/components/advanced-filtering/index.d.ts +11643 -4929
- package/lib/components/advanced-filtering/src/advanced-filtering.d.ts +896 -1
- package/lib/components/advanced-filtering/src/advanced-filtering.js +5 -1
- package/lib/components/advanced-filtering/src/advanced-filtering.js.map +1 -1
- package/lib/components/advanced-filtering/src/advanced-filtering.vue.d.ts +6030 -1554
- package/lib/components/advanced-filtering/src/advanced-filtering.vue2.js +2 -1
- package/lib/components/advanced-filtering/src/advanced-filtering.vue2.js.map +1 -1
- package/lib/components/advanced-filtering/src/components/advanced-filtering-tags.vue.d.ts +2242 -4
- package/lib/components/button/index.d.ts +4 -4
- package/lib/components/button/src/button.d.ts +1 -1
- package/lib/components/button/src/button.vue.d.ts +4 -4
- package/lib/components/drawer/index.d.ts +6 -6
- package/lib/components/drawer/src/drawer.js +3 -0
- package/lib/components/drawer/src/drawer.js.map +1 -1
- package/lib/components/drawer/src/drawer.vue.d.ts +6 -6
- package/lib/components/empty/src/empty.d.ts +1 -1
- package/lib/components/empty/src/empty.js +1 -1
- package/lib/components/empty/src/empty.js.map +1 -1
- package/lib/components/icon/index.d.ts +1 -1
- package/lib/components/icon/src/icon.vue.d.ts +1 -1
- package/lib/components/input/index.d.ts +31 -31
- package/lib/components/input/src/input.vue.d.ts +31 -31
- package/lib/components/modal/index.d.ts +12 -12
- package/lib/components/modal/src/modal.d.ts +3 -3
- package/lib/components/modal/src/modal.js +4 -4
- package/lib/components/modal/src/modal.js.map +1 -1
- package/lib/components/modal/src/modal.vue.d.ts +12 -12
- package/lib/components/modal/src/modal.vue2.js +8 -28
- package/lib/components/modal/src/modal.vue2.js.map +1 -1
- package/lib/components/table/index.d.ts +1 -1
- package/lib/components/table/src/components/header-search.vue.d.ts +1 -1
- package/lib/components/table/src/table.vue.d.ts +1 -1
- package/lib/components/tooltip/index.d.ts +2 -2
- package/lib/components/tooltip/src/tooltip.vue.d.ts +2 -2
- package/lib/components/tree-search/index.d.ts +12 -12
- package/lib/components/tree-search/src/config/tree-search.d.ts +4 -4
- package/lib/components/tree-search/src/tree-search.vue.d.ts +12 -12
- package/package.json +1 -1
- package/types/packages/components/advanced-filtering/index.d.ts +11643 -4929
- package/types/packages/components/advanced-filtering/src/advanced-filtering.d.ts +896 -1
- package/types/packages/components/advanced-filtering/src/advanced-filtering.vue.d.ts +6030 -1554
- package/types/packages/components/advanced-filtering/src/components/advanced-filtering-tags.vue.d.ts +2242 -4
- package/types/packages/components/button/index.d.ts +4 -4
- package/types/packages/components/button/src/button.d.ts +1 -1
- package/types/packages/components/button/src/button.vue.d.ts +4 -4
- package/types/packages/components/drawer/index.d.ts +6 -6
- package/types/packages/components/drawer/src/drawer.vue.d.ts +6 -6
- package/types/packages/components/empty/src/empty.d.ts +1 -1
- package/types/packages/components/icon/index.d.ts +1 -1
- package/types/packages/components/icon/src/icon.vue.d.ts +1 -1
- package/types/packages/components/input/index.d.ts +31 -31
- package/types/packages/components/input/src/input.vue.d.ts +31 -31
- package/types/packages/components/modal/index.d.ts +12 -12
- package/types/packages/components/modal/src/modal.d.ts +3 -3
- package/types/packages/components/modal/src/modal.vue.d.ts +12 -12
- package/types/packages/components/table/index.d.ts +1 -1
- package/types/packages/components/table/src/components/header-search.vue.d.ts +1 -1
- package/types/packages/components/table/src/table.vue.d.ts +1 -1
- package/types/packages/components/tooltip/index.d.ts +2 -2
- package/types/packages/components/tooltip/src/tooltip.vue.d.ts +2 -2
- package/types/packages/components/tree-search/index.d.ts +12 -12
- package/types/packages/components/tree-search/src/config/tree-search.d.ts +4 -4
- package/types/packages/components/tree-search/src/tree-search.vue.d.ts +12 -12
|
@@ -49,8 +49,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
49
49
|
};
|
|
50
50
|
autocomplete: StringConstructor;
|
|
51
51
|
type: {
|
|
52
|
-
type: import("vue").PropType<"number" | "
|
|
53
|
-
default: "number" | "
|
|
52
|
+
type: import("vue").PropType<"number" | "color" | "search" | "url" | "hidden" | "button" | "time" | "reset" | "submit" | "image" | "text" | "checkbox" | "radio" | "range" | "date" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel">;
|
|
53
|
+
default: "number" | "color" | "search" | "url" | "hidden" | "button" | "time" | "reset" | "submit" | "image" | "text" | "checkbox" | "radio" | "range" | "date" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel";
|
|
54
54
|
};
|
|
55
55
|
name: StringConstructor;
|
|
56
56
|
size: {
|
|
@@ -137,8 +137,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
137
137
|
};
|
|
138
138
|
autocomplete: StringConstructor;
|
|
139
139
|
type: {
|
|
140
|
-
type: import("vue").PropType<"number" | "
|
|
141
|
-
default: "number" | "
|
|
140
|
+
type: import("vue").PropType<"number" | "color" | "search" | "url" | "hidden" | "button" | "time" | "reset" | "submit" | "image" | "text" | "checkbox" | "radio" | "range" | "date" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel">;
|
|
141
|
+
default: "number" | "color" | "search" | "url" | "hidden" | "button" | "time" | "reset" | "submit" | "image" | "text" | "checkbox" | "radio" | "range" | "date" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel";
|
|
142
142
|
};
|
|
143
143
|
name: StringConstructor;
|
|
144
144
|
size: {
|
|
@@ -220,7 +220,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
220
220
|
};
|
|
221
221
|
}, "wrapperClassName" | "affixWrapperClassName" | "groupClassName" | "inputClassName">>>, {
|
|
222
222
|
value: string | number;
|
|
223
|
-
type: "number" | "
|
|
223
|
+
type: "number" | "color" | "search" | "url" | "hidden" | "button" | "time" | "reset" | "submit" | "image" | "text" | "checkbox" | "radio" | "range" | "date" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel";
|
|
224
224
|
focused: boolean;
|
|
225
225
|
hidden: boolean;
|
|
226
226
|
disabled: boolean;
|
|
@@ -245,8 +245,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
245
245
|
};
|
|
246
246
|
autocomplete: StringConstructor;
|
|
247
247
|
type: {
|
|
248
|
-
type: import("vue").PropType<"number" | "
|
|
249
|
-
default: "number" | "
|
|
248
|
+
type: import("vue").PropType<"number" | "color" | "search" | "url" | "hidden" | "button" | "time" | "reset" | "submit" | "image" | "text" | "checkbox" | "radio" | "range" | "date" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel">;
|
|
249
|
+
default: "number" | "color" | "search" | "url" | "hidden" | "button" | "time" | "reset" | "submit" | "image" | "text" | "checkbox" | "radio" | "range" | "date" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel";
|
|
250
250
|
};
|
|
251
251
|
name: StringConstructor;
|
|
252
252
|
size: {
|
|
@@ -328,7 +328,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
328
328
|
};
|
|
329
329
|
}, "wrapperClassName" | "affixWrapperClassName" | "groupClassName" | "inputClassName">>>, () => import("ant-design-vue/es/_util/type").VueNode, {}, {}, {}, {
|
|
330
330
|
value: string | number;
|
|
331
|
-
type: "number" | "
|
|
331
|
+
type: "number" | "color" | "search" | "url" | "hidden" | "button" | "time" | "reset" | "submit" | "image" | "text" | "checkbox" | "radio" | "range" | "date" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel";
|
|
332
332
|
focused: boolean;
|
|
333
333
|
hidden: boolean;
|
|
334
334
|
disabled: boolean;
|
|
@@ -350,8 +350,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
350
350
|
};
|
|
351
351
|
autocomplete: StringConstructor;
|
|
352
352
|
type: {
|
|
353
|
-
type: import("vue").PropType<"number" | "
|
|
354
|
-
default: "number" | "
|
|
353
|
+
type: import("vue").PropType<"number" | "color" | "search" | "url" | "hidden" | "button" | "time" | "reset" | "submit" | "image" | "text" | "checkbox" | "radio" | "range" | "date" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel">;
|
|
354
|
+
default: "number" | "color" | "search" | "url" | "hidden" | "button" | "time" | "reset" | "submit" | "image" | "text" | "checkbox" | "radio" | "range" | "date" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel";
|
|
355
355
|
};
|
|
356
356
|
name: StringConstructor;
|
|
357
357
|
size: {
|
|
@@ -433,7 +433,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
433
433
|
};
|
|
434
434
|
}, "wrapperClassName" | "affixWrapperClassName" | "groupClassName" | "inputClassName">>>, () => import("ant-design-vue/es/_util/type").VueNode, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
435
435
|
value: string | number;
|
|
436
|
-
type: "number" | "
|
|
436
|
+
type: "number" | "color" | "search" | "url" | "hidden" | "button" | "time" | "reset" | "submit" | "image" | "text" | "checkbox" | "radio" | "range" | "date" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel";
|
|
437
437
|
focused: boolean;
|
|
438
438
|
hidden: boolean;
|
|
439
439
|
disabled: boolean;
|
|
@@ -481,8 +481,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
481
481
|
};
|
|
482
482
|
name: StringConstructor;
|
|
483
483
|
type: {
|
|
484
|
-
type: import("vue").PropType<"number" | "
|
|
485
|
-
default: "number" | "
|
|
484
|
+
type: import("vue").PropType<"number" | "color" | "search" | "url" | "hidden" | "button" | "time" | "reset" | "submit" | "image" | "text" | "checkbox" | "radio" | "range" | "date" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel">;
|
|
485
|
+
default: "number" | "color" | "search" | "url" | "hidden" | "button" | "time" | "reset" | "submit" | "image" | "text" | "checkbox" | "radio" | "range" | "date" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel";
|
|
486
486
|
};
|
|
487
487
|
onCompositionend: import("vue").PropType<import("ant-design-vue/es/_util/EventInterface").CompositionEventHandler>;
|
|
488
488
|
onCompositionstart: import("vue").PropType<import("ant-design-vue/es/_util/EventInterface").CompositionEventHandler>;
|
|
@@ -570,8 +570,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
570
570
|
};
|
|
571
571
|
name: StringConstructor;
|
|
572
572
|
type: {
|
|
573
|
-
type: import("vue").PropType<"number" | "
|
|
574
|
-
default: "number" | "
|
|
573
|
+
type: import("vue").PropType<"number" | "color" | "search" | "url" | "hidden" | "button" | "time" | "reset" | "submit" | "image" | "text" | "checkbox" | "radio" | "range" | "date" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel">;
|
|
574
|
+
default: "number" | "color" | "search" | "url" | "hidden" | "button" | "time" | "reset" | "submit" | "image" | "text" | "checkbox" | "radio" | "range" | "date" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel";
|
|
575
575
|
};
|
|
576
576
|
onCompositionend: import("vue").PropType<import("ant-design-vue/es/_util/EventInterface").CompositionEventHandler>;
|
|
577
577
|
onCompositionstart: import("vue").PropType<import("ant-design-vue/es/_util/EventInterface").CompositionEventHandler>;
|
|
@@ -646,7 +646,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
646
646
|
};
|
|
647
647
|
}>>, {
|
|
648
648
|
value: string | number;
|
|
649
|
-
type: "number" | "
|
|
649
|
+
type: "number" | "color" | "search" | "url" | "hidden" | "button" | "time" | "reset" | "submit" | "image" | "text" | "checkbox" | "radio" | "range" | "date" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel";
|
|
650
650
|
focused: boolean;
|
|
651
651
|
hidden: boolean;
|
|
652
652
|
disabled: boolean;
|
|
@@ -690,8 +690,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
690
690
|
};
|
|
691
691
|
name: StringConstructor;
|
|
692
692
|
type: {
|
|
693
|
-
type: import("vue").PropType<"number" | "
|
|
694
|
-
default: "number" | "
|
|
693
|
+
type: import("vue").PropType<"number" | "color" | "search" | "url" | "hidden" | "button" | "time" | "reset" | "submit" | "image" | "text" | "checkbox" | "radio" | "range" | "date" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel">;
|
|
694
|
+
default: "number" | "color" | "search" | "url" | "hidden" | "button" | "time" | "reset" | "submit" | "image" | "text" | "checkbox" | "radio" | "range" | "date" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel";
|
|
695
695
|
};
|
|
696
696
|
onFocus: import("vue").PropType<import("ant-design-vue/es/_util/EventInterface").FocusEventHandler>;
|
|
697
697
|
onBlur: import("vue").PropType<import("ant-design-vue/es/_util/EventInterface").FocusEventHandler>;
|
|
@@ -789,8 +789,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
789
789
|
};
|
|
790
790
|
name: StringConstructor;
|
|
791
791
|
type: {
|
|
792
|
-
type: import("vue").PropType<"number" | "
|
|
793
|
-
default: "number" | "
|
|
792
|
+
type: import("vue").PropType<"number" | "color" | "search" | "url" | "hidden" | "button" | "time" | "reset" | "submit" | "image" | "text" | "checkbox" | "radio" | "range" | "date" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel">;
|
|
793
|
+
default: "number" | "color" | "search" | "url" | "hidden" | "button" | "time" | "reset" | "submit" | "image" | "text" | "checkbox" | "radio" | "range" | "date" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel";
|
|
794
794
|
};
|
|
795
795
|
onFocus: import("vue").PropType<import("ant-design-vue/es/_util/EventInterface").FocusEventHandler>;
|
|
796
796
|
onBlur: import("vue").PropType<import("ant-design-vue/es/_util/EventInterface").FocusEventHandler>;
|
|
@@ -858,7 +858,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
858
858
|
};
|
|
859
859
|
}>>, {
|
|
860
860
|
value: string | number;
|
|
861
|
-
type: "number" | "
|
|
861
|
+
type: "number" | "color" | "search" | "url" | "hidden" | "button" | "time" | "reset" | "submit" | "image" | "text" | "checkbox" | "radio" | "range" | "date" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel";
|
|
862
862
|
focused: boolean;
|
|
863
863
|
hidden: boolean;
|
|
864
864
|
disabled: boolean;
|
|
@@ -898,8 +898,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
898
898
|
};
|
|
899
899
|
name: StringConstructor;
|
|
900
900
|
type: {
|
|
901
|
-
type: import("vue").PropType<"number" | "
|
|
902
|
-
default: "number" | "
|
|
901
|
+
type: import("vue").PropType<"number" | "color" | "search" | "url" | "hidden" | "button" | "time" | "reset" | "submit" | "image" | "text" | "checkbox" | "radio" | "range" | "date" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel">;
|
|
902
|
+
default: "number" | "color" | "search" | "url" | "hidden" | "button" | "time" | "reset" | "submit" | "image" | "text" | "checkbox" | "radio" | "range" | "date" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel";
|
|
903
903
|
};
|
|
904
904
|
onCompositionend: import("vue").PropType<import("ant-design-vue/es/_util/EventInterface").CompositionEventHandler>;
|
|
905
905
|
onCompositionstart: import("vue").PropType<import("ant-design-vue/es/_util/EventInterface").CompositionEventHandler>;
|
|
@@ -997,8 +997,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
997
997
|
};
|
|
998
998
|
name: StringConstructor;
|
|
999
999
|
type: {
|
|
1000
|
-
type: import("vue").PropType<"number" | "
|
|
1001
|
-
default: "number" | "
|
|
1000
|
+
type: import("vue").PropType<"number" | "color" | "search" | "url" | "hidden" | "button" | "time" | "reset" | "submit" | "image" | "text" | "checkbox" | "radio" | "range" | "date" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel">;
|
|
1001
|
+
default: "number" | "color" | "search" | "url" | "hidden" | "button" | "time" | "reset" | "submit" | "image" | "text" | "checkbox" | "radio" | "range" | "date" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel";
|
|
1002
1002
|
};
|
|
1003
1003
|
onCompositionend: import("vue").PropType<import("ant-design-vue/es/_util/EventInterface").CompositionEventHandler>;
|
|
1004
1004
|
onCompositionstart: import("vue").PropType<import("ant-design-vue/es/_util/EventInterface").CompositionEventHandler>;
|
|
@@ -1072,7 +1072,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1072
1072
|
};
|
|
1073
1073
|
}>>, {
|
|
1074
1074
|
value: string | number;
|
|
1075
|
-
type: "number" | "
|
|
1075
|
+
type: "number" | "color" | "search" | "url" | "hidden" | "button" | "time" | "reset" | "submit" | "image" | "text" | "checkbox" | "radio" | "range" | "date" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel";
|
|
1076
1076
|
focused: boolean;
|
|
1077
1077
|
hidden: boolean;
|
|
1078
1078
|
visible: boolean;
|
|
@@ -1113,8 +1113,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1113
1113
|
};
|
|
1114
1114
|
name: StringConstructor;
|
|
1115
1115
|
type: {
|
|
1116
|
-
type: import("vue").PropType<"number" | "
|
|
1117
|
-
default: "number" | "
|
|
1116
|
+
type: import("vue").PropType<"number" | "color" | "search" | "url" | "hidden" | "button" | "time" | "reset" | "submit" | "image" | "text" | "checkbox" | "radio" | "range" | "date" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel">;
|
|
1117
|
+
default: "number" | "color" | "search" | "url" | "hidden" | "button" | "time" | "reset" | "submit" | "image" | "text" | "checkbox" | "radio" | "range" | "date" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel";
|
|
1118
1118
|
};
|
|
1119
1119
|
onCompositionend: import("vue").PropType<import("ant-design-vue/es/_util/EventInterface").CompositionEventHandler>;
|
|
1120
1120
|
onCompositionstart: import("vue").PropType<import("ant-design-vue/es/_util/EventInterface").CompositionEventHandler>;
|
|
@@ -1212,8 +1212,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1212
1212
|
};
|
|
1213
1213
|
name: StringConstructor;
|
|
1214
1214
|
type: {
|
|
1215
|
-
type: import("vue").PropType<"number" | "
|
|
1216
|
-
default: "number" | "
|
|
1215
|
+
type: import("vue").PropType<"number" | "color" | "search" | "url" | "hidden" | "button" | "time" | "reset" | "submit" | "image" | "text" | "checkbox" | "radio" | "range" | "date" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel">;
|
|
1216
|
+
default: "number" | "color" | "search" | "url" | "hidden" | "button" | "time" | "reset" | "submit" | "image" | "text" | "checkbox" | "radio" | "range" | "date" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel";
|
|
1217
1217
|
};
|
|
1218
1218
|
onCompositionend: import("vue").PropType<import("ant-design-vue/es/_util/EventInterface").CompositionEventHandler>;
|
|
1219
1219
|
onCompositionstart: import("vue").PropType<import("ant-design-vue/es/_util/EventInterface").CompositionEventHandler>;
|
|
@@ -1287,7 +1287,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1287
1287
|
};
|
|
1288
1288
|
}>>, {
|
|
1289
1289
|
value: string | number;
|
|
1290
|
-
type: "number" | "
|
|
1290
|
+
type: "number" | "color" | "search" | "url" | "hidden" | "button" | "time" | "reset" | "submit" | "image" | "text" | "checkbox" | "radio" | "range" | "date" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel";
|
|
1291
1291
|
focused: boolean;
|
|
1292
1292
|
hidden: boolean;
|
|
1293
1293
|
visible: boolean;
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import Modal from './src/modal.vue';
|
|
2
2
|
export declare const LlModal: import("ll-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
3
3
|
readonly open: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
4
|
-
readonly title: import("ll-plus/es/utils").EpPropFinalized<
|
|
4
|
+
readonly title: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "提示", boolean>;
|
|
5
5
|
readonly loading: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
6
6
|
readonly type: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => "confirm" | "operate" | "upload") | (() => "confirm" | "operate" | "upload") | ((new (...args: any[]) => "confirm" | "operate" | "upload") | (() => "confirm" | "operate" | "upload"))[], unknown, unknown, "operate", boolean>;
|
|
7
7
|
readonly class: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
8
|
-
readonly confirmText: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "
|
|
9
|
-
readonly cancelText: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "
|
|
8
|
+
readonly confirmText: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
9
|
+
readonly cancelText: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
10
10
|
readonly showCancel: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
11
11
|
readonly showFooter: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
12
12
|
}, {
|
|
13
13
|
props: import("@vue/shared").LooseRequired<{
|
|
14
14
|
readonly type: import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => "confirm" | "operate" | "upload") | (() => "confirm" | "operate" | "upload") | ((new (...args: any[]) => "confirm" | "operate" | "upload") | (() => "confirm" | "operate" | "upload"))[], unknown, unknown>;
|
|
15
|
-
readonly
|
|
15
|
+
readonly title: string;
|
|
16
16
|
readonly open: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
17
|
-
readonly
|
|
17
|
+
readonly showFooter: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
18
18
|
readonly loading: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
19
19
|
readonly confirmText: string;
|
|
20
20
|
readonly cancelText: string;
|
|
21
21
|
readonly showCancel: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
22
22
|
readonly class: string;
|
|
23
|
-
readonly onCancel?: ((...args: any[]) => any) | undefined;
|
|
24
23
|
readonly "onUpdate:open"?: ((...args: any[]) => any) | undefined;
|
|
24
|
+
readonly onCancel?: ((...args: any[]) => any) | undefined;
|
|
25
25
|
readonly onOk?: ((...args: any[]) => any) | undefined;
|
|
26
26
|
} & {}>;
|
|
27
27
|
emits: (event: "cancel" | "update:open" | "ok", ...args: any[]) => void;
|
|
@@ -49,23 +49,23 @@ export declare const LlModal: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
49
49
|
handleResize: () => Promise<void>;
|
|
50
50
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancel" | "update:open" | "ok")[], "cancel" | "update:open" | "ok", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
51
51
|
readonly open: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
52
|
-
readonly title: import("ll-plus/es/utils").EpPropFinalized<
|
|
52
|
+
readonly title: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "提示", boolean>;
|
|
53
53
|
readonly loading: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
54
54
|
readonly type: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => "confirm" | "operate" | "upload") | (() => "confirm" | "operate" | "upload") | ((new (...args: any[]) => "confirm" | "operate" | "upload") | (() => "confirm" | "operate" | "upload"))[], unknown, unknown, "operate", boolean>;
|
|
55
55
|
readonly class: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
56
|
-
readonly confirmText: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "
|
|
57
|
-
readonly cancelText: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "
|
|
56
|
+
readonly confirmText: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
57
|
+
readonly cancelText: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
58
58
|
readonly showCancel: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
59
59
|
readonly showFooter: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
60
60
|
}>> & {
|
|
61
|
-
onCancel?: ((...args: any[]) => any) | undefined;
|
|
62
61
|
"onUpdate:open"?: ((...args: any[]) => any) | undefined;
|
|
62
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
|
63
63
|
onOk?: ((...args: any[]) => any) | undefined;
|
|
64
64
|
}, {
|
|
65
65
|
readonly type: import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => "confirm" | "operate" | "upload") | (() => "confirm" | "operate" | "upload") | ((new (...args: any[]) => "confirm" | "operate" | "upload") | (() => "confirm" | "operate" | "upload"))[], unknown, unknown>;
|
|
66
|
-
readonly
|
|
66
|
+
readonly title: string;
|
|
67
67
|
readonly open: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
68
|
-
readonly
|
|
68
|
+
readonly showFooter: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
69
69
|
readonly loading: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
70
70
|
readonly confirmText: string;
|
|
71
71
|
readonly cancelText: string;
|
|
@@ -3,12 +3,12 @@ import type Modal from './modal.vue';
|
|
|
3
3
|
type IType = 'confirm' | 'operate' | 'upload';
|
|
4
4
|
export declare const modalProps: {
|
|
5
5
|
readonly open: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
6
|
-
readonly title: import("ll-plus/es/utils").EpPropFinalized<
|
|
6
|
+
readonly title: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "提示", boolean>;
|
|
7
7
|
readonly loading: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
8
8
|
readonly type: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => "confirm" | "operate" | "upload") | (() => IType) | ((new (...args: any[]) => "confirm" | "operate" | "upload") | (() => IType))[], unknown, unknown, "operate", boolean>;
|
|
9
9
|
readonly class: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
10
|
-
readonly confirmText: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "
|
|
11
|
-
readonly cancelText: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "
|
|
10
|
+
readonly confirmText: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
11
|
+
readonly cancelText: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
12
12
|
readonly showCancel: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
13
13
|
readonly showFooter: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
14
14
|
};
|
|
@@ -14,8 +14,8 @@ const modalProps = buildProps({
|
|
|
14
14
|
* @description 标题
|
|
15
15
|
*/
|
|
16
16
|
title: {
|
|
17
|
-
type:
|
|
18
|
-
default:
|
|
17
|
+
type: String,
|
|
18
|
+
default: "\u63D0\u793A"
|
|
19
19
|
},
|
|
20
20
|
/**
|
|
21
21
|
* @description 加载状态
|
|
@@ -43,14 +43,14 @@ const modalProps = buildProps({
|
|
|
43
43
|
*/
|
|
44
44
|
confirmText: {
|
|
45
45
|
type: String,
|
|
46
|
-
default: "
|
|
46
|
+
default: ""
|
|
47
47
|
},
|
|
48
48
|
/**
|
|
49
49
|
* @description 取消按钮文字
|
|
50
50
|
*/
|
|
51
51
|
cancelText: {
|
|
52
52
|
type: String,
|
|
53
|
-
default: "
|
|
53
|
+
default: ""
|
|
54
54
|
},
|
|
55
55
|
/**
|
|
56
56
|
* @description 显示取消按钮
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modal.mjs","sources":["../../../../../packages/components/modal/src/modal.ts"],"sourcesContent":["import { buildProps, definePropType } from '@ll-plus/utils'\n\nimport type { ExtractPropTypes } from 'vue'\nimport type Modal from './modal.vue'\n\ntype IType = 'confirm' | 'operate' | 'upload'\nexport const modalProps = buildProps({\n /**\n * @description 开启弹窗\n */\n open: {\n type: Boolean,\n default: false\n },\n /**\n * @description 标题\n */\n title: {\n type:
|
|
1
|
+
{"version":3,"file":"modal.mjs","sources":["../../../../../packages/components/modal/src/modal.ts"],"sourcesContent":["import { buildProps, definePropType } from '@ll-plus/utils'\n\nimport type { ExtractPropTypes } from 'vue'\nimport type Modal from './modal.vue'\n\ntype IType = 'confirm' | 'operate' | 'upload'\nexport const modalProps = buildProps({\n /**\n * @description 开启弹窗\n */\n open: {\n type: Boolean,\n default: false\n },\n /**\n * @description 标题\n */\n title: {\n type: String,\n default: '提示'\n },\n /**\n * @description 加载状态\n */\n loading: {\n type: Boolean,\n default: false\n },\n /**\n * @description 弹窗类型\n */\n type: {\n type: definePropType<IType>(String),\n default: 'operate'\n },\n /**\n * @description 弹窗class\n */\n class: {\n type: String,\n default: ''\n },\n /**\n * @description 确认按钮文字\n */\n confirmText: {\n type: String,\n default: ''\n },\n /**\n * @description 取消按钮文字\n */\n cancelText: {\n type: String,\n default: ''\n },\n /**\n * @description 显示取消按钮\n */\n showCancel: {\n type: Boolean,\n default: true\n },\n /**\n * @description 显示底部\n */\n showFooter: {\n type: Boolean,\n default: true\n }\n} as const)\n\n// props\nexport type ModalProps = ExtractPropTypes<typeof modalProps>\n\n// instance\nexport type ModalInstance = InstanceType<typeof Modal>\n"],"names":[],"mappings":";;;;AAMO,MAAM,aAAa,UAAW,CAAA;AAAA;AAAA;AAAA;AAAA,EAInC,IAAM,EAAA;AAAA,IACJ,IAAM,EAAA,OAAA;AAAA,IACN,OAAS,EAAA,KAAA;AAAA,GACX;AAAA;AAAA;AAAA;AAAA,EAIA,KAAO,EAAA;AAAA,IACL,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA,cAAA;AAAA,GACX;AAAA;AAAA;AAAA;AAAA,EAIA,OAAS,EAAA;AAAA,IACP,IAAM,EAAA,OAAA;AAAA,IACN,OAAS,EAAA,KAAA;AAAA,GACX;AAAA;AAAA;AAAA;AAAA,EAIA,IAAM,EAAA;AAAA,IACJ,IAAA,EAAM,eAAsB,MAAM,CAAA;AAAA,IAClC,OAAS,EAAA,SAAA;AAAA,GACX;AAAA;AAAA;AAAA;AAAA,EAIA,KAAO,EAAA;AAAA,IACL,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA,EAAA;AAAA,GACX;AAAA;AAAA;AAAA;AAAA,EAIA,WAAa,EAAA;AAAA,IACX,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA,EAAA;AAAA,GACX;AAAA;AAAA;AAAA;AAAA,EAIA,UAAY,EAAA;AAAA,IACV,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA,EAAA;AAAA,GACX;AAAA;AAAA;AAAA;AAAA,EAIA,UAAY,EAAA;AAAA,IACV,IAAM,EAAA,OAAA;AAAA,IACN,OAAS,EAAA,IAAA;AAAA,GACX;AAAA;AAAA;AAAA;AAAA,EAIA,UAAY,EAAA;AAAA,IACV,IAAM,EAAA,OAAA;AAAA,IACN,OAAS,EAAA,IAAA;AAAA,GACX;AACF,CAAU;;;;"}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
|
2
2
|
readonly open: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
3
|
-
readonly title: import("ll-plus/es/utils").EpPropFinalized<
|
|
3
|
+
readonly title: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "提示", boolean>;
|
|
4
4
|
readonly loading: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
5
5
|
readonly type: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => "confirm" | "operate" | "upload") | (() => "confirm" | "operate" | "upload") | ((new (...args: any[]) => "confirm" | "operate" | "upload") | (() => "confirm" | "operate" | "upload"))[], unknown, unknown, "operate", boolean>;
|
|
6
6
|
readonly class: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
7
|
-
readonly confirmText: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "
|
|
8
|
-
readonly cancelText: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "
|
|
7
|
+
readonly confirmText: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
8
|
+
readonly cancelText: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
9
9
|
readonly showCancel: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
10
10
|
readonly showFooter: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
11
11
|
}, {
|
|
12
12
|
props: import("@vue/shared").LooseRequired<{
|
|
13
13
|
readonly type: import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => "confirm" | "operate" | "upload") | (() => "confirm" | "operate" | "upload") | ((new (...args: any[]) => "confirm" | "operate" | "upload") | (() => "confirm" | "operate" | "upload"))[], unknown, unknown>;
|
|
14
|
-
readonly
|
|
14
|
+
readonly title: string;
|
|
15
15
|
readonly open: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
16
|
-
readonly
|
|
16
|
+
readonly showFooter: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
17
17
|
readonly loading: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
18
18
|
readonly confirmText: string;
|
|
19
19
|
readonly cancelText: string;
|
|
20
20
|
readonly showCancel: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
21
21
|
readonly class: string;
|
|
22
|
-
readonly onCancel?: ((...args: any[]) => any) | undefined;
|
|
23
22
|
readonly "onUpdate:open"?: ((...args: any[]) => any) | undefined;
|
|
23
|
+
readonly onCancel?: ((...args: any[]) => any) | undefined;
|
|
24
24
|
readonly onOk?: ((...args: any[]) => any) | undefined;
|
|
25
25
|
} & {}>;
|
|
26
26
|
emits: (event: "cancel" | "update:open" | "ok", ...args: any[]) => void;
|
|
@@ -48,23 +48,23 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
48
48
|
handleResize: () => Promise<void>;
|
|
49
49
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancel" | "update:open" | "ok")[], "cancel" | "update:open" | "ok", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
50
50
|
readonly open: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
51
|
-
readonly title: import("ll-plus/es/utils").EpPropFinalized<
|
|
51
|
+
readonly title: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "提示", boolean>;
|
|
52
52
|
readonly loading: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
53
53
|
readonly type: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => "confirm" | "operate" | "upload") | (() => "confirm" | "operate" | "upload") | ((new (...args: any[]) => "confirm" | "operate" | "upload") | (() => "confirm" | "operate" | "upload"))[], unknown, unknown, "operate", boolean>;
|
|
54
54
|
readonly class: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
55
|
-
readonly confirmText: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "
|
|
56
|
-
readonly cancelText: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "
|
|
55
|
+
readonly confirmText: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
56
|
+
readonly cancelText: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
57
57
|
readonly showCancel: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
58
58
|
readonly showFooter: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
59
59
|
}>> & {
|
|
60
|
-
onCancel?: ((...args: any[]) => any) | undefined;
|
|
61
60
|
"onUpdate:open"?: ((...args: any[]) => any) | undefined;
|
|
61
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
|
62
62
|
onOk?: ((...args: any[]) => any) | undefined;
|
|
63
63
|
}, {
|
|
64
64
|
readonly type: import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => "confirm" | "operate" | "upload") | (() => "confirm" | "operate" | "upload") | ((new (...args: any[]) => "confirm" | "operate" | "upload") | (() => "confirm" | "operate" | "upload"))[], unknown, unknown>;
|
|
65
|
-
readonly
|
|
65
|
+
readonly title: string;
|
|
66
66
|
readonly open: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
67
|
-
readonly
|
|
67
|
+
readonly showFooter: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
68
68
|
readonly loading: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
69
69
|
readonly confirmText: string;
|
|
70
70
|
readonly cancelText: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, useAttrs, ref, computed, nextTick, watch, resolveComponent, openBlock, createBlock, mergeProps, unref, createSlots, withCtx, createElementVNode, normalizeClass, renderSlot, createCommentVNode,
|
|
1
|
+
import { defineComponent, useAttrs, ref, computed, nextTick, watch, resolveComponent, openBlock, createBlock, mergeProps, unref, createSlots, withCtx, createElementVNode, normalizeClass, renderSlot, createCommentVNode, createVNode } from 'vue';
|
|
2
2
|
import '../../../utils/index.mjs';
|
|
3
3
|
import { omit, throttle } from 'lodash-es';
|
|
4
4
|
import { modalProps } from './modal.mjs';
|
|
@@ -80,37 +80,17 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
80
80
|
fn: withCtx(() => [
|
|
81
81
|
renderSlot(_ctx.$slots, "footer", {}, () => [
|
|
82
82
|
createCommentVNode(" \u786E\u8BA4\u6846 "),
|
|
83
|
-
props.type
|
|
83
|
+
props.showCancel && props.type !== "confirm" ? (openBlock(), createBlock(_component_ll_button, {
|
|
84
84
|
key: 0,
|
|
85
|
+
label: props.cancelText ? props.cancelText : "\u53D6\u6D88",
|
|
86
|
+
onClick: handleCancel
|
|
87
|
+
}, null, 8, ["label"])) : createCommentVNode("v-if", true),
|
|
88
|
+
createVNode(_component_ll_button, {
|
|
85
89
|
type: "primary",
|
|
86
|
-
|
|
90
|
+
loading: props.loading,
|
|
91
|
+
label: props.confirmText ? props.confirmText : props.type === "confirm" ? "\u77E5\u9053\u4E86" : "\u786E\u8BA4",
|
|
87
92
|
onClick: handleOk
|
|
88
|
-
},
|
|
89
|
-
default: withCtx(() => [
|
|
90
|
-
createTextVNode(" \u77E5\u9053\u4E86 ")
|
|
91
|
-
]),
|
|
92
|
-
_: 1
|
|
93
|
-
/* STABLE */
|
|
94
|
-
}, 8, ["class"])) : (openBlock(), createElementBlock(
|
|
95
|
-
Fragment,
|
|
96
|
-
{ key: 1 },
|
|
97
|
-
[
|
|
98
|
-
createCommentVNode(" \u64CD\u4F5C\u6846 "),
|
|
99
|
-
props.showCancel ? (openBlock(), createBlock(_component_ll_button, {
|
|
100
|
-
key: 0,
|
|
101
|
-
label: props.cancelText,
|
|
102
|
-
onClick: handleCancel
|
|
103
|
-
}, null, 8, ["label"])) : createCommentVNode("v-if", true),
|
|
104
|
-
createVNode(_component_ll_button, {
|
|
105
|
-
type: "primary",
|
|
106
|
-
loading: props.loading,
|
|
107
|
-
label: props.confirmText,
|
|
108
|
-
onClick: handleOk
|
|
109
|
-
}, null, 8, ["loading", "label"])
|
|
110
|
-
],
|
|
111
|
-
64
|
|
112
|
-
/* STABLE_FRAGMENT */
|
|
113
|
-
))
|
|
93
|
+
}, null, 8, ["loading", "label"])
|
|
114
94
|
])
|
|
115
95
|
]),
|
|
116
96
|
key: "0"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modal.vue2.mjs","sources":["../../../../../packages/components/modal/src/modal.vue"],"sourcesContent":["<template>\n <a-modal\n v-bind=\"getBindValue\"\n ref=\"modal\"\n :open=\"props.open\"\n :title=\"props.title\"\n :wrap-class-name=\"bem.b()\"\n :class=\"[props.class, symbolClass, hasScroll ? bem.is('has-scroll') : '']\"\n @cancel=\"handleCancel\"\n @ok=\"handleOk\"\n >\n <div :class=\"[bem.e('container'), bem.is(props.type)]\">\n <slot />\n </div>\n <template v-if=\"props.showFooter\" #footer>\n <slot name=\"footer\">\n <!-- 确认框 -->\n <
|
|
1
|
+
{"version":3,"file":"modal.vue2.mjs","sources":["../../../../../packages/components/modal/src/modal.vue"],"sourcesContent":["<template>\n <a-modal\n v-bind=\"getBindValue\"\n ref=\"modal\"\n :open=\"props.open\"\n :title=\"props.title\"\n :wrap-class-name=\"bem.b()\"\n :class=\"[props.class, symbolClass, hasScroll ? bem.is('has-scroll') : '']\"\n @cancel=\"handleCancel\"\n @ok=\"handleOk\"\n >\n <div :class=\"[bem.e('container'), bem.is(props.type)]\">\n <slot />\n </div>\n <template v-if=\"props.showFooter\" #footer>\n <slot name=\"footer\">\n <!-- 确认框 -->\n\n <ll-button\n v-if=\"props.showCancel && props.type !== 'confirm'\"\n :label=\"props.cancelText ? props.cancelText : '取消'\"\n @click=\"handleCancel\"\n >\n </ll-button>\n <ll-button\n type=\"primary\"\n :loading=\"props.loading\"\n :label=\"\n props.confirmText\n ? props.confirmText\n : props.type === 'confirm'\n ? '知道了'\n : '确认'\n \"\n @click=\"handleOk\"\n />\n </slot>\n </template>\n </a-modal>\n</template>\n\n<script lang=\"ts\" setup>\nimport { useAttrs, ref, watch, nextTick, computed } from 'vue'\nimport { createNamespace } from '@ll-plus/utils'\nimport { throttle, omit } from 'lodash-es'\nimport { modalProps } from './modal'\ndefineOptions({ name: 'LlModal' })\n// 1.props/ref\nconst props = defineProps(modalProps)\n// 2.emits\nconst emits = defineEmits(['update:open', 'ok', 'cancel'])\n\nconst attrs = useAttrs()\n\nconst bem = createNamespace('modal')\n\nconst modal = ref<HTMLElement>()\nconst hasScroll = ref(false)\nconst symbolClass = ref(`ll-modal-${new Date().getTime()}`)\n\nconst getBindValue = computed(() => ({\n ...omit({ ...attrs }, [...Object.keys(modalProps), 'wrapClassName'])\n}))\n\n// 3.methods\nconst handleCancel = () => {\n emits('update:open', false)\n emits('cancel')\n}\nconst handleOk = () => {\n emits('ok')\n}\nconst handleResize = async () => {\n await nextTick()\n const ele = document.getElementsByClassName(symbolClass.value)[0]\n const modalBody = ele.getElementsByClassName(`ant-modal-body`)[0]\n hasScroll.value = modalBody.scrollHeight > modalBody.clientHeight\n}\n\n// 4.watch/computed\nwatch(\n () => props.open,\n val => {\n console.log({ val })\n if (val) {\n handleResize()\n window.addEventListener('resize', throttle(handleResize, 1000))\n } else {\n window.removeEventListener('resize', handleResize)\n }\n }\n)\n</script>\n"],"names":[],"mappings":";;;;;;;;;;;;;AAgDA,IAAA,MAAM,KAAQ,GAAA,OAAA,CAAA;AAEd,IAAA,MAAM,KAAQ,GAAA,MAAA,CAAA;AAEd,IAAA,MAAM,QAAQ,QAAS,EAAA,CAAA;AAEvB,IAAM,MAAA,GAAA,GAAM,gBAAgB,OAAO,CAAA,CAAA;AAEnC,IAAA,MAAM,QAAQ,GAAiB,EAAA,CAAA;AAC/B,IAAM,MAAA,SAAA,GAAY,IAAI,KAAK,CAAA,CAAA;AAC3B,IAAM,MAAA,WAAA,GAAc,IAAI,CAAY,SAAA,EAAA,iBAAA,IAAI,MAAO,EAAA,OAAA,EAAS,CAAE,CAAA,CAAA,CAAA;AAE1D,IAAM,MAAA,YAAA,GAAe,SAAS,OAAO;AAAA,MACnC,GAAG,IAAA,CAAK,EAAE,GAAG,KAAM,EAAA,EAAG,CAAC,GAAG,MAAO,CAAA,IAAA,CAAK,UAAU,CAAA,EAAG,eAAe,CAAC,CAAA;AAAA,KACnE,CAAA,CAAA,CAAA;AAGF,IAAA,MAAM,eAAe,MAAM;AACzB,MAAA,KAAA,CAAM,eAAe,KAAK,CAAA,CAAA;AAC1B,MAAA,KAAA,CAAM,QAAQ,CAAA,CAAA;AAAA,KAChB,CAAA;AACA,IAAA,MAAM,WAAW,MAAM;AACrB,MAAA,KAAA,CAAM,IAAI,CAAA,CAAA;AAAA,KACZ,CAAA;AACA,IAAA,MAAM,eAAe,YAAY;AAC/B,MAAA,MAAM,QAAS,EAAA,CAAA;AACf,MAAA,MAAM,MAAM,QAAS,CAAA,sBAAA,CAAuB,WAAY,CAAA,KAAK,EAAE,CAAC,CAAA,CAAA;AAChE,MAAA,MAAM,SAAY,GAAA,GAAA,CAAI,sBAAuB,CAAA,CAAA,cAAA,CAAgB,EAAE,CAAC,CAAA,CAAA;AAChE,MAAU,SAAA,CAAA,KAAA,GAAQ,SAAU,CAAA,YAAA,GAAe,SAAU,CAAA,YAAA,CAAA;AAAA,KACvD,CAAA;AAGA,IAAA,KAAA;AAAA,MACE,MAAM,KAAM,CAAA,IAAA;AAAA,MACZ,CAAO,GAAA,KAAA;AACL,QAAQ,OAAA,CAAA,GAAA,CAAI,EAAE,GAAA,EAAK,CAAA,CAAA;AACnB,QAAA,IAAI,GAAK,EAAA;AACP,UAAa,YAAA,EAAA,CAAA;AACb,UAAA,MAAA,CAAO,gBAAiB,CAAA,QAAA,EAAU,QAAS,CAAA,YAAA,EAAc,GAAI,CAAC,CAAA,CAAA;AAAA,SACzD,MAAA;AACL,UAAO,MAAA,CAAA,mBAAA,CAAoB,UAAU,YAAY,CAAA,CAAA;AAAA,SACnD;AAAA,OACF;AAAA,KACF,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -132,8 +132,8 @@ export declare const LlTable: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
132
132
|
}, {
|
|
133
133
|
props: import("@vue/shared").LooseRequired<{
|
|
134
134
|
readonly size?: import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown> | undefined;
|
|
135
|
-
readonly iconName?: string | undefined;
|
|
136
135
|
readonly color?: string | undefined;
|
|
136
|
+
readonly iconName?: string | undefined;
|
|
137
137
|
} & {}>;
|
|
138
138
|
iconName: import("vue").ComputedRef<string>;
|
|
139
139
|
style: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
@@ -49,8 +49,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
49
49
|
}, {
|
|
50
50
|
props: import("@vue/shared").LooseRequired<{
|
|
51
51
|
readonly size?: import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown> | undefined;
|
|
52
|
-
readonly iconName?: string | undefined;
|
|
53
52
|
readonly color?: string | undefined;
|
|
53
|
+
readonly iconName?: string | undefined;
|
|
54
54
|
} & {}>;
|
|
55
55
|
iconName: import("vue").ComputedRef<string>;
|
|
56
56
|
style: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
@@ -132,8 +132,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
132
132
|
}, {
|
|
133
133
|
props: import("@vue/shared").LooseRequired<{
|
|
134
134
|
readonly size?: import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown> | undefined;
|
|
135
|
-
readonly iconName?: string | undefined;
|
|
136
135
|
readonly color?: string | undefined;
|
|
136
|
+
readonly iconName?: string | undefined;
|
|
137
137
|
} & {}>;
|
|
138
138
|
iconName: import("vue").ComputedRef<string>;
|
|
139
139
|
style: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
@@ -5,8 +5,8 @@ export declare const LlTooltip: import("ll-plus/es/utils").SFCWithInstall<import
|
|
|
5
5
|
readonly maxWidth: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown, "", boolean>;
|
|
6
6
|
}, {
|
|
7
7
|
props: import("@vue/shared").LooseRequired<{
|
|
8
|
-
readonly tip: string;
|
|
9
8
|
readonly placement: import("ll-plus/es/utils").EpPropMergeType<StringConstructor, "left" | "right" | "top" | "bottom" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom", unknown>;
|
|
9
|
+
readonly tip: string;
|
|
10
10
|
readonly maxWidth: import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>;
|
|
11
11
|
} & {}>;
|
|
12
12
|
attrs: {
|
|
@@ -28,8 +28,8 @@ export declare const LlTooltip: import("ll-plus/es/utils").SFCWithInstall<import
|
|
|
28
28
|
readonly placement: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right" | "top" | "bottom" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom", unknown, "top", boolean>;
|
|
29
29
|
readonly maxWidth: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown, "", boolean>;
|
|
30
30
|
}>>, {
|
|
31
|
-
readonly tip: string;
|
|
32
31
|
readonly placement: import("ll-plus/es/utils").EpPropMergeType<StringConstructor, "left" | "right" | "top" | "bottom" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom", unknown>;
|
|
32
|
+
readonly tip: string;
|
|
33
33
|
readonly maxWidth: import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>;
|
|
34
34
|
}, {}>>;
|
|
35
35
|
export default LlTooltip;
|
|
@@ -4,8 +4,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
4
4
|
readonly maxWidth: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown, "", boolean>;
|
|
5
5
|
}, {
|
|
6
6
|
props: import("@vue/shared").LooseRequired<{
|
|
7
|
-
readonly tip: string;
|
|
8
7
|
readonly placement: import("ll-plus/es/utils").EpPropMergeType<StringConstructor, "left" | "right" | "top" | "bottom" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom", unknown>;
|
|
8
|
+
readonly tip: string;
|
|
9
9
|
readonly maxWidth: import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>;
|
|
10
10
|
} & {}>;
|
|
11
11
|
attrs: {
|
|
@@ -27,8 +27,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
27
27
|
readonly placement: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right" | "top" | "bottom" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom", unknown, "top", boolean>;
|
|
28
28
|
readonly maxWidth: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown, "", boolean>;
|
|
29
29
|
}>>, {
|
|
30
|
-
readonly tip: string;
|
|
31
30
|
readonly placement: import("ll-plus/es/utils").EpPropMergeType<StringConstructor, "left" | "right" | "top" | "bottom" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom", unknown>;
|
|
31
|
+
readonly tip: string;
|
|
32
32
|
readonly maxWidth: import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>;
|
|
33
33
|
}, {}>;
|
|
34
34
|
export default _default;
|