@genesislcap/pbc-notify-ui 15.2.0 → 15.3.0

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.
@@ -415,6 +415,27 @@
415
415
  }
416
416
  ]
417
417
  },
418
+ {
419
+ "kind": "javascript-module",
420
+ "path": "src/styles/scrollbar.styles.ts",
421
+ "declarations": [
422
+ {
423
+ "kind": "variable",
424
+ "name": "scrollbarStyles",
425
+ "default": "css`\n ::-webkit-scrollbar {\n width: calc((var(--base-height-multiplier) + var(--design-unit)) * 1px);\n }\n\n ::-webkit-scrollbar-track {\n background: var(--neutral-layer-1);\n }\n\n ::-webkit-scrollbar-thumb {\n background: var(--neutral-fill-rest);\n }\n`"
426
+ }
427
+ ],
428
+ "exports": [
429
+ {
430
+ "kind": "js",
431
+ "name": "scrollbarStyles",
432
+ "declaration": {
433
+ "name": "scrollbarStyles",
434
+ "module": "src/styles/scrollbar.styles.ts"
435
+ }
436
+ }
437
+ ]
438
+ },
418
439
  {
419
440
  "kind": "javascript-module",
420
441
  "path": "src/utils/eventDetail.ts",
@@ -736,27 +757,6 @@
736
757
  }
737
758
  ]
738
759
  },
739
- {
740
- "kind": "javascript-module",
741
- "path": "src/styles/scrollbar.styles.ts",
742
- "declarations": [
743
- {
744
- "kind": "variable",
745
- "name": "scrollbarStyles",
746
- "default": "css`\n ::-webkit-scrollbar {\n width: calc((var(--base-height-multiplier) + var(--design-unit)) * 1px);\n }\n\n ::-webkit-scrollbar-track {\n background: var(--neutral-layer-1);\n }\n\n ::-webkit-scrollbar-thumb {\n background: var(--neutral-fill-rest);\n }\n`"
747
- }
748
- ],
749
- "exports": [
750
- {
751
- "kind": "js",
752
- "name": "scrollbarStyles",
753
- "declaration": {
754
- "name": "scrollbarStyles",
755
- "module": "src/styles/scrollbar.styles.ts"
756
- }
757
- }
758
- ]
759
- },
760
760
  {
761
761
  "kind": "javascript-module",
762
762
  "path": "src/components/foundation-inbox/inbox.styles.ts",
@@ -6088,6 +6088,41 @@
6088
6088
  }
6089
6089
  ]
6090
6090
  },
6091
+ {
6092
+ "kind": "javascript-module",
6093
+ "path": "src/components/foundation-notification-dashboard/components/routes/tabs/slack-route-management.ts",
6094
+ "declarations": [
6095
+ {
6096
+ "kind": "class",
6097
+ "description": "",
6098
+ "name": "SlackRouteManagement",
6099
+ "superclass": {
6100
+ "name": "GenesisElement",
6101
+ "package": "@genesislcap/web-core"
6102
+ },
6103
+ "tagName": "slack-route-management",
6104
+ "customElement": true
6105
+ }
6106
+ ],
6107
+ "exports": [
6108
+ {
6109
+ "kind": "js",
6110
+ "name": "SlackRouteManagement",
6111
+ "declaration": {
6112
+ "name": "SlackRouteManagement",
6113
+ "module": "src/components/foundation-notification-dashboard/components/routes/tabs/slack-route-management.ts"
6114
+ }
6115
+ },
6116
+ {
6117
+ "kind": "custom-element-definition",
6118
+ "name": "slack-route-management",
6119
+ "declaration": {
6120
+ "name": "SlackRouteManagement",
6121
+ "module": "src/components/foundation-notification-dashboard/components/routes/tabs/slack-route-management.ts"
6122
+ }
6123
+ }
6124
+ ]
6125
+ },
6091
6126
  {
6092
6127
  "kind": "javascript-module",
6093
6128
  "path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.template.ts",
@@ -7499,164 +7534,6 @@
7499
7534
  }
7500
7535
  ]
7501
7536
  },
