3h1-ui 1.2.3 → 1.2.4

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.
Files changed (30) hide show
  1. package/es/index.js +8 -8
  2. package/es/style.css +91 -91
  3. package/es/ui/src/Form/index.d.ts +13 -11
  4. package/es/ui/src/Form/src/BasicForm.vue.d.ts +2 -0
  5. package/es/ui/src/Form/src/componentMap.d.ts +6 -0
  6. package/es/ui/src/Form/src/components/ApiCascader.vue.d.ts +2 -0
  7. package/es/ui/src/Form/src/components/ApiModalSelect/DeptTree.vue.d.ts +130 -0
  8. package/es/ui/src/Form/src/components/ApiModalSelect/Table.vue.d.ts +11 -0
  9. package/es/ui/src/Form/src/components/ApiRadioGroup.vue.d.ts +2 -0
  10. package/es/ui/src/Form/src/components/ApiSelect.vue.d.ts +2 -0
  11. package/es/ui/src/Form/src/components/ApiTransfer.vue.d.ts +2 -0
  12. package/es/ui/src/Form/src/components/ApiTree.vue.d.ts +2 -0
  13. package/es/ui/src/Form/src/components/ApiTreeSelect.vue.d.ts +2 -0
  14. package/es/ui/src/Form/src/components/FormAction.vue.d.ts +2 -0
  15. package/es/ui/src/Form/src/components/FormItem.vue.d.ts +72 -0
  16. package/es/ui/src/Form/src/components/RadioButtonGroup.vue.d.ts +35 -0
  17. package/es/ui/src/Form/src/helper.d.ts +14 -0
  18. package/es/ui/src/Form/src/hooks/useAutoFocus.d.ts +10 -0
  19. package/es/ui/src/Form/src/hooks/useComponentRegister.d.ts +3 -0
  20. package/es/ui/src/Form/src/hooks/useForm.d.ts +10 -0
  21. package/es/ui/src/Form/src/hooks/useFormContext.d.ts +8 -0
  22. package/es/ui/src/Form/src/hooks/useFormEvents.d.ts +28 -0
  23. package/es/ui/src/Form/src/hooks/useFormValues.d.ts +13 -0
  24. package/es/ui/src/Form/src/hooks/useLabelWidth.d.ts +318 -0
  25. package/es/ui/src/Form/src/props.d.ts +2 -0
  26. package/es/ui/src/Form/src/types/hooks.d.ts +6 -0
  27. package/es/ui/src/Table/index.d.ts +1 -1
  28. package/es/ui/src/Table/src/hooks/useTable.d.ts +1 -1
  29. package/lib/index.js +8 -8
  30. package/package.json +1 -1
package/es/index.js CHANGED
@@ -8263,13 +8263,6 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
8263
8263
  ], 64);
8264
8264
  }
8265
8265
  const BasicForm = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["render", _sfc_render$n]]);
8266
- const index$2 = "";
8267
- function useComponentRegister(compName, comp) {
8268
- add(compName, comp);
8269
- tryOnUnmounted(() => {
8270
- del(compName);
8271
- });
8272
- }
8273
8266
  function useForm(props2) {
8274
8267
  const formRef = ref(null);
8275
8268
  const loadedRef = ref(false);
@@ -9471,7 +9464,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
9471
9464
  };
9472
9465
  }
9473
9466
  });
