@steedos-widgets/amis-lib 6.3.0-beta.11 → 6.3.0-beta.13

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.
@@ -27,3 +27,4 @@ export * from './render';
27
27
  export * from './workflow';
28
28
  export * from './lib/router';
29
29
  export * from './i18n';
30
+ export * from './utils/uuid';
@@ -1,4 +1,4 @@
1
- export function getFieldsTemplate(fields: any, display: any): Promise<string>;
1
+ export function getFieldsTemplate(object: any, fields: any, display: any): Promise<string>;
2
2
  export function getRecordPermissionsTemplate(): string;
3
3
  export function getFindOneQuery(object: any, recordId: any, fields: any, options: any): Promise<{
4
4
  query: string;
@@ -508,6 +508,7 @@ export function getObjectRecordDetailHeader(objectSchema: any, recordId: any, op
508
508
  columns: ({
509
509
  body: ({
510
510
  type: string;
511
+ className: string;
511
512
  onEvent: {
512
513
  "@history_paths.changed": {
513
514
  actions: {
@@ -674,7 +675,13 @@ export function getObjectRecordDetailRelatedListHeader(relatedObjectSchema: any,
674
675
  btnClassName: string;
675
676
  size: string;
676
677
  }[];
677
- position: string;
678
+ position: string; /**
679
+ * 点击记录详细界面相关表顶部标题进入的相关表页面的顶部amisSchema
680
+ * @param {*} objectSchema
681
+ * @param {*} recordId
682
+ * @param {*} relatedObjectName
683
+ * @returns amisSchema
684
+ */
678
685
  closeOnOutside: boolean;
679
686
  resizable: boolean;
680
687
  className: string;
@@ -143,6 +143,7 @@ export function getRecordDetailHeaderSchema(objectName: any, recordId: any, opti
143
143
  columns: ({
144
144
  body: ({
145
145
  type: string;
146
+ className: string;
146
147
  onEvent: {
147
148
  "@history_paths.changed": {
148
149
  actions: {
@@ -24,6 +24,12 @@ export function getSchema(uiSchema: any, ctx: any): Promise<{
24
24
  closeOnEsc: boolean;
25
25
  closeOnOutside: boolean;
26
26
  showCloseButton: boolean;
27
+ data: {
28
+ "&": string;
29
+ _master: string;
30
+ "_master._isRelated": string;
31
+ "_master.relatedKey": string;
32
+ };
27
33
  size: string;
28
34
  onEvent: {
29
35
  cancel: {
@@ -150,6 +150,12 @@ export namespace StandardButtons {
150
150
  closeOnEsc: boolean;
151
151
  closeOnOutside: boolean;
152
152
  showCloseButton: boolean;
153
+ data: {
154
+ "&": string;
155
+ _master: string;
156
+ "_master._isRelated": string;
157
+ "_master.relatedKey": string;
158
+ };
153
159
  size: string;
154
160
  onEvent: {
155
161
  cancel: {
@@ -0,0 +1,5 @@
1
+ /**
2
+ * 生成符合标准uuid格式的36位满足唯一性的随机串
3
+ * @returns uuid
4
+ */
5
+ export declare function uuidv4(): string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@steedos-widgets/amis-lib",
3
3
  "private": false,
4
- "version": "6.3.0-beta.11",
4
+ "version": "6.3.0-beta.13",
5
5
  "unpkg": "./dist/index.umd.js",
6
6
  "main": "./dist/index.cjs.js",
7
7
  "module": "./dist/index.esm.js",
@@ -61,5 +61,5 @@
61
61
  "lodash": "^4.17.21",
62
62
  "react-i18next": "12.3.1"
63
63
  },
64
- "gitHead": "0c2502e4d2a3f8c8c180613fed6b5618be19abfa"
64
+ "gitHead": "9c91a4fcaec8a9a5399a98e4217c8230067f294f"
65
65
  }