@genesislcap/pbc-notify-ui 15.96.1 → 15.96.2-GENC-1665.5

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.
@@ -10302,6 +10302,290 @@
10302
10302
  }
10303
10303
  ]
10304
10304
  },
10305
+ {
10306
+ "kind": "javascript-module",
10307
+ "path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.template.ts",
10308
+ "declarations": [
10309
+ {
10310
+ "kind": "variable",
10311
+ "name": "RuleConditionBuilderTemplate",
10312
+ "default": "html<RuleConditionBuilder>`\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 title=${(x) => (x.leftValue ? JSON.parse(x.leftValue).FIELD_NAME : '')}\n class=\"left-value\"\n >\n ${repeat(\n (x) => x.getAllFields(),\n html`\n <rapid-option value=${(x) => JSON.stringify(x)} title=${(x) => x.FIELD_NAME}>\n ${(x) => x.FIELD_NAME}\n </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 title=${(x) => x.logicalOperator}\n >\n ${repeat(\n (x) => x.getLogicalOperators(),\n html`\n <rapid-option value=${(x) => x.operator} title=${(x) => x}>\n ${(x) => x.label}\n </rapid-option>\n `,\n )}\n </rapid-select>\n\n ${when(\n (x) => !nullAndBlankLogicalOperatorValues.includes(LogicalOperator[x.logicalOperator]),\n html`\n <rapid-select\n class=\"right-criteria\"\n :value=${sync((x) => x.rightCriteria)}\n title=${(x) => x.rightCriteria}\n >\n ${repeat(\n (x) => x.getRightCriteria(),\n html`\n <rapid-option value=${(x) => x} title=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n\n ${when(\n (x) => x.rightCriteria === RightCriteria.VALUE,\n html`\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 ${whenElse(\n (x) => JSON.parse(x.leftValue ?? '{}').FIELD_TYPE === FieldTypeEnum.DATE,\n html`\n <rapid-text-field\n class=\"right-criteria-text\"\n :value=${sync((x) => x.rightValueText)}\n type=\"date\"\n ></rapid-text-field>\n `,\n html`\n ${whenElse(\n (x) =>\n JSON.parse(x.leftValue ?? '{}').FIELD_TYPE === FieldTypeEnum.DATETIME,\n html`\n <rapid-text-field\n class=\"right-criteria-text\"\n :value=${sync((x) => x.rightValueText)}\n type=\"datetime-local\"\n ></rapid-text-field>\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 `,\n )}\n `,\n )}\n ${when(\n (x) => x.rightCriteria === RightCriteria.FIELD,\n html`\n <rapid-select\n class=\"right-criteria-select\"\n :value=${sync((x) => x.rightValueSelect)}\n title=${(x) => x.rightValueSelect}\n >\n ${repeat(\n (x) => x.getApplicableFields(),\n html`\n <rapid-option value=${(x) => x.FIELD_NAME} title=${(x) => x.FIELD_NAME}>\n ${(x) => x.FIELD_NAME}\n </rapid-option>\n `,\n )}\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`"
10313
+ }
10314
+ ],
10315
+ "exports": [
10316
+ {
10317
+ "kind": "js",
10318
+ "name": "RuleConditionBuilderTemplate",
10319
+ "declaration": {
10320
+ "name": "RuleConditionBuilderTemplate",
10321
+ "module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.template.ts"
10322
+ }
10323
+ }
10324
+ ]
10325
+ },
10326
+ {
10327
+ "kind": "javascript-module",
10328
+ "path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.ts",
10329
+ "declarations": [
10330
+ {
10331
+ "kind": "class",
10332
+ "description": "Condition builder for notification rule criteria.",
10333
+ "name": "RuleConditionBuilder",
10334
+ "members": [
10335
+ {
10336
+ "kind": "field",
10337
+ "name": "condition",
10338
+ "type": {
10339
+ "text": "ConditionBuilderEntity"
10340
+ }
10341
+ },
10342
+ {
10343
+ "kind": "field",
10344
+ "name": "fields",
10345
+ "type": {
10346
+ "text": "Field[]"
10347
+ },
10348
+ "default": "[]"
10349
+ },
10350
+ {
10351
+ "kind": "field",
10352
+ "name": "isFirst",
10353
+ "type": {
10354
+ "text": "boolean"
10355
+ },
10356
+ "default": "false"
10357
+ },
10358
+ {
10359
+ "kind": "field",
10360
+ "name": "joinOperator",
10361
+ "type": {
10362
+ "text": "string"
10363
+ }
10364
+ },
10365
+ {
10366
+ "kind": "field",
10367
+ "name": "leftValue",
10368
+ "type": {
10369
+ "text": "string"
10370
+ },
10371
+ "default": "null"
10372
+ },
10373
+ {
10374
+ "kind": "field",
10375
+ "name": "leftValueItems",
10376
+ "type": {
10377
+ "text": "Array<any>"
10378
+ },
10379
+ "default": "[]"
10380
+ },
10381
+ {
10382
+ "kind": "field",
10383
+ "name": "logicalOperator",
10384
+ "type": {
10385
+ "text": "string"
10386
+ },
10387
+ "default": "null"
10388
+ },
10389
+ {
10390
+ "kind": "field",
10391
+ "name": "rightCriteria",
10392
+ "type": {
10393
+ "text": "string"
10394
+ }
10395
+ },
10396
+ {
10397
+ "kind": "field",
10398
+ "name": "rightValueText",
10399
+ "type": {
10400
+ "text": "string"
10401
+ },
10402
+ "default": "null"
10403
+ },
10404
+ {
10405
+ "kind": "field",
10406
+ "name": "rightValueSelect",
10407
+ "type": {
10408
+ "text": "string"
10409
+ },
10410
+ "default": "null"
10411
+ },
10412
+ {
10413
+ "kind": "field",
10414
+ "name": "rightValueMultiSelect",
10415
+ "type": {
10416
+ "text": "string[]"
10417
+ },
10418
+ "default": "[]"
10419
+ },
10420
+ {
10421
+ "kind": "method",
10422
+ "name": "deleteCondition"
10423
+ },
10424
+ {
10425
+ "kind": "method",
10426
+ "name": "conditionChanged"
10427
+ },
10428
+ {
10429
+ "kind": "method",
10430
+ "name": "joinOperatorChanged"
10431
+ },
10432
+ {
10433
+ "kind": "method",
10434
+ "name": "fieldsChanged"
10435
+ },
10436
+ {
10437
+ "kind": "method",
10438
+ "name": "assignLeftValue",
10439
+ "privacy": "private"
10440
+ },
10441
+ {
10442
+ "kind": "method",
10443
+ "name": "assignRightValue"
10444
+ },
10445
+ {
10446
+ "kind": "method",
10447
+ "name": "getRightCriteria",
10448
+ "return": {
10449
+ "type": {
10450
+ "text": "Array<any>"
10451
+ }
10452
+ }
10453
+ },
10454
+ {
10455
+ "kind": "method",
10456
+ "name": "getLogicalOperators",
10457
+ "return": {
10458
+ "type": {
10459
+ "text": "Array<any>"
10460
+ }
10461
+ }
10462
+ },
10463
+ {
10464
+ "kind": "method",
10465
+ "name": "leftValueChanged"
10466
+ },
10467
+ {
10468
+ "kind": "method",
10469
+ "name": "logicalOperatorChanged"
10470
+ },
10471
+ {
10472
+ "kind": "method",
10473
+ "name": "rightCriteriaChanged"
10474
+ },
10475
+ {
10476
+ "kind": "method",
10477
+ "name": "clearRightValueText",
10478
+ "privacy": "private"
10479
+ },
10480
+ {
10481
+ "kind": "method",
10482
+ "name": "clearRightValueSelect",
10483
+ "privacy": "private"
10484
+ },
10485
+ {
10486
+ "kind": "method",
10487
+ "name": "rightValueTextChanged"
10488
+ },
10489
+ {
10490
+ "kind": "method",
10491
+ "name": "rightValueSelectChanged"
10492
+ },
10493
+ {
10494
+ "kind": "method",
10495
+ "name": "rightValueMultiSelectChanged"
10496
+ },
10497
+ {
10498
+ "kind": "method",
10499
+ "name": "getEnumValues",
10500
+ "return": {
10501
+ "type": {
10502
+ "text": "string[]"
10503
+ }
10504
+ }
10505
+ },
10506
+ {
10507
+ "kind": "method",
10508
+ "name": "convertDateTime",
10509
+ "parameters": [
10510
+ {
10511
+ "name": "dateTimeStr",
10512
+ "type": {
10513
+ "text": "string"
10514
+ }
10515
+ }
10516
+ ]
10517
+ },
10518
+ {
10519
+ "kind": "method",
10520
+ "name": "convertLongForDatePicker",
10521
+ "parameters": [
10522
+ {
10523
+ "name": "value",
10524
+ "type": {
10525
+ "text": "number"
10526
+ }
10527
+ },
10528
+ {
10529
+ "name": "time",
10530
+ "default": "false",
10531
+ "type": {
10532
+ "text": "boolean"
10533
+ }
10534
+ }
10535
+ ]
10536
+ },
10537
+ {
10538
+ "kind": "method",
10539
+ "name": "getAllFields"
10540
+ },
10541
+ {
10542
+ "kind": "method",
10543
+ "name": "getApplicableFields"
10544
+ }
10545
+ ],
10546
+ "events": [
10547
+ {
10548
+ "description": "Fired when a condition is deleted. detail: `ConditionBuilderEntity`",
10549
+ "name": "delete"
10550
+ },
10551
+ {
10552
+ "description": "Fired when a condition is edited. detail: `ConditionBuilderEntity`",
10553
+ "name": "edit"
10554
+ }
10555
+ ],
10556
+ "superclass": {
10557
+ "name": "GenesisElement",
10558
+ "package": "@genesislcap/web-core"
10559
+ },
10560
+ "tagName": "rule-condition-builder",
10561
+ "customElement": true
10562
+ }
10563
+ ],
10564
+ "exports": [
10565
+ {
10566
+ "kind": "js",
10567
+ "name": "RuleConditionBuilder",
10568
+ "declaration": {
10569
+ "name": "RuleConditionBuilder",
10570
+ "module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.ts"
10571
+ }
10572
+ },
10573
+ {
10574
+ "kind": "custom-element-definition",
10575
+ "name": "rule-condition-builder",
10576
+ "declaration": {
10577
+ "name": "RuleConditionBuilder",
10578
+ "module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.ts"
10579
+ }
10580
+ }
10581
+ ]
10582
+ },
10583
+ {
10584
+ "kind": "javascript-module",
10585
+ "path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.types.ts",
10586
+ "declarations": [],
10587
+ "exports": []
10588
+ },
10305
10589
  {
10306
10590
  "kind": "javascript-module",
10307
10591
  "path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts",
@@ -10454,288 +10738,218 @@
10454
10738
  },
