@uipath/apollo-react 7.18.0 → 7.19.1
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/canvas/styles/tailwind.canvas.css +1 -1
- package/dist/chat/headless/hooks/use-chat-messages.cjs +8 -0
- package/dist/chat/headless/hooks/use-chat-messages.d.ts.map +1 -1
- package/dist/chat/headless/hooks/use-chat-messages.js +8 -0
- package/dist/chat/styles/tailwind.chat.css +1 -1
- package/dist/decision-table/CellTextEditor.cjs +78 -0
- package/dist/decision-table/CellTextEditor.d.ts +8 -0
- package/dist/decision-table/CellTextEditor.d.ts.map +1 -0
- package/dist/decision-table/CellTextEditor.js +44 -0
- package/dist/decision-table/ConditionLine.cjs +5 -1
- package/dist/decision-table/ConditionLine.d.ts +3 -1
- package/dist/decision-table/ConditionLine.d.ts.map +1 -1
- package/dist/decision-table/ConditionLine.js +5 -1
- package/dist/decision-table/DecisionText.cjs +49 -3
- package/dist/decision-table/DecisionText.d.ts +20 -4
- package/dist/decision-table/DecisionText.d.ts.map +1 -1
- package/dist/decision-table/DecisionText.js +49 -3
- package/dist/decision-table/DecisionTextHeader.cjs +23 -3
- package/dist/decision-table/DecisionTextHeader.d.ts +6 -0
- package/dist/decision-table/DecisionTextHeader.d.ts.map +1 -1
- package/dist/decision-table/DecisionTextHeader.js +24 -4
- package/dist/decision-table/GridCell.cjs +11 -31
- package/dist/decision-table/GridCell.d.ts +1 -9
- package/dist/decision-table/GridCell.d.ts.map +1 -1
- package/dist/decision-table/GridCell.js +12 -32
- package/dist/decision-table/LineText.cjs +4 -3
- package/dist/decision-table/LineText.d.ts +2 -1
- package/dist/decision-table/LineText.d.ts.map +1 -1
- package/dist/decision-table/LineText.js +4 -3
- package/dist/decision-table/PolicyOptionItem.cjs +121 -0
- package/dist/decision-table/PolicyOptionItem.d.ts +16 -0
- package/dist/decision-table/PolicyOptionItem.d.ts.map +1 -0
- package/dist/decision-table/PolicyOptionItem.js +84 -0
- package/dist/decision-table/PolicyPicker.cjs +110 -0
- package/dist/decision-table/PolicyPicker.d.ts +17 -0
- package/dist/decision-table/PolicyPicker.d.ts.map +1 -0
- package/dist/decision-table/PolicyPicker.js +76 -0
- package/dist/decision-table/RemoveConditionButton.cjs +52 -0
- package/dist/decision-table/RemoveConditionButton.d.ts +7 -0
- package/dist/decision-table/RemoveConditionButton.d.ts.map +1 -0
- package/dist/decision-table/RemoveConditionButton.js +18 -0
- package/dist/decision-table/RuleActions.cjs +76 -0
- package/dist/decision-table/RuleActions.d.ts +15 -0
- package/dist/decision-table/RuleActions.d.ts.map +1 -0
- package/dist/decision-table/RuleActions.js +42 -0
- package/dist/decision-table/RuleCard.cjs +17 -3
- package/dist/decision-table/RuleCard.d.ts +7 -1
- package/dist/decision-table/RuleCard.d.ts.map +1 -1
- package/dist/decision-table/RuleCard.js +18 -4
- package/dist/decision-table/RuleLine.cjs +7 -2
- package/dist/decision-table/RuleLine.d.ts +4 -1
- package/dist/decision-table/RuleLine.d.ts.map +1 -1
- package/dist/decision-table/RuleLine.js +7 -2
- package/dist/decision-table/RuleList.cjs +4 -1
- package/dist/decision-table/RuleList.d.ts +8 -0
- package/dist/decision-table/RuleList.d.ts.map +1 -1
- package/dist/decision-table/RuleList.js +4 -1
- package/dist/decision-table/TokenChip.cjs +23 -3
- package/dist/decision-table/TokenChip.d.ts +7 -0
- package/dist/decision-table/TokenChip.d.ts.map +1 -1
- package/dist/decision-table/TokenChip.js +24 -4
- package/dist/decision-table/ValueEditorOverlay.cjs +71 -0
- package/dist/decision-table/ValueEditorOverlay.d.ts +11 -0
- package/dist/decision-table/ValueEditorOverlay.d.ts.map +1 -0
- package/dist/decision-table/ValueEditorOverlay.js +37 -0
- package/dist/decision-table/__fixtures__/editableSentences.fixtures.d.ts +37 -0
- package/dist/decision-table/__fixtures__/editableSentences.fixtures.d.ts.map +1 -0
- package/dist/decision-table/__fixtures__/sentences.fixtures.d.ts +19 -6
- package/dist/decision-table/__fixtures__/sentences.fixtures.d.ts.map +1 -1
- package/dist/decision-table/decisionTextTypes.cjs +18 -0
- package/dist/decision-table/decisionTextTypes.d.ts +21 -0
- package/dist/decision-table/decisionTextTypes.d.ts.map +1 -0
- package/dist/decision-table/decisionTextTypes.js +0 -0
- package/dist/decision-table/gridEvents.cjs +22 -2
- package/dist/decision-table/gridEvents.d.ts +1 -0
- package/dist/decision-table/gridEvents.d.ts.map +1 -1
- package/dist/decision-table/gridEvents.js +18 -1
- package/dist/decision-table/gridTypes.d.ts +8 -0
- package/dist/decision-table/gridTypes.d.ts.map +1 -1
- package/dist/decision-table/index.d.ts +7 -2
- package/dist/decision-table/index.d.ts.map +1 -1
- package/dist/decision-table/ruleCardModel.cjs +37 -4
- package/dist/decision-table/ruleCardModel.d.ts +18 -4
- package/dist/decision-table/ruleCardModel.d.ts.map +1 -1
- package/dist/decision-table/ruleCardModel.js +36 -6
- package/dist/decision-table/sentenceParts.cjs +38 -5
- package/dist/decision-table/sentenceParts.d.ts +6 -1
- package/dist/decision-table/sentenceParts.d.ts.map +1 -1
- package/dist/decision-table/sentenceParts.js +19 -1
- package/dist/decision-table/sentenceStyles.cjs +77 -4
- package/dist/decision-table/sentenceStyles.d.ts +18 -0
- package/dist/decision-table/sentenceStyles.d.ts.map +1 -1
- package/dist/decision-table/sentenceStyles.js +20 -1
- package/dist/decision-table/sentenceTargets.cjs +88 -4
- package/dist/decision-table/sentenceTargets.d.ts +24 -1
- package/dist/decision-table/sentenceTargets.d.ts.map +1 -1
- package/dist/decision-table/sentenceTargets.js +68 -5
- package/dist/decision-table/sentenceTypes.d.ts +13 -2
- package/dist/decision-table/sentenceTypes.d.ts.map +1 -1
- package/dist/decision-table/styles/tailwind.decision-table.css +1 -1
- package/dist/decision-table/useContainerHandlers.cjs +42 -8
- package/dist/decision-table/useContainerHandlers.d.ts +10 -5
- package/dist/decision-table/useContainerHandlers.d.ts.map +1 -1
- package/dist/decision-table/useContainerHandlers.js +44 -10
- package/dist/decision-table/useEditorPlacement.cjs +104 -0
- package/dist/decision-table/useEditorPlacement.d.ts +17 -0
- package/dist/decision-table/useEditorPlacement.d.ts.map +1 -0
- package/dist/decision-table/useEditorPlacement.js +70 -0
- package/dist/decision-table/useRuleMenus.cjs +149 -0
- package/dist/decision-table/useRuleMenus.d.ts +24 -0
- package/dist/decision-table/useRuleMenus.d.ts.map +1 -0
- package/dist/decision-table/useRuleMenus.js +115 -0
- package/dist/decision-table/useRuleWindow.cjs +6 -2
- package/dist/decision-table/useRuleWindow.d.ts +1 -1
- package/dist/decision-table/useRuleWindow.d.ts.map +1 -1
- package/dist/decision-table/useRuleWindow.js +6 -2
- package/dist/decision-table/useSentenceNavigation.cjs +41 -9
- package/dist/decision-table/useSentenceNavigation.d.ts +7 -2
- package/dist/decision-table/useSentenceNavigation.d.ts.map +1 -1
- package/dist/decision-table/useSentenceNavigation.js +39 -10
- package/dist/decision-table/useValueEditing.cjs +306 -0
- package/dist/decision-table/useValueEditing.d.ts +34 -0
- package/dist/decision-table/useValueEditing.d.ts.map +1 -0
- package/dist/decision-table/useValueEditing.js +272 -0
- package/dist/decision-table/valueTypes.cjs +18 -0
- package/dist/decision-table/valueTypes.d.ts +6 -0
- package/dist/decision-table/valueTypes.d.ts.map +1 -0
- package/dist/decision-table/valueTypes.js +0 -0
- package/package.json +3 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { markIds } from "./MarkBadge.js";
|
|
2
2
|
import { lineMarksOf, unplacedColumnIds } from "./sentenceMarks.js";
|
|
3
|
-
import { SENTENCE_LINE_VALUE_LIMIT, boundedParts, columnNameOf, isOutcome, partsText } from "./sentenceParts.js";
|
|
3
|
+
import { SENTENCE_LINE_VALUE_LIMIT, boundedParts, columnNameOf, isOutcome, partsText, stopTokensOf } from "./sentenceParts.js";
|
|
4
4
|
const cardMark = (mark)=>({
|
|
5
5
|
tone: mark?.tone,
|
|
6
6
|
dim: mark?.dim,
|
|
@@ -9,12 +9,13 @@ const cardMark = (mark)=>({
|
|
|
9
9
|
cells: mark?.cells
|
|
10
10
|
});
|
|
11
11
|
const firstValuesOf = (rule)=>{
|
|
12
|
+
const stops = new Set(stopTokensOf(rule));
|
|
12
13
|
const first = new Map();
|
|
13
14
|
for (const parts of [
|
|
14
15
|
rule.heading,
|
|
15
16
|
rule.lead,
|
|
16
17
|
...rule.lines.map((line)=>line.parts)
|
|
17
|
-
])for (const part of parts)if ('string' != typeof part &&
|
|
18
|
+
])for (const part of parts)if ('string' != typeof part && stops.has(part) && !first.has(part.columnId)) first.set(part.columnId, {
|
|
18
19
|
token: part,
|
|
19
20
|
parts
|
|
20
21
|
});
|
|
@@ -34,6 +35,7 @@ const shownValuesOf = (parts, columnId, labels)=>{
|
|
|
34
35
|
const indexes = shown.flatMap((part, index)=>isCell(part) ? [
|
|
35
36
|
index
|
|
36
37
|
] : []);
|
|
38
|
+
if (0 === indexes.length) return '';
|
|
37
39
|
const text = partsText(shown.slice(indexes[0], (indexes.at(-1) ?? 0) + 1), labels.emptyValue);
|
|
38
40
|
const hidden = clamped.reduce((count, run)=>run.hidden.some(isCell) ? count + run.hiddenValues : count, 0);
|
|
39
41
|
return hidden > 0 ? `${text} ${labels.moreValues(hidden)}` : text;
|
|
@@ -46,7 +48,17 @@ const shownLineText = (parts, labels)=>{
|
|
|
46
48
|
partsText(shown.slice(cuts.at(-1) ?? 0))
|
|
47
49
|
].join('');
|
|
48
50
|
};
|
|
49
|
-
const
|
|
51
|
+
const filledColumnIds = (parts)=>[
|
|
52
|
+
...new Set(parts.flatMap((part)=>'string' != typeof part && 'value' === part.kind && '' !== part.text ? [
|
|
53
|
+
part.columnId
|
|
54
|
+
] : []))
|
|
55
|
+
];
|
|
56
|
+
const inputColumnIds = (parts)=>[
|
|
57
|
+
...new Set(parts.flatMap((part)=>'string' != typeof part && 'input' === part.kind ? [
|
|
58
|
+
part.columnId
|
|
59
|
+
] : []))
|
|
60
|
+
];
|
|
61
|
+
const ruleCardModel = ({ rule, position, numbered, mark, selectable, decisionLinks, idPrefix, labels, editLabels })=>{
|
|
50
62
|
const id = `${idPrefix}-${position}`;
|
|
51
63
|
const { tone, dim, title, cells } = cardMark(mark);
|
|
52
64
|
const stops = selectable ? [
|
|
@@ -57,7 +69,8 @@ const ruleCardModel = ({ rule, position, numbered, mark, selectable, idPrefix, l
|
|
|
57
69
|
label: [
|
|
58
70
|
cellName(labels, columnNameOf(rule, columnId), shownValuesOf(parts, columnId, labels), position),
|
|
59
71
|
verdictOf(rule, columnId, cells, labels)
|
|
60
|
-
].filter(Boolean).join(' ')
|
|
72
|
+
].filter(Boolean).join(' '),
|
|
73
|
+
editable: void 0 !== editLabels
|
|
61
74
|
})) : [];
|
|
62
75
|
const stopByToken = new Map(stops.map((stop)=>[
|
|
63
76
|
stop.token,
|
|
@@ -78,6 +91,10 @@ const ruleCardModel = ({ rule, position, numbered, mark, selectable, idPrefix, l
|
|
|
78
91
|
lead: badgeFor('lead', lineMarksOf(rule.lead, cells)),
|
|
79
92
|
lines: rule.lines.map((line, index)=>badgeFor(`line-${index}`, lineMarksOf(line.parts, cells)))
|
|
80
93
|
};
|
|
94
|
+
const removalOf = (columnId)=>editLabels ? {
|
|
95
|
+
columnId,
|
|
96
|
+
label: editLabels.removeCondition(columnNameOf(rule, columnId), position)
|
|
97
|
+
} : null;
|
|
81
98
|
return {
|
|
82
99
|
tone,
|
|
83
100
|
dim,
|
|
@@ -95,7 +112,20 @@ const ruleCardModel = ({ rule, position, numbered, mark, selectable, idPrefix, l
|
|
|
95
112
|
].flatMap((badge)=>badge ? markIds(badge.id, badge.marks) : []).join(' ') || void 0,
|
|
96
113
|
stops,
|
|
97
114
|
stopOf: (token)=>stopByToken.get(token),
|
|
98
|
-
|
|
115
|
+
linkOf: (token)=>decisionLinks && 'input' === token.kind && void 0 !== token.decisionId ? {
|
|
116
|
+
decisionId: token.decisionId,
|
|
117
|
+
label: labels.openDecision?.(token.text),
|
|
118
|
+
tabbable: !selectable
|
|
119
|
+
} : void 0,
|
|
120
|
+
badges,
|
|
121
|
+
removals: {
|
|
122
|
+
heading: editLabels ? filledColumnIds(rule.heading).map((columnId)=>({
|
|
123
|
+
columnId,
|
|
124
|
+
label: editLabels.clearOutcome(columnNameOf(rule, columnId), position)
|
|
125
|
+
})) : [],
|
|
126
|
+
lead: inputColumnIds(rule.lead).flatMap((columnId)=>removalOf(columnId) ?? []),
|
|
127
|
+
lines: rule.lines.map((line)=>removalOf(line.columnId))
|
|
128
|
+
}
|
|
99
129
|
};
|
|
100
130
|
};
|
|
101
|
-
export { firstValuesOf, ruleCardModel };
|
|
131
|
+
export { cellName, firstValuesOf, ruleCardModel };
|
|
@@ -24,13 +24,18 @@ var __webpack_require__ = {};
|
|
|
24
24
|
var __webpack_exports__ = {};
|
|
25
25
|
__webpack_require__.r(__webpack_exports__);
|
|
26
26
|
__webpack_require__.d(__webpack_exports__, {
|
|
27
|
-
|
|
27
|
+
bandColumnNameOf: ()=>bandColumnNameOf,
|
|
28
28
|
partsText: ()=>partsText,
|
|
29
|
-
|
|
29
|
+
hasStop: ()=>hasStop,
|
|
30
30
|
boundedParts: ()=>boundedParts,
|
|
31
|
-
|
|
31
|
+
stopTokensOf: ()=>stopTokensOf,
|
|
32
|
+
isValue: ()=>isValue,
|
|
33
|
+
cellTextOf: ()=>cellTextOf,
|
|
34
|
+
tokenText: ()=>tokenText,
|
|
35
|
+
valueTokenOf: ()=>valueTokenOf,
|
|
32
36
|
columnNameOf: ()=>columnNameOf,
|
|
33
|
-
isOutcome: ()=>isOutcome
|
|
37
|
+
isOutcome: ()=>isOutcome,
|
|
38
|
+
SENTENCE_LINE_VALUE_LIMIT: ()=>SENTENCE_LINE_VALUE_LIMIT
|
|
34
39
|
});
|
|
35
40
|
const external_constants_cjs_namespaceObject = require("./constants.cjs");
|
|
36
41
|
const SENTENCE_LINE_VALUE_LIMIT = 20;
|
|
@@ -42,8 +47,26 @@ const ruleTokens = (rule)=>[
|
|
|
42
47
|
...rule.lead,
|
|
43
48
|
...rule.lines.flatMap((line)=>line.parts)
|
|
44
49
|
].filter(isToken);
|
|
50
|
+
const stopTokensOf = (rule)=>{
|
|
51
|
+
const tokens = ruleTokens(rule);
|
|
52
|
+
const valued = new Set(tokens.flatMap((token)=>'value' === token.kind ? [
|
|
53
|
+
token.columnId
|
|
54
|
+
] : []));
|
|
55
|
+
const stops = new Map();
|
|
56
|
+
for (const token of tokens){
|
|
57
|
+
const isStop = 'value' === token.kind || 'input' === token.kind && !valued.has(token.columnId);
|
|
58
|
+
if (isStop && !stops.has(token.columnId)) stops.set(token.columnId, token);
|
|
59
|
+
}
|
|
60
|
+
return [
|
|
61
|
+
...stops.values()
|
|
62
|
+
];
|
|
63
|
+
};
|
|
64
|
+
const hasStop = (rule, columnId)=>void 0 !== rule && stopTokensOf(rule).some((token)=>token.columnId === columnId);
|
|
65
|
+
const cellTextOf = (rule, columnId)=>ruleTokens(rule).filter((token)=>token.columnId === columnId).map((token)=>`${token.kind}:${token.text}`).join('\n');
|
|
45
66
|
const isOutcome = (rule, columnId)=>rule.heading.some((part)=>'string' != typeof part && part.columnId === columnId);
|
|
46
67
|
const columnNameOf = (rule, columnId)=>ruleTokens(rule).find((token)=>'value' !== token.kind && token.columnId === columnId)?.text ?? '';
|
|
68
|
+
const bandColumnNameOf = (bands, columnId)=>bands.flatMap((band)=>band.columns).find((column)=>column.id === columnId)?.name ?? '';
|
|
69
|
+
const valueTokenOf = (rule, value)=>ruleTokens(rule).find((token)=>'value' === token.kind && token.columnId === value.columnId && token.index === value.index);
|
|
47
70
|
const partsText = (parts, empty = external_constants_cjs_namespaceObject.EMPTY_VALUE_DASH)=>parts.map((part)=>'string' == typeof part ? part : tokenText(part, empty)).join('');
|
|
48
71
|
const boundedParts = (parts, limit)=>{
|
|
49
72
|
const shown = [];
|
|
@@ -80,20 +103,30 @@ const boundedParts = (parts, limit)=>{
|
|
|
80
103
|
};
|
|
81
104
|
};
|
|
82
105
|
exports.SENTENCE_LINE_VALUE_LIMIT = __webpack_exports__.SENTENCE_LINE_VALUE_LIMIT;
|
|
106
|
+
exports.bandColumnNameOf = __webpack_exports__.bandColumnNameOf;
|
|
83
107
|
exports.boundedParts = __webpack_exports__.boundedParts;
|
|
108
|
+
exports.cellTextOf = __webpack_exports__.cellTextOf;
|
|
84
109
|
exports.columnNameOf = __webpack_exports__.columnNameOf;
|
|
110
|
+
exports.hasStop = __webpack_exports__.hasStop;
|
|
85
111
|
exports.isOutcome = __webpack_exports__.isOutcome;
|
|
86
112
|
exports.isValue = __webpack_exports__.isValue;
|
|
87
113
|
exports.partsText = __webpack_exports__.partsText;
|
|
114
|
+
exports.stopTokensOf = __webpack_exports__.stopTokensOf;
|
|
88
115
|
exports.tokenText = __webpack_exports__.tokenText;
|
|
116
|
+
exports.valueTokenOf = __webpack_exports__.valueTokenOf;
|
|
89
117
|
for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
90
118
|
"SENTENCE_LINE_VALUE_LIMIT",
|
|
119
|
+
"bandColumnNameOf",
|
|
91
120
|
"boundedParts",
|
|
121
|
+
"cellTextOf",
|
|
92
122
|
"columnNameOf",
|
|
123
|
+
"hasStop",
|
|
93
124
|
"isOutcome",
|
|
94
125
|
"isValue",
|
|
95
126
|
"partsText",
|
|
96
|
-
"
|
|
127
|
+
"stopTokensOf",
|
|
128
|
+
"tokenText",
|
|
129
|
+
"valueTokenOf"
|
|
97
130
|
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
|
|
98
131
|
Object.defineProperty(exports, '__esModule', {
|
|
99
132
|
value: true
|
|
@@ -1,9 +1,14 @@
|
|
|
1
|
-
import type { SentencePart, SentenceRule, SentenceToken } from './sentenceTypes';
|
|
1
|
+
import type { SentenceBand, SentencePart, SentenceRule, SentenceToken, SentenceValueId, SentenceValueToken } from './sentenceTypes';
|
|
2
2
|
export declare const SENTENCE_LINE_VALUE_LIMIT = 20;
|
|
3
3
|
export declare const isValue: (part: SentencePart) => part is SentenceToken;
|
|
4
4
|
export declare const tokenText: (token: SentenceToken, empty?: string) => string;
|
|
5
|
+
export declare const stopTokensOf: (rule: SentenceRule) => SentenceToken[];
|
|
6
|
+
export declare const hasStop: (rule: SentenceRule | undefined, columnId: string) => boolean;
|
|
7
|
+
export declare const cellTextOf: (rule: SentenceRule, columnId: string) => string;
|
|
5
8
|
export declare const isOutcome: (rule: SentenceRule, columnId: string) => boolean;
|
|
6
9
|
export declare const columnNameOf: (rule: SentenceRule, columnId: string) => string;
|
|
10
|
+
export declare const bandColumnNameOf: (bands: readonly SentenceBand[], columnId: string) => string;
|
|
11
|
+
export declare const valueTokenOf: (rule: SentenceRule, value: SentenceValueId) => SentenceValueToken | undefined;
|
|
7
12
|
export declare const partsText: (parts: readonly SentencePart[], empty?: string) => string;
|
|
8
13
|
interface ClampedRun {
|
|
9
14
|
hidden: readonly SentencePart[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sentenceParts.d.ts","sourceRoot":"","sources":["../../src/decision-table/sentenceParts.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"sentenceParts.d.ts","sourceRoot":"","sources":["../../src/decision-table/sentenceParts.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,eAAe,EACf,kBAAkB,EACnB,MAAM,iBAAiB,CAAC;AAGzB,eAAO,MAAM,yBAAyB,KAAK,CAAC;AAE5C,eAAO,MAAM,OAAO,GAAI,MAAM,YAAY,KAAG,IAAI,IAAI,aACF,CAAC;AAGpD,eAAO,MAAM,SAAS,GAAI,OAAO,aAAa,EAAE,cAAwB,KAAG,MACT,CAAC;AASnE,eAAO,MAAM,YAAY,GAAI,MAAM,YAAY,KAAG,aAAa,EAY9D,CAAC;AAGF,eAAO,MAAM,OAAO,GAAI,MAAM,YAAY,GAAG,SAAS,EAAE,UAAU,MAAM,KAAG,OACY,CAAC;AAGxF,eAAO,MAAM,UAAU,GAAI,MAAM,YAAY,EAAE,UAAU,MAAM,KAAG,MAInD,CAAC;AAGhB,eAAO,MAAM,SAAS,GAAI,MAAM,YAAY,EAAE,UAAU,MAAM,KAAG,OACoB,CAAC;AAGtF,eAAO,MAAM,YAAY,GAAI,MAAM,YAAY,EAAE,UAAU,MAAM,KAAG,MAEhE,CAAC;AAGL,eAAO,MAAM,gBAAgB,GAAI,OAAO,SAAS,YAAY,EAAE,EAAE,UAAU,MAAM,KAAG,MACQ,CAAC;AAG7F,eAAO,MAAM,YAAY,GACvB,MAAM,YAAY,EAClB,OAAO,eAAe,KACrB,kBAAkB,GAAG,SAIrB,CAAC;AAGJ,eAAO,MAAM,SAAS,GAAI,OAAO,SAAS,YAAY,EAAE,EAAE,cAAwB,KAAG,MACK,CAAC;AAG3F,UAAU,UAAU;IAClB,MAAM,EAAE,SAAS,YAAY,EAAE,CAAC;IAChC,KAAK,EAAE,SAAS,YAAY,EAAE,CAAC;IAC/B,YAAY,EAAE,MAAM,CAAC;CACtB;AAGD,UAAU,YAAY;IACpB,KAAK,EAAE,SAAS,YAAY,EAAE,CAAC;IAC/B,OAAO,EAAE,SAAS,UAAU,EAAE,CAAC;CAChC;AASD,eAAO,MAAM,YAAY,GAAI,OAAO,SAAS,YAAY,EAAE,EAAE,OAAO,MAAM,KAAG,YA4B5E,CAAC"}
|
|
@@ -8,8 +8,26 @@ const ruleTokens = (rule)=>[
|
|
|
8
8
|
...rule.lead,
|
|
9
9
|
...rule.lines.flatMap((line)=>line.parts)
|
|
10
10
|
].filter(isToken);
|
|
11
|
+
const stopTokensOf = (rule)=>{
|
|
12
|
+
const tokens = ruleTokens(rule);
|
|
13
|
+
const valued = new Set(tokens.flatMap((token)=>'value' === token.kind ? [
|
|
14
|
+
token.columnId
|
|
15
|
+
] : []));
|
|
16
|
+
const stops = new Map();
|
|
17
|
+
for (const token of tokens){
|
|
18
|
+
const isStop = 'value' === token.kind || 'input' === token.kind && !valued.has(token.columnId);
|
|
19
|
+
if (isStop && !stops.has(token.columnId)) stops.set(token.columnId, token);
|
|
20
|
+
}
|
|
21
|
+
return [
|
|
22
|
+
...stops.values()
|
|
23
|
+
];
|
|
24
|
+
};
|
|
25
|
+
const hasStop = (rule, columnId)=>void 0 !== rule && stopTokensOf(rule).some((token)=>token.columnId === columnId);
|
|
26
|
+
const cellTextOf = (rule, columnId)=>ruleTokens(rule).filter((token)=>token.columnId === columnId).map((token)=>`${token.kind}:${token.text}`).join('\n');
|
|
11
27
|
const isOutcome = (rule, columnId)=>rule.heading.some((part)=>'string' != typeof part && part.columnId === columnId);
|
|
12
28
|
const columnNameOf = (rule, columnId)=>ruleTokens(rule).find((token)=>'value' !== token.kind && token.columnId === columnId)?.text ?? '';
|
|
29
|
+
const bandColumnNameOf = (bands, columnId)=>bands.flatMap((band)=>band.columns).find((column)=>column.id === columnId)?.name ?? '';
|
|
30
|
+
const valueTokenOf = (rule, value)=>ruleTokens(rule).find((token)=>'value' === token.kind && token.columnId === value.columnId && token.index === value.index);
|
|
13
31
|
const partsText = (parts, empty = EMPTY_VALUE_DASH)=>parts.map((part)=>'string' == typeof part ? part : tokenText(part, empty)).join('');
|
|
14
32
|
const boundedParts = (parts, limit)=>{
|
|
15
33
|
const shown = [];
|
|
@@ -45,4 +63,4 @@ const boundedParts = (parts, limit)=>{
|
|
|
45
63
|
}))
|
|
46
64
|
};
|
|
47
65
|
};
|
|
48
|
-
export { SENTENCE_LINE_VALUE_LIMIT, boundedParts, columnNameOf, isOutcome, isValue, partsText, tokenText };
|
|
66
|
+
export { SENTENCE_LINE_VALUE_LIMIT, bandColumnNameOf, boundedParts, cellTextOf, columnNameOf, hasStop, isOutcome, isValue, partsText, stopTokensOf, tokenText, valueTokenOf };
|
|
@@ -26,34 +26,52 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
26
26
|
__webpack_require__.d(__webpack_exports__, {
|
|
27
27
|
BAND_COLUMNS_CLASS: ()=>BAND_COLUMNS_CLASS,
|
|
28
28
|
MATCHED_LINE_CLASS: ()=>MATCHED_LINE_CLASS,
|
|
29
|
+
POLICY_OPTION_TITLE_CLASS: ()=>POLICY_OPTION_TITLE_CLASS,
|
|
30
|
+
RULE_ACTION_CLASS: ()=>RULE_ACTION_CLASS,
|
|
29
31
|
DECISION_TEXT_HEADER_CLASS: ()=>DECISION_TEXT_HEADER_CLASS,
|
|
30
32
|
ROW_SURFACE_CLASS: ()=>ROW_SURFACE_CLASS,
|
|
31
33
|
BAND_CAPTION_CLASS: ()=>BAND_CAPTION_CLASS,
|
|
34
|
+
POLICY_CODE_CLASS: ()=>POLICY_CODE_CLASS,
|
|
35
|
+
REMOVE_CONDITION_CLASS: ()=>REMOVE_CONDITION_CLASS,
|
|
36
|
+
POLICY_TRIGGER_CLASS: ()=>POLICY_TRIGGER_CLASS,
|
|
32
37
|
MARK_GLYPH_CLASS: ()=>MARK_GLYPH_CLASS,
|
|
33
38
|
LINE_CLASS: ()=>LINE_CLASS,
|
|
34
|
-
LINES_CLASS: ()=>LINES_CLASS,
|
|
35
39
|
BAND_COLUMN_CLASS: ()=>BAND_COLUMN_CLASS,
|
|
40
|
+
HEADING_ACTIONS_SPACE_CLASS: ()=>HEADING_ACTIONS_SPACE_CLASS,
|
|
41
|
+
LINES_CLASS: ()=>LINES_CLASS,
|
|
36
42
|
RULE_CARD_CLASS: ()=>RULE_CARD_CLASS,
|
|
37
43
|
LINE_MARK_CLASS: ()=>LINE_MARK_CLASS,
|
|
44
|
+
POLICY_MENU_CLASS: ()=>POLICY_MENU_CLASS,
|
|
38
45
|
EMPTY_OUTPUT_VALUE_CLASS: ()=>EMPTY_OUTPUT_VALUE_CLASS,
|
|
46
|
+
POLICY_ITEM_CLASS: ()=>POLICY_ITEM_CLASS,
|
|
47
|
+
POLICY_OPTION_LABEL_CLASS: ()=>POLICY_OPTION_LABEL_CLASS,
|
|
48
|
+
POLICY_HINT_CLASS: ()=>POLICY_HINT_CLASS,
|
|
49
|
+
POLICY_OPTION_CODE_CLASS: ()=>POLICY_OPTION_CODE_CLASS,
|
|
39
50
|
TOKEN_KIND_CLASS: ()=>TOKEN_KIND_CLASS,
|
|
51
|
+
POLICY_CHECK_CLASS: ()=>POLICY_CHECK_CLASS,
|
|
40
52
|
ADD_RULE_FOOTER_CLASS: ()=>ADD_RULE_FOOTER_CLASS,
|
|
41
53
|
DECISION_TEXT_FRAME_CLASS: ()=>DECISION_TEXT_FRAME_CLASS,
|
|
42
54
|
MARKED_CHIP_CLASS: ()=>MARKED_CHIP_CLASS,
|
|
55
|
+
RULE_ACTIONS_CLASS: ()=>RULE_ACTIONS_CLASS,
|
|
43
56
|
SELECTED_CHIP_CLASS: ()=>SELECTED_CHIP_CLASS,
|
|
44
57
|
LINE_TEXT_CLASS: ()=>LINE_TEXT_CLASS,
|
|
45
58
|
CLAMPED_LINE_CLASS: ()=>CLAMPED_LINE_CLASS,
|
|
46
59
|
DECISION_TEXT_BANDS_CLASS: ()=>DECISION_TEXT_BANDS_CLASS,
|
|
47
60
|
GUTTER_CLASS: ()=>GUTTER_CLASS,
|
|
48
61
|
LINE_VERDICT_CLASS: ()=>LINE_VERDICT_CLASS,
|
|
62
|
+
VALUE_EDITOR_CLASS: ()=>VALUE_EDITOR_CLASS,
|
|
63
|
+
DELETE_RULE_CLASS: ()=>DELETE_RULE_CLASS,
|
|
49
64
|
HEADER_LABEL_CLASS: ()=>HEADER_LABEL_CLASS,
|
|
50
|
-
OUTPUT_VALUE_CLASS: ()=>OUTPUT_VALUE_CLASS,
|
|
51
65
|
LINE_BULLET_CLASS: ()=>LINE_BULLET_CLASS,
|
|
66
|
+
OUTPUT_VALUE_CLASS: ()=>OUTPUT_VALUE_CLASS,
|
|
67
|
+
POLICY_SUBMENU_CLASS: ()=>POLICY_SUBMENU_CLASS,
|
|
52
68
|
ROW_NUMBER_CLASS: ()=>ROW_NUMBER_CLASS,
|
|
53
69
|
EMPTY_STATE_CLASS: ()=>EMPTY_STATE_CLASS,
|
|
70
|
+
POLICY_OPTION_CLASS: ()=>POLICY_OPTION_CLASS,
|
|
54
71
|
HEADING_TEXT_CLASS: ()=>HEADING_TEXT_CLASS,
|
|
55
72
|
MUTED_TEXT_CLASS: ()=>MUTED_TEXT_CLASS,
|
|
56
|
-
MORE_VALUES_CLASS: ()=>MORE_VALUES_CLASS
|
|
73
|
+
MORE_VALUES_CLASS: ()=>MORE_VALUES_CLASS,
|
|
74
|
+
DECISION_LINK_CLASS: ()=>DECISION_LINK_CLASS
|
|
57
75
|
});
|
|
58
76
|
const apollo_wind_namespaceObject = require("@uipath/apollo-wind");
|
|
59
77
|
const DECISION_TEXT_FRAME_CLASS = (0, apollo_wind_namespaceObject.cn)('relative min-h-0 flex-1 overflow-auto bg-background-secondary future:bg-background focus-visible:ring-2 focus-visible:ring-ring focus-visible:outline-hidden', '[--sentence-output-hue:var(--color-purple-600)] dark:[--sentence-output-hue:var(--color-purple-300)]');
|
|
@@ -68,6 +86,7 @@ const BAND_COLUMN_CLASS = (0, apollo_wind_namespaceObject.cn)('inline-flex h-6 s
|
|
|
68
86
|
const EMPTY_STATE_CLASS = 'rounded-lg border border-dashed border-border bg-background p-8';
|
|
69
87
|
const RULE_CARD_CLASS = 'group/row pb-[var(--sentence-row-gap)] focus-visible:outline-none';
|
|
70
88
|
const STOP_RING_CLASS = '-outline-offset-2 outline-primary';
|
|
89
|
+
const DECISION_LINK_CLASS = (0, apollo_wind_namespaceObject.cn)(STOP_RING_CLASS, 'cursor-pointer rounded underline decoration-dotted underline-offset-2 hover:decoration-solid focus-visible:outline-2');
|
|
71
90
|
const SELECTED_CHIP_CLASS = (0, apollo_wind_namespaceObject.cn)(STOP_RING_CLASS, 'data-[selected=true]:outline-2 focus-visible:outline-2 forced-colors:data-[tone]:data-[selected=true]:outline-2');
|
|
72
91
|
const CARD_TONE_CLASS = {
|
|
73
92
|
success: 'group-data-[tone=success]/row:border-success-icon',
|
|
@@ -98,19 +117,40 @@ const OUTPUT_VALUE_CLASS = 'inline-flex items-center rounded-md border border-[c
|
|
|
98
117
|
const EMPTY_OUTPUT_VALUE_CLASS = '-mx-1 px-1 py-0.5 italic text-foreground-de-emp';
|
|
99
118
|
const LINE_MARK_CLASS = 'inline-flex h-[var(--sentence-line)] shrink-0 items-center';
|
|
100
119
|
const MARK_GLYPH_CLASS = 'size-3.5 forced-colors:text-[CanvasText]';
|
|
120
|
+
const VALUE_EDITOR_CLASS = 'absolute z-3 m-0 mt-1 w-64 min-w-0 max-w-full overflow-hidden rounded-md border border-border bg-background p-0 text-sm shadow-lg';
|
|
121
|
+
const HEADING_ACTIONS_SPACE_CLASS = 'pe-18';
|
|
122
|
+
const RULE_ACTIONS_CLASS = 'absolute end-2 top-[calc(var(--sentence-row-padding)-var(--sentence-row-border))] flex h-[var(--sentence-line)] items-center gap-0.5';
|
|
123
|
+
const RULE_ACTION_CLASS = 'size-6 text-foreground-de-emp hover:text-foreground';
|
|
124
|
+
const REVEALED_ACTION_CLASS = 'opacity-0 group-hover/row:opacity-100 group-has-[[data-selected]]/row:opacity-100 focus-visible:opacity-100';
|
|
125
|
+
const DELETE_RULE_CLASS = (0, apollo_wind_namespaceObject.cn)(RULE_ACTION_CLASS, 'hover:text-error-text future:hover:text-error-text', REVEALED_ACTION_CLASS);
|
|
126
|
+
const REMOVE_CONDITION_CLASS = (0, apollo_wind_namespaceObject.cn)('mt-0.5 size-5 shrink-0 text-foreground-de-emp hover:text-foreground', REVEALED_ACTION_CLASS);
|
|
101
127
|
const ADD_RULE_FOOTER_CLASS = (0, apollo_wind_namespaceObject.cn)('pb-4', GUTTER_CLASS);
|
|
128
|
+
const POLICY_TRIGGER_CLASS = (0, apollo_wind_namespaceObject.cn)(HEADER_LABEL_CLASS, '-my-0.5 -ms-1 gap-1 text-foreground-de-emp future:text-foreground-de-emp');
|
|
129
|
+
const POLICY_CODE_CLASS = 'font-mono text-foreground';
|
|
130
|
+
const POLICY_MENU_CLASS = 'w-[380px] max-w-[calc(100vw-2rem)]';
|
|
131
|
+
const POLICY_SUBMENU_CLASS = 'w-[320px] max-w-[calc(100vw-2rem)]';
|
|
132
|
+
const POLICY_ITEM_CLASS = 'relative [&_.lucide-circle]:hidden';
|
|
133
|
+
const POLICY_CHECK_CLASS = 'absolute left-2 flex size-3.5 items-center justify-center [&_svg]:size-4';
|
|
134
|
+
const POLICY_OPTION_CLASS = 'flex min-w-0 flex-1 flex-col gap-0.5 py-0.5';
|
|
135
|
+
const POLICY_OPTION_TITLE_CLASS = 'flex items-center gap-1.5';
|
|
136
|
+
const POLICY_OPTION_LABEL_CLASS = 'text-foreground';
|
|
137
|
+
const POLICY_OPTION_CODE_CLASS = 'shrink-0 px-1.5 py-0 font-mono leading-4 text-foreground-de-emp';
|
|
138
|
+
const POLICY_HINT_CLASS = 'text-xs text-foreground-de-emp';
|
|
102
139
|
exports.ADD_RULE_FOOTER_CLASS = __webpack_exports__.ADD_RULE_FOOTER_CLASS;
|
|
103
140
|
exports.BAND_CAPTION_CLASS = __webpack_exports__.BAND_CAPTION_CLASS;
|
|
104
141
|
exports.BAND_COLUMNS_CLASS = __webpack_exports__.BAND_COLUMNS_CLASS;
|
|
105
142
|
exports.BAND_COLUMN_CLASS = __webpack_exports__.BAND_COLUMN_CLASS;
|
|
106
143
|
exports.CLAMPED_LINE_CLASS = __webpack_exports__.CLAMPED_LINE_CLASS;
|
|
144
|
+
exports.DECISION_LINK_CLASS = __webpack_exports__.DECISION_LINK_CLASS;
|
|
107
145
|
exports.DECISION_TEXT_BANDS_CLASS = __webpack_exports__.DECISION_TEXT_BANDS_CLASS;
|
|
108
146
|
exports.DECISION_TEXT_FRAME_CLASS = __webpack_exports__.DECISION_TEXT_FRAME_CLASS;
|
|
109
147
|
exports.DECISION_TEXT_HEADER_CLASS = __webpack_exports__.DECISION_TEXT_HEADER_CLASS;
|
|
148
|
+
exports.DELETE_RULE_CLASS = __webpack_exports__.DELETE_RULE_CLASS;
|
|
110
149
|
exports.EMPTY_OUTPUT_VALUE_CLASS = __webpack_exports__.EMPTY_OUTPUT_VALUE_CLASS;
|
|
111
150
|
exports.EMPTY_STATE_CLASS = __webpack_exports__.EMPTY_STATE_CLASS;
|
|
112
151
|
exports.GUTTER_CLASS = __webpack_exports__.GUTTER_CLASS;
|
|
113
152
|
exports.HEADER_LABEL_CLASS = __webpack_exports__.HEADER_LABEL_CLASS;
|
|
153
|
+
exports.HEADING_ACTIONS_SPACE_CLASS = __webpack_exports__.HEADING_ACTIONS_SPACE_CLASS;
|
|
114
154
|
exports.HEADING_TEXT_CLASS = __webpack_exports__.HEADING_TEXT_CLASS;
|
|
115
155
|
exports.LINES_CLASS = __webpack_exports__.LINES_CLASS;
|
|
116
156
|
exports.LINE_BULLET_CLASS = __webpack_exports__.LINE_BULLET_CLASS;
|
|
@@ -124,24 +164,42 @@ exports.MATCHED_LINE_CLASS = __webpack_exports__.MATCHED_LINE_CLASS;
|
|
|
124
164
|
exports.MORE_VALUES_CLASS = __webpack_exports__.MORE_VALUES_CLASS;
|
|
125
165
|
exports.MUTED_TEXT_CLASS = __webpack_exports__.MUTED_TEXT_CLASS;
|
|
126
166
|
exports.OUTPUT_VALUE_CLASS = __webpack_exports__.OUTPUT_VALUE_CLASS;
|
|
167
|
+
exports.POLICY_CHECK_CLASS = __webpack_exports__.POLICY_CHECK_CLASS;
|
|
168
|
+
exports.POLICY_CODE_CLASS = __webpack_exports__.POLICY_CODE_CLASS;
|
|
169
|
+
exports.POLICY_HINT_CLASS = __webpack_exports__.POLICY_HINT_CLASS;
|
|
170
|
+
exports.POLICY_ITEM_CLASS = __webpack_exports__.POLICY_ITEM_CLASS;
|
|
171
|
+
exports.POLICY_MENU_CLASS = __webpack_exports__.POLICY_MENU_CLASS;
|
|
172
|
+
exports.POLICY_OPTION_CLASS = __webpack_exports__.POLICY_OPTION_CLASS;
|
|
173
|
+
exports.POLICY_OPTION_CODE_CLASS = __webpack_exports__.POLICY_OPTION_CODE_CLASS;
|
|
174
|
+
exports.POLICY_OPTION_LABEL_CLASS = __webpack_exports__.POLICY_OPTION_LABEL_CLASS;
|
|
175
|
+
exports.POLICY_OPTION_TITLE_CLASS = __webpack_exports__.POLICY_OPTION_TITLE_CLASS;
|
|
176
|
+
exports.POLICY_SUBMENU_CLASS = __webpack_exports__.POLICY_SUBMENU_CLASS;
|
|
177
|
+
exports.POLICY_TRIGGER_CLASS = __webpack_exports__.POLICY_TRIGGER_CLASS;
|
|
178
|
+
exports.REMOVE_CONDITION_CLASS = __webpack_exports__.REMOVE_CONDITION_CLASS;
|
|
127
179
|
exports.ROW_NUMBER_CLASS = __webpack_exports__.ROW_NUMBER_CLASS;
|
|
128
180
|
exports.ROW_SURFACE_CLASS = __webpack_exports__.ROW_SURFACE_CLASS;
|
|
181
|
+
exports.RULE_ACTIONS_CLASS = __webpack_exports__.RULE_ACTIONS_CLASS;
|
|
182
|
+
exports.RULE_ACTION_CLASS = __webpack_exports__.RULE_ACTION_CLASS;
|
|
129
183
|
exports.RULE_CARD_CLASS = __webpack_exports__.RULE_CARD_CLASS;
|
|
130
184
|
exports.SELECTED_CHIP_CLASS = __webpack_exports__.SELECTED_CHIP_CLASS;
|
|
131
185
|
exports.TOKEN_KIND_CLASS = __webpack_exports__.TOKEN_KIND_CLASS;
|
|
186
|
+
exports.VALUE_EDITOR_CLASS = __webpack_exports__.VALUE_EDITOR_CLASS;
|
|
132
187
|
for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
133
188
|
"ADD_RULE_FOOTER_CLASS",
|
|
134
189
|
"BAND_CAPTION_CLASS",
|
|
135
190
|
"BAND_COLUMNS_CLASS",
|
|
136
191
|
"BAND_COLUMN_CLASS",
|
|
137
192
|
"CLAMPED_LINE_CLASS",
|
|
193
|
+
"DECISION_LINK_CLASS",
|
|
138
194
|
"DECISION_TEXT_BANDS_CLASS",
|
|
139
195
|
"DECISION_TEXT_FRAME_CLASS",
|
|
140
196
|
"DECISION_TEXT_HEADER_CLASS",
|
|
197
|
+
"DELETE_RULE_CLASS",
|
|
141
198
|
"EMPTY_OUTPUT_VALUE_CLASS",
|
|
142
199
|
"EMPTY_STATE_CLASS",
|
|
143
200
|
"GUTTER_CLASS",
|
|
144
201
|
"HEADER_LABEL_CLASS",
|
|
202
|
+
"HEADING_ACTIONS_SPACE_CLASS",
|
|
145
203
|
"HEADING_TEXT_CLASS",
|
|
146
204
|
"LINES_CLASS",
|
|
147
205
|
"LINE_BULLET_CLASS",
|
|
@@ -155,11 +213,26 @@ for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
|
155
213
|
"MORE_VALUES_CLASS",
|
|
156
214
|
"MUTED_TEXT_CLASS",
|
|
157
215
|
"OUTPUT_VALUE_CLASS",
|
|
216
|
+
"POLICY_CHECK_CLASS",
|
|
217
|
+
"POLICY_CODE_CLASS",
|
|
218
|
+
"POLICY_HINT_CLASS",
|
|
219
|
+
"POLICY_ITEM_CLASS",
|
|
220
|
+
"POLICY_MENU_CLASS",
|
|
221
|
+
"POLICY_OPTION_CLASS",
|
|
222
|
+
"POLICY_OPTION_CODE_CLASS",
|
|
223
|
+
"POLICY_OPTION_LABEL_CLASS",
|
|
224
|
+
"POLICY_OPTION_TITLE_CLASS",
|
|
225
|
+
"POLICY_SUBMENU_CLASS",
|
|
226
|
+
"POLICY_TRIGGER_CLASS",
|
|
227
|
+
"REMOVE_CONDITION_CLASS",
|
|
158
228
|
"ROW_NUMBER_CLASS",
|
|
159
229
|
"ROW_SURFACE_CLASS",
|
|
230
|
+
"RULE_ACTIONS_CLASS",
|
|
231
|
+
"RULE_ACTION_CLASS",
|
|
160
232
|
"RULE_CARD_CLASS",
|
|
161
233
|
"SELECTED_CHIP_CLASS",
|
|
162
|
-
"TOKEN_KIND_CLASS"
|
|
234
|
+
"TOKEN_KIND_CLASS",
|
|
235
|
+
"VALUE_EDITOR_CLASS"
|
|
163
236
|
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
|
|
164
237
|
Object.defineProperty(exports, '__esModule', {
|
|
165
238
|
value: true
|
|
@@ -9,6 +9,7 @@ export declare const MARKED_CHIP_CLASS: string;
|
|
|
9
9
|
export declare const BAND_COLUMN_CLASS: string;
|
|
10
10
|
export declare const EMPTY_STATE_CLASS = "rounded-lg border border-dashed border-border bg-background p-8";
|
|
11
11
|
export declare const RULE_CARD_CLASS = "group/row pb-[var(--sentence-row-gap)] focus-visible:outline-none";
|
|
12
|
+
export declare const DECISION_LINK_CLASS: string;
|
|
12
13
|
export declare const SELECTED_CHIP_CLASS: string;
|
|
13
14
|
export declare const ROW_SURFACE_CLASS: string;
|
|
14
15
|
export declare const ROW_NUMBER_CLASS = "absolute end-[calc(100%+4px)] top-[9px] flex h-[22px] min-w-5 items-center justify-center rounded-md border border-border-de-emp bg-background px-1 text-xs leading-5 whitespace-nowrap text-foreground-de-emp tabular-nums shadow-sm";
|
|
@@ -34,5 +35,22 @@ export declare const OUTPUT_VALUE_CLASS = "inline-flex items-center rounded-md b
|
|
|
34
35
|
export declare const EMPTY_OUTPUT_VALUE_CLASS = "-mx-1 px-1 py-0.5 italic text-foreground-de-emp";
|
|
35
36
|
export declare const LINE_MARK_CLASS = "inline-flex h-[var(--sentence-line)] shrink-0 items-center";
|
|
36
37
|
export declare const MARK_GLYPH_CLASS = "size-3.5 forced-colors:text-[CanvasText]";
|
|
38
|
+
export declare const VALUE_EDITOR_CLASS = "absolute z-3 m-0 mt-1 w-64 min-w-0 max-w-full overflow-hidden rounded-md border border-border bg-background p-0 text-sm shadow-lg";
|
|
39
|
+
export declare const HEADING_ACTIONS_SPACE_CLASS = "pe-18";
|
|
40
|
+
export declare const RULE_ACTIONS_CLASS = "absolute end-2 top-[calc(var(--sentence-row-padding)-var(--sentence-row-border))] flex h-[var(--sentence-line)] items-center gap-0.5";
|
|
41
|
+
export declare const RULE_ACTION_CLASS = "size-6 text-foreground-de-emp hover:text-foreground";
|
|
42
|
+
export declare const DELETE_RULE_CLASS: string;
|
|
43
|
+
export declare const REMOVE_CONDITION_CLASS: string;
|
|
37
44
|
export declare const ADD_RULE_FOOTER_CLASS: string;
|
|
45
|
+
export declare const POLICY_TRIGGER_CLASS: string;
|
|
46
|
+
export declare const POLICY_CODE_CLASS = "font-mono text-foreground";
|
|
47
|
+
export declare const POLICY_MENU_CLASS = "w-[380px] max-w-[calc(100vw-2rem)]";
|
|
48
|
+
export declare const POLICY_SUBMENU_CLASS = "w-[320px] max-w-[calc(100vw-2rem)]";
|
|
49
|
+
export declare const POLICY_ITEM_CLASS = "relative [&_.lucide-circle]:hidden";
|
|
50
|
+
export declare const POLICY_CHECK_CLASS = "absolute left-2 flex size-3.5 items-center justify-center [&_svg]:size-4";
|
|
51
|
+
export declare const POLICY_OPTION_CLASS = "flex min-w-0 flex-1 flex-col gap-0.5 py-0.5";
|
|
52
|
+
export declare const POLICY_OPTION_TITLE_CLASS = "flex items-center gap-1.5";
|
|
53
|
+
export declare const POLICY_OPTION_LABEL_CLASS = "text-foreground";
|
|
54
|
+
export declare const POLICY_OPTION_CODE_CLASS = "shrink-0 px-1.5 py-0 font-mono leading-4 text-foreground-de-emp";
|
|
55
|
+
export declare const POLICY_HINT_CLASS = "text-xs text-foreground-de-emp";
|
|
38
56
|
//# sourceMappingURL=sentenceStyles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sentenceStyles.d.ts","sourceRoot":"","sources":["../../src/decision-table/sentenceStyles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,yBAAyB,QAGrC,CAAC;AAEF,eAAO,MAAM,0BAA0B,4JACoH,CAAC;AAE5J,eAAO,MAAM,kBAAkB,kBAAkB,CAAC;AAElD,eAAO,MAAM,YAAY,0EAA0E,CAAC;AAEpG,eAAO,MAAM,yBAAyB,QAGrC,CAAC;AAEF,eAAO,MAAM,kBAAkB,2GAC2E,CAAC;AAE3G,eAAO,MAAM,kBAAkB,yJACyH,CAAC;AAEzJ,eAAO,MAAM,iBAAiB,QAM7B,CAAC;AAEF,eAAO,MAAM,iBAAiB,QAG7B,CAAC;AAEF,eAAO,MAAM,iBAAiB,oEAAoE,CAAC;AAEnG,eAAO,MAAM,eAAe,sEAAsE,CAAC;AAKnG,eAAO,MAAM,mBAAmB,QAG/B,CAAC;AASF,eAAO,MAAM,iBAAiB,QAO7B,CAAC;AAEF,eAAO,MAAM,gBAAgB,0OAC4M,CAAC;AAE1O,eAAO,MAAM,UAAU,wDAAwD,CAAC;AAEhF,eAAO,MAAM,WAAW,mCAAmC,CAAC;AAE5D,eAAO,MAAM,eAAe,wBAAwB,CAAC;AAErD,eAAO,MAAM,kBAAkB,0CAA0C,CAAC;AAE1E,eAAO,MAAM,kBAAkB,QAG9B,CAAC;AAEF,eAAO,MAAM,gBAAgB,sIACwG,CAAC;AAEtI,eAAO,MAAM,iBAAiB,QAAiE,CAAC;AAEhG,eAAO,MAAM,iBAAiB,4FAC6D,CAAC;AAE5F,eAAO,MAAM,kBAAkB;;;CAGrB,CAAC;AAEX,eAAO,MAAM,kBAAkB,uOACuM,CAAC;AAEvO,eAAO,MAAM,gBAAgB;;;;CAMnB,CAAC;AAEX,eAAO,MAAM,kBAAkB,oVACoT,CAAC;AAEpV,eAAO,MAAM,wBAAwB,oDAAoD,CAAC;AAE1F,eAAO,MAAM,eAAe,+DAA+D,CAAC;AAE5F,eAAO,MAAM,gBAAgB,6CAA6C,CAAC;AAE3E,eAAO,MAAM,qBAAqB,QAA2B,CAAC"}
|
|
1
|
+
{"version":3,"file":"sentenceStyles.d.ts","sourceRoot":"","sources":["../../src/decision-table/sentenceStyles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,yBAAyB,QAGrC,CAAC;AAEF,eAAO,MAAM,0BAA0B,4JACoH,CAAC;AAE5J,eAAO,MAAM,kBAAkB,kBAAkB,CAAC;AAElD,eAAO,MAAM,YAAY,0EAA0E,CAAC;AAEpG,eAAO,MAAM,yBAAyB,QAGrC,CAAC;AAEF,eAAO,MAAM,kBAAkB,2GAC2E,CAAC;AAE3G,eAAO,MAAM,kBAAkB,yJACyH,CAAC;AAEzJ,eAAO,MAAM,iBAAiB,QAM7B,CAAC;AAEF,eAAO,MAAM,iBAAiB,QAG7B,CAAC;AAEF,eAAO,MAAM,iBAAiB,oEAAoE,CAAC;AAEnG,eAAO,MAAM,eAAe,sEAAsE,CAAC;AAKnG,eAAO,MAAM,mBAAmB,QAG/B,CAAC;AAEF,eAAO,MAAM,mBAAmB,QAG/B,CAAC;AASF,eAAO,MAAM,iBAAiB,QAO7B,CAAC;AAEF,eAAO,MAAM,gBAAgB,0OAC4M,CAAC;AAE1O,eAAO,MAAM,UAAU,wDAAwD,CAAC;AAEhF,eAAO,MAAM,WAAW,mCAAmC,CAAC;AAE5D,eAAO,MAAM,eAAe,wBAAwB,CAAC;AAErD,eAAO,MAAM,kBAAkB,0CAA0C,CAAC;AAE1E,eAAO,MAAM,kBAAkB,QAG9B,CAAC;AAEF,eAAO,MAAM,gBAAgB,sIACwG,CAAC;AAEtI,eAAO,MAAM,iBAAiB,QAAiE,CAAC;AAEhG,eAAO,MAAM,iBAAiB,4FAC6D,CAAC;AAE5F,eAAO,MAAM,kBAAkB;;;CAGrB,CAAC;AAEX,eAAO,MAAM,kBAAkB,uOACuM,CAAC;AAEvO,eAAO,MAAM,gBAAgB;;;;CAMnB,CAAC;AAEX,eAAO,MAAM,kBAAkB,oVACoT,CAAC;AAEpV,eAAO,MAAM,wBAAwB,oDAAoD,CAAC;AAE1F,eAAO,MAAM,eAAe,+DAA+D,CAAC;AAE5F,eAAO,MAAM,gBAAgB,6CAA6C,CAAC;AAE3E,eAAO,MAAM,kBAAkB,sIACsG,CAAC;AAEtI,eAAO,MAAM,2BAA2B,UAAU,CAAC;AAEnD,eAAO,MAAM,kBAAkB,yIACyG,CAAC;AAEzI,eAAO,MAAM,iBAAiB,wDAAwD,CAAC;AAMvF,eAAO,MAAM,iBAAiB,QAI7B,CAAC;AAEF,eAAO,MAAM,sBAAsB,QAGlC,CAAC;AAEF,eAAO,MAAM,qBAAqB,QAA2B,CAAC;AAE9D,eAAO,MAAM,oBAAoB,QAGhC,CAAC;AAEF,eAAO,MAAM,iBAAiB,8BAA8B,CAAC;AAE7D,eAAO,MAAM,iBAAiB,uCAAuC,CAAC;AAEtE,eAAO,MAAM,oBAAoB,uCAAuC,CAAC;AAGzE,eAAO,MAAM,iBAAiB,uCAAuC,CAAC;AAEtE,eAAO,MAAM,kBAAkB,6EAC6C,CAAC;AAE7E,eAAO,MAAM,mBAAmB,gDAAgD,CAAC;AAEjF,eAAO,MAAM,yBAAyB,8BAA8B,CAAC;AAErE,eAAO,MAAM,yBAAyB,oBAAoB,CAAC;AAE3D,eAAO,MAAM,wBAAwB,oEAC8B,CAAC;AAEpE,eAAO,MAAM,iBAAiB,mCAAmC,CAAC"}
|
|
@@ -11,6 +11,7 @@ const BAND_COLUMN_CLASS = cn('inline-flex h-6 shrink-0 items-center gap-1 rounde
|
|
|
11
11
|
const EMPTY_STATE_CLASS = 'rounded-lg border border-dashed border-border bg-background p-8';
|
|
12
12
|
const RULE_CARD_CLASS = 'group/row pb-[var(--sentence-row-gap)] focus-visible:outline-none';
|
|
13
13
|
const STOP_RING_CLASS = '-outline-offset-2 outline-primary';
|
|
14
|
+
const DECISION_LINK_CLASS = cn(STOP_RING_CLASS, 'cursor-pointer rounded underline decoration-dotted underline-offset-2 hover:decoration-solid focus-visible:outline-2');
|
|
14
15
|
const SELECTED_CHIP_CLASS = cn(STOP_RING_CLASS, 'data-[selected=true]:outline-2 focus-visible:outline-2 forced-colors:data-[tone]:data-[selected=true]:outline-2');
|
|
15
16
|
const CARD_TONE_CLASS = {
|
|
16
17
|
success: 'group-data-[tone=success]/row:border-success-icon',
|
|
@@ -41,5 +42,23 @@ const OUTPUT_VALUE_CLASS = 'inline-flex items-center rounded-md border border-[c
|
|
|
41
42
|
const EMPTY_OUTPUT_VALUE_CLASS = '-mx-1 px-1 py-0.5 italic text-foreground-de-emp';
|
|
42
43
|
const LINE_MARK_CLASS = 'inline-flex h-[var(--sentence-line)] shrink-0 items-center';
|
|
43
44
|
const MARK_GLYPH_CLASS = 'size-3.5 forced-colors:text-[CanvasText]';
|
|
45
|
+
const VALUE_EDITOR_CLASS = 'absolute z-3 m-0 mt-1 w-64 min-w-0 max-w-full overflow-hidden rounded-md border border-border bg-background p-0 text-sm shadow-lg';
|
|
46
|
+
const HEADING_ACTIONS_SPACE_CLASS = 'pe-18';
|
|
47
|
+
const RULE_ACTIONS_CLASS = 'absolute end-2 top-[calc(var(--sentence-row-padding)-var(--sentence-row-border))] flex h-[var(--sentence-line)] items-center gap-0.5';
|
|
48
|
+
const RULE_ACTION_CLASS = 'size-6 text-foreground-de-emp hover:text-foreground';
|
|
49
|
+
const REVEALED_ACTION_CLASS = 'opacity-0 group-hover/row:opacity-100 group-has-[[data-selected]]/row:opacity-100 focus-visible:opacity-100';
|
|
50
|
+
const DELETE_RULE_CLASS = cn(RULE_ACTION_CLASS, 'hover:text-error-text future:hover:text-error-text', REVEALED_ACTION_CLASS);
|
|
51
|
+
const REMOVE_CONDITION_CLASS = cn('mt-0.5 size-5 shrink-0 text-foreground-de-emp hover:text-foreground', REVEALED_ACTION_CLASS);
|
|
44
52
|
const ADD_RULE_FOOTER_CLASS = cn('pb-4', GUTTER_CLASS);
|
|
45
|
-
|
|
53
|
+
const POLICY_TRIGGER_CLASS = cn(HEADER_LABEL_CLASS, '-my-0.5 -ms-1 gap-1 text-foreground-de-emp future:text-foreground-de-emp');
|
|
54
|
+
const POLICY_CODE_CLASS = 'font-mono text-foreground';
|
|
55
|
+
const POLICY_MENU_CLASS = 'w-[380px] max-w-[calc(100vw-2rem)]';
|
|
56
|
+
const POLICY_SUBMENU_CLASS = 'w-[320px] max-w-[calc(100vw-2rem)]';
|
|
57
|
+
const POLICY_ITEM_CLASS = 'relative [&_.lucide-circle]:hidden';
|
|
58
|
+
const POLICY_CHECK_CLASS = 'absolute left-2 flex size-3.5 items-center justify-center [&_svg]:size-4';
|
|
59
|
+
const POLICY_OPTION_CLASS = 'flex min-w-0 flex-1 flex-col gap-0.5 py-0.5';
|
|
60
|
+
const POLICY_OPTION_TITLE_CLASS = 'flex items-center gap-1.5';
|
|
61
|
+
const POLICY_OPTION_LABEL_CLASS = 'text-foreground';
|
|
62
|
+
const POLICY_OPTION_CODE_CLASS = 'shrink-0 px-1.5 py-0 font-mono leading-4 text-foreground-de-emp';
|
|
63
|
+
const POLICY_HINT_CLASS = 'text-xs text-foreground-de-emp';
|
|
64
|
+
export { ADD_RULE_FOOTER_CLASS, BAND_CAPTION_CLASS, BAND_COLUMNS_CLASS, BAND_COLUMN_CLASS, CLAMPED_LINE_CLASS, DECISION_LINK_CLASS, DECISION_TEXT_BANDS_CLASS, DECISION_TEXT_FRAME_CLASS, DECISION_TEXT_HEADER_CLASS, DELETE_RULE_CLASS, EMPTY_OUTPUT_VALUE_CLASS, EMPTY_STATE_CLASS, GUTTER_CLASS, HEADER_LABEL_CLASS, HEADING_ACTIONS_SPACE_CLASS, HEADING_TEXT_CLASS, LINES_CLASS, LINE_BULLET_CLASS, LINE_CLASS, LINE_MARK_CLASS, LINE_TEXT_CLASS, LINE_VERDICT_CLASS, MARKED_CHIP_CLASS, MARK_GLYPH_CLASS, MATCHED_LINE_CLASS, MORE_VALUES_CLASS, MUTED_TEXT_CLASS, OUTPUT_VALUE_CLASS, POLICY_CHECK_CLASS, POLICY_CODE_CLASS, POLICY_HINT_CLASS, POLICY_ITEM_CLASS, POLICY_MENU_CLASS, POLICY_OPTION_CLASS, POLICY_OPTION_CODE_CLASS, POLICY_OPTION_LABEL_CLASS, POLICY_OPTION_TITLE_CLASS, POLICY_SUBMENU_CLASS, POLICY_TRIGGER_CLASS, REMOVE_CONDITION_CLASS, ROW_NUMBER_CLASS, ROW_SURFACE_CLASS, RULE_ACTIONS_CLASS, RULE_ACTION_CLASS, RULE_CARD_CLASS, SELECTED_CHIP_CLASS, TOKEN_KIND_CLASS, VALUE_EDITOR_CLASS };
|
|
@@ -24,9 +24,16 @@ var __webpack_require__ = {};
|
|
|
24
24
|
var __webpack_exports__ = {};
|
|
25
25
|
__webpack_require__.r(__webpack_exports__);
|
|
26
26
|
__webpack_require__.d(__webpack_exports__, {
|
|
27
|
+
addConditionOf: ()=>addConditionOf,
|
|
27
28
|
cardOf: ()=>cardOf,
|
|
28
29
|
cellOf: ()=>cellOf,
|
|
30
|
+
clickedAction: ()=>clickedAction,
|
|
31
|
+
clickedAddRule: ()=>clickedAddRule,
|
|
32
|
+
clickedDecision: ()=>clickedDecision,
|
|
29
33
|
clickedSelection: ()=>clickedSelection,
|
|
34
|
+
clickedValue: ()=>clickedValue,
|
|
35
|
+
stopDecisionOf: ()=>stopDecisionOf,
|
|
36
|
+
valueChipOf: ()=>valueChipOf,
|
|
30
37
|
valueTokenAt: ()=>valueTokenAt
|
|
31
38
|
});
|
|
32
39
|
const valueTokenAt = (target)=>{
|
|
@@ -41,10 +48,19 @@ const valueTokenAt = (target)=>{
|
|
|
41
48
|
}
|
|
42
49
|
} : null;
|
|
43
50
|
};
|
|
51
|
+
const inputStopAt = (target)=>{
|
|
52
|
+
const stop = target instanceof Element ? target.closest('[data-kind="input"][data-stop]') : null;
|
|
53
|
+
const rowId = stop?.closest('li[data-row-id]')?.dataset.rowId;
|
|
54
|
+
const columnId = stop?.dataset.columnId;
|
|
55
|
+
return rowId && columnId ? {
|
|
56
|
+
rowId,
|
|
57
|
+
columnId
|
|
58
|
+
} : null;
|
|
59
|
+
};
|
|
44
60
|
const clickedSelection = (target)=>{
|
|
45
61
|
const element = target instanceof Element ? target : null;
|
|
46
62
|
const rowId = element?.closest('li[data-row-id]')?.dataset.rowId;
|
|
47
|
-
const columnId = valueTokenAt(target)?.cell.columnId ?? element?.closest('[data-more-values]')?.dataset.columnId;
|
|
63
|
+
const columnId = valueTokenAt(target)?.cell.columnId ?? inputStopAt(target)?.columnId ?? element?.closest('[data-more-values]')?.dataset.columnId;
|
|
48
64
|
if (void 0 === rowId) return null;
|
|
49
65
|
return void 0 === columnId ? {
|
|
50
66
|
rowId
|
|
@@ -53,20 +69,88 @@ const clickedSelection = (target)=>{
|
|
|
53
69
|
columnId
|
|
54
70
|
};
|
|
55
71
|
};
|
|
72
|
+
const clickedValue = (target)=>{
|
|
73
|
+
const chip = target instanceof Element ? target.closest('[data-value-index]') : null;
|
|
74
|
+
const hit = valueTokenAt(chip);
|
|
75
|
+
const index = Number(chip?.dataset.valueIndex);
|
|
76
|
+
if (hit && Number.isInteger(index)) return {
|
|
77
|
+
...hit.cell,
|
|
78
|
+
index
|
|
79
|
+
};
|
|
80
|
+
const stop = inputStopAt(target);
|
|
81
|
+
return stop ? {
|
|
82
|
+
...stop,
|
|
83
|
+
index: 0
|
|
84
|
+
} : null;
|
|
85
|
+
};
|
|
56
86
|
const cardOf = (container, rowId)=>[
|
|
57
87
|
...container.querySelectorAll('li[data-row-id]')
|
|
58
88
|
].find((card)=>card.dataset.rowId === rowId);
|
|
59
|
-
const cellOf = (card, columnId)=>
|
|
60
|
-
|
|
61
|
-
|
|
89
|
+
const cellOf = (card, columnId)=>{
|
|
90
|
+
const ofCell = (kind)=>[
|
|
91
|
+
...card.querySelectorAll(`[data-kind="${kind}"]`)
|
|
92
|
+
].find((token)=>token.dataset.columnId === columnId);
|
|
93
|
+
return ofCell('value') ?? ofCell('input');
|
|
94
|
+
};
|
|
95
|
+
const valueChipOf = (card, value)=>[
|
|
96
|
+
...card.querySelectorAll('[data-value-index]')
|
|
97
|
+
].find((token)=>token.dataset.columnId === value.columnId && token.dataset.valueIndex === String(value.index));
|
|
98
|
+
const clickedAction = (target)=>{
|
|
99
|
+
const button = target instanceof Element ? target.closest('[data-rule-action]') : null;
|
|
100
|
+
const rowId = button?.closest('li[data-row-id]')?.dataset.rowId;
|
|
101
|
+
const columnId = button?.dataset.columnId;
|
|
102
|
+
if (!button || !rowId) return null;
|
|
103
|
+
if ('clear' === button.dataset.ruleAction) return columnId ? {
|
|
104
|
+
action: 'clear',
|
|
105
|
+
cell: {
|
|
106
|
+
rowId,
|
|
107
|
+
columnId
|
|
108
|
+
}
|
|
109
|
+
} : null;
|
|
110
|
+
const action = button.dataset.ruleAction;
|
|
111
|
+
if ('delete' === action) return {
|
|
112
|
+
action,
|
|
113
|
+
rowId
|
|
114
|
+
};
|
|
115
|
+
return 'conditions' === action || 'rule' === action ? {
|
|
116
|
+
action,
|
|
117
|
+
rowId,
|
|
118
|
+
trigger: button
|
|
119
|
+
} : null;
|
|
120
|
+
};
|
|
121
|
+
const clickedDecision = (target)=>target instanceof Element ? target.closest('[data-rule-action="decision"]')?.dataset.decisionId : void 0;
|
|
122
|
+
const stopDecisionOf = (target)=>{
|
|
123
|
+
const stop = target instanceof Element ? target.closest('[data-kind]') : null;
|
|
124
|
+
const card = stop?.closest('li[data-row-id]');
|
|
125
|
+
const links = card?.querySelectorAll('[data-rule-action="decision"]') ?? [];
|
|
126
|
+
return [
|
|
127
|
+
...links
|
|
128
|
+
].find((link)=>link.dataset.columnId === stop?.dataset.columnId)?.dataset.decisionId;
|
|
129
|
+
};
|
|
130
|
+
const clickedAddRule = (target)=>target instanceof Element && null !== target.closest('[data-add-rule] button');
|
|
131
|
+
const addConditionOf = (card)=>card.querySelector('[data-rule-action="conditions"]');
|
|
132
|
+
exports.addConditionOf = __webpack_exports__.addConditionOf;
|
|
62
133
|
exports.cardOf = __webpack_exports__.cardOf;
|
|
63
134
|
exports.cellOf = __webpack_exports__.cellOf;
|
|
135
|
+
exports.clickedAction = __webpack_exports__.clickedAction;
|
|
136
|
+
exports.clickedAddRule = __webpack_exports__.clickedAddRule;
|
|
137
|
+
exports.clickedDecision = __webpack_exports__.clickedDecision;
|
|
64
138
|
exports.clickedSelection = __webpack_exports__.clickedSelection;
|
|
139
|
+
exports.clickedValue = __webpack_exports__.clickedValue;
|
|
140
|
+
exports.stopDecisionOf = __webpack_exports__.stopDecisionOf;
|
|
141
|
+
exports.valueChipOf = __webpack_exports__.valueChipOf;
|
|
65
142
|
exports.valueTokenAt = __webpack_exports__.valueTokenAt;
|
|
66
143
|
for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
144
|
+
"addConditionOf",
|
|
67
145
|
"cardOf",
|
|
68
146
|
"cellOf",
|
|
147
|
+
"clickedAction",
|
|
148
|
+
"clickedAddRule",
|
|
149
|
+
"clickedDecision",
|
|
69
150
|
"clickedSelection",
|
|
151
|
+
"clickedValue",
|
|
152
|
+
"stopDecisionOf",
|
|
153
|
+
"valueChipOf",
|
|
70
154
|
"valueTokenAt"
|
|
71
155
|
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
|
|
72
156
|
Object.defineProperty(exports, '__esModule', {
|