ll-plus 2.0.20 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/component.mjs +4 -0
- package/es/component.mjs.map +1 -1
- package/es/components/advanced-filtering/index.d.ts +59 -0
- package/es/components/advanced-filtering/src/advanced-filtering.vue.d.ts +58 -0
- package/es/components/advanced-filtering/src/components/advanced-filtering-params.vue.d.ts +1 -0
- package/es/components/button/index.d.ts +57 -0
- package/es/components/button/src/button.vue.d.ts +61 -4
- package/es/components/button/src/button.vue2.mjs +6 -5
- package/es/components/button/src/button.vue2.mjs.map +1 -1
- package/es/components/drawer/index.d.ts +0 -4
- package/es/components/drawer/src/components/second-confirmation/index.d.ts +57 -0
- package/es/components/drawer/src/components/second-confirmation/src/second-confirmation.vue.d.ts +57 -0
- package/es/components/drawer/src/drawer.d.ts +0 -1
- package/es/components/drawer/src/drawer.mjs +1 -5
- package/es/components/drawer/src/drawer.mjs.map +1 -1
- package/es/components/drawer/src/drawer.vue.d.ts +0 -4
- package/es/components/drawer/src/drawer.vue2.mjs +1 -2
- package/es/components/drawer/src/drawer.vue2.mjs.map +1 -1
- package/es/components/form/index.d.ts +2 -1
- package/es/components/form/index.mjs +3 -1
- package/es/components/form/index.mjs.map +1 -1
- package/es/components/form/src/config/components.d.ts +1 -0
- package/es/components/form/src/config/components.mjs +5 -0
- package/es/components/form/src/config/components.mjs.map +1 -0
- package/es/components/form/src/{form.d.ts → config/form.d.ts} +15 -7
- package/es/components/form/src/{form.mjs → config/form.mjs} +2 -2
- package/es/components/form/src/config/form.mjs.map +1 -0
- package/es/components/form/src/config/index.d.ts +2 -0
- package/es/components/form/src/config/index.mjs +5 -0
- package/es/components/form/src/config/index.mjs.map +1 -0
- package/es/components/form/src/form.vue.d.ts +2 -1
- package/es/components/form/src/form.vue2.mjs +11 -2
- package/es/components/form/src/form.vue2.mjs.map +1 -1
- package/es/components/index.d.ts +1 -0
- package/es/components/index.mjs +3 -1
- package/es/components/index.mjs.map +1 -1
- package/es/components/modal/index.d.ts +57 -0
- package/es/components/modal/src/modal.vue.d.ts +57 -0
- package/es/components/radio/index.d.ts +637 -0
- package/es/components/radio/index.mjs +14 -0
- package/es/components/radio/index.mjs.map +1 -0
- package/es/components/radio/src/radio-button.vue.d.ts +118 -0
- package/es/components/radio/src/radio-button.vue.mjs +8 -0
- package/es/components/radio/src/radio-button.vue.mjs.map +1 -0
- package/es/components/radio/src/radio-button.vue2.mjs +34 -0
- package/es/components/radio/src/radio-button.vue2.mjs.map +1 -0
- package/es/components/radio/src/radio-group.vue.d.ts +91 -0
- package/es/components/radio/src/radio-group.vue.mjs +8 -0
- package/es/components/radio/src/radio-group.vue.mjs.map +1 -0
- package/es/components/radio/src/radio-group.vue2.mjs +34 -0
- package/es/components/radio/src/radio-group.vue2.mjs.map +1 -0
- package/es/components/radio/src/radio.d.ts +10 -0
- package/es/components/radio/src/radio.mjs +2 -0
- package/es/components/radio/src/radio.mjs.map +1 -0
- package/es/components/radio/src/radio.vue.d.ts +420 -0
- package/es/components/radio/src/radio.vue.mjs +8 -0
- package/es/components/radio/src/radio.vue.mjs.map +1 -0
- package/es/components/radio/src/radio.vue2.mjs +34 -0
- package/es/components/radio/src/radio.vue2.mjs.map +1 -0
- package/es/components/tree-search/index.d.ts +0 -3
- package/es/components/tree-search/src/config/tree-search.d.ts +0 -1
- package/es/components/tree-search/src/tree-search.vue.d.ts +0 -3
- package/es/index.mjs +3 -1
- package/es/index.mjs.map +1 -1
- package/index.full.js +157 -59
- package/index.full.min.js +18 -18
- package/index.full.min.js.map +1 -1
- package/index.full.min.mjs +16 -16
- package/index.full.min.mjs.map +1 -1
- package/index.full.mjs +155 -61
- package/lib/component.js +40 -36
- package/lib/component.js.map +1 -1
- package/lib/components/advanced-filtering/index.d.ts +59 -0
- package/lib/components/advanced-filtering/src/advanced-filtering.vue.d.ts +58 -0
- package/lib/components/advanced-filtering/src/components/advanced-filtering-params.vue.d.ts +1 -0
- package/lib/components/button/index.d.ts +57 -0
- package/lib/components/button/src/button.vue.d.ts +61 -4
- package/lib/components/button/src/button.vue2.js +5 -4
- package/lib/components/button/src/button.vue2.js.map +1 -1
- package/lib/components/drawer/index.d.ts +0 -4
- package/lib/components/drawer/src/components/second-confirmation/index.d.ts +57 -0
- package/lib/components/drawer/src/components/second-confirmation/src/second-confirmation.vue.d.ts +57 -0
- package/lib/components/drawer/src/drawer.d.ts +0 -1
- package/lib/components/drawer/src/drawer.js +1 -5
- package/lib/components/drawer/src/drawer.js.map +1 -1
- package/lib/components/drawer/src/drawer.vue.d.ts +0 -4
- package/lib/components/drawer/src/drawer.vue2.js +1 -2
- package/lib/components/drawer/src/drawer.vue2.js.map +1 -1
- package/lib/components/form/index.d.ts +2 -1
- package/lib/components/form/index.js +4 -1
- package/lib/components/form/index.js.map +1 -1
- package/lib/components/form/src/config/components.d.ts +1 -0
- package/lib/components/form/src/config/components.js +7 -0
- package/lib/components/form/src/config/components.js.map +1 -0
- package/{types/packages/components/form/src → lib/components/form/src/config}/form.d.ts +15 -7
- package/lib/components/form/src/{form.js → config/form.js} +2 -2
- package/lib/components/form/src/config/form.js.map +1 -0
- package/lib/components/form/src/config/index.d.ts +2 -0
- package/lib/components/form/src/config/index.js +10 -0
- package/lib/components/form/src/config/index.js.map +1 -0
- package/lib/components/form/src/form.vue.d.ts +2 -1
- package/lib/components/form/src/form.vue2.js +11 -2
- package/lib/components/form/src/form.vue2.js.map +1 -1
- package/lib/components/index.d.ts +1 -0
- package/lib/components/index.js +42 -36
- package/lib/components/index.js.map +1 -1
- package/lib/components/modal/index.d.ts +57 -0
- package/lib/components/modal/src/modal.vue.d.ts +57 -0
- package/lib/components/radio/index.d.ts +637 -0
- package/lib/components/radio/index.js +18 -0
- package/lib/components/radio/index.js.map +1 -0
- package/lib/components/radio/src/radio-button.vue.d.ts +118 -0
- package/lib/components/radio/src/radio-button.vue.js +12 -0
- package/lib/components/radio/src/radio-button.vue.js.map +1 -0
- package/lib/components/radio/src/radio-button.vue2.js +38 -0
- package/lib/components/radio/src/radio-button.vue2.js.map +1 -0
- package/lib/components/radio/src/radio-group.vue.d.ts +91 -0
- package/lib/components/radio/src/radio-group.vue.js +12 -0
- package/lib/components/radio/src/radio-group.vue.js.map +1 -0
- package/lib/components/radio/src/radio-group.vue2.js +38 -0
- package/lib/components/radio/src/radio-group.vue2.js.map +1 -0
- package/lib/components/radio/src/radio.d.ts +10 -0
- package/lib/components/radio/src/radio.js +4 -0
- package/lib/components/radio/src/radio.js.map +1 -0
- package/lib/components/radio/src/radio.vue.d.ts +420 -0
- package/lib/components/radio/src/radio.vue.js +12 -0
- package/lib/components/radio/src/radio.vue.js.map +1 -0
- package/lib/components/radio/src/radio.vue2.js +38 -0
- package/lib/components/radio/src/radio.vue2.js.map +1 -0
- package/lib/components/tree-search/index.d.ts +0 -3
- package/lib/components/tree-search/src/config/tree-search.d.ts +0 -1
- package/lib/components/tree-search/src/tree-search.vue.d.ts +0 -3
- package/lib/index.js +42 -36
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
- package/types/packages/components/advanced-filtering/index.d.ts +59 -0
- package/types/packages/components/advanced-filtering/src/advanced-filtering.vue.d.ts +58 -0
- package/types/packages/components/advanced-filtering/src/components/advanced-filtering-params.vue.d.ts +1 -0
- package/types/packages/components/button/index.d.ts +57 -0
- package/types/packages/components/button/src/button.vue.d.ts +61 -4
- package/types/packages/components/drawer/index.d.ts +0 -4
- package/types/packages/components/drawer/src/components/second-confirmation/index.d.ts +57 -0
- package/types/packages/components/drawer/src/components/second-confirmation/src/second-confirmation.vue.d.ts +57 -0
- package/types/packages/components/drawer/src/drawer.d.ts +0 -1
- package/types/packages/components/drawer/src/drawer.vue.d.ts +0 -4
- package/types/packages/components/form/index.d.ts +2 -1
- package/types/packages/components/form/src/config/components.d.ts +1 -0
- package/{lib/components/form/src → types/packages/components/form/src/config}/form.d.ts +15 -7
- package/types/packages/components/form/src/config/index.d.ts +2 -0
- package/types/packages/components/form/src/form.vue.d.ts +2 -1
- package/types/packages/components/index.d.ts +1 -0
- package/types/packages/components/modal/index.d.ts +57 -0
- package/types/packages/components/modal/src/modal.vue.d.ts +57 -0
- package/types/packages/components/radio/index.d.ts +637 -0
- package/types/packages/components/radio/src/radio-button.vue.d.ts +118 -0
- package/types/packages/components/radio/src/radio-group.vue.d.ts +91 -0
- package/types/packages/components/radio/src/radio.d.ts +10 -0
- package/types/packages/components/radio/src/radio.vue.d.ts +420 -0
- package/types/packages/components/tree-search/index.d.ts +0 -3
- package/types/packages/components/tree-search/src/config/tree-search.d.ts +0 -1
- package/types/packages/components/tree-search/src/tree-search.vue.d.ts +0 -3
- package/es/components/form/src/form.mjs.map +0 -1
- package/lib/components/form/src/form.js.map +0 -1
package/es/component.mjs
CHANGED
|
@@ -19,6 +19,7 @@ import { LlInput } from './components/input/index.mjs';
|
|
|
19
19
|
import { LlInputNumber } from './components/input-number/index.mjs';
|
|
20
20
|
import { LlModal } from './components/modal/index.mjs';
|
|
21
21
|
import { LlOperateIcon } from './components/operate-icon/index.mjs';
|
|
22
|
+
import { LlRadio, LlRadioButton, LlRadioGroup } from './components/radio/index.mjs';
|
|
22
23
|
import { LlSecondConfirmation } from './components/drawer/src/components/second-confirmation/index.mjs';
|
|
23
24
|
import { LlSegmented } from './components/segmented/index.mjs';
|
|
24
25
|
import { LlSelect, LlSelectOption, LlSelectOptGroup } from './components/select/index.mjs';
|
|
@@ -62,6 +63,9 @@ var Components = [
|
|
|
62
63
|
LlInputNumber,
|
|
63
64
|
LlModal,
|
|
64
65
|
LlOperateIcon,
|
|
66
|
+
LlRadio,
|
|
67
|
+
LlRadioButton,
|
|
68
|
+
LlRadioGroup,
|
|
65
69
|
LlSecondConfirmation,
|
|
66
70
|
LlSegmented,
|
|
67
71
|
LlSelect,
|
package/es/component.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.mjs","sources":["../../packages/ll-plus/component.ts"],"sourcesContent":["import type { Plugin } from 'vue'\n\nimport {\n LlAdvancedFiltering,\n LlAdvancedFilteringParams,\n LlAdvancedFilteringTags,\n LlAvatar,\n LlButton,\n LlCascader,\n LlCheckbox,\n LlCheckboxGroup,\n LlConfigProvider,\n LlDatePicker,\n LlDateRange,\n LlDescriptions,\n LlDescriptionsItem,\n LlDrawer,\n LlEmpty,\n LlForm,\n LlFormItem,\n LlIcon,\n LlIconBase,\n LlInput,\n LlInputNumber,\n LlModal,\n LlOperateIcon,\n LlSecondConfirmation,\n LlSegmented,\n LlSelect,\n LlSelectOption,\n LlSelectOptGroup,\n LlSelectGroup,\n LlSpace,\n LlSteps,\n LlSwitch,\n LlTable,\n LlTabsSimple,\n LlTextarea,\n LlTimePicker,\n LlTimeRange,\n LlTooltip,\n LlTreeSearch,\n LlTree,\n LlDropdown,\n LlUploadDrag\n} from '@ll-plus/components/index'\n\nexport default [\n LlAdvancedFiltering,\n LlAdvancedFilteringParams,\n LlAdvancedFilteringTags,\n LlAvatar,\n LlButton,\n LlCascader,\n LlCheckbox,\n LlCheckboxGroup,\n LlConfigProvider,\n LlDatePicker,\n LlDateRange,\n LlDescriptions,\n LlDescriptionsItem,\n LlDrawer,\n LlEmpty,\n LlForm,\n LlFormItem,\n LlIcon,\n LlIconBase,\n LlInput,\n LlInputNumber,\n LlModal,\n LlOperateIcon,\n LlSecondConfirmation,\n LlSegmented,\n LlSelect,\n LlSelectOption,\n LlSelectOptGroup,\n LlSelectGroup,\n LlSpace,\n LlSteps,\n LlSwitch,\n LlTable,\n LlTabsSimple,\n LlTextarea,\n LlTimePicker,\n LlTimeRange,\n LlTooltip,\n LlTreeSearch,\n LlTree,\n LlDropdown,\n LlUploadDrag\n] as Plugin[]\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"component.mjs","sources":["../../packages/ll-plus/component.ts"],"sourcesContent":["import type { Plugin } from 'vue'\n\nimport {\n LlAdvancedFiltering,\n LlAdvancedFilteringParams,\n LlAdvancedFilteringTags,\n LlAvatar,\n LlButton,\n LlCascader,\n LlCheckbox,\n LlCheckboxGroup,\n LlConfigProvider,\n LlDatePicker,\n LlDateRange,\n LlDescriptions,\n LlDescriptionsItem,\n LlDrawer,\n LlEmpty,\n LlForm,\n LlFormItem,\n LlIcon,\n LlIconBase,\n LlInput,\n LlInputNumber,\n LlModal,\n LlOperateIcon,\n LlRadio,\n LlRadioButton,\n LlRadioGroup,\n LlSecondConfirmation,\n LlSegmented,\n LlSelect,\n LlSelectOption,\n LlSelectOptGroup,\n LlSelectGroup,\n LlSpace,\n LlSteps,\n LlSwitch,\n LlTable,\n LlTabsSimple,\n LlTextarea,\n LlTimePicker,\n LlTimeRange,\n LlTooltip,\n LlTreeSearch,\n LlTree,\n LlDropdown,\n LlUploadDrag\n} from '@ll-plus/components/index'\n\nexport default [\n LlAdvancedFiltering,\n LlAdvancedFilteringParams,\n LlAdvancedFilteringTags,\n LlAvatar,\n LlButton,\n LlCascader,\n LlCheckbox,\n LlCheckboxGroup,\n LlConfigProvider,\n LlDatePicker,\n LlDateRange,\n LlDescriptions,\n LlDescriptionsItem,\n LlDrawer,\n LlEmpty,\n LlForm,\n LlFormItem,\n LlIcon,\n LlIconBase,\n LlInput,\n LlInputNumber,\n LlModal,\n LlOperateIcon,\n LlRadio,\n LlRadioButton,\n LlRadioGroup,\n LlSecondConfirmation,\n LlSegmented,\n LlSelect,\n LlSelectOption,\n LlSelectOptGroup,\n LlSelectGroup,\n LlSpace,\n LlSteps,\n LlSwitch,\n LlTable,\n LlTabsSimple,\n LlTextarea,\n LlTimePicker,\n LlTimeRange,\n LlTooltip,\n LlTreeSearch,\n LlTree,\n LlDropdown,\n LlUploadDrag\n] as Plugin[]\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkDA,iBAAe;AAAA,EACb,mBAAA;AAAA,EACA,yBAAA;AAAA,EACA,uBAAA;AAAA,EACA,QAAA;AAAA,EACA,QAAA;AAAA,EACA,UAAA;AAAA,EACA,UAAA;AAAA,EACA,eAAA;AAAA,EACA,gBAAA;AAAA,EACA,YAAA;AAAA,EACA,WAAA;AAAA,EACA,cAAA;AAAA,EACA,kBAAA;AAAA,EACA,QAAA;AAAA,EACA,OAAA;AAAA,EACA,MAAA;AAAA,EACA,UAAA;AAAA,EACA,MAAA;AAAA,EACA,UAAA;AAAA,EACA,OAAA;AAAA,EACA,aAAA;AAAA,EACA,OAAA;AAAA,EACA,aAAA;AAAA,EACA,OAAA;AAAA,EACA,aAAA;AAAA,EACA,YAAA;AAAA,EACA,oBAAA;AAAA,EACA,WAAA;AAAA,EACA,QAAA;AAAA,EACA,cAAA;AAAA,EACA,gBAAA;AAAA,EACA,aAAA;AAAA,EACA,OAAA;AAAA,EACA,OAAA;AAAA,EACA,QAAA;AAAA,EACA,OAAA;AAAA,EACA,YAAA;AAAA,EACA,UAAA;AAAA,EACA,YAAA;AAAA,EACA,WAAA;AAAA,EACA,SAAA;AAAA,EACA,YAAA;AAAA,EACA,MAAA;AAAA,EACA,UAAA;AAAA,EACA,YAAA;AACF,CAAA;;;;"}
|
|
@@ -1451,6 +1451,63 @@ export declare const LlAdvancedFiltering: import("ll-plus/es/utils").SFCWithInst
|
|
|
1451
1451
|
};
|
|
1452
1452
|
}>>, {}, {}>;
|
|
1453
1453
|
};
|
|
1454
|
+
readonly LlIcon: import("ll-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
1455
|
+
readonly iconName: {
|
|
1456
|
+
readonly type: import("vue").PropType<string>;
|
|
1457
|
+
readonly required: false;
|
|
1458
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1459
|
+
__epPropKey: true;
|
|
1460
|
+
};
|
|
1461
|
+
readonly color: {
|
|
1462
|
+
readonly type: import("vue").PropType<string>;
|
|
1463
|
+
readonly required: false;
|
|
1464
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1465
|
+
__epPropKey: true;
|
|
1466
|
+
};
|
|
1467
|
+
readonly size: {
|
|
1468
|
+
readonly type: import("vue").PropType<import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>>;
|
|
1469
|
+
readonly required: false;
|
|
1470
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1471
|
+
__epPropKey: true;
|
|
1472
|
+
};
|
|
1473
|
+
}, {
|
|
1474
|
+
props: import("@vue/shared").LooseRequired<{
|
|
1475
|
+
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;
|
|
1476
|
+
readonly color?: string | undefined;
|
|
1477
|
+
readonly iconName?: string | undefined;
|
|
1478
|
+
} & {}>;
|
|
1479
|
+
iconName: import("vue").ComputedRef<string>;
|
|
1480
|
+
style: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
1481
|
+
bem: {
|
|
1482
|
+
b: (blockSuffix?: string) => string;
|
|
1483
|
+
e: (element?: string) => string;
|
|
1484
|
+
m: (modifier?: string) => string;
|
|
1485
|
+
be: (blockSuffix?: string, element?: string) => string;
|
|
1486
|
+
em: (element: string, modifier: string) => string;
|
|
1487
|
+
bm: (blockSuffix: string, modifier: string) => string;
|
|
1488
|
+
bem: (blockSuffix: string, element: string, modifier: string) => string;
|
|
1489
|
+
is: (name?: string) => string;
|
|
1490
|
+
};
|
|
1491
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1492
|
+
readonly iconName: {
|
|
1493
|
+
readonly type: import("vue").PropType<string>;
|
|
1494
|
+
readonly required: false;
|
|
1495
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1496
|
+
__epPropKey: true;
|
|
1497
|
+
};
|
|
1498
|
+
readonly color: {
|
|
1499
|
+
readonly type: import("vue").PropType<string>;
|
|
1500
|
+
readonly required: false;
|
|
1501
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1502
|
+
__epPropKey: true;
|
|
1503
|
+
};
|
|
1504
|
+
readonly size: {
|
|
1505
|
+
readonly type: import("vue").PropType<import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>>;
|
|
1506
|
+
readonly required: false;
|
|
1507
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1508
|
+
__epPropKey: true;
|
|
1509
|
+
};
|
|
1510
|
+
}>>, {}, {}>>;
|
|
1454
1511
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1455
1512
|
readonly label: {
|
|
1456
1513
|
readonly type: import("vue").PropType<string>;
|
|
@@ -4068,6 +4125,7 @@ export declare const LlAdvancedFiltering: import("ll-plus/es/utils").SFCWithInst
|
|
|
4068
4125
|
resetFields: () => Promise<any>;
|
|
4069
4126
|
getBindValue: (item: any) => import("lodash").Omit<any, "label">;
|
|
4070
4127
|
getFormItemClass: (item?: any) => string;
|
|
4128
|
+
readonly checkedType: string[];
|
|
4071
4129
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
4072
4130
|
readonly formColumns: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => any[]) | (() => any[]) | ((new (...args: any[]) => any[]) | (() => any[]))[], unknown, unknown, () => never[], boolean>;
|
|
4073
4131
|
readonly formOptions: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => Partial<import("vue").ExtractPropTypes<{
|
|
@@ -12539,6 +12597,7 @@ export declare const LlAdvancedFilteringParams: import("ll-plus/es/utils").SFCWi
|
|
|
12539
12597
|
resetFields: () => Promise<any>;
|
|
12540
12598
|
getBindValue: (item: any) => import("lodash").Omit<any, "label">;
|
|
12541
12599
|
getFormItemClass: (item?: any) => string;
|
|
12600
|
+
readonly checkedType: string[];
|
|
12542
12601
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
12543
12602
|
readonly formColumns: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => any[]) | (() => any[]) | ((new (...args: any[]) => any[]) | (() => any[]))[], unknown, unknown, () => never[], boolean>;
|
|
12544
12603
|
readonly formOptions: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => Partial<import("vue").ExtractPropTypes<{
|
|
@@ -1448,6 +1448,63 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1448
1448
|
};
|
|
1449
1449
|
}>>, {}, {}>;
|
|
1450
1450
|
};
|
|
1451
|
+
readonly LlIcon: import("ll-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
1452
|
+
readonly iconName: {
|
|
1453
|
+
readonly type: import("vue").PropType<string>;
|
|
1454
|
+
readonly required: false;
|
|
1455
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1456
|
+
__epPropKey: true;
|
|
1457
|
+
};
|
|
1458
|
+
readonly color: {
|
|
1459
|
+
readonly type: import("vue").PropType<string>;
|
|
1460
|
+
readonly required: false;
|
|
1461
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1462
|
+
__epPropKey: true;
|
|
1463
|
+
};
|
|
1464
|
+
readonly size: {
|
|
1465
|
+
readonly type: import("vue").PropType<import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>>;
|
|
1466
|
+
readonly required: false;
|
|
1467
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1468
|
+
__epPropKey: true;
|
|
1469
|
+
};
|
|
1470
|
+
}, {
|
|
1471
|
+
props: import("@vue/shared").LooseRequired<{
|
|
1472
|
+
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;
|
|
1473
|
+
readonly color?: string | undefined;
|
|
1474
|
+
readonly iconName?: string | undefined;
|
|
1475
|
+
} & {}>;
|
|
1476
|
+
iconName: import("vue").ComputedRef<string>;
|
|
1477
|
+
style: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
1478
|
+
bem: {
|
|
1479
|
+
b: (blockSuffix?: string) => string;
|
|
1480
|
+
e: (element?: string) => string;
|
|
1481
|
+
m: (modifier?: string) => string;
|
|
1482
|
+
be: (blockSuffix?: string, element?: string) => string;
|
|
1483
|
+
em: (element: string, modifier: string) => string;
|
|
1484
|
+
bm: (blockSuffix: string, modifier: string) => string;
|
|
1485
|
+
bem: (blockSuffix: string, element: string, modifier: string) => string;
|
|
1486
|
+
is: (name?: string) => string;
|
|
1487
|
+
};
|
|
1488
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1489
|
+
readonly iconName: {
|
|
1490
|
+
readonly type: import("vue").PropType<string>;
|
|
1491
|
+
readonly required: false;
|
|
1492
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1493
|
+
__epPropKey: true;
|
|
1494
|
+
};
|
|
1495
|
+
readonly color: {
|
|
1496
|
+
readonly type: import("vue").PropType<string>;
|
|
1497
|
+
readonly required: false;
|
|
1498
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1499
|
+
__epPropKey: true;
|
|
1500
|
+
};
|
|
1501
|
+
readonly size: {
|
|
1502
|
+
readonly type: import("vue").PropType<import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>>;
|
|
1503
|
+
readonly required: false;
|
|
1504
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1505
|
+
__epPropKey: true;
|
|
1506
|
+
};
|
|
1507
|
+
}>>, {}, {}>>;
|
|
1451
1508
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1452
1509
|
readonly label: {
|
|
1453
1510
|
readonly type: import("vue").PropType<string>;
|
|
@@ -4065,6 +4122,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
4065
4122
|
resetFields: () => Promise<any>;
|
|
4066
4123
|
getBindValue: (item: any) => import("lodash").Omit<any, "label">;
|
|
4067
4124
|
getFormItemClass: (item?: any) => string;
|
|
4125
|
+
readonly checkedType: string[];
|
|
4068
4126
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
4069
4127
|
readonly formColumns: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => any[]) | (() => any[]) | ((new (...args: any[]) => any[]) | (() => any[]))[], unknown, unknown, () => never[], boolean>;
|
|
4070
4128
|
readonly formOptions: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => Partial<import("vue").ExtractPropTypes<{
|
|
@@ -2534,6 +2534,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2534
2534
|
resetFields: () => Promise<any>;
|
|
2535
2535
|
getBindValue: (item: any) => import("lodash").Omit<any, "label">;
|
|
2536
2536
|
getFormItemClass: (item?: any) => string;
|
|
2537
|
+
readonly checkedType: string[];
|
|
2537
2538
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
2538
2539
|
readonly formColumns: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => any[]) | (() => any[]) | ((new (...args: any[]) => any[]) | (() => any[]))[], unknown, unknown, () => never[], boolean>;
|
|
2539
2540
|
readonly formOptions: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => Partial<import("vue").ExtractPropTypes<{
|
|
@@ -298,6 +298,63 @@ export declare const LlButton: import("ll-plus/es/utils").SFCWithInstall<import(
|
|
|
298
298
|
};
|
|
299
299
|
}>>, {}, {}>;
|
|
300
300
|
};
|
|
301
|
+
readonly LlIcon: import("ll-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
302
|
+
readonly iconName: {
|
|
303
|
+
readonly type: import("vue").PropType<string>;
|
|
304
|
+
readonly required: false;
|
|
305
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
306
|
+
__epPropKey: true;
|
|
307
|
+
};
|
|
308
|
+
readonly color: {
|
|
309
|
+
readonly type: import("vue").PropType<string>;
|
|
310
|
+
readonly required: false;
|
|
311
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
312
|
+
__epPropKey: true;
|
|
313
|
+
};
|
|
314
|
+
readonly size: {
|
|
315
|
+
readonly type: import("vue").PropType<import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>>;
|
|
316
|
+
readonly required: false;
|
|
317
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
318
|
+
__epPropKey: true;
|
|
319
|
+
};
|
|
320
|
+
}, {
|
|
321
|
+
props: import("@vue/shared").LooseRequired<{
|
|
322
|
+
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;
|
|
323
|
+
readonly color?: string | undefined;
|
|
324
|
+
readonly iconName?: string | undefined;
|
|
325
|
+
} & {}>;
|
|
326
|
+
iconName: import("vue").ComputedRef<string>;
|
|
327
|
+
style: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
328
|
+
bem: {
|
|
329
|
+
b: (blockSuffix?: string) => string;
|
|
330
|
+
e: (element?: string) => string;
|
|
331
|
+
m: (modifier?: string) => string;
|
|
332
|
+
be: (blockSuffix?: string, element?: string) => string;
|
|
333
|
+
em: (element: string, modifier: string) => string;
|
|
334
|
+
bm: (blockSuffix: string, modifier: string) => string;
|
|
335
|
+
bem: (blockSuffix: string, element: string, modifier: string) => string;
|
|
336
|
+
is: (name?: string) => string;
|
|
337
|
+
};
|
|
338
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
339
|
+
readonly iconName: {
|
|
340
|
+
readonly type: import("vue").PropType<string>;
|
|
341
|
+
readonly required: false;
|
|
342
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
343
|
+
__epPropKey: true;
|
|
344
|
+
};
|
|
345
|
+
readonly color: {
|
|
346
|
+
readonly type: import("vue").PropType<string>;
|
|
347
|
+
readonly required: false;
|
|
348
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
349
|
+
__epPropKey: true;
|
|
350
|
+
};
|
|
351
|
+
readonly size: {
|
|
352
|
+
readonly type: import("vue").PropType<import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>>;
|
|
353
|
+
readonly required: false;
|
|
354
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
355
|
+
__epPropKey: true;
|
|
356
|
+
};
|
|
357
|
+
}>>, {}, {}>>;
|
|
301
358
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
302
359
|
readonly label: {
|
|
303
360
|
readonly type: import("vue").PropType<string>;
|
|
@@ -7,7 +7,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
7
7
|
};
|
|
8
8
|
readonly icon: {
|
|
9
9
|
readonly type: import("vue").PropType<{
|
|
10
|
-
readonly size?: import("ll-plus/es/
|
|
10
|
+
readonly size?: import("ll-plus/es/components").AvatarType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown> | undefined;
|
|
11
11
|
readonly color?: string | undefined;
|
|
12
12
|
readonly iconName?: string | undefined;
|
|
13
13
|
}>;
|
|
@@ -25,7 +25,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
25
25
|
props: import("@vue/shared").LooseRequired<{
|
|
26
26
|
readonly label?: string | undefined;
|
|
27
27
|
readonly icon?: {
|
|
28
|
-
readonly size?: import("ll-plus/es/
|
|
28
|
+
readonly size?: import("ll-plus/es/components").AvatarType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown> | undefined;
|
|
29
29
|
readonly color?: string | undefined;
|
|
30
30
|
readonly iconName?: string | undefined;
|
|
31
31
|
} | undefined;
|
|
@@ -45,7 +45,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
45
45
|
[x: string]: unknown;
|
|
46
46
|
};
|
|
47
47
|
iconDetails: import("vue").ComputedRef<{
|
|
48
|
-
readonly size?: import("ll-plus/es/
|
|
48
|
+
readonly size?: import("ll-plus/es/components").AvatarType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown> | undefined;
|
|
49
49
|
readonly color?: string | undefined;
|
|
50
50
|
readonly iconName?: string | undefined;
|
|
51
51
|
}>;
|
|
@@ -297,6 +297,63 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
297
297
|
};
|
|
298
298
|
}>>, {}, {}>;
|
|
299
299
|
};
|
|
300
|
+
readonly LlIcon: import("ll-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
301
|
+
readonly iconName: {
|
|
302
|
+
readonly type: import("vue").PropType<string>;
|
|
303
|
+
readonly required: false;
|
|
304
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
305
|
+
__epPropKey: true;
|
|
306
|
+
};
|
|
307
|
+
readonly color: {
|
|
308
|
+
readonly type: import("vue").PropType<string>;
|
|
309
|
+
readonly required: false;
|
|
310
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
311
|
+
__epPropKey: true;
|
|
312
|
+
};
|
|
313
|
+
readonly size: {
|
|
314
|
+
readonly type: import("vue").PropType<import("ll-plus/es/components").AvatarType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>>;
|
|
315
|
+
readonly required: false;
|
|
316
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
317
|
+
__epPropKey: true;
|
|
318
|
+
};
|
|
319
|
+
}, {
|
|
320
|
+
props: import("@vue/shared").LooseRequired<{
|
|
321
|
+
readonly size?: import("ll-plus/es/components").AvatarType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown> | undefined;
|
|
322
|
+
readonly color?: string | undefined;
|
|
323
|
+
readonly iconName?: string | undefined;
|
|
324
|
+
} & {}>;
|
|
325
|
+
iconName: import("vue").ComputedRef<string>;
|
|
326
|
+
style: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
327
|
+
bem: {
|
|
328
|
+
b: (blockSuffix?: string) => string;
|
|
329
|
+
e: (element?: string) => string;
|
|
330
|
+
m: (modifier?: string) => string;
|
|
331
|
+
be: (blockSuffix?: string, element?: string) => string;
|
|
332
|
+
em: (element: string, modifier: string) => string;
|
|
333
|
+
bm: (blockSuffix: string, modifier: string) => string;
|
|
334
|
+
bem: (blockSuffix: string, element: string, modifier: string) => string;
|
|
335
|
+
is: (name?: string) => string;
|
|
336
|
+
};
|
|
337
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
338
|
+
readonly iconName: {
|
|
339
|
+
readonly type: import("vue").PropType<string>;
|
|
340
|
+
readonly required: false;
|
|
341
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
342
|
+
__epPropKey: true;
|
|
343
|
+
};
|
|
344
|
+
readonly color: {
|
|
345
|
+
readonly type: import("vue").PropType<string>;
|
|
346
|
+
readonly required: false;
|
|
347
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
348
|
+
__epPropKey: true;
|
|
349
|
+
};
|
|
350
|
+
readonly size: {
|
|
351
|
+
readonly type: import("vue").PropType<import("ll-plus/es/components").AvatarType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>>;
|
|
352
|
+
readonly required: false;
|
|
353
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
354
|
+
__epPropKey: true;
|
|
355
|
+
};
|
|
356
|
+
}>>, {}, {}>>;
|
|
300
357
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
301
358
|
readonly label: {
|
|
302
359
|
readonly type: import("vue").PropType<string>;
|
|
@@ -306,7 +363,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
306
363
|
};
|
|
307
364
|
readonly icon: {
|
|
308
365
|
readonly type: import("vue").PropType<{
|
|
309
|
-
readonly size?: import("ll-plus/es/
|
|
366
|
+
readonly size?: import("ll-plus/es/components").AvatarType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown> | undefined;
|
|
310
367
|
readonly color?: string | undefined;
|
|
311
368
|
readonly iconName?: string | undefined;
|
|
312
369
|
}>;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import { defineComponent, useAttrs, computed,
|
|
2
|
-
import '../../../utils/index.mjs';
|
|
1
|
+
import { defineComponent, useAttrs, computed, openBlock, createBlock, unref, mergeProps, createSlots, withCtx, renderSlot, createElementBlock, toDisplayString, createCommentVNode, normalizeClass, createVNode } from 'vue';
|
|
3
2
|
import { Button } from 'ant-design-vue';
|
|
3
|
+
import '../../index.mjs';
|
|
4
|
+
import '../../../utils/index.mjs';
|
|
4
5
|
import { buttonProps } from './button.mjs';
|
|
5
6
|
import { createNamespace } from '../../../utils/create-namespace.mjs';
|
|
7
|
+
import { LlIcon } from '../../icon/index.mjs';
|
|
6
8
|
|
|
7
9
|
"use strict";
|
|
8
10
|
const _hoisted_1 = { key: 0 };
|
|
@@ -24,7 +26,6 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
24
26
|
return props.position === "right" && iconDetails.value.iconName;
|
|
25
27
|
});
|
|
26
28
|
return (_ctx, _cache) => {
|
|
27
|
-
const _component_ll_icon = resolveComponent("ll-icon");
|
|
28
29
|
return openBlock(), createBlock(unref(Button), mergeProps({
|
|
29
30
|
class: unref(bem).b()
|
|
30
31
|
}, unref(attrs)), createSlots({
|
|
@@ -38,7 +39,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
38
39
|
/* TEXT */
|
|
39
40
|
)) : createCommentVNode("v-if", true)
|
|
40
41
|
]),
|
|
41
|
-
hasIconOnRight.value ? (openBlock(), createBlock(
|
|
42
|
+
hasIconOnRight.value ? (openBlock(), createBlock(unref(LlIcon), {
|
|
42
43
|
key: 0,
|
|
43
44
|
class: normalizeClass(unref(bem).e("icon-right")),
|
|
44
45
|
"icon-name": iconDetails.value.iconName,
|
|
@@ -52,7 +53,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
52
53
|
hasIconOnLeft.value ? {
|
|
53
54
|
name: "icon",
|
|
54
55
|
fn: withCtx(() => [
|
|
55
|
-
createVNode(
|
|
56
|
+
createVNode(unref(LlIcon), {
|
|
56
57
|
class: normalizeClass(unref(bem).e("icon-left")),
|
|
57
58
|
"icon-name": iconDetails.value.iconName,
|
|
58
59
|
color: iconDetails.value.color,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.vue2.mjs","sources":["../../../../../packages/components/button/src/button.vue"],"sourcesContent":["<template>\n <Button :class=\"bem.b()\" v-bind=\"attrs\">\n <template v-if=\"hasIconOnLeft\" #icon>\n <ll-icon\n :class=\"bem.e('icon-left')\"\n :icon-name=\"iconDetails.iconName\"\n :color=\"iconDetails.color\"\n :size=\"iconDetails.size\"\n />\n </template>\n <slot>\n <template v-if=\"label\">\n <span>{{ label }}</span>\n </template>\n </slot>\n <template v-if=\"hasIconOnRight\">\n <ll-icon\n :class=\"bem.e('icon-right')\"\n :icon-name=\"iconDetails.iconName\"\n :color=\"iconDetails.color\"\n :size=\"iconDetails.size\"\n />\n </template>\n </Button>\n</template>\n\n<script setup lang=\"ts\">\nimport { computed, useAttrs } from 'vue'\n\nimport {
|
|
1
|
+
{"version":3,"file":"button.vue2.mjs","sources":["../../../../../packages/components/button/src/button.vue"],"sourcesContent":["<template>\n <Button :class=\"bem.b()\" v-bind=\"attrs\">\n <template v-if=\"hasIconOnLeft\" #icon>\n <ll-icon\n :class=\"bem.e('icon-left')\"\n :icon-name=\"iconDetails.iconName\"\n :color=\"iconDetails.color\"\n :size=\"iconDetails.size\"\n />\n </template>\n <slot>\n <template v-if=\"label\">\n <span>{{ label }}</span>\n </template>\n </slot>\n <template v-if=\"hasIconOnRight\">\n <ll-icon\n :class=\"bem.e('icon-right')\"\n :icon-name=\"iconDetails.iconName\"\n :color=\"iconDetails.color\"\n :size=\"iconDetails.size\"\n />\n </template>\n </Button>\n</template>\n\n<script setup lang=\"ts\">\nimport { computed, useAttrs } from 'vue'\n\nimport { Button } from 'ant-design-vue'\n\nimport { LlIcon } from '@ll-plus/components'\n\nimport { createNamespace } from '@ll-plus/utils'\n\nimport { buttonProps } from './button'\n\ndefineOptions({ name: 'LlButton' })\nconst props = defineProps(buttonProps)\nconst bem = createNamespace('button')\n\nconst attrs = useAttrs()\n\nconst iconDetails = computed(() => {\n return props.icon || { iconName: '', color: '' }\n})\n\nconst hasIconOnLeft = computed(() => {\n return (\n iconDetails.value.iconName && (!props.position || props.position === 'left')\n )\n})\n\nconst hasIconOnRight = computed(() => {\n return props.position === 'right' && iconDetails.value.iconName\n})\n</script>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;AAsCA,IAAA,MAAM,KAAQ,GAAA,OAAA,CAAA;AACd,IAAM,MAAA,GAAA,GAAM,gBAAgB,QAAQ,CAAA,CAAA;AAEpC,IAAA,MAAM,QAAQ,QAAS,EAAA,CAAA;AAEvB,IAAM,MAAA,WAAA,GAAc,SAAS,MAAM;AACjC,MAAA,OAAO,MAAM,IAAQ,IAAA,EAAE,QAAU,EAAA,EAAA,EAAI,OAAO,EAAG,EAAA,CAAA;AAAA,KAChD,CAAA,CAAA;AAED,IAAM,MAAA,aAAA,GAAgB,SAAS,MAAM;AACnC,MAAA,OACE,YAAY,KAAM,CAAA,QAAA,KAAa,CAAC,KAAM,CAAA,QAAA,IAAY,MAAM,QAAa,KAAA,MAAA,CAAA,CAAA;AAAA,KAExE,CAAA,CAAA;AAED,IAAM,MAAA,cAAA,GAAiB,SAAS,MAAM;AACpC,MAAA,OAAO,KAAM,CAAA,QAAA,KAAa,OAAW,IAAA,WAAA,CAAY,KAAM,CAAA,QAAA,CAAA;AAAA,KACxD,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -9,7 +9,6 @@ export declare const LlDrawer: import("ll-plus/es/utils").SFCWithInstall<import(
|
|
|
9
9
|
readonly showFooter: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
10
10
|
readonly useClose: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
11
11
|
readonly cancelConfirm: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
12
|
-
readonly useCancelConfirm: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
13
12
|
readonly cancelConfirmOptions: import("ll-plus/es/utils").EpPropFinalized<ObjectConstructor, unknown, unknown, null, boolean>;
|
|
14
13
|
}, {
|
|
15
14
|
props: import("@vue/shared").LooseRequired<{
|
|
@@ -22,7 +21,6 @@ export declare const LlDrawer: import("ll-plus/es/utils").SFCWithInstall<import(
|
|
|
22
21
|
readonly showCancel: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
23
22
|
readonly useClose: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
24
23
|
readonly cancelConfirm: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
25
|
-
readonly useCancelConfirm: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
26
24
|
readonly cancelConfirmOptions: Record<string, any>;
|
|
27
25
|
readonly "onUpdate:open"?: (() => any) | undefined;
|
|
28
26
|
readonly onClose?: (() => any) | undefined;
|
|
@@ -541,7 +539,6 @@ export declare const LlDrawer: import("ll-plus/es/utils").SFCWithInstall<import(
|
|
|
541
539
|
readonly showFooter: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
542
540
|
readonly useClose: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
543
541
|
readonly cancelConfirm: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
544
|
-
readonly useCancelConfirm: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
545
542
|
readonly cancelConfirmOptions: import("ll-plus/es/utils").EpPropFinalized<ObjectConstructor, unknown, unknown, null, boolean>;
|
|
546
543
|
}>> & {
|
|
547
544
|
"onUpdate:open"?: (() => any) | undefined;
|
|
@@ -558,7 +555,6 @@ export declare const LlDrawer: import("ll-plus/es/utils").SFCWithInstall<import(
|
|
|
558
555
|
readonly showCancel: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
559
556
|
readonly useClose: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
560
557
|
readonly cancelConfirm: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
561
|
-
readonly useCancelConfirm: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
562
558
|
readonly cancelConfirmOptions: Record<string, any>;
|
|
563
559
|
}, {}>>;
|
|
564
560
|
export default LlDrawer;
|
|
@@ -1902,6 +1902,63 @@ export declare const LlSecondConfirmation: import("ll-plus/es/utils").SFCWithIns
|
|
|
1902
1902
|
};
|
|
1903
1903
|
}>>, {}, {}>;
|
|
1904
1904
|
};
|
|
1905
|
+
readonly LlIcon: import("ll-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
1906
|
+
readonly iconName: {
|
|
1907
|
+
readonly type: import("vue").PropType<string>;
|
|
1908
|
+
readonly required: false;
|
|
1909
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1910
|
+
__epPropKey: true;
|
|
1911
|
+
};
|
|
1912
|
+
readonly color: {
|
|
1913
|
+
readonly type: import("vue").PropType<string>;
|
|
1914
|
+
readonly required: false;
|
|
1915
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1916
|
+
__epPropKey: true;
|
|
1917
|
+
};
|
|
1918
|
+
readonly size: {
|
|
1919
|
+
readonly type: import("vue").PropType<import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>>;
|
|
1920
|
+
readonly required: false;
|
|
1921
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1922
|
+
__epPropKey: true;
|
|
1923
|
+
};
|
|
1924
|
+
}, {
|
|
1925
|
+
props: import("@vue/shared").LooseRequired<{
|
|
1926
|
+
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;
|
|
1927
|
+
readonly color?: string | undefined;
|
|
1928
|
+
readonly iconName?: string | undefined;
|
|
1929
|
+
} & {}>;
|
|
1930
|
+
iconName: import("vue").ComputedRef<string>;
|
|
1931
|
+
style: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
1932
|
+
bem: {
|
|
1933
|
+
b: (blockSuffix?: string) => string;
|
|
1934
|
+
e: (element?: string) => string;
|
|
1935
|
+
m: (modifier?: string) => string;
|
|
1936
|
+
be: (blockSuffix?: string, element?: string) => string;
|
|
1937
|
+
em: (element: string, modifier: string) => string;
|
|
1938
|
+
bm: (blockSuffix: string, modifier: string) => string;
|
|
1939
|
+
bem: (blockSuffix: string, element: string, modifier: string) => string;
|
|
1940
|
+
is: (name?: string) => string;
|
|
1941
|
+
};
|
|
1942
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1943
|
+
readonly iconName: {
|
|
1944
|
+
readonly type: import("vue").PropType<string>;
|
|
1945
|
+
readonly required: false;
|
|
1946
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1947
|
+
__epPropKey: true;
|
|
1948
|
+
};
|
|
1949
|
+
readonly color: {
|
|
1950
|
+
readonly type: import("vue").PropType<string>;
|
|
1951
|
+
readonly required: false;
|
|
1952
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1953
|
+
__epPropKey: true;
|
|
1954
|
+
};
|
|
1955
|
+
readonly size: {
|
|
1956
|
+
readonly type: import("vue").PropType<import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>>;
|
|
1957
|
+
readonly required: false;
|
|
1958
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1959
|
+
__epPropKey: true;
|
|
1960
|
+
};
|
|
1961
|
+
}>>, {}, {}>>;
|
|
1905
1962
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1906
1963
|
readonly label: {
|
|
1907
1964
|
readonly type: import("vue").PropType<string>;
|
package/es/components/drawer/src/components/second-confirmation/src/second-confirmation.vue.d.ts
CHANGED
|
@@ -1901,6 +1901,63 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1901
1901
|
};
|
|
1902
1902
|
}>>, {}, {}>;
|
|
1903
1903
|
};
|
|
1904
|
+
readonly LlIcon: import("ll-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
1905
|
+
readonly iconName: {
|
|
1906
|
+
readonly type: import("vue").PropType<string>;
|
|
1907
|
+
readonly required: false;
|
|
1908
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1909
|
+
__epPropKey: true;
|
|
1910
|
+
};
|
|
1911
|
+
readonly color: {
|
|
1912
|
+
readonly type: import("vue").PropType<string>;
|
|
1913
|
+
readonly required: false;
|
|
1914
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1915
|
+
__epPropKey: true;
|
|
1916
|
+
};
|
|
1917
|
+
readonly size: {
|
|
1918
|
+
readonly type: import("vue").PropType<import("ll-plus/es/components").AvatarType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>>;
|
|
1919
|
+
readonly required: false;
|
|
1920
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1921
|
+
__epPropKey: true;
|
|
1922
|
+
};
|
|
1923
|
+
}, {
|
|
1924
|
+
props: import("@vue/shared").LooseRequired<{
|
|
1925
|
+
readonly size?: import("ll-plus/es/components").AvatarType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown> | undefined;
|
|
1926
|
+
readonly color?: string | undefined;
|
|
1927
|
+
readonly iconName?: string | undefined;
|
|
1928
|
+
} & {}>;
|
|
1929
|
+
iconName: import("vue").ComputedRef<string>;
|
|
1930
|
+
style: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
1931
|
+
bem: {
|
|
1932
|
+
b: (blockSuffix?: string) => string;
|
|
1933
|
+
e: (element?: string) => string;
|
|
1934
|
+
m: (modifier?: string) => string;
|
|
1935
|
+
be: (blockSuffix?: string, element?: string) => string;
|
|
1936
|
+
em: (element: string, modifier: string) => string;
|
|
1937
|
+
bm: (blockSuffix: string, modifier: string) => string;
|
|
1938
|
+
bem: (blockSuffix: string, element: string, modifier: string) => string;
|
|
1939
|
+
is: (name?: string) => string;
|
|
1940
|
+
};
|
|
1941
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1942
|
+
readonly iconName: {
|
|
1943
|
+
readonly type: import("vue").PropType<string>;
|
|
1944
|
+
readonly required: false;
|
|
1945
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1946
|
+
__epPropKey: true;
|
|
1947
|
+
};
|
|
1948
|
+
readonly color: {
|
|
1949
|
+
readonly type: import("vue").PropType<string>;
|
|
1950
|
+
readonly required: false;
|
|
1951
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1952
|
+
__epPropKey: true;
|
|
1953
|
+
};
|
|
1954
|
+
readonly size: {
|
|
1955
|
+
readonly type: import("vue").PropType<import("ll-plus/es/components").AvatarType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>>;
|
|
1956
|
+
readonly required: false;
|
|
1957
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1958
|
+
__epPropKey: true;
|
|
1959
|
+
};
|
|
1960
|
+
}>>, {}, {}>>;
|
|
1904
1961
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1905
1962
|
readonly label: {
|
|
1906
1963
|
readonly type: import("vue").PropType<string>;
|
|
@@ -17,7 +17,6 @@ export declare const drawerProps: {
|
|
|
17
17
|
readonly showFooter: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
18
18
|
readonly useClose: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
19
19
|
readonly cancelConfirm: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
20
|
-
readonly useCancelConfirm: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
21
20
|
readonly cancelConfirmOptions: import("ll-plus/es/utils").EpPropFinalized<ObjectConstructor, unknown, unknown, null, boolean>;
|
|
22
21
|
};
|
|
23
22
|
export declare const drawerEmits: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drawer.mjs","sources":["../../../../../packages/components/drawer/src/drawer.ts"],"sourcesContent":["import { buildProps } from '@ll-plus/utils'\n\nimport type { ExtractPropTypes } from 'vue'\nimport type Drawer from './drawer.vue'\nexport const drawerOptions = {\n destroyOnClose: true,\n width: '560px',\n keyboard: false,\n maskClosable: false,\n mask: true\n}\nexport const drawerProps = 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 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 /**\n * @description 区分关闭与取消方法\n */\n useClose: {\n type: Boolean,\n default: false\n },\n /**\n * @description 显示取消二次确认\n */\n cancelConfirm: {\n type: Boolean,\n default: false\n },\n /**\n * @description
|
|
1
|
+
{"version":3,"file":"drawer.mjs","sources":["../../../../../packages/components/drawer/src/drawer.ts"],"sourcesContent":["import { buildProps } from '@ll-plus/utils'\n\nimport type { ExtractPropTypes } from 'vue'\nimport type Drawer from './drawer.vue'\nexport const drawerOptions = {\n destroyOnClose: true,\n width: '560px',\n keyboard: false,\n maskClosable: false,\n mask: true\n}\nexport const drawerProps = 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 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 /**\n * @description 区分关闭与取消方法\n */\n useClose: {\n type: Boolean,\n default: false\n },\n /**\n * @description 显示取消二次确认\n */\n cancelConfirm: {\n type: Boolean,\n default: false\n },\n /**\n * @description 二次确认属性\n */\n cancelConfirmOptions: {\n type: Object,\n default: null\n }\n} as const)\n\nexport const drawerEmits = {\n /**\n * @description 点击取消时触发\n */\n cancel: () => true,\n /**\n * @description 点击确认时触发\n */\n confirm: () => true,\n /**\n * @description 抽屉关闭时触发\n */\n close: () => true,\n 'update:open': () => true\n} as const\n\n// props\nexport type DrawerProps = ExtractPropTypes<typeof drawerProps>\n\n// emits\nexport type DrawerEmits = typeof drawerEmits\n\n// instance\nexport type DrawerInstance = InstanceType<typeof Drawer>\n"],"names":[],"mappings":";;;;AAIO,MAAM,aAAgB,GAAA;AAAA,EAC3B,cAAgB,EAAA,IAAA;AAAA,EAChB,KAAO,EAAA,OAAA;AAAA,EACP,QAAU,EAAA,KAAA;AAAA,EACV,YAAc,EAAA,KAAA;AAAA,EACd,IAAM,EAAA,IAAA;AACR,EAAA;AACO,MAAM,cAAc,UAAW,CAAA;AAAA;AAAA;AAAA;AAAA,EAIpC,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,WAAa,EAAA;AAAA,IACX,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA,cAAA;AAAA,GACX;AAAA;AAAA;AAAA;AAAA,EAIA,UAAY,EAAA;AAAA,IACV,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA,cAAA;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;AAAA;AAAA;AAAA;AAAA,EAIA,QAAU,EAAA;AAAA,IACR,IAAM,EAAA,OAAA;AAAA,IACN,OAAS,EAAA,KAAA;AAAA,GACX;AAAA;AAAA;AAAA;AAAA,EAIA,aAAe,EAAA;AAAA,IACb,IAAM,EAAA,OAAA;AAAA,IACN,OAAS,EAAA,KAAA;AAAA,GACX;AAAA;AAAA;AAAA;AAAA,EAIA,oBAAsB,EAAA;AAAA,IACpB,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA,IAAA;AAAA,GACX;AACF,CAAU,EAAA;AAEH,MAAM,WAAc,GAAA;AAAA;AAAA;AAAA;AAAA,EAIzB,QAAQ,MAAM,IAAA;AAAA;AAAA;AAAA;AAAA,EAId,SAAS,MAAM,IAAA;AAAA;AAAA;AAAA;AAAA,EAIf,OAAO,MAAM,IAAA;AAAA,EACb,eAAe,MAAM,IAAA;AACvB;;;;"}
|