10455
10739
  {
10456
10740
  "kind": "javascript-module",
10457
- "path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.template.ts",
10741
+ "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts",
10458
10742
  "declarations": [
10459
10743
  {
10460
10744
  "kind": "variable",
10461
- "name": "RuleConditionBuilderTemplate",
10462
- "default": "html<RuleConditionBuilder>`\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 title=${(x) => (x.leftValue ? JSON.parse(x.leftValue).FIELD_NAME : '')}\n class=\"left-value\"\n >\n ${repeat(\n (x) => x.getAllFields(),\n html`\n <rapid-option value=${(x) => JSON.stringify(x)} title=${(x) => x.FIELD_NAME}>\n ${(x) => x.FIELD_NAME}\n </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 title=${(x) => x.logicalOperator}\n >\n ${repeat(\n (x) => x.getLogicalOperators(),\n html`\n <rapid-option value=${(x) => x.operator} title=${(x) => x}>\n ${(x) => x.label}\n </rapid-option>\n `,\n )}\n </rapid-select>\n\n ${when(\n (x) => !nullAndBlankLogicalOperatorValues.includes(LogicalOperator[x.logicalOperator]),\n html`\n <rapid-select\n class=\"right-criteria\"\n :value=${sync((x) => x.rightCriteria)}\n title=${(x) => x.rightCriteria}\n >\n ${repeat(\n (x) => x.getRightCriteria(),\n html`\n <rapid-option value=${(x) => x} title=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n\n ${when(\n (x) => x.rightCriteria === RightCriteria.VALUE,\n html`\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 ${whenElse(\n (x) => JSON.parse(x.leftValue ?? '{}').FIELD_TYPE === FieldTypeEnum.DATE,\n html`\n <rapid-text-field\n class=\"right-criteria-text\"\n :value=${sync((x) => x.rightValueText)}\n type=\"date\"\n ></rapid-text-field>\n `,\n html`\n ${whenElse(\n (x) =>\n JSON.parse(x.leftValue ?? '{}').FIELD_TYPE === FieldTypeEnum.DATETIME,\n html`\n <rapid-text-field\n class=\"right-criteria-text\"\n :value=${sync((x) => x.rightValueText)}\n type=\"datetime-local\"\n ></rapid-text-field>\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 `,\n )}\n `,\n )}\n ${when(\n (x) => x.rightCriteria === RightCriteria.FIELD,\n html`\n <rapid-select\n class=\"right-criteria-select\"\n :value=${sync((x) => x.rightValueSelect)}\n title=${(x) => x.rightValueSelect}\n >\n ${repeat(\n (x) => x.getApplicableFields(),\n html`\n <rapid-option value=${(x) => x.FIELD_NAME} title=${(x) => x.FIELD_NAME}>\n ${(x) => x.FIELD_NAME}\n </rapid-option>\n `,\n )}\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`"
10745
+ "name": "ParameterBuilderStyles",
10746
+ "default": "css`\n .parameter-builder {\n display: flex;\n gap: calc(var(--design-unit) * 2px);\n margin-bottom: calc(var(--design-unit) * 2px);\n }\n\n rapid-button {\n margin: 0;\n }\n\n .delete {\n margin: 0;\n display: flex;\n justify-content: center;\n height: calc(var(--design-unit) * 9px);\n }\n\n .delete:hover {\n background-color: color-mix(in srgb, var(--neutral-foreground-rest), transparent 89%);\n }\n\n rapid-text-field {\n width: 100%;\n margin-bottom: 0;\n }\n\n rapid-text-field::part(root) {\n height: calc(var(--design-unit) * 9px);\n }\n\n rapid-select {\n min-width: auto;\n }\n\n rapid-select.param-type::part(control) {\n width: 115px;\n }\n\n rapid-select.param-source-type::part(control) {\n width: 160px;\n }\n\n rapid-select.param-source::part(control) {\n width: ${PARAM_SOURCE_WIDTH}px;\n }\n\n rapid-text-field.param-source::part(root) {\n width: calc(${PARAM_SOURCE_WIDTH}px + 2px);\n }\n\n rapid-select::part(listbox) {\n max-height: 160px;\n }\n`"
10463
10747
  }
10464
10748
  ],
10465
10749
  "exports": [
10466
10750
  {
10467
10751
  "kind": "js",
10468
- "name": "RuleConditionBuilderTemplate",
10752
+ "name": "ParameterBuilderStyles",
10469
10753
  "declaration": {
10470
- "name": "RuleConditionBuilderTemplate",
10471
- "module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.template.ts"
10754
+ "name": "ParameterBuilderStyles",
10755
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts"
10472
10756
  }
10473
10757
  }
10474
10758
  ]
10475
10759
  },
