@uipath/apollo-react 7.25.0 → 7.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/canvas/styles/tailwind.canvas.css +1 -1
- package/dist/chat/styles/tailwind.chat.css +1 -1
- package/dist/decision-table/DecisionGraphText.cjs +2 -2
- package/dist/decision-table/DecisionGraphText.d.ts +0 -2
- package/dist/decision-table/DecisionGraphText.d.ts.map +1 -1
- package/dist/decision-table/DecisionGraphText.js +2 -2
- package/dist/decision-table/DecisionText.cjs +12 -4
- package/dist/decision-table/DecisionText.d.ts +21 -24
- package/dist/decision-table/DecisionText.d.ts.map +1 -1
- package/dist/decision-table/DecisionText.js +12 -4
- package/dist/decision-table/__fixtures__/editableSentences.fixtures.d.ts +5 -2
- package/dist/decision-table/__fixtures__/editableSentences.fixtures.d.ts.map +1 -1
- package/dist/decision-table/__fixtures__/storyTableHost.d.ts +2 -3
- package/dist/decision-table/__fixtures__/storyTableHost.d.ts.map +1 -1
- package/dist/decision-table/__fixtures__/textMode.d.ts +12 -0
- package/dist/decision-table/__fixtures__/textMode.d.ts.map +1 -0
- package/dist/decision-table/decisionTextTypes.d.ts +1 -1
- package/dist/decision-table/decisionTextTypes.d.ts.map +1 -1
- package/dist/decision-table/index.cjs +19 -7
- package/dist/decision-table/index.d.ts +3 -4
- package/dist/decision-table/index.d.ts.map +1 -1
- package/dist/decision-table/index.js +2 -1
- package/dist/decision-table/locales/de.cjs +1 -1
- package/dist/decision-table/locales/de.d.ts.map +1 -1
- package/dist/decision-table/locales/de.js +1 -1
- package/dist/decision-table/locales/en.cjs +1 -1
- package/dist/decision-table/locales/en.d.ts.map +1 -1
- package/dist/decision-table/locales/en.js +1 -1
- package/dist/decision-table/locales/es-MX.cjs +1 -1
- package/dist/decision-table/locales/es-MX.d.ts.map +1 -1
- package/dist/decision-table/locales/es-MX.js +1 -1
- package/dist/decision-table/locales/es.cjs +1 -1
- package/dist/decision-table/locales/es.d.ts.map +1 -1
- package/dist/decision-table/locales/es.js +1 -1
- package/dist/decision-table/locales/fr.cjs +1 -1
- package/dist/decision-table/locales/fr.d.ts.map +1 -1
- package/dist/decision-table/locales/fr.js +1 -1
- package/dist/decision-table/locales/ja.cjs +1 -1
- package/dist/decision-table/locales/ja.d.ts.map +1 -1
- package/dist/decision-table/locales/ja.js +1 -1
- package/dist/decision-table/locales/ko.cjs +1 -1
- package/dist/decision-table/locales/ko.d.ts.map +1 -1
- package/dist/decision-table/locales/ko.js +1 -1
- package/dist/decision-table/locales/pt-BR.cjs +1 -1
- package/dist/decision-table/locales/pt-BR.d.ts.map +1 -1
- package/dist/decision-table/locales/pt-BR.js +1 -1
- package/dist/decision-table/locales/pt.cjs +1 -1
- package/dist/decision-table/locales/pt.d.ts.map +1 -1
- package/dist/decision-table/locales/pt.js +1 -1
- package/dist/decision-table/locales/ro.cjs +1 -1
- package/dist/decision-table/locales/ro.d.ts.map +1 -1
- package/dist/decision-table/locales/ro.js +1 -1
- package/dist/decision-table/locales/ru.cjs +1 -1
- package/dist/decision-table/locales/ru.d.ts.map +1 -1
- package/dist/decision-table/locales/ru.js +1 -1
- package/dist/decision-table/locales/tr.cjs +1 -1
- package/dist/decision-table/locales/tr.d.ts.map +1 -1
- package/dist/decision-table/locales/tr.js +1 -1
- package/dist/decision-table/locales/zh-CN.cjs +1 -1
- package/dist/decision-table/locales/zh-CN.d.ts.map +1 -1
- package/dist/decision-table/locales/zh-CN.js +1 -1
- package/dist/decision-table/locales/zh-TW.cjs +1 -1
- package/dist/decision-table/locales/zh-TW.d.ts.map +1 -1
- package/dist/decision-table/locales/zh-TW.js +1 -1
- package/dist/decision-table/sentenceGridSelection.cjs +57 -0
- package/dist/decision-table/sentenceGridSelection.d.ts +6 -0
- package/dist/decision-table/sentenceGridSelection.d.ts.map +1 -0
- package/dist/decision-table/sentenceGridSelection.js +20 -0
- package/dist/decision-table/sentenceSelection.cjs +59 -0
- package/dist/decision-table/sentenceSelection.d.ts +6 -0
- package/dist/decision-table/sentenceSelection.d.ts.map +1 -0
- package/dist/decision-table/sentenceSelection.js +16 -0
- package/dist/decision-table/sentenceTargets.cjs +9 -13
- package/dist/decision-table/sentenceTargets.d.ts.map +1 -1
- package/dist/decision-table/sentenceTargets.js +2 -6
- package/dist/decision-table/sentenceTypes.d.ts +12 -6
- 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/useDecisionGraphStrings.cjs +3 -7
- package/dist/decision-table/useDecisionGraphStrings.d.ts +1 -1
- package/dist/decision-table/useDecisionGraphStrings.d.ts.map +1 -1
- package/dist/decision-table/useDecisionGraphStrings.js +4 -8
- package/dist/decision-table/useDecisionTextStrings.cjs +10 -21
- package/dist/decision-table/useDecisionTextStrings.d.ts +2 -3
- package/dist/decision-table/useDecisionTextStrings.d.ts.map +1 -1
- package/dist/decision-table/useDecisionTextStrings.js +9 -17
- package/dist/decision-table/useSentenceNavigation.cjs +8 -12
- package/dist/decision-table/useSentenceNavigation.d.ts.map +1 -1
- package/dist/decision-table/useSentenceNavigation.js +8 -12
- package/dist/decision-table/useValueEditing.cjs +16 -29
- package/dist/decision-table/useValueEditing.d.ts.map +1 -1
- package/dist/decision-table/useValueEditing.js +16 -29
- package/package.json +2 -2
|
@@ -109,8 +109,8 @@ const perRuleHeightOf = (heights, ruleCounts)=>{
|
|
|
109
109
|
}
|
|
110
110
|
return 0 === rules ? external_sentenceRuleHeights_cjs_namespaceObject.SENTENCE_MIN_RULE_HEIGHT_PX : height / rules;
|
|
111
111
|
};
|
|
112
|
-
const DecisionGraphText = ({ nodes, renderBody, expanded: hostExpanded, onExpandedChange, onFold, selected = null, onReveal, onOpenDecision, rules,
|
|
113
|
-
const labels = (0, external_useDecisionGraphStrings_cjs_namespaceObject.useDecisionGraphLabels)(
|
|
112
|
+
const DecisionGraphText = ({ nodes, renderBody, expanded: hostExpanded, onExpandedChange, onFold, selected = null, onReveal, onOpenDecision, rules, dataTestId })=>{
|
|
113
|
+
const labels = (0, external_useDecisionGraphStrings_cjs_namespaceObject.useDecisionGraphLabels)();
|
|
114
114
|
const idPrefix = (0, external_react_namespaceObject.useId)();
|
|
115
115
|
const [ownExpanded, setOwnExpanded] = (0, external_react_namespaceObject.useState)(NO_EXPANDED);
|
|
116
116
|
const expanded = hostExpanded ?? ownExpanded;
|
|
@@ -2,7 +2,6 @@ import type React from 'react';
|
|
|
2
2
|
import { type DecisionGraphMinimapSlotProps } from './DecisionGraphMinimapSlot';
|
|
3
3
|
import type { DecisionGraphNode, DecisionGraphTarget } from './decisionGraphTypes';
|
|
4
4
|
import type { ContainerHandlersParams } from './useContainerHandlers';
|
|
5
|
-
import { type DecisionGraphLabels } from './useDecisionGraphStrings';
|
|
6
5
|
import { type DecisionTextScroll } from './useRuleWindow';
|
|
7
6
|
export interface DecisionGraphTextProps {
|
|
8
7
|
nodes: readonly DecisionGraphNode[];
|
|
@@ -14,7 +13,6 @@ export interface DecisionGraphTextProps {
|
|
|
14
13
|
onReveal?: (target: DecisionGraphTarget) => void;
|
|
15
14
|
onOpenDecision?: ContainerHandlersParams['onOpenDecision'];
|
|
16
15
|
rules?: DecisionGraphMinimapSlotProps['rules'];
|
|
17
|
-
labels?: Partial<DecisionGraphLabels>;
|
|
18
16
|
dataTestId: string;
|
|
19
17
|
}
|
|
20
18
|
export declare const DecisionGraphText: React.FC<DecisionGraphTextProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DecisionGraphText.d.ts","sourceRoot":"","sources":["../../src/decision-table/DecisionGraphText.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAEL,KAAK,6BAA6B,EACnC,MAAM,4BAA4B,CAAC;AAWpC,OAAO,KAAK,EAEV,iBAAiB,EACjB,mBAAmB,EACpB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM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Counts)=>{
|
|
|
81
81
|
}
|
|
82
82
|
return 0 === rules ? SENTENCE_MIN_RULE_HEIGHT_PX : height / rules;
|
|
83
83
|
};
|
|
84
|
-
const DecisionGraphText = ({ nodes, renderBody, expanded: hostExpanded, onExpandedChange, onFold, selected = null, onReveal, onOpenDecision, rules,
|
|
85
|
-
const labels = useDecisionGraphLabels(
|
|
84
|
+
const DecisionGraphText = ({ nodes, renderBody, expanded: hostExpanded, onExpandedChange, onFold, selected = null, onReveal, onOpenDecision, rules, dataTestId })=>{
|
|
85
|
+
const labels = useDecisionGraphLabels();
|
|
86
86
|
const idPrefix = useId();
|
|
87
87
|
const [ownExpanded, setOwnExpanded] = useState(NO_EXPANDED);
|
|
88
88
|
const expanded = hostExpanded ?? ownExpanded;
|
|
@@ -71,10 +71,18 @@ const nameTokensOf = (bands)=>{
|
|
|
71
71
|
text: columnId
|
|
72
72
|
};
|
|
73
73
|
};
|
|
74
|
-
const DecisionText = ({ rules, inputs, outputs, header, numbered = false, marks = external_marks_cjs_namespaceObject.EMPTY_MARKS,
|
|
74
|
+
const DecisionText = ({ rules, inputs, outputs, header, numbered = false, marks = external_marks_cjs_namespaceObject.EMPTY_MARKS, onCellHover, mode, headerMark, onOpenDecision, scroll = 'self', ariaLabel, containerProps, dataTestId, children })=>{
|
|
75
|
+
const selected = 'diff' === mode.kind ? null : mode.selected;
|
|
76
|
+
const onSelect = 'select' === mode.kind || 'edit' === mode.kind ? mode.onSelect : void 0;
|
|
77
|
+
const diff = 'diff' === mode.kind ? mode.diff : void 0;
|
|
75
78
|
const idPrefix = (0, external_react_namespaceObject.useId)();
|
|
76
|
-
const labels = (0, external_useDecisionTextStrings_cjs_namespaceObject.useDecisionTextLabels)(
|
|
77
|
-
const
|
|
79
|
+
const labels = (0, external_useDecisionTextStrings_cjs_namespaceObject.useDecisionTextLabels)();
|
|
80
|
+
const hostEdit = 'edit' === mode.kind ? mode.edit : void 0;
|
|
81
|
+
const { edit, refusal } = (0, external_useEditState_cjs_namespaceObject.useEditState)(hostEdit, (0, external_useDecisionTextStrings_cjs_namespaceObject.useDecisionTextEditLabels)());
|
|
82
|
+
const addRule = 'edit' === mode.kind ? {
|
|
83
|
+
label: labels.addRule,
|
|
84
|
+
onAdd: mode.onAddRule
|
|
85
|
+
} : void 0;
|
|
78
86
|
const columns = (0, external_react_namespaceObject.useMemo)(()=>diff && (0, external_decisionTextDiff_cjs_namespaceObject.diffColumnsOf)(inputs, outputs, diff), [
|
|
79
87
|
inputs,
|
|
80
88
|
outputs,
|
|
@@ -168,7 +176,7 @@ const DecisionText = ({ rules, inputs, outputs, header, numbered = false, marks
|
|
|
168
176
|
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_DecisionTextHeader_cjs_namespaceObject.DecisionTextHeader, {
|
|
169
177
|
ref: ruleWindow.headerRef,
|
|
170
178
|
header: header,
|
|
171
|
-
policy:
|
|
179
|
+
policy: 'edit' === mode.kind ? mode.policy : void 0,
|
|
172
180
|
mark: headerMark,
|
|
173
181
|
hitPolicy: diff?.hitPolicy,
|
|
174
182
|
labels: labels,
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
|
-
import type { AddRuleButtonProps } from './AddRuleButton';
|
|
3
2
|
import { type DecisionTextHeaderProps } from './DecisionTextHeader';
|
|
4
3
|
import { type DecisionTextDiff } from './decisionTextDiff';
|
|
5
|
-
import type { DecisionTextEdit
|
|
4
|
+
import type { DecisionTextEdit } from './decisionTextTypes';
|
|
6
5
|
import { type TableMarks } from './marks';
|
|
7
6
|
import type { SentenceBandColumn, SentenceHeader, SentenceRule, SentenceSelection } from './sentenceTypes';
|
|
8
7
|
import { useCellHover } from './useCellHover';
|
|
@@ -16,39 +15,37 @@ interface DecisionTextBaseProps {
|
|
|
16
15
|
header: SentenceHeader;
|
|
17
16
|
numbered?: boolean;
|
|
18
17
|
marks?: TableMarks;
|
|
19
|
-
addRule?: AddRuleButtonProps;
|
|
20
18
|
onCellHover?: Parameters<typeof useCellHover>[0];
|
|
21
|
-
policy?: DecisionTextHeaderProps['policy'];
|
|
22
19
|
headerMark?: DecisionTextHeaderProps['mark'];
|
|
23
20
|
onOpenDecision?: ContainerHandlersParams['onOpenDecision'];
|
|
24
|
-
labels?: Partial<DecisionTextLabels>;
|
|
25
21
|
scroll?: DecisionTextScroll;
|
|
26
22
|
ariaLabel: string;
|
|
27
23
|
containerProps?: DecisionTextContainerProps;
|
|
28
24
|
dataTestId: string;
|
|
29
25
|
children?: React.ReactNode;
|
|
30
26
|
}
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
edit?: undefined;
|
|
35
|
-
diff?: undefined;
|
|
36
|
-
}
|
|
37
|
-
interface DiffDecisionText {
|
|
38
|
-
diff: DecisionTextDiff;
|
|
39
|
-
selected?: undefined;
|
|
40
|
-
onSelect?: undefined;
|
|
41
|
-
edit?: undefined;
|
|
42
|
-
addRule?: undefined;
|
|
43
|
-
policy?: undefined;
|
|
44
|
-
}
|
|
45
|
-
interface EditableDecisionText {
|
|
27
|
+
type SelectHandler = NonNullable<SentenceNavigationSource['onSelect']>;
|
|
28
|
+
export type DecisionTextMode = {
|
|
29
|
+
kind: 'read';
|
|
46
30
|
selected: SentenceSelection | null;
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
31
|
+
} | {
|
|
32
|
+
kind: 'select';
|
|
33
|
+
selected: SentenceSelection | null;
|
|
34
|
+
onSelect: SelectHandler;
|
|
35
|
+
} | {
|
|
36
|
+
kind: 'edit';
|
|
37
|
+
selected: SentenceSelection | null;
|
|
38
|
+
onSelect: SelectHandler;
|
|
39
|
+
edit: DecisionTextEdit;
|
|
40
|
+
onAddRule: () => void;
|
|
41
|
+
policy?: NonNullable<DecisionTextHeaderProps['policy']>;
|
|
42
|
+
} | {
|
|
43
|
+
kind: 'diff';
|
|
44
|
+
diff: DecisionTextDiff;
|
|
45
|
+
};
|
|
46
|
+
export interface DecisionTextProps extends DecisionTextBaseProps {
|
|
47
|
+
mode: DecisionTextMode;
|
|
50
48
|
}
|
|
51
|
-
export type DecisionTextProps = DecisionTextBaseProps & (ReadOnlyDecisionText | EditableDecisionText | DiffDecisionText);
|
|
52
49
|
export declare const DecisionText: React.FC<DecisionTextProps>;
|
|
53
50
|
export {};
|
|
54
51
|
//# sourceMappingURL=DecisionText.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DecisionText.d.ts","sourceRoot":"","sources":["../../src/decision-table/DecisionText.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"DecisionText.d.ts","sourceRoot":"","sources":["../../src/decision-table/DecisionText.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,EAAsB,KAAK,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AACxF,OAAO,EAAE,KAAK,gBAAgB,EAA6B,MAAM,oBAAoB,CAAC;AACtF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAI5D,OAAO,EAAe,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC;AAMvD,OAAO,KAAK,EAEV,kBAAkB,EAClB,cAAc,EAEd,YAAY,EACZ,iBAAiB,EAClB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,OAAO,EACL,KAAK,uBAAuB,EAC5B,KAAK,0BAA0B,EAEhC,MAAM,wBAAwB,CAAC;AAKhC,OAAO,EAAE,KAAK,kBAAkB,EAAiB,MAAM,iBAAiB,CAAC;AACzE,OAAO,EAAE,KAAK,wBAAwB,EAAyB,MAAM,yBAAyB,CAAC;AAI/F,UAAU,qBAAqB;IAC7B,KAAK,EAAE,SAAS,YAAY,EAAE,CAAC;IAE/B,MAAM,EAAE,SAAS,kBAAkB,EAAE,CAAC;IAEtC,OAAO,EAAE,SAA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EAAE,gBAAgB,CAAC;CACxB;AAmBD,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CA0MpD,CAAC"}
|
|
@@ -43,10 +43,18 @@ const nameTokensOf = (bands)=>{
|
|
|
43
43
|
text: columnId
|
|
44
44
|
};
|
|
45
45
|
};
|
|
46
|
-
const DecisionText = ({ rules, inputs, outputs, header, numbered = false, marks = EMPTY_MARKS,
|
|
46
|
+
const DecisionText = ({ rules, inputs, outputs, header, numbered = false, marks = EMPTY_MARKS, onCellHover, mode, headerMark, onOpenDecision, scroll = 'self', ariaLabel, containerProps, dataTestId, children })=>{
|
|
47
|
+
const selected = 'diff' === mode.kind ? null : mode.selected;
|
|
48
|
+
const onSelect = 'select' === mode.kind || 'edit' === mode.kind ? mode.onSelect : void 0;
|
|
49
|
+
const diff = 'diff' === mode.kind ? mode.diff : void 0;
|
|
47
50
|
const idPrefix = useId();
|
|
48
|
-
const labels = useDecisionTextLabels(
|
|
49
|
-
const
|
|
51
|
+
const labels = useDecisionTextLabels();
|
|
52
|
+
const hostEdit = 'edit' === mode.kind ? mode.edit : void 0;
|
|
53
|
+
const { edit, refusal } = useEditState(hostEdit, useDecisionTextEditLabels());
|
|
54
|
+
const addRule = 'edit' === mode.kind ? {
|
|
55
|
+
label: labels.addRule,
|
|
56
|
+
onAdd: mode.onAddRule
|
|
57
|
+
} : void 0;
|
|
50
58
|
const columns = useMemo(()=>diff && diffColumnsOf(inputs, outputs, diff), [
|
|
51
59
|
inputs,
|
|
52
60
|
outputs,
|
|
@@ -140,7 +148,7 @@ const DecisionText = ({ rules, inputs, outputs, header, numbered = false, marks
|
|
|
140
148
|
/*#__PURE__*/ jsx(DecisionTextHeader, {
|
|
141
149
|
ref: ruleWindow.headerRef,
|
|
142
150
|
header: header,
|
|
143
|
-
policy:
|
|
151
|
+
policy: 'edit' === mode.kind ? mode.policy : void 0,
|
|
144
152
|
mark: headerMark,
|
|
145
153
|
hitPolicy: diff?.hitPolicy,
|
|
146
154
|
labels: labels,
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import type { SentenceBandColumn, SentenceCellId, SentenceNameToken, SentenceRule, SentenceValueId } from '../sentenceTypes';
|
|
2
2
|
import type { RangeEnds, ValueCommit } from '../valueTypes';
|
|
3
3
|
import type { SentenceColumns } from './sentences.fixtures';
|
|
4
|
-
type EditableColumn = Pick<SentenceBandColumn, 'id' | 'name'
|
|
4
|
+
type EditableColumn = Pick<SentenceBandColumn, 'id' | 'name'>;
|
|
5
|
+
type EditableInput = EditableColumn & Pick<Extract<SentenceNameToken, {
|
|
6
|
+
kind: 'input';
|
|
7
|
+
}>, 'producedBy'>;
|
|
5
8
|
interface EditableCondition {
|
|
6
9
|
inputId: string;
|
|
7
10
|
operator: string;
|
|
@@ -15,7 +18,7 @@ interface EditableRule {
|
|
|
15
18
|
conditions: EditableCondition[];
|
|
16
19
|
}
|
|
17
20
|
export interface EditableTable {
|
|
18
|
-
inputs:
|
|
21
|
+
inputs: EditableInput[];
|
|
19
22
|
outputs: EditableColumn[];
|
|
20
23
|
rules: EditableRule[];
|
|
21
24
|
nextId: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editableSentences.fixtures.d.ts","sourceRoot":"","sources":["../../../src/decision-table/__fixtures__/editableSentences.fixtures.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,kBAAkB,EAClB,cAAc,EAEd,iBAAiB,EAEjB,YAAY,EACZ,eAAe,EAChB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAG5D,KAAK,cAAc,GAAG,IAAI,CAAC,kBAAkB,EAAE,IAAI,GAAG,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"editableSentences.fixtures.d.ts","sourceRoot":"","sources":["../../../src/decision-table/__fixtures__/editableSent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ableHost {
|
|
|
20
20
|
onSelect: (selection: SentenceSelection | null) => void;
|
|
21
21
|
onMoreProperties: (columnId: string) => void;
|
|
22
22
|
renderEditor?: DecisionTextEdit['renderEditor'];
|
|
23
|
-
editLabels?: DecisionTextEdit['labels'];
|
|
24
23
|
}
|
|
25
|
-
export declare const storyTableProps: ({ state, onChange, onSelect, onMoreProperties, renderEditor,
|
|
24
|
+
export declare const storyTableProps: ({ state, onChange, onSelect, onMoreProperties, renderEditor, }: StoryTableHost) => {
|
|
26
25
|
columns: {
|
|
27
26
|
inputs: {
|
|
28
27
|
type: import("..").SentenceValueType | undefined;
|
|
@@ -43,6 +42,6 @@ export declare const storyTableProps: ({ state, onChange, onSelect, onMoreProper
|
|
|
43
42
|
};
|
|
44
43
|
edit: DecisionTextEdit;
|
|
45
44
|
policy: Omit<import("..").PolicyPickerProps, "dataTestId" | "describedBy">;
|
|
46
|
-
|
|
45
|
+
onAddRule: () => void;
|
|
47
46
|
};
|
|
48
47
|
//# sourceMappingURL=storyTableHost.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"storyTableHost.d.ts","sourceRoot":"","sources":["../../../src/decision-table/__fixtures__/storyTableHost.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAiC,MAAM,kBAAkB,CAAC;AAEpF,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AACvE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAE7D,OAAO,KAAK,EAAsC,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAE9F,OAAO,EACL,KAAK,aAAa,EAanB,MAAM,8BAA8B,CAAC;AAItC,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAC;AAElD,eAAO,MAAM,cAAc,aAA6B,CAAC;AAwDzD,MAAM,MAAM,WAAW,GAAG,QAAQ,CAAC,MAAM,CAAC,MAAM,EA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U,CAAC;IAClB,QAAQ,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAC;IACrC,QAAQ,EAAE,CAAC,SAAS,EAAE,iBAAiB,GAAG,IAAI,KAAK,IAAI,CAAC;IACxD,gBAAgB,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C,YAAY,CAAC,EAAE,gBAAgB,CAAC,cAAc,CAAC,CAAC;CACjD;AAGD,eAAO,MAAM,eAAe,GAAI,gEAM7B,cAAc;;;;;;;;;;;;;;;;;;;;;;CAmEhB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { DecisionTextMode, DecisionTextProps } from '../DecisionText';
|
|
2
|
+
type EditMode = Extract<DecisionTextMode, {
|
|
3
|
+
kind: 'edit';
|
|
4
|
+
}>;
|
|
5
|
+
export type ModeProps = Partial<Pick<EditMode, 'selected' | 'onSelect' | 'edit' | 'onAddRule' | 'policy'> & Pick<Extract<DecisionTextMode, {
|
|
6
|
+
kind: 'diff';
|
|
7
|
+
}>, 'diff'>>;
|
|
8
|
+
export type FlatTextProps = Omit<DecisionTextProps, 'mode'> & ModeProps;
|
|
9
|
+
export declare const modeOf: ({ selected, onSelect, edit, onAddRule, policy, diff, }: ModeProps) => DecisionTextMode;
|
|
10
|
+
export declare const textPropsOf: ({ selected, onSelect, edit, onAddRule, policy, diff, ...props }: FlatTextProps) => DecisionTextProps;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=textMode.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"textMode.d.ts","sourceRoot":"","sources":["../../../src/decision-table/__fixtures__/textMode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAE3E,KAAK,QAAQ,GAAG,OAAO,CAAC,gBAAgB,EAAE;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC;AAG5D,MAAM,MAAM,SAAS,GAAG,OAAO,CAC7B,IAAI,CAAC,QAAQ,EAAE,UAAU,GAAG,UAAU,GAAG,MAAM,GAAG,WAAW,GAAG,QAAQ,CAAC,GACvE,IAAI,CAAC,OAAO,CAAC,gBAAgB,EAAE;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC,EAAE,MAAM,CAAC,CAC5D,CAAC;AAGF,MAAM,MAAM,aAAa,GAAG,IAAI,CAAC,iBAAiB,EAAE,MAAM,CAAC,GAAG,SAAS,CAAC;AAKxE,eAAO,MAAM,MAAM,GAAI,wDAOpB,SAAS,KAAG,gBAad,CAAC;AAGF,eAAO,MAAM,WAAW,GAAI,iEAQzB,aAAa,KAAG,iBAGjB,CAAC"}
|
|
@@ -10,6 +10,7 @@ import type { ValuePopoverLabels, ValuePopoverProps } from './ValuePopover';
|
|
|
10
10
|
import type { ValueCommit } from './valueTypes';
|
|
11
11
|
export interface DecisionTextLabels extends RuleCardLabels, BandLabels, DiffLabels {
|
|
12
12
|
emptyRules: string;
|
|
13
|
+
addRule: string;
|
|
13
14
|
}
|
|
14
15
|
export interface DecisionTextEditLabels extends RuleCardEditLabels, ValuePopoverLabels, ColumnPopoverLabels, RuleMenuLabels {
|
|
15
16
|
newCondition: (column: string, position: number) => string;
|
|
@@ -24,7 +25,6 @@ export interface DecisionTextEdit extends RuleMenuActions {
|
|
|
24
25
|
renderEditor?: ValuePopoverProps['renderEditor'];
|
|
25
26
|
column?: ColumnEdit;
|
|
26
27
|
onClearCell: (cell: SentenceCellId) => void;
|
|
27
|
-
labels?: Partial<DecisionTextEditLabels>;
|
|
28
28
|
}
|
|
29
29
|
export type ViewEdit = Omit<DecisionTextEdit, 'labels'> & Required<Pick<DecisionTextEdit, 'editing' | 'onStartEdit' | 'onCancel'>> & {
|
|
30
30
|
labels: DecisionTextEditLabels;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"decisionTextTypes.d.ts","sourceRoot":"","sources":["../../src/decision-table/decisionTextTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,KAAK,EAAE,UAAU,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACvE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AACrD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACzE,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AACvE,OAAO,KAAK,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAC5E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAGhD,MAAM,WAAW,kBAAmB,SAAQ,cAAc,EAAE,UAAU,EAAE,UAAU;IAChF,UAAU,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"decisionTextTypes.d.ts","sourceRoot":"","sources":["../../src/decision-table/decisionTextTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,KAAK,EAAE,UAAU,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACvE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AACrD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,EAAE,eAAe,EAAE,cA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,CAAC,gBAAgB,EAAE,SAAS,GAAG,aAAa,GAAG,UAAU,CAAC,CAAC,GAAG;IACzE,MAAM,EAAE,sBAAsB,CAAC;CAChC,CAAC"}
|
|
@@ -39,6 +39,9 @@ var __webpack_modules__ = {
|
|
|
39
39
|
"./marks" (module) {
|
|
40
40
|
module.exports = require("./marks.cjs");
|
|
41
41
|
},
|
|
42
|
+
"./sentenceGridSelection" (module) {
|
|
43
|
+
module.exports = require("./sentenceGridSelection.cjs");
|
|
44
|
+
},
|
|
42
45
|
"./useDragReorder" (module) {
|
|
43
46
|
module.exports = require("./useDragReorder.cjs");
|
|
44
47
|
},
|
|
@@ -135,11 +138,13 @@ var __webpack_exports__ = {};
|
|
|
135
138
|
isFromTextField: ()=>_gridEvents__rspack_import_8.isFromTextField,
|
|
136
139
|
isRedoKey: ()=>_gridEvents__rspack_import_8.isRedoKey,
|
|
137
140
|
isUndoKey: ()=>_gridEvents__rspack_import_8.isUndoKey,
|
|
138
|
-
normalizedRect: ()=>
|
|
141
|
+
normalizedRect: ()=>_useGridNavigation__rspack_import_16.normalizedRect,
|
|
139
142
|
renderRestingCellContent: ()=>_GridCell__rspack_import_6.renderRestingCellContent,
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
+
selectSentenceInGrid: ()=>_sentenceGridSelection__rspack_import_13.selectSentenceInGrid,
|
|
144
|
+
sentenceSelectionOf: ()=>_sentenceGridSelection__rspack_import_13.sentenceSelectionOf,
|
|
145
|
+
useDragSelection: ()=>_useDragSelection__rspack_import_15.useDragSelection,
|
|
146
|
+
useGridNavigation: ()=>_useGridNavigation__rspack_import_16.useGridNavigation,
|
|
147
|
+
usePressDrag: ()=>_useDragReorder__rspack_import_14.usePressDrag
|
|
143
148
|
});
|
|
144
149
|
var _constants__rspack_import_0 = __webpack_require__("./constants");
|
|
145
150
|
var _DecisionTable__rspack_import_1 = __webpack_require__("./DecisionTable");
|
|
@@ -167,6 +172,7 @@ var __webpack_exports__ = {};
|
|
|
167
172
|
"FROZEN_RIGHT_GROUP_CELL_CLASS",
|
|
168
173
|
"ROW_MARK_OVERLAY_CLASS",
|
|
169
174
|
"FROZEN_RIGHT_CELL_CLASS",
|
|
175
|
+
"sentenceSelectionOf",
|
|
170
176
|
"useDragSelection",
|
|
171
177
|
"BREADCRUMB_POINT_STYLE",
|
|
172
178
|
"BODY_CELL_CLASS",
|
|
@@ -193,6 +199,7 @@ var __webpack_exports__ = {};
|
|
|
193
199
|
"FROZEN_RIGHT_HEADER_CELL_CLASS",
|
|
194
200
|
"GridCell",
|
|
195
201
|
"MONO_CELL_TEXT_CLASS",
|
|
202
|
+
"selectSentenceInGrid",
|
|
196
203
|
"normalizedRect",
|
|
197
204
|
"ROW_NUMBER_CELL_CLASS",
|
|
198
205
|
"isUndoKey",
|
|
@@ -206,9 +213,10 @@ var __webpack_exports__ = {};
|
|
|
206
213
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
207
214
|
var _MarkGlyph__rspack_import_11 = __webpack_require__("./MarkGlyph");
|
|
208
215
|
var _marks__rspack_import_12 = __webpack_require__("./marks");
|
|
209
|
-
var
|
|
210
|
-
var
|
|
211
|
-
var
|
|
216
|
+
var _sentenceGridSelection__rspack_import_13 = __webpack_require__("./sentenceGridSelection");
|
|
217
|
+
var _useDragReorder__rspack_import_14 = __webpack_require__("./useDragReorder");
|
|
218
|
+
var _useDragSelection__rspack_import_15 = __webpack_require__("./useDragSelection");
|
|
219
|
+
var _useGridNavigation__rspack_import_16 = __webpack_require__("./useGridNavigation");
|
|
212
220
|
})();
|
|
213
221
|
exports.BAND_BOUNDARY_CLASS = __webpack_exports__.BAND_BOUNDARY_CLASS;
|
|
214
222
|
exports.BAND_LABEL_ROW_CLASS = __webpack_exports__.BAND_LABEL_ROW_CLASS;
|
|
@@ -254,6 +262,8 @@ exports.isRedoKey = __webpack_exports__.isRedoKey;
|
|
|
254
262
|
exports.isUndoKey = __webpack_exports__.isUndoKey;
|
|
255
263
|
exports.normalizedRect = __webpack_exports__.normalizedRect;
|
|
256
264
|
exports.renderRestingCellContent = __webpack_exports__.renderRestingCellContent;
|
|
265
|
+
exports.selectSentenceInGrid = __webpack_exports__.selectSentenceInGrid;
|
|
266
|
+
exports.sentenceSelectionOf = __webpack_exports__.sentenceSelectionOf;
|
|
257
267
|
exports.useDragSelection = __webpack_exports__.useDragSelection;
|
|
258
268
|
exports.useGridNavigation = __webpack_exports__.useGridNavigation;
|
|
259
269
|
exports.usePressDrag = __webpack_exports__.usePressDrag;
|
|
@@ -302,6 +312,8 @@ for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
|
302
312
|
"isUndoKey",
|
|
303
313
|
"normalizedRect",
|
|
304
314
|
"renderRestingCellContent",
|
|
315
|
+
"selectSentenceInGrid",
|
|
316
|
+
"sentenceSelectionOf",
|
|
305
317
|
"useDragSelection",
|
|
306
318
|
"useGridNavigation",
|
|
307
319
|
"usePressDrag"
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
export type { AddRuleButtonProps } from './AddRuleButton';
|
|
2
1
|
export type { ColumnChange, ColumnEdit, ColumnField, ColumnTypeOption } from './ColumnPopover';
|
|
3
2
|
export type { SizedColumn } from './columnSizing';
|
|
4
3
|
export { BODY_ROW_HEIGHT_PX, EMPTY_VALUE_DASH, ROW_NUMBER_WIDTH } from './constants';
|
|
5
4
|
export { DecisionTable, type DecisionTableProps, type HeaderCellContext } from './DecisionTable';
|
|
6
5
|
export { DecisionGraphText, type DecisionGraphTextProps } from './DecisionGraphText';
|
|
7
6
|
export type { DecisionGraphDecisionNode, DecisionGraphNode, DecisionGraphReferenceNode, DecisionGraphTarget, } from './decisionGraphTypes';
|
|
8
|
-
export { DecisionText, type DecisionTextProps } from './DecisionText';
|
|
7
|
+
export { DecisionText, type DecisionTextMode, type DecisionTextProps } from './DecisionText';
|
|
9
8
|
export type { DecisionTextDiff, DiffChange, DiffColumnChange, DiffRemovedColumn, DiffRemovedRule, DiffRuleChange, DiffValueChange, } from './decisionTextDiff';
|
|
10
9
|
export { DragIndicator, type DragIndicatorProps } from './DragIndicator';
|
|
11
|
-
export type { DecisionTextEdit
|
|
10
|
+
export type { DecisionTextEdit } from './decisionTextTypes';
|
|
12
11
|
export { EdgeInsertButton, type EdgeInsertButtonProps } from './EdgeInsertButton';
|
|
13
12
|
export { GridCell, type GridCellProps, renderRestingCellContent } from './GridCell';
|
|
14
13
|
export { GridContextMenu, type GridContextMenuProps, type GridContextMenuState, type GridMenuEntry, type GridMenuItem, } from './GridMenu';
|
|
@@ -20,10 +19,10 @@ export { MarkGlyph } from './MarkGlyph';
|
|
|
20
19
|
export { EMPTY_MARKS, type Mark, type MarkTone, type RowMark, type TableMarks } from './marks';
|
|
21
20
|
export type { PolicyOption } from './PolicyOptionItem';
|
|
22
21
|
export type { PolicyGroup, PolicyPickerProps } from './PolicyPicker';
|
|
22
|
+
export { type GridColumnIds, selectSentenceInGrid, sentenceSelectionOf, } from './sentenceGridSelection';
|
|
23
23
|
export type { GlyphTone } from './sentenceMarks';
|
|
24
24
|
export type { SentenceBandColumn, SentenceCellId, SentenceHeader, SentenceLine, SentenceNameToken, SentencePart, SentenceRule, SentenceSelection, SentenceToken, SentenceValueId, SentenceValueToken, SentenceValueType, } from './sentenceTypes';
|
|
25
25
|
export type { DecisionTextContainerProps } from './useContainerHandlers';
|
|
26
|
-
export type { DecisionGraphLabels } from './useDecisionGraphStrings';
|
|
27
26
|
export type { DecisionTextScroll } from './useRuleWindow';
|
|
28
27
|
export { usePressDrag } from './useDragReorder';
|
|
29
28
|
export { useDragSelection } from './useDragSelection';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/decision-table/index.ts"],"names":[],"mappings":"AAMA,YAAY,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/decision-table/index.ts"],"names":[],"mappings":"AAMA,YAAY,EAAE,YAAY,EAAE,UAAU,EAAE,WAAW,E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AE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,WAAW,EAChB,KAAK,cAAc,EACnB,KAAK,qBAAqB,EAC1B,KAAK,YAAY,EACjB,KAAK,SAAS,EACd,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,cAAc,EACd,KAAK,gBAAgB,EACrB,KAAK,OAAO,EACZ,iBAAiB,GAClB,MAAM,qBAAqB,CAAC;AAC7B,YAAY,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACxD,YAAY,EACV,sBAAsB,EACtB,qBAAqB,EACrB,SAAS,EACT,WAAW,EACX,UAAU,EACV,mBAAmB,EACnB,UAAU,GACX,MAAM,cAAc,CAAC"}
|
|
@@ -10,8 +10,9 @@ import { commitMoveFor, emptyAreaPressHandler, isFromTextField, isRedoKey, isUnd
|
|
|
10
10
|
import { BAND_BOUNDARY_CLASS, BAND_LABEL_ROW_CLASS, BODY_CELL_CLASS, BREADCRUMB_POINT_STYLE, CELL_SURFACE_CLASS, DELETE_ROW_BUTTON_CLASS, DELETE_ROW_CLASS, FOOTER_ACTION_CLASS, FROZEN_RIGHT_CELL_CLASS, FROZEN_RIGHT_GROUP_CELL_CLASS, FROZEN_RIGHT_HEADER_CELL_CLASS, GROUP_TONE_CLASS, HEADER_CELL_CLASS, HEADER_LABEL_ROW_CLASS, IN_RANGE_CLASS, LIVE_NOTE_CLASS, LOCKABLE_ROW_ACTION_BUTTON_CLASS, MONO_CELL_TEXT_CLASS, OUTPUT_BAND_DOT_CLASS, OUTPUT_CELL_TINT_CLASS, OUTPUT_HUE_CLASS, ROW_GUTTER_MARK_CLASS, ROW_MARK_OVERLAY_CLASS, ROW_NUMBER_CELL_CLASS, SEPARATOR_BODY_CELL_CLASS } from "./gridStyles.js";
|
|
11
11
|
import { MarkGlyph } from "./MarkGlyph.js";
|
|
12
12
|
import { EMPTY_MARKS } from "./marks.js";
|
|
13
|
+
import { selectSentenceInGrid, sentenceSelectionOf } from "./sentenceGridSelection.js";
|
|
13
14
|
import { usePressDrag } from "./useDragReorder.js";
|
|
14
15
|
import { useDragSelection } from "./useDragSelection.js";
|
|
15
16
|
import { normalizedRect, useGridNavigation } from "./useGridNavigation.js";
|
|
16
17
|
export * from "./gridTypes.js";
|
|
17
|
-
export { BAND_BOUNDARY_CLASS, BAND_LABEL_ROW_CLASS, BODY_CELL_CLASS, BODY_ROW_HEIGHT_PX, BREADCRUMB_POINT_STYLE, CELL_SURFACE_CLASS, DELETE_ROW_BUTTON_CLASS, DELETE_ROW_CLASS, DecisionGraphText, DecisionTable, DecisionText, DragIndicator, EMPTY_MARKS, EMPTY_VALUE_DASH, EdgeInsertButton, FOOTER_ACTION_CLASS, FROZEN_RIGHT_CELL_CLASS, FROZEN_RIGHT_GROUP_CELL_CLASS, FROZEN_RIGHT_HEADER_CELL_CLASS, GROUP_TONE_CLASS, GridCell, GridContextMenu, HEADER_CELL_CLASS, HEADER_LABEL_ROW_CLASS, IN_RANGE_CLASS, LIVE_NOTE_CLASS, LOCKABLE_ROW_ACTION_BUTTON_CLASS, MONO_CELL_TEXT_CLASS, MarkGlyph, OUTPUT_BAND_DOT_CLASS, OUTPUT_CELL_TINT_CLASS, OUTPUT_HUE_CLASS, ROW_GUTTER_MARK_CLASS, ROW_MARK_OVERLAY_CLASS, ROW_NUMBER_CELL_CLASS, ROW_NUMBER_WIDTH, SEPARATOR_BODY_CELL_CLASS, commitMoveFor, emptyAreaPressHandler, isFromTextField, isRedoKey, isUndoKey, normalizedRect, renderRestingCellContent, useDragSelection, useGridNavigation, usePressDrag };
|
|
18
|
+
export { BAND_BOUNDARY_CLASS, BAND_LABEL_ROW_CLASS, BODY_CELL_CLASS, BODY_ROW_HEIGHT_PX, BREADCRUMB_POINT_STYLE, CELL_SURFACE_CLASS, DELETE_ROW_BUTTON_CLASS, DELETE_ROW_CLASS, DecisionGraphText, DecisionTable, DecisionText, DragIndicator, EMPTY_MARKS, EMPTY_VALUE_DASH, EdgeInsertButton, FOOTER_ACTION_CLASS, FROZEN_RIGHT_CELL_CLASS, FROZEN_RIGHT_GROUP_CELL_CLASS, FROZEN_RIGHT_HEADER_CELL_CLASS, GROUP_TONE_CLASS, GridCell, GridContextMenu, HEADER_CELL_CLASS, HEADER_LABEL_ROW_CLASS, IN_RANGE_CLASS, LIVE_NOTE_CLASS, LOCKABLE_ROW_ACTION_BUTTON_CLASS, MONO_CELL_TEXT_CLASS, MarkGlyph, OUTPUT_BAND_DOT_CLASS, OUTPUT_CELL_TINT_CLASS, OUTPUT_HUE_CLASS, ROW_GUTTER_MARK_CLASS, ROW_MARK_OVERLAY_CLASS, ROW_NUMBER_CELL_CLASS, ROW_NUMBER_WIDTH, SEPARATOR_BODY_CELL_CLASS, commitMoveFor, emptyAreaPressHandler, isFromTextField, isRedoKey, isUndoKey, normalizedRect, renderRestingCellContent, selectSentenceInGrid, sentenceSelectionOf, useDragSelection, useGridNavigation, usePressDrag };
|
|
@@ -26,7 +26,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
26
26
|
__webpack_require__.d(__webpack_exports__, {
|
|
27
27
|
messages: ()=>messages
|
|
28
28
|
});
|
|
29
|
-
const messages = JSON.parse("{\"decision-graph.empty\":[\"No decisions yet\"],\"decision-graph.graph\":[\"Decisions\"],\"decision-graph.minimap\":[\"Browse rules\"],\"decision-graph.minimap_clear\":[\"Clear search\"],\"decision-graph.minimap_decision\":[[\"name\"],\", \",[\"count\",\"plural\",{\"one\":[\"#\",\" rule\"],\"other\":[\"#\",\" rules\"]}]],\"decision-graph.minimap_no_match\":[\"No match for “\",[\"query\"],\"”.\"],\"decision-graph.minimap_reference\":[[\"name\"],\", listed in full elsewhere in this map\"],\"decision-graph.minimap_results\":[[\"count\",\"plural\",{\"one\":[\"#\",\" result\"],\"other\":[\"#\",\" results\"]}]],\"decision-graph.minimap_search\":[\"Search rules and decisions\"],\"decision-graph.rule_count\":[[\"count\",\"plural\",{\"one\":[\"#\",\" rule\"],\"other\":[\"#\",\" rules\"]}]],\"decision-graph.see_above\":[\"See \",[\"name\"],\" above\"],\"decision-graph.show_problem\":[[\"status\"],\". Show it\"],\"decision-graph.used_by\":[\"Used by \",[\"names\"]],\"decision-table.drag_column\":[\"Drag to reorder whole column\"],\"decision-table.drag_row\":[\"Drag to reorder whole row\"],\"decision-table.insert_column_left\":[\"Insert column left\"],\"decision-table.insert_row_above\":[\"Insert row above\"],\"decision-text.add_condition\":[\"Add condition to rule \",[\"position\"]],\"decision-text.add_input\":[\"Add input column\"],\"decision-text.add_value\":[\"Add value\"],\"decision-text.allowed_values\":[\"Allowed values\"],\"decision-text.allowed_values_hint\":[\"Separate values with commas.\"],\"decision-text.apply\":[\"Apply\"],\"decision-text.band_inputs\":[\"Inputs\"],\"decision-text.band_outputs\":[\"Outputs\"],\"decision-text.cancel\":[\"Cancel\"],\"decision-text.cell\":[[\"cell\"],\", rule \",[\"position\"]],\"decision-text.change_add\":[\"Added\"],\"decision-text.change_delete\":[\"Removed\"],\"decision-text.change_update\":[\"Changed\"],\"decision-text.clear\":[\"Clear\"],\"decision-text.clear_outcome\":[\"Clear \",[\"column\"],\" in rule \",[\"position\"]],\"decision-text.clear_rule\":[\"Clear rule\"],\"decision-text.column_label\":[\"Label\"],\"decision-text.condition_matched\":[\"Matched\"],\"decision-text.condition_not_matched\":[\"Not matched\"],\"decision-text.current_value\":[\"now\"],\"decision-text.data_type\":[\"Data type\"],\"decision-text.delete_rule\":[\"Delete rule \",[\"position\"]],\"decision-text.duplicate_rule\":[\"Duplicate rule\"],\"decision-text.edit_expression\":[\"Edit expression\"],\"decision-text.empty_rules\":[\"No rules yet\"],\"decision-text.empty_value\":[\"empty\"],\"decision-text.ends_out_of_order\":[\"From must not be past To\"],\"decision-text.included\":[\"Included\"],\"decision-text.input_column\":[\"Input · \",[\"name\"]],\"decision-text.input_expression\":[\"Input expression\"],\"decision-text.insert_rule_above\":[\"Insert rule above\"],\"decision-text.insert_rule_below\":[\"Insert rule below\"],\"decision-text.mark_error\":[\"Error\"],\"decision-text.mark_status\":[[\"status\"],\": \",[\"message\"]],\"decision-text.mark_warning\":[\"Warning\"],\"decision-text.missing_end\":[\"Enter both ends\"],\"decision-text.missing_input_expression\":[\"This input column has no expression\"],\"decision-text.missing_label\":[\"Enter a label\"],\"decision-text.missing_output_name\":[\"This output column has no name — every output in a multi-output table must be named\"],\"decision-text.missing_value\":[\"Enter a value\"],\"decision-text.more_properties\":[\"More properties\"],\"decision-text.more_values\":[[\"count\",\"plural\",{\"other\":[\"+\",\"#\",\" more\"]}]],\"decision-text.move_rule_down\":[\"Move down\"],\"decision-text.move_rule_up\":[\"Move up\"],\"decision-text.moved_from\":[\"Moved from rule \",[\"number\"]],\"decision-text.new_condition\":[\"New \",[\"column\"],\" condition, rule \",[\"position\"]],\"decision-text.no_value_checked\":[\"Check a value\"],\"decision-text.not_allowed\":[\"Not one of the allowed values\"],\"decision-text.open_decision\":[\"Open \",[\"input\"],\"'s decision\"],\"decision-text.operator\":[\"Operator\"],\"decision-text.output_column\":[\"Output · \",[\"name\"]],\"decision-text.output_name\":[\"Output name\"],\"decision-text.previous_value\":[\"was\"],\"decision-text.range_high\":[\"To\"],\"decision-text.range_low\":[\"From\"],\"decision-text.remove_condition\":[\"Remove \",[\"column\"],\" from rule \",[\"position\"]],\"decision-text.rule_actions\":[\"Rule \",[\"position\"],\" actions\"],\"decision-text.set_value\":[\"Set a value\"],\"decision-text.show_rules\":[\"Show rules \",[\"from\"],\"–\",[\"to\"]],\"decision-text.unchanged_rules\":[[\"count\",\"plural\",{\"one\":[\"#\",\" unchanged rule\"],\"other\":[\"#\",\" unchanged rules\"]}]]}");
|
|
29
|
+
const messages = JSON.parse("{\"decision-graph.empty\":[\"No decisions yet\"],\"decision-graph.graph\":[\"Decisions\"],\"decision-graph.minimap\":[\"Browse rules\"],\"decision-graph.minimap_clear\":[\"Clear search\"],\"decision-graph.minimap_decision\":[[\"name\"],\", \",[\"count\",\"plural\",{\"one\":[\"#\",\" rule\"],\"other\":[\"#\",\" rules\"]}]],\"decision-graph.minimap_no_match\":[\"No match for “\",[\"query\"],\"”.\"],\"decision-graph.minimap_reference\":[[\"name\"],\", listed in full elsewhere in this map\"],\"decision-graph.minimap_results\":[[\"count\",\"plural\",{\"one\":[\"#\",\" result\"],\"other\":[\"#\",\" results\"]}]],\"decision-graph.minimap_search\":[\"Search rules and decisions\"],\"decision-graph.rule_count\":[[\"count\",\"plural\",{\"one\":[\"#\",\" rule\"],\"other\":[\"#\",\" rules\"]}]],\"decision-graph.see_above\":[\"See \",[\"name\"],\" above\"],\"decision-graph.show_problem\":[[\"status\"],\". Show it\"],\"decision-graph.used_by\":[\"Used by \",[\"names\"]],\"decision-table.drag_column\":[\"Drag to reorder whole column\"],\"decision-table.drag_row\":[\"Drag to reorder whole row\"],\"decision-table.insert_column_left\":[\"Insert column left\"],\"decision-table.insert_row_above\":[\"Insert row above\"],\"decision-text.add_condition\":[\"Add condition to rule \",[\"position\"]],\"decision-text.add_input\":[\"Add input column\"],\"decision-text.add_rule\":[\"Add rule\"],\"decision-text.add_value\":[\"Add value\"],\"decision-text.allowed_values\":[\"Allowed values\"],\"decision-text.allowed_values_hint\":[\"Separate values with commas.\"],\"decision-text.apply\":[\"Apply\"],\"decision-text.band_inputs\":[\"Inputs\"],\"decision-text.band_outputs\":[\"Outputs\"],\"decision-text.cancel\":[\"Cancel\"],\"decision-text.cell\":[[\"cell\"],\", rule \",[\"position\"]],\"decision-text.change_add\":[\"Added\"],\"decision-text.change_delete\":[\"Removed\"],\"decision-text.change_update\":[\"Changed\"],\"decision-text.clear\":[\"Clear\"],\"decision-text.clear_outcome\":[\"Clear \",[\"column\"],\" in rule \",[\"position\"]],\"decision-text.clear_rule\":[\"Clear rule\"],\"decision-text.column_label\":[\"Label\"],\"decision-text.condition_matched\":[\"Matched\"],\"decision-text.condition_not_matched\":[\"Not matched\"],\"decision-text.current_value\":[\"now\"],\"decision-text.data_type\":[\"Data type\"],\"decision-text.delete_rule\":[\"Delete rule \",[\"position\"]],\"decision-text.duplicate_rule\":[\"Duplicate rule\"],\"decision-text.edit_expression\":[\"Edit expression\"],\"decision-text.empty_rules\":[\"No rules yet\"],\"decision-text.empty_value\":[\"empty\"],\"decision-text.ends_out_of_order\":[\"From must not be past To\"],\"decision-text.included\":[\"Included\"],\"decision-text.input_column\":[\"Input · \",[\"name\"]],\"decision-text.input_expression\":[\"Input expression\"],\"decision-text.insert_rule_above\":[\"Insert rule above\"],\"decision-text.insert_rule_below\":[\"Insert rule below\"],\"decision-text.mark_error\":[\"Error\"],\"decision-text.mark_status\":[[\"status\"],\": \",[\"message\"]],\"decision-text.mark_warning\":[\"Warning\"],\"decision-text.missing_end\":[\"Enter both ends\"],\"decision-text.missing_input_expression\":[\"This input column has no expression\"],\"decision-text.missing_label\":[\"Enter a label\"],\"decision-text.missing_output_name\":[\"This output column has no name — every output in a multi-output table must be named\"],\"decision-text.missing_value\":[\"Enter a value\"],\"decision-text.more_properties\":[\"More properties\"],\"decision-text.more_values\":[[\"count\",\"plural\",{\"other\":[\"+\",\"#\",\" more\"]}]],\"decision-text.move_rule_down\":[\"Move down\"],\"decision-text.move_rule_up\":[\"Move up\"],\"decision-text.moved_from\":[\"Moved from rule \",[\"number\"]],\"decision-text.new_condition\":[\"New \",[\"column\"],\" condition, rule \",[\"position\"]],\"decision-text.no_value_checked\":[\"Check a value\"],\"decision-text.not_allowed\":[\"Not one of the allowed values\"],\"decision-text.open_decision\":[\"Open \",[\"input\"],\"'s decision\"],\"decision-text.operator\":[\"Operator\"],\"decision-text.output_column\":[\"Output · \",[\"name\"]],\"decision-text.output_name\":[\"Output name\"],\"decision-text.previous_value\":[\"was\"],\"decision-text.range_high\":[\"To\"],\"decision-text.range_low\":[\"From\"],\"decision-text.remove_condition\":[\"Remove \",[\"column\"],\" from rule \",[\"position\"]],\"decision-text.rule_actions\":[\"Rule \",[\"position\"],\" actions\"],\"decision-text.set_value\":[\"Set a value\"],\"decision-text.show_rules\":[\"Show rules \",[\"from\"],\"–\",[\"to\"]],\"decision-text.unchanged_rules\":[[\"count\",\"plural\",{\"one\":[\"#\",\" unchanged rule\"],\"other\":[\"#\",\" unchanged rules\"]}]]}");
|
|
30
30
|
exports.messages = __webpack_exports__.messages;
|
|
31
31
|
for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
32
32
|
"messages"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"de.d.ts","sourceRoot":"","sources":["../../../src/decision-table/locales/de.ts"],"names":[],"mappings":"AAAkB,OAAO,KAAI,EAAC,QAAQ,EAAC,MAAI,cAAc,CAAC;AAAA,eAAO,MAAM,QAAQ,
|
|
1
|
+
{"version":3,"file":"de.d.ts","sourceRoot":"","sources":["../../../src/decision-table/locales/de.ts"],"names":[],"mappings":"AAAkB,OAAO,KAAI,EAAC,QAAQ,EAAC,MAAI,cAAc,CAAC;AAAA,eAAO,MAAM,QAAQ,EAA8oJ,QAAQ,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const messages = JSON.parse("{\"decision-graph.empty\":[\"No decisions yet\"],\"decision-graph.graph\":[\"Decisions\"],\"decision-graph.minimap\":[\"Browse rules\"],\"decision-graph.minimap_clear\":[\"Clear search\"],\"decision-graph.minimap_decision\":[[\"name\"],\", \",[\"count\",\"plural\",{\"one\":[\"#\",\" rule\"],\"other\":[\"#\",\" rules\"]}]],\"decision-graph.minimap_no_match\":[\"No match for “\",[\"query\"],\"”.\"],\"decision-graph.minimap_reference\":[[\"name\"],\", listed in full elsewhere in this map\"],\"decision-graph.minimap_results\":[[\"count\",\"plural\",{\"one\":[\"#\",\" result\"],\"other\":[\"#\",\" results\"]}]],\"decision-graph.minimap_search\":[\"Search rules and decisions\"],\"decision-graph.rule_count\":[[\"count\",\"plural\",{\"one\":[\"#\",\" rule\"],\"other\":[\"#\",\" rules\"]}]],\"decision-graph.see_above\":[\"See \",[\"name\"],\" above\"],\"decision-graph.show_problem\":[[\"status\"],\". Show it\"],\"decision-graph.used_by\":[\"Used by \",[\"names\"]],\"decision-table.drag_column\":[\"Drag to reorder whole column\"],\"decision-table.drag_row\":[\"Drag to reorder whole row\"],\"decision-table.insert_column_left\":[\"Insert column left\"],\"decision-table.insert_row_above\":[\"Insert row above\"],\"decision-text.add_condition\":[\"Add condition to rule \",[\"position\"]],\"decision-text.add_input\":[\"Add input column\"],\"decision-text.add_value\":[\"Add value\"],\"decision-text.allowed_values\":[\"Allowed values\"],\"decision-text.allowed_values_hint\":[\"Separate values with commas.\"],\"decision-text.apply\":[\"Apply\"],\"decision-text.band_inputs\":[\"Inputs\"],\"decision-text.band_outputs\":[\"Outputs\"],\"decision-text.cancel\":[\"Cancel\"],\"decision-text.cell\":[[\"cell\"],\", rule \",[\"position\"]],\"decision-text.change_add\":[\"Added\"],\"decision-text.change_delete\":[\"Removed\"],\"decision-text.change_update\":[\"Changed\"],\"decision-text.clear\":[\"Clear\"],\"decision-text.clear_outcome\":[\"Clear \",[\"column\"],\" in rule \",[\"position\"]],\"decision-text.clear_rule\":[\"Clear rule\"],\"decision-text.column_label\":[\"Label\"],\"decision-text.condition_matched\":[\"Matched\"],\"decision-text.condition_not_matched\":[\"Not matched\"],\"decision-text.current_value\":[\"now\"],\"decision-text.data_type\":[\"Data type\"],\"decision-text.delete_rule\":[\"Delete rule \",[\"position\"]],\"decision-text.duplicate_rule\":[\"Duplicate rule\"],\"decision-text.edit_expression\":[\"Edit expression\"],\"decision-text.empty_rules\":[\"No rules yet\"],\"decision-text.empty_value\":[\"empty\"],\"decision-text.ends_out_of_order\":[\"From must not be past To\"],\"decision-text.included\":[\"Included\"],\"decision-text.input_column\":[\"Input · \",[\"name\"]],\"decision-text.input_expression\":[\"Input expression\"],\"decision-text.insert_rule_above\":[\"Insert rule above\"],\"decision-text.insert_rule_below\":[\"Insert rule below\"],\"decision-text.mark_error\":[\"Error\"],\"decision-text.mark_status\":[[\"status\"],\": \",[\"message\"]],\"decision-text.mark_warning\":[\"Warning\"],\"decision-text.missing_end\":[\"Enter both ends\"],\"decision-text.missing_input_expression\":[\"This input column has no expression\"],\"decision-text.missing_label\":[\"Enter a label\"],\"decision-text.missing_output_name\":[\"This output column has no name — every output in a multi-output table must be named\"],\"decision-text.missing_value\":[\"Enter a value\"],\"decision-text.more_properties\":[\"More properties\"],\"decision-text.more_values\":[[\"count\",\"plural\",{\"other\":[\"+\",\"#\",\" more\"]}]],\"decision-text.move_rule_down\":[\"Move down\"],\"decision-text.move_rule_up\":[\"Move up\"],\"decision-text.moved_from\":[\"Moved from rule \",[\"number\"]],\"decision-text.new_condition\":[\"New \",[\"column\"],\" condition, rule \",[\"position\"]],\"decision-text.no_value_checked\":[\"Check a value\"],\"decision-text.not_allowed\":[\"Not one of the allowed values\"],\"decision-text.open_decision\":[\"Open \",[\"input\"],\"'s decision\"],\"decision-text.operator\":[\"Operator\"],\"decision-text.output_column\":[\"Output · \",[\"name\"]],\"decision-text.output_name\":[\"Output name\"],\"decision-text.previous_value\":[\"was\"],\"decision-text.range_high\":[\"To\"],\"decision-text.range_low\":[\"From\"],\"decision-text.remove_condition\":[\"Remove \",[\"column\"],\" from rule \",[\"position\"]],\"decision-text.rule_actions\":[\"Rule \",[\"position\"],\" actions\"],\"decision-text.set_value\":[\"Set a value\"],\"decision-text.show_rules\":[\"Show rules \",[\"from\"],\"–\",[\"to\"]],\"decision-text.unchanged_rules\":[[\"count\",\"plural\",{\"one\":[\"#\",\" unchanged rule\"],\"other\":[\"#\",\" unchanged rules\"]}]]}");
|
|
1
|
+
const messages = JSON.parse("{\"decision-graph.empty\":[\"No decisions yet\"],\"decision-graph.graph\":[\"Decisions\"],\"decision-graph.minimap\":[\"Browse rules\"],\"decision-graph.minimap_clear\":[\"Clear search\"],\"decision-graph.minimap_decision\":[[\"name\"],\", \",[\"count\",\"plural\",{\"one\":[\"#\",\" rule\"],\"other\":[\"#\",\" rules\"]}]],\"decision-graph.minimap_no_match\":[\"No match for “\",[\"query\"],\"”.\"],\"decision-graph.minimap_reference\":[[\"name\"],\", listed in full elsewhere in this map\"],\"decision-graph.minimap_results\":[[\"count\",\"plural\",{\"one\":[\"#\",\" result\"],\"other\":[\"#\",\" results\"]}]],\"decision-graph.minimap_search\":[\"Search rules and decisions\"],\"decision-graph.rule_count\":[[\"count\",\"plural\",{\"one\":[\"#\",\" rule\"],\"other\":[\"#\",\" rules\"]}]],\"decision-graph.see_above\":[\"See \",[\"name\"],\" above\"],\"decision-graph.show_problem\":[[\"status\"],\". Show it\"],\"decision-graph.used_by\":[\"Used by \",[\"names\"]],\"decision-table.drag_column\":[\"Drag to reorder whole column\"],\"decision-table.drag_row\":[\"Drag to reorder whole row\"],\"decision-table.insert_column_left\":[\"Insert column left\"],\"decision-table.insert_row_above\":[\"Insert row above\"],\"decision-text.add_condition\":[\"Add condition to rule \",[\"position\"]],\"decision-text.add_input\":[\"Add input column\"],\"decision-text.add_rule\":[\"Add rule\"],\"decision-text.add_value\":[\"Add value\"],\"decision-text.allowed_values\":[\"Allowed values\"],\"decision-text.allowed_values_hint\":[\"Separate values with commas.\"],\"decision-text.apply\":[\"Apply\"],\"decision-text.band_inputs\":[\"Inputs\"],\"decision-text.band_outputs\":[\"Outputs\"],\"decision-text.cancel\":[\"Cancel\"],\"decision-text.cell\":[[\"cell\"],\", rule \",[\"position\"]],\"decision-text.change_add\":[\"Added\"],\"decision-text.change_delete\":[\"Removed\"],\"decision-text.change_update\":[\"Changed\"],\"decision-text.clear\":[\"Clear\"],\"decision-text.clear_outcome\":[\"Clear \",[\"column\"],\" in rule \",[\"position\"]],\"decision-text.clear_rule\":[\"Clear rule\"],\"decision-text.column_label\":[\"Label\"],\"decision-text.condition_matched\":[\"Matched\"],\"decision-text.condition_not_matched\":[\"Not matched\"],\"decision-text.current_value\":[\"now\"],\"decision-text.data_type\":[\"Data type\"],\"decision-text.delete_rule\":[\"Delete rule \",[\"position\"]],\"decision-text.duplicate_rule\":[\"Duplicate rule\"],\"decision-text.edit_expression\":[\"Edit expression\"],\"decision-text.empty_rules\":[\"No rules yet\"],\"decision-text.empty_value\":[\"empty\"],\"decision-text.ends_out_of_order\":[\"From must not be past To\"],\"decision-text.included\":[\"Included\"],\"decision-text.input_column\":[\"Input · \",[\"name\"]],\"decision-text.input_expression\":[\"Input expression\"],\"decision-text.insert_rule_above\":[\"Insert rule above\"],\"decision-text.insert_rule_below\":[\"Insert rule below\"],\"decision-text.mark_error\":[\"Error\"],\"decision-text.mark_status\":[[\"status\"],\": \",[\"message\"]],\"decision-text.mark_warning\":[\"Warning\"],\"decision-text.missing_end\":[\"Enter both ends\"],\"decision-text.missing_input_expression\":[\"This input column has no expression\"],\"decision-text.missing_label\":[\"Enter a label\"],\"decision-text.missing_output_name\":[\"This output column has no name — every output in a multi-output table must be named\"],\"decision-text.missing_value\":[\"Enter a value\"],\"decision-text.more_properties\":[\"More properties\"],\"decision-text.more_values\":[[\"count\",\"plural\",{\"other\":[\"+\",\"#\",\" more\"]}]],\"decision-text.move_rule_down\":[\"Move down\"],\"decision-text.move_rule_up\":[\"Move up\"],\"decision-text.moved_from\":[\"Moved from rule \",[\"number\"]],\"decision-text.new_condition\":[\"New \",[\"column\"],\" condition, rule \",[\"position\"]],\"decision-text.no_value_checked\":[\"Check a value\"],\"decision-text.not_allowed\":[\"Not one of the allowed values\"],\"decision-text.open_decision\":[\"Open \",[\"input\"],\"'s decision\"],\"decision-text.operator\":[\"Operator\"],\"decision-text.output_column\":[\"Output · \",[\"name\"]],\"decision-text.output_name\":[\"Output name\"],\"decision-text.previous_value\":[\"was\"],\"decision-text.range_high\":[\"To\"],\"decision-text.range_low\":[\"From\"],\"decision-text.remove_condition\":[\"Remove \",[\"column\"],\" from rule \",[\"position\"]],\"decision-text.rule_actions\":[\"Rule \",[\"position\"],\" actions\"],\"decision-text.set_value\":[\"Set a value\"],\"decision-text.show_rules\":[\"Show rules \",[\"from\"],\"–\",[\"to\"]],\"decision-text.unchanged_rules\":[[\"count\",\"plural\",{\"one\":[\"#\",\" unchanged rule\"],\"other\":[\"#\",\" unchanged rules\"]}]]}");
|
|
2
2
|
export { messages };
|
|
@@ -26,7 +26,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
26
26
|
__webpack_require__.d(__webpack_exports__, {
|
|
27
27
|
messages: ()=>messages
|
|
28
28
|
});
|
|
29
|
-
const messages = JSON.parse("{\"decision-graph.empty\":[\"No decisions yet\"],\"decision-graph.graph\":[\"Decisions\"],\"decision-graph.minimap\":[\"Browse rules\"],\"decision-graph.minimap_clear\":[\"Clear search\"],\"decision-graph.minimap_decision\":[[\"name\"],\", \",[\"count\",\"plural\",{\"one\":[\"#\",\" rule\"],\"other\":[\"#\",\" rules\"]}]],\"decision-graph.minimap_no_match\":[\"No match for “\",[\"query\"],\"”.\"],\"decision-graph.minimap_reference\":[[\"name\"],\", listed in full elsewhere in this map\"],\"decision-graph.minimap_results\":[[\"count\",\"plural\",{\"one\":[\"#\",\" result\"],\"other\":[\"#\",\" results\"]}]],\"decision-graph.minimap_search\":[\"Search rules and decisions\"],\"decision-graph.rule_count\":[[\"count\",\"plural\",{\"one\":[\"#\",\" rule\"],\"other\":[\"#\",\" rules\"]}]],\"decision-graph.see_above\":[\"See \",[\"name\"],\" above\"],\"decision-graph.show_problem\":[[\"status\"],\". Show it\"],\"decision-graph.used_by\":[\"Used by \",[\"names\"]],\"decision-table.drag_column\":[\"Drag to reorder whole column\"],\"decision-table.drag_row\":[\"Drag to reorder whole row\"],\"decision-table.insert_column_left\":[\"Insert column left\"],\"decision-table.insert_row_above\":[\"Insert row above\"],\"decision-text.add_condition\":[\"Add condition to rule \",[\"position\"]],\"decision-text.add_input\":[\"Add input column\"],\"decision-text.add_value\":[\"Add value\"],\"decision-text.allowed_values\":[\"Allowed values\"],\"decision-text.allowed_values_hint\":[\"Separate values with commas.\"],\"decision-text.apply\":[\"Apply\"],\"decision-text.band_inputs\":[\"Inputs\"],\"decision-text.band_outputs\":[\"Outputs\"],\"decision-text.cancel\":[\"Cancel\"],\"decision-text.cell\":[[\"cell\"],\", rule \",[\"position\"]],\"decision-text.change_add\":[\"Added\"],\"decision-text.change_delete\":[\"Removed\"],\"decision-text.change_update\":[\"Changed\"],\"decision-text.clear\":[\"Clear\"],\"decision-text.clear_outcome\":[\"Clear \",[\"column\"],\" in rule \",[\"position\"]],\"decision-text.clear_rule\":[\"Clear rule\"],\"decision-text.column_label\":[\"Label\"],\"decision-text.condition_matched\":[\"Matched\"],\"decision-text.condition_not_matched\":[\"Not matched\"],\"decision-text.current_value\":[\"now\"],\"decision-text.data_type\":[\"Data type\"],\"decision-text.delete_rule\":[\"Delete rule \",[\"position\"]],\"decision-text.duplicate_rule\":[\"Duplicate rule\"],\"decision-text.edit_expression\":[\"Edit expression\"],\"decision-text.empty_rules\":[\"No rules yet\"],\"decision-text.empty_value\":[\"empty\"],\"decision-text.ends_out_of_order\":[\"From must not be past To\"],\"decision-text.included\":[\"Included\"],\"decision-text.input_column\":[\"Input · \",[\"name\"]],\"decision-text.input_expression\":[\"Input expression\"],\"decision-text.insert_rule_above\":[\"Insert rule above\"],\"decision-text.insert_rule_below\":[\"Insert rule below\"],\"decision-text.mark_error\":[\"Error\"],\"decision-text.mark_status\":[[\"status\"],\": \",[\"message\"]],\"decision-text.mark_warning\":[\"Warning\"],\"decision-text.missing_end\":[\"Enter both ends\"],\"decision-text.missing_input_expression\":[\"This input column has no expression\"],\"decision-text.missing_label\":[\"Enter a label\"],\"decision-text.missing_output_name\":[\"This output column has no name — every output in a multi-output table must be named\"],\"decision-text.missing_value\":[\"Enter a value\"],\"decision-text.more_properties\":[\"More properties\"],\"decision-text.more_values\":[[\"count\",\"plural\",{\"other\":[\"+\",\"#\",\" more\"]}]],\"decision-text.move_rule_down\":[\"Move down\"],\"decision-text.move_rule_up\":[\"Move up\"],\"decision-text.moved_from\":[\"Moved from rule \",[\"number\"]],\"decision-text.new_condition\":[\"New \",[\"column\"],\" condition, rule \",[\"position\"]],\"decision-text.no_value_checked\":[\"Check a value\"],\"decision-text.not_allowed\":[\"Not one of the allowed values\"],\"decision-text.open_decision\":[\"Open \",[\"input\"],\"'s decision\"],\"decision-text.operator\":[\"Operator\"],\"decision-text.output_column\":[\"Output · \",[\"name\"]],\"decision-text.output_name\":[\"Output name\"],\"decision-text.previous_value\":[\"was\"],\"decision-text.range_high\":[\"To\"],\"decision-text.range_low\":[\"From\"],\"decision-text.remove_condition\":[\"Remove \",[\"column\"],\" from rule \",[\"position\"]],\"decision-text.rule_actions\":[\"Rule \",[\"position\"],\" actions\"],\"decision-text.set_value\":[\"Set a value\"],\"decision-text.show_rules\":[\"Show rules \",[\"from\"],\"–\",[\"to\"]],\"decision-text.unchanged_rules\":[[\"count\",\"plural\",{\"one\":[\"#\",\" unchanged rule\"],\"other\":[\"#\",\" unchanged rules\"]}]]}");
|
|
29
|
+
const messages = JSON.parse("{\"decision-graph.empty\":[\"No decisions yet\"],\"decision-graph.graph\":[\"Decisions\"],\"decision-graph.minimap\":[\"Browse rules\"],\"decision-graph.minimap_clear\":[\"Clear search\"],\"decision-graph.minimap_decision\":[[\"name\"],\", \",[\"count\",\"plural\",{\"one\":[\"#\",\" rule\"],\"other\":[\"#\",\" rules\"]}]],\"decision-graph.minimap_no_match\":[\"No match for “\",[\"query\"],\"”.\"],\"decision-graph.minimap_reference\":[[\"name\"],\", listed in full elsewhere in this map\"],\"decision-graph.minimap_results\":[[\"count\",\"plural\",{\"one\":[\"#\",\" result\"],\"other\":[\"#\",\" results\"]}]],\"decision-graph.minimap_search\":[\"Search rules and decisions\"],\"decision-graph.rule_count\":[[\"count\",\"plural\",{\"one\":[\"#\",\" rule\"],\"other\":[\"#\",\" rules\"]}]],\"decision-graph.see_above\":[\"See \",[\"name\"],\" above\"],\"decision-graph.show_problem\":[[\"status\"],\". Show it\"],\"decision-graph.used_by\":[\"Used by \",[\"names\"]],\"decision-table.drag_column\":[\"Drag to reorder whole column\"],\"decision-table.drag_row\":[\"Drag to reorder whole row\"],\"decision-table.insert_column_left\":[\"Insert column left\"],\"decision-table.insert_row_above\":[\"Insert row above\"],\"decision-text.add_condition\":[\"Add condition to rule \",[\"position\"]],\"decision-text.add_input\":[\"Add input column\"],\"decision-text.add_rule\":[\"Add rule\"],\"decision-text.add_value\":[\"Add value\"],\"decision-text.allowed_values\":[\"Allowed values\"],\"decision-text.allowed_values_hint\":[\"Separate values with commas.\"],\"decision-text.apply\":[\"Apply\"],\"decision-text.band_inputs\":[\"Inputs\"],\"decision-text.band_outputs\":[\"Outputs\"],\"decision-text.cancel\":[\"Cancel\"],\"decision-text.cell\":[[\"cell\"],\", rule \",[\"position\"]],\"decision-text.change_add\":[\"Added\"],\"decision-text.change_delete\":[\"Removed\"],\"decision-text.change_update\":[\"Changed\"],\"decision-text.clear\":[\"Clear\"],\"decision-text.clear_outcome\":[\"Clear \",[\"column\"],\" in rule \",[\"position\"]],\"decision-text.clear_rule\":[\"Clear rule\"],\"decision-text.column_label\":[\"Label\"],\"decision-text.condition_matched\":[\"Matched\"],\"decision-text.condition_not_matched\":[\"Not matched\"],\"decision-text.current_value\":[\"now\"],\"decision-text.data_type\":[\"Data type\"],\"decision-text.delete_rule\":[\"Delete rule \",[\"position\"]],\"decision-text.duplicate_rule\":[\"Duplicate rule\"],\"decision-text.edit_expression\":[\"Edit expression\"],\"decision-text.empty_rules\":[\"No rules yet\"],\"decision-text.empty_value\":[\"empty\"],\"decision-text.ends_out_of_order\":[\"From must not be past To\"],\"decision-text.included\":[\"Included\"],\"decision-text.input_column\":[\"Input · \",[\"name\"]],\"decision-text.input_expression\":[\"Input expression\"],\"decision-text.insert_rule_above\":[\"Insert rule above\"],\"decision-text.insert_rule_below\":[\"Insert rule below\"],\"decision-text.mark_error\":[\"Error\"],\"decision-text.mark_status\":[[\"status\"],\": \",[\"message\"]],\"decision-text.mark_warning\":[\"Warning\"],\"decision-text.missing_end\":[\"Enter both ends\"],\"decision-text.missing_input_expression\":[\"This input column has no expression\"],\"decision-text.missing_label\":[\"Enter a label\"],\"decision-text.missing_output_name\":[\"This output column has no name — every output in a multi-output table must be named\"],\"decision-text.missing_value\":[\"Enter a value\"],\"decision-text.more_properties\":[\"More properties\"],\"decision-text.more_values\":[[\"count\",\"plural\",{\"other\":[\"+\",\"#\",\" more\"]}]],\"decision-text.move_rule_down\":[\"Move down\"],\"decision-text.move_rule_up\":[\"Move up\"],\"decision-text.moved_from\":[\"Moved from rule \",[\"number\"]],\"decision-text.new_condition\":[\"New \",[\"column\"],\" condition, rule \",[\"position\"]],\"decision-text.no_value_checked\":[\"Check a value\"],\"decision-text.not_allowed\":[\"Not one of the allowed values\"],\"decision-text.open_decision\":[\"Open \",[\"input\"],\"'s decision\"],\"decision-text.operator\":[\"Operator\"],\"decision-text.output_column\":[\"Output · \",[\"name\"]],\"decision-text.output_name\":[\"Output name\"],\"decision-text.previous_value\":[\"was\"],\"decision-text.range_high\":[\"To\"],\"decision-text.range_low\":[\"From\"],\"decision-text.remove_condition\":[\"Remove \",[\"column\"],\" from rule \",[\"position\"]],\"decision-text.rule_actions\":[\"Rule \",[\"position\"],\" actions\"],\"decision-text.set_value\":[\"Set a value\"],\"decision-text.show_rules\":[\"Show rules \",[\"from\"],\"–\",[\"to\"]],\"decision-text.unchanged_rules\":[[\"count\",\"plural\",{\"one\":[\"#\",\" unchanged rule\"],\"other\":[\"#\",\" unchanged rules\"]}]]}");
|
|
30
30
|
exports.messages = __webpack_exports__.messages;
|
|
31
31
|
for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
32
32
|
"messages"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../../src/decision-table/locales/en.ts"],"names":[],"mappings":"AAAkB,OAAO,KAAI,EAAC,QAAQ,EAAC,MAAI,cAAc,CAAC;AAAA,eAAO,MAAM,QAAQ,
|
|
1
|
+
{"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../../src/decision-table/locales/en.ts"],"names":[],"mappings":"AAAkB,OAAO,KAAI,EAAC,QAAQ,EAAC,MAAI,cAAc,CAAC;AAAA,eAAO,MAAM,QAAQ,EAA8oJ,QAAQ,CAAC"}
|