@genesislcap/pbc-notify-ui 1.0.8 → 1.0.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 (22) hide show
  1. package/dist/dts/components/foundation-inbox/components/inbox-subscription/rule-parameter/rule-parameter.d.ts +1 -1
  2. package/dist/dts/components/foundation-inbox/components/inbox-subscription/rule-parameter/rule-parameter.d.ts.map +1 -1
  3. package/dist/dts/components/foundation-inbox/components/inbox-subscription/rule-parameter/rule-parameter.template.d.ts.map +1 -1
  4. package/dist/dts/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.d.ts +0 -1
  5. package/dist/dts/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.d.ts.map +1 -1
  6. package/dist/dts/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.template.d.ts.map +1 -1
  7. package/dist/dts/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.types.d.ts +0 -1
  8. package/dist/dts/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.types.d.ts.map +1 -1
  9. package/dist/dts/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.d.ts +0 -1
  10. package/dist/dts/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.d.ts.map +1 -1
  11. package/dist/dts/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.template.d.ts.map +1 -1
  12. package/dist/dts/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.types.d.ts +0 -1
  13. package/dist/dts/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.types.d.ts.map +1 -1
  14. package/dist/esm/components/foundation-inbox/components/inbox-subscription/inbox-subscription.template.js +1 -1
  15. package/dist/esm/components/foundation-inbox/components/inbox-subscription/rule-parameter/rule-parameter.js +6 -2
  16. package/dist/esm/components/foundation-inbox/components/inbox-subscription/rule-parameter/rule-parameter.template.js +1 -0
  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-dialog.js +1 -8
  19. package/dist/esm/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.template.js +4 -22
  20. package/dist/esm/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.js +1 -8
  21. package/dist/esm/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.template.js +10 -28
  22. package/package.json +1 -1
@@ -7,6 +7,6 @@ export declare class RuleParameter extends FASTElement {
7
7
  inputValue: string;
8
8
  connectedCallback(): void;
9
9
  disconnectedCallback(): void;
10
- inputValueChanged(): void;
10
+ parameterEdit(inputValue: any): void;
11
11
  }
12
12
  //# sourceMappingURL=rule-parameter.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"rule-parameter.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/foundation-inbox/components/inbox-subscription/rule-parameter/rule-parameter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAmC,MAAM,yBAAyB,CAAC;AAGvF,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAG3D,qBAKa,aAAc,SAAQ,WAAW;IAE1B,SAAS,EAAE,mBAAmB,CAAC;IAC3C,cAAc,EAAE,OAAO,CAAS;IAChC,QAAQ,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,MAAM,CAAM;IAEpC,iBAAiB;IAajB,oBAAoB;IAIpB,iBAAiB;CAMlB"}