10476
10760
  {
10477
10761
  "kind": "javascript-module",
10478
- "path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.ts",
10762
+ "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts",
10763
+ "declarations": [
10764
+ {
10765
+ "kind": "variable",
10766
+ "name": "ParameterBuilderTemplate",
10767
+ "default": "html<ParameterBuilder>`\n <div class=\"parameter-builder\">\n <rapid-text-field\n id=\"param-name\"\n placeholder=\"Name\"\n :value=${sync((x) => x.name)}\n ></rapid-text-field>\n\n <rapid-text-field\n id=\"param-label\"\n placeholder=\"Label\"\n :value=${sync((x) => x.label)}\n ></rapid-text-field>\n\n <rapid-select\n id=\"param-source-type\"\n :value=${sync((x) => x.sourceType)}\n class=\"param-source-type\"\n >\n ${repeat(\n (x) => ALL_PARAM_SOURCE_TYPES,\n html`\n <rapid-option value=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n\n ${when(\n (x) => x.sourceType === PARAM_SOURCE_TYPE_USER_TEXT,\n html<ParameterBuilder>`\n <rapid-text-field class=\"param-source\" disabled></rapid-text-field>\n `,\n )}\n ${when(\n (x) => x.sourceType === PARAM_SOURCE_TYPE_REQ_REP,\n html<ParameterBuilder>`\n <rapid-select\n ${ref('sourceSelect')}\n id=\"param-source\"\n :value=${sync((x) => x.sourceSelected)}\n class=\"param-source\"\n ?disabled=${(x) => x.sourceType !== PARAM_SOURCE_TYPE_REQ_REP}\n >\n ${repeat(\n (x) => x.reqRepItems,\n html`\n <rapid-option value=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n `,\n )}\n ${when(\n (x) => x.sourceType === PARAM_SOURCE_TYPE_DEFINED_GROUP,\n html<ParameterBuilder>`\n <rapid-text-field\n ${ref('sourceTextField')}\n class=\"param-source\"\n placeholder=\"item1,item2,item3\"\n :value=${sync((x) => x.sourceTyped)}\n ></rapid-text-field>\n `,\n )}\n\n <rapid-select id=\"param-type\" :value=${sync((x) => x.type)} class=\"param-type\">\n ${repeat(\n (x) => ALL_PARAM_TYPES,\n html`\n <rapid-option value=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n\n <rapid-button appearance=\"icon\" class=\"delete\" @click=${(x) => x.deleteParameter()}>\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`"
10768
+ }
10769
+ ],
10770
+ "exports": [
10771
+ {
10772
+ "kind": "js",
10773
+ "name": "ParameterBuilderTemplate",
10774
+ "declaration": {
10775
+ "name": "ParameterBuilderTemplate",
10776
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts"
10777
+ }
10778
+ }
10779
+ ]
10780
+ },
10781
+ {
10782
+ "kind": "javascript-module",
10783
+ "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts",
10479
10784
  "declarations": [
10480
10785
  {
10481
10786
  "kind": "class",
10482
- "description": "Condition builder for notification rule criteria.",
10483
- "name": "RuleConditionBuilder",
10787
+ "description": "Parameter builder for notification templates.",
10788
+ "name": "ParameterBuilder",
10484
10789
  "members": [
10485
10790
  {
10486
10791
  "kind": "field",
10487
- "name": "condition",
10792
+ "name": "parameter",
10488
10793
  "type": {
10489
- "text": "ConditionBuilderEntity"
10794
+ "text": "ParameterBuilderEntity"
10490
10795
  }
10491
10796
  },
10492
10797
  {
10493
10798
  "kind": "field",
10494
- "name": "fields",
10495
- "type": {
10496
- "text": "Field[]"
10497
- },
10498
- "default": "[]"
10499
- },
10500
- {
10501
- "kind": "field",
10502
- "name": "isFirst",
10799
+ "name": "name",
10503
10800
  "type": {
10504
- "text": "boolean"
10505
- },
10506
- "default": "false"
10801
+ "text": "string"
10802
+ }
10507
10803
  },
10508
10804
  {
10509
10805
  "kind": "field",
10510
- "name": "joinOperator",
10806
+ "name": "label",
10511
10807
  "type": {
10512
10808
  "text": "string"
10513
10809
  }
10514
10810
  },
10515
10811
  {
10516
10812
  "kind": "field",
10517
- "name": "leftValue",
10813
+ "name": "type",
10518
10814
  "type": {
10519
10815
  "text": "string"
10520
- },
10521
- "default": "null"
10816
+ }
10522
10817
  },
10523
10818
  {
10524
10819
  "kind": "field",
10525
- "name": "leftValueItems",
10820
+ "name": "sourceType",
10526
10821
  "type": {
10527
- "text": "Array<any>"
10528
- },
10529
- "default": "[]"
10822
+ "text": "string"
10823
+ }
10530
10824
  },
10531
10825
  {
10532
10826
  "kind": "field",
10533
- "name": "logicalOperator",
10827
+ "name": "sourceSelected",
10534
10828
  "type": {
10535
10829
  "text": "string"
10536
- },
10537
- "default": "null"
10830
+ }
10538
10831
  },
