@genesislcap/pbc-notify-ui 15.8.2 → 15.8.3-PTC-0.2

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,27 +415,6 @@
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
- },
439
418
  {
440
419
  "kind": "javascript-module",
441
420
  "path": "src/utils/eventDetail.ts",
@@ -757,6 +736,27 @@
757
736
  }
758
737
  ]
759
738
  },
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",
@@ -6886,156 +6886,6 @@
6886
6886
  }
6887
6887
  ]
6888
6888
  },
6889
- {
6890
- "kind": "javascript-module",
6891
- "path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts",
6892
- "declarations": [
6893
- {
6894
- "kind": "variable",
6895
- "name": "RuleConditionGroupTemplate",
6896
- "default": "html<RuleConditionGroup>`\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, RuleConditionGroup>`\n ${when(\n (x) => isGroup(x),\n html<ConditionNode>`\n <rule-condition-group\n :fields=${(x, c) => c.parent.fields}\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 ></rule-condition-group>\n `,\n )}\n ${when(\n (x) => !isGroup(x),\n html<ConditionNode>`\n <rule-condition-builder\n :fields=${(x, c) => c.parent.fields}\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 ></rule-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`"
6897
- }
6898
- ],
6899
- "exports": [
6900
- {
6901
- "kind": "js",
6902
- "name": "RuleConditionGroupTemplate",
6903
- "declaration": {
6904
- "name": "RuleConditionGroupTemplate",
6905
- "module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts"
6906
- }
6907
- }
6908
- ]
6909
- },
6910
- {
6911
- "kind": "javascript-module",
6912
- "path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts",
6913
- "declarations": [
6914
- {
6915
- "kind": "class",
6916
- "description": "Parenthesized group of conditions/nested groups for notification rule\ncriteria, joined to the previous sibling via AND/OR like a single\ncondition row - but bracketing its own children off from the rest of the\nlist, so e.g. \"(A && B) || C\" can be expressed without the AND silently\nspanning more than intended.",
6917
- "name": "RuleConditionGroup",
6918
- "members": [
6919
- {
6920
- "kind": "field",
6921
- "name": "node",
6922
- "type": {
6923
- "text": "ConditionGroupEntity"
6924
- }
6925
- },
6926
- {
6927
- "kind": "field",
6928
- "name": "fields",
6929
- "type": {
6930
- "text": "Field[]"
6931
- },
6932
- "default": "[]"
6933
- },
6934
- {
6935
- "kind": "field",
6936
- "name": "isFirst",
6937
- "type": {
6938
- "text": "boolean"
6939
- },
6940
- "default": "false"
6941
- },
6942
- {
6943
- "kind": "field",
6944
- "name": "joinOperator",
6945
- "type": {
6946
- "text": "string"
6947
- }
6948
- },
6949
- {
6950
- "kind": "field",
6951
- "name": "groupChildren",
6952
- "type": {
6953
- "text": "ConditionNode[]"
6954
- },
6955
- "default": "[]"
6956
- },
6957
- {
6958
- "kind": "method",
6959
- "name": "nodeChanged"
6960
- },
6961
- {
6962
- "kind": "method",
6963
- "name": "joinOperatorChanged"
6964
- },
6965
- {
6966
- "kind": "method",
6967
- "name": "newCondition"
6968
- },
6969
- {
6970
- "kind": "method",
6971
- "name": "newGroup"
6972
- },
6973
- {
6974
- "kind": "method",
6975
- "name": "editChild",
6976
- "parameters": [
6977
- {
6978
- "name": "_editedChild",
6979
- "type": {
6980
- "text": "ConditionNode"
6981
- }
6982
- }
6983
- ]
6984
- },
6985
- {
6986
- "kind": "method",
6987
- "name": "deleteChild",
6988
- "parameters": [
6989
- {
6990
- "name": "deletedChild",
6991
- "type": {
6992
- "text": "ConditionNode"
6993
- }
6994
- }
6995
- ]
6996
- },
6997
- {
6998
- "kind": "method",
6999
- "name": "deleteSelf"
7000
- }
7001
- ],
7002
- "events": [
7003
- {
7004
- "description": "Fired when this whole group should be removed",
7005
- "name": "delete"
7006
- },
7007
- {
7008
- "description": "Fired when anything inside this group changes",
7009
- "name": "edit"
7010
- }
7011
- ],
7012
- "superclass": {
7013
- "name": "GenesisElement",
7014
- "package": "@genesislcap/web-core"
7015
- },
7016
- "tagName": "rule-condition-group",
7017
- "customElement": true
7018
- }
7019
- ],
7020
- "exports": [
7021
- {
7022
- "kind": "js",
7023
- "name": "RuleConditionGroup",
7024
- "declaration": {
7025
- "name": "RuleConditionGroup",
7026
- "module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
7027
- }
7028
- },
7029
- {
7030
- "kind": "custom-element-definition",
7031
- "name": "rule-condition-group",
7032
- "declaration": {
7033
- "name": "RuleConditionGroup",
7034
- "module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
7035
- }
7036
- }
7037
- ]
7038
- },
7039
6889
  {
7040
6890
  "kind": "javascript-module",
7041
6891
  "path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.template.ts",
@@ -7322,54 +7172,46 @@
7322
7172
  },
