@genesislcap/pbc-notify-ui 1.0.18 → 1.0.20

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 (24) hide show
  1. package/dist/dts/components/foundation-inbox/inbox.template.d.ts.map +1 -1
  2. package/dist/dts/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.d.ts +2 -2
  3. package/dist/dts/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.d.ts.map +1 -1
  4. package/dist/dts/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.types.d.ts +0 -4
  5. package/dist/dts/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.types.d.ts.map +1 -1
  6. package/dist/dts/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.d.ts +3 -3
  7. package/dist/dts/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.d.ts.map +1 -1
  8. package/dist/dts/components/foundation-notification-dashboard/components/templates/template-dialog/condition-builder/condition-builder.d.ts +2 -2
  9. package/dist/dts/components/foundation-notification-dashboard/components/templates/template-dialog/condition-builder/condition-builder.d.ts.map +1 -1
  10. package/dist/dts/components/foundation-notification-dashboard/components/templates/template-dialog/condition-builder/condition-builder.template.d.ts.map +1 -1
  11. package/dist/dts/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.d.ts +5 -5
  12. package/dist/dts/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.d.ts.map +1 -1
  13. package/dist/dts/services/system.service.d.ts +4 -1
  14. package/dist/dts/services/system.service.d.ts.map +1 -1
  15. package/dist/dts/services/template.service.d.ts +0 -2
  16. package/dist/dts/services/template.service.d.ts.map +1 -1
  17. package/dist/esm/components/foundation-inbox/inbox.template.js +1 -1
  18. package/dist/esm/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.js +1 -1
  19. package/dist/esm/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.js +10 -10
  20. package/dist/esm/components/foundation-notification-dashboard/components/templates/template-dialog/condition-builder/condition-builder.js +2 -2
  21. package/dist/esm/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.js +12 -12
  22. package/dist/esm/services/system.service.js +7 -5
  23. package/dist/esm/services/template.service.js +1 -29
  24. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"inbox.template.d.ts","sourceRoot":"","sources":["../../../../src/components/foundation-inbox/inbox.template.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAI1C,oBAAY,QAAQ;IAClB,QAAQ,IAAA;IACR,QAAQ,IAAA;IACR,SAAS,IAAA;CACV;AAED;;GAEG;AACH,eAAO,MAAM,uBAAuB,sEA8KnC,CAAC"}