1
+ {"version":3,"file":"rule-parameter.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/foundation-inbox/components/inbox-subscription/rule-parameter/rule-parameter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAmC,MAAM,yBAAyB,CAAC;AAGvF,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAG3D,qBAKa,aAAc,SAAQ,WAAW;IAE1B,SAAS,EAAE,mBAAmB,CAAC;IAC3C,cAAc,EAAE,OAAO,CAAS;IAChC,QAAQ,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,MAAM,CAAM;IAEpC,iBAAiB;IAajB,oBAAoB;IAIpB,aAAa,CAAC,UAAU,KAAA;CAUzB"}
@@ -1 +1 @@
1
- {"version":3,"file":"rule-parameter.template.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/foundation-inbox/components/inbox-subscription/rule-parameter/rule-parameter.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAsB,MAAM,yBAAyB,CAAC;AAO3E,eAAO,MAAM,qBAAqB,EAAE,YAkFnC,CAAC"}
1
+ {"version":3,"file":"rule-parameter.template.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/foundation-inbox/components/inbox-subscription/rule-parameter/rule-parameter.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAsB,MAAM,yBAAyB,CAAC;AAO3E,eAAO,MAAM,qBAAqB,EAAE,YAmFnC,CAAC"}
@@ -19,7 +19,6 @@ export declare class RuleDialog extends FASTElement {
19
19
  topic: string;
20
20
  topics: string[];
21
21
  resourceFields: Field[];
22
- executionStrategy: string;
23
22
  severity: string;
24
23
  header: string;
25
24
  message: string;
@@ -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;AAOtH,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,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAM;IACnB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,cAAc,EAAE,KAAK,EAAE,CAAC;IACxB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,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;IAsDhD,IAAI,eAAe,IAAI,MAAM,CAE5B;IAED,MAAM;IAoCN,gBAAgB,CAAC,QAAQ,KAAA;IAoBzB,KAAK;IAkBL,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":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AACtD,OAAO,EAAiB,WAAW,EAAc,MAAM,yBAAyB,CAAC;AACjF,OA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;CAS/C"}
@@ -1 +1 @@
1
- {"version":3,"file":"rule-dialog.template.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.template.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAqB,MAAM,yBAAyB,CAAC;AAO1E,eAAO,MAAM,kBAAkB,EAAE,YA0KhC,CAAC"}
1
+ {"version":3,"file":"rule-dialog.template.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.template.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAqB,MAAM,yBAAyB,CAAC;AAO1E,eAAO,MAAM,kBAAkB,EAAE,YAyJhC,CAAC"}
@@ -13,7 +13,6 @@ export type Rule = {
13
13
  RULE_NAME: string;
14
14
  RULE_DESCRIPTION: string;
15
15
  RULE_TABLE: string;
16
- RULE_EXECUTION_STRATEGY: string;
17
16
  RULE_EXPRESSION?: any;
18
17
  RAW_RULE_EXPRESSION?: string;
19
18
  RESULT_EXPRESSION?: {
@@ -1 +1 @@
1
- {"version":3,"file":"rule-dialog.types.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.types.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc;;;CAGjB,CAAC;AAEX,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,EAAE,OAAO,cAAc,CAAC,MAAM,CAAC;CACpC,GAAG;IACF,IAAI,EAAE,OAAO,cAAc,CAAC,IAAI,CAAC;IACjC,IAAI,EAAE,IAAI,CAAC;CACZ,CAAC;AAEF,MAAM,MAAM,IAAI,GAAG;IACjB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,EAAE,MAAM,CAAC;IAClB,gBAAgB,EAAE,MAAM,CAAC;IACzB,UAAU,EAAE,MAAM,CAAC;IACnB,uBAAuB,EAAE,MAAM,CAAC;IAChC,eAAe,CAAC,EAAE,GAAG,CAAC;IACtB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,iBAAiB,CAAC,EAAE;QAClB,WAAW,EAAE,KAAK,CAAC,GAAG,CAAC,CAAA;KACxB,CAAC;CACH,CAAC"}
1
+ {"version":3,"file":"rule-dialog.types.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.types.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc;;;CAGjB,CAAC;AAEX,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,EAAE,OAAO,cAAc,CAAC,MAAM,CAAC;CACpC,GAAG;IACF,IAAI,EAAE,OAAO,cAAc,CAAC,IAAI,CAAC;IACjC,IAAI,EAAE,IAAI,CAAC;CACZ,CAAC;AAEF,MAAM,MAAM,IAAI,GAAG;IACjB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,EAAE,MAAM,CAAC;IAClB,gBAAgB,EAAE,MAAM,CAAC;IACzB,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,GAAG,CAAC;IACtB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,iBAAiB,CAAC,EAAE;QAClB,WAAW,EAAE,KAAK,CAAC,GAAG,CAAC,CAAA;KACxB,CAAC;CACH,CAAC"}
@@ -15,7 +15,6 @@ export declare class TemplateDialog extends FASTElement {
15
15
  message: any;
16
16
  resource: string;
17
17
  topic: any;
18
- executionStrategy: any;
19
18
  severity: any;
20
19
  tableId: any;
21
20
  parameters: Array<ParameterBuilderEntity>;
@@ -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,OAAO,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,kBAAkB,EAA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AAsB;IAIrD,eAAe,CAAC,gBAAgB,EAAE,sBAAsB;IAWlD,eAAe;CAOtB"}
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,OAAO,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,kBAAkB,EAAY,MAAM,yBAAyB,CAAC;AAGvH,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AAKtD,OAAO,EAAE,eAAe,EAAE,MAAM,0CAA0C,CAAC;AAC3E,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AACvE,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AAIvE,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;IACT,OAAO,MAAC;IAER,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,GAAG,CAAC,CAAM;IACxB,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;IAqEnC,IAAI,mBAAmB,IAAI,MAAM,CAKhC;IAED,MAAM;IAwCN,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;CAOtB"}
@@ -1 +1 @@
1
- {"version":3,"file":"template-dialog.template.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.template.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAqB,MAAM,yBAAyB,CAAC;AAM1E,eAAO,MAAM,sBAAsB,EAAE,YAoMpC,CAAC"}
1
+ {"version":3,"file":"template-dialog.template.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.template.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAqB,MAAM,yBAAyB,CAAC;AAM1E,eAAO,MAAM,sBAAsB,EAAE,YAmLpC,CAAC"}
@@ -13,7 +13,6 @@ export type Template = {
13
13
  RULE_NAME: string;
14
14
  RULE_DESCRIPTION: string;
15
15
  RULE_TABLE: string;
16
- RULE_EXECUTION_STRATEGY: string;
17
16
  RULE_EXPRESSION?: any;
18
17
  RAW_RULE_EXPRESSION?: string;
19
18
  RESULT_EXPRESSION?: {
@@ -1 +1 @@
1
- {"version":3,"file":"template-dialog.types.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.types.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB;;;CAGrB,CAAC;AAEX,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,EAAE,OAAO,kBAAkB,CAAC,MAAM,CAAC;CACxC,GAAG;IACF,IAAI,EAAE,OAAO,kBAAkB,CAAC,IAAI,CAAC;IACrC,IAAI,EAAE,QAAQ,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,EAAE,MAAM,CAAC;IAClB,gBAAgB,EAAE,MAAM,CAAC;IACzB,UAAU,EAAE,MAAM,CAAC;IACnB,uBAAuB,EAAE,MAAM,CAAC;IAChC,eAAe,CAAC,EAAE,GAAG,CAAC;IACtB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,iBAAiB,CAAC,EAAE;QAClB,WAAW,EAAE,KAAK,CAAC,GAAG,CAAC,CAAA;KACxB,CAAC;IACF,iBAAiB,EAAE,GAAG,CAAA;CACvB,CAAA;AAED,MAAM,MAAM,sBAAsB,GAAG;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,GAAG,CAAC;IAChB,gBAAgB,EAAE,MAAM,CAAC;IACzB,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;CACrB,CAAA;AAED,MAAM,MAAM,sBAAsB,GAAG;IACnC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,YAAY,EAAE,MAAM,CAAC;CACtB,CAAA"}
1
+ {"version":3,"file":"template-dialog.types.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.types.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB;;;CAGrB,CAAC;AAEX,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,EAAE,OAAO,kBAAkB,CAAC,MAAM,CAAC;CACxC,GAAG;IACF,IAAI,EAAE,OAAO,kBAAkB,CAAC,IAAI,CAAC;IACrC,IAAI,EAAE,QAAQ,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,EAAE,MAAM,CAAC;IAClB,gBAAgB,EAAE,MAAM,CAAC;IACzB,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,GAAG,CAAC;IACtB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,iBAAiB,CAAC,EAAE;QAClB,WAAW,EAAE,KAAK,CAAC,GAAG,CAAC,CAAA;KACxB,CAAC;IACF,iBAAiB,EAAE,GAAG,CAAA;CACvB,CAAA;AAED,MAAM,MAAM,sBAAsB,GAAG;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,GAAG,CAAC;IAChB,gBAAgB,EAAE,MAAM,CAAC;IACzB,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;CACrB,CAAA;AAED,MAAM,MAAM,sBAAsB,GAAG;IACnC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,YAAY,EAAE,MAAM,CAAC;CACtB,CAAA"}
@@ -9,7 +9,7 @@ export const InboxSubscriptionTemplate = html `
9
9
  ${when(x => Object.values(x.template.PARAMETERS).length === 0, html `
10
10
  <p style="padding-left: 10px;">The selected template doesn't have parameters.</p>
11
11
  `)}
12
-
12
+
13
13
  ${when(x => Object.values(x.template.PARAMETERS).length > 0, html `
14
14
  <div class="inbox-subscription-content">
15
15
  ${repeat(
@@ -23,10 +23,14 @@ let RuleParameter = class RuleParameter extends FASTElement {
23
23
  disconnectedCallback() {
24
24
  super.disconnectedCallback();
25
25
  }
26
- inputValueChanged() {
26
+ parameterEdit(inputValue) {
27
+ if (this.inputValue === inputValue) {
28
+ return;
29
+ }
30
+ this.inputValue = inputValue;
27
31
  this.$emit('parameterEdited', {
28
32
  parameter: this.parameter,
29
- valueTyped: this.inputValue
33
+ valueTyped: inputValue
30
34
  });
31
35
  }
32
36
  };
@@ -26,6 +26,7 @@ export const RuleParameterTemplate = html `
26
26
  autofocus=${x => x.isFirstElement}
27
27
  class="input-field"
28
28
  :value=${sync(x => x.inputValue)}
29
+ @input=${(x, c) => x.parameterEdit(c.event.target.value)}
29
30
  >
30
31
  </zero-number-field>
31
32
  `)}
@@ -142,7 +142,7 @@ export const FoundationInboxTemplate = html `
142
142
  ${when(x => x.ruleTemplateDetails, html `
143
143
  <inbox-subscription
144
144
  :template=${x => x.ruleTemplateDetails}
145
- @templateSubscribed=${(x, c) => c.parent.ruleTemplateDetails = null}
145
+ @templateSubscribed=${x => x.ruleTemplateDetails = null}
146
146
  >
147
147
  </inbox-subscription>
148
148
  `)}
@@ -5,7 +5,6 @@ import { showNotification } from '@genesislcap/foundation-notifications';
5
5
  import { RuleDialogTemplate } from './rule-dialog.template';
6
6
  import { RuleDialogStyles } from './rule-dialog.styles';
7
7
  import { RIGHT_CRITERIA } from './rule-condition-builder/rule-condition-builder.types';
8
- import { RULE_EXECUTION_UNLIMITED } from '../../../types/rule-execution-strategy';
9
8
  import { SEVERITY_INFORMATION } from '../../../types/severity';
10
9
  import { createAssignment, createConditions, getAssignmentValue, UUIDGenerator } from '../../templates/template-dialog/template-dialog.utils';
11
10
  import { EXPRESSION_TYPE_PLACEHOLDER } from '../../../types/expression-type';
@@ -36,7 +35,6 @@ let RuleDialog = class RuleDialog extends FASTElement {
36
35
  this.resourceFields = yield this.systemService.getFields(this.resource);
37
36
  this.tableId = this.resourceFields[0].FIELD_NAME;
38
37
  this.topic = this.topics[0];
39
- this.executionStrategy = RULE_EXECUTION_UNLIMITED;
40
38
  this.severity = SEVERITY_INFORMATION;
41
39
  break;
42
40
  case RuleDialogMode.EDIT:
@@ -45,7 +43,6 @@ let RuleDialog = class RuleDialog extends FASTElement {
45
43
  this.name = rule.RULE_NAME;
46
44
  this.description = rule.RULE_DESCRIPTION;
47
45
  this.resource = rule.RULE_TABLE;
48
- this.executionStrategy = rule.RULE_EXECUTION_STRATEGY;
49
46
  // Conditions
50
47
  this.conditions = (_a = rule.RULE_EXPRESSION.CONDITIONS) === null || _a === void 0 ? void 0 : _a.map(condition => {
51
48
  var _a, _b;
@@ -79,7 +76,7 @@ let RuleDialog = class RuleDialog extends FASTElement {
79
76
  return `${this.ruleDialogMode === RuleDialogMode.CREATE ? 'Create' : 'Edit'} Rule`;
80
77
  }
81
78
  submit() {
82
- const rule = Object.assign(Object.assign({}, (this.ruleDialogMode === RuleDialogMode.EDIT && { DYNAMIC_RULE_ID: this.ruleId })), { RULE_NAME: this.name, RULE_DESCRIPTION: this.description, RULE_TABLE: this.resource, RULE_EXECUTION_STRATEGY: this.executionStrategy, RULE_EXPRESSION: {
79
+ const rule = Object.assign(Object.assign({}, (this.ruleDialogMode === RuleDialogMode.EDIT && { DYNAMIC_RULE_ID: this.ruleId })), { RULE_NAME: this.name, RULE_DESCRIPTION: this.description, RULE_TABLE: this.resource, RULE_EXPRESSION: {
83
80
  CONDITIONS: createConditions(this.conditions, null)
84
81
  }, RESULT_EXPRESSION: {
85
82
  ASSIGNMENTS: [
@@ -131,7 +128,6 @@ let RuleDialog = class RuleDialog extends FASTElement {
131
128
  this.resources = [];
132
129
  this.topic = null;
133
130
  this.topics = [];
134
- this.executionStrategy = null;
135
131
  this.severity = null;
136
132
  this.tableId = null;
137
133
  this.conditions = [];
@@ -198,9 +194,6 @@ __decorate([
198
194
  __decorate([
199
195
  observable
200
196
  ], RuleDialog.prototype, "resourceFields", void 0);
201
- __decorate([
202
- observable
203
- ], RuleDialog.prototype, "executionStrategy", void 0);
204
197
  __decorate([
205
198
  observable
206
199
  ], RuleDialog.prototype, "severity", void 0);
@@ -1,6 +1,5 @@
1
1
  import { sync } from '@genesislcap/foundation-utils';
2
2
  import { html, ref, repeat } from "@microsoft/fast-element";
3
- import { ALL_RULE_EXECUTION_STRATEGIES } from '../../../types/rule-execution-strategy';
4
3
  import { ALL_SEVERITIES } from '../../../types/severity';
5
4
  import { eventDetail } from '../../../../../utils/eventDetail';
6
5
  export const RuleDialogTemplate = html `
@@ -69,24 +68,7 @@ export const RuleDialogTemplate = html `
69
68
  `)}
70
69
  </zero-select>
71
70
  </div>
72
-
73
- <div class="control">
74
- <label>Execution Strategy</label>
75
- <zero-select
76
- :value=${sync(x => x.executionStrategy)}
77
- >
78
- <options-datasource
79
- value-field='value'
80
- label-field='value'
81
- option-element='zero-option'
82
- :data=${_ => ALL_RULE_EXECUTION_STRATEGIES.map(value => ({ value, label: value }))}
83
- >
84
- </options-datasource>
85
- </zero-select>
86
- </div>
87
- </div>
88
-
89
- <div class="content-row">
71
+
90
72
  <div class="control">
91
73
  <label>Severity</label>
92
74
  <zero-select
@@ -101,7 +83,9 @@ export const RuleDialogTemplate = html `
101
83
  </options-datasource>
102
84
  </zero-select>
103
85
  </div>
86
+ </div>
104
87
 
88
+ <div class="content-row">
105
89
  <div class="control">
106
90
  <label>Header</label>
107
91
  <zero-text-field
@@ -110,9 +94,7 @@ export const RuleDialogTemplate = html `
110
94
  >
111
95
  </zero-text-field>
112
96
  </div>
113
- </div>
114
-
115
- <div class="content-row">
97
+
116
98
  <div class="control">
117
99
  <label>Message</label>
118
100
  <zero-text-field
@@ -5,7 +5,6 @@ import { TemplateDialogStyles as styles } from './template-dialog.styles';
5
5
  import { TemplateDialogMode } from './template-dialog.types';
6
6
  import { createAssignment, createConditions, createEmptyCondition, createEmptyParameter, createParameterDetails, getAssignmentValue, UUIDGenerator } from './template-dialog.utils';
7
7
  import { showNotification } from '@genesislcap/foundation-notifications';
8
- import { RULE_EXECUTION_UNLIMITED } from '../../../types/rule-execution-strategy';
9
8
  import { SEVERITY_INFORMATION } from '../../../types/severity';
10
9
  import { EXPRESSION_TYPE_PLACEHOLDER } from '../../../types/expression-type';
11
10
  import { RIGHT_CRITERIA_USER_ENTRY, RIGHT_CRITERIA_VALUE } from '../../../types/right-criteria';
@@ -37,7 +36,6 @@ let TemplateDialog = class TemplateDialog extends FASTElement {
37
36
  this.fields = yield this.ruleTemplateService.getFields(this.resource);
38
37
  this.tableId = this.fields[0].FIELD_NAME;
39
38
  this.topic = this.topics[0];
40
- this.executionStrategy = RULE_EXECUTION_UNLIMITED;
41
39
  this.severity = SEVERITY_INFORMATION;
42
40
  break;
43
41
  case TemplateDialogMode.EDIT:
@@ -47,7 +45,6 @@ let TemplateDialog = class TemplateDialog extends FASTElement {
47
45
  this.description = ruleTemplate.RULE_DESCRIPTION;
48
46
  this.resource = ruleTemplate.RULE_TABLE;
49
47
  this.fields = yield this.ruleTemplateService.getFields(this.resource);
50
- this.executionStrategy = ruleTemplate.RULE_EXECUTION_STRATEGY;
51
48
  // Parameters
52
49
  this.parameters = Object.keys(ruleTemplate.PARAMETERS).map(key => {
53
50
  return {
@@ -98,7 +95,7 @@ let TemplateDialog = class TemplateDialog extends FASTElement {
98
95
  return `${mode} Template`;
99
96
  }
100
97
  submit() {
101
- const template = Object.assign(Object.assign({}, (this.templateDialogMode === TemplateDialogMode.EDIT && { DYNAMIC_RULE_ID: this.ruleTemplateId })), { RULE_NAME: this.name, RULE_DESCRIPTION: this.description, RULE_TABLE: this.resource, RULE_EXECUTION_STRATEGY: this.executionStrategy, RULE_EXPRESSION: {
98
+ const template = Object.assign(Object.assign({}, (this.templateDialogMode === TemplateDialogMode.EDIT && { DYNAMIC_RULE_ID: this.ruleTemplateId })), { RULE_NAME: this.name, RULE_DESCRIPTION: this.description, RULE_TABLE: this.resource, RULE_EXPRESSION: {
102
99
  CONDITIONS: createConditions(this.conditions, this.parameters)
103
100
  }, RAW_RULE_EXPRESSION: null, RESULT_EXPRESSION: {
104
101
  ASSIGNMENTS: [
@@ -151,7 +148,6 @@ let TemplateDialog = class TemplateDialog extends FASTElement {
151
148
  this.message = null;
152
149
  this.resource = null;
153
150
  this.topic = null;
154
- this.executionStrategy = null;
155
151
  this.severity = null;
156
152
  this.conditions = [];
157
153
  this.parameters = [];
@@ -226,9 +222,6 @@ __decorate([
226
222
  __decorate([
227
223
  observable
228
224
  ], TemplateDialog.prototype, "topic", void 0);
229
- __decorate([
230
- observable
231
- ], TemplateDialog.prototype, "executionStrategy", void 0);
232
225
  __decorate([
233
226
  observable
234
227
  ], TemplateDialog.prototype, "severity", void 0);
@@ -1,6 +1,5 @@
1
1
  import { sync } from '@genesislcap/foundation-utils';
2
2
  import { html, ref, repeat } from "@microsoft/fast-element";
3
- import { ALL_RULE_EXECUTION_STRATEGIES } from '../../../types/rule-execution-strategy';
4
3
  import { ALL_SEVERITIES } from '../../../types/severity';
5
4
  import { eventDetail } from '../../../../../utils/eventDetail';
6
5
  export const TemplateDialogTemplate = html `
@@ -70,47 +69,30 @@ export const TemplateDialogTemplate = html `
70
69
  </div>
71
70
 
72
71
  <div class="control">
73
- <label>Execution Strategy</label>
72
+ <label>Severity</label>
74
73
  <zero-select
75
- :value=${sync(x => x.executionStrategy)}
74
+ :value=${sync(x => x.severity)}
76
75
  >
77
76
  <options-datasource
78
77
  value-field='value'
79
78
  label-field='value'
80
79
  option-element='zero-option'
81
- :data=${_ => ALL_RULE_EXECUTION_STRATEGIES.map(value => ({ value, label: value }))}
80
+ :data=${_ => ALL_SEVERITIES.map(value => ({ value, label: value }))}
82
81
  >
83
82
  </options-datasource>
84
83
  </zero-select>
85
84
  </div>
86
85
  </div>
87
86
 
88
- <div class="content-row">
89
- <div class="control">
90
- <label>Severity</label>
91
- <zero-select
92
- :value=${sync(x => x.severity)}
93
- >
94
- <options-datasource
95
- value-field='value'
96
- label-field='value'
97
- option-element='zero-option'
98
- :data=${_ => ALL_SEVERITIES.map(value => ({ value, label: value }))}
87
+ <div class="content-row">
88
+ <div class="control">
89
+ <label>Header</label>
90
+ <zero-text-field
91
+ :value=${sync(x => x.header)}
99
92
  >
100
- </options-datasource>
101
- </zero-select>
102
- </div>
103
-
104
- <div class="control">
105
- <label>Header</label>
106
- <zero-text-field
107
- :value=${sync(x => x.header)}
108
- >
109
- </zero-text-field>
110
- </div>
111
- </div>
93
+ </zero-text-field>
94
+ </div>
112
95
 
113
- <div class="content-row">
114
96
  <div class="control">
115
97
  <label>Message</label>
116
98
  <zero-text-field
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.8",
4
+ "version": "1.0.9",
5
5
  "license": "SEE LICENSE IN license.txt",
6
6
  "main": "dist/esm/index.js",
7
7
  "types": "dist/dts/index.d.ts",