@nocobase/client 0.20.0-alpha.14 → 0.20.0-alpha.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/application/schema-settings/types.d.ts +4 -4
- package/es/block-provider/hooks/index.d.ts +3 -0
- package/es/collection-manager/interfaces/nanoid.d.ts +1 -1
- package/es/collection-manager/interfaces/uuid.d.ts +1 -1
- package/es/index.mjs +295 -334
- package/es/modules/actions/disassociate/DisassociateActionInitializer.d.ts +2 -0
- package/es/modules/actions/disassociate/disassociateActionSettings.d.ts +2 -0
- package/es/modules/blocks/data-blocks/details-multi/DetailsBlockInitializer.d.ts +2 -1
- package/es/modules/blocks/data-blocks/form/FormBlockInitializer.d.ts +2 -1
- package/es/modules/blocks/filter-blocks/collapse/FilterCollapseBlockInitializer.d.ts +2 -2
- package/es/modules/blocks/filter-blocks/form/FilterFormBlockInitializer.d.ts +2 -2
- package/es/schema-initializer/index.d.ts +1 -1
- package/es/schema-initializer/items/DataBlockInitializer.d.ts +2 -2
- package/lib/index.js +74 -74
- package/lib/locale/en_US.js +3 -0
- package/lib/locale/es_ES.js +3 -0
- package/lib/locale/fr_FR.js +3 -0
- package/lib/locale/ja_JP.js +3 -0
- package/lib/locale/ko_KR.js +3 -0
- package/lib/locale/pt_BR.js +3 -0
- package/lib/locale/ru_RU.js +3 -0
- package/lib/locale/tr_TR.js +3 -0
- package/lib/locale/uk_UA.js +3 -0
- package/lib/locale/zh-CN.js +3 -0
- package/lib/locale/zh-TW.js +3 -0
- package/package.json +5 -5
|
@@ -26,9 +26,6 @@ export interface SchemaSettingItemItemType extends SchemaSettingsItemCommon<Sche
|
|
|
26
26
|
export interface SchemaSettingItemGroupType extends SchemaSettingsItemCommon<SchemaSettingsSubMenuProps> {
|
|
27
27
|
type: 'itemGroup';
|
|
28
28
|
}
|
|
29
|
-
export interface SchemaSettingItemSubMenuType extends SchemaSettingsItemCommon<SchemaSettingsSubMenuProps> {
|
|
30
|
-
type: 'subMenu';
|
|
31
|
-
}
|
|
32
29
|
export interface SchemaSettingItemDividerProps extends SchemaSettingsItemCommon {
|
|
33
30
|
type: 'divider';
|
|
34
31
|
}
|
|
@@ -53,10 +50,13 @@ export type SchemaSettingItemModalType = SchemaSettingsItemCommon<SchemaSettings
|
|
|
53
50
|
export type SchemaSettingItemActionModalType = SchemaSettingsItemCommon<SchemaSettingsSelectItemProps> & {
|
|
54
51
|
type: 'actionModal';
|
|
55
52
|
};
|
|
53
|
+
export interface SchemaSettingItemSubMenuType extends SchemaSettingsItemCommon<SchemaSettingsSubMenuProps> {
|
|
54
|
+
type: 'subMenu';
|
|
55
|
+
}
|
|
56
56
|
export interface SchemaSettingItemComponentType<T = {}> extends SchemaSettingsItemCommon<T> {
|
|
57
57
|
Component: string | ComponentType<T>;
|
|
58
58
|
}
|
|
59
|
-
export type SchemaSettingItemAllBuiltType = SchemaSettingItemDividerProps | SchemaSettingItemRemoveType | SchemaSettingItemActionModalType | SchemaSettingItemSwitchType | SchemaSettingItemPopupType | SchemaSettingItemCascaderType | SchemaSettingItemModalType | SchemaSettingItemItemType | SchemaSettingItemSelectType | SchemaSettingItemGroupType;
|
|
59
|
+
export type SchemaSettingItemAllBuiltType = SchemaSettingItemDividerProps | SchemaSettingItemRemoveType | SchemaSettingItemActionModalType | SchemaSettingItemSwitchType | SchemaSettingItemPopupType | SchemaSettingItemCascaderType | SchemaSettingItemModalType | SchemaSettingItemItemType | SchemaSettingItemSelectType | SchemaSettingItemSubMenuType | SchemaSettingItemGroupType;
|
|
60
60
|
export type SchemaSettingsItemType = SchemaSettingItemComponentType | SchemaSettingItemAllBuiltType;
|
|
61
61
|
export type SchemaSettingsItemTypeWithoutName = Omit<SchemaSettingItemComponentType, 'name'> | Omit<SchemaSettingItemAllBuiltType, 'name'>;
|
|
62
62
|
export {};
|
|
@@ -55,6 +55,9 @@ export declare const useDestroyActionProps: () => {
|
|
|
55
55
|
export declare const useRemoveActionProps: (associationName: any) => {
|
|
56
56
|
onClick(value: any): Promise<void>;
|
|
57
57
|
};
|
|
58
|
+
export declare const useDisassociateActionProps: () => {
|
|
59
|
+
onClick(): Promise<void>;
|
|
60
|
+
};
|
|
58
61
|
export declare const useDetailPrintActionProps: () => {
|
|
59
62
|
onClick(): Promise<void>;
|
|
60
63
|
};
|
|
@@ -27,9 +27,9 @@ export declare class NanoidFieldInterface extends CollectionFieldInterface {
|
|
|
27
27
|
type: string;
|
|
28
28
|
title: string;
|
|
29
29
|
required: boolean;
|
|
30
|
-
'x-disabled': boolean;
|
|
31
30
|
'x-decorator': string;
|
|
32
31
|
'x-component': string;
|
|
32
|
+
'x-disabled': string;
|
|
33
33
|
description: string;
|
|
34
34
|
};
|
|
35
35
|
customAlphabet: {
|
|
@@ -28,9 +28,9 @@ export declare class UUIDFieldInterface extends CollectionFieldInterface {
|
|
|
28
28
|
type: string;
|
|
29
29
|
title: string;
|
|
30
30
|
required: boolean;
|
|
31
|
-
'x-disabled': boolean;
|
|
32
31
|
'x-decorator': string;
|
|
33
32
|
'x-component': string;
|
|
33
|
+
'x-disabled': string;
|
|
34
34
|
description: string;
|
|
35
35
|
};
|
|
36
36
|
};
|