@genesislcap/pbc-notify-ui 1.0.59 → 1.0.60

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 (19) hide show
  1. package/dist/dts/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.d.ts.map +1 -1
  2. package/dist/dts/components/foundation-inbox/inbox-base/inbox-base.d.ts.map +1 -1
  3. package/dist/dts/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.d.ts +4 -0
  4. package/dist/dts/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.d.ts.map +1 -1
  5. package/dist/dts/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.template.d.ts.map +1 -1
  6. package/dist/dts/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.d.ts +2 -2
  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/rules/rule-dialog/rule-dialog.template.d.ts.map +1 -1
  9. package/dist/dts/notify.types.d.ts +8 -0
  10. package/dist/dts/notify.types.d.ts.map +1 -1
  11. package/dist/esm/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.js +1 -1
  12. package/dist/esm/components/foundation-inbox/inbox-base/inbox-base.js +1 -1
  13. package/dist/esm/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.js +51 -3
  14. package/dist/esm/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.template.js +33 -13
  15. package/dist/esm/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.js +12 -14
  16. package/dist/esm/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.template.js +32 -5
  17. package/dist/esm/components/foundation-notification-dashboard/notification-dashboard.utils.js +1 -1
  18. package/dist/esm/notify.types.js +60 -0
  19. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"foundation-inbox-counter.d.ts","sourceRoot":"","sources":["../../../../../../src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,cAAc,EAAc,MAAM,uBAAuB,CAAC;AAClF,OAAO,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AAK5E,qBAKa,sBAAuB,SAAQ,cAAc;IAC5C,KAAK,EAAE,MAAM,CAAK;IACN,YAAY,EAAE,sBAAsB,CAAC;IAC7D,OAAO,CAAC,mBAAmB,CAAgB;IAErC,iBAAiB;IAQvB,oBAAoB;CAIrB"}
