@axinom/mosaic-messages 0.51.0-rc.3 → 0.51.0-rc.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.
- package/dist/generated/schemas/payloads/localization/commands/declare-entity-definition-command.json +146 -3
- package/dist/generated/schemas/payloads/localization/commands/index.d.ts +105 -0
- package/dist/generated/schemas/payloads/localization/commands/index.d.ts.map +1 -1
- package/dist/generated/schemas/payloads/localization/events/entity-definition-declare-failed-event.json +146 -3
- package/dist/generated/schemas/payloads/localization/events/index.d.ts +105 -0
- package/dist/generated/schemas/payloads/localization/events/index.d.ts.map +1 -1
- package/dist/generated/types/payloads/localization/types/entity-field-definition.d.ts +9 -4
- package/dist/generated/types/payloads/localization/types/entity-field-definition.d.ts.map +1 -1
- package/dist/generated/types/payloads/localization/types/field-type.d.ts +5 -0
- package/dist/generated/types/payloads/localization/types/field-type.d.ts.map +1 -0
- package/dist/generated/types/payloads/localization/types/{field-definition-field-type.js → field-type.js} +1 -1
- package/dist/generated/types/payloads/localization/types/field-type.js.map +1 -0
- package/dist/generated/types/payloads/localization/types/index.d.ts +8 -2
- package/dist/generated/types/payloads/localization/types/index.d.ts.map +1 -1
- package/dist/generated/types/payloads/localization/types/index.js +8 -2
- package/dist/generated/types/payloads/localization/types/index.js.map +1 -1
- package/dist/generated/types/payloads/localization/types/ui-field-custom-definition-edit-property-map.d.ts +18 -0
- package/dist/generated/types/payloads/localization/types/ui-field-custom-definition-edit-property-map.d.ts.map +1 -0
- package/dist/generated/types/payloads/localization/types/ui-field-custom-definition-edit-property-map.js +3 -0
- package/dist/generated/types/payloads/localization/types/ui-field-custom-definition-edit-property-map.js.map +1 -0
- package/dist/generated/types/payloads/localization/types/ui-field-custom-definition-edit.d.ts +20 -0
- package/dist/generated/types/payloads/localization/types/ui-field-custom-definition-edit.d.ts.map +1 -0
- package/dist/generated/types/payloads/localization/types/ui-field-custom-definition-edit.js +3 -0
- package/dist/generated/types/payloads/localization/types/ui-field-custom-definition-edit.js.map +1 -0
- package/dist/generated/types/payloads/localization/types/ui-field-custom-definition-fallback-type.d.ts +5 -0
- package/dist/generated/types/payloads/localization/types/ui-field-custom-definition-fallback-type.d.ts.map +1 -0
- package/dist/generated/types/payloads/localization/types/ui-field-custom-definition-fallback-type.js +3 -0
- package/dist/generated/types/payloads/localization/types/ui-field-custom-definition-fallback-type.js.map +1 -0
- package/dist/generated/types/payloads/localization/types/ui-field-custom-definition-view-property-map.d.ts +10 -0
- package/dist/generated/types/payloads/localization/types/ui-field-custom-definition-view-property-map.d.ts.map +1 -0
- package/dist/generated/types/payloads/localization/types/ui-field-custom-definition-view-property-map.js +3 -0
- package/dist/generated/types/payloads/localization/types/ui-field-custom-definition-view-property-map.js.map +1 -0
- package/dist/generated/types/payloads/localization/types/ui-field-custom-definition-view.d.ts +20 -0
- package/dist/generated/types/payloads/localization/types/ui-field-custom-definition-view.d.ts.map +1 -0
- package/dist/generated/types/payloads/localization/types/ui-field-custom-definition-view.js +3 -0
- package/dist/generated/types/payloads/localization/types/ui-field-custom-definition-view.js.map +1 -0
- package/dist/generated/types/payloads/localization/types/ui-field-custom-definition.d.ts +21 -0
- package/dist/generated/types/payloads/localization/types/ui-field-custom-definition.d.ts.map +1 -0
- package/dist/generated/types/payloads/localization/types/{field-definition-ui-field-type.js → ui-field-custom-definition.js} +1 -1
- package/dist/generated/types/payloads/localization/types/ui-field-custom-definition.js.map +1 -0
- package/dist/generated/types/payloads/localization/types/ui-field-type.d.ts +5 -0
- package/dist/generated/types/payloads/localization/types/ui-field-type.d.ts.map +1 -0
- package/dist/generated/types/payloads/localization/types/ui-field-type.js +3 -0
- package/dist/generated/types/payloads/localization/types/ui-field-type.js.map +1 -0
- package/package.json +4 -4
- package/src/generated/schemas/payloads/localization/commands/declare-entity-definition-command.json +146 -3
- package/src/generated/schemas/payloads/localization/events/entity-definition-declare-failed-event.json +146 -3
- package/src/generated/types/payloads/localization/types/entity-field-definition.ts +9 -4
- package/src/generated/types/payloads/localization/types/{field-definition-field-type.ts → field-type.ts} +1 -1
- package/src/generated/types/payloads/localization/types/index.ts +9 -3
- package/src/generated/types/payloads/localization/types/ui-field-custom-definition-edit-property-map.ts +17 -0
- package/src/generated/types/payloads/localization/types/ui-field-custom-definition-edit.ts +15 -0
- package/src/generated/types/payloads/localization/types/ui-field-custom-definition-fallback-type.ts +4 -0
- package/src/generated/types/payloads/localization/types/ui-field-custom-definition-view-property-map.ts +9 -0
- package/src/generated/types/payloads/localization/types/ui-field-custom-definition-view.ts +15 -0
- package/src/generated/types/payloads/localization/types/ui-field-custom-definition.ts +20 -0
- package/src/generated/types/payloads/localization/types/{field-definition-ui-field-type.ts → ui-field-type.ts} +1 -1
- package/dist/generated/types/payloads/localization/types/field-definition-field-type.d.ts +0 -5
- package/dist/generated/types/payloads/localization/types/field-definition-field-type.d.ts.map +0 -1
- package/dist/generated/types/payloads/localization/types/field-definition-field-type.js.map +0 -1
- package/dist/generated/types/payloads/localization/types/field-definition-ui-field-type.d.ts +0 -5
- package/dist/generated/types/payloads/localization/types/field-definition-ui-field-type.d.ts.map +0 -1
- package/dist/generated/types/payloads/localization/types/field-definition-ui-field-type.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"field-type.js","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/localization/types/field-type.ts"],"names":[],"mappings":""}
|
|
@@ -2,9 +2,15 @@ export * from './entity-field-definition';
|
|
|
2
2
|
export * from './entity-localization';
|
|
3
3
|
export * from './entity-localization-field';
|
|
4
4
|
export * from './entity-localization-field-state';
|
|
5
|
-
export * from './field-definition-field-type';
|
|
6
5
|
export * from './field-definition-field-validation-rule';
|
|
7
|
-
export * from './field-definition-ui-field-type';
|
|
8
6
|
export * from './field-definition-validation-rule';
|
|
9
7
|
export * from './field-definition-validation-severity';
|
|
8
|
+
export * from './field-type';
|
|
9
|
+
export * from './ui-field-custom-definition';
|
|
10
|
+
export * from './ui-field-custom-definition-edit';
|
|
11
|
+
export * from './ui-field-custom-definition-edit-property-map';
|
|
12
|
+
export * from './ui-field-custom-definition-fallback-type';
|
|
13
|
+
export * from './ui-field-custom-definition-view';
|
|
14
|
+
export * from './ui-field-custom-definition-view-property-map';
|
|
15
|
+
export * from './ui-field-type';
|
|
10
16
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/localization/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uBAAuB,CAAC;AACtC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,mCAAmC,CAAC;AAClD,cAAc
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/localization/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uBAAuB,CAAC;AACtC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,mCAAmC,CAAC;AAClD,cAAc,0CAA0C,CAAC;AACzD,cAAc,oCAAoC,CAAC;AACnD,cAAc,wCAAwC,CAAC;AACvD,cAAc,cAAc,CAAC;AAC7B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,mCAAmC,CAAC;AAClD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,4CAA4C,CAAC;AAC3D,cAAc,mCAAmC,CAAC;AAClD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,iBAAiB,CAAC"}
|
|
@@ -18,9 +18,15 @@ __exportStar(require("./entity-field-definition"), exports);
|
|
|
18
18
|
__exportStar(require("./entity-localization"), exports);
|
|
19
19
|
__exportStar(require("./entity-localization-field"), exports);
|
|
20
20
|
__exportStar(require("./entity-localization-field-state"), exports);
|
|
21
|
-
__exportStar(require("./field-definition-field-type"), exports);
|
|
22
21
|
__exportStar(require("./field-definition-field-validation-rule"), exports);
|
|
23
|
-
__exportStar(require("./field-definition-ui-field-type"), exports);
|
|
24
22
|
__exportStar(require("./field-definition-validation-rule"), exports);
|
|
25
23
|
__exportStar(require("./field-definition-validation-severity"), exports);
|
|
24
|
+
__exportStar(require("./field-type"), exports);
|
|
25
|
+
__exportStar(require("./ui-field-custom-definition"), exports);
|
|
26
|
+
__exportStar(require("./ui-field-custom-definition-edit"), exports);
|
|
27
|
+
__exportStar(require("./ui-field-custom-definition-edit-property-map"), exports);
|
|
28
|
+
__exportStar(require("./ui-field-custom-definition-fallback-type"), exports);
|
|
29
|
+
__exportStar(require("./ui-field-custom-definition-view"), exports);
|
|
30
|
+
__exportStar(require("./ui-field-custom-definition-view-property-map"), exports);
|
|
31
|
+
__exportStar(require("./ui-field-type"), exports);
|
|
26
32
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/localization/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAA0C;AAC1C,wDAAsC;AACtC,8DAA4C;AAC5C,oEAAkD;AAClD,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/localization/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAA0C;AAC1C,wDAAsC;AACtC,8DAA4C;AAC5C,oEAAkD;AAClD,2EAAyD;AACzD,qEAAmD;AACnD,yEAAuD;AACvD,+CAA6B;AAC7B,+DAA6C;AAC7C,oEAAkD;AAClD,iFAA+D;AAC/D,6EAA2D;AAC3D,oEAAkD;AAClD,iFAA+D;AAC/D,kDAAgC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Mapping of property names that will be passed from the localization form to the custom Piral extension used for editing the localized value
|
|
3
|
+
*/
|
|
4
|
+
export interface UiFieldCustomDefinitionEditPropertyMap {
|
|
5
|
+
/**
|
|
6
|
+
* The name of the property that contains the locale (defaults to 'locale' if not provided)
|
|
7
|
+
*/
|
|
8
|
+
locale?: string;
|
|
9
|
+
/**
|
|
10
|
+
* The name of the property that contains the localized value (defaults to 'value' if not provided)
|
|
11
|
+
*/
|
|
12
|
+
value?: string;
|
|
13
|
+
/**
|
|
14
|
+
* The name of the property that contains the callback function that should be called when the value is changed (defaults to 'onChange' if not provided)
|
|
15
|
+
*/
|
|
16
|
+
on_change?: string;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=ui-field-custom-definition-edit-property-map.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-field-custom-definition-edit-property-map.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/localization/types/ui-field-custom-definition-edit-property-map.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,sCAAsC;IACrD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-field-custom-definition-edit-property-map.js","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/localization/types/ui-field-custom-definition-edit-property-map.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { UiFieldCustomDefinitionEditPropertyMap } from './ui-field-custom-definition-edit-property-map';
|
|
2
|
+
/**
|
|
3
|
+
* Configuration of the Piral extension used for editing the translated value
|
|
4
|
+
*/
|
|
5
|
+
export interface UiFieldCustomDefinitionEdit {
|
|
6
|
+
/**
|
|
7
|
+
* Custom Piral extension name that will be used for editing localization
|
|
8
|
+
*/
|
|
9
|
+
component: string;
|
|
10
|
+
props?: {
|
|
11
|
+
[name: string]: string | number | boolean | (unknown)[] | {
|
|
12
|
+
[name: string]: unknown;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* Mapping of property names that will be passed from the localization form to the custom Piral extension used for editing the localized value
|
|
17
|
+
*/
|
|
18
|
+
property_map?: UiFieldCustomDefinitionEditPropertyMap;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=ui-field-custom-definition-edit.d.ts.map
|
package/dist/generated/types/payloads/localization/types/ui-field-custom-definition-edit.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-field-custom-definition-edit.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/localization/types/ui-field-custom-definition-edit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sCAAsC,EAAE,MAAM,gDAAgD,CAAC;AACxG;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE;QAAE,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,CAAC,OAAO,CAAC,EAAE,GAAG;YAAE,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAA;SAAE,CAAA;KAAE,CAAC;IAClG;;OAEG;IACH,YAAY,CAAC,EAAE,sCAAsC,CAAC;CACvD"}
|
package/dist/generated/types/payloads/localization/types/ui-field-custom-definition-edit.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-field-custom-definition-edit.js","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/localization/types/ui-field-custom-definition-edit.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-field-custom-definition-fallback-type.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/localization/types/ui-field-custom-definition-fallback-type.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,mCAAmC,GAAG,SAAS,GAAG,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-field-custom-definition-fallback-type.js","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/localization/types/ui-field-custom-definition-fallback-type.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Mapping of property names that will be passed from the localization form to the custom Piral extension for viewing the source value
|
|
3
|
+
*/
|
|
4
|
+
export interface UiFieldCustomDefinitionViewPropertyMap {
|
|
5
|
+
/**
|
|
6
|
+
* The name of the property that contains localization source value (defaults to 'value' if not provided)
|
|
7
|
+
*/
|
|
8
|
+
value?: string;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=ui-field-custom-definition-view-property-map.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-field-custom-definition-view-property-map.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/localization/types/ui-field-custom-definition-view-property-map.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,sCAAsC;IACrD;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-field-custom-definition-view-property-map.js","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/localization/types/ui-field-custom-definition-view-property-map.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { UiFieldCustomDefinitionViewPropertyMap } from './ui-field-custom-definition-view-property-map';
|
|
2
|
+
/**
|
|
3
|
+
* Configuration of the Piral extension used for viewing the source value
|
|
4
|
+
*/
|
|
5
|
+
export interface UiFieldCustomDefinitionView {
|
|
6
|
+
/**
|
|
7
|
+
* Piral extension name that will be used for viewing source value
|
|
8
|
+
*/
|
|
9
|
+
component: string;
|
|
10
|
+
props?: {
|
|
11
|
+
[name: string]: string | number | boolean | (unknown)[] | {
|
|
12
|
+
[name: string]: unknown;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* Mapping of property names that will be passed from the localization form to the custom Piral extension for viewing the source value
|
|
17
|
+
*/
|
|
18
|
+
property_map?: UiFieldCustomDefinitionViewPropertyMap;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=ui-field-custom-definition-view.d.ts.map
|
package/dist/generated/types/payloads/localization/types/ui-field-custom-definition-view.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-field-custom-definition-view.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/localization/types/ui-field-custom-definition-view.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sCAAsC,EAAE,MAAM,gDAAgD,CAAC;AACxG;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE;QAAE,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,CAAC,OAAO,CAAC,EAAE,GAAG;YAAE,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAA;SAAE,CAAA;KAAE,CAAC;IAClG;;OAEG;IACH,YAAY,CAAC,EAAE,sCAAsC,CAAC;CACvD"}
|
package/dist/generated/types/payloads/localization/types/ui-field-custom-definition-view.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-field-custom-definition-view.js","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/localization/types/ui-field-custom-definition-view.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { UiFieldCustomDefinitionEdit } from './ui-field-custom-definition-edit';
|
|
2
|
+
import { UiFieldCustomDefinitionFallbackType } from './ui-field-custom-definition-fallback-type';
|
|
3
|
+
import { UiFieldCustomDefinitionView } from './ui-field-custom-definition-view';
|
|
4
|
+
/**
|
|
5
|
+
* Definition of custom Piral extension that should be used to display localization source value and translation editor field
|
|
6
|
+
*/
|
|
7
|
+
export interface UiFieldCustomDefinition {
|
|
8
|
+
/**
|
|
9
|
+
* The fallback type to use if the custom UI field type is not available
|
|
10
|
+
*/
|
|
11
|
+
fallback_type: UiFieldCustomDefinitionFallbackType;
|
|
12
|
+
/**
|
|
13
|
+
* Configuration of the Piral extension used for viewing the source value
|
|
14
|
+
*/
|
|
15
|
+
view?: UiFieldCustomDefinitionView;
|
|
16
|
+
/**
|
|
17
|
+
* Configuration of the Piral extension used for editing the translated value
|
|
18
|
+
*/
|
|
19
|
+
edit?: UiFieldCustomDefinitionEdit;
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=ui-field-custom-definition.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-field-custom-definition.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/localization/types/ui-field-custom-definition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,mCAAmC,CAAC;AAChF,OAAO,EAAE,mCAAmC,EAAE,MAAM,4CAA4C,CAAC;AACjG,OAAO,EAAE,2BAA2B,EAAE,MAAM,mCAAmC,CAAC;AAChF;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,aAAa,EAAE,mCAAmC,CAAC;IACnD;;OAEG;IACH,IAAI,CAAC,EAAE,2BAA2B,CAAC;IACnC;;OAEG;IACH,IAAI,CAAC,EAAE,2BAA2B,CAAC;CACpC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-field-custom-definition.js","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/localization/types/ui-field-custom-definition.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-field-type.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/localization/types/ui-field-type.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,UAAU,GAAG,QAAQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-field-type.js","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/localization/types/ui-field-type.ts"],"names":[],"mappings":""}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@axinom/mosaic-messages",
|
|
3
|
-
"version": "0.51.0-rc.
|
|
3
|
+
"version": "0.51.0-rc.4",
|
|
4
4
|
"description": "Shared types for Axinom Mosaic service messages",
|
|
5
5
|
"author": "Axinom",
|
|
6
6
|
"license": "PROPRIETARY",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"dev": "concurrently --names \"codegen,tsc\" \"yarn codegen:watch\" \"yarn build:compile:watch\""
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@axinom/mosaic-cli": "^0.41.0-rc.
|
|
33
|
-
"@axinom/mosaic-message-bus-abstractions": "^0.22.0-rc.
|
|
32
|
+
"@axinom/mosaic-cli": "^0.41.0-rc.4",
|
|
33
|
+
"@axinom/mosaic-message-bus-abstractions": "^0.22.0-rc.4",
|
|
34
34
|
"@types/glob": "^7.1.3",
|
|
35
35
|
"@types/node": "^18.11.18",
|
|
36
36
|
"concurrently": "^5.3.0",
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"publishConfig": {
|
|
44
44
|
"access": "public"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "69368144509b5255adac75077da5a1202aa4ade9"
|
|
47
47
|
}
|
package/src/generated/schemas/payloads/localization/commands/declare-entity-definition-command.json
CHANGED
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
},
|
|
62
62
|
"field_type": {
|
|
63
63
|
"type": "string",
|
|
64
|
-
"title": "
|
|
64
|
+
"title": "field_type",
|
|
65
65
|
"enum": [
|
|
66
66
|
"STRING"
|
|
67
67
|
],
|
|
@@ -69,10 +69,11 @@
|
|
|
69
69
|
},
|
|
70
70
|
"ui_field_type": {
|
|
71
71
|
"type": "string",
|
|
72
|
-
"title": "
|
|
72
|
+
"title": "ui_field_type",
|
|
73
73
|
"enum": [
|
|
74
74
|
"TEXTBOX",
|
|
75
|
-
"TEXTAREA"
|
|
75
|
+
"TEXTAREA",
|
|
76
|
+
"CUSTOM"
|
|
76
77
|
],
|
|
77
78
|
"description": "The type of user interface element that should be used to display this field"
|
|
78
79
|
},
|
|
@@ -92,6 +93,148 @@
|
|
|
92
93
|
"type": "boolean",
|
|
93
94
|
"description": "Set to false if field definition should be deactivated, and send a separate declare command without the field after the field definition is deactivated to completely delete it."
|
|
94
95
|
},
|
|
96
|
+
"ui_field_custom_definition": {
|
|
97
|
+
"type": "object",
|
|
98
|
+
"title": "ui_field_custom_definition",
|
|
99
|
+
"description": "Definition of custom Piral extension that should be used to display localization source value and translation editor field",
|
|
100
|
+
"required": [
|
|
101
|
+
"fallback_type"
|
|
102
|
+
],
|
|
103
|
+
"properties": {
|
|
104
|
+
"fallback_type": {
|
|
105
|
+
"type": "string",
|
|
106
|
+
"title": "ui_field_custom_definition_fallback_type",
|
|
107
|
+
"enum": [
|
|
108
|
+
"TEXTBOX",
|
|
109
|
+
"TEXTAREA"
|
|
110
|
+
],
|
|
111
|
+
"description": "The fallback type to use if the custom UI field type is not available"
|
|
112
|
+
},
|
|
113
|
+
"view": {
|
|
114
|
+
"type": "object",
|
|
115
|
+
"title": "ui_field_custom_definition_view",
|
|
116
|
+
"description": "Configuration of the Piral extension used for viewing the source value",
|
|
117
|
+
"additionalProperties": false,
|
|
118
|
+
"properties": {
|
|
119
|
+
"component": {
|
|
120
|
+
"type": "string",
|
|
121
|
+
"description": "Piral extension name that will be used for viewing source value"
|
|
122
|
+
},
|
|
123
|
+
"props": {
|
|
124
|
+
"type": "object",
|
|
125
|
+
"title": "ui_field_custom_definition_view_props",
|
|
126
|
+
"description": "Additional properties and their values defined as key-value pairs that will be passed to the view component",
|
|
127
|
+
"additionalProperties": {
|
|
128
|
+
"oneOf": [
|
|
129
|
+
{
|
|
130
|
+
"type": "string",
|
|
131
|
+
"description": "A string property for the view component"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"type": "number",
|
|
135
|
+
"description": "A number property for the view component"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"type": "boolean",
|
|
139
|
+
"description": "A boolean property for the view component"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"type": "array",
|
|
143
|
+
"description": "A null property for the view component"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"type": "object",
|
|
147
|
+
"description": "An object property for the view component",
|
|
148
|
+
"additionalProperties": true
|
|
149
|
+
}
|
|
150
|
+
]
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
"property_map": {
|
|
154
|
+
"type": "object",
|
|
155
|
+
"title": "ui_field_custom_definition_view_property_map",
|
|
156
|
+
"description": "Mapping of property names that will be passed from the localization form to the custom Piral extension for viewing the source value",
|
|
157
|
+
"properties": {
|
|
158
|
+
"value": {
|
|
159
|
+
"type": "string",
|
|
160
|
+
"description": "The name of the property that contains localization source value (defaults to 'value' if not provided)"
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
"additionalProperties": false
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
"required": [
|
|
167
|
+
"component"
|
|
168
|
+
]
|
|
169
|
+
},
|
|
170
|
+
"edit": {
|
|
171
|
+
"type": "object",
|
|
172
|
+
"title": "ui_field_custom_definition_edit",
|
|
173
|
+
"description": "Configuration of the Piral extension used for editing the translated value",
|
|
174
|
+
"additionalProperties": false,
|
|
175
|
+
"properties": {
|
|
176
|
+
"component": {
|
|
177
|
+
"type": "string",
|
|
178
|
+
"description": "Custom Piral extension name that will be used for editing localization"
|
|
179
|
+
},
|
|
180
|
+
"props": {
|
|
181
|
+
"type": "object",
|
|
182
|
+
"title": "ui_field_custom_definition_edit_props",
|
|
183
|
+
"description": "Additional properties and their values defined as key-value pairs that will be passed to the edit component",
|
|
184
|
+
"additionalProperties": {
|
|
185
|
+
"oneOf": [
|
|
186
|
+
{
|
|
187
|
+
"type": "string",
|
|
188
|
+
"description": "A string property for the view component"
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"type": "number",
|
|
192
|
+
"description": "A number property for the view component"
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"type": "boolean",
|
|
196
|
+
"description": "A boolean property for the view component"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"type": "array",
|
|
200
|
+
"description": "A null property for the view component"
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"type": "object",
|
|
204
|
+
"description": "An object property for the view component",
|
|
205
|
+
"additionalProperties": true
|
|
206
|
+
}
|
|
207
|
+
]
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
"property_map": {
|
|
211
|
+
"type": "object",
|
|
212
|
+
"title": "ui_field_custom_definition_edit_property_map",
|
|
213
|
+
"description": "Mapping of property names that will be passed from the localization form to the custom Piral extension used for editing the localized value",
|
|
214
|
+
"properties": {
|
|
215
|
+
"locale": {
|
|
216
|
+
"type": "string",
|
|
217
|
+
"description": "The name of the property that contains the locale (defaults to 'locale' if not provided)"
|
|
218
|
+
},
|
|
219
|
+
"value": {
|
|
220
|
+
"type": "string",
|
|
221
|
+
"description": "The name of the property that contains the localized value (defaults to 'value' if not provided)"
|
|
222
|
+
},
|
|
223
|
+
"on_change": {
|
|
224
|
+
"type": "string",
|
|
225
|
+
"description": "The name of the property that contains the callback function that should be called when the value is changed (defaults to 'onChange' if not provided)"
|
|
226
|
+
}
|
|
227
|
+
},
|
|
228
|
+
"additionalProperties": false
|
|
229
|
+
}
|
|
230
|
+
},
|
|
231
|
+
"required": [
|
|
232
|
+
"component"
|
|
233
|
+
]
|
|
234
|
+
}
|
|
235
|
+
},
|
|
236
|
+
"additionalProperties": false
|
|
237
|
+
},
|
|
95
238
|
"field_validation_rules": {
|
|
96
239
|
"type": "array",
|
|
97
240
|
"description": "An array of field validation rules.",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
},
|
|
59
59
|
"field_type": {
|
|
60
60
|
"type": "string",
|
|
61
|
-
"title": "
|
|
61
|
+
"title": "field_type",
|
|
62
62
|
"enum": [
|
|
63
63
|
"STRING"
|
|
64
64
|
],
|
|
@@ -66,10 +66,11 @@
|
|
|
66
66
|
},
|
|
67
67
|
"ui_field_type": {
|
|
68
68
|
"type": "string",
|
|
69
|
-
"title": "
|
|
69
|
+
"title": "ui_field_type",
|
|
70
70
|
"enum": [
|
|
71
71
|
"TEXTBOX",
|
|
72
|
-
"TEXTAREA"
|
|
72
|
+
"TEXTAREA",
|
|
73
|
+
"CUSTOM"
|
|
73
74
|
],
|
|
74
75
|
"description": "The type of user interface element that should be used to display this field"
|
|
75
76
|
},
|
|
@@ -89,6 +90,148 @@
|
|
|
89
90
|
"type": "boolean",
|
|
90
91
|
"description": "Set to false if field definition should be deactivated, and send a separate declare command without the field after the field definition is deactivated to completely delete it."
|
|
91
92
|
},
|
|
93
|
+
"ui_field_custom_definition": {
|
|
94
|
+
"type": "object",
|
|
95
|
+
"title": "ui_field_custom_definition",
|
|
96
|
+
"description": "Definition of custom Piral extension that should be used to display localization source value and translation editor field",
|
|
97
|
+
"required": [
|
|
98
|
+
"fallback_type"
|
|
99
|
+
],
|
|
100
|
+
"properties": {
|
|
101
|
+
"fallback_type": {
|
|
102
|
+
"type": "string",
|
|
103
|
+
"title": "ui_field_custom_definition_fallback_type",
|
|
104
|
+
"enum": [
|
|
105
|
+
"TEXTBOX",
|
|
106
|
+
"TEXTAREA"
|
|
107
|
+
],
|
|
108
|
+
"description": "The fallback type to use if the custom UI field type is not available"
|
|
109
|
+
},
|
|
110
|
+
"view": {
|
|
111
|
+
"type": "object",
|
|
112
|
+
"title": "ui_field_custom_definition_view",
|
|
113
|
+
"description": "Configuration of the Piral extension used for viewing the source value",
|
|
114
|
+
"additionalProperties": false,
|
|
115
|
+
"properties": {
|
|
116
|
+
"component": {
|
|
117
|
+
"type": "string",
|
|
118
|
+
"description": "Piral extension name that will be used for viewing source value"
|
|
119
|
+
},
|
|
120
|
+
"props": {
|
|
121
|
+
"type": "object",
|
|
122
|
+
"title": "ui_field_custom_definition_view_props",
|
|
123
|
+
"description": "Additional properties and their values defined as key-value pairs that will be passed to the view component",
|
|
124
|
+
"additionalProperties": {
|
|
125
|
+
"oneOf": [
|
|
126
|
+
{
|
|
127
|
+
"type": "string",
|
|
128
|
+
"description": "A string property for the view component"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"type": "number",
|
|
132
|
+
"description": "A number property for the view component"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"type": "boolean",
|
|
136
|
+
"description": "A boolean property for the view component"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"type": "array",
|
|
140
|
+
"description": "A null property for the view component"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"type": "object",
|
|
144
|
+
"description": "An object property for the view component",
|
|
145
|
+
"additionalProperties": true
|
|
146
|
+
}
|
|
147
|
+
]
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
"property_map": {
|
|
151
|
+
"type": "object",
|
|
152
|
+
"title": "ui_field_custom_definition_view_property_map",
|
|
153
|
+
"description": "Mapping of property names that will be passed from the localization form to the custom Piral extension for viewing the source value",
|
|
154
|
+
"properties": {
|
|
155
|
+
"value": {
|
|
156
|
+
"type": "string",
|
|
157
|
+
"description": "The name of the property that contains localization source value (defaults to 'value' if not provided)"
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
"additionalProperties": false
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
"required": [
|
|
164
|
+
"component"
|
|
165
|
+
]
|
|
166
|
+
},
|
|
167
|
+
"edit": {
|
|
168
|
+
"type": "object",
|
|
169
|
+
"title": "ui_field_custom_definition_edit",
|
|
170
|
+
"description": "Configuration of the Piral extension used for editing the translated value",
|
|
171
|
+
"additionalProperties": false,
|
|
172
|
+
"properties": {
|
|
173
|
+
"component": {
|
|
174
|
+
"type": "string",
|
|
175
|
+
"description": "Custom Piral extension name that will be used for editing localization"
|
|
176
|
+
},
|
|
177
|
+
"props": {
|
|
178
|
+
"type": "object",
|
|
179
|
+
"title": "ui_field_custom_definition_edit_props",
|
|
180
|
+
"description": "Additional properties and their values defined as key-value pairs that will be passed to the edit component",
|
|
181
|
+
"additionalProperties": {
|
|
182
|
+
"oneOf": [
|
|
183
|
+
{
|
|
184
|
+
"type": "string",
|
|
185
|
+
"description": "A string property for the view component"
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"type": "number",
|
|
189
|
+
"description": "A number property for the view component"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"type": "boolean",
|
|
193
|
+
"description": "A boolean property for the view component"
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"type": "array",
|
|
197
|
+
"description": "A null property for the view component"
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"type": "object",
|
|
201
|
+
"description": "An object property for the view component",
|
|
202
|
+
"additionalProperties": true
|
|
203
|
+
}
|
|
204
|
+
]
|
|
205
|
+
}
|
|
206
|
+
},
|
|
207
|
+
"property_map": {
|
|
208
|
+
"type": "object",
|
|
209
|
+
"title": "ui_field_custom_definition_edit_property_map",
|
|
210
|
+
"description": "Mapping of property names that will be passed from the localization form to the custom Piral extension used for editing the localized value",
|
|
211
|
+
"properties": {
|
|
212
|
+
"locale": {
|
|
213
|
+
"type": "string",
|
|
214
|
+
"description": "The name of the property that contains the locale (defaults to 'locale' if not provided)"
|
|
215
|
+
},
|
|
216
|
+
"value": {
|
|
217
|
+
"type": "string",
|
|
218
|
+
"description": "The name of the property that contains the localized value (defaults to 'value' if not provided)"
|
|
219
|
+
},
|
|
220
|
+
"on_change": {
|
|
221
|
+
"type": "string",
|
|
222
|
+
"description": "The name of the property that contains the callback function that should be called when the value is changed (defaults to 'onChange' if not provided)"
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
"additionalProperties": false
|
|
226
|
+
}
|
|
227
|
+
},
|
|
228
|
+
"required": [
|
|
229
|
+
"component"
|
|
230
|
+
]
|
|
231
|
+
}
|
|
232
|
+
},
|
|
233
|
+
"additionalProperties": false
|
|
234
|
+
},
|
|
92
235
|
"field_validation_rules": {
|
|
93
236
|
"type": "array",
|
|
94
237
|
"description": "An array of field validation rules.",
|