1
+ {"version":3,"file":"inbox.template.d.ts","sourceRoot":"","sources":["../../../../src/components/foundation-inbox/inbox.template.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAG1C,oBAAY,QAAQ;IAClB,QAAQ,IAAA;IACR,QAAQ,IAAA;IACR,SAAS,IAAA;CACV;AAED;;GAEG;AACH,eAAO,MAAM,uBAAuB,sEA8KnC,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { FASTElement } from '@microsoft/fast-element';
2
- import { ConditionBuilderEntity, Field, RightCriteria } from './rule-condition-builder.types';
3
- import { SystemService } from '../../../../../../services/system.service';
2
+ import { Field, SystemService } from '../../../../../../services/system.service';
3
+ import { ConditionBuilderEntity, RightCriteria } from './rule-condition-builder.types';
4
4
  export declare class RuleConditionBuilder extends FASTElement {
5
5
  systemService: SystemService;
6
6
  condition: ConditionBuilderEntity;
@@ -1 +1 @@
1
- {"version":3,"file":"rule-condition-builder.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,WAAW,EAAc,MAAM,yBAAyB,CAAC;AAGjF,OAAO,EAAE,sBAAsB,EAAE,KAAK,EAAkB,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC9G,OAAO,EAAE,aAAa,EAAE,MAAM,2CAA2C,CAAC;AAI1E,qBAKa,oBAAqB,SAAQ,WAAW;IAEpC,aAAa,EAAE,aAAa,CAAC;IAEhC,SAAS,EAAE,sBAAsB,CAAC;IAClC,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,KAAK,EAAE,CAAC;IAExB,SAAS,EAAE,MAAM,CAAC;IAElB,eAAe,EAAE,MAAM,CAAC;IAExB,aAAa,EAAE,aAAa,CAAwB;IACpD,cAAc,EAAE,MAAM,CAAC;IACvB,mBAAmB,EAAE,MAAM,CAAC;IAGxC,UAAU,EAAE,OAAO,CAAQ;IAErB,gBAAgB;IAYhB,eAAe;IASrB,gBAAgB;IAShB,gBAAgB;IAOhB,sBAAsB;IAOtB,oBAAoB;IAcpB,qBAAqB;IAOrB,0BAA0B;IAO1B,eAAe;CAGhB"}
1
+ {"version":3,"file":"rule-condition-builder.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,WAAW,EAAc,MAAM,yBAAyB,CAAC;AACjF,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,2CAA2C,CAAC;AAGjF,OAAO,EAAE,sBAAsB,EAAkB,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAIvG,qBAKa,oBAAqB,SAAQ,WAAW;IAEpC,aAAa,EAAE,aAAa,CAAC;IAEhC,SAAS,EAAE,sBAAsB,CAAC;IAClC,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,KAAK,EAAE,CAAC;IAExB,SAAS,EAAE,MAAM,CAAC;IAElB,eAAe,EAAE,MAAM,CAAC;IAExB,aAAa,EAAE,aAAa,CAAwB;IACpD,cAAc,EAAE,MAAM,CAAC;IACvB,mBAAmB,EAAE,MAAM,CAAC;IAGxC,UAAU,EAAE,OAAO,CAAQ;IAErB,gBAAgB;IAYhB,eAAe;IASrB,gBAAgB;IAShB,gBAAgB;IAOhB,sBAAsB;IAOtB,oBAAoB;IAcpB,qBAAqB;IAOrB,0BAA0B;IAO1B,eAAe;CAGhB"}
@@ -10,8 +10,4 @@ export type ConditionBuilderEntity = {
10
10
  RIGHT_CRITERIA: RightCriteria;
11
11
  RIGHT_VALUE: string;
12
12
  };
13
- export type Field = {
14
- FIELD_NAME: string;
15
- FIELD_TYPE: string;
16
- };
17
13
  //# sourceMappingURL=rule-condition-builder.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"rule-condition-builder.types.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.types.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc;;;CAGjB,CAAC;AAEX,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,OAAO,cAAc,CAAC,CAAC;AAEjF,MAAM,MAAM,sBAAsB,GAAG;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,MAAM,CAAC;IACnB,gBAAgB,EAAE,MAAM,CAAC;IACzB,cAAc,EAAE,aAAa,CAAC;IAC9B,WAAW,EAAE,MAAM,CAAC;CACrB,CAAA;AAED,MAAM,MAAM,KAAK,GAAG;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;CACpB,CAAA"}
1
+ {"version":3,"file":"rule-condition-builder.types.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.types.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc;;;CAGjB,CAAC;AAEX,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,OAAO,cAAc,CAAC,CAAC;AAEjF,MAAM,MAAM,sBAAsB,GAAG;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,MAAM,CAAC;IACnB,gBAAgB,EAAE,MAAM,CAAC;IACzB,cAAc,EAAE,aAAa,CAAC;IAC9B,WAAW,EAAE,MAAM,CAAC;CACrB,CAAA"}
@@ -1,10 +1,10 @@
1
1
  import { Dialog } from '@genesislcap/foundation-zero';
2
2
  import { FASTElement } from '@microsoft/fast-element';
3
- import { RuleDialogMode, RuleDialogParams } from './rule-dialog.types';
4
- import { ConditionBuilderEntity, Field } from './rule-condition-builder/rule-condition-builder.types';
5
3
  import { NotifyService } from '../../../../../services/notify.service';
6
4
  import { RuleService } from '../../../../../services/rule.service';
7
- import { SystemService } from '../../../../../services/system.service';
5
+ import { Field, SystemService } from '../../../../../services/system.service';
6
+ import { ConditionBuilderEntity } from './rule-condition-builder/rule-condition-builder.types';
7
+ import { RuleDialogMode, RuleDialogParams } from './rule-dialog.types';
8
8
  export declare class RuleDialog extends FASTElement {
9
9
  ruleService: RuleService;
10
10
  systemService: SystemService;
@@ -1 +1 @@
1
- {"version":3,"file":"rule-dialog.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AACtD,OAAO,EAAiB,WAAW,EAAc,MAAM,yBAAyB,CAAC;AACjF,OAAO,EAAQ,cAAc,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAI7E,OAAO,EAAE,sBAAsB,EAAE,KAAK,EAAkB,MAAM,uDAAuD,CAAC;AAMtH,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AACvE,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AAEvE,qBAKa,UAAW,SAAQ,WAAW;IAE5B,WAAW,EAAE,WAAW,CAAC;IACvB,aAAa,EAAE,aAAa,CAAC;IAC7B,aAAa,EAAE,aAAa,CAAC;IAE5C,MAAM,EAAE,MAAM,CAAC;IACH,cAAc,EAAE,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,OAAO,cAAc,CAAC,CAAC;IAEjF,OAAO,CAAC,MAAM,CAAS;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAM;IACtB,KAAK,EAAE,MAAM,CAAM;IACnB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,cAAc,EAAE,KAAK,EAAE,CAAC;IACxB,QAAQ,EAAE,MAAM,CAAM;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAM;IAE/C,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,CAAM;IAE7B,UAAU,CAAC,MAAM,EAAE,gBAAgB;IAkDhD,IAAI,eAAe,IAAI,MAAM,CAE5B;IAED,MAAM;IAiCN,gBAAgB,CAAC,QAAQ,KAAA;IAoBzB,KAAK;IAgBL,YAAY;IAIZ,aAAa,CAAC,eAAe,EAAE,sBAAsB;IAGrD,eAAe,CAAC,gBAAgB,EAAE,sBAAsB;IAWlD,eAAe;IAKrB,oBAAoB,IAAI,sBAAsB;CAS/C"}
1
+ {"version":3,"file":"rule-dialog.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AACtD,OAAO,EAAiB,WAAW,EAAc,MAAM,yBAAyB,CAAC;AACjF,OAAO,EAAE,aAAa,EAAE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soft/fast-element';
2
+ import { Field, SystemService } from '../../../../../../services/system.service';
2
3
  import { ConditionBuilderEntity, ParameterBuilderEntity } from '../template-dialog.types';
3
- import { SystemService } from '../../../../../../services/system.service';
4
4
  export declare class ConditionBuilder extends FASTElement {
5
5
  systemService: SystemService;
6
6
  condition: ConditionBuilderEntity;
7
7
  resource: string;
8
8
  parameters: Array<ParameterBuilderEntity>;
9
- leftValueItems: Array<any>;
9
+ leftValueItems: Array<Field>;
10
10
  leftValue: any;
11
11
  logicalOperator: string;
12
12
  rightCriteria: string;
@@ -1 +1 @@
1
- {"version":3,"file":"condition-builder.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/foundation-notification-dashboard/components/templates/template-dialog/condition-builder/condition-builder.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAyC,MAAM,yBAAyB,CAAC;AAC7F,OAAO,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAI1F,OAAO,EAAE,aAAa,EAAE,MAAM,2CAA2C,CAAC;AAI1E,qBAKa,gBAAiB,SAAQ,WAAW;IAEhC,aAAa,EAAE,aAAa,CAAC;IAEtC,SAAS,EAAE,sBAAsB,CAAC;IAElC,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC;IAEpC,cAAc,EAAE,KAAK,CAAC,GAAG,CAAC,CAAK;IAC/B,SAAS,EAAE,GAAG,CAAC;IAEf,eAAe,EAAE,MAAM,CAAC;IAExB,aAAa,EAAE,MAAM,CAAwB;IAC7C,cAAc,EAAE,MAAM,CAAC;IACvB,mBAAmB,EAAE,MAAM,CAAC;IAE5B,eAAe,EAAE,KAAK,CAAC,GAAG,CAAC,CAAM;IAEjC,uBAAuB,EAAE,GAAG,CAAM;IAExC,iBAAiB;IAoBvB,oBAAoB;IAIpB,qBAAqB;IAYf,eAAe;IAMrB,iBAAiB;IAOX,gBAAgB;IAYtB,eAAe;IASf,gBAAgB;IAWhB,gBAAgB;IAOhB,sBAAsB;IAOtB,oBAAoB;IAiBpB,qBAAqB;IAOrB,0BAA0B;IAO1B,eAAe;CAGhB"}
1
+ {"version":3,"file":"condition-builder.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/foundation-notification-dashboard/components/templates/template-dialog/condition-builder/condition-builder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAyC,MAAM,yBAAyB,CAAC;AAC7F,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,2CAA2C,CAAC;AAEjF,OAAO,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAM1F,qBAKa,gBAAiB,SAAQ,WAAW;IAEhC,aAAa,EAAE,aAAa,CAAC;IAEtC,SAAS,EAAE,sBAAsB,CAAC;IAElC,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC;IAEpC,cAAc,EAAE,KAAK,CAAC,KAAK,CAAC,CAAK;IACjC,SAAS,EAAE,GAAG,CAAC;IAEf,eAAe,EAAE,MAAM,CAAC;IAExB,aAAa,EAAE,MAAM,CAAwB;IAC7C,cAAc,EAAE,MAAM,CAAC;IACvB,mBAAmB,EAAE,MAAM,CAAC;IAE5B,eAAe,EAAE,KAAK,CAAC,GAAG,CAAC,CAAM;IAEjC,uBAAuB,EAAE,GAAG,CAAM;IAExC,iBAAiB;IAoBvB,oBAAoB;IAIpB,qBAAqB;IAYf,eAAe;IAMrB,iBAAiB;IAOX,gBAAgB;IAYtB,eAAe;IASf,gBAAgB;IAWhB,gBAAgB;IAOhB,sBAAsB;IAOtB,oBAAoB;IAiBpB,qBAAqB;IAOrB,0BAA0B;IAO1B,eAAe;CAGhB"}
@@ -1 +1 @@
1
- {"version":3,"file":"condition-builder.template.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/foundation-notification-dashboard/components/templates/template-dialog/condition-builder/condition-builder.template.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAA2B,MAAM,yBAAyB,CAAC;AAIhF,eAAO,MAAM,wBAAwB,EAAE,YAoEtC,CAAC"}
1
+ {"version":3,"file":"condition-builder.template.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/foundation-notification-dashboard/components/templates/template-dialog/condition-builder/condition-builder.template.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAsB,MAAM,yBAAyB,CAAC;AAM3E,eAAO,MAAM,wBAAwB,EAAE,YAoEtC,CAAC"}
@@ -1,9 +1,9 @@
1
- import { FASTElement } from '@microsoft/fast-element';
2
- import { ParameterBuilderEntity, ConditionBuilderEntity, TemplateDialogMode } from './template-dialog.types';
3
1
  import { Dialog } from '@genesislcap/foundation-zero';
4
- import { TemplateService } from '../../../../../services/template.service';
5
- import { SystemService } from '../../../../../services/system.service';
2
+ import { FASTElement } from '@microsoft/fast-element';
6
3
  import { NotifyService } from '../../../../../services/notify.service';
4
+ import { Field, SystemService } from '../../../../../services/system.service';
5
+ import { TemplateService } from '../../../../../services/template.service';
6
+ import { ConditionBuilderEntity, ParameterBuilderEntity, TemplateDialogMode } from './template-dialog.types';
7
7
  export declare class TemplateDialog extends FASTElement {
8
8
  ruleTemplateService: TemplateService;
9
9
  systemService: SystemService;
@@ -19,7 +19,7 @@ export declare class TemplateDialog extends FASTElement {
19
19
  parameters: Array<ParameterBuilderEntity>;
20
20
  conditions: Array<ConditionBuilderEntity>;
21
21
  resources: Array<string>;
22
- fields: Array<any>;
22
+ fields: Array<Field>;
23
23
  topics: Array<string>;
24
24
  templateDialogMode: (typeof TemplateDialogMode)[keyof typeof TemplateDialogMode];
25
25
  dialog: Dialog;
@@ -1 +1 @@
1
- {"version":3,"file":"template-dialog.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,WAAW,EAAc,MAAM,yBAAyB,CAAC;AAGjF,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,eAAe,EAAE,sBAAsB;IAIrD,eAAe,CAAC,gBAAgB,EAAE,sBAAsB;IAWlD,eAAe;CAItB"}
1
+ {"version":3,"file":"template-dialog.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AACtD,OAAO,EAAiB,WAAW,EAAc,MAAM,yBAAyB,CAAC;AACjF,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AACvE,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AAC9E,OAAO,EAAE,eAAe,EAAE,MAAM,0CAA0C,CAAC;AAO3E,OAAO,EAAE,sBAAsB,EAAE,sBAAsB,EAAY,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAKvH,qBAKa,cAAe,SAAQ,WAAW;IAE5B,mBAAmB,EAAE,eAAe,CAAC;IACvC,aAAa,EAAE,aAAa,CAAC;IAC7B,aAAa,EAAE,aAAa,CAAC;IAEhC,cAAc,EAAE,MAAM,CAAC;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,MAAC;IACP,OAAO,MAAC;IACR,QAAQ,EAAE,MAAM,CAAM;IACtB,KAAK,MAAC;IACN,QAAQ,MAAC;IAET,UAAU,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAM;IAC/C,UAAU,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAM;IAE/C,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,CAAM;IAC9B,MAAM,EAAE,KAAK,CAAC,KAAK,CAAC,CAAM;IAC1B,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAM;IAE3B,kBAAkB,EAAE,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,OAAO,kBAAkB,CAAC,CAAC;IAE7F,MAAM,EAAE,MAAM,CAAC;IAEF,UAAU,CAAC,MAAM,EAAE,GAAG;IAmEnC,IAAI,mBAAmB,IAAI,MAAM,CAKhC;IAED,MAAM;IAuCN,gBAAgB,CAAC,QAAQ,KAAA;IAoBzB,KAAK;IAkBL,YAAY;IAIZ,aAAa,CAAC,eAAe,EAAE,sBAAsB;IAGrD,eAAe,CAAC,gBAAgB,EAAE,sBAAsB;IAYxD,YAAY;IAIZ,aAAa,CAAC,eAAe,EAAE,sBAAsB;IAIrD,eAAe,CAAC,gBAAgB,EAAE,sBAAsB;IAWlD,eAAe;CAItB"}
@@ -1,4 +1,7 @@
1
- import { Field } from '../components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.types';
1
+ export type Field = {
2
+ FIELD_NAME: string;
3
+ FIELD_TYPE: string;
4
+ };
2
5
  export interface SystemService {
3
6
  getResources(): Promise<string[]>;
4
7
  getFields(resource: string): Promise<Field[]>;
@@ -1 +1 @@
1
- {"version":3,"file":"system.service.d.ts","sourceRoot":"","sources":["../../../src/services/system.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,kIAAkI,CAAC;AAEzJ,MAAM,WAAW,aAAa;IAC5B,YAAY,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC;IAClC,SAAS,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,EAAE,CAAC,CAAC;CAC/C;AAyBD,eAAO,MAAM,aAAa,qEAEzB,CAAC"}
1
+ {"version":3,"file":"system.service.d.ts","sourceRoot":"","sources":["../../../src/services/system.service.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,KAAK,GAAG;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;CACpB,CAAA;AAGD,MAAM,WAAW,aAAa;IAC5B,YAAY,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC;IAClC,SAAS,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,EAAE,CAAC,CAAC;CAC/C;AA2BD,eAAO,MAAM,aAAa,qEAEzB,CAAC"}
@@ -2,8 +2,6 @@ import { Template } from '../components/foundation-notification-dashboard/compon
2
2
  export interface TemplateService {
3
3
  createRuleTemplate(ruleTemplate: Template): Promise<any>;
4
4
  editRuleTemplate(ruleTemplate: Template): Promise<any>;
5
- getResources(): Promise<string[]>;
6
- getFields(resource: string): Promise<any>;
7
5
  getRuleTemplates(): any;
8
6
  getRuleTemplateDetails(dynamicRuleId: string): any;
9
7
  deleteRuleTemplate(dynamicRuleId: string): any;
@@ -1 +1 @@
1
- {"version":3,"file":"template.service.d.ts","sourceRoot":"","sources":["../../../src/services/template.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,4GAA4G,CAAC;AAEtI,MAAM,WAAW,eAAe;IAC9B,kBAAkB,CAAC,YAAY,EAAE,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;IACzD,gBAAgB,CAAC,YAAY,EAAE,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,CAAA;IACtD,YAAY,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC;IAClC,SAAS,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;IAC1C,gBAAgB,QAAG;IACnB,sBAAsB,CAAC,aAAa,EAAE,MAAM,OAAE;IAC9C,kBAAkB,CAAC,aAAa,EAAE,MAAM,OAAE;CAC3C;AAuFD,eAAO,MAAM,eAAe,uEAE3B,CAAC"}
1
+ {"version":3,"file":"template.service.d.ts","sourceRoot":"","sources":["../../../src/services/template.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,4GAA4G,CAAC;AAEtI,MAAM,WAAW,eAAe;IAC9B,kBAAkB,CAAC,YAAY,EAAE,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;IACzD,gBAAgB,CAAC,YAAY,EAAE,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,CAAA;IACtD,gBAAgB,QAAG;IACnB,sBAAsB,CAAC,aAAa,EAAE,MAAM,OAAE;IAC9C,kBAAkB,CAAC,aAAa,EAAE,MAAM,OAAE;CAC3C;AAyDD,eAAO,MAAM,eAAe,uEAE3B,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { sync } from '@genesislcap/foundation-utils';
2
2
  import { html, ref, repeat, when } from '@microsoft/fast-element';
3
- import { getFormattedDate, getIcon, getSeverityColor, getStatus } from './inbox.utils';
4
3
  import { NotifyPermission } from '../../utils/notifyPermissions';
4
+ import { getFormattedDate, getIcon, getSeverityColor, getStatus } from './inbox.utils';
5
5
  export var InboxTab;
6
6
  (function (InboxTab) {
7
7
  InboxTab[InboxTab["AlertLog"] = 0] = "AlertLog";
@@ -1,9 +1,9 @@
1
1
  import { __awaiter, __decorate } from "tslib";
2
2
  import { customElement, FASTElement, observable } from '@microsoft/fast-element';
3
+ import { SystemService } from '../../../../../../services/system.service';
3
4
  import { ConditionBuilderStyles as styles } from './rule-condition-builder.styles';
4
5
  import { ConditionBuilderTemplate as template } from './rule-condition-builder.template';
5
6
  import { RIGHT_CRITERIA } from './rule-condition-builder.types';
6
- import { SystemService } from '../../../../../../services/system.service';
7
7
  const name = 'rule-condition-builder';
8
8
  let RuleConditionBuilder = class RuleConditionBuilder extends FASTElement {
9
9
  constructor() {
@@ -1,18 +1,18 @@
1
1
  import { __awaiter, __decorate } from "tslib";
2
- import { customElement, FASTElement, observable } from '@microsoft/fast-element';
3
- import { RuleDialogMode } from './rule-dialog.types';
4
2
  import { showNotification } from '@genesislcap/foundation-notifications';
5
- import { RuleDialogTemplate } from './rule-dialog.template';
6
- import { RuleDialogStyles } from './rule-dialog.styles';
7
- import { RIGHT_CRITERIA } from './rule-condition-builder/rule-condition-builder.types';
8
- import { SEVERITY_INFORMATION } from '../../../types/severity';
9
- import { createAssignment, createConditions, getAssignmentValue, UUIDGenerator } from '../../templates/template-dialog/template-dialog.utils';
10
- import { EXPRESSION_TYPE_PLACEHOLDER } from '../../../types/expression-type';
11
- import { humanize } from '../../../../../utils';
12
- import { LOGICAL_OPERATOR_EQUALS } from '../../../types/logical-operator';
3
+ import { customElement, FASTElement, observable } from '@microsoft/fast-element';
13
4
  import { NotifyService } from '../../../../../services/notify.service';
14
5
  import { RuleService } from '../../../../../services/rule.service';
15
6
  import { SystemService } from '../../../../../services/system.service';
7
+ import { humanize } from '../../../../../utils';
8
+ import { EXPRESSION_TYPE_PLACEHOLDER } from '../../../types/expression-type';
9
+ import { LOGICAL_OPERATOR_EQUALS } from '../../../types/logical-operator';
10
+ import { SEVERITY_INFORMATION } from '../../../types/severity';
11
+ import { createAssignment, createConditions, getAssignmentValue, UUIDGenerator } from '../../templates/template-dialog/template-dialog.utils';
12
+ import { RIGHT_CRITERIA } from './rule-condition-builder/rule-condition-builder.types';
13
+ import { RuleDialogStyles } from './rule-dialog.styles';
14
+ import { RuleDialogTemplate } from './rule-dialog.template';
15
+ import { RuleDialogMode } from './rule-dialog.types';
16
16
  let RuleDialog = class RuleDialog extends FASTElement {
17
17
  constructor() {
18
18
  super(...arguments);
@@ -1,9 +1,9 @@
1
1
  import { __awaiter, __decorate } from "tslib";
2
2
  import { FASTElement, attr, customElement, html, observable } from '@microsoft/fast-element';
3
+ import { SystemService } from '../../../../../../services/system.service';
4
+ import { RIGHT_CRITERIA_VALUE } from '../../../../types/right-criteria';
3
5
  import { ConditionBuilderStyles as styles } from './condition-builder.styles';
4
6
  import { ConditionBuilderTemplate as template } from './condition-builder.template';
5
- import { RIGHT_CRITERIA_VALUE } from '../../../../types/right-criteria';
6
- import { SystemService } from '../../../../../../services/system.service';
7
7
  const name = 'condition-builder';
8
8
  let ConditionBuilder = class ConditionBuilder extends FASTElement {
9
9
  constructor() {
@@ -1,17 +1,17 @@
1
1
  import { __awaiter, __decorate } from "tslib";
2
+ import { showNotification } from '@genesislcap/foundation-notifications';
2
3
  import { customElement, FASTElement, observable } from '@microsoft/fast-element';
3
- import { TemplateDialogTemplate as template } from './template-dialog.template';
4
+ import { NotifyService } from '../../../../../services/notify.service';
5
+ import { SystemService } from '../../../../../services/system.service';
6
+ import { TemplateService } from '../../../../../services/template.service';
7
+ import { humanize, logger } from '../../../../../utils';
8
+ import { EXPRESSION_TYPE_PLACEHOLDER } from '../../../types/expression-type';
9
+ import { RIGHT_CRITERIA_USER_ENTRY, RIGHT_CRITERIA_VALUE } from '../../../types/right-criteria';
10
+ import { SEVERITY_INFORMATION } from '../../../types/severity';
4
11
  import { TemplateDialogStyles as styles } from './template-dialog.styles';
12
+ import { TemplateDialogTemplate as template } from './template-dialog.template';
5
13
  import { TemplateDialogMode } from './template-dialog.types';
6
14
  import { createAssignment, createConditions, createEmptyCondition, createEmptyParameter, createParameterDetails, getAssignmentValue, UUIDGenerator } from './template-dialog.utils';
7
- import { showNotification } from '@genesislcap/foundation-notifications';
8
- import { SEVERITY_INFORMATION } from '../../../types/severity';
9
- import { EXPRESSION_TYPE_PLACEHOLDER } from '../../../types/expression-type';
10
- import { RIGHT_CRITERIA_USER_ENTRY, RIGHT_CRITERIA_VALUE } from '../../../types/right-criteria';
11
- import { humanize, logger } from '../../../../../utils';
12
- import { TemplateService } from '../../../../../services/template.service';
13
- import { SystemService } from '../../../../../services/system.service';
14
- import { NotifyService } from '../../../../../services/notify.service';
15
15
  const name = 'template-dialog';
16
16
  let TemplateDialog = class TemplateDialog extends FASTElement {
17
17
  constructor() {
@@ -33,7 +33,7 @@ let TemplateDialog = class TemplateDialog extends FASTElement {
33
33
  case TemplateDialogMode.CREATE:
34
34
  this.conditions.push(createEmptyCondition());
35
35
  this.resource = this.resources[0];
36
- this.fields = yield this.ruleTemplateService.getFields(this.resource);
36
+ this.fields = yield this.systemService.getFields(this.resource);
37
37
  this.topic = this.topics[0];
38
38
  this.severity = SEVERITY_INFORMATION;
39
39
  break;
@@ -43,7 +43,7 @@ let TemplateDialog = class TemplateDialog extends FASTElement {
43
43
  this.name = ruleTemplate.RULE_NAME;
44
44
  this.description = ruleTemplate.RULE_DESCRIPTION;
45
45
  this.resource = ruleTemplate.RULE_TABLE;
46
- this.fields = yield this.ruleTemplateService.getFields(this.resource);
46
+ this.fields = yield this.systemService.getFields(this.resource);
47
47
  // Parameters
48
48
  this.parameters = Object.keys(ruleTemplate.PARAMETERS).map(key => {
49
49
  return {
@@ -181,7 +181,7 @@ let TemplateDialog = class TemplateDialog extends FASTElement {
181
181
  resourceChanged() {
182
182
  return __awaiter(this, void 0, void 0, function* () {
183
183
  this.conditions = [createEmptyCondition()];
184
- this.fields = yield this.ruleTemplateService.getFields(this.resource);
184
+ this.fields = yield this.systemService.getFields(this.resource);
185
185
  });
186
186
  }
187
187
  };
@@ -4,8 +4,8 @@ import { DI } from '@microsoft/fast-foundation';
4
4
  class SystemServiceImpl {
5
5
  getResources() {
6
6
  return __awaiter(this, void 0, void 0, function* () {
7
- const response = yield this.connect.request('SYSTEM_TABLES');
8
- return response.REPLY.map(table => table.TABLE_NAME).sort();
7
+ const response = yield this.connect.request('NOTIFY_SYSTEM_ENTITY', { REQUEST: { ENTITY_NAME: "*" } });
8
+ return response.REPLY.map(table => table.ENTITY_NAME).sort();
9
9
  });
10
10
  }
11
11
  getFields(resource) {
@@ -13,12 +13,14 @@ class SystemServiceImpl {
13
13
  if (!resource) {
14
14
  return [];
15
15
  }
16
- const response = yield this.connect.request('SYSTEM_TABLE_FIELDS', {
16
+ const response = yield this.connect.request('SYSTEM_ENTITY_FIELDS', {
17
17
  REQUEST: {
18
- TABLE_NAME: resource
18
+ ENTITY_NAME: resource
19
19
  }
20
20
  });
21
- return response.REPLY.sort((a, b) => a.FIELD_NAME.localeCompare(b.FIELD_NAME));
21
+ return response.REPLY
22
+ .sort((a, b) => a.NAME.localeCompare(b.NAME))
23
+ .map(entity => ({ FIELD_NAME: entity.NAME, FIELD_TYPE: entity.TYPE }));
22
24
  });
23
25
  }
24
26
  }
@@ -1,35 +1,7 @@
1
1
  import { __awaiter, __decorate } from "tslib";
2
- import { DI } from '@microsoft/fast-foundation';
3
2
  import { Connect } from '@genesislcap/foundation-comms';
3
+ import { DI } from '@microsoft/fast-foundation';
4
4
  class TemplateServiceImpl {
5
- constructor() {
6
- this.compareByFieldName = (a, b) => a.FIELD_NAME.localeCompare(b.FIELD_NAME);
7
- }
8
- getResources() {
9
- return __awaiter(this, void 0, void 0, function* () {
10
- let resources;
11
- yield this.connect.request('SYSTEM_TABLES').then(data => {
12
- resources = data.REPLY.map(table => table.TABLE_NAME).sort();
13
- });
14
- return resources;
15
- });
16
- }
17
- getFields(resource) {
18
- return __awaiter(this, void 0, void 0, function* () {
19
- if (!resource) {
20
- return [];
21
- }
22
- let fields;
23
- yield this.connect.request('SYSTEM_TABLE_FIELDS', {
24
- REQUEST: {
25
- TABLE_NAME: resource
26
- }
27
- }).then(data => {
28
- fields = data.REPLY.sort(this.compareByFieldName);
29
- });
30
- return fields;
31
- });
32
- }
33
5
  createRuleTemplate(ruleTemplate) {
34
6
  return __awaiter(this, void 0, void 0, function* () {
35
7
  return yield this.connect.commitEvent('EVENT_NOTIFICATION_RULE_TEMPLATE_CREATE', {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/pbc-notify-ui",
3
3
  "description": "Genesis PBC Notify UI",
4
- "version": "1.0.18",
4
+ "version": "1.0.20",
5
5
  "license": "SEE LICENSE IN license.txt",
6
6
  "main": "dist/esm/index.js",
7
7
  "types": "dist/dts/index.d.ts",