@nocobase/test 1.3.33-beta → 1.3.35-beta

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.
@@ -167,6 +167,8 @@ export interface PageConfig {
167
167
  pageSchema?: any;
168
168
  /** 如果为 true 则表示不会更改 PageSchema 的 uid */
169
169
  keepUid?: boolean;
170
+ /** 在 URL 中的 uid,例如:/admin/0ig6xhe03u2 */
171
+ pageUid?: string;
170
172
  }
171
173
  export interface MobilePageConfig extends Omit<PageConfig, 'type'> {
172
174
  type?: 'page' | 'link';
package/es/e2e/index.mjs CHANGED
@@ -66,7 +66,7 @@ class NocoPage {
66
66
  collectionsName;
67
67
  _waitForInit;
68
68
  async init() {
69
- var _a, _b, _c, _d, _e, _f, _g, _h;
69
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i;
70
70
  const waitList = [];
71
71
  if ((_b = (_a = this.options) == null ? void 0 : _a.collections) == null ? void 0 : _b.length) {
72
72
  const collections = omitSomeFields(this.options.collections);
@@ -79,12 +79,13 @@ class NocoPage {
79
79
  name: (_d = this.options) == null ? void 0 : _d.name,
80
80
  pageSchema: (_e = this.options) == null ? void 0 : _e.pageSchema,
81
81
  url: (_f = this.options) == null ? void 0 : _f.url,
82
- keepUid: (_g = this.options) == null ? void 0 : _g.keepUid
82
+ keepUid: (_g = this.options) == null ? void 0 : _g.keepUid,
83
+ pageUid: (_h = this.options) == null ? void 0 : _h.pageUid
83
84
  })
84
85
  );
85
86
  const result = await Promise.all(waitList);
86
87
  this.uid = result[result.length - 1];
87
- this.url = `${((_h = this.options) == null ? void 0 : _h.basePath) || "/admin/"}${this.uid}`;
88
+ this.url = `${((_i = this.options) == null ? void 0 : _i.basePath) || "/admin/"}${this.uid}`;
88
89
  }
89
90
  async goto() {
90
91
  var _a;
@@ -369,7 +370,7 @@ const updateUidOfPageSchema = (uiSchema) => {
369
370
  return uiSchema;
370
371
  };
371
372
  const createPage = async (options) => {
372
- const { type = "page", url, name, pageSchema, keepUid } = options || {};
373
+ const { type = "page", url, name, pageSchema, keepUid, pageUid: pageUidFromOptions } = options || {};
373
374
  const api = await request.newContext({
374
375
  storageState: process.env.PLAYWRIGHT_AUTH_FILE
375
376
  });
@@ -391,7 +392,7 @@ const createPage = async (options) => {
391
392
  };
392
393
  const state = await api.storageState();
393
394
  const headers = getHeaders(state);
394
- const pageUid = uid();
395
+ const pageUid = pageUidFromOptions || uid();
395
396
  const gridName = uid();
396
397
  const result = await api.post(`/api/uiSchemas:insertAdjacent/nocobase-admin-menu?position=beforeEnd`, {
397
398
  headers,
@@ -13696,6 +13697,355 @@ const oneFilterFormBlockWithAllAssociationFields = {
13696
13697
  "x-index": 1
13697
13698
  }
13698
13699
  };
13700
+ const oneFilterFormBlockWithAllAssociationFieldsV1333Beta = {
13701
+ collections: generalWithAssociation,
13702
+ pageSchema: {
13703
+ _isJSONSchemaObject: true,
13704
+ version: "2.0",
13705
+ type: "void",
13706
+ "x-component": "Page",
13707
+ "x-index": 1,
13708
+ properties: {
13709
+ wwjstoiggum: {
13710
+ _isJSONSchemaObject: true,
13711
+ version: "2.0",
13712
+ type: "void",
13713
+ "x-component": "Grid",
13714
+ "x-initializer": "page:addBlock",
13715
+ "x-index": 1,
13716
+ properties: {
13717
+ veez0d6lmes: {
13718
+ _isJSONSchemaObject: true,
13719
+ version: "2.0",
13720
+ type: "void",
13721
+ "x-component": "Grid.Row",
13722
+ "x-app-version": "1.3.33-beta",
13723
+ properties: {
13724
+ aoeb96c9io9: {
13725
+ _isJSONSchemaObject: true,
13726
+ version: "2.0",
13727
+ type: "void",
13728
+ "x-component": "Grid.Col",
13729
+ "x-app-version": "1.3.33-beta",
13730
+ properties: {
13731
+ bddrxac1sy8: {
13732
+ _isJSONSchemaObject: true,
13733
+ version: "2.0",
13734
+ type: "void",
13735
+ "x-decorator": "FilterFormBlockProvider",
13736
+ "x-use-decorator-props": "useFilterFormBlockDecoratorProps",
13737
+ "x-decorator-props": {
13738
+ dataSource: "main",
13739
+ collection: "general"
13740
+ },
13741
+ "x-toolbar": "BlockSchemaToolbar",
13742
+ "x-settings": "blockSettings:filterForm",
13743
+ "x-component": "CardItem",
13744
+ "x-filter-targets": [],
13745
+ "x-app-version": "1.3.33-beta",
13746
+ properties: {
13747
+ ia80x2ee6jk: {
13748
+ _isJSONSchemaObject: true,
13749
+ version: "2.0",
13750
+ type: "void",
13751
+ "x-component": "FormV2",
13752
+ "x-use-component-props": "useFilterFormBlockProps",
13753
+ "x-app-version": "1.3.33-beta",
13754
+ properties: {
13755
+ grid: {
13756
+ _isJSONSchemaObject: true,
13757
+ version: "2.0",
13758
+ type: "void",
13759
+ "x-component": "Grid",
13760
+ "x-initializer": "filterForm:configureFields",
13761
+ "x-app-version": "1.3.33-beta",
13762
+ properties: {
13763
+ osddczg4sa4: {
13764
+ _isJSONSchemaObject: true,
13765
+ version: "2.0",
13766
+ type: "void",
13767
+ "x-component": "Grid.Row",
13768
+ "x-app-version": "1.3.33-beta",
13769
+ properties: {
13770
+ "6smjnnnol7d": {
13771
+ _isJSONSchemaObject: true,
13772
+ version: "2.0",
13773
+ type: "void",
13774
+ "x-component": "Grid.Col",
13775
+ "x-app-version": "1.3.33-beta",
13776
+ properties: {
13777
+ oneToOneBelongsTo: {
13778
+ _isJSONSchemaObject: true,
13779
+ version: "2.0",
13780
+ type: "string",
13781
+ required: false,
13782
+ "x-toolbar": "FormItemSchemaToolbar",
13783
+ "x-settings": "fieldSettings:FilterFormItem",
13784
+ "x-component": "CollectionField",
13785
+ "x-decorator": "FormItem",
13786
+ "x-use-decorator-props": "useFormItemProps",
13787
+ "x-collection-field": "general.oneToOneBelongsTo",
13788
+ "x-component-props": {
13789
+ multiple: false,
13790
+ fieldNames: {
13791
+ label: "id",
13792
+ value: "id"
13793
+ }
13794
+ },
13795
+ "x-app-version": "1.3.33-beta",
13796
+ "x-uid": "ru1rkpoj58o",
13797
+ "x-async": false,
13798
+ "x-index": 1
13799
+ }
13800
+ },
13801
+ "x-uid": "rn702pnhtfr",
13802
+ "x-async": false,
13803
+ "x-index": 1
13804
+ }
13805
+ },
13806
+ "x-uid": "78o33btjnxv",
13807
+ "x-async": false,
13808
+ "x-index": 1
13809
+ },
13810
+ rui9epb6050: {
13811
+ _isJSONSchemaObject: true,
13812
+ version: "2.0",
13813
+ type: "void",
13814
+ "x-component": "Grid.Row",
13815
+ "x-app-version": "1.3.33-beta",
13816
+ properties: {
13817
+ "91j7vnoy7kn": {
13818
+ _isJSONSchemaObject: true,
13819
+ version: "2.0",
13820
+ type: "void",
13821
+ "x-component": "Grid.Col",
13822
+ "x-app-version": "1.3.33-beta",
13823
+ properties: {
13824
+ oneToOneHasOne: {
13825
+ _isJSONSchemaObject: true,
13826
+ version: "2.0",
13827
+ type: "string",
13828
+ required: false,
13829
+ "x-toolbar": "FormItemSchemaToolbar",
13830
+ "x-settings": "fieldSettings:FilterFormItem",
13831
+ "x-component": "CollectionField",
13832
+ "x-decorator": "FormItem",
13833
+ "x-use-decorator-props": "useFormItemProps",
13834
+ "x-collection-field": "general.oneToOneHasOne",
13835
+ "x-component-props": {
13836
+ multiple: false,
13837
+ fieldNames: {
13838
+ label: "id",
13839
+ value: "id"
13840
+ }
13841
+ },
13842
+ "x-app-version": "1.3.33-beta",
13843
+ "x-uid": "mflntqm2g5h",
13844
+ "x-async": false,
13845
+ "x-index": 1
13846
+ }
13847
+ },
13848
+ "x-uid": "xmo1kdyv438",
13849
+ "x-async": false,
13850
+ "x-index": 1
13851
+ }
13852
+ },
13853
+ "x-uid": "5069bfzim4k",
13854
+ "x-async": false,
13855
+ "x-index": 2
13856
+ },
13857
+ xljcz69cnra: {
13858
+ _isJSONSchemaObject: true,
13859
+ version: "2.0",
13860
+ type: "void",
13861
+ "x-component": "Grid.Row",
13862
+ "x-app-version": "1.3.33-beta",
13863
+ properties: {
13864
+ yxbfetadlnk: {
13865
+ _isJSONSchemaObject: true,
13866
+ version: "2.0",
13867
+ type: "void",
13868
+ "x-component": "Grid.Col",
13869
+ "x-app-version": "1.3.33-beta",
13870
+ properties: {
13871
+ oneToMany: {
13872
+ _isJSONSchemaObject: true,
13873
+ version: "2.0",
13874
+ type: "string",
13875
+ required: false,
13876
+ "x-toolbar": "FormItemSchemaToolbar",
13877
+ "x-settings": "fieldSettings:FilterFormItem",
13878
+ "x-component": "CollectionField",
13879
+ "x-decorator": "FormItem",
13880
+ "x-use-decorator-props": "useFormItemProps",
13881
+ "x-collection-field": "general.oneToMany",
13882
+ "x-component-props": {
13883
+ multiple: true,
13884
+ fieldNames: {
13885
+ label: "id",
13886
+ value: "id"
13887
+ }
13888
+ },
13889
+ "x-app-version": "1.3.33-beta",
13890
+ "x-uid": "hfehr0sfzvf",
13891
+ "x-async": false,
13892
+ "x-index": 1
13893
+ }
13894
+ },
13895
+ "x-uid": "3pmxr13mgiz",
13896
+ "x-async": false,
13897
+ "x-index": 1
13898
+ }
13899
+ },
13900
+ "x-uid": "0rtq29eic2v",
13901
+ "x-async": false,
13902
+ "x-index": 3
13903
+ },
13904
+ xbd07gapqj0: {
13905
+ _isJSONSchemaObject: true,
13906
+ version: "2.0",
13907
+ type: "void",
13908
+ "x-component": "Grid.Row",
13909
+ "x-app-version": "1.3.33-beta",
13910
+ properties: {
13911
+ "55v9zbubqcy": {
13912
+ _isJSONSchemaObject: true,
13913
+ version: "2.0",
13914
+ type: "void",
13915
+ "x-component": "Grid.Col",
13916
+ "x-app-version": "1.3.33-beta",
13917
+ properties: {
13918
+ manyToOne: {
13919
+ _isJSONSchemaObject: true,
13920
+ version: "2.0",
13921
+ type: "string",
13922
+ required: false,
13923
+ "x-toolbar": "FormItemSchemaToolbar",
13924
+ "x-settings": "fieldSettings:FilterFormItem",
13925
+ "x-component": "CollectionField",
13926
+ "x-decorator": "FormItem",
13927
+ "x-use-decorator-props": "useFormItemProps",
13928
+ "x-collection-field": "general.manyToOne",
13929
+ "x-component-props": {
13930
+ multiple: false,
13931
+ fieldNames: {
13932
+ label: "id",
13933
+ value: "id"
13934
+ }
13935
+ },
13936
+ "x-app-version": "1.3.33-beta",
13937
+ "x-uid": "w0ugawa0dxk",
13938
+ "x-async": false,
13939
+ "x-index": 1
13940
+ }
13941
+ },
13942
+ "x-uid": "vpkn40vetcq",
13943
+ "x-async": false,
13944
+ "x-index": 1
13945
+ }
13946
+ },
13947
+ "x-uid": "9x163mjqgix",
13948
+ "x-async": false,
13949
+ "x-index": 4
13950
+ },
13951
+ "6mgr3hv8s7d": {
13952
+ _isJSONSchemaObject: true,
13953
+ version: "2.0",
13954
+ type: "void",
13955
+ "x-component": "Grid.Row",
13956
+ "x-app-version": "1.3.33-beta",
13957
+ properties: {
13958
+ ojxf20yrv33: {
13959
+ _isJSONSchemaObject: true,
13960
+ version: "2.0",
13961
+ type: "void",
13962
+ "x-component": "Grid.Col",
13963
+ "x-app-version": "1.3.33-beta",
13964
+ properties: {
13965
+ manyToMany: {
13966
+ _isJSONSchemaObject: true,
13967
+ version: "2.0",
13968
+ type: "string",
13969
+ required: false,
13970
+ "x-toolbar": "FormItemSchemaToolbar",
13971
+ "x-settings": "fieldSettings:FilterFormItem",
13972
+ "x-component": "CollectionField",
13973
+ "x-decorator": "FormItem",
13974
+ "x-use-decorator-props": "useFormItemProps",
13975
+ "x-collection-field": "general.manyToMany",
13976
+ "x-component-props": {
13977
+ multiple: true,
13978
+ fieldNames: {
13979
+ label: "id",
13980
+ value: "id"
13981
+ }
13982
+ },
13983
+ "x-app-version": "1.3.33-beta",
13984
+ "x-uid": "klhocltvq6v",
13985
+ "x-async": false,
13986
+ "x-index": 1
13987
+ }
13988
+ },
13989
+ "x-uid": "frzc0g87myc",
13990
+ "x-async": false,
13991
+ "x-index": 1
13992
+ }
13993
+ },
13994
+ "x-uid": "5mm4gyqqa90",
13995
+ "x-async": false,
13996
+ "x-index": 5
13997
+ }
13998
+ },
13999
+ "x-uid": "4ky8q78hske",
14000
+ "x-async": false,
14001
+ "x-index": 1
14002
+ },
14003
+ z51e14s05s5: {
14004
+ _isJSONSchemaObject: true,
14005
+ version: "2.0",
14006
+ type: "void",
14007
+ "x-initializer": "filterForm:configureActions",
14008
+ "x-component": "ActionBar",
14009
+ "x-component-props": {
14010
+ layout: "one-column",
14011
+ style: {
14012
+ float: "right"
14013
+ }
14014
+ },
14015
+ "x-app-version": "1.3.33-beta",
14016
+ "x-uid": "whjwk4sh4no",
14017
+ "x-async": false,
14018
+ "x-index": 2
14019
+ }
14020
+ },
14021
+ "x-uid": "4pzmjj93o9l",
14022
+ "x-async": false,
14023
+ "x-index": 1
14024
+ }
14025
+ },
14026
+ "x-uid": "v4k9k62avgb",
14027
+ "x-async": false,
14028
+ "x-index": 1
14029
+ }
14030
+ },
14031
+ "x-uid": "4sq6xto3yu9",
14032
+ "x-async": false,
14033
+ "x-index": 1
14034
+ }
14035
+ },
14036
+ "x-uid": "mf2few2trjl",
14037
+ "x-async": false,
14038
+ "x-index": 2
14039
+ }
14040
+ },
14041
+ "x-uid": "xb5aal7tne6",
14042
+ "x-async": false
14043
+ }
14044
+ },
14045
+ "x-uid": "n6tnlu0v6ct",
14046
+ "x-async": true
14047
+ }
14048
+ };
13699
14049
  const oneTableBlockWithAddNewAndViewAndEditAndAdvancedFields = {
13700
14050
  collections: generalWithAdvanced,
13701
14051
  pageSchema: {
@@ -22344,6 +22694,7 @@ export {
22344
22694
  oneEmptyTableBlockWithCustomizeActions,
22345
22695
  oneEmptyTableWithTreeCollection,
22346
22696
  oneFilterFormBlockWithAllAssociationFields,
22697
+ oneFilterFormBlockWithAllAssociationFieldsV1333Beta,
22347
22698
  oneFormAndOneTableWithSameCollection,
22348
22699
  oneFormBlockBasedOnUsers,
22349
22700
  oneFormBlockWithAllAssociationFieldsAndSelectorMode,
@@ -138,6 +138,11 @@ export declare const oneTableBlockWithAddNewAndViewAndEditAndAssociationFields:
138
138
  * 页面中有一个 filter form 区块,包含所有关系字段类型的字段
139
139
  */
140
140
  export declare const oneFilterFormBlockWithAllAssociationFields: PageConfig;
141
+ /**
142
+ * v1.3.33-beta
143
+ * 页面中有一个 filter form 区块,包含所有关系字段类型的字段
144
+ */
145
+ export declare const oneFilterFormBlockWithAllAssociationFieldsV1333Beta: PageConfig;
141
146
  /**
142
147
  * 1. 一个 Table 区块
143
148
  * 2. 点击 Add new 有一个 Form 区块
@@ -167,6 +167,8 @@ export interface PageConfig {
167
167
  pageSchema?: any;
168
168
  /** 如果为 true 则表示不会更改 PageSchema 的 uid */
169
169
  keepUid?: boolean;
170
+ /** 在 URL 中的 uid,例如:/admin/0ig6xhe03u2 */
171
+ pageUid?: string;
170
172
  }
171
173
  export interface MobilePageConfig extends Omit<PageConfig, 'type'> {
172
174
  type?: 'page' | 'link';
@@ -71,7 +71,7 @@ const _NocoPage = class _NocoPage {
71
71
  collectionsName;
72
72
  _waitForInit;
73
73
  async init() {
74
- var _a, _b, _c, _d, _e, _f, _g, _h;
74
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i;
75
75
  const waitList = [];
76
76
  if ((_b = (_a = this.options) == null ? void 0 : _a.collections) == null ? void 0 : _b.length) {
77
77
  const collections = omitSomeFields(this.options.collections);
@@ -84,12 +84,13 @@ const _NocoPage = class _NocoPage {
84
84
  name: (_d = this.options) == null ? void 0 : _d.name,
85
85
  pageSchema: (_e = this.options) == null ? void 0 : _e.pageSchema,
86
86
  url: (_f = this.options) == null ? void 0 : _f.url,
87
- keepUid: (_g = this.options) == null ? void 0 : _g.keepUid
87
+ keepUid: (_g = this.options) == null ? void 0 : _g.keepUid,
88
+ pageUid: (_h = this.options) == null ? void 0 : _h.pageUid
88
89
  })
89
90
  );
90
91
  const result = await Promise.all(waitList);
91
92
  this.uid = result[result.length - 1];
92
- this.url = `${((_h = this.options) == null ? void 0 : _h.basePath) || "/admin/"}${this.uid}`;
93
+ this.url = `${((_i = this.options) == null ? void 0 : _i.basePath) || "/admin/"}${this.uid}`;
93
94
  }
94
95
  async goto() {
95
96
  var _a;
@@ -378,7 +379,7 @@ const updateUidOfPageSchema = /* @__PURE__ */ __name((uiSchema) => {
378
379
  return uiSchema;
379
380
  }, "updateUidOfPageSchema");
380
381
  const createPage = /* @__PURE__ */ __name(async (options) => {
381
- const { type = "page", url, name, pageSchema, keepUid } = options || {};
382
+ const { type = "page", url, name, pageSchema, keepUid, pageUid: pageUidFromOptions } = options || {};
382
383
  const api = await import_test.request.newContext({
383
384
  storageState: process.env.PLAYWRIGHT_AUTH_FILE
384
385
  });
@@ -400,7 +401,7 @@ const createPage = /* @__PURE__ */ __name(async (options) => {
400
401
  };
401
402
  const state = await api.storageState();
402
403
  const headers = getHeaders(state);
403
- const pageUid = (0, import_shared.uid)();
404
+ const pageUid = pageUidFromOptions || (0, import_shared.uid)();
404
405
  const gridName = (0, import_shared.uid)();
405
406
  const result = await api.post(`/api/uiSchemas:insertAdjacent/nocobase-admin-menu?position=beforeEnd`, {
406
407
  headers,
@@ -138,6 +138,11 @@ export declare const oneTableBlockWithAddNewAndViewAndEditAndAssociationFields:
138
138
  * 页面中有一个 filter form 区块,包含所有关系字段类型的字段
139
139
  */
140
140
  export declare const oneFilterFormBlockWithAllAssociationFields: PageConfig;
141
+ /**
142
+ * v1.3.33-beta
143
+ * 页面中有一个 filter form 区块,包含所有关系字段类型的字段
144
+ */
145
+ export declare const oneFilterFormBlockWithAllAssociationFieldsV1333Beta: PageConfig;
141
146
  /**
142
147
  * 1. 一个 Table 区块
143
148
  * 2. 点击 Add new 有一个 Form 区块
@@ -46,6 +46,7 @@ __export(templatesOfPage_exports, {
46
46
  oneEmptyTableBlockWithCustomizeActions: () => oneEmptyTableBlockWithCustomizeActions,
47
47
  oneEmptyTableWithTreeCollection: () => oneEmptyTableWithTreeCollection,
48
48
  oneFilterFormBlockWithAllAssociationFields: () => oneFilterFormBlockWithAllAssociationFields,
49
+ oneFilterFormBlockWithAllAssociationFieldsV1333Beta: () => oneFilterFormBlockWithAllAssociationFieldsV1333Beta,
49
50
  oneFormAndOneTableWithSameCollection: () => oneFormAndOneTableWithSameCollection,
50
51
  oneFormBlockBasedOnUsers: () => oneFormBlockBasedOnUsers,
51
52
  oneFormBlockWithAllAssociationFieldsAndSelectorMode: () => oneFormBlockWithAllAssociationFieldsAndSelectorMode,
@@ -12223,6 +12224,355 @@ const oneFilterFormBlockWithAllAssociationFields = {
12223
12224
  "x-index": 1
12224
12225
  }
12225
12226
  };
12227
+ const oneFilterFormBlockWithAllAssociationFieldsV1333Beta = {
12228
+ collections: import_templatesOfCollection.generalWithAssociation,
12229
+ pageSchema: {
12230
+ _isJSONSchemaObject: true,
12231
+ version: "2.0",
12232
+ type: "void",
12233
+ "x-component": "Page",
12234
+ "x-index": 1,
12235
+ properties: {
12236
+ wwjstoiggum: {
12237
+ _isJSONSchemaObject: true,
12238
+ version: "2.0",
12239
+ type: "void",
12240
+ "x-component": "Grid",
12241
+ "x-initializer": "page:addBlock",
12242
+ "x-index": 1,
12243
+ properties: {
12244
+ veez0d6lmes: {
12245
+ _isJSONSchemaObject: true,
12246
+ version: "2.0",
12247
+ type: "void",
12248
+ "x-component": "Grid.Row",
12249
+ "x-app-version": "1.3.33-beta",
12250
+ properties: {
12251
+ aoeb96c9io9: {
12252
+ _isJSONSchemaObject: true,
12253
+ version: "2.0",
12254
+ type: "void",
12255
+ "x-component": "Grid.Col",
12256
+ "x-app-version": "1.3.33-beta",
12257
+ properties: {
12258
+ bddrxac1sy8: {
12259
+ _isJSONSchemaObject: true,
12260
+ version: "2.0",
12261
+ type: "void",
12262
+ "x-decorator": "FilterFormBlockProvider",
12263
+ "x-use-decorator-props": "useFilterFormBlockDecoratorProps",
12264
+ "x-decorator-props": {
12265
+ dataSource: "main",
12266
+ collection: "general"
12267
+ },
12268
+ "x-toolbar": "BlockSchemaToolbar",
12269
+ "x-settings": "blockSettings:filterForm",
12270
+ "x-component": "CardItem",
12271
+ "x-filter-targets": [],
12272
+ "x-app-version": "1.3.33-beta",
12273
+ properties: {
12274
+ ia80x2ee6jk: {
12275
+ _isJSONSchemaObject: true,
12276
+ version: "2.0",
12277
+ type: "void",
12278
+ "x-component": "FormV2",
12279
+ "x-use-component-props": "useFilterFormBlockProps",
12280
+ "x-app-version": "1.3.33-beta",
12281
+ properties: {
12282
+ grid: {
12283
+ _isJSONSchemaObject: true,
12284
+ version: "2.0",
12285
+ type: "void",
12286
+ "x-component": "Grid",
12287
+ "x-initializer": "filterForm:configureFields",
12288
+ "x-app-version": "1.3.33-beta",
12289
+ properties: {
12290
+ osddczg4sa4: {
12291
+ _isJSONSchemaObject: true,
12292
+ version: "2.0",
12293
+ type: "void",
12294
+ "x-component": "Grid.Row",
12295
+ "x-app-version": "1.3.33-beta",
12296
+ properties: {
12297
+ "6smjnnnol7d": {
12298
+ _isJSONSchemaObject: true,
12299
+ version: "2.0",
12300
+ type: "void",
12301
+ "x-component": "Grid.Col",
12302
+ "x-app-version": "1.3.33-beta",
12303
+ properties: {
12304
+ oneToOneBelongsTo: {
12305
+ _isJSONSchemaObject: true,
12306
+ version: "2.0",
12307
+ type: "string",
12308
+ required: false,
12309
+ "x-toolbar": "FormItemSchemaToolbar",
12310
+ "x-settings": "fieldSettings:FilterFormItem",
12311
+ "x-component": "CollectionField",
12312
+ "x-decorator": "FormItem",
12313
+ "x-use-decorator-props": "useFormItemProps",
12314
+ "x-collection-field": "general.oneToOneBelongsTo",
12315
+ "x-component-props": {
12316
+ multiple: false,
12317
+ fieldNames: {
12318
+ label: "id",
12319
+ value: "id"
12320
+ }
12321
+ },
12322
+ "x-app-version": "1.3.33-beta",
12323
+ "x-uid": "ru1rkpoj58o",
12324
+ "x-async": false,
12325
+ "x-index": 1
12326
+ }
12327
+ },
12328
+ "x-uid": "rn702pnhtfr",
12329
+ "x-async": false,
12330
+ "x-index": 1
12331
+ }
12332
+ },
12333
+ "x-uid": "78o33btjnxv",
12334
+ "x-async": false,
12335
+ "x-index": 1
12336
+ },
12337
+ rui9epb6050: {
12338
+ _isJSONSchemaObject: true,
12339
+ version: "2.0",
12340
+ type: "void",
12341
+ "x-component": "Grid.Row",
12342
+ "x-app-version": "1.3.33-beta",
12343
+ properties: {
12344
+ "91j7vnoy7kn": {
12345
+ _isJSONSchemaObject: true,
12346
+ version: "2.0",
12347
+ type: "void",
12348
+ "x-component": "Grid.Col",
12349
+ "x-app-version": "1.3.33-beta",
12350
+ properties: {
12351
+ oneToOneHasOne: {
12352
+ _isJSONSchemaObject: true,
12353
+ version: "2.0",
12354
+ type: "string",
12355
+ required: false,
12356
+ "x-toolbar": "FormItemSchemaToolbar",
12357
+ "x-settings": "fieldSettings:FilterFormItem",
12358
+ "x-component": "CollectionField",
12359
+ "x-decorator": "FormItem",
12360
+ "x-use-decorator-props": "useFormItemProps",
12361
+ "x-collection-field": "general.oneToOneHasOne",
12362
+ "x-component-props": {
12363
+ multiple: false,
12364
+ fieldNames: {
12365
+ label: "id",
12366
+ value: "id"
12367
+ }
12368
+ },
12369
+ "x-app-version": "1.3.33-beta",
12370
+ "x-uid": "mflntqm2g5h",
12371
+ "x-async": false,
12372
+ "x-index": 1
12373
+ }
12374
+ },
12375
+ "x-uid": "xmo1kdyv438",
12376
+ "x-async": false,
12377
+ "x-index": 1
12378
+ }
12379
+ },
12380
+ "x-uid": "5069bfzim4k",
12381
+ "x-async": false,
12382
+ "x-index": 2
12383
+ },
12384
+ xljcz69cnra: {
12385
+ _isJSONSchemaObject: true,
12386
+ version: "2.0",
12387
+ type: "void",
12388
+ "x-component": "Grid.Row",
12389
+ "x-app-version": "1.3.33-beta",
12390
+ properties: {
12391
+ yxbfetadlnk: {
12392
+ _isJSONSchemaObject: true,
12393
+ version: "2.0",
12394
+ type: "void",
12395
+ "x-component": "Grid.Col",
12396
+ "x-app-version": "1.3.33-beta",
12397
+ properties: {
12398
+ oneToMany: {
12399
+ _isJSONSchemaObject: true,
12400
+ version: "2.0",
12401
+ type: "string",
12402
+ required: false,
12403
+ "x-toolbar": "FormItemSchemaToolbar",
12404
+ "x-settings": "fieldSettings:FilterFormItem",
12405
+ "x-component": "CollectionField",
12406
+ "x-decorator": "FormItem",
12407
+ "x-use-decorator-props": "useFormItemProps",
12408
+ "x-collection-field": "general.oneToMany",
12409
+ "x-component-props": {
12410
+ multiple: true,
12411
+ fieldNames: {
12412
+ label: "id",
12413
+ value: "id"
12414
+ }
12415
+ },
12416
+ "x-app-version": "1.3.33-beta",
12417
+ "x-uid": "hfehr0sfzvf",
12418
+ "x-async": false,
12419
+ "x-index": 1
12420
+ }
12421
+ },
12422
+ "x-uid": "3pmxr13mgiz",
12423
+ "x-async": false,
12424
+ "x-index": 1
12425
+ }
12426
+ },
12427
+ "x-uid": "0rtq29eic2v",
12428
+ "x-async": false,
12429
+ "x-index": 3
12430
+ },
12431
+ xbd07gapqj0: {
12432
+ _isJSONSchemaObject: true,
12433
+ version: "2.0",
12434
+ type: "void",
12435
+ "x-component": "Grid.Row",
12436
+ "x-app-version": "1.3.33-beta",
12437
+ properties: {
12438
+ "55v9zbubqcy": {
12439
+ _isJSONSchemaObject: true,
12440
+ version: "2.0",
12441
+ type: "void",
12442
+ "x-component": "Grid.Col",
12443
+ "x-app-version": "1.3.33-beta",
12444
+ properties: {
12445
+ manyToOne: {
12446
+ _isJSONSchemaObject: true,
12447
+ version: "2.0",
12448
+ type: "string",
12449
+ required: false,
12450
+ "x-toolbar": "FormItemSchemaToolbar",
12451
+ "x-settings": "fieldSettings:FilterFormItem",
12452
+ "x-component": "CollectionField",
12453
+ "x-decorator": "FormItem",
12454
+ "x-use-decorator-props": "useFormItemProps",
12455
+ "x-collection-field": "general.manyToOne",
12456
+ "x-component-props": {
12457
+ multiple: false,
12458
+ fieldNames: {
12459
+ label: "id",
12460
+ value: "id"
12461
+ }
12462
+ },
12463
+ "x-app-version": "1.3.33-beta",
12464
+ "x-uid": "w0ugawa0dxk",
12465
+ "x-async": false,
12466
+ "x-index": 1
12467
+ }
12468
+ },
12469
+ "x-uid": "vpkn40vetcq",
12470
+ "x-async": false,
12471
+ "x-index": 1
12472
+ }
12473
+ },
12474
+ "x-uid": "9x163mjqgix",
12475
+ "x-async": false,
12476
+ "x-index": 4
12477
+ },
12478
+ "6mgr3hv8s7d": {
12479
+ _isJSONSchemaObject: true,
12480
+ version: "2.0",
12481
+ type: "void",
12482
+ "x-component": "Grid.Row",
12483
+ "x-app-version": "1.3.33-beta",
12484
+ properties: {
12485
+ ojxf20yrv33: {
12486
+ _isJSONSchemaObject: true,
12487
+ version: "2.0",
12488
+ type: "void",
12489
+ "x-component": "Grid.Col",
12490
+ "x-app-version": "1.3.33-beta",
12491
+ properties: {
12492
+ manyToMany: {
12493
+ _isJSONSchemaObject: true,
12494
+ version: "2.0",
12495
+ type: "string",
12496
+ required: false,
12497
+ "x-toolbar": "FormItemSchemaToolbar",
12498
+ "x-settings": "fieldSettings:FilterFormItem",
12499
+ "x-component": "CollectionField",
12500
+ "x-decorator": "FormItem",
12501
+ "x-use-decorator-props": "useFormItemProps",
12502
+ "x-collection-field": "general.manyToMany",
12503
+ "x-component-props": {
12504
+ multiple: true,
12505
+ fieldNames: {
12506
+ label: "id",
12507
+ value: "id"
12508
+ }
12509
+ },
12510
+ "x-app-version": "1.3.33-beta",
12511
+ "x-uid": "klhocltvq6v",
12512
+ "x-async": false,
12513
+ "x-index": 1
12514
+ }
12515
+ },
12516
+ "x-uid": "frzc0g87myc",
12517
+ "x-async": false,
12518
+ "x-index": 1
12519
+ }
12520
+ },
12521
+ "x-uid": "5mm4gyqqa90",
12522
+ "x-async": false,
12523
+ "x-index": 5
12524
+ }
12525
+ },
12526
+ "x-uid": "4ky8q78hske",
12527
+ "x-async": false,
12528
+ "x-index": 1
12529
+ },
12530
+ z51e14s05s5: {
12531
+ _isJSONSchemaObject: true,
12532
+ version: "2.0",
12533
+ type: "void",
12534
+ "x-initializer": "filterForm:configureActions",
12535
+ "x-component": "ActionBar",
12536
+ "x-component-props": {
12537
+ layout: "one-column",
12538
+ style: {
12539
+ float: "right"
12540
+ }
12541
+ },
12542
+ "x-app-version": "1.3.33-beta",
12543
+ "x-uid": "whjwk4sh4no",
12544
+ "x-async": false,
12545
+ "x-index": 2
12546
+ }
12547
+ },
12548
+ "x-uid": "4pzmjj93o9l",
12549
+ "x-async": false,
12550
+ "x-index": 1
12551
+ }
12552
+ },
12553
+ "x-uid": "v4k9k62avgb",
12554
+ "x-async": false,
12555
+ "x-index": 1
12556
+ }
12557
+ },
12558
+ "x-uid": "4sq6xto3yu9",
12559
+ "x-async": false,
12560
+ "x-index": 1
12561
+ }
12562
+ },
12563
+ "x-uid": "mf2few2trjl",
12564
+ "x-async": false,
12565
+ "x-index": 2
12566
+ }
12567
+ },
12568
+ "x-uid": "xb5aal7tne6",
12569
+ "x-async": false
12570
+ }
12571
+ },
12572
+ "x-uid": "n6tnlu0v6ct",
12573
+ "x-async": true
12574
+ }
12575
+ };
12226
12576
  const oneTableBlockWithAddNewAndViewAndEditAndAdvancedFields = {
12227
12577
  collections: import_templatesOfCollection.generalWithAdvanced,
12228
12578
  pageSchema: {
@@ -20313,6 +20663,7 @@ const checkboxForTableRow = {
20313
20663
  oneEmptyTableBlockWithCustomizeActions,
20314
20664
  oneEmptyTableWithTreeCollection,
20315
20665
  oneFilterFormBlockWithAllAssociationFields,
20666
+ oneFilterFormBlockWithAllAssociationFieldsV1333Beta,
20316
20667
  oneFormAndOneTableWithSameCollection,
20317
20668
  oneFormBlockBasedOnUsers,
20318
20669
  oneFormBlockWithAllAssociationFieldsAndSelectorMode,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nocobase/test",
3
- "version": "1.3.33-beta",
3
+ "version": "1.3.35-beta",
4
4
  "main": "lib/index.js",
5
5
  "module": "./src/index.ts",
6
6
  "types": "./lib/index.d.ts",
@@ -51,7 +51,7 @@
51
51
  },
52
52
  "dependencies": {
53
53
  "@faker-js/faker": "8.1.0",
54
- "@nocobase/server": "1.3.33-beta",
54
+ "@nocobase/server": "1.3.35-beta",
55
55
  "@playwright/test": "^1.45.3",
56
56
  "@testing-library/jest-dom": "^6.4.2",
57
57
  "@testing-library/react": "^14.0.0",
@@ -76,5 +76,5 @@
76
76
  "vitest-dom": "^0.1.1",
77
77
  "ws": "^8.13.0"
78
78
  },
79
- "gitHead": "8c027d81bc5815930823af0dee29eb13ce51dbdf"
79
+ "gitHead": "e76f371c232ed038d8a82a39f84c74aeb788e21c"
80
80
  }