9474
- const index$1 = "";
9467
+ const index$2 = "";
9475
9468
  const _sfc_main$u = /* @__PURE__ */ defineComponent({
9476
9469
  __name: "DeptTree",
9477
9470
  props: {
@@ -9757,6 +9750,13 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
9757
9750
  });
9758
9751
  const ApiModalSelect_vue_vue_type_style_index_0_scoped_dc00479e_lang = "";
9759
9752
  const ApiModalSelect = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-dc00479e"]]);
9753
+ function useComponentRegister(compName, comp) {
9754
+ add(compName, comp);
9755
+ tryOnUnmounted(() => {
9756
+ del(compName);
9757
+ });
9758
+ }
9759
+ const index$1 = "";
9760
9760
  const _sfc_main$q = defineComponent({
9761
9761
  name: "PageFooter",
9762
9762
  inheritAttrs: false,
package/es/style.css CHANGED
@@ -510,97 +510,6 @@ span.iconify {
510
510
  /* stylelint-disable no-duplicate-selectors */
511
511
  /* stylelint-disable */
512
512
  /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
513
- .shy-basic-form {
514
- display: flex;
515
- justify-content: space-between;
516
- }
517
- .shy-basic-form-action {
518
- width: 200px !important;
519
- }
520
- .shy-basic-form-input {
521
- flex: 1;
522
- }
523
- .shy-basic-form-toggle {
524
- position: relative;
525
- display: flex;
526
- justify-content: center;
527
- }
528
- .shy-basic-form-toggle-left__line {
529
- position: absolute;
530
- top: 50%;
531
- left: 0;
532
- display: block;
533
- margin-top: -0.5px;
534
- width: calc(50% - 16px);
535
- height: 1px;
536
- background: #f0f0f0;
537
- content: '';
538
- }
539
- .shy-basic-form-toggle-right__line {
540
- position: absolute;
541
- top: 50%;
542
- right: 0;
543
- display: block;
544
- margin-top: -0.5px;
545
- width: calc(50% - 16px);
546
- height: 1px;
547
- background: #f0f0f0;
548
- content: '';
549
- }
550
- .shy-basic-form-toggle-icon {
551
- display: flex;
552
- justify-content: center;
553
- align-items: center;
554
- width: 32px;
555
- height: 12px;
556
- border: 1px solid #f0f0f0;
557
- border-radius: 6px;
558
- transition: all 0.2s;
559
- cursor: pointer;
560
- }
561
- .shy-basic-form-toggle-icon.expend {
562
- transform: rotate(180deg);
563
- }
564
- .shy-basic-form .ant-form-item-label label::after {
565
- margin: 0 6px 0 2px;
566
- }
567
- .shy-basic-form .ant-form-item-with-help {
568
- margin-bottom: 0;
569
- }
570
- .shy-basic-form .ant-form-item:not(.ant-form-item-with-help) {
571
- margin-bottom: 20px;
572
- }
573
- .shy-basic-form .ant-form-item.suffix-item .ant-form-item-children {
574
- display: flex;
575
- }
576
- .shy-basic-form .ant-form-item.suffix-item .ant-form-item-control {
577
- margin-top: 4px;
578
- }
579
- .shy-basic-form .ant-form-item.suffix-item .suffix {
580
- display: inline-flex;
581
- align-items: center;
582
- padding-left: 6px;
583
- margin-top: 1px;
584
- line-height: 1;
585
- }
586
- .shy-basic-form .ant-form-explain {
587
- font-size: 14px;
588
- }
589
- .shy-basic-form--compact .ant-form-item {
590
- margin-bottom: 8px !important;
591
- }
592
- .shy-form-action .ant-form-item-control-input-content {
593
- display: flex;
594
- justify-content: flex-end;
595
- width: 100%;
596
- flex: 1;
597
- }
598
- .shy-form-action .ant-form-item-control-input-content button {
599
- margin: 0 5px;
600
- }
601
- /* stylelint-disable no-duplicate-selectors */
602
- /* stylelint-disable */
603
- /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
604
513
  .shy-search[data-v-a0f20f9d] {
605
514
  position: relative;
606
515
  display: flex;
@@ -744,6 +653,97 @@ span.iconify {
744
653
  /* stylelint-disable no-duplicate-selectors */
745
654
  /* stylelint-disable */
746
655
  /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
656
+ .shy-basic-form {
657
+ display: flex;
658
+ justify-content: space-between;
659
+ }
660
+ .shy-basic-form-action {
661
+ width: 200px !important;
662
+ }
663
+ .shy-basic-form-input {
664
+ flex: 1;
665
+ }
666
+ .shy-basic-form-toggle {
667
+ position: relative;
668
+ display: flex;
669
+ justify-content: center;
670
+ }
671
+ .shy-basic-form-toggle-left__line {
672
+ position: absolute;
673
+ top: 50%;
674
+ left: 0;
675
+ display: block;
676
+ margin-top: -0.5px;
677
+ width: calc(50% - 16px);
678
+ height: 1px;
679
+ background: #f0f0f0;
680
+ content: '';
681
+ }
682
+ .shy-basic-form-toggle-right__line {
683
+ position: absolute;
684
+ top: 50%;
685
+ right: 0;
686
+ display: block;
687
+ margin-top: -0.5px;
688
+ width: calc(50% - 16px);
689
+ height: 1px;
690
+ background: #f0f0f0;
691
+ content: '';
692
+ }
693
+ .shy-basic-form-toggle-icon {
694
+ display: flex;
695
+ justify-content: center;
696
+ align-items: center;
697
+ width: 32px;
698
+ height: 12px;
699
+ border: 1px solid #f0f0f0;
700
+ border-radius: 6px;
701
+ transition: all 0.2s;
702
+ cursor: pointer;
703
+ }
704
+ .shy-basic-form-toggle-icon.expend {
705
+ transform: rotate(180deg);
706
+ }
707
+ .shy-basic-form .ant-form-item-label label::after {
708
+ margin: 0 6px 0 2px;
709
+ }
710
+ .shy-basic-form .ant-form-item-with-help {
711
+ margin-bottom: 0;
712
+ }
713
+ .shy-basic-form .ant-form-item:not(.ant-form-item-with-help) {
714
+ margin-bottom: 20px;
715
+ }
716
+ .shy-basic-form .ant-form-item.suffix-item .ant-form-item-children {
717
+ display: flex;
718
+ }
719
+ .shy-basic-form .ant-form-item.suffix-item .ant-form-item-control {
720
+ margin-top: 4px;
721
+ }
722
+ .shy-basic-form .ant-form-item.suffix-item .suffix {
723
+ display: inline-flex;
724
+ align-items: center;
725
+ padding-left: 6px;
726
+ margin-top: 1px;
727
+ line-height: 1;
728
+ }
729
+ .shy-basic-form .ant-form-explain {
730
+ font-size: 14px;
731
+ }
732
+ .shy-basic-form--compact .ant-form-item {
733
+ margin-bottom: 8px !important;
734
+ }
735
+ .shy-form-action .ant-form-item-control-input-content {
736
+ display: flex;
737
+ justify-content: flex-end;
738
+ width: 100%;
739
+ flex: 1;
740
+ }
741
+ .shy-form-action .ant-form-item-control-input-content button {
742
+ margin: 0 5px;
743
+ }
744
+ /* stylelint-disable no-duplicate-selectors */
745
+ /* stylelint-disable */
746
+ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
747
747
  .shy-page-footer[data-v-b4695833] {
748
748
  position: fixed;
749
749
  right: 0;
@@ -1,11 +1,13 @@
1
- export type BasicForm = any
2
- export type useForm = any
3
- export type ApiSelect = any
4
- export type RadioButtonGroup = any
5
- export type ApiTreeSelect = any
6
- export type ApiTree = any
7
- export type ApiRadioGroup = any
8
- export type ApiCascader = any
9
- export type ApiTransfer = any
10
- export type TableChildren = any
11
- export type ApiModalSelect = any
1
+ import BasicForm from './src/BasicForm.vue';
2
+ import { useForm } from './src/hooks/useForm';
3
+ import ApiSelect from './src/components/ApiSelect.vue';
4
+ import RadioButtonGroup from './src/components/RadioButtonGroup.vue';
5
+ import ApiTreeSelect from './src/components/ApiTreeSelect.vue';
6
+ import ApiTree from './src/components/ApiTree.vue';
7
+ import ApiRadioGroup from './src/components/ApiRadioGroup.vue';
8
+ import ApiCascader from './src/components/ApiCascader.vue';
9
+ import ApiTransfer from './src/components/ApiTransfer.vue';
10
+ import TableChildren from './src/components/Table.vue';
11
+ import ApiModalSelect from './src/components/ApiModalSelect/ApiModalSelect.vue';
12
+ export { useComponentRegister } from './src/hooks/useComponentRegister';
13
+ export { BasicForm, useForm, ApiSelect, RadioButtonGroup, ApiTreeSelect, ApiTree, ApiRadioGroup, ApiCascader, ApiTransfer, TableChildren, ApiModalSelect };
@@ -0,0 +1,2 @@
1
+ declare const _sfc_main: import("vue").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>;
2
+ export default _sfc_main;
@@ -0,0 +1,6 @@
1
+ import type { Component } from 'vue';
2
+ import type { ComponentType } from './types/index';
3
+ declare const componentMap: Map<ComponentType, Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>;
4
+ export declare function add(compName: ComponentType, component: Component): void;
5
+ export declare function del(compName: ComponentType): void;
6
+ export { componentMap };
@@ -0,0 +1,2 @@
1
+ declare const _sfc_main: import("vue").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>;
2
+ export default _sfc_main;
@@ -0,0 +1,130 @@
1
+ import { TreeItem } from '../../../../Tree';
2
+ declare const _sfc_main: import("vue").DefineComponent<{
3
+ api: {
4
+ default: () => () => Promise<unknown>;
5
+ };
6
+ fieldNames: {
7
+ default: () => {
8
+ label: string;
9
+ value: string;
10
+ };
11
+ };
12
+ }, {
13
+ treeData: any;
14
+ searchToolbar: import("vue").Ref<boolean>;
15
+ emit: (event: "select", ...args: any[]) => void;
16
+ props: any;
17
+ fetch: () => Promise<void>;
18
+ handleSelect: (keys: string) => void;
19
+ readonly BasicTree: import("vue").DefineComponent<{
20
+ value: import("@shy-plugins/utils").BuildPropReturn<PropType<import("../../../../Tree").KeyType[] | import("../../../../Tree").CheckKeys>, (() => import("../../../../Tree").KeyType[]) | (() => import("../../../../Tree").KeyType[]) | (() => {
21
+ checked: string[] | number[];
22
+ halfChecked: string[] | number[];
23
+ }), unknown, unknown, unknown>;
24
+ renderIcon: import("@shy-plugins/utils").BuildPropReturn<PropType<(params: Recordable<any>) => string>, ((params: Recordable<any>) => string) | (() => (params: Recordable<any>) => string), unknown, unknown, unknown>;
25
+ helpMessage: import("@shy-plugins/utils").BuildPropReturn<PropType<string | string[]>, string | (() => string), unknown, unknown, unknown>;
26
+ title: import("@shy-plugins/utils").BuildPropReturn<StringConstructor, string | (() => string), unknown, unknown, unknown>;
27
+ toolbar: BooleanConstructor;
28
+ search: BooleanConstructor;
29
+ searchValue: import("@shy-plugins/utils").BuildPropReturn<StringConstructor, string | (() => string), unknown, unknown, unknown>;
30
+ checkStrictly: BooleanConstructor;
31
+ clickRowToExpand: import("@shy-plugins/utils").BuildPropReturn<BooleanConstructor, boolean | (() => false) | (() => true), unknown, unknown, unknown>;
32
+ checkable: BooleanConstructor;
33
+ defaultExpandLevel: import("@shy-plugins/utils").BuildPropReturn<PropType<string | number>, string | (() => string), unknown, unknown, unknown>;
34
+ defaultExpandAll: BooleanConstructor;
35
+ fieldNames: import("@shy-plugins/utils").BuildPropReturn<PropType<import("../../../../Tree").FieldNames>, unknown, unknown, unknown, unknown>;
36
+ treeData: import("@shy-plugins/utils").BuildPropReturn<PropType<import("ant-design-vue/es/vc-tree/interface").DataNode[]>, () => import("ant-design-vue/es/vc-tree/interface").DataNode[], unknown, unknown, unknown>;
37
+ actionList: import("@shy-plugins/utils").BuildPropReturn<PropType<import("../../../../Tree").TreeActionItem[]>, () => any[], unknown, unknown, unknown>;
38
+ expandedKeys: import("@shy-plugins/utils").BuildPropReturn<PropType<import("../../../../Tree").KeyType[]>, () => any[], unknown, unknown, unknown>;
39
+ selectedKeys: import("@shy-plugins/utils").BuildPropReturn<PropType<import("../../../../Tree").KeyType[]>, () => any[], unknown, unknown, unknown>;
40
+ checkedKeys: import("@shy-plugins/utils").BuildPropReturn<PropType<import("../../../../Tree").CheckKeys>, () => any[], unknown, unknown, unknown>;
41
+ beforeRightClick: import("@shy-plugins/utils").BuildPropReturn<PropType<(...arg: any) => import("../../../../Tree").ContextMenuOptions | import("../../../../Tree/src/types/tree").ContextMenuItem[]>, any, unknown, unknown, unknown>;
42
+ rightMenuList: import("@shy-plugins/utils").BuildPropReturn<PropType<import("../../../../Tree/src/types/tree").ContextMenuItem[]>, () => import("../../../../Tree/src/types/tree").ContextMenuItem[], unknown, unknown, unknown>;
43
+ filterFn: import("@shy-plugins/utils").BuildPropReturn<PropType<(searchValue: any, node: TreeItem, fieldNames: import("../../../../Tree").FieldNames) => boolean>, any, unknown, unknown, unknown>;
44
+ highlight: import("@shy-plugins/utils").BuildPropReturn<PropType<String | Boolean>, boolean | (() => false) | (() => true), unknown, unknown, unknown>;
45
+ expandOnSearch: BooleanConstructor;
46
+ checkOnSearch: BooleanConstructor;
47
+ selectedOnSearch: BooleanConstructor;
48
+ loading: import("@shy-plugins/utils").BuildPropReturn<BooleanConstructor, boolean | (() => false) | (() => true), unknown, unknown, unknown>;
49
+ treeWrapperClassName: StringConstructor;
50
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
51
+ value: import("@shy-plugins/utils").BuildPropReturn<PropType<import("../../../../Tree").KeyType[] | import("../../../../Tree").CheckKeys>, (() => import("../../../../Tree").KeyType[]) | (() => import("../../../../Tree").KeyType[]) | (() => {
52
+ checked: string[] | number[];
53
+ halfChecked: string[] | number[];
54
+ }), unknown, unknown, unknown>;
55
+ renderIcon: import("@shy-plugins/utils").BuildPropReturn<PropType<(params: Recordable<any>) => string>, ((params: Recordable<any>) => string) | (() => (params: Recordable<any>) => string), unknown, unknown, unknown>;
56
+ helpMessage: import("@shy-plugins/utils").BuildPropReturn<PropType<string | string[]>, string | (() => string), unknown, unknown, unknown>;
57
+ title: import("@shy-plugins/utils").BuildPropReturn<StringConstructor, string | (() => string), unknown, unknown, unknown>;
58
+ toolbar: BooleanConstructor;
59
+ search: BooleanConstructor;
60
+ searchValue: import("@shy-plugins/utils").BuildPropReturn<StringConstructor, string | (() => string), unknown, unknown, unknown>;
61
+ checkStrictly: BooleanConstructor;
62
+ clickRowToExpand: import("@shy-plugins/utils").BuildPropReturn<BooleanConstructor, boolean | (() => false) | (() => true), unknown, unknown, unknown>;
63
+ checkable: BooleanConstructor;
64
+ defaultExpandLevel: import("@shy-plugins/utils").BuildPropReturn<PropType<string | number>, string | (() => string), unknown, unknown, unknown>;
65
+ defaultExpandAll: BooleanConstructor;
66
+ fieldNames: import("@shy-plugins/utils").BuildPropReturn<PropType<import("../../../../Tree").FieldNames>, unknown, unknown, unknown, unknown>;
67
+ treeData: import("@shy-plugins/utils").BuildPropReturn<PropType<import("ant-design-vue/es/vc-tree/interface").DataNode[]>, () => import("ant-design-vue/es/vc-tree/interface").DataNode[], unknown, unknown, unknown>;
68
+ actionList: import("@shy-plugins/utils").BuildPropReturn<PropType<import("../../../../Tree").TreeActionItem[]>, () => any[], unknown, unknown, unknown>;
69
+ expandedKeys: import("@shy-plugins/utils").BuildPropReturn<PropType<import("../../../../Tree").KeyType[]>, () => any[], unknown, unknown, unknown>;
70
+ selectedKeys: import("@shy-plugins/utils").BuildPropReturn<PropType<import("../../../../Tree").KeyType[]>, () => any[], unknown, unknown, unknown>;
71
+ checkedKeys: import("@shy-plugins/utils").BuildPropReturn<PropType<import("../../../../Tree").CheckKeys>, () => any[], unknown, unknown, unknown>;
72
+ beforeRightClick: import("@shy-plugins/utils").BuildPropReturn<PropType<(...arg: any) => import("../../../../Tree").ContextMenuOptions | import("../../../../Tree/src/types/tree").ContextMenuItem[]>, any, unknown, unknown, unknown>;
73
+ rightMenuList: import("@shy-plugins/utils").BuildPropReturn<PropType<import("../../../../Tree/src/types/tree").ContextMenuItem[]>, () => import("../../../../Tree/src/types/tree").ContextMenuItem[], unknown, unknown, unknown>;
74
+ filterFn: import("@shy-plugins/utils").BuildPropReturn<PropType<(searchValue: any, node: TreeItem, fieldNames: import("../../../../Tree").FieldNames) => boolean>, any, unknown, unknown, unknown>;
75
+ highlight: import("@shy-plugins/utils").BuildPropReturn<PropType<String | Boolean>, boolean | (() => false) | (() => true), unknown, unknown, unknown>;
76
+ expandOnSearch: BooleanConstructor;
77
+ checkOnSearch: BooleanConstructor;
78
+ selectedOnSearch: BooleanConstructor;
79
+ loading: import("@shy-plugins/utils").BuildPropReturn<BooleanConstructor, boolean | (() => false) | (() => true), unknown, unknown, unknown>;
80
+ treeWrapperClassName: StringConstructor;
81
+ }>> & {
82
+ [x: `on${Capitalize<string>}`]: (...args: any[]) => any;
83
+ }, {
84
+ title: string;
85
+ loading: import("@shy-plugins/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
86
+ value: import("@shy-plugins/utils").BuildPropType<PropType<import("../../../../Tree").KeyType[] | import("../../../../Tree").CheckKeys>, unknown, unknown>;
87
+ helpMessage: import("@shy-plugins/utils").BuildPropType<PropType<string | string[]>, unknown, unknown>;
88
+ search: boolean;
89
+ selectedKeys: import("../../../../Tree").KeyType[];
90
+ fieldNames: undefined;
91
+ searchValue: string;
92
+ treeData: import("ant-design-vue/es/vc-tree/interface").DataNode[];
93
+ checkStrictly: boolean;
94
+ checkable: boolean;
95
+ defaultExpandAll: boolean;
96
+ expandedKeys: import("../../../../Tree").KeyType[];
97
+ checkedKeys: import("../../../../Tree").CheckKeys;
98
+ renderIcon: (params: Recordable<any>) => string;
99
+ toolbar: boolean;
100
+ clickRowToExpand: import("@shy-plugins/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
101
+ defaultExpandLevel: import("@shy-plugins/utils").BuildPropType<PropType<string | number>, unknown, unknown>;
102
+ actionList: import("../../../../Tree").TreeActionItem[];
103
+ beforeRightClick: (...arg: any) => import("../../../../Tree").ContextMenuOptions | import("../../../../Tree/src/types/tree").ContextMenuItem[];
104
+ rightMenuList: import("../../../../Tree/src/types/tree").ContextMenuItem[];
105
+ filterFn: (searchValue: any, node: TreeItem, fieldNames: import("../../../../Tree").FieldNames) => boolean;
106
+ highlight: import("@shy-plugins/utils").BuildPropType<PropType<String | Boolean>, unknown, unknown>;
107
+ expandOnSearch: boolean;
108
+ checkOnSearch: boolean;
109
+ selectedOnSearch: boolean;
110
+ }>;
111
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "select"[], "select", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
112
+ api: {
113
+ default: () => () => Promise<unknown>;
114
+ };
115
+ fieldNames: {
116
+ default: () => {
117
+ label: string;
118
+ value: string;
119
+ };
120
+ };
121
+ }>> & {
122
+ onSelect?: (...args: any[]) => any;
123
+ }, {
124
+ fieldNames: {
125
+ label: string;
126
+ value: string;
127
+ };
128
+ api: () => Promise<unknown>;
129
+ }>;
130
+ export default _sfc_main;
@@ -0,0 +1,11 @@
1
+ declare const _sfc_main: import("vue").DefineComponent<{}, {
2
+ getTableProps: any;
3
+ registerTable: (instance: import("../../../../Table").TableActionType, formInstance: import("../../../../Table").TableActionType & {
4
+ getForm: () => import("../../../../form/src/types/form").FormActionType;
5
+ }) => void;
6
+ tableAction: import("../../../../Table").TableActionType & {
7
+ getForm: () => import("../../../../form/src/types/form").FormActionType;
8
+ };
9
+ readonly BasicTable: import("vue").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>;
10
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
11
+ export default _sfc_main;
@@ -0,0 +1,2 @@
1
+ declare const _sfc_main: import("vue").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>;
2
+ export default _sfc_main;
@@ -0,0 +1,2 @@
1
+ declare const _sfc_main: import("vue").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>;
2
+ export default _sfc_main;
@@ -0,0 +1,2 @@
1
+ declare const _sfc_main: import("vue").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>;
2
+ export default _sfc_main;
@@ -0,0 +1,2 @@
1
+ declare const _sfc_main: import("vue").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>;
2
+ export default _sfc_main;
@@ -0,0 +1,2 @@
1
+ declare const _sfc_main: import("vue").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>;
2
+ export default _sfc_main;
@@ -0,0 +1,2 @@
1
+ declare const _sfc_main: import("vue").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>;
2
+ export default _sfc_main;
@@ -0,0 +1,72 @@
1
+ import type { PropType } from 'vue';
2
+ import type { FormActionType, FormProps, FormSchema } from '../types/form';
3
+ import type { TableActionType } from '../../../Table';
4
+ declare const _sfc_main: import("vue").DefineComponent<{
5
+ schema: {
6
+ type: PropType<FormSchema>;
7
+ default: () => {};
8
+ };
9
+ formProps: {
10
+ type: PropType<FormProps>;
11
+ default: () => {};
12
+ };
13
+ allDefaultValues: {
14
+ type: PropType<Recordable<any>>;
15
+ default: () => {};
16
+ };
17
+ formModel: {
18
+ type: PropType<Recordable<any>>;
19
+ default: () => {};
20
+ };
21
+ setFormModel: {
22
+ type: PropType<(key: string, value: any) => void>;
23
+ default: any;
24
+ };
25
+ tableAction: {
26
+ type: PropType<TableActionType>;
27
+ };
28
+ formActionType: {
29
+ type: PropType<FormActionType>;
30
+ };
31
+ isAdvanced: {
32
+ type: BooleanConstructor;
33
+ };
34
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
35
+ schema: {
36
+ type: PropType<FormSchema>;
37
+ default: () => {};
38
+ };
39
+ formProps: {
40
+ type: PropType<FormProps>;
41
+ default: () => {};
42
+ };
43
+ allDefaultValues: {
44
+ type: PropType<Recordable<any>>;
45
+ default: () => {};
46
+ };
47
+ formModel: {
48
+ type: PropType<Recordable<any>>;
49
+ default: () => {};
50
+ };
51
+ setFormModel: {
52
+ type: PropType<(key: string, value: any) => void>;
53
+ default: any;
54
+ };
55
+ tableAction: {
56
+ type: PropType<TableActionType>;
57
+ };
58
+ formActionType: {
59
+ type: PropType<FormActionType>;
60
+ };
61
+ isAdvanced: {
62
+ type: BooleanConstructor;
63
+ };
64
+ }>>, {
65
+ schema: FormSchema;
66
+ formProps: {};
67
+ allDefaultValues: {};
68
+ formModel: {};
69
+ setFormModel: (key: string, value: any) => void;
70
+ isAdvanced: boolean;
71
+ }>;
72
+ export default _sfc_main;
@@ -0,0 +1,35 @@
1
+ import { PropType } from 'vue';
2
+ declare type OptionsItem = {
3
+ label: string;
4
+ value: string | number | boolean;
5
+ disabled?: boolean;
6
+ };
7
+ declare type RadioItem = string | OptionsItem;
8
+ declare const _sfc_main: import("vue").DefineComponent<{
9
+ value: {
10
+ type: PropType<string | number | boolean>;
11
+ };
12
+ options: {
13
+ type: PropType<RadioItem[]>;
14
+ default: () => any[];
15
+ };
16
+ }, {
17
+ state: import("vue").WritableComputedRef<string | number | boolean | (string | {
18
+ label: string;
19
+ value: string | number | boolean;
20
+ disabled?: boolean;
21
+ })[]>;
22
+ getOptions: import("vue").ComputedRef<OptionsItem[]>;
23
+ attrs: {} | import("vue").Ref<Recordable<any>>;
24
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
25
+ value: {
26
+ type: PropType<string | number | boolean>;
27
+ };
28
+ options: {
29
+ type: PropType<RadioItem[]>;
30
+ default: () => any[];
31
+ };
32
+ }>>, {
33
+ options: RadioItem[];
34
+ }>;
35
+ export default _sfc_main;
@@ -0,0 +1,14 @@
1
+ import type { ValidationRule } from 'ant-design-vue/lib/form/Form';
2
+ import type { ComponentType } from './types/index';
3
+ /**
4
+ * @description: 生成placeholder
5
+ */
6
+ export declare function createPlaceholderMessage(component: ComponentType): "" | "请输入" | "请选择";
7
+ export declare function setComponentRuleType(rule: ValidationRule, component: ComponentType, valueFormat: string): void;
8
+ export declare function processDateValue(attr: Recordable, component: string): void;
9
+ export declare function handleInputNumberValue(component?: ComponentType, val?: any): any;
10
+ /**
11
+ * 时间字段
12
+ */
13
+ export declare const dateItemType: string[];
14
+ export declare const defaultValueComponents: string[];
@@ -0,0 +1,10 @@
1
+ import type { ComputedRef, Ref } from 'vue';
2
+ import type { FormSchema, FormActionType, FormProps } from '../types/form';
3
+ interface UseAutoFocusContext {
4
+ getSchema: ComputedRef<FormSchema[]>;
5
+ getProps: ComputedRef<FormProps>;
6
+ isInitedDefault: Ref<boolean>;
7
+ formElRef: Ref<FormActionType>;
8
+ }
9
+ export declare function useAutoFocus({ getSchema, getProps, formElRef, isInitedDefault }: UseAutoFocusContext): Promise<void>;
10
+ export {};
@@ -0,0 +1,3 @@
1
+ import type { ComponentType } from '../types';
2
+ import type { Component } from 'vue';
3
+ export declare function useComponentRegister(compName: ComponentType, comp: Component): void;
@@ -0,0 +1,10 @@
1
+ import type { FormProps, UseFormReturnType } from '../types/form';
2
+ import type { NamePath } from 'ant-design-vue/lib/form/interface';
3
+ import { Ref, ComputedRef } from 'vue';
4
+ export declare type DynamicProps<T> = {
5
+ [P in keyof T]: Ref<T[P]> | T[P] | ComputedRef<T[P]>;
6
+ };
7
+ export declare type ValidateFields = (nameList?: NamePath[]) => Promise<Recordable>;
8
+ declare type Props = Partial<DynamicProps<FormProps>>;
9
+ export declare function useForm(props?: Props): UseFormReturnType;
10
+ export {};
@@ -0,0 +1,8 @@
1
+ export interface FormContextProps {
2
+ resetAction: () => Promise<void>;
3
+ submitAction: () => Promise<void>;
4
+ }
5
+ export declare function createFormContext(context: FormContextProps): {
6
+ state: any;
7
+ };
8
+ export declare function useFormContext(): FormContextProps;
@@ -0,0 +1,28 @@
1
+ import type { ComputedRef, Ref } from 'vue';
2
+ import type { FormProps, FormSchema, FormActionType } from '../types/form';
3
+ import type { NamePath } from 'ant-design-vue/lib/form/interface';
4
+ interface UseFormActionContext {
5
+ emit: EmitType;
6
+ getProps: ComputedRef<FormProps>;
7
+ getSchema: ComputedRef<FormSchema[]>;
8
+ formModel: Recordable;
9
+ defaultValueRef: Ref<Recordable>;
10
+ formElRef: Ref<FormActionType>;
11
+ schemaRef: Ref<FormSchema[]>;
12
+ handleFormValues: Fn;
13
+ }
14
+ export declare function useFormEvents({ emit, getProps, formModel, getSchema, defaultValueRef, formElRef, schemaRef, handleFormValues }: UseFormActionContext): {
15
+ handleSubmit: (e?: Event) => Promise<void>;
16
+ clearValidate: (name?: string | string[]) => Promise<void>;
17
+ validate: (nameList?: NamePath[] | undefined) => Promise<any>;
18
+ validateFields: (nameList?: NamePath[] | undefined) => Promise<any>;
19
+ getFieldsValue: () => Recordable;
20
+ updateSchema: (data: Partial<FormSchema> | Partial<FormSchema>[]) => Promise<void>;
21
+ resetSchema: (data: Partial<FormSchema> | Partial<FormSchema>[]) => Promise<void>;
22
+ appendSchemaByField: (schema: FormSchema, prefixField?: string, first?: boolean) => Promise<void>;
23
+ removeSchemaByField: (fields: string | string[]) => Promise<void>;
24
+ resetFields: () => Promise<void>;
25
+ setFieldsValue: (values: Recordable) => Promise<void>;
26
+ scrollToField: (name: NamePath, options?: ScrollOptions | undefined) => Promise<void>;
27
+ };
28
+ export {};
@@ -0,0 +1,13 @@
1
+ import type { Ref, ComputedRef } from 'vue';
2
+ import type { FormProps, FormSchema } from '../types/form';
3
+ interface UseFormValuesContext {
4
+ defaultValueRef: Ref<any>;
5
+ getSchema: ComputedRef<FormSchema[]>;
6
+ getProps: ComputedRef<FormProps>;
7
+ formModel: Recordable;
8
+ }
9
+ export declare function useFormValues({ defaultValueRef, getSchema, formModel, getProps }: UseFormValuesContext): {
10
+ handleFormValues: (values: Recordable) => Recordable<any>;
11
+ initDefault: () => void;
12
+ };
13
+ export {};
@@ -0,0 +1,318 @@
1
+ import type { Ref } from 'vue';
2
+ import type { FormProps, FormSchema } from '../types/form';
3
+ export declare function useItemLabelWidth(schemaItemRef: Ref<FormSchema>, propsRef: Ref<FormProps>): import("vue").ComputedRef<{
4
+ labelCol: Partial<import("vue").ExtractPropTypes<{
5
+ span: (NumberConstructor | StringConstructor)[];
6
+ order: (NumberConstructor | StringConstructor)[];
7
+ offset: (NumberConstructor | StringConstructor)[];
8
+ push: (NumberConstructor | StringConstructor)[];
9
+ pull: (NumberConstructor | StringConstructor)[];
10
+ xs: {
11
+ type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
12
+ default: string | number | import("ant-design-vue/lib/grid").ColSize;
13
+ };
14
+ sm: {
15
+ type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
16
+ default: string | number | import("ant-design-vue/lib/grid").ColSize;
17
+ };
18
+ md: {
19
+ type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
20
+ default: string | number | import("ant-design-vue/lib/grid").ColSize;
21
+ };
22
+ lg: {
23
+ type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
24
+ default: string | number | import("ant-design-vue/lib/grid").ColSize;
25
+ };
26
+ xl: {
27
+ type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
28
+ default: string | number | import("ant-design-vue/lib/grid").ColSize;
29
+ };
30
+ xxl: {
31
+ type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
32
+ default: string | number | import("ant-design-vue/lib/grid").ColSize;
33
+ };
34
+ xxxl: {
35
+ type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
36
+ default: string | number | import("ant-design-vue/lib/grid").ColSize;
37
+ };
38
+ prefixCls: StringConstructor;
39
+ flex: (NumberConstructor | StringConstructor)[];
40
+ }>> & import("vue").HTMLAttributes;
41
+ wrapperCol: Partial<import("vue").ExtractPropTypes<{
42
+ span: (NumberConstructor | StringConstructor)[];
43
+ order: (NumberConstructor | StringConstructor)[];
44
+ offset: (NumberConstructor | StringConstructor)[];
45
+ push: (NumberConstructor | StringConstructor)[];
46
+ pull: (NumberConstructor | StringConstructor)[];
47
+ xs: {
48
+ type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
49
+ default: string | number | import("ant-design-vue/lib/grid").ColSize;
50
+ };
51
+ sm: {
52
+ type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
53
+ default: string | number | import("ant-design-vue/lib/grid").ColSize;
54
+ };
55
+ md: {
56
+ type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
57
+ default: string | number | import("ant-design-vue/lib/grid").ColSize;
58
+ };
59
+ lg: {
60
+ type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
61
+ default: string | number | import("ant-design-vue/lib/grid").ColSize;
62
+ };
63
+ xl: {
64
+ type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
65
+ default: string | number | import("ant-design-vue/lib/grid").ColSize;
66
+ };
67
+ xxl: {
68
+ type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
69
+ default: string | number | import("ant-design-vue/lib/grid").ColSize;
70
+ };
71
+ xxxl: {
72
+ type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
73
+ default: string | number | import("ant-design-vue/lib/grid").ColSize;
74
+ };
75
+ prefixCls: StringConstructor;
76
+ flex: (NumberConstructor | StringConstructor)[];
77
+ }>>;
78
+ } | {
79
+ labelCol: {
80
+ xxxl?: string | number | import("ant-design-vue/lib/grid").ColSize;
81
+ xxl?: import("ant-design-vue/lib/grid").ColSize | (string | number) | {
82
+ span: string | number;
83
+ offset: string | number;
84
+ };
85
+ xl?: import("ant-design-vue/lib/grid").ColSize | (string | number) | {
86
+ span: string | number;
87
+ offset: string | number;
88
+ };
89
+ lg?: import("ant-design-vue/lib/grid").ColSize | (string | number) | {
90
+ span: string | number;
91
+ offset: string | number;
92
+ };
93
+ md?: import("ant-design-vue/lib/grid").ColSize | (string | number) | {
94
+ span: string | number;
95
+ offset: string | number;
96
+ };
97
+ sm?: import("ant-design-vue/lib/grid").ColSize | (string | number) | {
98
+ span: string | number;
99
+ offset: string | number;
100
+ };
101
+ xs?: import("ant-design-vue/lib/grid").ColSize | (string | number) | {
102
+ span: string | number;
103
+ offset: string | number;
104
+ };
105
+ span?: string | number;
106
+ prefixCls?: string;
107
+ push?: string | number;
108
+ order?: string | number;
109
+ offset?: string | number;
110
+ pull?: string | number;
111
+ flex?: string | number;
112
+ innerHTML?: string;
113
+ class?: any;
114
+ style: any;
115
+ accesskey?: string;
116
+ contenteditable?: (boolean | "true" | "false") | "inherit";
117
+ contextmenu?: string;
118
+ dir?: string;
119
+ draggable?: boolean | "true" | "false";
120
+ hidden?: boolean | "true" | "false";
121
+ id?: string;
122
+ lang?: string;
123
+ placeholder?: string;
124
+ spellcheck?: boolean | "true" | "false";
125
+ tabindex?: string | number;
126
+ title?: string;
127
+ translate?: "yes" | "no";
128
+ radiogroup?: string;
129
+ role?: string;
130
+ about?: string;
131
+ datatype?: string;
132
+ inlist?: any;
133
+ prefix?: string;
134
+ property?: string;
135
+ resource?: string;
136
+ typeof?: string;
137
+ vocab?: string;
138
+ autocapitalize?: string;
139
+ autocorrect?: string;
140
+ autosave?: string;
141
+ color?: string;
142
+ itemprop?: string;
143
+ itemscope?: boolean | "true" | "false";
144
+ itemtype?: string;
145
+ itemid?: string;
146
+ itemref?: string;
147
+ results?: string | number;
148
+ security?: string;
149
+ unselectable?: "off" | "on";
150
+ inputmode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal";
151
+ is?: string;
152
+ 'aria-activedescendant'?: string;
153
+ 'aria-atomic'?: boolean | "true" | "false";
154
+ 'aria-autocomplete'?: "none" | "inline" | "list" | "both";
155
+ 'aria-busy'?: boolean | "true" | "false";
156
+ 'aria-checked'?: (boolean | "true" | "false") | "mixed";
157
+ 'aria-colcount'?: string | number;
158
+ 'aria-colindex'?: string | number;
159
+ 'aria-colspan'?: string | number;
160
+ 'aria-controls'?: string;
161
+ 'aria-current'?: "time" | (boolean | "true" | "false") | "date" | "page" | "step" | "location";
162
+ 'aria-describedby'?: string;
163
+ 'aria-details'?: string;
164
+ 'aria-disabled'?: boolean | "true" | "false";
165
+ 'aria-dropeffect'?: "link" | "copy" | "none" | "move" | "execute" | "popup";
166
+ 'aria-errormessage'?: string;
167
+ 'aria-expanded'?: boolean | "true" | "false";
168
+ 'aria-flowto'?: string;
169
+ 'aria-grabbed'?: boolean | "true" | "false";
170
+ 'aria-haspopup'?: "dialog" | "menu" | (boolean | "true" | "false") | "grid" | "listbox" | "tree";
171
+ 'aria-hidden'?: boolean | "true" | "false";
172
+ 'aria-invalid'?: (boolean | "true" | "false") | "grammar" | "spelling";
173
+ 'aria-keyshortcuts'?: string;
174
+ 'aria-label'?: string;
175
+ 'aria-labelledby'?: string;
176
+ 'aria-level'?: string | number;
177
+ 'aria-live'?: "off" | "assertive" | "polite";
178
+ 'aria-modal'?: boolean | "true" | "false";
179
+ 'aria-multiline'?: boolean | "true" | "false";
180
+ 'aria-multiselectable'?: boolean | "true" | "false";
181
+ 'aria-orientation'?: "vertical" | "horizontal";
182
+ 'aria-owns'?: string;
183
+ 'aria-placeholder'?: string;
184
+ 'aria-posinset'?: string | number;
185
+ 'aria-pressed'?: (boolean | "true" | "false") | "mixed";
186
+ 'aria-readonly'?: boolean | "true" | "false";
187
+ 'aria-relevant'?: "all" | "text" | "additions" | "additions text" | "removals";
188
+ 'aria-required'?: boolean | "true" | "false";
189
+ 'aria-roledescription'?: string;
190
+ 'aria-rowcount'?: string | number;
191
+ 'aria-rowindex'?: string | number;
192
+ 'aria-rowspan'?: string | number;
193
+ 'aria-selected'?: boolean | "true" | "false";
194
+ 'aria-setsize'?: string | number;
195
+ 'aria-sort'?: "none" | "ascending" | "descending" | "other";
196
+ 'aria-valuemax'?: string | number;
197
+ 'aria-valuemin'?: string | number;
198
+ 'aria-valuenow'?: string | number;
199
+ 'aria-valuetext'?: string;
200
+ onCopy?: (payload: ClipboardEvent) => void;
201
+ onCut?: (payload: ClipboardEvent) => void;
202
+ onPaste?: (payload: ClipboardEvent) => void;
203
+ onCompositionend?: (payload: CompositionEvent) => void;
204
+ onCompositionstart?: (payload: CompositionEvent) => void;
205
+ onCompositionupdate?: (payload: CompositionEvent) => void;
206
+ onDrag?: (payload: DragEvent) => void;
207
+ onDragend?: (payload: DragEvent) => void;
208
+ onDragenter?: (payload: DragEvent) => void;
209
+ onDragexit?: (payload: DragEvent) => void;
210
+ onDragleave?: (payload: DragEvent) => void;
211
+ onDragover?: (payload: DragEvent) => void;
212
+ onDragstart?: (payload: DragEvent) => void;
213
+ onDrop?: (payload: DragEvent) => void;
214
+ onFocus?: (payload: FocusEvent) => void;
215
+ onFocusin?: (payload: FocusEvent) => void;
216
+ onFocusout?: (payload: FocusEvent) => void;
217
+ onBlur?: (payload: FocusEvent) => void;
218
+ onChange?: (payload: Event) => void;
219
+ onBeforeinput?: (payload: Event) => void;
220
+ onInput?: (payload: Event) => void;
221
+ onReset?: (payload: Event) => void;
222
+ onSubmit?: (payload: Event) => void;
223
+ onInvalid?: (payload: Event) => void;
224
+ onLoad?: (payload: Event) => void;
225
+ onError?: (payload: Event) => void;
226
+ onKeydown?: (payload: KeyboardEvent) => void;
227
+ onKeypress?: (payload: KeyboardEvent) => void;
228
+ onKeyup?: (payload: KeyboardEvent) => void;
229
+ onAuxclick?: (payload: MouseEvent) => void;
230
+ onClick?: (payload: MouseEvent) => void;
231
+ onContextmenu?: (payload: MouseEvent) => void;
232
+ onDblclick?: (payload: MouseEvent) => void;
233
+ onMousedown?: (payload: MouseEvent) => void;
234
+ onMouseenter?: (payload: MouseEvent) => void;
235
+ onMouseleave?: (payload: MouseEvent) => void;
236
+ onMousemove?: (payload: MouseEvent) => void;
237
+ onMouseout?: (payload: MouseEvent) => void;
238
+ onMouseover?: (payload: MouseEvent) => void;
239
+ onMouseup?: (payload: MouseEvent) => void;
240
+ onAbort?: (payload: Event) => void;
241
+ onCanplay?: (payload: Event) => void;
242
+ onCanplaythrough?: (payload: Event) => void;
243
+ onDurationchange?: (payload: Event) => void;
244
+ onEmptied?: (payload: Event) => void;
245
+ onEncrypted?: (payload: Event) => void;
246
+ onEnded?: (payload: Event) => void;
247
+ onLoadeddata?: (payload: Event) => void;
248
+ onLoadedmetadata?: (payload: Event) => void;
249
+ onLoadstart?: (payload: Event) => void;
250
+ onPause?: (payload: Event) => void;
251
+ onPlay?: (payload: Event) => void;
252
+ onPlaying?: (payload: Event) => void;
253
+ onProgress?: (payload: Event) => void;
254
+ onRatechange?: (payload: Event) => void;
255
+ onSeeked?: (payload: Event) => void;
256
+ onSeeking?: (payload: Event) => void;
257
+ onStalled?: (payload: Event) => void;
258
+ onSuspend?: (payload: Event) => void;
259
+ onTimeupdate?: (payload: Event) => void;
260
+ onVolumechange?: (payload: Event) => void;
261
+ onWaiting?: (payload: Event) => void;
262
+ onSelect?: (payload: Event) => void;
263
+ onScroll?: (payload: UIEvent) => void;
264
+ onTouchcancel?: (payload: TouchEvent) => void;
265
+ onTouchend?: (payload: TouchEvent) => void;
266
+ onTouchmove?: (payload: TouchEvent) => void;
267
+ onTouchstart?: (payload: TouchEvent) => void;
268
+ onPointerdown?: (payload: PointerEvent) => void;
269
+ onPointermove?: (payload: PointerEvent) => void;
270
+ onPointerup?: (payload: PointerEvent) => void;
271
+ onPointercancel?: (payload: PointerEvent) => void;
272
+ onPointerenter?: (payload: PointerEvent) => void;
273
+ onPointerleave?: (payload: PointerEvent) => void;
274
+ onPointerover?: (payload: PointerEvent) => void;
275
+ onPointerout?: (payload: PointerEvent) => void;
276
+ onWheel?: (payload: WheelEvent) => void;
277
+ onAnimationstart?: (payload: AnimationEvent) => void;
278
+ onAnimationend?: (payload: AnimationEvent) => void;
279
+ onAnimationiteration?: (payload: AnimationEvent) => void;
280
+ onTransitionend?: (payload: TransitionEvent) => void;
281
+ onTransitionstart?: (payload: TransitionEvent) => void;
282
+ };
283
+ wrapperCol: {
284
+ xxxl?: string | number | import("ant-design-vue/lib/grid").ColSize;
285
+ xxl?: import("ant-design-vue/lib/grid").ColSize | (string | number) | {
286
+ span: string | number;
287
+ offset: string | number;
288
+ };
289
+ xl?: import("ant-design-vue/lib/grid").ColSize | (string | number) | {
290
+ span: string | number;
291
+ offset: string | number;
292
+ };
293
+ lg?: import("ant-design-vue/lib/grid").ColSize | (string | number) | {
294
+ span: string | number;
295
+ offset: string | number;
296
+ };
297
+ md?: import("ant-design-vue/lib/grid").ColSize | (string | number) | {
298
+ span: string | number;
299
+ offset: string | number;
300
+ };
301
+ sm?: import("ant-design-vue/lib/grid").ColSize | (string | number) | {
302
+ span: string | number;
303
+ offset: string | number;
304
+ };
305
+ xs?: import("ant-design-vue/lib/grid").ColSize | (string | number) | {
306
+ span: string | number;
307
+ offset: string | number;
308
+ };
309
+ span?: string | number;
310
+ prefixCls?: string;
311
+ push?: string | number;
312
+ order?: string | number;
313
+ offset?: string | number;
314
+ pull?: string | number;
315
+ flex?: string | number;
316
+ style: any;
317
+ };
318
+ }>;
@@ -0,0 +1,2 @@
1
+ import VueTypes from 'vue-types';
2
+ export declare const basicProps: VueTypes;
@@ -0,0 +1,6 @@
1
+ export interface AdvanceState {
2
+ isAdvanced: boolean;
3
+ hideAdvanceBtn: boolean;
4
+ isLoad: boolean;
5
+ actionSpan: number;
6
+ }
@@ -7,5 +7,5 @@ export * from './src/types/table';
7
7
  export * from './src/types/pagination';
8
8
  export * from './src/types/tableAction';
9
9
  export { useTable } from './src/hooks/useTable';
10
- export type { FormSchema, FormProps } from '../form';
10
+ export type { FormSchema, FormProps } from '../form/src/types/form';
11
11
  export type { EditRecordRow } from './src/components/editable';
@@ -1,5 +1,5 @@
1
1
  import type { BasicTableProps, TableActionType } from '../types/table';
2
- import type { FormActionType } from '../../../Form';
2
+ import type { FormActionType } from '../../../Form/src/types/form';
3
3
  import type { ComputedRef, Ref } from 'vue';
4
4
  declare type DynamicProps<T> = {
5
5
  [P in keyof T]: Ref<T[P]> | T[P] | ComputedRef<T[P]>;
package/lib/index.js CHANGED
@@ -8268,13 +8268,6 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
8268
8268
  ], 64);
8269
8269
  }
8270
8270
  const BasicForm = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["render", _sfc_render$n]]);
8271
- const index$2 = "";
8272
- function useComponentRegister(compName, comp) {
8273
- add(compName, comp);
8274
- tryOnUnmounted(() => {
8275
- del(compName);
8276
- });
8277
- }
8278
8271
  function useForm(props2) {
8279
8272
  const formRef = vue.ref(null);
8280
8273
  const loadedRef = vue.ref(false);
@@ -9476,7 +9469,7 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
9476
9469
  };
9477
9470
  }
9478
9471
  });
9479
- const index$1 = "";
9472
+ const index$2 = "";
9480
9473
  const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
9481
9474
  __name: "DeptTree",
9482
9475
  props: {
@@ -9762,6 +9755,13 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
9762
9755
  });
9763
9756
  const ApiModalSelect_vue_vue_type_style_index_0_scoped_dc00479e_lang = "";
9764
9757
  const ApiModalSelect = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-dc00479e"]]);
9758
+ function useComponentRegister(compName, comp) {
9759
+ add(compName, comp);
9760
+ tryOnUnmounted(() => {
9761
+ del(compName);
9762
+ });
9763
+ }
9764
+ const index$1 = "";
9765
9765
  const _sfc_main$q = vue.defineComponent({
9766
9766
  name: "PageFooter",
9767
9767
  inheritAttrs: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "3h1-ui",
3
- "version": "1.2.3",
3
+ "version": "1.2.4",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",