7323
7173
  {
7324
7174
  "kind": "javascript-module",
7325
- "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.template.ts",
7175
+ "path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts",
7326
7176
  "declarations": [
7327
7177
  {
7328
7178
  "kind": "variable",
7329
- "name": "TemplateConditionBuilderTemplate",
7330
- "default": "html<TemplateConditionBuilder>`\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-builder\">\n <rapid-select\n :value=${sync((x) => x.leftValue)}\n :initialValue=${sync((x) => x.leftValue)}\n class=\"left-value\"\n >\n ${repeat(\n (x) => x.leftValueItems,\n html<Field>`\n <rapid-option value=${(x) => JSON.stringify(x)}>${(x) => x.FIELD_NAME}</rapid-option>\n `,\n )}\n </rapid-select>\n\n <rapid-select\n class=\"logical-operator${(x) =>\n classNames([\n '-null-and-blank',\n nullAndBlankLogicalOperatorValues.includes(LogicalOperator[x.logicalOperator]),\n ])}\"\n :value=${sync((x) => x.logicalOperator)}\n >\n ${repeat(\n (_) => Object.values(LogicalOperator),\n html`\n <rapid-option value=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n\n ${when(\n (x) => !nullAndBlankLogicalOperatorValues.includes(LogicalOperator[x.logicalOperator]),\n html`\n <rapid-select class=\"right-criteria\" :value=${sync((x) => x.rightCriteria)}>\n ${repeat(\n (_) => Object.values(RightCriteria),\n html`\n <rapid-option value=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n\n ${when(\n (x) => x.rightCriteria === RightCriteria.VALUE,\n html<TemplateConditionBuilder>`\n ${whenElse(\n (x) => JSON.parse(x.leftValue ?? '{}').FIELD_TYPE === FieldTypeEnum.BOOLEAN,\n html`\n <rapid-select class=\"right-criteria-select\" :value=${sync((x) => x.rightValueText)}>\n <rapid-option value=\"true\">true</rapid-option>\n <rapid-option value=\"false\">false</rapid-option>\n </rapid-select>\n `,\n html`\n ${whenElse(\n (x) => JSON.parse(x.leftValue ?? '{}').FIELD_TYPE === 'ENUM',\n html`\n <rapid-multiselect\n class=\"right-criteria-select\"\n :selectedOptions=${(x) => x.rightValueMultiSelect}\n @selectionChange=${(x, c) => {\n x.rightValueMultiSelect = (c.event as CustomEvent).detail;\n }}\n search=\"true\"\n all=\"false\"\n >\n <multiselect-datasource\n value-field=\"value\"\n label-field=\"value\"\n :data=${(x) => x.getEnumValues().map((value) => ({ value }))}\n ></multiselect-datasource>\n </rapid-multiselect>\n `,\n html`\n <rapid-text-field\n class=\"right-criteria-text\"\n :value=${sync((x) => x.rightValueText)}\n placeholder=\"Value (comma-separate for multiple)\"\n autocomplete=\"off\"\n ></rapid-text-field>\n `,\n )}\n `,\n )}\n `,\n )}\n ${when(\n (x) => x.rightCriteria === RightCriteria.USER_ENTRY,\n html<TemplateConditionBuilder>`\n <rapid-select class=\"right-criteria-select\" :value=${sync((x) => x.rightValueSelect)}>\n ${(x) => rightValueItemsOptions(x.rightValueItems)}\n </rapid-select>\n `,\n )}\n `,\n )}\n\n <rapid-button appearance=\"icon\" class=\"delete\" @click=${(x) => x.deleteCondition()}>\n <rapid-icon\n style=\"opacity: 0.5\"\n variant=\"regular\"\n name=\"trash-alt\"\n size=\"lg\"\n part=\"icon\"\n ></rapid-icon>\n </rapid-button>\n </div>\n`"
7179
+ "name": "RuleConditionGroupTemplate",
7180
+ "default": "html<RuleConditionGroup>`\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, RuleConditionGroup>`\n ${when(\n (x) => isGroup(x),\n html<ConditionNode>`\n <rule-condition-group\n :fields=${(x, c) => c.parent.fields}\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 ></rule-condition-group>\n `,\n )}\n ${when(\n (x) => !isGroup(x),\n html<ConditionNode>`\n <rule-condition-builder\n :fields=${(x, c) => c.parent.fields}\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 ></rule-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`"
7331
7181
  }
7332
7182
  ],
7333
7183
  "exports": [
7334
7184
  {
7335
7185
  "kind": "js",
7336
- "name": "TemplateConditionBuilderTemplate",
7186
+ "name": "RuleConditionGroupTemplate",
7337
7187
  "declaration": {
7338
- "name": "TemplateConditionBuilderTemplate",
7339
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.template.ts"
7188
+ "name": "RuleConditionGroupTemplate",
7189
+ "module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts"
7340
7190
  }
7341
7191
  }
7342
7192
  ]
7343
7193
  },