10539
10832
  {
10540
10833
  "kind": "field",
10541
- "name": "rightCriteria",
10834
+ "name": "sourceTyped",
10542
10835
  "type": {
10543
10836
  "text": "string"
10544
10837
  }
10545
10838
  },
10546
10839
  {
10547
10840
  "kind": "field",
10548
- "name": "rightValueText",
10841
+ "name": "sourceTextField",
10549
10842
  "type": {
10550
- "text": "string"
10551
- },
10552
- "default": "null"
10843
+ "text": "TextField"
10844
+ }
10553
10845
  },
10554
10846
  {
10555
10847
  "kind": "field",
10556
- "name": "rightValueSelect",
10848
+ "name": "sourceSelect",
10557
10849
  "type": {
10558
- "text": "string"
10559
- },
10560
- "default": "null"
10850
+ "text": "Select"
10851
+ }
10561
10852
  },
10562
10853
  {
10563
10854
  "kind": "field",
10564
- "name": "rightValueMultiSelect",
10855
+ "name": "reqRepItems",
10565
10856
  "type": {
10566
- "text": "string[]"
10857
+ "text": "array"
10567
10858
  },
10568
- "default": "[]"
10569
- },
10570
- {
10571
- "kind": "method",
10572
- "name": "deleteCondition"
10573
- },
10574
- {
10575
- "kind": "method",
10576
- "name": "conditionChanged"
10577
- },
10578
- {
10579
- "kind": "method",
10580
- "name": "joinOperatorChanged"
10581
- },
10582
- {
10583
- "kind": "method",
10584
- "name": "fieldsChanged"
10585
- },
10586
- {
10587
- "kind": "method",
10588
- "name": "assignLeftValue",
10589
- "privacy": "private"
10590
- },
10591
- {
10592
- "kind": "method",
10593
- "name": "assignRightValue"
10594
- },
10595
- {
10596
- "kind": "method",
10597
- "name": "getRightCriteria",
10598
- "return": {
10599
- "type": {
10600
- "text": "Array<any>"
10601
- }
10602
- }
10603
- },
10604
- {
10605
- "kind": "method",
10606
- "name": "getLogicalOperators",
10607
- "return": {
10608
- "type": {
10609
- "text": "Array<any>"
10610
- }
10611
- }
10612
- },
10613
- {
10614
- "kind": "method",
10615
- "name": "leftValueChanged"
10616
- },
10617
- {
10618
- "kind": "method",
10619
- "name": "logicalOperatorChanged"
10859
+ "default": "['REQUEST_1', 'REQUEST_2', 'REQUEST_3']"
10620
10860
  },
10621
10861
  {
10622
10862
  "kind": "method",
10623
- "name": "rightCriteriaChanged"
10863
+ "name": "deleteParameter"
10624
10864
  },
10625
10865
  {
10626
10866
  "kind": "method",
10627
- "name": "clearRightValueText",
10628
- "privacy": "private"
10867
+ "name": "parameterChanged"
10629
10868
  },
10630
10869
  {
10631
10870
  "kind": "method",
10632
- "name": "clearRightValueSelect",
10633
- "privacy": "private"
10871
+ "name": "nameChanged"
10634
10872
  },
10635
10873
  {
10636
10874
  "kind": "method",
10637
- "name": "rightValueTextChanged"
10875
+ "name": "labelChanged"
10638
10876
  },
10639
10877
  {
10640
10878
  "kind": "method",
10641
- "name": "rightValueSelectChanged"
10879
+ "name": "typeChanged"
10642
10880
  },
10643
10881
  {
10644
10882
  "kind": "method",
10645
- "name": "rightValueMultiSelectChanged"
10883
+ "name": "sourceTypeChanged"
10646
10884
  },
10647
10885
  {
10648
10886
  "kind": "method",
10649
- "name": "getEnumValues",
10650
- "return": {
10651
- "type": {
10652
- "text": "string[]"
10653
- }
10654
- }
10887
+ "name": "sourceSelectedChanged"
10655
10888
  },
10656
10889
  {
10657
10890
  "kind": "method",
10658
- "name": "convertDateTime",
10659
- "parameters": [
10660
- {
10661
- "name": "dateTimeStr",
10662
- "type": {
10663
- "text": "string"
10664
- }
10665
- }
10666
- ]
10891
+ "name": "sourceTypedChanged"
10667
10892
  },
10668
10893
  {
10669
10894
  "kind": "method",
10670
- "name": "convertLongForDatePicker",
10895
+ "name": "genericChanged",
10896
+ "privacy": "private",
10671
10897
  "parameters": [
10672
10898
  {
10673
- "name": "value",
10674
- "type": {
10675
- "text": "number"
10676
- }
10899
+ "name": "parameterAttribute"
10677
10900
  },
10678
10901
  {
10679
- "name": "time",
10680
- "default": "false",
10681
- "type": {
10682
- "text": "boolean"
10683
- }
10902
+ "name": "value"
10684
10903
  }
10685
10904
  ]
10686
- },
10687
- {
10688
- "kind": "method",
10689
- "name": "getAllFields"
10690
- },
10691
- {
10692
- "kind": "method",
10693
- "name": "getApplicableFields"
10694
10905
  }
10695
10906
  ],
10696
10907
  "events": [
10697
10908
  {
10698
- "description": "Fired when a condition is deleted. detail: `ConditionBuilderEntity`",
10909
+ "description": "Fired when a parameter is deleted. detail: `ParameterBuilderEntity`",
10699
10910
  "name": "delete"
10700
10911
  },
10701
10912
  {
10702
- "description": "Fired when a condition is edited. detail: `ConditionBuilderEntity`",
10913
+ "description": "Fired when a parameter is edited. detail: `ParameterBuilderEntity`",
10703
10914
  "name": "edit"
10704
10915
  }
10705
10916
  ],