7502
- {
7503
- "kind": "javascript-module",
7504
- "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts",
7505
- "declarations": [
7506
- {
7507
- "kind": "variable",
7508
- "name": "TemplateConditionGroupTemplate",
7509
- "default": "html<TemplateConditionGroup>`\n ${when(\n (x) => !x.isFirst,\n html`\n <div class=\"join-toggle-row\">\n <div class=\"join-toggle\">\n <span\n class=\"join-text${(x) => classNames(['active', x.joinOperator === 'AND'])}\"\n @click=${(x) => (x.joinOperator = 'AND')}\n >\n AND\n </span>\n <span\n class=\"join-text${(x) => classNames(['active', x.joinOperator === 'OR'])}\"\n @click=${(x) => (x.joinOperator = 'OR')}\n >\n OR\n </span>\n </div>\n </div>\n `,\n )}\n <div class=\"condition-group-row\">\n <div class=\"condition-group-box\">\n ${repeat(\n (x) => x.groupChildren,\n html<ConditionNode, TemplateConditionGroup>`\n ${when(\n (x) => isGroup(x),\n html<ConditionNode>`\n <template-condition-group\n :fields=${(x, c) => c.parent.fields}\n :parameters=${(x, c) => c.parent.parameters}\n :node=${(x) => x}\n :isFirst=${(x, c) => c.index === 0}\n @edit=${(x, c) => c.parent.editChild(eventDetail(c))}\n @delete=${(x, c) => c.parent.deleteChild(eventDetail(c))}\n ></template-condition-group>\n `,\n )}\n ${when(\n (x) => !isGroup(x),\n html<ConditionNode>`\n <template-condition-builder\n :fields=${(x, c) => c.parent.fields}\n :parameters=${(x, c) => c.parent.parameters}\n :condition=${(x) => x}\n :isFirst=${(x, c) => c.index === 0}\n @edit=${(x, c) => c.parent.editChild(eventDetail(c))}\n @delete=${(x, c) => c.parent.deleteChild(eventDetail(c))}\n ></template-condition-builder>\n `,\n )}\n `,\n { positioning: true },\n )}\n\n <div class=\"content-row\">\n <rapid-button appearance=\"lightweight\" @click=${(x) => x.newCondition()}>\n + Condition\n </rapid-button>\n <rapid-button appearance=\"lightweight\" @click=${(x) => x.newGroup()}>+ Group</rapid-button>\n <rapid-button appearance=\"icon\" class=\"delete-group\" @click=${(x) => x.deleteSelf()}>\n <rapid-icon variant=\"regular\" name=\"trash-alt\" size=\"lg\" part=\"icon\"></rapid-icon>\n </rapid-button>\n </div>\n </div>\n </div>\n`"
7510
- }
7511
- ],
7512
- "exports": [
7513
- {
7514
- "kind": "js",
7515
- "name": "TemplateConditionGroupTemplate",
7516
- "declaration": {
7517
- "name": "TemplateConditionGroupTemplate",
7518
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts"
7519
- }
7520
- }
7521
- ]
7522
- },
7523
- {
7524
- "kind": "javascript-module",
7525
- "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts",
7526
- "declarations": [
7527
- {
7528
- "kind": "class",
7529
- "description": "Parenthesized group of conditions/nested groups for notification template\ncriteria - see rule-condition-group for the rationale. Also forwards\n:parameters down to nested template-condition-builder rows so parameter\nbinding (USER_ENTRY) keeps working inside a group.",
7530
- "name": "TemplateConditionGroup",
7531
- "members": [
7532
- {
7533
- "kind": "field",
7534
- "name": "node",
7535
- "type": {
7536
- "text": "ConditionGroupEntity"
7537
- }
7538
- },
7539
- {
7540
- "kind": "field",
7541
- "name": "fields",
7542
- "type": {
7543
- "text": "Field[]"
7544
- },
7545
- "default": "[]"
7546
- },
7547
- {
7548
- "kind": "field",
7549
- "name": "parameters",
7550
- "type": {
7551
- "text": "Array<ParameterBuilderEntity>"
7552
- },
7553
- "default": "[]"
7554
- },
7555
- {
7556
- "kind": "field",
7557
- "name": "isFirst",
7558
- "type": {
7559
- "text": "boolean"
7560
- },
7561
- "default": "false"
7562
- },
7563
- {
7564
- "kind": "field",
7565
- "name": "joinOperator",
7566
- "type": {
7567
- "text": "string"
7568
- }
7569
- },
7570
- {
7571
- "kind": "field",
7572
- "name": "groupChildren",
7573
- "type": {
7574
- "text": "ConditionNode[]"
7575
- },
7576
- "default": "[]"
7577
- },
7578
- {
7579
- "kind": "method",
7580
- "name": "nodeChanged"
7581
- },
7582
- {
7583
- "kind": "method",
7584
- "name": "joinOperatorChanged"
7585
- },
7586
- {
7587
- "kind": "method",
7588
- "name": "newCondition"
7589
- },
7590
- {
7591
- "kind": "method",
7592
- "name": "newGroup"
7593
- },
7594
- {
7595
- "kind": "method",
7596
- "name": "editChild",
7597
- "parameters": [
7598
- {
7599
- "name": "_editedChild",
7600
- "type": {
7601
- "text": "ConditionNode"
7602
- }
7603
- }
7604
- ]
7605
- },
7606
- {
7607
- "kind": "method",
7608
- "name": "deleteChild",
7609
- "parameters": [
7610
- {
7611
- "name": "deletedChild",
7612
- "type": {
7613
- "text": "ConditionNode"
7614
- }
7615
- }
7616
- ]
7617
- },
7618
- {
7619
- "kind": "method",
7620
- "name": "deleteSelf"
7621
- }
7622
- ],
7623
- "events": [
7624
- {
7625
- "description": "Fired when this whole group should be removed",
7626
- "name": "delete"
7627
- },
7628
- {
7629
- "description": "Fired when anything inside this group changes",
7630
- "name": "edit"
7631
- }
7632
- ],
7633
- "superclass": {
7634
- "name": "GenesisElement",
7635
- "package": "@genesislcap/web-core"
7636
- },
7637
- "tagName": "template-condition-group",
7638
- "customElement": true
7639
- }
7640
- ],
7641
- "exports": [
7642
- {
7643
- "kind": "js",
7644
- "name": "TemplateConditionGroup",
7645
- "declaration": {
7646
- "name": "TemplateConditionGroup",
7647
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts"
7648
- }
7649
- },
7650
- {
7651
- "kind": "custom-element-definition",
7652
- "name": "template-condition-group",
7653
- "declaration": {
7654
- "name": "TemplateConditionGroup",
7655
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts"
7656
- }
7657
- }
7658
- ]
7659
- },
7660
7537
  {
7661
7538
  "kind": "javascript-module",
7662
7539
  "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.template.ts",
@@ -7948,6 +7825,164 @@
7948
7825
  }
7949
7826
  }
7950
7827
  ]