7344
7194
  {
7345
7195
  "kind": "javascript-module",
7346
- "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.ts",
7196
+ "path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts",
7347
7197
  "declarations": [
7348
7198
  {
7349
7199
  "kind": "class",
7350
- "description": "Condition builder for template notification rules.",
7351
- "name": "TemplateConditionBuilder",
7200
+ "description": "Parenthesized group of conditions/nested groups for notification rule\ncriteria, joined to the previous sibling via AND/OR like a single\ncondition row - but bracketing its own children off from the rest of the\nlist, so e.g. \"(A && B) || C\" can be expressed without the AND silently\nspanning more than intended.",
7201
+ "name": "RuleConditionGroup",
7352
7202
  "members": [
7353
7203
  {
7354
7204
  "kind": "field",
7355
- "name": "condition",
7205
+ "name": "node",
7356
7206
  "type": {
7357
- "text": "ConditionBuilderEntity"
7207
+ "text": "ConditionGroupEntity"
7358
7208
  }
7359
7209
  },
7360
- {
7361
- "kind": "field",
7362
- "name": "parameters",
7363
- "type": {
7364
- "text": "Array<ParameterBuilderEntity>"
7365
- },
7366
- "default": "[]"
7367
- },
7368
7210
  {
7369
7211
  "kind": "field",
7370
7212
  "name": "fields",
7371
7213
  "type": {
7372
- "text": "Array<string>"
7214
+ "text": "Field[]"
7373
7215
  },
7374
7216
  "default": "[]"
7375
7217
  },
@@ -7390,224 +7232,90 @@
7390
7232
  },
7391
7233
  {
7392
7234
  "kind": "field",
7393
- "name": "leftValue",
7235
+ "name": "groupChildren",
7394
7236
  "type": {
7395
- "text": "any"
7237
+ "text": "ConditionNode[]"
7396
7238
  },
7397
- "default": "null"
7239
+ "default": "[]"
7398
7240
  },
7399
7241
  {
7400
- "kind": "field",
7401
- "name": "leftValueItems",
7402
- "type": {
7403
- "text": "Array<any>"
7404
- },
7405
- "default": "[]"
7242
+ "kind": "method",
7243
+ "name": "nodeChanged"
7406
7244
  },
7407
7245
  {
7408
- "kind": "field",
7409
- "name": "logicalOperator",
7410
- "type": {
7411
- "text": "string"
7412
- },
7413
- "default": "null"
7246
+ "kind": "method",
7247
+ "name": "joinOperatorChanged"
7414
7248
  },
7415
7249
  {
7416
- "kind": "field",
7417
- "name": "rightCriteria",
7418
- "type": {
7419
- "text": "string"
7420
- }
7421
- },
7422
- {
7423
- "kind": "field",
7424
- "name": "rightValueText",
7425
- "type": {
7426
- "text": "string"
7427
- },
7428
- "default": "null"
7429
- },
7430
- {
7431
- "kind": "field",
7432
- "name": "rightValueSelect",
7433
- "type": {
7434
- "text": "string"
7435
- },
7436
- "default": "null"
7437
- },
7438
- {
7439
- "kind": "field",
7440
- "name": "rightValueItems",
7441
- "type": {
7442
- "text": "Array<any>"
7443
- },
7444
- "default": "[]"
7445
- },
7446
- {
7447
- "kind": "field",
7448
- "name": "rightValueMultiSelect",
7449
- "type": {
7450
- "text": "string[]"
7451
- },
7452
- "default": "[]"
7250
+ "kind": "method",
7251
+ "name": "newCondition"
7453
7252
  },
7454
7253
  {
7455
7254
  "kind": "method",
7456
- "name": "deleteCondition"
7457
- },
7458
- {
7459
- "kind": "method",
7460
- "name": "conditionChanged"
7461
- },
7462
- {
7463
- "kind": "method",
7464
- "name": "joinOperatorChanged"
7465
- },
7466
- {
7467
- "kind": "method",
7468
- "name": "parametersChanged"
7255
+ "name": "newGroup"
7469
7256
  },
7470
7257
  {
7471
7258
  "kind": "method",
7472
- "name": "getMatchingParameter",
7473
- "privacy": "private",
7474
- "return": {
7475
- "type": {
7476
- "text": "ParameterBuilderEntity | undefined"
7259
+ "name": "editChild",
7260
+ "parameters": [
7261
+ {
7262
+ "name": "_editedChild",
7263
+ "type": {
7264
+ "text": "ConditionNode"
7265
+ }
7477
7266
  }
7478
- }
7267
+ ]
7479
7268
  },
7480
7269
  {
7481
7270
  "kind": "method",
7482
- "name": "syncParameterBinding",
7483
- "privacy": "private",
7484
- "return": {
7485
- "type": {
7486
- "text": "boolean"
7271
+ "name": "deleteChild",
7272
+ "parameters": [
7273
+ {
7274
+ "name": "deletedChild",
7275
+ "type": {
7276
+ "text": "ConditionNode"
7277
+ }
7487
7278
  }
7488
- }
7489
- },
7490
- {
7491
- "kind": "method",
7492
- "name": "resetToValueEditor",
7493
- "privacy": "private"
7494
- },
7495
- {
7496
- "kind": "method",
7497
- "name": "fieldsChanged"
7498
- },
7499
- {
7500
- "kind": "method",
7501
- "name": "logicalOperatorChanged"
7502
- },
7503
- {
7504
- "kind": "method",
7505
- "name": "assignLeftValue",
7506
- "privacy": "private"
7507
- },
7508
- {
7509
- "kind": "method",
7510
- "name": "leftValueChanged"
7511
- },
7512
- {
7513
- "kind": "method",
7514
- "name": "assignRightValue",
7515
- "privacy": "private"
7516
- },
7517
- {
7518
- "kind": "method",
7519
- "name": "rightCriteriaChanged"
7520
- },
7521
- {
7522
- "kind": "method",
7523
- "name": "clearRightValueText",
7524
- "privacy": "private"
7525
- },
7526
- {
7527
- "kind": "method",
7528
- "name": "clearRightValueSelect",
7529
- "privacy": "private"
7530
- },
7531
- {
7532
- "kind": "method",
7533
- "name": "rightValueTextChanged"
7534
- },
7535
- {
7536
- "kind": "method",
7537
- "name": "rightValueSelectChanged"
7538
- },
7539
- {
7540
- "kind": "method",
7541
- "name": "rightValueMultiSelectChanged"
7279
+ ]
7542
7280
  },
7543
7281
  {
7544
7282
  "kind": "method",
7545
- "name": "getEnumValues",
7546
- "return": {
7547
- "type": {
7548
- "text": "string[]"
7549
- }
7550
- }
7283
+ "name": "deleteSelf"
7551
7284
  }
7552
7285
  ],
7553
7286
  "events": [
7554
7287
  {
7555
- "description": "Fired when a condition is deleted. detail: `ConditionBuilderEntity`",
7288
+ "description": "Fired when this whole group should be removed",
7556
7289
  "name": "delete"
7557
7290
  },
7558
7291
  {
7559
- "description": "Fired when a condition is edited. detail: `ConditionBuilderEntity`",
7292
+ "description": "Fired when anything inside this group changes",
7560
7293
  "name": "edit"
7561
7294
  }
7562
7295
  ],
7563
- "attributes": [
7564
- {
7565
- "name": "condition",
7566
- "type": {
7567
- "text": "ConditionBuilderEntity"
7568
- },
7569
- "fieldName": "condition"
7570
- },
7571
- {
7572
- "name": "parameters",
7573
- "type": {
7574
- "text": "Array<ParameterBuilderEntity>"
7575
- },
7576
- "default": "[]",
7577
- "fieldName": "parameters"
7578
- },
7579
- {
7580
- "name": "fields",
7581
- "type": {
7582
- "text": "Array<string>"
7583
- },
7584
- "default": "[]",
7585
- "fieldName": "fields"
7586
- }
7587
- ],
7588
7296
  "superclass": {
7589
7297
  "name": "GenesisElement",
7590
7298
  "package": "@genesislcap/web-core"
7591
7299
  },
7592
- "tagName": "template-condition-builder",
7300
+ "tagName": "rule-condition-group",
7593
7301
  "customElement": true
7594
7302
  }
7595
7303
  ],
7596
7304
  "exports": [
7597
7305
  {
7598
7306
  "kind": "js",
7599
- "name": "TemplateConditionBuilder",
7307
+ "name": "RuleConditionGroup",
7600
7308
  "declaration": {
7601
- "name": "TemplateConditionBuilder",
7602
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.ts"
7309
+ "name": "RuleConditionGroup",
7310
+ "module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
7603
7311
  }
7604
7312
  },
7605
7313
  {
7606
7314
  "kind": "custom-element-definition",
7607
- "name": "template-condition-builder",
7315
+ "name": "rule-condition-group",
7608
7316
  "declaration": {
7609
- "name": "TemplateConditionBuilder",
7610
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.ts"
7317
+ "name": "RuleConditionGroup",
7318
+ "module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
7611
7319
  }
7612
7320
  }
7613
7321
  ]
@@ -7826,6 +7534,298 @@
7826
7534
  }
7827
7535
  ]
