@aoao-y33/ui 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +811 -0
- package/dist/button/components/button/button.vue.d.ts +22 -0
- package/dist/button/components/button/button.vue.d.ts.map +1 -0
- package/dist/button/components/button/index.d.ts +3 -0
- package/dist/button/components/button/index.d.ts.map +1 -0
- package/dist/button/components/button/props.d.ts +21 -0
- package/dist/button/components/button/props.d.ts.map +1 -0
- package/dist/button/components/fields/index.d.ts +2 -0
- package/dist/button/components/fields/index.d.ts.map +1 -0
- package/dist/button/hoc/index.d.ts +2 -0
- package/dist/button/hoc/index.d.ts.map +1 -0
- package/dist/button/hoc/useButton.d.ts +19 -0
- package/dist/button/hoc/useButton.d.ts.map +1 -0
- package/dist/button/index.d.ts +5 -0
- package/dist/button/index.d.ts.map +1 -0
- package/dist/button/utils/index.d.ts +4 -0
- package/dist/button/utils/index.d.ts.map +1 -0
- package/dist/common/index.d.ts +2 -0
- package/dist/common/index.d.ts.map +1 -0
- package/dist/common/utils/iconUtils.d.ts +2 -0
- package/dist/common/utils/iconUtils.d.ts.map +1 -0
- package/dist/common/utils/index.d.ts +2 -0
- package/dist/common/utils/index.d.ts.map +1 -0
- package/dist/form/components/fields/index.d.ts +2 -0
- package/dist/form/components/fields/index.d.ts.map +1 -0
- package/dist/form/components/form/form.vue.d.ts +42 -0
- package/dist/form/components/form/form.vue.d.ts.map +1 -0
- package/dist/form/components/form/index.d.ts +90 -0
- package/dist/form/components/form/index.d.ts.map +1 -0
- package/dist/form/components/form/props.d.ts +21 -0
- package/dist/form/components/form/props.d.ts.map +1 -0
- package/dist/form/components/form-item/form-item.vue.d.ts +19 -0
- package/dist/form/components/form-item/form-item.vue.d.ts.map +1 -0
- package/dist/form/components/form-item/index.d.ts +31 -0
- package/dist/form/components/form-item/index.d.ts.map +1 -0
- package/dist/form/components/form-item/props.d.ts +14 -0
- package/dist/form/components/form-item/props.d.ts.map +1 -0
- package/dist/form/hoc/index.d.ts +4 -0
- package/dist/form/hoc/index.d.ts.map +1 -0
- package/dist/form/hoc/useForm.d.ts +13 -0
- package/dist/form/hoc/useForm.d.ts.map +1 -0
- package/dist/form/hoc/useFormExpose.d.ts +24 -0
- package/dist/form/hoc/useFormExpose.d.ts.map +1 -0
- package/dist/form/hoc/useFormFetch.d.ts +25 -0
- package/dist/form/hoc/useFormFetch.d.ts.map +1 -0
- package/dist/form/index.d.ts +6 -0
- package/dist/form/index.d.ts.map +1 -0
- package/dist/form/utils/index.d.ts +9 -0
- package/dist/form/utils/index.d.ts.map +1 -0
- package/dist/global.d.ts +33 -0
- package/dist/global.d.ts.map +1 -0
- package/dist/index.css +3 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +38948 -0
- package/dist/layout/components/fields/basic/basic.vue.d.ts +20 -0
- package/dist/layout/components/fields/basic/basic.vue.d.ts.map +1 -0
- package/dist/layout/components/fields/index.d.ts +2 -0
- package/dist/layout/components/fields/index.d.ts.map +1 -0
- package/dist/layout/components/fields/side/side.vue.d.ts +20 -0
- package/dist/layout/components/fields/side/side.vue.d.ts.map +1 -0
- package/dist/layout/components/fields/top/top.vue.d.ts +18 -0
- package/dist/layout/components/fields/top/top.vue.d.ts.map +1 -0
- package/dist/layout/components/layout/index.d.ts +22 -0
- package/dist/layout/components/layout/index.d.ts.map +1 -0
- package/dist/layout/components/layout/layout.vue.d.ts +15 -0
- package/dist/layout/components/layout/layout.vue.d.ts.map +1 -0
- package/dist/layout/components/layout/props.d.ts +4 -0
- package/dist/layout/components/layout/props.d.ts.map +1 -0
- package/dist/layout/hoc/index.d.ts +2 -0
- package/dist/layout/hoc/index.d.ts.map +1 -0
- package/dist/layout/hoc/useLayout.d.ts +12 -0
- package/dist/layout/hoc/useLayout.d.ts.map +1 -0
- package/dist/layout/index.d.ts +5 -0
- package/dist/layout/index.d.ts.map +1 -0
- package/dist/layout/utils/index.d.ts +4 -0
- package/dist/layout/utils/index.d.ts.map +1 -0
- package/dist/modal/components/form-modal/form-modal.vue.d.ts +46 -0
- package/dist/modal/components/form-modal/form-modal.vue.d.ts.map +1 -0
- package/dist/modal/components/form-modal/index.d.ts +101 -0
- package/dist/modal/components/form-modal/index.d.ts.map +1 -0
- package/dist/modal/components/form-modal/props.d.ts +19 -0
- package/dist/modal/components/form-modal/props.d.ts.map +1 -0
- package/dist/modal/components/modal/index.d.ts +53 -0
- package/dist/modal/components/modal/index.d.ts.map +1 -0
- package/dist/modal/components/modal/modal.vue.d.ts +29 -0
- package/dist/modal/components/modal/modal.vue.d.ts.map +1 -0
- package/dist/modal/components/modal/props.d.ts +24 -0
- package/dist/modal/components/modal/props.d.ts.map +1 -0
- package/dist/modal/hoc/index.d.ts +4 -0
- package/dist/modal/hoc/index.d.ts.map +1 -0
- package/dist/modal/hoc/useFormModal.d.ts +13 -0
- package/dist/modal/hoc/useFormModal.d.ts.map +1 -0
- package/dist/modal/hoc/useModal.d.ts +12 -0
- package/dist/modal/hoc/useModal.d.ts.map +1 -0
- package/dist/modal/hoc/useModalExpose.d.ts +8 -0
- package/dist/modal/hoc/useModalExpose.d.ts.map +1 -0
- package/dist/modal/index.d.ts +4 -0
- package/dist/modal/index.d.ts.map +1 -0
- package/dist/table/components/fields/action-column/action-column.vue.d.ts +6 -0
- package/dist/table/components/fields/action-column/action-column.vue.d.ts.map +1 -0
- package/dist/table/components/fields/action-column/props.d.ts +8 -0
- package/dist/table/components/fields/action-column/props.d.ts.map +1 -0
- package/dist/table/components/fields/index.d.ts +2 -0
- package/dist/table/components/fields/index.d.ts.map +1 -0
- package/dist/table/components/table/index.d.ts +58 -0
- package/dist/table/components/table/index.d.ts.map +1 -0
- package/dist/table/components/table/props.d.ts +43 -0
- package/dist/table/components/table/props.d.ts.map +1 -0
- package/dist/table/components/table/table.vue.d.ts +33 -0
- package/dist/table/components/table/table.vue.d.ts.map +1 -0
- package/dist/table/components/table-column/index.d.ts +6 -0
- package/dist/table/components/table-column/index.d.ts.map +1 -0
- package/dist/table/components/table-column/props.d.ts +6 -0
- package/dist/table/components/table-column/props.d.ts.map +1 -0
- package/dist/table/components/table-column/table-column.vue.d.ts +6 -0
- package/dist/table/components/table-column/table-column.vue.d.ts.map +1 -0
- package/dist/table/components/table-page/index.d.ts +12 -0
- package/dist/table/components/table-page/index.d.ts.map +1 -0
- package/dist/table/components/table-page/props.d.ts +13 -0
- package/dist/table/components/table-page/props.d.ts.map +1 -0
- package/dist/table/components/table-page/table-page.vue.d.ts +11 -0
- package/dist/table/components/table-page/table-page.vue.d.ts.map +1 -0
- package/dist/table/components/table-select/index.d.ts +73 -0
- package/dist/table/components/table-select/index.d.ts.map +1 -0
- package/dist/table/components/table-select/props.d.ts +21 -0
- package/dist/table/components/table-select/props.d.ts.map +1 -0
- package/dist/table/components/table-select/table-select.vue.d.ts +36 -0
- package/dist/table/components/table-select/table-select.vue.d.ts.map +1 -0
- package/dist/table/hoc/index.d.ts +3 -0
- package/dist/table/hoc/index.d.ts.map +1 -0
- package/dist/table/hoc/useTable.d.ts +33 -0
- package/dist/table/hoc/useTable.d.ts.map +1 -0
- package/dist/table/hoc/useTableExpose.d.ts +7 -0
- package/dist/table/hoc/useTableExpose.d.ts.map +1 -0
- package/dist/table/index.d.ts +8 -0
- package/dist/table/index.d.ts.map +1 -0
- package/dist/table/utils/index.d.ts +4 -0
- package/dist/table/utils/index.d.ts.map +1 -0
- package/package.json +42 -0
- package/src/button/components/button/button.vue +64 -0
- package/src/button/components/button/index.ts +2 -0
- package/src/button/components/button/props.ts +75 -0
- package/src/button/components/fields/index.ts +6 -0
- package/src/button/hoc/index.ts +1 -0
- package/src/button/hoc/useButton.ts +27 -0
- package/src/button/index.ts +4 -0
- package/src/button/utils/index.ts +32 -0
- package/src/common/index.ts +1 -0
- package/src/common/utils/iconUtils.ts +21 -0
- package/src/common/utils/index.ts +1 -0
- package/src/form/components/fields/index.ts +35 -0
- package/src/form/components/form/form.vue +130 -0
- package/src/form/components/form/index.ts +6 -0
- package/src/form/components/form/props.ts +73 -0
- package/src/form/components/form-item/form-item.vue +90 -0
- package/src/form/components/form-item/index.ts +6 -0
- package/src/form/components/form-item/props.ts +50 -0
- package/src/form/hoc/index.ts +3 -0
- package/src/form/hoc/useForm.ts +106 -0
- package/src/form/hoc/useFormExpose.ts +97 -0
- package/src/form/hoc/useFormFetch.ts +103 -0
- package/src/form/index.ts +5 -0
- package/src/form/utils/index.ts +149 -0
- package/src/global.ts +40 -0
- package/src/index.ts +37 -0
- package/src/layout/components/fields/basic/basic.vue +18 -0
- package/src/layout/components/fields/index.ts +10 -0
- package/src/layout/components/fields/side/side.vue +26 -0
- package/src/layout/components/fields/top/top.vue +13 -0
- package/src/layout/components/layout/index.ts +6 -0
- package/src/layout/components/layout/layout.vue +19 -0
- package/src/layout/components/layout/props.ts +3 -0
- package/src/layout/hoc/index.ts +1 -0
- package/src/layout/hoc/useLayout.ts +32 -0
- package/src/layout/index.ts +4 -0
- package/src/layout/utils/index.ts +31 -0
- package/src/modal/components/form-modal/form-modal.vue +158 -0
- package/src/modal/components/form-modal/index.ts +5 -0
- package/src/modal/components/form-modal/props.ts +61 -0
- package/src/modal/components/modal/index.ts +6 -0
- package/src/modal/components/modal/modal.vue +127 -0
- package/src/modal/components/modal/props.ts +78 -0
- package/src/modal/hoc/index.ts +3 -0
- package/src/modal/hoc/useFormModal.ts +140 -0
- package/src/modal/hoc/useModal.ts +151 -0
- package/src/modal/hoc/useModalExpose.ts +52 -0
- package/src/modal/index.ts +3 -0
- package/src/style/index.css +21 -0
- package/src/table/components/fields/action-column/action-column.vue +34 -0
- package/src/table/components/fields/action-column/props.ts +8 -0
- package/src/table/components/fields/index.ts +6 -0
- package/src/table/components/table/index.ts +6 -0
- package/src/table/components/table/props.ts +148 -0
- package/src/table/components/table/table.vue +77 -0
- package/src/table/components/table-column/index.ts +6 -0
- package/src/table/components/table-column/props.ts +26 -0
- package/src/table/components/table-column/table-column.vue +31 -0
- package/src/table/components/table-page/index.ts +6 -0
- package/src/table/components/table-page/props.ts +48 -0
- package/src/table/components/table-page/table-page.vue +51 -0
- package/src/table/components/table-select/index.ts +6 -0
- package/src/table/components/table-select/props.ts +79 -0
- package/src/table/components/table-select/table-select.vue +70 -0
- package/src/table/hoc/index.ts +2 -0
- package/src/table/hoc/useTable.ts +206 -0
- package/src/table/hoc/useTableExpose.ts +46 -0
- package/src/table/index.ts +7 -0
- package/src/table/utils/index.ts +37 -0
- package/tsconfig.json +30 -0
- package/vite.config.ts +49 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_7: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
header?: (props: typeof __VLS_1) => any;
|
|
4
|
+
} & {
|
|
5
|
+
aside?: (props: typeof __VLS_3) => any;
|
|
6
|
+
} & {
|
|
7
|
+
main?: (props: typeof __VLS_5) => any;
|
|
8
|
+
} & {
|
|
9
|
+
footer?: (props: typeof __VLS_7) => any;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_base: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
12
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=basic.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"basic.vue.d.ts","sourceRoot":"","sources":["../../../../../src/layout/components/fields/basic/basic.vue"],"names":[],"mappings":"AAwEA,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAU,EAAE,OAAO,IAAU,EAAE,OAAO,IAAW,CAAE;AACjF,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC3C;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC1C;IAAE,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GACzC;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAG9C,QAAA,MAAM,UAAU,+QACd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/layout/components/fields/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,gBAAgB,YAI5B,CAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_7: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
aside?: (props: typeof __VLS_1) => any;
|
|
4
|
+
} & {
|
|
5
|
+
header?: (props: typeof __VLS_3) => any;
|
|
6
|
+
} & {
|
|
7
|
+
main?: (props: typeof __VLS_5) => any;
|
|
8
|
+
} & {
|
|
9
|
+
footer?: (props: typeof __VLS_7) => any;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_base: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
12
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=side.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"side.vue.d.ts","sourceRoot":"","sources":["../../../../../src/layout/components/fields/side/side.vue"],"names":[],"mappings":"AAkBA;AAkFA,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAU,EAAE,OAAO,IAAU,EAAE,OAAO,IAAW,CAAE;AACjF,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC1C;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC3C;IAAE,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GACzC;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAG9C,QAAA,MAAM,UAAU,+QACd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
header?: (props: typeof __VLS_1) => any;
|
|
4
|
+
} & {
|
|
5
|
+
main?: (props: typeof __VLS_3) => any;
|
|
6
|
+
} & {
|
|
7
|
+
footer?: (props: typeof __VLS_5) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_base: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=top.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"top.vue.d.ts","sourceRoot":"","sources":["../../../../../src/layout/components/fields/top/top.vue"],"names":[],"mappings":"AAoDA,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAU,EAAE,OAAO,IAAW,CAAE;AAC9D,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC3C;IAAE,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GACzC;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAG9C,QAAA,MAAM,UAAU,+QACd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { default as layout } from './layout.vue';
|
|
2
|
+
export * from './props';
|
|
3
|
+
export declare const AxLayout: {
|
|
4
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./props').AxLayoutProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
5
|
+
P: {};
|
|
6
|
+
B: {};
|
|
7
|
+
D: {};
|
|
8
|
+
C: {};
|
|
9
|
+
M: {};
|
|
10
|
+
Defaults: {};
|
|
11
|
+
}, Readonly<import('./props').AxLayoutProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
12
|
+
__isFragment?: never;
|
|
13
|
+
__isTeleport?: never;
|
|
14
|
+
__isSuspense?: never;
|
|
15
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('./props').AxLayoutProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
16
|
+
$slots: {
|
|
17
|
+
[x: string]: ((props: {}) => any) | undefined;
|
|
18
|
+
};
|
|
19
|
+
});
|
|
20
|
+
export type AxLayoutInstance = InstanceType<typeof layout>;
|
|
21
|
+
export default AxLayout;
|
|
22
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/layout/components/layout/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,cAAc,SAAS,CAAC;AACxB,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;EAAS,CAAC;AAC/B,MAAM,MAAM,gBAAgB,GAAG,YAAY,CAAC,OAAO,MAAM,CAAC,CAAC;AAC3D,eAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { AxLayoutProps } from './props';
|
|
2
|
+
declare var __VLS_10: string, __VLS_11: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
[K in NonNullable<typeof __VLS_10>]?: (props: typeof __VLS_11) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_base: import('vue').DefineComponent<AxLayoutProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<AxLayoutProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
11
|
+
new (): {
|
|
12
|
+
$slots: S;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=layout.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"layout.vue.d.ts","sourceRoot":"","sources":["../../../../src/layout/components/layout/layout.vue"],"names":[],"mappings":"AAOA;AAqBA,OAAO,EAAC,KAAK,aAAa,EAAC,MAAM,SAAS,CAAC;AAwD3C,QAAA,IAAI,QAAQ,QAAU,EAAE,QAAQ,IAAW,CAAE;AAC7C,KAAK,WAAW,GAAG,EAAE,GACnB;KAAG,CAAC,IAAI,WAAW,CAAC,OAAO,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG;CAAE,CAAC;AAK5E,QAAA,MAAM,UAAU,sSAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../../src/layout/components/layout/props.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/layout/hoc/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Component } from 'vue';
|
|
2
|
+
export interface AxLayoutOptions {
|
|
3
|
+
type?: string;
|
|
4
|
+
header?: Component;
|
|
5
|
+
footer?: Component;
|
|
6
|
+
main?: Component;
|
|
7
|
+
aside?: Component;
|
|
8
|
+
}
|
|
9
|
+
export declare function useLayout(options?: AxLayoutOptions): readonly [import('vue').DefineComponent<{}, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
10
|
+
[key: string]: any;
|
|
11
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, (options: AxLayoutOptions) => void];
|
|
12
|
+
//# sourceMappingURL=useLayout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useLayout.d.ts","sourceRoot":"","sources":["../../../src/layout/hoc/useLayout.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,SAAS,EAAiC,MAAM,KAAK,CAAC;AAInE,MAAM,WAAW,eAAe;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAC,SAAS,CAAC;IAClB,MAAM,CAAC,EAAC,SAAS,CAAE;IACnB,IAAI,CAAC,EAAC,SAAS,CAAE;IACjB,KAAK,CAAC,EAAC,SAAS,CAAE;CACrB;AACD,wBAAgB,SAAS,CAAC,OAAO,GAAC,eAAkB;;uPAEvB,eAAe,WAkB3C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/layout/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,OAAO,CAAC;AACtB,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/layout/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,KAAK,CAAC;AAEnC,eAAO,MAAM,YAAY,EAAC,MAAM,CAAC,MAAM,EAAE,SAAS,CAAM,CAAC;AAGzD,eAAO,MAAM,cAAc,GAAI,MAAM,MAAM,EAAE,WAAW,SAAS,SAMhE,CAAA"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { AxFormModalProps } from './props';
|
|
2
|
+
import { DrawerInstance } from 'element-plus';
|
|
3
|
+
type __VLS_Props = AxFormModalProps;
|
|
4
|
+
declare var __VLS_32: {}, __VLS_49: {};
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
default?: (props: typeof __VLS_32) => any;
|
|
7
|
+
} & {
|
|
8
|
+
button?: (props: typeof __VLS_49) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
|
|
11
|
+
setConfig: import('@aoao-y33/hooks').StateApi<import('@aoao-y33/hooks').FetchOptions<any, any>>;
|
|
12
|
+
setApi: import('@aoao-y33/hooks').StateApi<import('@aoao-y33/hooks').RequestFetch<any, any>>;
|
|
13
|
+
load: (params?: any) => Promise<any>;
|
|
14
|
+
getConfig: () => import('@aoao-y33/hooks').FetchOptions<any, any>;
|
|
15
|
+
get: () => any;
|
|
16
|
+
getReady: () => boolean;
|
|
17
|
+
setParams: (data: any, load?: boolean) => void;
|
|
18
|
+
reload: () => void;
|
|
19
|
+
getElForm: () => import('element-plus').FormInstance;
|
|
20
|
+
getValues: () => Record<string, any>;
|
|
21
|
+
getValue: (field: string) => any;
|
|
22
|
+
getFields: () => string[];
|
|
23
|
+
getDefaultValues: () => Partial<Record<string, any>>;
|
|
24
|
+
setValues: (values: Partial<Record<string, any>>) => void;
|
|
25
|
+
resetValues: () => void;
|
|
26
|
+
clearValues: () => void;
|
|
27
|
+
getModal: () => DrawerInstance | undefined;
|
|
28
|
+
close: () => void;
|
|
29
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
30
|
+
cancel: () => any;
|
|
31
|
+
"update:open": (data: boolean) => any;
|
|
32
|
+
confirm: (data: any) => any;
|
|
33
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
34
|
+
onCancel?: (() => any) | undefined;
|
|
35
|
+
"onUpdate:open"?: ((data: boolean) => any) | undefined;
|
|
36
|
+
onConfirm?: ((data: any) => any) | undefined;
|
|
37
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
38
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
39
|
+
declare const _default: typeof __VLS_export;
|
|
40
|
+
export default _default;
|
|
41
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
42
|
+
new (): {
|
|
43
|
+
$slots: S;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
//# sourceMappingURL=form-modal.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-modal.vue.d.ts","sourceRoot":"","sources":["../../../../src/modal/components/form-modal/form-modal.vue"],"names":[],"mappings":"AA+BA;AAgKA,OAAO,KAAK,EAAC,gBAAgB,EAAmB,MAAM,SAAS,CAAC;AAGhE,OAAO,EAAC,KAAK,cAAc,EAAsC,MAAM,cAAc,CAAC;AAKtF,KAAK,WAAW,GAAG,gBAAgB,CAAC;AAiSpC,QAAA,IAA4C,QAAQ,IAAW,EAAE,QAAQ,IAAY,CAAE;AACvF,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC7C;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAQ/C,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;kFAId,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { default as formModal } from './form-modal.vue';
|
|
2
|
+
export * from './props';
|
|
3
|
+
export declare const AxFormModal: {
|
|
4
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./props').AxFormModalProps<any>> & Readonly<{
|
|
5
|
+
onCancel?: (() => any) | undefined;
|
|
6
|
+
"onUpdate:open"?: ((data: boolean) => any) | undefined;
|
|
7
|
+
onConfirm?: ((data: any) => any) | undefined;
|
|
8
|
+
}>, {
|
|
9
|
+
setConfig: import('@aoao-y33/hooks').StateApi<import('@aoao-y33/hooks').FetchOptions<any, any>>;
|
|
10
|
+
setApi: import('@aoao-y33/hooks').StateApi<import('@aoao-y33/hooks').RequestFetch<any, any>>;
|
|
11
|
+
load: (params?: any) => Promise<any>;
|
|
12
|
+
getConfig: () => import('@aoao-y33/hooks').FetchOptions<any, any>;
|
|
13
|
+
get: () => any;
|
|
14
|
+
getReady: () => boolean;
|
|
15
|
+
setParams: (data: any, load?: boolean) => void;
|
|
16
|
+
reload: () => void;
|
|
17
|
+
getElForm: () => import('element-plus').FormInstance;
|
|
18
|
+
getValues: () => Record<string, any>;
|
|
19
|
+
getValue: (field: string) => any;
|
|
20
|
+
getFields: () => string[];
|
|
21
|
+
getDefaultValues: () => Partial<Record<string, any>>;
|
|
22
|
+
setValues: (values: Partial<Record<string, any>>) => void;
|
|
23
|
+
resetValues: () => void;
|
|
24
|
+
clearValues: () => void;
|
|
25
|
+
getModal: () => import('element-plus').DrawerInstance | undefined;
|
|
26
|
+
close: () => void;
|
|
27
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
28
|
+
cancel: () => any;
|
|
29
|
+
"update:open": (data: boolean) => any;
|
|
30
|
+
confirm: (data: any) => any;
|
|
31
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
32
|
+
P: {};
|
|
33
|
+
B: {};
|
|
34
|
+
D: {};
|
|
35
|
+
C: {};
|
|
36
|
+
M: {};
|
|
37
|
+
Defaults: {};
|
|
38
|
+
}, Readonly<import('./props').AxFormModalProps<any>> & Readonly<{
|
|
39
|
+
onCancel?: (() => any) | undefined;
|
|
40
|
+
"onUpdate:open"?: ((data: boolean) => any) | undefined;
|
|
41
|
+
onConfirm?: ((data: any) => any) | undefined;
|
|
42
|
+
}>, {
|
|
43
|
+
setConfig: import('@aoao-y33/hooks').StateApi<import('@aoao-y33/hooks').FetchOptions<any, any>>;
|
|
44
|
+
setApi: import('@aoao-y33/hooks').StateApi<import('@aoao-y33/hooks').RequestFetch<any, any>>;
|
|
45
|
+
load: (params?: any) => Promise<any>;
|
|
46
|
+
getConfig: () => import('@aoao-y33/hooks').FetchOptions<any, any>;
|
|
47
|
+
get: () => any;
|
|
48
|
+
getReady: () => boolean;
|
|
49
|
+
setParams: (data: any, load?: boolean) => void;
|
|
50
|
+
reload: () => void;
|
|
51
|
+
getElForm: () => import('element-plus').FormInstance;
|
|
52
|
+
getValues: () => Record<string, any>;
|
|
53
|
+
getValue: (field: string) => any;
|
|
54
|
+
getFields: () => string[];
|
|
55
|
+
getDefaultValues: () => Partial<Record<string, any>>;
|
|
56
|
+
setValues: (values: Partial<Record<string, any>>) => void;
|
|
57
|
+
resetValues: () => void;
|
|
58
|
+
clearValues: () => void;
|
|
59
|
+
getModal: () => import('element-plus').DrawerInstance | undefined;
|
|
60
|
+
close: () => void;
|
|
61
|
+
}, {}, {}, {}, {}>;
|
|
62
|
+
__isFragment?: never;
|
|
63
|
+
__isTeleport?: never;
|
|
64
|
+
__isSuspense?: never;
|
|
65
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('./props').AxFormModalProps<any>> & Readonly<{
|
|
66
|
+
onCancel?: (() => any) | undefined;
|
|
67
|
+
"onUpdate:open"?: ((data: boolean) => any) | undefined;
|
|
68
|
+
onConfirm?: ((data: any) => any) | undefined;
|
|
69
|
+
}>, {
|
|
70
|
+
setConfig: import('@aoao-y33/hooks').StateApi<import('@aoao-y33/hooks').FetchOptions<any, any>>;
|
|
71
|
+
setApi: import('@aoao-y33/hooks').StateApi<import('@aoao-y33/hooks').RequestFetch<any, any>>;
|
|
72
|
+
load: (params?: any) => Promise<any>;
|
|
73
|
+
getConfig: () => import('@aoao-y33/hooks').FetchOptions<any, any>;
|
|
74
|
+
get: () => any;
|
|
75
|
+
getReady: () => boolean;
|
|
76
|
+
setParams: (data: any, load?: boolean) => void;
|
|
77
|
+
reload: () => void;
|
|
78
|
+
getElForm: () => import('element-plus').FormInstance;
|
|
79
|
+
getValues: () => Record<string, any>;
|
|
80
|
+
getValue: (field: string) => any;
|
|
81
|
+
getFields: () => string[];
|
|
82
|
+
getDefaultValues: () => Partial<Record<string, any>>;
|
|
83
|
+
setValues: (values: Partial<Record<string, any>>) => void;
|
|
84
|
+
resetValues: () => void;
|
|
85
|
+
clearValues: () => void;
|
|
86
|
+
getModal: () => import('element-plus').DrawerInstance | undefined;
|
|
87
|
+
close: () => void;
|
|
88
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
89
|
+
cancel: () => any;
|
|
90
|
+
"update:open": (data: boolean) => any;
|
|
91
|
+
confirm: (data: any) => any;
|
|
92
|
+
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
93
|
+
$slots: {
|
|
94
|
+
default?: (props: {}) => any;
|
|
95
|
+
} & {
|
|
96
|
+
button?: (props: {}) => any;
|
|
97
|
+
};
|
|
98
|
+
});
|
|
99
|
+
export default AxFormModal;
|
|
100
|
+
export type AxFormModalInstance = InstanceType<typeof formModal>;
|
|
101
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modal/components/form-modal/index.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,kBAAkB,CAAC;AACzC,cAAc,SAAS,CAAC;AACxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAY,CAAC;AACrC,eAAe,WAAW,CAAC;AAC3B,MAAM,MAAM,mBAAmB,GAAG,YAAY,CAAC,OAAO,SAAS,CAAC,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { AxModalProps } from '../..';
|
|
2
|
+
import { AxFormItemOptions, AxFormProps } from '../../../form';
|
|
3
|
+
import { EmitsToEventProps } from '@aoao-y33/utils';
|
|
4
|
+
import { FieldsConfig } from '@aoao-y33/hooks';
|
|
5
|
+
import { AxButtonOptions } from '../../../button';
|
|
6
|
+
import { EmitsToProps } from 'vue';
|
|
7
|
+
import { DrawerEmits } from 'element-plus';
|
|
8
|
+
export interface AxFormModalProps<T extends Record<string, any> = any> extends AxModalProps, Omit<AxFormProps<T>, 'size'> {
|
|
9
|
+
}
|
|
10
|
+
export interface AxFormModalEmits<T extends Record<string, any> = any> {
|
|
11
|
+
'update:open': [data: boolean];
|
|
12
|
+
'confirm': [data: T];
|
|
13
|
+
'cancel': [];
|
|
14
|
+
}
|
|
15
|
+
export interface AxFormModalOptions<T extends Record<string, any> = any> extends Omit<AxFormModalProps<T>, 'open'>, EmitsToProps<DrawerEmits>, EmitsToEventProps<AxFormModalEmits<T>> {
|
|
16
|
+
buttonConfig?: FieldsConfig<AxButtonOptions>;
|
|
17
|
+
fieldConfig?: FieldsConfig<AxFormItemOptions>;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=props.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../../src/modal/components/form-modal/props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,SAAS,CAAC;AAC1C,OAAO,KAAK,EAAC,iBAAiB,EAAE,WAAW,EAAC,MAAM,QAAQ,CAAC;AAC3D,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,iBAAiB,CAAC;AACvD,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,UAAU,CAAC;AAC9C,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,KAAK,CAAC;AACtC,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,cAAc,CAAC;AAE9C,MAAM,WAAW,gBAAgB,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,GAAG,CAAE,SAAQ,YAAY,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC;CAExH;AAGD,MAAM,WAAW,gBAAgB,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,GAAG;IACjE,aAAa,EAAE,CAAC,IAAI,EAAE,OAAO,CAAC,CAAA;IAC9B,SAAS,EAAE,CAAC,IAAI,EAAE,CAAC,CAAC,CAAA;IACpB,QAAQ,EAAE,EAAE,CAAA;CACf;AAED,MAAM,WAAW,kBAAkB,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,GAAG,CACnE,SAAQ,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,EACrC,YAAY,CAAC,WAAW,CAAC,EACzB,iBAAiB,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC;IAC1C,YAAY,CAAC,EAAE,YAAY,CAAC,eAAe,CAAC,CAAA;IAC5C,WAAW,CAAC,EAAE,YAAY,CAAC,iBAAiB,CAAC,CAAA;CAChD"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { default as modal } from './modal.vue';
|
|
2
|
+
export * from './props';
|
|
3
|
+
export declare const AxModal: {
|
|
4
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./props').AxModalProps> & Readonly<{
|
|
5
|
+
onCancel?: (() => any) | undefined;
|
|
6
|
+
"onUpdate:open"?: ((data: boolean) => any) | undefined;
|
|
7
|
+
onConfirm?: (() => any) | undefined;
|
|
8
|
+
}>, {
|
|
9
|
+
getModal: () => import('element-plus').DrawerInstance | undefined;
|
|
10
|
+
close: () => void;
|
|
11
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
|
+
cancel: () => any;
|
|
13
|
+
"update:open": (data: boolean) => any;
|
|
14
|
+
confirm: () => any;
|
|
15
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
16
|
+
P: {};
|
|
17
|
+
B: {};
|
|
18
|
+
D: {};
|
|
19
|
+
C: {};
|
|
20
|
+
M: {};
|
|
21
|
+
Defaults: {};
|
|
22
|
+
}, Readonly<import('./props').AxModalProps> & Readonly<{
|
|
23
|
+
onCancel?: (() => any) | undefined;
|
|
24
|
+
"onUpdate:open"?: ((data: boolean) => any) | undefined;
|
|
25
|
+
onConfirm?: (() => any) | undefined;
|
|
26
|
+
}>, {
|
|
27
|
+
getModal: () => import('element-plus').DrawerInstance | undefined;
|
|
28
|
+
close: () => void;
|
|
29
|
+
}, {}, {}, {}, {}>;
|
|
30
|
+
__isFragment?: never;
|
|
31
|
+
__isTeleport?: never;
|
|
32
|
+
__isSuspense?: never;
|
|
33
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('./props').AxModalProps> & Readonly<{
|
|
34
|
+
onCancel?: (() => any) | undefined;
|
|
35
|
+
"onUpdate:open"?: ((data: boolean) => any) | undefined;
|
|
36
|
+
onConfirm?: (() => any) | undefined;
|
|
37
|
+
}>, {
|
|
38
|
+
getModal: () => import('element-plus').DrawerInstance | undefined;
|
|
39
|
+
close: () => void;
|
|
40
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
41
|
+
cancel: () => any;
|
|
42
|
+
"update:open": (data: boolean) => any;
|
|
43
|
+
confirm: () => any;
|
|
44
|
+
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
45
|
+
$slots: {
|
|
46
|
+
default?: (props: {}) => any;
|
|
47
|
+
} & {
|
|
48
|
+
button?: (props: {}) => any;
|
|
49
|
+
};
|
|
50
|
+
});
|
|
51
|
+
export type AxModalInstance = InstanceType<typeof modal>;
|
|
52
|
+
export default AxModal;
|
|
53
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modal/components/modal/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,aAAa,CAAC;AAEhC,cAAc,SAAS,CAAC;AACxB,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAQ,CAAC;AAC7B,MAAM,MAAM,eAAe,GAAG,YAAY,CAAC,OAAO,KAAK,CAAC,CAAC;AACzD,eAAe,OAAO,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { AxModalProps } from './props';
|
|
2
|
+
import { DrawerInstance } from 'element-plus';
|
|
3
|
+
declare var __VLS_24: {}, __VLS_41: {};
|
|
4
|
+
type __VLS_Slots = {} & {
|
|
5
|
+
default?: (props: typeof __VLS_24) => any;
|
|
6
|
+
} & {
|
|
7
|
+
button?: (props: typeof __VLS_41) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_base: import('vue').DefineComponent<AxModalProps, {
|
|
10
|
+
getModal: () => DrawerInstance | undefined;
|
|
11
|
+
close: () => void;
|
|
12
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
|
+
cancel: () => any;
|
|
14
|
+
"update:open": (data: boolean) => any;
|
|
15
|
+
confirm: () => any;
|
|
16
|
+
}, string, import('vue').PublicProps, Readonly<AxModalProps> & Readonly<{
|
|
17
|
+
onCancel?: (() => any) | undefined;
|
|
18
|
+
"onUpdate:open"?: ((data: boolean) => any) | undefined;
|
|
19
|
+
onConfirm?: (() => any) | undefined;
|
|
20
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
22
|
+
declare const _default: typeof __VLS_export;
|
|
23
|
+
export default _default;
|
|
24
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
25
|
+
new (): {
|
|
26
|
+
$slots: S;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
//# sourceMappingURL=modal.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"modal.vue.d.ts","sourceRoot":"","sources":["../../../../src/modal/components/modal/modal.vue"],"names":[],"mappings":"AA6BA;AAiIA,OAAO,KAAK,EAAC,YAAY,EAAe,MAAM,SAAS,CAAC;AAGxD,OAAO,EAAC,KAAK,cAAc,EAA4B,MAAM,cAAc,CAAC;AAqP5E,QAAA,IAAuB,QAAQ,IAAW,EAAE,QAAQ,IAAY,CAAE;AAClE,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC7C;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAO/C,QAAA,MAAM,UAAU;;;;;;;;;;;kFAId,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { DrawerProps, DrawerEmits } from 'element-plus';
|
|
2
|
+
import { AxButtonOptions, AxButtonProps } from '../../../button';
|
|
3
|
+
import { EmitsToEventProps } from '@aoao-y33/utils';
|
|
4
|
+
import { Component, EmitsToProps } from 'vue';
|
|
5
|
+
import { FieldsConfig } from '@aoao-y33/hooks';
|
|
6
|
+
export interface AxModalProps extends DrawerProps {
|
|
7
|
+
type?: 'drawer' | 'dialog';
|
|
8
|
+
title?: string;
|
|
9
|
+
open?: boolean;
|
|
10
|
+
className?: string;
|
|
11
|
+
confirmButton?: AxButtonProps;
|
|
12
|
+
cancelButton?: AxButtonProps;
|
|
13
|
+
isDefault?: boolean;
|
|
14
|
+
}
|
|
15
|
+
export interface AxModalEmits {
|
|
16
|
+
'update:open': [data: boolean];
|
|
17
|
+
'cancel': [];
|
|
18
|
+
'confirm': [];
|
|
19
|
+
}
|
|
20
|
+
export interface AxModalOptions extends Omit<AxModalProps, 'open'>, EmitsToEventProps<AxModalEmits>, EmitsToProps<DrawerEmits> {
|
|
21
|
+
component?: Component;
|
|
22
|
+
buttonConfig?: FieldsConfig<AxButtonOptions>;
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=props.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../../src/modal/components/modal/props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,WAAW,EAAC,WAAW,EAAC,MAAM,cAAc,CAAC;AAC1D,OAAO,KAAK,EAAC,eAAe,EAAE,aAAa,EAAC,MAAM,UAAU,CAAC;AAC7D,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,iBAAiB,CAAC;AACvD,OAAO,KAAK,EAAC,SAAS,EAAE,YAAY,EAAC,MAAM,KAAK,CAAC;AACjD,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAElD,MAAM,WAAW,YAAa,SAAQ,WAAW;IAC7C,IAAI,CAAC,EAAC,QAAQ,GAAC,QAAQ,CAAC;IACxB,KAAK,CAAC,EAAC,MAAM,CAAA;IACb,IAAI,CAAC,EAAC,OAAO,CAAA;IACb,SAAS,CAAC,EAAC,MAAM,CAAA;IACjB,aAAa,CAAC,EAAC,aAAa,CAAA;IAC5B,YAAY,CAAC,EAAC,aAAa,CAAA;IAC3B,SAAS,CAAC,EAAC,OAAO,CAAA;CACrB;AAED,MAAM,WAAW,YAAY;IACzB,aAAa,EAAC,CAAC,IAAI,EAAC,OAAO,CAAC,CAAC;IAC7B,QAAQ,EAAC,EAAE,CAAA;IACX,SAAS,EAAC,EAAE,CAAA;CACf;AAED,MAAM,WAAW,cACb,SAAQ,IAAI,CAAC,YAAY,EAAE,MAAM,CAAC,EAC9B,iBAAiB,CAAC,YAAY,CAAC,EAC/B,YAAY,CAAC,WAAW,CAAC;IAC7B,SAAS,CAAC,EAAC,SAAS,CAAC;IACrB,YAAY,CAAC,EAAC,YAAY,CAAC,eAAe,CAAC,CAAA;CAC9C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/modal/hoc/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { AxFormModalOptions, ModalApi } from '..';
|
|
2
|
+
import { FieldsApi, StateApi } from '@aoao-y33/hooks';
|
|
3
|
+
import { AxButtonOptions } from '../../button';
|
|
4
|
+
import { AxFormItemOptions, FormApi, FormFetchApi } from '../../form';
|
|
5
|
+
import { Component } from 'vue';
|
|
6
|
+
export interface UseFormModalApi<T extends Record<string, any>> extends ModalApi, FormApi<T>, FormFetchApi<T> {
|
|
7
|
+
readonly open: () => void;
|
|
8
|
+
readonly buttonsApi: FieldsApi<AxButtonOptions>;
|
|
9
|
+
readonly setModal: StateApi<Omit<AxFormModalOptions, 'buttonConfig' | 'fieldConfig'>>;
|
|
10
|
+
readonly fieldsApi: FieldsApi<AxFormItemOptions>;
|
|
11
|
+
}
|
|
12
|
+
export declare function useFormModal<T extends Record<string, any> = any>(options?: AxFormModalOptions<T>): [Component, UseFormModalApi<T>];
|
|
13
|
+
//# sourceMappingURL=useFormModal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useFormModal.d.ts","sourceRoot":"","sources":["../../../src/modal/hoc/useFormModal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,kBAAkB,EAA+B,KAAK,QAAQ,EAAC,MAAM,SAAS,CAAC;AAC5F,OAAO,EAAC,KAAK,SAAS,EAAE,KAAK,QAAQ,EAA6B,MAAM,iBAAiB,CAAC;AAE1F,OAAO,EAAW,KAAK,eAAe,EAAC,MAAM,UAAU,CAAC;AACxD,OAAO,EAAa,KAAK,iBAAiB,EAAE,KAAK,OAAO,EAAE,KAAK,YAAY,EAA8B,MAAM,QAAQ,CAAC;AACxH,OAAO,EAAC,KAAK,SAAS,EAA0B,MAAM,KAAK,CAAC;AAE5D,MAAM,WAAW,eAAe,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAE,SAAQ,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,YAAY,CAAC,CAAC,CAAC;IACzG,QAAQ,CAAC,IAAI,EAAE,MAAM,IAAI,CAAC;IAC1B,QAAQ,CAAC,UAAU,EAAE,SAAS,CAAC,eAAe,CAAC,CAAA;IAC/C,QAAQ,CAAC,QAAQ,EAAE,QAAQ,CAAC,IAAI,CAAC,kBAAkB,EAAE,cAAc,GAAG,aAAa,CAAC,CAAC,CAAA;IACrF,QAAQ,CAAC,SAAS,EAAE,SAAS,CAAC,iBAAiB,CAAC,CAAA;CACnD;AAED,wBAAgB,YAAY,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,GAAG,EAAE,OAAO,GAAE,kBAAkB,CAAC,CAAC,CAAM,GAAG,CAAC,SAAS,EAAE,eAAe,CAAC,CAAC,CAAC,CAAC,CAoCtI"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { AxModalOptions, ModalApi } from '..';
|
|
2
|
+
import { FieldsApi, StateApi } from '@aoao-y33/hooks';
|
|
3
|
+
import { Component } from 'vue';
|
|
4
|
+
import { AxButtonOptions } from '../../button';
|
|
5
|
+
export interface UseModalApi extends ModalApi {
|
|
6
|
+
readonly open: () => void;
|
|
7
|
+
readonly buttonsApi: FieldsApi<AxButtonOptions>;
|
|
8
|
+
readonly setModal: StateApi<Omit<AxModalOptions, 'buttonConfig' | 'component'>>;
|
|
9
|
+
readonly getComponent: () => any;
|
|
10
|
+
}
|
|
11
|
+
export declare function useModal(options?: AxModalOptions): [Component, UseModalApi];
|
|
12
|
+
//# sourceMappingURL=useModal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useModal.d.ts","sourceRoot":"","sources":["../../../src/modal/hoc/useModal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,KAAK,cAAc,EAAE,KAAK,QAAQ,EAAC,MAAM,SAAS,CAAC;AACpE,OAAO,EAAC,KAAK,SAAS,EAAE,KAAK,QAAQ,EAA6B,MAAM,iBAAiB,CAAC;AAC1F,OAAO,EAAC,KAAK,SAAS,EAAsC,MAAM,KAAK,CAAC;AAExE,OAAO,EAAW,KAAK,eAAe,EAAC,MAAM,UAAU,CAAC;AAGxD,MAAM,WAAW,WAAY,SAAQ,QAAQ;IACzC,QAAQ,CAAC,IAAI,EAAE,MAAM,IAAI,CAAC;IAC1B,QAAQ,CAAC,UAAU,EAAC,SAAS,CAAC,eAAe,CAAC,CAAA;IAC9C,QAAQ,CAAC,QAAQ,EAAC,QAAQ,CAAC,IAAI,CAAC,cAAc,EAAE,cAAc,GAAC,WAAW,CAAC,CAAC,CAAA;IAC5E,QAAQ,CAAC,YAAY,EAAC,MAAI,GAAG,CAAA;CAChC;AACD,wBAAgB,QAAQ,CAAC,OAAO,GAAE,cAAmB,GAAE,CAAC,SAAS,EAAC,WAAW,CAAC,CAqC7E"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { AxModalInstance } from '..';
|
|
3
|
+
export type ModalApi = ReturnType<typeof useModalExpose>;
|
|
4
|
+
export declare function useModalExpose(modal: Ref<AxModalInstance>): {
|
|
5
|
+
close: () => void;
|
|
6
|
+
getModal: () => import('element-plus').DrawerInstance | undefined;
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=useModalExpose.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useModalExpose.d.ts","sourceRoot":"","sources":["../../../src/modal/hoc/useModalExpose.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,GAAG,EAAC,MAAM,KAAK,CAAC;AAC7B,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,SAAS,CAAC;AAE7C,MAAM,MAAM,QAAQ,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AACzD,wBAAgB,cAAc,CAAC,KAAK,EAAC,GAAG,CAAC,eAAe,CAAC;;;EAYxD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/modal/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,OAAO,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ActionColumnProps } from './props';
|
|
2
|
+
type __VLS_Props = ActionColumnProps;
|
|
3
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
4
|
+
declare const _default: typeof __VLS_export;
|
|
5
|
+
export default _default;
|
|
6
|
+
//# sourceMappingURL=action-column.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"action-column.vue.d.ts","sourceRoot":"","sources":["../../../../../src/table/components/fields/action-column/action-column.vue"],"names":[],"mappings":"AAeA;AAoCA,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,SAAS,CAAC;AAO/C,KAAK,WAAW,GAAG,iBAAiB,CAAC;AAuHrC,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../../../src/table/components/fields/action-column/props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,UAAU,CAAC;AAE9C,MAAM,WAAW,iBAAiB,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,GAAG;IAClE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,GAAG,CAAC;IACd,IAAI,CAAC,EAAC,OAAO,CAAA;IACb,UAAU,CAAC,EAAE,eAAe,CAAC,CAAC,CAAC,EAAE,CAAA;CACpC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/table/components/fields/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,gBAAgB,YAE5B,CAAA"}
|