7828
+ },
7829
+ {
7830
+ "kind": "javascript-module",
7831
+ "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts",
7832
+ "declarations": [
7833
+ {
7834
+ "kind": "variable",
7835
+ "name": "TemplateConditionGroupTemplate",
7836
+ "default": "html<TemplateConditionGroup>`\n ${when(\n (x) => !x.isFirst,\n html`\n <div class=\"join-toggle-row\">\n <div class=\"join-toggle\">\n <span\n class=\"join-text${(x) => classNames(['active', x.joinOperator === 'AND'])}\"\n @click=${(x) => (x.joinOperator = 'AND')}\n >\n AND\n </span>\n <span\n class=\"join-text${(x) => classNames(['active', x.joinOperator === 'OR'])}\"\n @click=${(x) => (x.joinOperator = 'OR')}\n >\n OR\n </span>\n </div>\n </div>\n `,\n )}\n <div class=\"condition-group-row\">\n <div class=\"condition-group-box\">\n ${repeat(\n (x) => x.groupChildren,\n html<ConditionNode, TemplateConditionGroup>`\n ${when(\n (x) => isGroup(x),\n html<ConditionNode>`\n <template-condition-group\n :fields=${(x, c) => c.parent.fields}\n :parameters=${(x, c) => c.parent.parameters}\n :node=${(x) => x}\n :isFirst=${(x, c) => c.index === 0}\n @edit=${(x, c) => c.parent.editChild(eventDetail(c))}\n @delete=${(x, c) => c.parent.deleteChild(eventDetail(c))}\n ></template-condition-group>\n `,\n )}\n ${when(\n (x) => !isGroup(x),\n html<ConditionNode>`\n <template-condition-builder\n :fields=${(x, c) => c.parent.fields}\n :parameters=${(x, c) => c.parent.parameters}\n :condition=${(x) => x}\n :isFirst=${(x, c) => c.index === 0}\n @edit=${(x, c) => c.parent.editChild(eventDetail(c))}\n @delete=${(x, c) => c.parent.deleteChild(eventDetail(c))}\n ></template-condition-builder>\n `,\n )}\n `,\n { positioning: true },\n )}\n\n <div class=\"content-row\">\n <rapid-button appearance=\"lightweight\" @click=${(x) => x.newCondition()}>\n + Condition\n </rapid-button>\n <rapid-button appearance=\"lightweight\" @click=${(x) => x.newGroup()}>+ Group</rapid-button>\n <rapid-button appearance=\"icon\" class=\"delete-group\" @click=${(x) => x.deleteSelf()}>\n <rapid-icon variant=\"regular\" name=\"trash-alt\" size=\"lg\" part=\"icon\"></rapid-icon>\n </rapid-button>\n </div>\n </div>\n </div>\n`"
7837
+ }
7838
+ ],
7839
+ "exports": [
7840
+ {
7841
+ "kind": "js",
7842
+ "name": "TemplateConditionGroupTemplate",
7843
+ "declaration": {
7844
+ "name": "TemplateConditionGroupTemplate",
7845
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts"
7846
+ }
7847
+ }
7848
+ ]
7849
+ },
7850
+ {
7851
+ "kind": "javascript-module",
7852
+ "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts",
7853
+ "declarations": [
7854
+ {
7855
+ "kind": "class",
7856
+ "description": "Parenthesized group of conditions/nested groups for notification template\ncriteria - see rule-condition-group for the rationale. Also forwards\n:parameters down to nested template-condition-builder rows so parameter\nbinding (USER_ENTRY) keeps working inside a group.",
7857
+ "name": "TemplateConditionGroup",
7858
+ "members": [
7859
+ {
7860
+ "kind": "field",
7861
+ "name": "node",
7862
+ "type": {
7863
+ "text": "ConditionGroupEntity"
7864
+ }
7865
+ },
7866
+ {
7867
+ "kind": "field",
7868
+ "name": "fields",
7869
+ "type": {
7870
+ "text": "Field[]"
7871
+ },
7872
+ "default": "[]"
7873
+ },
7874
+ {
7875
+ "kind": "field",
7876
+ "name": "parameters",
7877
+ "type": {
7878
+ "text": "Array<ParameterBuilderEntity>"
7879
+ },
7880
+ "default": "[]"
7881
+ },
7882
+ {
7883
+ "kind": "field",
7884
+ "name": "isFirst",
7885
+ "type": {
7886
+ "text": "boolean"
7887
+ },
7888
+ "default": "false"
7889
+ },
7890
+ {
7891
+ "kind": "field",
7892
+ "name": "joinOperator",
7893
+ "type": {
7894
+ "text": "string"
7895
+ }
7896
+ },
7897
+ {
7898
+ "kind": "field",
7899
+ "name": "groupChildren",
7900
+ "type": {
7901
+ "text": "ConditionNode[]"
7902
+ },
7903
+ "default": "[]"
7904
+ },
7905
+ {
7906
+ "kind": "method",
7907
+ "name": "nodeChanged"
7908
+ },
7909
+ {
7910
+ "kind": "method",
7911
+ "name": "joinOperatorChanged"
7912
+ },
7913
+ {
7914
+ "kind": "method",
7915
+ "name": "newCondition"
7916
+ },
7917
+ {
7918
+ "kind": "method",
7919
+ "name": "newGroup"
7920
+ },
7921
+ {
7922
+ "kind": "method",
7923
+ "name": "editChild",
7924
+ "parameters": [
7925
+ {
7926
+ "name": "_editedChild",
7927
+ "type": {
7928
+ "text": "ConditionNode"
7929
+ }
7930
+ }
7931
+ ]
7932
+ },
7933
+ {
7934
+ "kind": "method",
7935
+ "name": "deleteChild",
7936
+ "parameters": [
7937
+ {
7938
+ "name": "deletedChild",
7939
+ "type": {
7940
+ "text": "ConditionNode"
7941
+ }
7942
+ }
7943
+ ]
7944
+ },
7945
+ {
7946
+ "kind": "method",
7947
+ "name": "deleteSelf"
7948
+ }
7949
+ ],
7950
+ "events": [
7951
+ {
7952
+ "description": "Fired when this whole group should be removed",
7953
+ "name": "delete"
7954
+ },
7955
+ {
7956
+ "description": "Fired when anything inside this group changes",
7957
+ "name": "edit"
7958
+ }
7959
+ ],
7960
+ "superclass": {
7961
+ "name": "GenesisElement",
7962
+ "package": "@genesislcap/web-core"
7963
+ },
7964
+ "tagName": "template-condition-group",
7965
+ "customElement": true
7966
+ }
7967
+ ],
7968
+ "exports": [
7969
+ {
7970
+ "kind": "js",
7971
+ "name": "TemplateConditionGroup",
7972
+ "declaration": {
7973
+ "name": "TemplateConditionGroup",
7974
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts"
7975
+ }
7976
+ },
7977
+ {
7978
+ "kind": "custom-element-definition",
7979
+ "name": "template-condition-group",
7980
+ "declaration": {
7981
+ "name": "TemplateConditionGroup",
7982
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts"
7983
+ }
7984
+ }
7985
+ ]
7951
7986
  }
7952
7987
  ]
7953
7988
  }
