@genesislcap/pbc-notify-ui 1.0.56 → 1.0.57
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.
- package/dist/dts/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.template.d.ts.map +1 -1
- package/dist/dts/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.template.d.ts.map +1 -1
- package/dist/esm/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.template.js +20 -6
- package/dist/esm/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.template.js +8 -4
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rule-condition-builder.template.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.template.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAGrE,eAAO,MAAM,4BAA4B,
|
|
1
|
+
{"version":3,"file":"rule-condition-builder.template.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.template.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAGrE,eAAO,MAAM,4BAA4B,2EAyGxC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rule-dialog.template.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.template.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhD,eAAO,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"rule-dialog.template.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-dialog.template.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhD,eAAO,MAAM,kBAAkB,iEAyH9B,CAAC"}
|
|
@@ -8,10 +8,13 @@ export const RuleConditionBuilderTemplate = html `
|
|
|
8
8
|
<rapid-select
|
|
9
9
|
:value=${sync((x) => x.leftValue)}
|
|
10
10
|
:initialValue=${sync((x) => x.leftValue)}
|
|
11
|
+
title=${(x) => JSON.parse(x.leftValue).FIELD_NAME}
|
|
11
12
|
class="left-value"
|
|
12
13
|
>
|
|
13
14
|
${repeat((x) => x.fields, html `
|
|
14
|
-
<rapid-option value=${(x) => JSON.stringify(x)}
|
|
15
|
+
<rapid-option value=${(x) => JSON.stringify(x)} title=${(x) => x.FIELD_NAME}>
|
|
16
|
+
${(x) => x.FIELD_NAME}
|
|
17
|
+
</rapid-option>
|
|
15
18
|
`)}
|
|
16
19
|
</rapid-select>
|
|
17
20
|
|
|
@@ -21,16 +24,21 @@ export const RuleConditionBuilderTemplate = html `
|
|
|
21
24
|
nullAndBlankLogicalOperatorValues.includes(LogicalOperator[x.logicalOperator]),
|
|
22
25
|
])}"
|
|
23
26
|
:value=${sync((x) => x.logicalOperator)}
|
|
27
|
+
title=${(x) => x.logicalOperator}
|
|
24
28
|
>
|
|
25
29
|
${repeat((_) => Object.values(LogicalOperator), html `
|
|
26
|
-
<rapid-option value=${(x) => x}>${(x) => x}</rapid-option>
|
|
30
|
+
<rapid-option value=${(x) => x} title=${(x) => x}>${(x) => x}</rapid-option>
|
|
27
31
|
`)}
|
|
28
32
|
</rapid-select>
|
|
29
33
|
|
|
30
34
|
${when((x) => !nullAndBlankLogicalOperatorValues.includes(LogicalOperator[x.logicalOperator]), html `
|
|
31
|
-
<rapid-select
|
|
35
|
+
<rapid-select
|
|
36
|
+
class="right-criteria"
|
|
37
|
+
:value=${sync((x) => x.rightCriteria)}
|
|
38
|
+
title=${(x) => x.rightCriteria}
|
|
39
|
+
>
|
|
32
40
|
${repeat((_) => Object.values(RightCriteria), html `
|
|
33
|
-
<rapid-option value=${(x) => x}>${(x) => x}</rapid-option>
|
|
41
|
+
<rapid-option value=${(x) => x} title=${(x) => x}>${(x) => x}</rapid-option>
|
|
34
42
|
`)}
|
|
35
43
|
</rapid-select>
|
|
36
44
|
|
|
@@ -50,9 +58,15 @@ export const RuleConditionBuilderTemplate = html `
|
|
|
50
58
|
`)}
|
|
51
59
|
`)}
|
|
52
60
|
${when((x) => x.rightCriteria === RightCriteria.FIELD, html `
|
|
53
|
-
<rapid-select
|
|
61
|
+
<rapid-select
|
|
62
|
+
class="right-criteria-select"
|
|
63
|
+
:value=${sync((x) => x.rightValueSelect)}
|
|
64
|
+
title=${(x) => x.rightValueSelect}
|
|
65
|
+
>
|
|
54
66
|
${repeat((x) => x.fields, html `
|
|
55
|
-
<rapid-option value=${(x) => x.FIELD_NAME}
|
|
67
|
+
<rapid-option value=${(x) => x.FIELD_NAME} title=${(x) => x.FIELD_NAME}>
|
|
68
|
+
${(x) => x.FIELD_NAME}
|
|
69
|
+
</rapid-option>
|
|
56
70
|
`)}
|
|
57
71
|
</rapid-select>
|
|
58
72
|
`)}
|
|
@@ -24,18 +24,22 @@ export const RuleDialogTemplate = html `
|
|
|
24
24
|
<div class="content-row">
|
|
25
25
|
<div class="control">
|
|
26
26
|
<label>Resource</label>
|
|
27
|
-
<rapid-select
|
|
27
|
+
<rapid-select
|
|
28
|
+
:value=${sync((x) => x.resource)}
|
|
29
|
+
title=${(x) => x.resource}
|
|
30
|
+
position="below"
|
|
31
|
+
>
|
|
28
32
|
${repeat((x) => x.resources, html `
|
|
29
|
-
<rapid-option value=${(x) => x}>${(x) => x}</rapid-option>
|
|
33
|
+
<rapid-option value=${(x) => x} title=${(x) => x}>${(x) => x}</rapid-option>
|
|
30
34
|
`)}
|
|
31
35
|
</rapid-select>
|
|
32
36
|
</div>
|
|
33
37
|
|
|
34
38
|
<div class="control">
|
|
35
39
|
<label>Topic</label>
|
|
36
|
-
<rapid-select :value=${sync((x) => x.topic)}>
|
|
40
|
+
<rapid-select :value=${sync((x) => x.topic)} title=${(x) => x.topic}>
|
|
37
41
|
${repeat((x) => x.topics, html `
|
|
38
|
-
<rapid-option value=${(x) => x}>${(x) => x}</rapid-option>
|
|
42
|
+
<rapid-option value=${(x) => x} title=${(x) => x}>${(x) => x}</rapid-option>
|
|
39
43
|
`)}
|
|
40
44
|
</rapid-select>
|
|
41
45
|
</div>
|