10917
+ "attributes": [
10918
+ {
10919
+ "name": "parameter",
10920
+ "type": {
10921
+ "text": "ParameterBuilderEntity"
10922
+ },
10923
+ "fieldName": "parameter"
10924
+ }
10925
+ ],
10706
10926
  "superclass": {
10707
10927
  "name": "GenesisElement",
10708
10928
  "package": "@genesislcap/web-core"
10709
10929
  },
10710
- "tagName": "rule-condition-builder",
10930
+ "tagName": "parameter-builder",
10711
10931
  "customElement": true
10712
10932
  }
10713
10933
  ],
10714
10934
  "exports": [
10715
10935
  {
10716
10936
  "kind": "js",
10717
- "name": "RuleConditionBuilder",
10937
+ "name": "ParameterBuilder",
10718
10938
  "declaration": {
10719
- "name": "RuleConditionBuilder",
10720
- "module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.ts"
10939
+ "name": "ParameterBuilder",
10940
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
10721
10941
  }
10722
10942
  },
10723
10943
  {
10724
10944
  "kind": "custom-element-definition",
10725
- "name": "rule-condition-builder",
10945
+ "name": "parameter-builder",
10726
10946
  "declaration": {
10727
- "name": "RuleConditionBuilder",
10728
- "module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.ts"
10947
+ "name": "ParameterBuilder",
10948
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
10729
10949
  }
10730
10950
  }
10731
10951
  ]
10732
10952
  },
10733
- {
10734
- "kind": "javascript-module",
10735
- "path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.types.ts",
10736
- "declarations": [],
10737
- "exports": []
10738
- },
10739
10953
  {
10740
10954
  "kind": "javascript-module",
10741
10955
  "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.template.ts",
@@ -11177,220 +11391,6 @@
11177
11391
  }
11178
11392
  }
11179
11393
  ]
11180
- },
11181
- {
11182
- "kind": "javascript-module",
11183
- "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts",
11184
- "declarations": [
11185
- {
11186
- "kind": "variable",
11187
- "name": "ParameterBuilderStyles",
11188
- "default": "css`\n .parameter-builder {\n display: flex;\n gap: calc(var(--design-unit) * 2px);\n margin-bottom: calc(var(--design-unit) * 2px);\n }\n\n rapid-button {\n margin: 0;\n }\n\n .delete {\n margin: 0;\n display: flex;\n justify-content: center;\n height: calc(var(--design-unit) * 9px);\n }\n\n .delete:hover {\n background-color: color-mix(in srgb, var(--neutral-foreground-rest), transparent 89%);\n }\n\n rapid-text-field {\n width: 100%;\n margin-bottom: 0;\n }\n\n rapid-text-field::part(root) {\n height: calc(var(--design-unit) * 9px);\n }\n\n rapid-select {\n min-width: auto;\n }\n\n rapid-select.param-type::part(control) {\n width: 115px;\n }\n\n rapid-select.param-source-type::part(control) {\n width: 160px;\n }\n\n rapid-select.param-source::part(control) {\n width: ${PARAM_SOURCE_WIDTH}px;\n }\n\n rapid-text-field.param-source::part(root) {\n width: calc(${PARAM_SOURCE_WIDTH}px + 2px);\n }\n\n rapid-select::part(listbox) {\n max-height: 160px;\n }\n`"
11189
- }
11190
- ],
11191
- "exports": [
11192
- {
11193
- "kind": "js",
11194
- "name": "ParameterBuilderStyles",
11195
- "declaration": {
11196
- "name": "ParameterBuilderStyles",
11197
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts"
11198
- }
11199
- }
11200
- ]
11201
- },
11202
- {
11203
- "kind": "javascript-module",
11204
- "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts",
11205
- "declarations": [
11206
- {
11207
- "kind": "variable",
11208
- "name": "ParameterBuilderTemplate",
11209
- "default": "html<ParameterBuilder>`\n <div class=\"parameter-builder\">\n <rapid-text-field\n id=\"param-name\"\n placeholder=\"Name\"\n :value=${sync((x) => x.name)}\n ></rapid-text-field>\n\n <rapid-text-field\n id=\"param-label\"\n placeholder=\"Label\"\n :value=${sync((x) => x.label)}\n ></rapid-text-field>\n\n <rapid-select\n id=\"param-source-type\"\n :value=${sync((x) => x.sourceType)}\n class=\"param-source-type\"\n >\n ${repeat(\n (x) => ALL_PARAM_SOURCE_TYPES,\n html`\n <rapid-option value=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n\n ${when(\n (x) => x.sourceType === PARAM_SOURCE_TYPE_USER_TEXT,\n html<ParameterBuilder>`\n <rapid-text-field class=\"param-source\" disabled></rapid-text-field>\n `,\n )}\n ${when(\n (x) => x.sourceType === PARAM_SOURCE_TYPE_REQ_REP,\n html<ParameterBuilder>`\n <rapid-select\n ${ref('sourceSelect')}\n id=\"param-source\"\n :value=${sync((x) => x.sourceSelected)}\n class=\"param-source\"\n ?disabled=${(x) => x.sourceType !== PARAM_SOURCE_TYPE_REQ_REP}\n >\n ${repeat(\n (x) => x.reqRepItems,\n html`\n <rapid-option value=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n `,\n )}\n ${when(\n (x) => x.sourceType === PARAM_SOURCE_TYPE_DEFINED_GROUP,\n html<ParameterBuilder>`\n <rapid-text-field\n ${ref('sourceTextField')}\n class=\"param-source\"\n placeholder=\"item1,item2,item3\"\n :value=${sync((x) => x.sourceTyped)}\n ></rapid-text-field>\n `,\n )}\n\n <rapid-select id=\"param-type\" :value=${sync((x) => x.type)} class=\"param-type\">\n ${repeat(\n (x) => ALL_PARAM_TYPES,\n html`\n <rapid-option value=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n\n <rapid-button appearance=\"icon\" class=\"delete\" @click=${(x) => x.deleteParameter()}>\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`"
11210
- }
11211
- ],
11212
- "exports": [
11213
- {
11214
- "kind": "js",
11215
- "name": "ParameterBuilderTemplate",
11216
- "declaration": {
11217
- "name": "ParameterBuilderTemplate",
11218
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts"
11219
- }
11220
- }
11221
- ]
11222
- },
11223
- {
11224
- "kind": "javascript-module",
11225
- "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts",
11226
- "declarations": [
11227
- {
11228
- "kind": "class",
11229
- "description": "Parameter builder for notification templates.",
11230
- "name": "ParameterBuilder",
11231
- "members": [
11232
- {
11233
- "kind": "field",
11234
- "name": "parameter",
11235
- "type": {
11236
- "text": "ParameterBuilderEntity"
11237
- }
11238
- },
11239
- {
11240
- "kind": "field",
11241
- "name": "name",
11242
- "type": {
11243
- "text": "string"
11244
- }
11245
- },
11246
- {
11247
- "kind": "field",
11248
- "name": "label",
11249
- "type": {
11250
- "text": "string"
11251
- }
11252
- },
11253
- {
11254
- "kind": "field",
11255
- "name": "type",
11256
- "type": {
11257
- "text": "string"
11258
- }
11259
- },
11260
- {
11261
- "kind": "field",
11262
- "name": "sourceType",
11263
- "type": {
11264
- "text": "string"
11265
- }
11266
- },
11267
- {
11268
- "kind": "field",
11269
- "name": "sourceSelected",
11270
- "type": {
11271
- "text": "string"
11272
- }
11273
- },
11274
- {
11275
- "kind": "field",
11276
- "name": "sourceTyped",
11277
- "type": {
11278
- "text": "string"
11279
- }
11280
- },
11281
- {
11282
- "kind": "field",
11283
- "name": "sourceTextField",
11284
- "type": {
11285
- "text": "TextField"
11286
- }
11287
- },
11288
- {
11289
- "kind": "field",
11290
- "name": "sourceSelect",
11291
- "type": {
11292
- "text": "Select"
11293
- }
11294
- },
11295
- {
11296
- "kind": "field",
11297
- "name": "reqRepItems",
11298
- "type": {
11299
- "text": "array"
11300
- },
11301
- "default": "['REQUEST_1', 'REQUEST_2', 'REQUEST_3']"
11302
- },
11303
- {
11304
- "kind": "method",
11305
- "name": "deleteParameter"
11306
- },
11307
- {
11308
- "kind": "method",
11309
- "name": "parameterChanged"
11310
- },
11311
- {
11312
- "kind": "method",
11313
- "name": "nameChanged"
11314
- },
11315
- {
11316
- "kind": "method",
11317
- "name": "labelChanged"
11318
- },
11319
- {
11320
- "kind": "method",
11321
- "name": "typeChanged"
11322
- },
11323
- {
11324
- "kind": "method",
11325
- "name": "sourceTypeChanged"
11326
- },
11327
- {
11328
- "kind": "method",
11329
- "name": "sourceSelectedChanged"
11330
- },
11331
- {
11332
- "kind": "method",
11333
- "name": "sourceTypedChanged"
11334
- },
11335
- {
11336
- "kind": "method",
11337
- "name": "genericChanged",
11338
- "privacy": "private",
11339
- "parameters": [
11340
- {
11341
- "name": "parameterAttribute"
11342
- },
11343
- {
11344
- "name": "value"
11345
- }
11346
- ]
11347
- }
11348
- ],
11349
- "events": [
11350
- {
11351
- "description": "Fired when a parameter is deleted. detail: `ParameterBuilderEntity`",
11352
- "name": "delete"
11353
- },
11354
- {
11355
- "description": "Fired when a parameter is edited. detail: `ParameterBuilderEntity`",
11356
- "name": "edit"
11357
- }
11358
- ],
11359
- "attributes": [
11360
- {
11361
- "name": "parameter",
11362
- "type": {
11363
- "text": "ParameterBuilderEntity"
11364
- },
11365
- "fieldName": "parameter"
11366
- }
11367
- ],
11368
- "superclass": {
11369
- "name": "GenesisElement",
11370
- "package": "@genesislcap/web-core"
11371
- },
11372
- "tagName": "parameter-builder",
11373
- "customElement": true
11374
- }
11375
- ],
11376
- "exports": [
11377
- {
11378
- "kind": "js",
11379
- "name": "ParameterBuilder",
11380
- "declaration": {
11381
- "name": "ParameterBuilder",
11382
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
11383
- }
11384
- },
11385
- {
11386
- "kind": "custom-element-definition",
11387
- "name": "parameter-builder",
11388
- "declaration": {
11389
- "name": "ParameterBuilder",
11390
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
11391
- }
11392
- }
11393
- ]
11394
11394
  }
