ngx-rs-ant 1.2.7 → 1.2.9

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 (42) hide show
  1. package/box-container/box-container.component.d.ts +1 -1
  2. package/camunda-bpmn-editor/camunda-bpmn-editor.component.d.ts +1 -1
  3. package/camunda-bpmn-editor/custom/config/CustomPropertiesProvider.d.ts +1 -4
  4. package/camunda-bpmn-editor/custom/config/properties/{DescriptionProps.d.ts → user-task/TaskDescriptionProps.d.ts} +1 -1
  5. package/camunda-bpmn-editor/custom/config/properties/user-task/user-assignment/UserAssignmentProps.d.ts +2 -0
  6. package/camunda-bpmn-editor/custom/config/properties/user-task/user-assignment/UserAssignmentStaticOrDynamicProps.d.ts +6 -0
  7. package/camunda-bpmn-editor/custom/config/util/ElementUtils.d.ts +3 -1
  8. package/camunda-bpmn-editor/custom/hide-other/HideOtherContextPadProvider.d.ts +4 -0
  9. package/camunda-bpmn-editor/custom/service-task/ServiceTaskContextPadProvider.d.ts +23 -0
  10. package/camunda-bpmn-editor/custom/service-task/ServiceTaskPaletteProvider.d.ts +18 -0
  11. package/camunda-bpmn-editor/custom/service-task/index.d.ts +8 -0
  12. package/data-grid/data-grid.component.d.ts +3 -1
  13. package/data-grid/data-grid.service.d.ts +2 -0
  14. package/esm2020/box-container/box-container.component.mjs +4 -2
  15. package/esm2020/camunda-bpmn-editor/camunda-bpmn-editor.component.mjs +23 -7
  16. package/esm2020/camunda-bpmn-editor/custom/config/CustomPropertiesProvider.mjs +21 -19
  17. package/esm2020/camunda-bpmn-editor/custom/config/properties/user-task/TaskDescriptionProps.mjs +26 -0
  18. package/esm2020/camunda-bpmn-editor/custom/config/properties/user-task/user-assignment/UserAssignmentProps.mjs +5 -0
  19. package/esm2020/camunda-bpmn-editor/custom/config/properties/user-task/user-assignment/UserAssignmentStaticOrDynamicProps.mjs +32 -0
  20. package/esm2020/camunda-bpmn-editor/custom/config/util/ElementUtils.mjs +30 -9
  21. package/esm2020/camunda-bpmn-editor/custom/hide-other/HideOtherContextPadProvider.mjs +3 -1
  22. package/esm2020/camunda-bpmn-editor/custom/hide-other/HideOtherPaletteProvider.mjs +2 -1
  23. package/esm2020/camunda-bpmn-editor/custom/service-task/ServiceTaskContextPadProvider.mjs +46 -0
  24. package/esm2020/camunda-bpmn-editor/custom/service-task/ServiceTaskPaletteProvider.mjs +27 -0
  25. package/esm2020/camunda-bpmn-editor/custom/service-task/index.mjs +8 -0
  26. package/esm2020/camunda-bpmn-editor/custom/translate/translations.mjs +26 -2
  27. package/esm2020/data-detail/data-detail.component.mjs +1 -1
  28. package/esm2020/data-grid/data-grid.component.mjs +20 -14
  29. package/esm2020/data-grid/data-grid.service.mjs +3 -2
  30. package/esm2020/data-grid/file-cell-template/file-cell-template.component.mjs +18 -17
  31. package/esm2020/data-grid/unit-info-template/unit-info-template.component.mjs +8 -7
  32. package/esm2020/data-grid/user-info-template/user-info-template.component.mjs +8 -7
  33. package/esm2020/form/form.component.mjs +9 -4
  34. package/esm2020/modal/modal.component.mjs +8 -5
  35. package/fesm2015/ngx-rs-ant.mjs +289 -127
  36. package/fesm2015/ngx-rs-ant.mjs.map +1 -1
  37. package/fesm2020/ngx-rs-ant.mjs +289 -128
  38. package/fesm2020/ngx-rs-ant.mjs.map +1 -1
  39. package/form/form.component.d.ts +2 -1
  40. package/package.json +1 -1
  41. package/esm2020/camunda-bpmn-editor/custom/config/descriptors/coast.json +0 -24
  42. package/esm2020/camunda-bpmn-editor/custom/config/properties/DescriptionProps.mjs +0 -28
