ngx-rs-ant 1.3.2 → 1.3.5

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 (41) hide show
  1. package/camunda-bpmn-editor/camunda-bpmn-editor.component.d.ts +1 -1
  2. package/camunda-bpmn-editor/custom/config/CustomPropertiesProvider.d.ts +1 -4
  3. package/camunda-bpmn-editor/custom/config/properties/{DescriptionProps.d.ts → user-task/TaskDescriptionProps.d.ts} +1 -1
  4. package/camunda-bpmn-editor/custom/config/properties/user-task/user-assignment/UserAssignmentProps.d.ts +2 -0
  5. package/camunda-bpmn-editor/custom/config/properties/user-task/user-assignment/UserAssignmentStaticOrDynamicProps.d.ts +6 -0
  6. package/camunda-bpmn-editor/custom/config/util/ElementUtils.d.ts +3 -1
  7. package/camunda-bpmn-editor/custom/hide-other/HideOtherContextPadProvider.d.ts +4 -0
  8. package/camunda-bpmn-editor/custom/service-task/ServiceTaskContextPadProvider.d.ts +23 -0
  9. package/camunda-bpmn-editor/custom/service-task/ServiceTaskPaletteProvider.d.ts +18 -0
  10. package/camunda-bpmn-editor/custom/service-task/index.d.ts +8 -0
  11. package/data-detail/data-detail.component.d.ts +2 -1
  12. package/dynamic-params/dynamic-params.component.d.ts +7 -1
  13. package/dynamic-params/dynamic-params.module.d.ts +4 -3
  14. package/dynamic-params/tooltip-content-template.directive.d.ts +8 -0
  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 +5 -13
  28. package/esm2020/dynamic-params/dynamic-params.component.mjs +25 -6
  29. package/esm2020/dynamic-params/dynamic-params.module.mjs +10 -5
  30. package/esm2020/dynamic-params/tooltip-content-template.directive.mjs +16 -0
  31. package/esm2020/form/form.component.mjs +10 -3
  32. package/esm2020/public-api.mjs +2 -1
  33. package/fesm2015/ngx-rs-ant.mjs +275 -98
  34. package/fesm2015/ngx-rs-ant.mjs.map +1 -1
  35. package/fesm2020/ngx-rs-ant.mjs +275 -99
  36. package/fesm2020/ngx-rs-ant.mjs.map +1 -1
  37. package/form/form.component.d.ts +2 -1
  38. package/package.json +1 -1
  39. package/public-api.d.ts +1 -0
  40. package/esm2020/camunda-bpmn-editor/custom/config/descriptors/coast.json +0 -24
  41. package/esm2020/camunda-bpmn-editor/custom/config/properties/DescriptionProps.mjs +0 -28
@@ -10,6 +10,7 @@ export declare class FormComponent implements OnInit, OnChanges, OnDestroy {
10
10
  oid?: any;
11
11
  copyOid?: any;
12
12
  template?: any;
13
+ extraAttrMap?: any;
13
14
  params?: any;
14
15
  tabViewContainerRef?: ViewContainerRef;
15
16
  onlyFrontEnd: boolean;
@@ -30,5 +31,5 @@ export declare class FormComponent implements OnInit, OnChanges, OnDestroy {
30
31
  validate(): Promise<boolean>;
31
32
  submit(): void;
32
33
  static ɵfac: i0.ɵɵFactoryDeclaration<FormComponent, 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>;
34
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormComponent, "rs-form", never, { "tenant": "tenant"; "className": "className"; "oid": "oid"; "copyOid": "copyOid"; "template": "template"; "extraAttrMap": "extraAttrMap"; "params": "params"; "tabViewContainerRef": "tabViewContainerRef"; "onlyFrontEnd": "onlyFrontEnd"; "model": "model"; "readonly": "readonly"; }, { "submitCallback": "submitCallback"; }, never, never, false, never>;
34
35
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-rs-ant",
3
- "version": "1.3.2",
3
+ "version": "1.3.5",
4
4
  "license": "MIT",
5
5
  "description": "RsAnt components based on Angular and DevExtreme",
6
6
  "exports": {
package/public-api.d.ts CHANGED
@@ -20,6 +20,7 @@ export * from './drawer/drawer.component';
20
20
  export * from './drawer/drawer.module';
21
21
  export * from './drawer/drawer.service';
22
22
  export * from './dynamic-params/dynamic-params.component';
23
+ export * from './dynamic-params/tooltip-content-template.directive';
23
24
  export * from './dynamic-params/dynamic-params.module';
24
25
  export * from './form/form.component';
25
26
  export * from './form/form.module';
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRGVzY3JpcHRpb25Qcm9wcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1ycy1hbnQvc3JjL2NhbXVuZGEtYnBtbi1lZGl0b3IvY3VzdG9tL2NvbmZpZy9wcm9wZXJ0aWVzL0Rlc2NyaXB0aW9uUHJvcHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsYUFBYTtBQUNiLE9BQU8sRUFBQyxzQkFBc0IsRUFBRSxjQUFjLEVBQUMsTUFBTSwyQkFBMkIsQ0FBQztBQUNqRixPQUFPLEVBQUMsb0JBQW9CLEVBQUMsTUFBTSxzQkFBc0IsQ0FBQztBQUUxRCxNQUFNLENBQUMsT0FBTyxPQUFPLGdCQUFnQjtJQUtuQyxZQUFZLEtBQVU7UUFKdEIsT0FBRSxHQUFHLHVCQUF1QixDQUFDO1FBSzNCLE1BQU0sRUFDSixPQUFPLEVBQ1AsU0FBUyxFQUNULFdBQVcsRUFDWCxRQUFRLEVBQ1IsUUFBUSxFQUNULEdB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