11395
11395
  ]
11396
11396
  }
@@ -255,6 +255,17 @@ export declare const TemplateDialog: React.ForwardRefExoticComponent<
255
255
  >;
256
256
  export type TemplateDialogRef = TemplateDialogWC;
257
257
 
258
+ export declare const RuleConditionBuilder: React.ForwardRefExoticComponent<
259
+ React.PropsWithChildren<
260
+ Omit<PublicOf<RuleConditionBuilderWC>, 'children' | 'style'> &
261
+ HTMLWCProps & {
262
+ onDelete?: (event: CustomEvent<ConditionBuilderEntity>) => void;
263
+ onEdit?: (event: CustomEvent<ConditionBuilderEntity>) => void;
264
+ }
265
+ > & React.RefAttributes<RuleConditionBuilderWC>
266
+ >;
267
+ export type RuleConditionBuilderRef = RuleConditionBuilderWC;
268
+
258
269
  export declare const RuleConditionGroup: React.ForwardRefExoticComponent<
259
270
  React.PropsWithChildren<
260
271
  Omit<PublicOf<RuleConditionGroupWC>, 'children' | 'style'> &
@@ -266,16 +277,16 @@ export declare const RuleConditionGroup: React.ForwardRefExoticComponent<
266
277
  >;
267
278
  export type RuleConditionGroupRef = RuleConditionGroupWC;
268
279
 
269
- export declare const RuleConditionBuilder: React.ForwardRefExoticComponent<
280
+ export declare const ParameterBuilder: React.ForwardRefExoticComponent<
270
281
  React.PropsWithChildren<
271
- Omit<PublicOf<RuleConditionBuilderWC>, 'children' | 'style'> &
282
+ Omit<PublicOf<ParameterBuilderWC>, 'children' | 'style'> &
272
283
  HTMLWCProps & {
273
- onDelete?: (event: CustomEvent<ConditionBuilderEntity>) => void;
274
- onEdit?: (event: CustomEvent<ConditionBuilderEntity>) => void;
284
+ onDelete?: (event: CustomEvent<ParameterBuilderEntity>) => void;
285
+ onEdit?: (event: CustomEvent<ParameterBuilderEntity>) => void;
275
286
  }
276
- > & React.RefAttributes<RuleConditionBuilderWC>
287
+ > & React.RefAttributes<ParameterBuilderWC>
277
288
  >;