1
+ {"version":3,"file":"foundation-inbox-counter.d.ts","sourceRoot":"","sources":["../../../../../../src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,cAAc,EAAc,MAAM,uBAAuB,CAAC;AAClF,OAAO,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AAK5E,qBAKa,sBAAuB,SAAQ,cAAc;IAC5C,KAAK,EAAE,MAAM,CAAK;IACN,YAAY,EAAE,sBAAsB,CAAC;IAC7D,OAAO,CAAC,mBAAmB,CAAgB;IAErC,iBAAiB;IAYvB,oBAAoB;CAIrB"}
@@ -1 +1 @@
1
- {"version":3,"file":"inbox-base.d.ts","sourceRoot":"","sources":["../../../../../src/components/foundation-inbox/inbox-base/inbox-base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AAErD,OAAO,EAEL,UAAU,EAIX,MAAM,kCAAkC,CAAC;AAE1C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,EAAE,cAAc,EAAc,MAAM,uBAAuB,CAAC;AAGnE,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAC/D,OAAO,EAAE,sBAAsB,EAAE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ue;
17
17
  assignRightValue(): void;
18
+ getRightCriteria(): Array<any>;
19
+ getLogicalOperators(): Array<any>;
18
20
  leftValueChanged(): void;
19
21
  logicalOperatorChanged(): void;
20
22
  rightCriteriaChanged(): void;
@@ -22,5 +24,7 @@ export declare class RuleConditionBuilder extends GenesisElement {
22
24
  private clearRightValueSelect;
23
25
  rightValueTextChanged(): void;
24
26
  rightValueSelectChanged(): void;
27
+ convertDateTime(dateTimeStr: string): number;
28
+ convertLongForDatePicker(value: number, time?: boolean): string;
25
29
  }
26
30
  //# sourceMappingURL=rule-condition-builder.d.ts.map
@@ -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":"AACA,OAAO,EAAiB,cAAc,EAAc,MAAM,uBAAuB,CAAC;AAClF,OAAO,EACL,sBAAsB,EAGvB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,2CAA2C,CAAC;AAMlE,qBAKa,oBAAqB,SAAQ,cAAc;IAC1C,SAAS,EAAE,sBAAsB,CAAC;IAClC,MAAM,EAAE,KAAK,EAAE,CAAM;IAErB,SAAS,EAAE,MAAM,CAAQ;IACzB,cAAc,EAAE,KAAK,CAAC,GAAG,CAAC,CAAM;IAEhC,eAAe,EAAE,MAAM,CAAQ;IAE/B,aAAa,EAAE,MAAM,CAAuB;IAC5C,cAAc,EAAE,MAAM,CAAQ;IAC9B,gBAAgB,EAAE,MAAM,CAAQ;IAE5C,eAAe;IAIT,gBAAgB;IAetB,aAAa;IASb,OAAO,CAAC,eAAe;IAiBvB,gBAAgB;IAYhB,gBAAgB;IAgBhB,sBAAsB;IActB,oBAAoB;IA0BpB,OAAO,CAAC,mBAAmB;IAI3B,OAAO,CAAC,qBAAqB;IAI7B,qBAAqB;IASrB,uBAAuB;CAQxB"}
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":"AACA,OAAO,EAAiB,cAAc,EAAc,MAAM,uBAAuB,CAAC;AAElF,OAAO,EACL,sBAAsB,EAKvB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,2CAA2C,CAAC;AAMlE,qBAKa,oBAAqB,SAAQ,cAAc;IAC1C,SAAS,EAAE,sBAAsB,CAAC;IAClC,MAAM,EAAE,KAAK,EAAE,CAAM;IAErB,SAAS,EAAE,MAAM,CAAQ;IACzB,cAAc,EAAE,KAAK,CAAC,GAAG,CAAC,CAAM;IAEhC,eAAe,EAAE,MAAM,CAAQ;IAE/B,aAAa,EAAE,MAAM,CAAuB;IAC5C,cAAc,EAAE,MAAM,CAAQ;IAC9B,gBAAgB,EAAE,MAAM,CAAQ;IAE5C,eAAe;IAIT,gBAAgB;IAetB,aAAa;IASb,OAAO,CAAC,eAAe;IAiBvB,gBAAgB;IAwBhB,gBAAgB,IAAI,KAAK,CAAC,GAAG,CAAC;IAS9B,mBAAmB,IAAI,KAAK,CAAC,GAAG,CAAC;IAUjC,gBAAgB;IAkBhB,sBAAsB;IActB,oBAAoB;IA0BpB,OAAO,CAAC,mBAAmB;IAI3B,OAAO,CAAC,qBAAqB;IAI7B,qBAAqB;IAkBrB,uBAAuB;IASvB,eAAe,CAAC,WAAW,EAAE,MAAM;IAMnC,wBAAwB,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,GAAE,OAAe;CAG9D"}
@@ -1 +1 @@
1
- {"version":3,"file":"rule-condition-builder.template.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.template.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAGrE,eAAO,MAAM,4BAA4B,2EAyGxC,CAAC"}
1
+ {"version":3,"file":"rule-condition-builder.template.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.template.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAGrE,eAAO,MAAM,4BAA4B,2EAwIxC,CAAC"}
@@ -21,10 +21,10 @@ export declare class RuleDialog extends GenesisElement {
21
21
  header: string;
22
22
  message: string;
23
23
  conditions: Array<ConditionBuilderEntity>;
24
+ submitDisabled: boolean;
24
25
  resources: Array<string>;
25
26
  fields: Array<Field>;
26
27
  topics: string[];
27
- private requiredFields;
28
28
  openDialog(params: RuleDialogParams): Promise<void>;
29
29
  close(): void;
30
30
  private createRule;
@@ -38,6 +38,6 @@ export declare class RuleDialog extends GenesisElement {
38
38
  newCondition(): void;
39
39
  editCondition(editedCondition: ConditionBuilderEntity): void;
40
40
  deleteCondition(deletedCondition: ConditionBuilderEntity): void;
41
- get validateRequiredFields(): boolean;
41
+ validateRequiredFields(): void;
42
42
  }
43
43
  //# sourceMappingURL=rule-dialog.d.ts.map
@@ -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,KAAK,EAAE,KAAK,EAAE,MAAM,kCAAkC,CAAC;AAC9D,OAAO,EAAiB,cAAc,EAAwB,MAAM,uBAAuB,CAAC;AAC5F,OAAO,EAEL,sBAAsB,EAGtB,UAAU,EACX,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AACvE,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AACnE,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AAU9E,OAAO,EAAQ,cAAc,EAAE,g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UAAU;YASV,QAAQ;IAYtB,OAAO,CAAC,oBAAoB;IAc5B,IAAI,eAAe,IAAI,MAAM,CAE5B;IAED,MAAM;IAaN,OAAO,CAAC,gBAAgB;IAqBxB,gBAAgB,CAAC,QAAQ,KAAA;IASnB,eAAe;IAMrB,YAAY;IAIZ,aAAa,CAAC,eAAe,EAAE,sBAAsB;IAErD,eAAe,CAAC,gBAAgB,EAAE,sBAAsB;IASjD,sBAAsB;CAK9B"}
@@ -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":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhD,eAAO,MAAM,kBAAkB,iEA6H9B,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":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhD,eAAO,MAAM,kBAAkB,iEAwJ9B,CAAC"}
@@ -8,6 +8,14 @@ export declare enum LogicalOperator {
8
8
  BLANK = "BLANK",
9
9
  NOT_BLANK = "NOT_BLANK"
10
10
  }
11
+ export declare const LogicalOperators: {
12
+ label: string;
13
+ operator: string;
14
+ }[];
15
+ export declare const DateLogicalOperators: {
16
+ label: string;
17
+ operator: string;
18
+ }[];
11
19
  export declare const nullAndBlankLogicalOperatorValues: LogicalOperator[];
12
20
  export declare enum RightCriteria {
13
21
  VALUE = "VALUE",
@@ -1 +1 @@
1
- {"version":3,"file":"notify.types.d.ts","sourceRoot":"","sources":["../../src/notify.types.ts"],"names":[],"mappings":"AACA,oBAAY,eAAe;IACzB,MAAM,WAAW;IACjB,UAAU,eAAe;IACzB,YAAY,iBAAiB;IAC7B,SAAS,cAAc;IACvB,IAAI,SAAS;IACb,QAAQ,aAAa;IACrB,KAAK,UAAU;IACf,SAAS,cAAc;CACxB;AAED,eAAO,MAAM,iCAAiC,mBAK7C,CAAC;AAEF,oBAAY,aAAa;IACvB,KAAK,UAAU;IACf,UAAU,eAAe;CAC1B;AAED,oBAAY,SAAS;IAEnB,MAAM,WAAW;IAEjB,MAAM,WAAW;CAClB;AAED,oBAAY,eAAe;IACzB,SAAS,cAAc;IACvB,aAAa,kBAAkB;IAC/B,OAAO,YAAY;CACpB;AAED,oBAAY,QAAQ;IAClB,WAAW,gBAAgB;IAC3B,QAAQ,aAAa;IACrB,OAAO,YAAY;IACnB,OAAO,YAAY;CACpB;AAED,oBAAY,cAAc;IACxB,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,WAAW,gBAAgB;CAC5B;AAED,oBAAY,UAAU;IACpB,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,eAAe,oBAAoB;IACnC,KAAK,UAAU;CAChB;AAED,oBAAY,UAAU;IACpB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,MAAM,WAAW;CAClB;AAED,eAAO,MAAM,iBAAiB,cAAsB,CAAC;AAErD,oBAAY,UAAU;IACpB,KAAK,KAAK;IACV,IAAI,SAAS;CACd;AAID,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,CAAC"}
1
+ {"version":3,"file":"notify.types.d.ts","sourceRoot":"","sources":["../../src/notify.types.ts"],"names":[],"mappings":"AACA,oBAAY,eAAe;IACzB,MAAM,WAAW;IACjB,UAAU,eAAe;IACzB,YAAY,iBAAiB;IAC7B,SAAS,cAAc;IACvB,IAAI,SAAS;IACb,QAAQ,aAAa;IACrB,KAAK,UAAU;IACf,SAAS,cAAc;CACxB;AAED,eAAO,MAAM,gBAAgB;;;GAiC5B,CAAC;AAEF,eAAO,MAAM,oBAAoB;;;GAyBhC,CAAC;AAEF,eAAO,MAAM,iCAAiC,mBAK7C,CAAC;AAEF,oBAAY,aAAa;IACvB,KAAK,UAAU;IACf,UAAU,eAAe;CAC1B;AAED,oBAAY,SAAS;IAEnB,MAAM,WAAW;IAEjB,MAAM,WAAW;CAClB;AAED,oBAAY,eAAe;IACzB,SAAS,cAAc;IACvB,aAAa,kBAAkB;IAC/B,OAAO,YAAY;CACpB;AAED,oBAAY,QAAQ;IAClB,WAAW,gBAAgB;IAC3B,QAAQ,aAAa;IACrB,OAAO,YAAY;IACnB,OAAO,YAAY;CACpB;AAED,oBAAY,cAAc;IACxB,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,WAAW,gBAAgB;CAC5B;AAED,oBAAY,UAAU;IACpB,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,eAAe,oBAAoB;IACnC,KAAK,UAAU;CAChB;AAED,oBAAY,UAAU;IACpB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,MAAM,WAAW;CAClB;AAED,eAAO,MAAM,iBAAiB,cAAsB,CAAC;AAErD,oBAAY,UAAU;IACpB,KAAK,KAAK;IACV,IAAI,SAAS;CACd;AAID,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,CAAC"}
@@ -1,9 +1,9 @@
1
1
  import { __awaiter, __decorate } from "tslib";
2
2
  import { customElement, GenesisElement, observable } from '@genesislcap/web-core';
3
3
  import { FoundationInboxService } from '../../../../services/inbox.service';
4
+ import { AlertStatus } from '../../inbox.types';
4
5
  import { FoundationInboxCounterStyles } from './foundation-inbox-counter.styles';
5
6
  import { FoundationInboxCounterTemplate } from './foundation-inbox-counter.template';
6
- import { AlertStatus } from '../../inbox.types';
7
7
  let FoundationInboxCounter = class FoundationInboxCounter extends GenesisElement {
8
8
  constructor() {
9
9
  super(...arguments);
@@ -1,11 +1,11 @@
1
1
  import { __awaiter, __decorate } from "tslib";
2
2
  import { Auth } from '@genesislcap/foundation-comms';
3
- import debounce from 'lodash.debounce';
4
3
  import { CriteriaBuilder, ExpressionBuilder, Serialisers, } from '@genesislcap/foundation-criteria';
5
4
  import { showNotificationDialog } from '@genesislcap/foundation-notifications';
6
5
  import { GenesisElement, observable } from '@genesislcap/web-core';
7
6
  import dayjs from 'dayjs';
8
7
  import utc from 'dayjs/plugin/utc';
8
+ import debounce from 'lodash.debounce';
9
9
  import { AlertService } from '../../../services/alert.service';
10
10
  import { FoundationInboxService } from '../../../services/inbox.service';
11
11
  import { RuleService } from '../../../services/rule.service';
@@ -1,7 +1,8 @@
1
1
  import { __awaiter, __decorate } from "tslib";
2
2
  import { FieldTypeEnum } from '@genesislcap/foundation-comms';
3
3
  import { customElement, GenesisElement, observable } from '@genesislcap/web-core';
4
- import { LogicalOperator, nullAndBlankLogicalOperatorValues, } from '../../../../../../notify.types';
4
+ import dayjs from 'dayjs';
5
+ import { DateLogicalOperators, LogicalOperator, LogicalOperators, nullAndBlankLogicalOperatorValues, } from '../../../../../../notify.types';
5
6
  import { logger } from '../../../../../../utils';
6
7
  import { ConditionBuilderStyles } from '../../../../styles/condition-builder.styles';
7
8
  import { RuleConditionBuilderTemplate } from './rule-condition-builder.template';
@@ -59,7 +60,16 @@ let RuleConditionBuilder = class RuleConditionBuilder extends GenesisElement {
59
60
  }
60
61
  assignRightValue() {
61
62
  if (this.condition.RIGHT_CRITERIA === RightCriteria.VALUE) {
62
- this.rightValueText = this.condition.RIGHT_VALUE;
63
+ switch (this.condition.LEFT_VALUE.FIELD_TYPE) {
64
+ case 'DATE':
65
+ this.rightValueText = this.convertLongForDatePicker(Number(this.condition.RIGHT_VALUE));
66
+ break;
67
+ case 'DATETIME':
68
+ this.rightValueText = this.convertLongForDatePicker(Number(this.condition.RIGHT_VALUE), true);
69
+ break;
70
+ default:
71
+ this.rightValueText = this.condition.RIGHT_VALUE;
72
+ }
63
73
  return;
64
74
  }
65
75
  else if (this.condition.RIGHT_CRITERIA === RightCriteria.FIELD) {
@@ -68,11 +78,32 @@ let RuleConditionBuilder = class RuleConditionBuilder extends GenesisElement {
68
78
  }
69
79
  this.rightValueSelect = null;
70
80
  }
81
+ getRightCriteria() {
82
+ var _a;
83
+ const leftFieldType = JSON.parse((_a = this.leftValue) !== null && _a !== void 0 ? _a : '{}').FIELD_TYPE;
84
+ if (leftFieldType === FieldTypeEnum.DATE || leftFieldType === FieldTypeEnum.DATETIME) {
85
+ return ['VALUE'];
86
+ }
87
+ else {
88
+ return Object.values(RightCriteria);
89
+ }
90
+ }
91
+ getLogicalOperators() {
92
+ var _a;
93
+ const leftFieldType = JSON.parse((_a = this.leftValue) !== null && _a !== void 0 ? _a : '{}').FIELD_TYPE;
94
+ if (leftFieldType === FieldTypeEnum.DATE || leftFieldType === FieldTypeEnum.DATETIME) {
95
+ return Object.values(DateLogicalOperators);
96
+ }
97
+ else {
98
+ return LogicalOperators;
99
+ }
100
+ }
71
101
  leftValueChanged() {
72
102
  var _a;
73
103
  if (!this.condition) {
74
104
  return;
75
105
  }
106
+ this.getLogicalOperators();
76
107
  this.condition.LEFT_VALUE = JSON.parse((_a = this.leftValue) !== null && _a !== void 0 ? _a : '{}');
77
108
  if (this.condition.LEFT_VALUE.FIELD_TYPE === FieldTypeEnum.BOOLEAN) {
78
109
  this.rightValueText = 'true';
@@ -126,7 +157,15 @@ let RuleConditionBuilder = class RuleConditionBuilder extends GenesisElement {
126
157
  if (!this.condition) {
127
158
  return;
128
159
  }
129
- this.condition.RIGHT_VALUE = this.rightValueText;
160
+ switch (this.condition.LEFT_VALUE.FIELD_TYPE) {
161
+ case FieldTypeEnum.DATETIME:
162
+ case FieldTypeEnum.DATE:
163
+ this.condition.RIGHT_VALUE = `${this.convertDateTime(this.rightValueText)}`;
164
+ break;
165
+ default:
166
+ this.condition.RIGHT_VALUE = this.rightValueText;
167
+ break;
168
+ }
130
169
  this.$emit('edit', this.condition);
131
170
  }
132
171
  rightValueSelectChanged() {
@@ -136,6 +175,15 @@ let RuleConditionBuilder = class RuleConditionBuilder extends GenesisElement {
136
175
  this.condition.RIGHT_VALUE = this.rightValueSelect;
137
176
  this.$emit('edit', this.condition);
138
177
  }
178
+ convertDateTime(dateTimeStr) {
179
+ if (!dateTimeStr || dateTimeStr == '')
180
+ return;
181
+ const unixTimestampMillis = dayjs.utc(dateTimeStr).valueOf();
182
+ return unixTimestampMillis;
183
+ }
184
+ convertLongForDatePicker(value, time = false) {
185
+ return time ? dayjs(value).format('YYYY-MM-DDTHH:mm') : dayjs(value).format('YYYY-MM-DD');
186
+ }
139
187
  };
140
188
  __decorate([
141
189
  observable
@@ -8,13 +8,15 @@ export const RuleConditionBuilderTemplate = html `
8
8
  <rapid-select
9
9
  :value=${sync((x) => x.leftValue)}
10
10
  :initialValue=${sync((x) => x.leftValue)}
11
- title=${(x) => JSON.parse(x.leftValue).FIELD_NAME}
11
+ title=${(x) => (x.leftValue ? JSON.parse(x.leftValue).FIELD_NAME : '')}
12
12
  class="left-value"
13
13
  >
14
14
  ${repeat((x) => x.fields, html `
15
- <rapid-option value=${(x) => JSON.stringify(x)} title=${(x) => x.FIELD_NAME}>
16
- ${(x) => x.FIELD_NAME}
17
- </rapid-option>
15
+ ${when((x) => x.FIELD_NAME != 'TIMESTAMP', html `
16
+ <rapid-option value=${(x) => JSON.stringify(x)} title=${(x) => x.FIELD_NAME}>
17
+ ${(x) => x.FIELD_NAME}
18
+ </rapid-option>
19
+ `)}
18
20
  `)}
19
21
  </rapid-select>
20
22
 
@@ -26,8 +28,10 @@ export const RuleConditionBuilderTemplate = html `
26
28
  :value=${sync((x) => x.logicalOperator)}
27
29
  title=${(x) => x.logicalOperator}
28
30
  >
29
- ${repeat((_) => Object.values(LogicalOperator), html `
30
- <rapid-option value=${(x) => x} title=${(x) => x}>${(x) => x}</rapid-option>
31
+ ${repeat((x) => x.getLogicalOperators(), html `
32
+ <rapid-option value=${(x) => x.operator} title=${(x) => x}>
33
+ ${(x) => x.label}
34
+ </rapid-option>
31
35
  `)}
32
36
  </rapid-select>
33
37
 
@@ -37,7 +41,7 @@ export const RuleConditionBuilderTemplate = html `
37
41
  :value=${sync((x) => x.rightCriteria)}
38
42
  title=${(x) => x.rightCriteria}
39
43
  >
40
- ${repeat((_) => Object.values(RightCriteria), html `
44
+ ${repeat((x) => x.getRightCriteria(), html `
41
45
  <rapid-option value=${(x) => x} title=${(x) => x}>${(x) => x}</rapid-option>
42
46
  `)}
43
47
  </rapid-select>
@@ -49,12 +53,28 @@ export const RuleConditionBuilderTemplate = html `
49
53
  <rapid-option value="false">false</rapid-option>
50
54
  </rapid-select>
51
55
  `, html `
52
- <rapid-text-field
53
- class="right-criteria-text"
54
- :value=${sync((x) => x.rightValueText)}
55
- placeholder="Value"
56
- autocomplete="off"
57
- ></rapid-text-field>
56
+ ${whenElse((x) => { var _a; return JSON.parse((_a = x.leftValue) !== null && _a !== void 0 ? _a : '{}').FIELD_TYPE === FieldTypeEnum.DATE; }, html `
57
+ <rapid-text-field
58
+ class="right-criteria-text"
59
+ :value=${sync((x) => x.rightValueText)}
60
+ type="date"
61
+ ></rapid-text-field>
62
+ `, html `
63
+ ${whenElse((x) => { var _a; return JSON.parse((_a = x.leftValue) !== null && _a !== void 0 ? _a : '{}').FIELD_TYPE === FieldTypeEnum.DATETIME; }, html `
64
+ <rapid-text-field
65
+ class="right-criteria-text"
66
+ :value=${sync((x) => x.rightValueText)}
67
+ type="datetime-local"
68
+ ></rapid-text-field>
69
+ `, html `
70
+ <rapid-text-field
71
+ class="right-criteria-text"
72
+ :value=${sync((x) => x.rightValueText)}
73
+ placeholder="Value"
74
+ autocomplete="off"
75
+ ></rapid-text-field>
76
+ `)}
77
+ `)}
58
78
  `)}
59
79
  `)}
60
80
  ${when((x) => x.rightCriteria === RightCriteria.FIELD, html `
@@ -1,5 +1,5 @@
1
1
  import { __awaiter, __decorate } from "tslib";
2
- import { customElement, GenesisElement, observable, volatile } from '@genesislcap/web-core';
2
+ import { customElement, GenesisElement, observable } from '@genesislcap/web-core';
3
3
  import { Assignment, defaultUpdateType, Severity, } from '../../../../../notify.types';
4
4
  import { NotifyService } from '../../../../../services/notify.service';
5
5
  import { RuleService } from '../../../../../services/rule.service';
@@ -13,19 +13,18 @@ let RuleDialog = class RuleDialog extends GenesisElement {
13
13
  constructor() {
14
14
  super(...arguments);
15
15
  this.ruleId = null;
16
- this.name = null;
17
- this.description = null;
16
+ this.name = '';
17
+ this.description = '';
18
18
  this.resource = ''; // TODO: Tables + Views
19
19
  this.topic = '';
20
20
  this.severity = '';
21
21
  this.updateType = defaultUpdateType;
22
- this.header = null;
23
- this.message = null;
22
+ this.header = '';
23
+ this.message = '';
24
24
  this.conditions = [];
25
25
  this.resources = [];
26
26
  this.fields = [];
27
27
  this.topics = [];
28
- this.requiredFields = () => [this.name, this.description, this.header, this.message];
29
28
  }
30
29
  openDialog(params) {
31
30
  return __awaiter(this, void 0, void 0, function* () {
@@ -35,9 +34,11 @@ let RuleDialog = class RuleDialog extends GenesisElement {
35
34
  switch (params.mode) {
36
35
  case RuleDialogMode.CREATE:
37
36
  yield this.createRule();
37
+ this.submitDisabled = true;
38
38
  break;
39
39
  case RuleDialogMode.EDIT:
40
40
  yield this.editRule(params.data);
41
+ this.submitDisabled = false;
41
42
  break;
42
43
  }
43
44
  this.dialog.show();
@@ -100,9 +101,6 @@ let RuleDialog = class RuleDialog extends GenesisElement {
100
101
  return `${this.ruleDialogMode === RuleDialogMode.CREATE ? 'Create' : 'Edit'} Rule`;
101
102
  }
102
103
  submit() {
103
- if (this.requiredFields().some((value) => isEmpty(value))) {
104
- return;
105
- }
106
104
  const rule = this.createRuleObject();
107
105
  switch (this.ruleDialogMode) {
108
106
  case RuleDialogMode.CREATE:
@@ -150,8 +148,8 @@ let RuleDialog = class RuleDialog extends GenesisElement {
150
148
  this.conditions = this.conditions.filter((condition) => condition !== deletedCondition);
151
149
  }
152
150
  // #endregion
153
- get validateRequiredFields() {
154
- return this.requiredFields().some((value) => isEmpty(value));
151
+ validateRequiredFields() {
152
+ this.submitDisabled = [this.name, this.description, this.header, this.message].some((value) => isEmpty(value));
155
153
  }
156
154
  };
157
155
  __decorate([
@@ -193,6 +191,9 @@ __decorate([
193
191
  __decorate([
194
192
  observable
195
193
  ], RuleDialog.prototype, "conditions", void 0);
194
+ __decorate([
195
+ observable
196
+ ], RuleDialog.prototype, "submitDisabled", void 0);
196
197
  __decorate([
197
198
  observable
198
199
  ], RuleDialog.prototype, "resources", void 0);
@@ -202,9 +203,6 @@ __decorate([
202
203
  __decorate([
203
204
  observable
204
205
  ], RuleDialog.prototype, "topics", void 0);
205
- __decorate([
206
- volatile
207
- ], RuleDialog.prototype, "validateRequiredFields", null);
208
206
  RuleDialog = __decorate([
209
207
  customElement({
210
208
  name: 'rule-dialog',
@@ -9,13 +9,24 @@ export const RuleDialogTemplate = html `
9
9
  <div class="dialog-content">
10
10
  <div class="content-row">
11
11
  <div class="control">
12
- <rapid-text-field :value=${sync((x) => x.name)} autofocus autocomplete="off" required>
12
+ <rapid-text-field
13
+ :value=${sync((x) => x.name)}
14
+ @change="${(x) => x.validateRequiredFields()}"
15
+ autofocus
16
+ autocomplete="off"
17
+ required
18
+ >
13
19
  Name
14
20
  </rapid-text-field>
15
21
  </div>
16
22
 
17
23
  <div class="control">
18
- <rapid-text-field :value=${sync((x) => x.description)} autocomplete="off" required>
24
+ <rapid-text-field
25
+ :value=${sync((x) => x.description)}
26
+ @change="${(x) => x.validateRequiredFields()}"
27
+ autocomplete="off"
28
+ required
29
+ >
19
30
  Description
20
31
  </rapid-text-field>
21
32
  </div>
@@ -81,13 +92,23 @@ export const RuleDialogTemplate = html `
81
92
 
82
93
  <div class="content-row">
83
94
  <div class="control">
84
- <rapid-text-field required :value=${sync((x) => x.header)} autocomplete="off">
95
+ <rapid-text-field
96
+ required
97
+ :value=${sync((x) => x.header)}
98
+ @change="${(x) => x.validateRequiredFields()}"
99
+ autocomplete="off"
100
+ >
85
101
  Header
86
102
  </rapid-text-field>
87
103
  </div>
88
104
 
89
105
  <div class="control">
90
- <rapid-text-field required :value=${sync((x) => x.message)} autocomplete="off">
106
+ <rapid-text-field
107
+ required
108
+ :value=${sync((x) => x.message)}
109
+ @change="${(x) => x.validateRequiredFields()}"
110
+ autocomplete="off"
111
+ >
91
112
  Message
92
113
  </rapid-text-field>
93
114
  </div>
@@ -115,7 +136,13 @@ export const RuleDialogTemplate = html `
115
136
  </div>
116
137
 
117
138
  <div slot="bottom" class="dialog-bottom">
118
- <rapid-button appearance="primary" @click=${(x) => x.submit()}>Submit</rapid-button>
139
+ <rapid-button
140
+ appearance="primary"
141
+ @click=${(x) => x.submit()}
142
+ ?disabled=${(x) => x.submitDisabled}
143
+ >
144
+ Submit
145
+ </rapid-button>
119
146
  </div>
120
147
  </rapid-modal>
121
148
  `;
@@ -2,7 +2,7 @@ var _a;
2
2
  import { __decorate } from "tslib";
3
3
  import { showNotification } from '@genesislcap/foundation-notifications';
4
4
  import { UUID } from '@genesislcap/foundation-utils';
5
- import { EmptyValue, ExpressionType, LogicalOperator, ParamSourceType, ParamType, RightCriteria, nullAndBlankLogicalOperatorValues, } from '../../notify.types';
5
+ import { EmptyValue, ExpressionType, ParamSourceType, ParamType, RightCriteria, nullAndBlankLogicalOperatorValues, LogicalOperator, } from '../../notify.types';
6
6
  import { logger } from '../../utils';
7
7
  import { toBoolean } from '../../utils/toBoolean';
8
8
  export class UUIDGenerator {
@@ -10,6 +10,66 @@ export var LogicalOperator;
10
10
  LogicalOperator["BLANK"] = "BLANK";
11
11
  LogicalOperator["NOT_BLANK"] = "NOT_BLANK";
12
12
  })(LogicalOperator || (LogicalOperator = {}));
13
+ export const LogicalOperators = [
14
+ {
15
+ label: 'Equals',
16
+ operator: 'EQUALS',
17
+ },
18
+ {
19
+ label: 'Not Equals',
20
+ operator: 'NOT_EQUALS',
21
+ },
22
+ {
23
+ label: 'Greater Than',
24
+ operator: 'GREATER_THAN',
25
+ },
26
+ {
27
+ label: 'Less Than',
28
+ operator: 'LESS_THAN',
29
+ },
30
+ {
31
+ label: 'Null',
32
+ operator: 'NULL',
33
+ },
34
+ {
35
+ label: 'Not Null',
36
+ operator: 'NOT_NULL',
37
+ },
38
+ {
39
+ label: 'Blank',
40
+ operator: 'BLANK',
41
+ },
42
+ {
43
+ label: 'Not Blank',
44
+ operator: 'NOT_BLANK',
45
+ },
46
+ ];
47
+ export const DateLogicalOperators = [
48
+ {
49
+ label: 'Equals',
50
+ operator: 'EQUALS',
51
+ },
52
+ {
53
+ label: 'Not Equals',
54
+ operator: 'NOT_EQUALS',
55
+ },
56
+ {
57
+ label: 'After',
58
+ operator: 'GREATER_THAN',
59
+ },
60
+ {
61
+ label: 'On or After',
62
+ operator: 'GREATER_THAN_OR_EQUAL',
63
+ },
64
+ {
65
+ label: 'Before',
66
+ operator: 'LESS_THAN',
67
+ },
68
+ {
69
+ label: 'On or Before',
70
+ operator: 'LESS_THAN_OR_EQUAL',
71
+ },
72
+ ];
13
73
  export const nullAndBlankLogicalOperatorValues = [
14
74
  LogicalOperator.NULL,
15
75
  LogicalOperator.NOT_NULL,
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.59",
4
+ "version": "1.0.60",
5
5
  "license": "SEE LICENSE IN license.txt",
6
6
  "workspaces": [
7
7
  "client"