7828
7536
  },
7537
+ {
7538
+ "kind": "javascript-module",
7539
+ "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.template.ts",
7540
+ "declarations": [
7541
+ {
7542
+ "kind": "variable",
7543
+ "name": "TemplateConditionBuilderTemplate",
7544
+ "default": "html<TemplateConditionBuilder>`\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-builder\">\n <rapid-select\n :value=${sync((x) => x.leftValue)}\n :initialValue=${sync((x) => x.leftValue)}\n class=\"left-value\"\n >\n ${repeat(\n (x) => x.leftValueItems,\n html<Field>`\n <rapid-option value=${(x) => JSON.stringify(x)}>${(x) => x.FIELD_NAME}</rapid-option>\n `,\n )}\n </rapid-select>\n\n <rapid-select\n class=\"logical-operator${(x) =>\n classNames([\n '-null-and-blank',\n nullAndBlankLogicalOperatorValues.includes(LogicalOperator[x.logicalOperator]),\n ])}\"\n :value=${sync((x) => x.logicalOperator)}\n >\n ${repeat(\n (_) => Object.values(LogicalOperator),\n html`\n <rapid-option value=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n\n ${when(\n (x) => !nullAndBlankLogicalOperatorValues.includes(LogicalOperator[x.logicalOperator]),\n html`\n <rapid-select class=\"right-criteria\" :value=${sync((x) => x.rightCriteria)}>\n ${repeat(\n (_) => Object.values(RightCriteria),\n html`\n <rapid-option value=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n\n ${when(\n (x) => x.rightCriteria === RightCriteria.VALUE,\n html<TemplateConditionBuilder>`\n ${whenElse(\n (x) => JSON.parse(x.leftValue ?? '{}').FIELD_TYPE === FieldTypeEnum.BOOLEAN,\n html`\n <rapid-select class=\"right-criteria-select\" :value=${sync((x) => x.rightValueText)}>\n <rapid-option value=\"true\">true</rapid-option>\n <rapid-option value=\"false\">false</rapid-option>\n </rapid-select>\n `,\n html`\n ${whenElse(\n (x) => JSON.parse(x.leftValue ?? '{}').FIELD_TYPE === 'ENUM',\n html`\n <rapid-multiselect\n class=\"right-criteria-select\"\n :selectedOptions=${(x) => x.rightValueMultiSelect}\n @selectionChange=${(x, c) => {\n x.rightValueMultiSelect = (c.event as CustomEvent).detail;\n }}\n search=\"true\"\n all=\"false\"\n >\n <multiselect-datasource\n value-field=\"value\"\n label-field=\"value\"\n :data=${(x) => x.getEnumValues().map((value) => ({ value }))}\n ></multiselect-datasource>\n </rapid-multiselect>\n `,\n html`\n <rapid-text-field\n class=\"right-criteria-text\"\n :value=${sync((x) => x.rightValueText)}\n placeholder=\"Value (comma-separate for multiple)\"\n autocomplete=\"off\"\n ></rapid-text-field>\n `,\n )}\n `,\n )}\n `,\n )}\n ${when(\n (x) => x.rightCriteria === RightCriteria.USER_ENTRY,\n html<TemplateConditionBuilder>`\n <rapid-select class=\"right-criteria-select\" :value=${sync((x) => x.rightValueSelect)}>\n ${(x) => rightValueItemsOptions(x.rightValueItems)}\n </rapid-select>\n `,\n )}\n `,\n )}\n\n <rapid-button appearance=\"icon\" class=\"delete\" @click=${(x) => x.deleteCondition()}>\n <rapid-icon\n style=\"opacity: 0.5\"\n variant=\"regular\"\n name=\"trash-alt\"\n size=\"lg\"\n part=\"icon\"\n ></rapid-icon>\n </rapid-button>\n </div>\n`"
7545
+ }
7546
+ ],
7547
+ "exports": [
7548
+ {
7549
+ "kind": "js",
7550
+ "name": "TemplateConditionBuilderTemplate",
7551
+ "declaration": {
7552
+ "name": "TemplateConditionBuilderTemplate",
7553
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.template.ts"
7554
+ }
7555
+ }
7556
+ ]
7557
+ },
7558
+ {
7559
+ "kind": "javascript-module",
7560
+ "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.ts",
7561
+ "declarations": [
7562
+ {
7563
+ "kind": "class",
7564
+ "description": "Condition builder for template notification rules.",
7565
+ "name": "TemplateConditionBuilder",
7566
+ "members": [
7567
+ {
7568
+ "kind": "field",
7569
+ "name": "condition",
7570
+ "type": {
7571
+ "text": "ConditionBuilderEntity"
7572
+ }
7573
+ },
7574
+ {
7575
+ "kind": "field",
7576
+ "name": "parameters",
7577
+ "type": {
7578
+ "text": "Array<ParameterBuilderEntity>"
7579
+ },
7580
+ "default": "[]"
7581
+ },
7582
+ {
7583
+ "kind": "field",
7584
+ "name": "fields",
7585
+ "type": {
7586
+ "text": "Array<string>"
7587
+ },
7588
+ "default": "[]"
7589
+ },
7590
+ {
7591
+ "kind": "field",
7592
+ "name": "isFirst",
7593
+ "type": {
7594
+ "text": "boolean"
7595
+ },
7596
+ "default": "false"
7597
+ },
7598
+ {
7599
+ "kind": "field",
7600
+ "name": "joinOperator",
7601
+ "type": {
7602
+ "text": "string"
7603
+ }
7604
+ },
7605
+ {
7606
+ "kind": "field",
7607
+ "name": "leftValue",
7608
+ "type": {
7609
+ "text": "any"
7610
+ },
7611
+ "default": "null"
7612
+ },
7613
+ {
7614
+ "kind": "field",
7615
+ "name": "leftValueItems",
7616
+ "type": {
7617
+ "text": "Array<any>"
7618
+ },
7619
+ "default": "[]"
7620
+ },
7621
+ {
7622
+ "kind": "field",
7623
+ "name": "logicalOperator",
7624
+ "type": {
7625
+ "text": "string"
7626
+ },
7627
+ "default": "null"
7628
+ },
7629
+ {
7630
+ "kind": "field",
7631
+ "name": "rightCriteria",
7632
+ "type": {
7633
+ "text": "string"
7634
+ }
7635
+ },
7636
+ {
7637
+ "kind": "field",
7638
+ "name": "rightValueText",
7639
+ "type": {
7640
+ "text": "string"
7641
+ },
7642
+ "default": "null"
7643
+ },
7644
+ {
7645
+ "kind": "field",
7646
+ "name": "rightValueSelect",
7647
+ "type": {
7648
+ "text": "string"
7649
+ },
7650
+ "default": "null"
7651
+ },
7652
+ {
7653
+ "kind": "field",
7654
+ "name": "rightValueItems",
7655
+ "type": {
7656
+ "text": "Array<any>"
7657
+ },
7658
+ "default": "[]"
7659
+ },
7660
+ {
7661
+ "kind": "field",
7662
+ "name": "rightValueMultiSelect",
7663
+ "type": {
7664
+ "text": "string[]"
7665
+ },
7666
+ "default": "[]"
7667
+ },
7668
+ {
7669
+ "kind": "method",
7670
+ "name": "deleteCondition"
7671
+ },
7672
+ {
7673
+ "kind": "method",
7674
+ "name": "conditionChanged"
7675
+ },
7676
+ {
7677
+ "kind": "method",
7678
+ "name": "joinOperatorChanged"
7679
+ },
7680
+ {
7681
+ "kind": "method",
7682
+ "name": "parametersChanged"
7683
+ },
7684
+ {
7685
+ "kind": "method",
7686
+ "name": "getMatchingParameter",
7687
+ "privacy": "private",
7688
+ "return": {
7689
+ "type": {
7690
+ "text": "ParameterBuilderEntity | undefined"
7691
+ }
7692
+ }
7693
+ },
7694
+ {
7695
+ "kind": "method",
7696
+ "name": "syncParameterBinding",
7697
+ "privacy": "private",
7698
+ "return": {
7699
+ "type": {
7700
+ "text": "boolean"
7701
+ }
7702
+ }
7703
+ },
7704
+ {
7705
+ "kind": "method",
7706
+ "name": "resetToValueEditor",
7707
+ "privacy": "private"
7708
+ },
7709
+ {
7710
+ "kind": "method",
7711
+ "name": "fieldsChanged"
7712
+ },
7713
+ {
7714
+ "kind": "method",
7715
+ "name": "logicalOperatorChanged"
7716
+ },
7717
+ {
7718
+ "kind": "method",
7719
+ "name": "assignLeftValue",
7720
+ "privacy": "private"
7721
+ },
7722
+ {
7723
+ "kind": "method",
7724
+ "name": "leftValueChanged"
7725
+ },
7726
+ {
7727
+ "kind": "method",
7728
+ "name": "assignRightValue",
7729
+ "privacy": "private"
7730
+ },
7731
+ {
7732
+ "kind": "method",
7733
+ "name": "rightCriteriaChanged"
7734
+ },
7735
+ {
7736
+ "kind": "method",
7737
+ "name": "clearRightValueText",
7738
+ "privacy": "private"
7739
+ },
7740
+ {
7741
+ "kind": "method",
7742
+ "name": "clearRightValueSelect",
7743
+ "privacy": "private"
7744
+ },
7745
+ {
7746
+ "kind": "method",
7747
+ "name": "rightValueTextChanged"
7748
+ },
7749
+ {
7750
+ "kind": "method",
7751
+ "name": "rightValueSelectChanged"
7752
+ },
7753
+ {
7754
+ "kind": "method",
7755
+ "name": "rightValueMultiSelectChanged"
7756
+ },
7757
+ {
7758
+ "kind": "method",
7759
+ "name": "getEnumValues",
7760
+ "return": {
7761
+ "type": {
7762
+ "text": "string[]"
7763
+ }
7764
+ }
7765
+ }
7766
+ ],
7767
+ "events": [
7768
+ {
7769
+ "description": "Fired when a condition is deleted. detail: `ConditionBuilderEntity`",
7770
+ "name": "delete"
7771
+ },
7772
+ {
7773
+ "description": "Fired when a condition is edited. detail: `ConditionBuilderEntity`",
7774
+ "name": "edit"
7775
+ }
7776
+ ],
7777
+ "attributes": [
7778
+ {
7779
+ "name": "condition",
7780
+ "type": {
7781
+ "text": "ConditionBuilderEntity"
7782
+ },
7783
+ "fieldName": "condition"
7784
+ },
7785
+ {
7786
+ "name": "parameters",
7787
+ "type": {
7788
+ "text": "Array<ParameterBuilderEntity>"
7789
+ },
7790
+ "default": "[]",
7791
+ "fieldName": "parameters"
7792
+ },
7793
+ {
7794
+ "name": "fields",
7795
+ "type": {
7796
+ "text": "Array<string>"
7797
+ },
7798
+ "default": "[]",
7799
+ "fieldName": "fields"
7800
+ }
7801
+ ],
7802
+ "superclass": {
7803
+ "name": "GenesisElement",
7804
+ "package": "@genesislcap/web-core"
7805
+ },
7806
+ "tagName": "template-condition-builder",
7807
+ "customElement": true
7808
+ }
7809
+ ],
7810
+ "exports": [
7811
+ {
7812
+ "kind": "js",
7813
+ "name": "TemplateConditionBuilder",
7814
+ "declaration": {
7815
+ "name": "TemplateConditionBuilder",
7816
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.ts"
7817
+ }
7818
+ },
7819
+ {
7820
+ "kind": "custom-element-definition",
7821
+ "name": "template-condition-builder",
7822
+ "declaration": {
7823
+ "name": "TemplateConditionBuilder",
7824
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.ts"
7825
+ }
7826
+ }
7827
+ ]
7828
+ },
7829
7829
  {
7830
7830
  "kind": "javascript-module",
7831
7831
  "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts",
@@ -235,17 +235,6 @@ export declare const TemplateDialog: React.ForwardRefExoticComponent<
235
235
  >;
236
236
  export type TemplateDialogRef = TemplateDialogWC;
237
237
 
238
- export declare const RuleConditionGroup: React.ForwardRefExoticComponent<
239
- React.PropsWithChildren<
240
- Omit<PublicOf<RuleConditionGroupWC>, 'children' | 'style'> &
241
- HTMLWCProps & {
242
- onDelete?: (event: CustomEvent<unknown>) => void;
243
- onEdit?: (event: CustomEvent<unknown>) => void;
244
- }
245
- > & React.RefAttributes<RuleConditionGroupWC>
246
- >;
247
- export type RuleConditionGroupRef = RuleConditionGroupWC;
248
-
249
238
  export declare const RuleConditionBuilder: React.ForwardRefExoticComponent<
250
239
  React.PropsWithChildren<
251
240
  Omit<PublicOf<RuleConditionBuilderWC>, 'children' | 'style'> &
@@ -257,16 +246,16 @@ export declare const RuleConditionBuilder: React.ForwardRefExoticComponent<
257
246
  >;
258
247
  export type RuleConditionBuilderRef = RuleConditionBuilderWC;
259
248
 
260
- export declare const TemplateConditionBuilder: React.ForwardRefExoticComponent<
249
+ export declare const RuleConditionGroup: React.ForwardRefExoticComponent<
261
250
  React.PropsWithChildren<
262
- Omit<PublicOf<TemplateConditionBuilderWC>, 'children' | 'style'> &
251
+ Omit<PublicOf<RuleConditionGroupWC>, 'children' | 'style'> &
263
252
  HTMLWCProps & {
264
- onDelete?: (event: CustomEvent<ConditionBuilderEntity>) => void;
265
- onEdit?: (event: CustomEvent<ConditionBuilderEntity>) => void;
253
+ onDelete?: (event: CustomEvent<unknown>) => void;
254
+ onEdit?: (event: CustomEvent<unknown>) => void;
266
255
  }
267
- > & React.RefAttributes<TemplateConditionBuilderWC>
256
+ > & React.RefAttributes<RuleConditionGroupWC>
268
257
  >;
269
- export type TemplateConditionBuilderRef = TemplateConditionBuilderWC;
258
+ export type RuleConditionGroupRef = RuleConditionGroupWC;
270
259
 
271
260
  export declare const ParameterBuilder: React.ForwardRefExoticComponent<
272
261
  React.PropsWithChildren<
@@ -279,6 +268,17 @@ export declare const ParameterBuilder: React.ForwardRefExoticComponent<
279
268
  >;
280
269
  export type ParameterBuilderRef = ParameterBuilderWC;
281
270
 
271
+ export declare const TemplateConditionBuilder: React.ForwardRefExoticComponent<
272
+ React.PropsWithChildren<
273
+ Omit<PublicOf<TemplateConditionBuilderWC>, 'children' | 'style'> &
274
+ HTMLWCProps & {
275
+ onDelete?: (event: CustomEvent<ConditionBuilderEntity>) => void;
276
+ onEdit?: (event: CustomEvent<ConditionBuilderEntity>) => void;
277
+ }
278
+ > & React.RefAttributes<TemplateConditionBuilderWC>
279
+ >;
280
+ export type TemplateConditionBuilderRef = TemplateConditionBuilderWC;
281
+
282
282
  export declare const TemplateConditionGroup: React.ForwardRefExoticComponent<
283
283
  React.PropsWithChildren<
284
284
  Omit<PublicOf<TemplateConditionGroupWC>, 'children' | 'style'> &
package/dist/react.cjs CHANGED
@@ -188,7 +188,7 @@ const TemplateDialog = React.forwardRef(function TemplateDialog(props, ref) {
188
188
  return React.createElement(customElements.getName(TemplateDialogWC) ?? 'template-dialog', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
189
189
  });
190
190
 
191
- const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, ref) {
191
+ const RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(props, ref) {
192
192
  const { onDelete, onEdit, children, ...rest } = props;
193
193
  const _innerRef = React.useRef(null);
194
194
  const _onDeleteRef = React.useRef(onDelete);
@@ -207,10 +207,10 @@ const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, r
207
207
  el.removeEventListener('edit', _onEditFn);
208
208
  };
209
209
  }, []);