278
- export type RuleConditionBuilderRef = RuleConditionBuilderWC;
289
+ export type ParameterBuilderRef = ParameterBuilderWC;
279
290
 
280
291
  export declare const TemplateConditionBuilder: React.ForwardRefExoticComponent<
281
292
  React.PropsWithChildren<
@@ -299,15 +310,4 @@ export declare const TemplateConditionGroup: React.ForwardRefExoticComponent<
299
310
  >;
300
311
  export type TemplateConditionGroupRef = TemplateConditionGroupWC;
301
312
 
302
- export declare const ParameterBuilder: React.ForwardRefExoticComponent<
303
- React.PropsWithChildren<
304
- Omit<PublicOf<ParameterBuilderWC>, 'children' | 'style'> &
305
- HTMLWCProps & {
306
- onDelete?: (event: CustomEvent<ParameterBuilderEntity>) => void;
307
- onEdit?: (event: CustomEvent<ParameterBuilderEntity>) => void;
308
- }
309
- > & React.RefAttributes<ParameterBuilderWC>
310
- >;
311
- export type ParameterBuilderRef = ParameterBuilderWC;
312
-
313
313
  export {};
package/dist/react.cjs CHANGED
@@ -200,7 +200,7 @@ const TemplateDialog = React.forwardRef(function TemplateDialog(props, ref) {
200
200
  return React.createElement(customElements.getName(TemplateDialogWC) ?? 'template-dialog', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
201
201
  });
202
202
 
203
- const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, ref) {
203
+ const RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(props, ref) {
204
204
  const { onDelete, onEdit, children, ...rest } = props;
205
205
  const _innerRef = React.useRef(null);
206
206
  const _onDeleteRef = React.useRef(onDelete);
@@ -219,10 +219,10 @@ const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, r
219
219
  el.removeEventListener('edit', _onEditFn);
220
220
  };
221
221
  }, []);
222
- return React.createElement(customElements.getName(RuleConditionGroupWC) ?? 'rule-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
222
+ return React.createElement(customElements.getName(RuleConditionBuilderWC) ?? 'rule-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
223
223
  });
224
224
 
225
- const RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(props, ref) {
225
+ const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, ref) {
226
226
  const { onDelete, onEdit, children, ...rest } = props;
227
227
  const _innerRef = React.useRef(null);
228
228
  const _onDeleteRef = React.useRef(onDelete);
@@ -241,10 +241,10 @@ const RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(prop
241
241
  el.removeEventListener('edit', _onEditFn);
242
242
  };
243
243
  }, []);
244
- return React.createElement(customElements.getName(RuleConditionBuilderWC) ?? 'rule-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
244
+ return React.createElement(customElements.getName(RuleConditionGroupWC) ?? 'rule-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
245
245
  });
246
246
 
247
- const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuilder(props, ref) {
247
+ const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref) {
248
248
  const { onDelete, onEdit, children, ...rest } = props;
249
249
  const _innerRef = React.useRef(null);
250
250
  const _onDeleteRef = React.useRef(onDelete);
@@ -263,10 +263,10 @@ const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuil
263
263
  el.removeEventListener('edit', _onEditFn);
264
264
  };
265
265
  }, []);
266
- return React.createElement(customElements.getName(TemplateConditionBuilderWC) ?? 'template-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
266
+ return React.createElement(customElements.getName(ParameterBuilderWC) ?? 'parameter-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
267
267
  });
268
268
 
269
- const TemplateConditionGroup = React.forwardRef(function TemplateConditionGroup(props, ref) {
269
+ const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuilder(props, ref) {
270
270
  const { onDelete, onEdit, children, ...rest } = props;
271
271
  const _innerRef = React.useRef(null);
272
272
  const _onDeleteRef = React.useRef(onDelete);
@@ -285,10 +285,10 @@ const TemplateConditionGroup = React.forwardRef(function TemplateConditionGroup(
285
285
  el.removeEventListener('edit', _onEditFn);
286
286
  };
287
287
  }, []);
288
- return React.createElement(customElements.getName(TemplateConditionGroupWC) ?? 'template-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
288
+ return React.createElement(customElements.getName(TemplateConditionBuilderWC) ?? 'template-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
289
289
  });
290
290
 
291
- const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref) {
291
+ const TemplateConditionGroup = React.forwardRef(function TemplateConditionGroup(props, ref) {
292
292
  const { onDelete, onEdit, children, ...rest } = props;
293
293
  const _innerRef = React.useRef(null);
294
294
  const _onDeleteRef = React.useRef(onDelete);
@@ -307,7 +307,7 @@ const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref)
307
307
  el.removeEventListener('edit', _onEditFn);
308
308
  };
309
309
  }, []);
310
- return React.createElement(customElements.getName(ParameterBuilderWC) ?? 'parameter-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
310
+ return React.createElement(customElements.getName(TemplateConditionGroupWC) ?? 'template-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
311
311
  });
312
312
 
313
313
  module.exports = {
@@ -332,9 +332,9 @@ module.exports = {
332
332
  SlackRouteManagement,
333
333
  RuleDialog,
334
334
  TemplateDialog,
335
- RuleConditionGroup,
336
335
  RuleConditionBuilder,
336
+ RuleConditionGroup,
337
+ ParameterBuilder,
337
338
  TemplateConditionBuilder,
338
339
  TemplateConditionGroup,
339
- ParameterBuilder,
340
340
  };
package/dist/react.mjs CHANGED
@@ -198,7 +198,7 @@ export const TemplateDialog = React.forwardRef(function TemplateDialog(props, re
198
198
  return React.createElement(customElements.getName(TemplateDialogWC) ?? 'template-dialog', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
199
199
  });
200
200
 
201
- export const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, ref) {
201
+ export const RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(props, ref) {
202
202
  const { onDelete, onEdit, children, ...rest } = props;
203
203
  const _innerRef = React.useRef(null);
204
204
  const _onDeleteRef = React.useRef(onDelete);
@@ -217,10 +217,10 @@ export const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(p
217
217
  el.removeEventListener('edit', _onEditFn);
218
218
  };
219
219
  }, []);
220
- return React.createElement(customElements.getName(RuleConditionGroupWC) ?? 'rule-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
220
+ return React.createElement(customElements.getName(RuleConditionBuilderWC) ?? 'rule-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
221
221
  });
222
222
 
223
- export const RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(props, ref) {
223
+ export const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, ref) {
224
224
  const { onDelete, onEdit, children, ...rest } = props;
225
225
  const _innerRef = React.useRef(null);
226
226
  const _onDeleteRef = React.useRef(onDelete);
@@ -239,10 +239,10 @@ export const RuleConditionBuilder = React.forwardRef(function RuleConditionBuild
239
239
  el.removeEventListener('edit', _onEditFn);
240
240
  };
241
241
  }, []);