@@ -1 +1 @@
1
- {"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../src/components/components.ts"],"names":[],"mappings":"AAqDA,wBAAsB,WAAW,kBAIhC"}
1
+ {"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../src/components/components.ts"],"names":[],"mappings":"AAuDA,wBAAsB,WAAW,kBAIhC"}
@@ -1 +1 @@
1
- {"version":3,"file":"route-management.d.ts","sourceRoot":"","sources":["../../../../../../src/components/foundation-notification-dashboard/components/routes/route-management.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,cAAc,EAAQ,MAAM,uBAAuB,CAAC;AAEjF,qBAqDa,eAAgB,SAAQ,cAAc;CAAG"}
1
+ {"version":3,"file":"route-management.d.ts","sourceRoot":"","sources":["../../../../../../src/components/foundation-notification-dashboard/components/routes/route-management.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,cAAc,EAAQ,MAAM,uBAAuB,CAAC;AAEjF,qBAyDa,eAAgB,SAAQ,cAAc;CAAG"}
@@ -0,0 +1,4 @@
1
+ import { GenesisElement } from '@genesislcap/web-core';
2
+ export declare class SlackRouteManagement extends GenesisElement {
3
+ }
4
+ //# sourceMappingURL=slack-route-management.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"slack-route-management.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/foundation-notification-dashboard/components/routes/tabs/slack-route-management.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,cAAc,EAAQ,MAAM,uBAAuB,CAAC;AA+B5E,qBAgBa,oBAAqB,SAAQ,cAAc;CAAG"}
@@ -16,6 +16,7 @@ import type { EmailUserRouteManagement as EmailUserRouteManagementWC } from './c
16
16
  import type { LogRouteManagement as LogRouteManagementWC } from './components/foundation-notification-dashboard/components/routes/tabs/log-route-management';
17
17
  import type { MSTeamsRouteManagement as MSTeamsRouteManagementWC } from './components/foundation-notification-dashboard/components/routes/tabs/ms-teams-route-management';
18
18
  import type { ScreenRouteManagement as ScreenRouteManagementWC } from './components/foundation-notification-dashboard/components/routes/tabs/screen-route-management';
19
+ import type { SlackRouteManagement as SlackRouteManagementWC } from './components/foundation-notification-dashboard/components/routes/tabs/slack-route-management';
19
20
  import type { RuleConditionBuilder as RuleConditionBuilderWC } from './components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder';
20
21
  import type { RuleConditionGroup as RuleConditionGroupWC } from './components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group';
21
22
  import type { RuleDialog as RuleDialogWC } from './components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog';
@@ -205,6 +206,15 @@ export declare const ScreenRouteManagement: React.ForwardRefExoticComponent<
205
206
  >;
206
207
  export type ScreenRouteManagementRef = ScreenRouteManagementWC;
207
208
 
209
+ export declare const SlackRouteManagement: React.ForwardRefExoticComponent<
210
+ React.PropsWithChildren<
211
+ Omit<PublicOf<SlackRouteManagementWC>, 'children' | 'style'> &
212
+ HTMLWCProps & {
213
+ }
214
+ > & React.RefAttributes<SlackRouteManagementWC>
215
+ >;
216
+ export type SlackRouteManagementRef = SlackRouteManagementWC;
217
+
208
218
  export declare const RuleDialog: React.ForwardRefExoticComponent<
209
219
  React.PropsWithChildren<
210
220
  Omit<PublicOf<RuleDialogWC>, 'children' | 'style'> &
@@ -258,17 +268,6 @@ export declare const ParameterBuilder: React.ForwardRefExoticComponent<
258
268
  >;
259
269
  export type ParameterBuilderRef = ParameterBuilderWC;
260
270
 
261
- export declare const TemplateConditionGroup: React.ForwardRefExoticComponent<
262
- React.PropsWithChildren<
263
- Omit<PublicOf<TemplateConditionGroupWC>, 'children' | 'style'> &
264
- HTMLWCProps & {
265
- onDelete?: (event: CustomEvent<unknown>) => void;
266
- onEdit?: (event: CustomEvent<unknown>) => void;
267
- }
268
- > & React.RefAttributes<TemplateConditionGroupWC>
269
- >;
270
- export type TemplateConditionGroupRef = TemplateConditionGroupWC;
271
-
272
271
  export declare const TemplateConditionBuilder: React.ForwardRefExoticComponent<
273
272
  React.PropsWithChildren<
274
273
  Omit<PublicOf<TemplateConditionBuilderWC>, 'children' | 'style'> &
@@ -280,4 +279,15 @@ export declare const TemplateConditionBuilder: React.ForwardRefExoticComponent<
280
279
  >;
281
280
  export type TemplateConditionBuilderRef = TemplateConditionBuilderWC;
282
281
 
282
+ export declare const TemplateConditionGroup: React.ForwardRefExoticComponent<
283
+ React.PropsWithChildren<
284
+ Omit<PublicOf<TemplateConditionGroupWC>, 'children' | 'style'> &
285
+ HTMLWCProps & {
286
+ onDelete?: (event: CustomEvent<unknown>) => void;
287
+ onEdit?: (event: CustomEvent<unknown>) => void;
288
+ }
289
+ > & React.RefAttributes<TemplateConditionGroupWC>
290
+ >;
291
+ export type TemplateConditionGroupRef = TemplateConditionGroupWC;
292
+
283
293
  export {};
@@ -12,6 +12,7 @@ import { EmailUserRouteManagement } from './foundation-notification-dashboard/co
12
12
  import { LogRouteManagement } from './foundation-notification-dashboard/components/routes/tabs/log-route-management';
13
13
  import { MSTeamsRouteManagement } from './foundation-notification-dashboard/components/routes/tabs/ms-teams-route-management';
14
14
  import { ScreenRouteManagement } from './foundation-notification-dashboard/components/routes/tabs/screen-route-management';
15
+ import { SlackRouteManagement } from './foundation-notification-dashboard/components/routes/tabs/slack-route-management';
15
16
  import { RuleConditionBuilder } from './foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder';
16
17
  import { RuleConditionGroup } from './foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group';
17
18
  import { RuleDialog } from './foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog';
@@ -43,6 +44,7 @@ EmailDistributionRouteManagement;
43
44
  EmailUserRouteManagement;
44
45
  LogRouteManagement;
45
46
  MSTeamsRouteManagement;
47
+ SlackRouteManagement;
46
48
  NotifyAuditManagement;
47
49
  // #endregion Notification Dashboard
48
50
  export function loadRemotes() {
@@ -12,6 +12,7 @@ RouteManagement = __decorate([
12
12
  <rapid-tab appearance="secondary">Email User Routes</rapid-tab>
13
13
  <rapid-tab appearance="secondary">Log Routes</rapid-tab>
14
14
  <rapid-tab appearance="secondary">MS Teams Routes</rapid-tab>
15
+ <rapid-tab appearance="secondary">Slack Routes</rapid-tab>
15
16
 
16
17
  <rapid-tab-panel>
17
18
  <screen-route-management></screen-route-management>
@@ -28,6 +29,9 @@ RouteManagement = __decorate([
28
29
  <rapid-tab-panel>
29
30
  <ms-teams-route-management></ms-teams-route-management>
30
31
  </rapid-tab-panel>
32
+ <rapid-tab-panel>
33
+ <slack-route-management></slack-route-management>
34
+ </rapid-tab-panel>
31
35
  </rapid-tabs>
32
36
  `,
33
37
  styles: css `
@@ -0,0 +1,51 @@
1
+ import { __decorate } from "tslib";
2
+ import { customElement, GenesisElement, html } from '@genesislcap/web-core';
3
+ import { managementGridStyles } from '../../../styles/management.styles';
4
+ const SLACK_ROUTE_MANAGEMENT_COLUMNS = [
5
+ {
6
+ field: 'NOTIFY_ROUTE_ID',
7
+ headerName: 'Notify Route Id',
8
+ flex: 1,
9
+ },
10
+ {
11
+ field: 'TOPIC_MATCH',
12
+ headerName: 'Topic Match',
13
+ flex: 1,
14
+ },
15
+ {
16
+ field: 'GATEWAY_ID',
17
+ headerName: 'Gateway Id',
18
+ flex: 1,
19
+ },
20
+ {
21
+ field: 'ROUTE_ENABLED',
22
+ headerName: 'Route Enabled',
23
+ flex: 1,
24
+ },
25
+ {
26
+ field: 'URL',
27
+ headerName: 'Url',
28
+ flex: 1,
29
+ },
30
+ ];
31
+ let SlackRouteManagement = class SlackRouteManagement extends GenesisElement {
32
+ };
33
+ SlackRouteManagement = __decorate([
34
+ customElement({
35
+ name: 'slack-route-management',
36
+ template: html `
37
+ <div class="grid">
38
+ <entity-management
39
+ design-system-prefix="rapid"
40
+ resourceName="ALL_SLACK_ROUTES"
41
+ createEvent="EVENT_SLACK_ROUTE_CREATE"
42
+ updateEvent="EVENT_SLACK_ROUTE_UPDATE"
43
+ deleteEvent="EVENT_SLACK_ROUTE_DELETE"
44
+ :columns=${() => [...SLACK_ROUTE_MANAGEMENT_COLUMNS]}
45
+ ></entity-management>
46
+ </div>
47
+ `,
48
+ styles: managementGridStyles,
49
+ })
50
+ ], SlackRouteManagement);
51
+ export { SlackRouteManagement };
package/dist/react.cjs CHANGED
@@ -18,6 +18,7 @@ const { EmailUserRouteManagement: EmailUserRouteManagementWC } = require('./esm/
18
18
  const { LogRouteManagement: LogRouteManagementWC } = require('./esm/components/foundation-notification-dashboard/components/routes/tabs/log-route-management.js');
19
19
  const { MSTeamsRouteManagement: MSTeamsRouteManagementWC } = require('./esm/components/foundation-notification-dashboard/components/routes/tabs/ms-teams-route-management.js');
20
20
  const { ScreenRouteManagement: ScreenRouteManagementWC } = require('./esm/components/foundation-notification-dashboard/components/routes/tabs/screen-route-management.js');
21
+ const { SlackRouteManagement: SlackRouteManagementWC } = require('./esm/components/foundation-notification-dashboard/components/routes/tabs/slack-route-management.js');
21
22
  const { RuleConditionBuilder: RuleConditionBuilderWC } = require('./esm/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.js');
22
23
  const { RuleConditionGroup: RuleConditionGroupWC } = require('./esm/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.js');
23
24
  const { RuleDialog: RuleDialogWC } = require('./esm/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.js');
@@ -148,6 +149,11 @@ const ScreenRouteManagement = React.forwardRef(function ScreenRouteManagement(pr
148
149
  return React.createElement(customElements.getName(ScreenRouteManagementWC) ?? 'screen-route-management', { ...rest, ref }, children);
149
150
  });
150
151
 
152
+ const SlackRouteManagement = React.forwardRef(function SlackRouteManagement(props, ref) {
153
+ const { children, ...rest } = props;
154
+ return React.createElement(customElements.getName(SlackRouteManagementWC) ?? 'slack-route-management', { ...rest, ref }, children);
155
+ });
156
+
151
157
  const RuleDialog = React.forwardRef(function RuleDialog(props, ref) {
152
158
  const { onClose, children, ...rest } = props;
153
159
  const _innerRef = React.useRef(null);
@@ -248,7 +254,7 @@ const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref)
248
254
  return React.createElement(customElements.getName(ParameterBuilderWC) ?? 'parameter-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
249
255
  });
250
256
 
251
- const TemplateConditionGroup = React.forwardRef(function TemplateConditionGroup(props, ref) {
257
+ const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuilder(props, ref) {
252
258
  const { onDelete, onEdit, children, ...rest } = props;
253
259
  const _innerRef = React.useRef(null);
254
260
  const _onDeleteRef = React.useRef(onDelete);
@@ -267,10 +273,10 @@ const TemplateConditionGroup = React.forwardRef(function TemplateConditionGroup(
267
273
  el.removeEventListener('edit', _onEditFn);
268
274
  };
269
275
  }, []);
270
- return React.createElement(customElements.getName(TemplateConditionGroupWC) ?? 'template-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
276
+ return React.createElement(customElements.getName(TemplateConditionBuilderWC) ?? 'template-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
271
277
  });
272
278
 
273
- const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuilder(props, ref) {
279
+ const TemplateConditionGroup = React.forwardRef(function TemplateConditionGroup(props, ref) {
274
280
  const { onDelete, onEdit, children, ...rest } = props;
275
281
  const _innerRef = React.useRef(null);
276
282
  const _onDeleteRef = React.useRef(onDelete);
@@ -289,7 +295,7 @@ const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuil
289
295
  el.removeEventListener('edit', _onEditFn);
290
296
  };
291
297
  }, []);
292
- return React.createElement(customElements.getName(TemplateConditionBuilderWC) ?? 'template-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
298
+ return React.createElement(customElements.getName(TemplateConditionGroupWC) ?? 'template-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
293
299
  });
294
300
 
295
301
  module.exports = {
@@ -309,11 +315,12 @@ module.exports = {
309
315
  LogRouteManagement,
310
316
  MSTeamsRouteManagement,
311
317
  ScreenRouteManagement,
318
+ SlackRouteManagement,
312
319
  RuleDialog,
313
320
  TemplateDialog,
314
321
  RuleConditionBuilder,
315
322
  RuleConditionGroup,
316
323
  ParameterBuilder,
317
- TemplateConditionGroup,
318
324
  TemplateConditionBuilder,
325
+ TemplateConditionGroup,
319
326
  };
package/dist/react.mjs CHANGED
@@ -16,6 +16,7 @@ import { EmailUserRouteManagement as EmailUserRouteManagementWC } from './esm/co
16
16
  import { LogRouteManagement as LogRouteManagementWC } from './esm/components/foundation-notification-dashboard/components/routes/tabs/log-route-management.js';
17
17
  import { MSTeamsRouteManagement as MSTeamsRouteManagementWC } from './esm/components/foundation-notification-dashboard/components/routes/tabs/ms-teams-route-management.js';
18
18
  import { ScreenRouteManagement as ScreenRouteManagementWC } from './esm/components/foundation-notification-dashboard/components/routes/tabs/screen-route-management.js';
19
+ import { SlackRouteManagement as SlackRouteManagementWC } from './esm/components/foundation-notification-dashboard/components/routes/tabs/slack-route-management.js';
19
20
  import { RuleConditionBuilder as RuleConditionBuilderWC } from './esm/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.js';
20
21
  import { RuleConditionGroup as RuleConditionGroupWC } from './esm/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.js';
21
22
  import { RuleDialog as RuleDialogWC } from './esm/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.js';
@@ -146,6 +147,11 @@ export const ScreenRouteManagement = React.forwardRef(function ScreenRouteManage
146
147
  return React.createElement(customElements.getName(ScreenRouteManagementWC) ?? 'screen-route-management', { ...rest, ref }, children);
147
148
  });
148
149
 
150
+ export const SlackRouteManagement = React.forwardRef(function SlackRouteManagement(props, ref) {
151
+ const { children, ...rest } = props;
152
+ return React.createElement(customElements.getName(SlackRouteManagementWC) ?? 'slack-route-management', { ...rest, ref }, children);
153
+ });
154
+
149
155
  export const RuleDialog = React.forwardRef(function RuleDialog(props, ref) {
150
156
  const { onClose, children, ...rest } = props;
151
157
  const _innerRef = React.useRef(null);
@@ -246,7 +252,7 @@ export const ParameterBuilder = React.forwardRef(function ParameterBuilder(props
246
252
  return React.createElement(customElements.getName(ParameterBuilderWC) ?? 'parameter-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
247
253
  });
248
254
 
249
- export const TemplateConditionGroup = React.forwardRef(function TemplateConditionGroup(props, ref) {
255
+ export const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuilder(props, ref) {
250
256
  const { onDelete, onEdit, children, ...rest } = props;
251
257
  const _innerRef = React.useRef(null);
252
258
  const _onDeleteRef = React.useRef(onDelete);
@@ -265,10 +271,10 @@ export const TemplateConditionGroup = React.forwardRef(function TemplateConditio
265
271
  el.removeEventListener('edit', _onEditFn);
266
272
  };
267
273
  }, []);
268
- return React.createElement(customElements.getName(TemplateConditionGroupWC) ?? 'template-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
274
+ return React.createElement(customElements.getName(TemplateConditionBuilderWC) ?? 'template-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
269
275
  });
270
276
 
271
- export const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuilder(props, ref) {
277
+ export const TemplateConditionGroup = React.forwardRef(function TemplateConditionGroup(props, ref) {
272
278
  const { onDelete, onEdit, children, ...rest } = props;
273
279
  const _innerRef = React.useRef(null);
274
280
  const _onDeleteRef = React.useRef(onDelete);
@@ -287,5 +293,5 @@ export const TemplateConditionBuilder = React.forwardRef(function TemplateCondit
287
293
  el.removeEventListener('edit', _onEditFn);
288
294
  };
289
295
  }, []);
290
- return React.createElement(customElements.getName(TemplateConditionBuilderWC) ?? 'template-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
296
+ return React.createElement(customElements.getName(TemplateConditionGroupWC) ?? 'template-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
291
297
  });
@@ -1 +1 @@
1
- {"root":["../src/globals.d.ts","../src/index.federated.ts","../src/index.ts","../src/notify.types.ts","../src/sandbox.ts","../src/components/components.ts","../src/components/foundation-inbox/inbox.styles.ts","../src/components/foundation-inbox/inbox.template.ts","../src/components/foundation-inbox/inbox.ts","../src/components/foundation-inbox/inbox.types.ts","../src/components/foundation-inbox/inbox.utils.ts","../src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts","../src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.template.ts","../src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts","../src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.styles.ts","../src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.template.ts","../src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.ts","../src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.styles.ts","../src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.template.ts","../src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.ts","../src/components/foundation-inbox/components/inbox-subscription/rule-parameter/rule-parameter.styles.ts","../src/components/foundation-inbox/components/inbox-subscription/rule-parameter/rule-parameter.template.ts","../src/components/foundation-inbox/components/inbox-subscription/rule-parameter/rule-parameter.ts","../src/components/foundation-inbox/inbox-base/inbox-base.ts","../src/components/foundation-notification-dashboard/index.ts","../src/components/foundation-notification-dashboard/notification-dashboard.styles.ts","../src/components/foundation-notification-dashboard/notification-dashboard.tabs.ts","../src/components/foundation-notification-dashboard/notification-dashboard.template.ts","../src/components/foundation-notification-dashboard/notification-dashboard.ts","../src/components/foundation-notification-dashboard/notification-dashboard.utils.ts","../src/components/foundation-notification-dashboard/components/notify-audit/notify-audit-management.ts","../src/components/foundation-notification-dashboard/components/routes/route-management.ts","../src/components/foundation-notification-dashboard/components/routes/tabs/email-distribution-route-management.ts","../src/components/foundation-notification-dashboard/components/routes/tabs/email-user-route-management.ts","../src/components/foundation-notification-dashboard/components/routes/tabs/log-route-management.ts","../src/components/foundation-notification-dashboard/components/routes/tabs/ms-teams-route-management.ts","../src/components/foundation-notification-dashboard/components/routes/tabs/screen-route-management.ts","../src/components/foundation-notification-dashboard/components/rules/columns.ts","../src/components/foundation-notification-dashboard/components/rules/rule-management.ts","../src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.template.ts","../src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.ts","../src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.types.ts","../src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.template.ts","../src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.ts","../src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.types.ts","../src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts","../src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts","../src/components/foundation-notification-dashboard/components/templates/columns.ts","../src/components/foundation-notification-dashboard/components/templates/template-management.ts","../src/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.template.ts","../src/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.ts","../src/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.types.ts","../src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts","../src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts","../src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts","../src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.template.ts","../src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.ts","../src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts","../src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts","../src/components/foundation-notification-dashboard/styles/condition-builder.styles.ts","../src/components/foundation-notification-dashboard/styles/dynamic-rule.styles.ts","../src/components/foundation-notification-dashboard/styles/management.styles.ts","../src/components/foundation-notification-dashboard/types/expression-type.ts","../src/components/foundation-notification-dashboard/types/logical-operator.ts","../src/components/foundation-notification-dashboard/types/param-source-type.ts","../src/components/foundation-notification-dashboard/types/param-type.ts","../src/components/foundation-notification-dashboard/types/right-criteria.ts","../src/components/foundation-notification-dashboard/types/rule-execution-strategy.ts","../src/components/foundation-notification-dashboard/types/severity.ts","../src/services/alert.service.ts","../src/services/inbox.service.ts","../src/services/notify-route.service.ts","../src/services/notify.service.ts","../src/services/rule.service.ts","../src/services/system.service.ts","../src/services/template.service.ts","../src/styles/scrollbar.styles.ts","../src/utils/eventDetail.ts","../src/utils/gridConfig.ts","../src/utils/humanize.ts","../src/utils/icons.ts","../src/utils/index.ts","../src/utils/logger.ts","../src/utils/notifyPermissions.ts","../src/utils/toBoolean.ts","../src/utils/updateArray.ts"],"version":"5.9.2"}
1
+ {"root":["../src/globals.d.ts","../src/index.federated.ts","../src/index.ts","../src/notify.types.ts","../src/sandbox.ts","../src/components/components.ts","../src/components/foundation-inbox/inbox.styles.ts","../src/components/foundation-inbox/inbox.template.ts","../src/components/foundation-inbox/inbox.ts","../src/components/foundation-inbox/inbox.types.ts","../src/components/foundation-inbox/inbox.utils.ts","../src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts","../src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.template.ts","../src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts","../src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.styles.ts","../src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.template.ts","../src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.ts","../src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.styles.ts","../src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.template.ts","../src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.ts","../src/components/foundation-inbox/components/inbox-subscription/rule-parameter/rule-parameter.styles.ts","../src/components/foundation-inbox/components/inbox-subscription/rule-parameter/rule-parameter.template.ts","../src/components/foundation-inbox/components/inbox-subscription/rule-parameter/rule-parameter.ts","../src/components/foundation-inbox/inbox-base/inbox-base.ts","../src/components/foundation-notification-dashboard/index.ts","../src/components/foundation-notification-dashboard/notification-dashboard.styles.ts","../src/components/foundation-notification-dashboard/notification-dashboard.tabs.ts","../src/components/foundation-notification-dashboard/notification-dashboard.template.ts","../src/components/foundation-notification-dashboard/notification-dashboard.ts","../src/components/foundation-notification-dashboard/notification-dashboard.utils.ts","../src/components/foundation-notification-dashboard/components/notify-audit/notify-audit-management.ts","../src/components/foundation-notification-dashboard/components/routes/route-management.ts","../src/components/foundation-notification-dashboard/components/routes/tabs/email-distribution-route-management.ts","../src/components/foundation-notification-dashboard/components/routes/tabs/email-user-route-management.ts","../src/components/foundation-notification-dashboard/components/routes/tabs/log-route-management.ts","../src/components/foundation-notification-dashboard/components/routes/tabs/ms-teams-route-management.ts","../src/components/foundation-notification-dashboard/components/routes/tabs/screen-route-management.ts","../src/components/foundation-notification-dashboard/components/routes/tabs/slack-route-management.ts","../src/components/foundation-notification-dashboard/components/rules/columns.ts","../src/components/foundation-notification-dashboard/components/rules/rule-management.ts","../src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.template.ts","../src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.ts","../src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.types.ts","../src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.template.ts","../src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.ts","../src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.types.ts","../src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts","../src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts","../src/components/foundation-notification-dashboard/components/templates/columns.ts","../src/components/foundation-notification-dashboard/components/templates/template-management.ts","../src/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.template.ts","../src/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.ts","../src/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.types.ts","../src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts","../src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts","../src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts","../src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.template.ts","../src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.ts","../src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts","../src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts","../src/components/foundation-notification-dashboard/styles/condition-builder.styles.ts","../src/components/foundation-notification-dashboard/styles/dynamic-rule.styles.ts","../src/components/foundation-notification-dashboard/styles/management.styles.ts","../src/components/foundation-notification-dashboard/types/expression-type.ts","../src/components/foundation-notification-dashboard/types/logical-operator.ts","../src/components/foundation-notification-dashboard/types/param-source-type.ts","../src/components/foundation-notification-dashboard/types/param-type.ts","../src/components/foundation-notification-dashboard/types/right-criteria.ts","../src/components/foundation-notification-dashboard/types/rule-execution-strategy.ts","../src/components/foundation-notification-dashboard/types/severity.ts","../src/services/alert.service.ts","../src/services/inbox.service.ts","../src/services/notify-route.service.ts","../src/services/notify.service.ts","../src/services/rule.service.ts","../src/services/system.service.ts","../src/services/template.service.ts","../src/styles/scrollbar.styles.ts","../src/utils/eventDetail.ts","../src/utils/gridConfig.ts","../src/utils/humanize.ts","../src/utils/icons.ts","../src/utils/index.ts","../src/utils/logger.ts","../src/utils/notifyPermissions.ts","../src/utils/toBoolean.ts","../src/utils/updateArray.ts"],"version":"5.9.2"}
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": "15.2.0",
4
+ "version": "15.3.0",
5
5
  "license": "SEE LICENSE IN license.txt",
6
6
  "workspaces": [
7
7
  "client"
@@ -83,30 +83,30 @@
83
83
  "@commitlint/format": "^19.0.3",
84
84
  "@genesiscommunitysuccess/cep-fast-plugin": "5.0.3",
85
85
  "@genesiscommunitysuccess/custom-elements-lsp": "5.0.3",
86
- "@genesislcap/design-system-configurator": "15.2.0",
87
- "@genesislcap/eslint-config": "15.2.0",
88
- "@genesislcap/eslint-stylelint-builder": "15.2.0",
89
- "@genesislcap/foundation-testing": "15.2.0",
90
- "@genesislcap/genx": "15.2.0",
91
- "@genesislcap/prettier-config": "15.2.0",
92
- "@genesislcap/stylelint-config": "15.2.0",
93
- "@genesislcap/vite-builder": "15.2.0",
94
- "@genesislcap/webpack-builder": "15.2.0",
86
+ "@genesislcap/design-system-configurator": "15.3.0",
87
+ "@genesislcap/eslint-config": "15.3.0",
88
+ "@genesislcap/eslint-stylelint-builder": "15.3.0",
89
+ "@genesislcap/foundation-testing": "15.3.0",
90
+ "@genesislcap/genx": "15.3.0",
91
+ "@genesislcap/prettier-config": "15.3.0",
92
+ "@genesislcap/stylelint-config": "15.3.0",
93
+ "@genesislcap/vite-builder": "15.3.0",
94
+ "@genesislcap/webpack-builder": "15.3.0",
95
95
  "dayjs": "^1.11.7"
96
96
  },
97
97
  "dependencies": {
98
- "@genesislcap/foundation-comms": "15.2.0",
99
- "@genesislcap/foundation-criteria": "15.2.0",
100
- "@genesislcap/foundation-entity-management": "15.2.0",
101
- "@genesislcap/foundation-forms": "15.2.0",
102
- "@genesislcap/foundation-layout": "15.2.0",
103
- "@genesislcap/foundation-logger": "15.2.0",
104
- "@genesislcap/foundation-notifications": "15.2.0",
105
- "@genesislcap/foundation-ui": "15.2.0",
106
- "@genesislcap/foundation-utils": "15.2.0",
107
- "@genesislcap/rapid-design-system": "15.2.0",
108
- "@genesislcap/rapid-grid-pro": "15.2.0",
109
- "@genesislcap/web-core": "15.2.0",
98
+ "@genesislcap/foundation-comms": "15.3.0",
99
+ "@genesislcap/foundation-criteria": "15.3.0",
100
+ "@genesislcap/foundation-entity-management": "15.3.0",
101
+ "@genesislcap/foundation-forms": "15.3.0",
102
+ "@genesislcap/foundation-layout": "15.3.0",
103
+ "@genesislcap/foundation-logger": "15.3.0",
104
+ "@genesislcap/foundation-notifications": "15.3.0",
105
+ "@genesislcap/foundation-ui": "15.3.0",
106
+ "@genesislcap/foundation-utils": "15.3.0",
107
+ "@genesislcap/rapid-design-system": "15.3.0",
108
+ "@genesislcap/rapid-grid-pro": "15.3.0",
109
+ "@genesislcap/web-core": "15.3.0",
110
110
  "lodash.debounce": "^4.0.8",
111
111
  "rxjs": "^7.5.4"
112
112
  },
@@ -114,5 +114,5 @@
114
114
  "access": "public"
115
115
  },
116
116
  "customElements": "dist/custom-elements.json",
117
- "gitHead": "c39af72807245ad2240adf75233c2769213d9aba"
117
+ "gitHead": "a8d2fa3336de2307fb9b82d4be1d4939ac847d14"
118
118
  }
@@ -11,6 +11,7 @@ import { EmailUserRouteManagement } from './foundation-notification-dashboard/co
11
11
  import { LogRouteManagement } from './foundation-notification-dashboard/components/routes/tabs/log-route-management';
12
12
  import { MSTeamsRouteManagement } from './foundation-notification-dashboard/components/routes/tabs/ms-teams-route-management';
13
13
  import { ScreenRouteManagement } from './foundation-notification-dashboard/components/routes/tabs/screen-route-management';
14
+ import { SlackRouteManagement } from './foundation-notification-dashboard/components/routes/tabs/slack-route-management';
14
15
  import { RuleConditionBuilder } from './foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder';
15
16
  import { RuleConditionGroup } from './foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group';
16
17
  import { RuleDialog } from './foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog';
@@ -47,6 +48,7 @@ EmailDistributionRouteManagement;
47
48
  EmailUserRouteManagement;
48
49
  LogRouteManagement;
49
50
  MSTeamsRouteManagement;
51
+ SlackRouteManagement;
50
52
 
51
53
  NotifyAuditManagement;
52
54
  // #endregion Notification Dashboard
@@ -9,6 +9,7 @@ import { css, customElement, GenesisElement, html } from '@genesislcap/web-core'
9
9
  <rapid-tab appearance="secondary">Email User Routes</rapid-tab>
10
10
  <rapid-tab appearance="secondary">Log Routes</rapid-tab>
11
11
  <rapid-tab appearance="secondary">MS Teams Routes</rapid-tab>
12
+ <rapid-tab appearance="secondary">Slack Routes</rapid-tab>
12
13
 
13
14
  <rapid-tab-panel>
14
15
  <screen-route-management></screen-route-management>
@@ -25,6 +26,9 @@ import { css, customElement, GenesisElement, html } from '@genesislcap/web-core'
25
26
  <rapid-tab-panel>
26
27
  <ms-teams-route-management></ms-teams-route-management>
27
28
  </rapid-tab-panel>
29
+ <rapid-tab-panel>
30
+ <slack-route-management></slack-route-management>
31
+ </rapid-tab-panel>
28
32
  </rapid-tabs>
29
33
  `,
30
34
  styles: css`
@@ -0,0 +1,48 @@
1
+ import { customElement, GenesisElement, html } from '@genesislcap/web-core';
2
+ import { managementGridStyles } from '../../../styles/management.styles';
3
+
4
+ const SLACK_ROUTE_MANAGEMENT_COLUMNS = [
5
+ {
6
+ field: 'NOTIFY_ROUTE_ID',
7
+ headerName: 'Notify Route Id',
8
+ flex: 1,
9
+ },
10
+ {
11
+ field: 'TOPIC_MATCH',
12
+ headerName: 'Topic Match',
13
+ flex: 1,
14
+ },
15
+ {
16
+ field: 'GATEWAY_ID',
17
+ headerName: 'Gateway Id',
18
+ flex: 1,
19
+ },
20
+ {
21
+ field: 'ROUTE_ENABLED',
22
+ headerName: 'Route Enabled',
23
+ flex: 1,
24
+ },
25
+ {
26
+ field: 'URL',
27
+ headerName: 'Url',
28
+ flex: 1,
29
+ },
30
+ ];
31
+
32
+ @customElement({
33
+ name: 'slack-route-management',
34
+ template: html<SlackRouteManagement>`
35
+ <div class="grid">
36
+ <entity-management
37
+ design-system-prefix="rapid"
38
+ resourceName="ALL_SLACK_ROUTES"
39
+ createEvent="EVENT_SLACK_ROUTE_CREATE"
40
+ updateEvent="EVENT_SLACK_ROUTE_UPDATE"
41
+ deleteEvent="EVENT_SLACK_ROUTE_DELETE"
42
+ :columns=${() => [...SLACK_ROUTE_MANAGEMENT_COLUMNS]}
43
+ ></entity-management>
44
+ </div>
45
+ `,
46
+ styles: managementGridStyles,
47
+ })
48
+ export class SlackRouteManagement extends GenesisElement {}