210
- return React.createElement(customElements.getName(RuleConditionGroupWC) ?? 'rule-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
210
+ return React.createElement(customElements.getName(RuleConditionBuilderWC) ?? 'rule-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
211
211
  });
212
212
 
213
- const RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(props, ref) {
213
+ const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, ref) {
214
214
  const { onDelete, onEdit, children, ...rest } = props;
215
215
  const _innerRef = React.useRef(null);
216
216
  const _onDeleteRef = React.useRef(onDelete);
@@ -229,10 +229,10 @@ const RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(prop
229
229
  el.removeEventListener('edit', _onEditFn);
230
230
  };
231
231
  }, []);
232
- return React.createElement(customElements.getName(RuleConditionBuilderWC) ?? 'rule-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
232
+ return React.createElement(customElements.getName(RuleConditionGroupWC) ?? 'rule-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
233
233
  });
234
234
 
235
- const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuilder(props, ref) {
235
+ const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref) {
236
236
  const { onDelete, onEdit, children, ...rest } = props;
237
237
  const _innerRef = React.useRef(null);
238
238
  const _onDeleteRef = React.useRef(onDelete);
@@ -251,10 +251,10 @@ const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuil
251
251
  el.removeEventListener('edit', _onEditFn);
252
252
  };
253
253
  }, []);
