@nocobase/client 1.2.21-alpha → 1.2.23-alpha

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 (35) hide show
  1. package/.dumirc.ts +4 -0
  2. package/es/block-provider/hooks/index.d.ts +3 -0
  3. package/es/collection-manager/interfaces/markdown.d.ts +12 -0
  4. package/es/collection-manager/interfaces/properties/operators.d.ts +5 -2
  5. package/es/collection-manager/interfaces/richText.d.ts +4 -1
  6. package/es/data-source/collection-fields-to-initializer-items/CollectionFieldsToFormInitializerItems.d.ts +14 -0
  7. package/es/data-source/collection-fields-to-initializer-items/CollectionFieldsToInitializerItems.d.ts +11 -0
  8. package/es/data-source/collection-fields-to-initializer-items/CollectionFieldsToTableInitializerItems.d.ts +10 -0
  9. package/es/data-source/collection-fields-to-initializer-items/index.d.ts +11 -0
  10. package/es/data-source/collection-fields-to-initializer-items/items/AssociationCollectionFields.d.ts +3 -0
  11. package/es/data-source/collection-fields-to-initializer-items/items/ParentCollectionFields.d.ts +3 -0
  12. package/es/data-source/collection-fields-to-initializer-items/items/SelfFields.d.ts +3 -0
  13. package/es/data-source/collection-fields-to-initializer-items/items/index.d.ts +3 -0
  14. package/es/data-source/collection-fields-to-initializer-items/utils/getInitializerItemsByFields.d.ts +13 -0
  15. package/es/data-source/collection-fields-to-initializer-items/utils/index.d.ts +3 -0
  16. package/es/data-source/collection-fields-to-initializer-items/utils/type.d.ts +116 -0
  17. package/es/data-source/collection-fields-to-initializer-items/utils/useCollectionFieldContext.d.ts +30 -0
  18. package/es/data-source/index.d.ts +1 -0
  19. package/es/index.d.ts +1 -1
  20. package/es/index.mjs +1430 -1041
  21. package/es/modules/actions/link/{useURLAndParamsSchema.d.ts → useURLAndHTMLSchema.d.ts} +42 -1
  22. package/es/schema-initializer/utils.d.ts +1 -0
  23. package/lib/index.js +109 -106
  24. package/lib/locale/en_US.js +2 -1
  25. package/lib/locale/es_ES.js +2 -1
  26. package/lib/locale/fr_FR.js +2 -1
  27. package/lib/locale/ja_JP.js +2 -1
  28. package/lib/locale/ko_KR.js +2 -1
  29. package/lib/locale/pt_BR.js +2 -1
  30. package/lib/locale/ru_RU.js +2 -1
  31. package/lib/locale/tr_TR.js +2 -1
  32. package/lib/locale/uk_UA.js +2 -1
  33. package/lib/locale/zh-CN.js +2 -1
  34. package/lib/locale/zh-TW.js +2 -1
  35. package/package.json +5 -5
@@ -7,7 +7,7 @@
7
7
  * For more information, please refer to: https://www.nocobase.com/agreement.
8
8
  */
9
9
  import React from 'react';
10
- export declare const useURLAndParamsSchema: () => {
10
+ export declare const useURLAndHTMLSchema: () => {
11
11
  urlSchema: {
12
12
  title: string;
13
13
  type: string;
@@ -85,4 +85,45 @@ export declare const useURLAndParamsSchema: () => {
85
85
  };
86
86
  };
87
87
  };
88
+ openInNewWindowSchema: {
89
+ type: string;
90
+ 'x-content': string;
91
+ 'x-decorator': string;
92
+ 'x-component': string;
93
+ 'x-reactions': {
94
+ dependencies: string[];
95
+ fulfill: {
96
+ state: {
97
+ hidden: string;
98
+ };
99
+ };
100
+ };
101
+ };
102
+ modeSchema: {
103
+ title: string;
104
+ 'x-component': string;
105
+ 'x-decorator': string;
106
+ default: string;
107
+ enum: {
108
+ value: string;
109
+ label: string;
110
+ }[];
111
+ };
112
+ htmlSchema: {
113
+ title: string;
114
+ type: string;
115
+ 'x-decorator': string;
116
+ 'x-component': (props: any) => React.JSX.Element;
117
+ 'x-component-props': {
118
+ rows: number;
119
+ };
120
+ 'x-reactions': {
121
+ dependencies: string[];
122
+ fulfill: {
123
+ state: {
124
+ hidden: string;
125
+ };
126
+ };
127
+ };
128
+ };
88
129
  };
@@ -99,6 +99,7 @@ export declare const useFilterInheritsFormItemInitializerFields: (options?: any)
99
99
  [x: string]: SchemaInitializerItemType[];
100
100
  }[];
101
101
  export declare const useCustomFormItemInitializerFields: (options?: any) => SchemaInitializerItemType[];
102
+ export declare const findSchema: (schema: Schema, key: string, action: string) => any;
102
103
  export declare const useCurrentSchema: (action: string, key: string, find?: (schema: Schema, key: string, action: string) => any, rm?: (schema: any, cb: any) => any) => {
103
104
  schema: any;
104
105
  exists: boolean;