@@ -11,6 +11,7 @@ export declare class FormComponent implements OnInit, OnChanges, OnDestroy {
11
11
  copyOid?: any;
12
12
  template?: any;
13
13
  params?: any;
14
+ tabViewContainerRef?: ViewContainerRef;
14
15
  onlyFrontEnd: boolean;
15
16
  model?: any;
16
17
  readonly: boolean;
@@ -29,5 +30,5 @@ export declare class FormComponent implements OnInit, OnChanges, OnDestroy {
29
30
  validate(): Promise<boolean>;
30
31
  submit(): void;
31
32
  static ɵfac: i0.ɵɵFactoryDeclaration<FormComponent, never>;
32
- static ɵcmp: i0.ɵɵComponentDeclaration<FormComponent, "rs-form", never, { "tenant": "tenant"; "className": "className"; "oid": "oid"; "copyOid": "copyOid"; "template": "template"; "params": "params"; "onlyFrontEnd": "onlyFrontEnd"; "model": "model"; "readonly": "readonly"; }, { "submitCallback": "submitCallback"; }, never, never, false, never>;
33
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormComponent, "rs-form", never, { "tenant": "tenant"; "className": "className"; "oid": "oid"; "copyOid": "copyOid"; "template": "template"; "params": "params"; "tabViewContainerRef": "tabViewContainerRef"; "onlyFrontEnd": "onlyFrontEnd"; "model": "model"; "readonly": "readonly"; }, { "submitCallback": "submitCallback"; }, never, never, false, never>;
33
34
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-rs-ant",
3
- "version": "1.2.7",
3
+ "version": "1.2.9",
4
4
  "license": "MIT",
5
5
  "description": "RsAnt components based on Angular and DevExtreme",
6
6
  "exports": {
@@ -1,24 +0,0 @@
1
- {
2
- "name": "Coast Custom",
3
- "prefix": "coast",
4
- "uri": "https://c-standard.cn",
5
- "xml": {
6
- "tagAlias": "lowerCase"
7
- },
8
- "associations": [],
9
- "types": [
10
- {
11
- "name": "CoastUserTask",
12
- "extends": [
13
- "bpmn:UserTask"
14
- ],
15
- "properties": [
16
- {
17
- "name": "taskDescription",
18
- "isAttr": true,
19
- "type": "String"
20
- }
21
- ]
22
- }
23
- ]
24
- }
@@ -1,28 +0,0 @@
1
- // @ts-ignore
2
- import { isTextFieldEntryEdited, TextFieldEntry } from '@bpmn-io/properties-panel';
3
- import { addExtensionProperty } from "../util/ElementUtils";
4
- export default class DescriptionProps {
5
- constructor(props) {
6
- this.id = 'Coast_taskDescription';
7
- const { element, translate, bpmnFactory, modeling, debounce } = props;
8
- this.component = () => {
9
- return TextFieldEntry({
10
- id: this.id,
11
- element: element,
12
- label: translate('Task Description'),
13
- getValue: () => {
14
- return element.businessObject.get('taskDescription') || '';
15
- },
16
- setValue: (value) => {
17
- modeling.updateModdleProperties(element, element.businessObject, {
18
- 'taskDescription': value
19
- });
20
- addExtensionProperty(element, 'taskDescription', value, bpmnFactory, modeling);
21
- },
22
- debounce
23
- });
24
- };
25
- this.isEdited = isTextFieldEntryEdited;
26
- }
27
- }
28
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRGVzY3JpcHRpb25Qcm9wcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1ycy1hbnQvc3JjL2NhbXVuZGEtYnBtbi1lZGl0b3IvY3VzdG9tL2NvbmZpZy9wcm9wZXJ0aWVzL0Rlc2NyaXB0aW9uUHJvcHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsYUFBYTtBQUNiLE9BQU8sRUFBQyxzQkFBc0IsRUFBRSxjQUFjLEVBQUMsTUFBTSwyQkFBMkIsQ0FBQztBQUNqRixPQUFPLEVBQUMsb0JBQW9CLEVBQUMsTUFBTSxzQkFBc0IsQ0FBQztBQUUxRCxNQUFNLENBQUMsT0FBTyxPQUFPLGdCQUFnQjtJQUtuQyxZQUFZLEtBQVU7UUFKdEIsT0FBRSxHQUFHLHVCQUF1QixDQUFDO1FBSzNCLE1BQU0sRUFDSixPQUFPLEVBQ1AsU0FBUyxFQUNULFdBQVcsRUFDWCxRQUFRLEVBQ1IsUUFBUSxFQUNULEdBQUcsS0FBSyxDQUFDO1FBQ1YsSUFBSSxDQUFDLFNBQVMsR0FBRyxHQUFHLEVBQUU7WUFDcEIsT0FBTyxjQUFjLENBQUM7Z0JBQ3BCLEVBQUUsRUFBRSxJQUFJLENBQUMsRUFBRTtnQkFDWCxPQUFPLEVBQUUsT0FBTztnQkFDaEIsS0FBSyxFQUFFLFNBQVMsQ0FBQyxrQk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