254
- return React.createElement(customElements.getName(TemplateConditionBuilderWC) ?? 'template-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
254
+ return React.createElement(customElements.getName(ParameterBuilderWC) ?? 'parameter-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
255
255
  });
256
256
 
257
- const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref) {
257
+ const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuilder(props, ref) {
258
258
  const { onDelete, onEdit, children, ...rest } = props;
259
259
  const _innerRef = React.useRef(null);
260
260
  const _onDeleteRef = React.useRef(onDelete);
@@ -273,7 +273,7 @@ const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref)
273
273
  el.removeEventListener('edit', _onEditFn);
274
274
  };
275
275
  }, []);
276
- return React.createElement(customElements.getName(ParameterBuilderWC) ?? 'parameter-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
276
+ return React.createElement(customElements.getName(TemplateConditionBuilderWC) ?? 'template-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
277
277
  });
278
278
 
279
279
  const TemplateConditionGroup = React.forwardRef(function TemplateConditionGroup(props, ref) {
@@ -318,9 +318,9 @@ module.exports = {
318
318
  SlackRouteManagement,
319
319
  RuleDialog,
320
320
  TemplateDialog,
321
- RuleConditionGroup,
322
321
  RuleConditionBuilder,
323
- TemplateConditionBuilder,
322
+ RuleConditionGroup,
324
323
  ParameterBuilder,
324
+ TemplateConditionBuilder,
325
325
  TemplateConditionGroup,
326
326
  };
package/dist/react.mjs CHANGED
@@ -186,7 +186,7 @@ export const TemplateDialog = React.forwardRef(function TemplateDialog(props, re
186
186
  return React.createElement(customElements.getName(TemplateDialogWC) ?? 'template-dialog', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
187
187
  });
188
188
 
189
- export const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, ref) {
189
+ export const RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(props, ref) {
190
190
  const { onDelete, onEdit, children, ...rest } = props;
191
191
  const _innerRef = React.useRef(null);
192
192
  const _onDeleteRef = React.useRef(onDelete);
@@ -205,10 +205,10 @@ export const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(p
205
205
  el.removeEventListener('edit', _onEditFn);
206
206
  };
207
207
  }, []);
208
- return React.createElement(customElements.getName(RuleConditionGroupWC) ?? 'rule-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
208
+ return React.createElement(customElements.getName(RuleConditionBuilderWC) ?? 'rule-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
209
209
  });
210
210
 
211
- export const RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(props, ref) {
211
+ export const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, ref) {
212
212
  const { onDelete, onEdit, children, ...rest } = props;
213
213
  const _innerRef = React.useRef(null);
214
214
  const _onDeleteRef = React.useRef(onDelete);
@@ -227,10 +227,10 @@ export const RuleConditionBuilder = React.forwardRef(function RuleConditionBuild
227
227
  el.removeEventListener('edit', _onEditFn);
228
228
  };
229
229
  }, []);
230
- return React.createElement(customElements.getName(RuleConditionBuilderWC) ?? 'rule-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
230
+ return React.createElement(customElements.getName(RuleConditionGroupWC) ?? 'rule-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
231
231
  });
232
232
 
233
- export const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuilder(props, ref) {
233
+ export const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref) {
234
234
  const { onDelete, onEdit, children, ...rest } = props;
235
235
  const _innerRef = React.useRef(null);
236
236
  const _onDeleteRef = React.useRef(onDelete);
@@ -249,10 +249,10 @@ export const TemplateConditionBuilder = React.forwardRef(function TemplateCondit
249
249
  el.removeEventListener('edit', _onEditFn);
250
250
  };
251
251
  }, []);