242
- return React.createElement(customElements.getName(RuleConditionBuilderWC) ?? 'rule-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
242
+ return React.createElement(customElements.getName(RuleConditionGroupWC) ?? 'rule-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
243
243
  });
244
244
 
245
- export const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuilder(props, ref) {
245
+ export const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref) {
246
246
  const { onDelete, onEdit, children, ...rest } = props;
247
247
  const _innerRef = React.useRef(null);
248
248
  const _onDeleteRef = React.useRef(onDelete);
@@ -261,10 +261,10 @@ export const TemplateConditionBuilder = React.forwardRef(function TemplateCondit
261
261
  el.removeEventListener('edit', _onEditFn);
262
262
  };
263
263
  }, []);
264
- return React.createElement(customElements.getName(TemplateConditionBuilderWC) ?? 'template-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
264
+ return React.createElement(customElements.getName(ParameterBuilderWC) ?? 'parameter-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
265
265
  });
266
266
 
267
- export const TemplateConditionGroup = React.forwardRef(function TemplateConditionGroup(props, ref) {
267
+ export const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuilder(props, ref) {
268
268
  const { onDelete, onEdit, children, ...rest } = props;
269
269
  const _innerRef = React.useRef(null);
270
270
  const _onDeleteRef = React.useRef(onDelete);
@@ -283,10 +283,10 @@ export const TemplateConditionGroup = React.forwardRef(function TemplateConditio
283
283
  el.removeEventListener('edit', _onEditFn);
284
284
  };
285
285
  }, []);
286
- return React.createElement(customElements.getName(TemplateConditionGroupWC) ?? 'template-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
286
+ return React.createElement(customElements.getName(TemplateConditionBuilderWC) ?? 'template-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
287
287
  });
288
288
 
289
- export const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref) {
289
+ export const TemplateConditionGroup = React.forwardRef(function TemplateConditionGroup(props, ref) {
290
290
  const { onDelete, onEdit, children, ...rest } = props;
291
291
  const _innerRef = React.useRef(null);
292
292
  const _onDeleteRef = React.useRef(onDelete);
@@ -305,5 +305,5 @@ export const ParameterBuilder = React.forwardRef(function ParameterBuilder(props
305
305
  el.removeEventListener('edit', _onEditFn);
306
306
  };
307
307
  }, []);
308
- return React.createElement(customElements.getName(ParameterBuilderWC) ?? 'parameter-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
308
+ return React.createElement(customElements.getName(TemplateConditionGroupWC) ?? 'template-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
309
309
  });
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.96.1",
4
+ "version": "15.96.2-GENC-1665.5",
5
5
  "license": "SEE LICENSE IN license.txt",
6
6
  "workspaces": [
7
7
  "client"
@@ -80,30 +80,30 @@
80
80
  "@commitlint/cli": "^19.2.1",
81
81
  "@commitlint/config-conventional": "^19.1.0",
82
82
  "@commitlint/format": "^19.0.3",
83
- "@genesislcap/design-system-configurator": "15.96.1",
84
- "@genesislcap/eslint-config": "15.96.1",
85
- "@genesislcap/eslint-stylelint-builder": "15.96.1",
86
- "@genesislcap/foundation-testing": "15.96.1",
87
- "@genesislcap/genx": "15.96.1",
88
- "@genesislcap/prettier-config": "15.96.1",
89
- "@genesislcap/stylelint-config": "15.96.1",
90
- "@genesislcap/vite-builder": "15.96.1",
91
- "@genesislcap/webpack-builder": "15.96.1",
83
+ "@genesislcap/design-system-configurator": "15.96.2-GENC-1665.5",
84
+ "@genesislcap/eslint-config": "15.96.2-GENC-1665.5",
85
+ "@genesislcap/eslint-stylelint-builder": "15.96.2-GENC-1665.5",
86
+ "@genesislcap/foundation-testing": "15.96.2-GENC-1665.5",
87
+ "@genesislcap/genx": "15.96.2-GENC-1665.5",
88
+ "@genesislcap/prettier-config": "15.96.2-GENC-1665.5",
89
+ "@genesislcap/stylelint-config": "15.96.2-GENC-1665.5",
90
+ "@genesislcap/vite-builder": "15.96.2-GENC-1665.5",
91
+ "@genesislcap/webpack-builder": "15.96.2-GENC-1665.5",
92
92
  "dayjs": "^1.11.7"
93
93
  },
94
94
  "dependencies": {
95
- "@genesislcap/foundation-comms": "15.96.1",
96
- "@genesislcap/foundation-criteria": "15.96.1",
97
- "@genesislcap/foundation-entity-management": "15.96.1",
98
- "@genesislcap/foundation-forms": "15.96.1",
99
- "@genesislcap/foundation-layout": "15.96.1",
100
- "@genesislcap/foundation-logger": "15.96.1",
101
- "@genesislcap/foundation-notifications": "15.96.1",
102
- "@genesislcap/foundation-ui": "15.96.1",
103
- "@genesislcap/foundation-utils": "15.96.1",
104
- "@genesislcap/rapid-design-system": "15.96.1",
105
- "@genesislcap/rapid-grid-pro": "15.96.1",
106
- "@genesislcap/web-core": "15.96.1",
95
+ "@genesislcap/foundation-comms": "15.96.2-GENC-1665.5",
96
+ "@genesislcap/foundation-criteria": "15.96.2-GENC-1665.5",
97
+ "@genesislcap/foundation-entity-management": "15.96.2-GENC-1665.5",
98
+ "@genesislcap/foundation-forms": "15.96.2-GENC-1665.5",
99
+ "@genesislcap/foundation-layout": "15.96.2-GENC-1665.5",
100
+ "@genesislcap/foundation-logger": "15.96.2-GENC-1665.5",
101
+ "@genesislcap/foundation-notifications": "15.96.2-GENC-1665.5",
102
+ "@genesislcap/foundation-ui": "15.96.2-GENC-1665.5",
103
+ "@genesislcap/foundation-utils": "15.96.2-GENC-1665.5",
104
+ "@genesislcap/rapid-design-system": "15.96.2-GENC-1665.5",
105
+ "@genesislcap/rapid-grid-pro": "15.96.2-GENC-1665.5",
106
+ "@genesislcap/web-core": "15.96.2-GENC-1665.5",
107
107
  "lodash.debounce": "^4.0.8",
108
108
  "rxjs": "^7.5.4"
109
109
  },