252
- return React.createElement(customElements.getName(TemplateConditionBuilderWC) ?? 'template-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
252
+ return React.createElement(customElements.getName(ParameterBuilderWC) ?? 'parameter-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
253
253
  });
254
254
 
255
- export const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref) {
255
+ export const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuilder(props, ref) {
256
256
  const { onDelete, onEdit, children, ...rest } = props;
257
257
  const _innerRef = React.useRef(null);
258
258
  const _onDeleteRef = React.useRef(onDelete);
@@ -271,7 +271,7 @@ export const ParameterBuilder = React.forwardRef(function ParameterBuilder(props
271
271
  el.removeEventListener('edit', _onEditFn);
272
272
  };
273
273
  }, []);
274
- return React.createElement(customElements.getName(ParameterBuilderWC) ?? 'parameter-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
274
+ return React.createElement(customElements.getName(TemplateConditionBuilderWC) ?? 'template-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
275
275
  });
276
276
 
277
277
  export const TemplateConditionGroup = React.forwardRef(function TemplateConditionGroup(props, ref) {
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.8.2",
4
+ "version": "15.8.3-PTC-0.2",
5
5
  "license": "SEE LICENSE IN license.txt",
6
6
  "workspaces": [
7
7
  "client"
@@ -81,30 +81,30 @@
81
81
  "@commitlint/cli": "^19.2.1",
82
82
  "@commitlint/config-conventional": "^19.1.0",
83
83
  "@commitlint/format": "^19.0.3",
84
- "@genesislcap/design-system-configurator": "15.8.2",
85
- "@genesislcap/eslint-config": "15.8.2",
86
- "@genesislcap/eslint-stylelint-builder": "15.8.2",
87
- "@genesislcap/foundation-testing": "15.8.2",
88
- "@genesislcap/genx": "15.8.2",
89
- "@genesislcap/prettier-config": "15.8.2",
90
- "@genesislcap/stylelint-config": "15.8.2",
91
- "@genesislcap/vite-builder": "15.8.2",
92
- "@genesislcap/webpack-builder": "15.8.2",
84
+ "@genesislcap/design-system-configurator": "15.8.3-PTC-0.2",
85
+ "@genesislcap/eslint-config": "15.8.3-PTC-0.2",
86
+ "@genesislcap/eslint-stylelint-builder": "15.8.3-PTC-0.2",
87
+ "@genesislcap/foundation-testing": "15.8.3-PTC-0.2",
88
+ "@genesislcap/genx": "15.8.3-PTC-0.2",
89
+ "@genesislcap/prettier-config": "15.8.3-PTC-0.2",
90
+ "@genesislcap/stylelint-config": "15.8.3-PTC-0.2",
91
+ "@genesislcap/vite-builder": "15.8.3-PTC-0.2",
92
+ "@genesislcap/webpack-builder": "15.8.3-PTC-0.2",
93
93
  "dayjs": "^1.11.7"
94
94
  },
95
95
  "dependencies": {
96
- "@genesislcap/foundation-comms": "15.8.2",
97
- "@genesislcap/foundation-criteria": "15.8.2",
98
- "@genesislcap/foundation-entity-management": "15.8.2",
99
- "@genesislcap/foundation-forms": "15.8.2",
100
- "@genesislcap/foundation-layout": "15.8.2",
101
- "@genesislcap/foundation-logger": "15.8.2",
102
- "@genesislcap/foundation-notifications": "15.8.2",
103
- "@genesislcap/foundation-ui": "15.8.2",
104
- "@genesislcap/foundation-utils": "15.8.2",
105
- "@genesislcap/rapid-design-system": "15.8.2",
106
- "@genesislcap/rapid-grid-pro": "15.8.2",
107
- "@genesislcap/web-core": "15.8.2",
96
+ "@genesislcap/foundation-comms": "15.8.3-PTC-0.2",
97
+ "@genesislcap/foundation-criteria": "15.8.3-PTC-0.2",
98
+ "@genesislcap/foundation-entity-management": "15.8.3-PTC-0.2",
99
+ "@genesislcap/foundation-forms": "15.8.3-PTC-0.2",
100
+ "@genesislcap/foundation-layout": "15.8.3-PTC-0.2",
101
+ "@genesislcap/foundation-logger": "15.8.3-PTC-0.2",
102
+ "@genesislcap/foundation-notifications": "15.8.3-PTC-0.2",
103
+ "@genesislcap/foundation-ui": "15.8.3-PTC-0.2",
104
+ "@genesislcap/foundation-utils": "15.8.3-PTC-0.2",
105
+ "@genesislcap/rapid-design-system": "15.8.3-PTC-0.2",
106
+ "@genesislcap/rapid-grid-pro": "15.8.3-PTC-0.2",
107
+ "@genesislcap/web-core": "15.8.3-PTC-0.2",
108
108
  "lodash.debounce": "^4.0.8",
109
109
  "rxjs": "^7.5.4"
110
110
  },
@@ -112,5 +112,5 @@
112
112
  "access": "public"
113
113
  },
114
114
  "customElements": "dist/custom-elements.json",
115
- "gitHead": "c62567e4acee7219798579d18a023be909bdd0a0"
115
+ "gitHead": "6381e57d86cc251a7265cefa2fc13df20b4a38fb"
116
116
  }