@uipath/apollo-react 7.36.0 → 8.1.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.
Files changed (97) hide show
  1. package/dist/canvas/styles/tailwind.canvas.css +1 -1
  2. package/dist/chat/styles/tailwind.chat.css +1 -1
  3. package/dist/decision-table/CitationButton.cjs +72 -0
  4. package/dist/decision-table/CitationButton.d.ts +33 -0
  5. package/dist/decision-table/CitationButton.d.ts.map +1 -0
  6. package/dist/decision-table/CitationButton.js +35 -0
  7. package/dist/decision-table/DecisionGraphCard.cjs +16 -2
  8. package/dist/decision-table/DecisionGraphCard.d.ts +5 -0
  9. package/dist/decision-table/DecisionGraphCard.d.ts.map +1 -1
  10. package/dist/decision-table/DecisionGraphCard.js +17 -3
  11. package/dist/decision-table/DecisionGraphText.cjs +12 -1
  12. package/dist/decision-table/DecisionGraphText.d.ts +3 -2
  13. package/dist/decision-table/DecisionGraphText.d.ts.map +1 -1
  14. package/dist/decision-table/DecisionGraphText.js +12 -1
  15. package/dist/decision-table/DecisionText.cjs +27 -2
  16. package/dist/decision-table/DecisionText.d.ts +4 -3
  17. package/dist/decision-table/DecisionText.d.ts.map +1 -1
  18. package/dist/decision-table/DecisionText.js +27 -2
  19. package/dist/decision-table/DecisionTextHeader.cjs +17 -1
  20. package/dist/decision-table/DecisionTextHeader.d.ts +7 -1
  21. package/dist/decision-table/DecisionTextHeader.d.ts.map +1 -1
  22. package/dist/decision-table/DecisionTextHeader.js +18 -2
  23. package/dist/decision-table/RuleCard.cjs +60 -26
  24. package/dist/decision-table/RuleCard.d.ts +2 -0
  25. package/dist/decision-table/RuleCard.d.ts.map +1 -1
  26. package/dist/decision-table/RuleCard.js +61 -27
  27. package/dist/decision-table/RuleList.cjs +2 -1
  28. package/dist/decision-table/RuleList.d.ts +1 -0
  29. package/dist/decision-table/RuleList.d.ts.map +1 -1
  30. package/dist/decision-table/RuleList.js +2 -1
  31. package/dist/decision-table/decisionGraphTypes.d.ts +8 -0
  32. package/dist/decision-table/decisionGraphTypes.d.ts.map +1 -1
  33. package/dist/decision-table/index.d.ts +2 -2
  34. package/dist/decision-table/index.d.ts.map +1 -1
  35. package/dist/decision-table/locales/de.cjs +1 -1
  36. package/dist/decision-table/locales/de.d.ts.map +1 -1
  37. package/dist/decision-table/locales/de.js +1 -1
  38. package/dist/decision-table/locales/en.cjs +1 -1
  39. package/dist/decision-table/locales/en.d.ts.map +1 -1
  40. package/dist/decision-table/locales/en.js +1 -1
  41. package/dist/decision-table/locales/es-MX.cjs +1 -1
  42. package/dist/decision-table/locales/es-MX.d.ts.map +1 -1
  43. package/dist/decision-table/locales/es-MX.js +1 -1
  44. package/dist/decision-table/locales/es.cjs +1 -1
  45. package/dist/decision-table/locales/es.d.ts.map +1 -1
  46. package/dist/decision-table/locales/es.js +1 -1
  47. package/dist/decision-table/locales/fr.cjs +1 -1
  48. package/dist/decision-table/locales/fr.d.ts.map +1 -1
  49. package/dist/decision-table/locales/fr.js +1 -1
  50. package/dist/decision-table/locales/ja.cjs +1 -1
  51. package/dist/decision-table/locales/ja.d.ts.map +1 -1
  52. package/dist/decision-table/locales/ja.js +1 -1
  53. package/dist/decision-table/locales/ko.cjs +1 -1
  54. package/dist/decision-table/locales/ko.d.ts.map +1 -1
  55. package/dist/decision-table/locales/ko.js +1 -1
  56. package/dist/decision-table/locales/pt-BR.cjs +1 -1
  57. package/dist/decision-table/locales/pt-BR.d.ts.map +1 -1
  58. package/dist/decision-table/locales/pt-BR.js +1 -1
  59. package/dist/decision-table/locales/pt.cjs +1 -1
  60. package/dist/decision-table/locales/pt.d.ts.map +1 -1
  61. package/dist/decision-table/locales/pt.js +1 -1
  62. package/dist/decision-table/locales/ro.cjs +1 -1
  63. package/dist/decision-table/locales/ro.d.ts.map +1 -1
  64. package/dist/decision-table/locales/ro.js +1 -1
  65. package/dist/decision-table/locales/ru.cjs +1 -1
  66. package/dist/decision-table/locales/ru.d.ts.map +1 -1
  67. package/dist/decision-table/locales/ru.js +1 -1
  68. package/dist/decision-table/locales/tr.cjs +1 -1
  69. package/dist/decision-table/locales/tr.d.ts.map +1 -1
  70. package/dist/decision-table/locales/tr.js +1 -1
  71. package/dist/decision-table/locales/zh-CN.cjs +1 -1
  72. package/dist/decision-table/locales/zh-CN.d.ts.map +1 -1
  73. package/dist/decision-table/locales/zh-CN.js +1 -1
  74. package/dist/decision-table/locales/zh-TW.cjs +1 -1
  75. package/dist/decision-table/locales/zh-TW.d.ts.map +1 -1
  76. package/dist/decision-table/locales/zh-TW.js +1 -1
  77. package/dist/decision-table/ruleCardModel.d.ts +2 -1
  78. package/dist/decision-table/ruleCardModel.d.ts.map +1 -1
  79. package/dist/decision-table/sentenceStyles.cjs +33 -6
  80. package/dist/decision-table/sentenceStyles.d.ts +8 -1
  81. package/dist/decision-table/sentenceStyles.d.ts.map +1 -1
  82. package/dist/decision-table/sentenceStyles.js +9 -3
  83. package/dist/decision-table/sentenceTypes.d.ts +28 -0
  84. package/dist/decision-table/sentenceTypes.d.ts.map +1 -1
  85. package/dist/decision-table/styles/tailwind.decision-table.css +1 -1
  86. package/dist/decision-table/useContainerHandlers.cjs +88 -3
  87. package/dist/decision-table/useContainerHandlers.d.ts +10 -1
  88. package/dist/decision-table/useContainerHandlers.d.ts.map +1 -1
  89. package/dist/decision-table/useContainerHandlers.js +88 -3
  90. package/dist/decision-table/useDecisionGraphStrings.cjs +6 -2
  91. package/dist/decision-table/useDecisionGraphStrings.d.ts +2 -1
  92. package/dist/decision-table/useDecisionGraphStrings.d.ts.map +1 -1
  93. package/dist/decision-table/useDecisionGraphStrings.js +6 -2
  94. package/dist/decision-table/useDecisionTextStrings.cjs +36 -0
  95. package/dist/decision-table/useDecisionTextStrings.d.ts.map +1 -1
  96. package/dist/decision-table/useDecisionTextStrings.js +36 -0
  97. package/package.json +3 -3
@@ -1,10 +1,11 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { cn } from "@uipath/apollo-wind";
3
3
  import { forwardRef, useId } from "react";
4
+ import { CitationButtons } from "./CitationButton.js";
4
5
  import { MarkBadge, markIds } from "./MarkBadge.js";
5
6
  import { PolicyPicker } from "./PolicyPicker.js";
6
7
  import { isLineMark } from "./sentenceMarks.js";
7
- import { CHANGED_CHIP_CLASS, DECISION_TEXT_HEADER_CLASS, HEADER_LABEL_CLASS, HIT_POLICY_CHANGE_CLASS, STRUCK_VALUE_CLASS } from "./sentenceStyles.js";
8
+ import { CHANGED_CHIP_CLASS, DECISION_TEXT_HEADER_CLASS, HEADER_CITATIONS_CLASS, HEADER_CITATION_REVEAL_CLASS, HEADER_LABEL_CLASS, HIT_POLICY_CHANGE_CLASS, STRUCK_VALUE_CLASS } from "./sentenceStyles.js";
8
9
  const HitPolicyChange = ({ change, describedBy, labels })=>/*#__PURE__*/ jsxs("span", {
9
10
  className: HIT_POLICY_CHANGE_CLASS,
10
11
  "aria-describedby": describedBy,
@@ -42,7 +43,7 @@ const HitPolicyChange = ({ change, describedBy, labels })=>/*#__PURE__*/ jsxs("s
42
43
  })
43
44
  ]
44
45
  });
45
- const DecisionTextHeader = /*#__PURE__*/ forwardRef(({ title, hint, mark, labels, sticky, dataTestId }, ref)=>{
46
+ const DecisionTextHeader = /*#__PURE__*/ forwardRef(({ title, hint, mark, citations, labels, sticky, dataTestId }, ref)=>{
46
47
  const badgeId = useId();
47
48
  const marks = isLineMark(mark) ? [
48
49
  mark
@@ -75,6 +76,21 @@ const DecisionTextHeader = /*#__PURE__*/ forwardRef(({ title, hint, mark, labels
75
76
  }),
76
77
  /*#__PURE__*/ jsx("span", {
77
78
  children: hint
79
+ }),
80
+ citations && /*#__PURE__*/ jsx("span", {
81
+ className: HEADER_CITATIONS_CLASS,
82
+ children: /*#__PURE__*/ jsx(CitationButtons, {
83
+ citations: citations.citations,
84
+ owner: {
85
+ kind: 'table'
86
+ },
87
+ onOpen: citations.onOpen,
88
+ selected: true,
89
+ tabIndex: 0,
90
+ className: HEADER_CITATION_REVEAL_CLASS,
91
+ labels: labels,
92
+ dataTestId: `${dataTestId}-citation`
93
+ })
78
94
  })
79
95
  ]
80
96
  });
@@ -30,6 +30,7 @@ const jsx_runtime_namespaceObject = require("react/jsx-runtime");
30
30
  const apollo_wind_namespaceObject = require("@uipath/apollo-wind");
31
31
  const external_lucide_react_namespaceObject = require("lucide-react");
32
32
  const external_react_namespaceObject = require("react");
33
+ const external_CitationButton_cjs_namespaceObject = require("./CitationButton.cjs");
33
34
  const external_ConditionLine_cjs_namespaceObject = require("./ConditionLine.cjs");
34
35
  const external_decisionTextDiff_cjs_namespaceObject = require("./decisionTextDiff.cjs");
35
36
  const external_RuleActions_cjs_namespaceObject = require("./RuleActions.cjs");
@@ -37,6 +38,13 @@ const external_RuleLine_cjs_namespaceObject = require("./RuleLine.cjs");
37
38
  const external_ruleCardModel_cjs_namespaceObject = require("./ruleCardModel.cjs");
38
39
  const external_StopLabels_cjs_namespaceObject = require("./StopLabels.cjs");
39
40
  const external_sentenceStyles_cjs_namespaceObject = require("./sentenceStyles.cjs");
41
+ const CitedLine = ({ citations, children })=>citations ? /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
42
+ className: external_sentenceStyles_cjs_namespaceObject.CITED_LINES_CLASS,
43
+ children: [
44
+ children,
45
+ citations
46
+ ]
47
+ }) : children;
40
48
  const CHANGE_SIGNS = {
41
49
  add: '+',
42
50
  update: '~',
@@ -55,7 +63,7 @@ const ChangeSign = ({ diff })=>{
55
63
  children: CHANGE_SIGNS[change]
56
64
  }) : null;
57
65
  };
58
- const RuleCard = /*#__PURE__*/ (0, external_react_namespaceObject.memo)(({ rule, position, setSize, numbered, mark, selectedColumnId, selectable, decisionLinks, idPrefix, dataTestId, labels, ...mode })=>{
66
+ const RuleCard = /*#__PURE__*/ (0, external_react_namespaceObject.memo)(({ rule, position, setSize, numbered, mark, selectedColumnId, selectable, decisionLinks, citations, idPrefix, dataTestId, labels, ...mode })=>{
59
67
  const diff = 'diff' === mode.kind ? mode.diff : void 0;
60
68
  const edit = 'edit' === mode.kind ? mode : void 0;
61
69
  const pendingColumnId = edit?.pendingColumnId;
@@ -80,6 +88,25 @@ const RuleCard = /*#__PURE__*/ (0, external_react_namespaceObject.memo)(({ rule,
80
88
  };
81
89
  const removedLines = diff?.removedLines ?? [];
82
90
  const ruleSelected = null === selectedColumnId;
91
+ const rowSelected = void 0 !== selectedColumnId;
92
+ const cited = 'cited' === citations.kind ? citations.rules.get(rule.rowId) ?? [] : [];
93
+ const lined = rule.lines.length + removedLines.length > 0;
94
+ const citationButtons = 'cited' === citations.kind && cited.length > 0 ? /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
95
+ className: external_sentenceStyles_cjs_namespaceObject.RULE_CITATIONS_CLASS,
96
+ children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_CitationButton_cjs_namespaceObject.CitationButtons, {
97
+ citations: cited,
98
+ owner: {
99
+ kind: 'rule',
100
+ position: diff?.number ?? position
101
+ },
102
+ onOpen: citations.onOpenCitation,
103
+ selected: rowSelected,
104
+ tabIndex: rowSelected && selectable ? 0 : -1,
105
+ className: (0, apollo_wind_namespaceObject.cn)(!rowSelected && external_sentenceStyles_cjs_namespaceObject.REVEALED_ACTION_CLASS),
106
+ labels: labels,
107
+ dataTestId: `${dataTestId}-citation-${rule.rowId}`
108
+ })
109
+ }) : null;
83
110
  return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("li", {
84
111
  tabIndex: selectable ? ruleSelected ? 0 : -1 : void 0,
85
112
  "aria-posinset": position,
@@ -121,35 +148,42 @@ const RuleCard = /*#__PURE__*/ (0, external_react_namespaceObject.memo)(({ rule,
121
148
  className: edit && external_sentenceStyles_cjs_namespaceObject.HEADING_ACTIONS_SPACE_CLASS,
122
149
  ...lineProps
123
150
  }),
124
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_RuleLine_cjs_namespaceObject.RuleLine, {
125
- verdicts: true,
126
- parts: rule.lead,
127
- badge: card.badges.lead,
128
- removals: card.removals.lead,
129
- ...lineProps
151
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(CitedLine, {
152
+ citations: lined ? null : citationButtons,
153
+ children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_RuleLine_cjs_namespaceObject.RuleLine, {
154
+ verdicts: true,
155
+ className: citationButtons && !lined ? external_sentenceStyles_cjs_namespaceObject.CITED_LINE_CLASS : void 0,
156
+ parts: rule.lead,
157
+ badge: card.badges.lead,
158
+ removals: card.removals.lead,
159
+ ...lineProps
160
+ })
130
161
  }),
131
- rule.lines.length + removedLines.length > 0 && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("ul", {
132
- className: external_sentenceStyles_cjs_namespaceObject.LINES_CLASS,
133
- children: [
134
- rule.lines.map((line, index)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_ConditionLine_cjs_namespaceObject.ConditionLine, {
135
- line: line,
136
- state: line.columnId === pendingColumnId ? 'pending' : 'held',
137
- badge: card.badges.lines[index] ?? null,
138
- removal: line.columnId === pendingColumnId ? null : card.removals.lines[index] ?? null,
139
- ...lineProps
140
- }, line.columnId)),
141
- removedLines.map((line)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_ConditionLine_cjs_namespaceObject.ConditionLine, {
142
- line: line,
143
- state: line.change,
144
- badge: null,
145
- removal: null,
146
- ...lineProps
147
- }, (0, external_decisionTextDiff_cjs_namespaceObject.removedLineKey)(line)))
148
- ]
162
+ lined && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(CitedLine, {
163
+ citations: citationButtons,
164
+ children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("ul", {
165
+ className: (0, apollo_wind_namespaceObject.cn)(external_sentenceStyles_cjs_namespaceObject.LINES_CLASS, citationButtons && external_sentenceStyles_cjs_namespaceObject.CITED_LINE_CLASS),
166
+ children: [
167
+ rule.lines.map((line, index)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_ConditionLine_cjs_namespaceObject.ConditionLine, {
168
+ line: line,
169
+ state: line.columnId === pendingColumnId ? 'pending' : 'held',
170
+ badge: card.badges.lines[index] ?? null,
171
+ removal: line.columnId === pendingColumnId ? null : card.removals.lines[index] ?? null,
172
+ ...lineProps
173
+ }, line.columnId)),
174
+ removedLines.map((line)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_ConditionLine_cjs_namespaceObject.ConditionLine, {
175
+ line: line,
176
+ state: line.change,
177
+ badge: null,
178
+ removal: null,
179
+ ...lineProps
180
+ }, (0, external_decisionTextDiff_cjs_namespaceObject.removedLineKey)(line)))
181
+ ]
182
+ })
149
183
  }),
150
184
  edit && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_RuleActions_cjs_namespaceObject.RuleActions, {
151
185
  position: position,
152
- selected: void 0 !== selectedColumnId,
186
+ selected: rowSelected,
153
187
  labels: edit.editLabels,
154
188
  openMenu: edit.openMenu
155
189
  })
@@ -2,6 +2,7 @@ import type React from 'react';
2
2
  import { type RuleActionsLabels } from './RuleActions';
3
3
  import { type CardMode, type RuleCardBase, type RuleRemovalLabels } from './ruleCardModel';
4
4
  import type { RuleMenuKind } from './sentenceTargets';
5
+ import type { DecisionTextCitations } from './sentenceTypes';
5
6
  export interface RuleCardEditLabels extends RuleActionsLabels, RuleRemovalLabels {
6
7
  }
7
8
  export type RuleCardMode = Exclude<CardMode, {
@@ -15,6 +16,7 @@ export type RuleCardMode = Exclude<CardMode, {
15
16
  export type RuleCardProps = RuleCardBase & RuleCardMode & {
16
17
  setSize: number;
17
18
  selectedColumnId: string | null | undefined;
19
+ citations: DecisionTextCitations;
18
20
  dataTestId: string;
19
21
  };
20
22
  export declare const RuleCard: React.NamedExoticComponent<RuleCardProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"RuleCard.d.ts","sourceRoot":"","sources":["../../src/decision-table/RuleCard.tsx"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AAM,WAAW,kBAAmB,SAAQ,iBAAiB,EAAE,iBAAiB;CAAG;AAGnF,MAAM,MAAM,YAAY,GACpB,OAAO,CAAC,QAAQ,EAAE;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC,GACnC;IACE,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,kBAAkB,CAAC;IAE/B,QAAQ,EAAE,YAAY,GAAG,SAAS,CAAC;IAEnC,eAAe,EAAE,MAAM,GAAG,SAAS,CAAC;CACrC,CAAC;AAEN,MAAM,MAAM,aAAa,GAAG,YAAY,GACtC,YAAY,GAAG;IACb,OAAO,EAAE,MAAM,CAAC;IAEhB,gBAAgB,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAE5C,SAAS,EAAE,qBAAqB,CAAC;IACjC,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAGJ,eAAO,MAAM,QAAQ,2CAoJpB,CAAC"}
@@ -2,13 +2,21 @@ import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { cn } from "@uipath/apollo-wind";
3
3
  import { ArrowUpDown } from "lucide-react";
4
4
  import { memo } from "react";
5
+ import { CitationButtons } from "./CitationButton.js";
5
6
  import { ConditionLine } from "./ConditionLine.js";
6
7
  import { removedLineKey } from "./decisionTextDiff.js";
7
8
  import { RuleActions } from "./RuleActions.js";
8
9
  import { RuleLine } from "./RuleLine.js";
9
10
  import { ruleCardModel } from "./ruleCardModel.js";
10
11
  import { StopLabels } from "./StopLabels.js";
11
- import { CHANGE_SIGN_CLASS, HEADING_ACTIONS_SPACE_CLASS, LINES_CLASS, MOVED_ICON_CLASS, ROW_CHANGE_CLASS, ROW_NUMBER_CHANGE_CLASS, ROW_NUMBER_CLASS, ROW_SURFACE_CLASS, RULE_CARD_CLASS } from "./sentenceStyles.js";
12
+ import { CHANGE_SIGN_CLASS, CITED_LINES_CLASS, CITED_LINE_CLASS, HEADING_ACTIONS_SPACE_CLASS, LINES_CLASS, MOVED_ICON_CLASS, REVEALED_ACTION_CLASS, ROW_CHANGE_CLASS, ROW_NUMBER_CHANGE_CLASS, ROW_NUMBER_CLASS, ROW_SURFACE_CLASS, RULE_CARD_CLASS, RULE_CITATIONS_CLASS } from "./sentenceStyles.js";
13
+ const CitedLine = ({ citations, children })=>citations ? /*#__PURE__*/ jsxs("div", {
14
+ className: CITED_LINES_CLASS,
15
+ children: [
16
+ children,
17
+ citations
18
+ ]
19
+ }) : children;
12
20
  const CHANGE_SIGNS = {
13
21
  add: '+',
14
22
  update: '~',
@@ -27,7 +35,7 @@ const ChangeSign = ({ diff })=>{
27
35
  children: CHANGE_SIGNS[change]
28
36
  }) : null;
29
37
  };
30
- const RuleCard = /*#__PURE__*/ memo(({ rule, position, setSize, numbered, mark, selectedColumnId, selectable, decisionLinks, idPrefix, dataTestId, labels, ...mode })=>{
38
+ const RuleCard = /*#__PURE__*/ memo(({ rule, position, setSize, numbered, mark, selectedColumnId, selectable, decisionLinks, citations, idPrefix, dataTestId, labels, ...mode })=>{
31
39
  const diff = 'diff' === mode.kind ? mode.diff : void 0;
32
40
  const edit = 'edit' === mode.kind ? mode : void 0;
33
41
  const pendingColumnId = edit?.pendingColumnId;
@@ -52,6 +60,25 @@ const RuleCard = /*#__PURE__*/ memo(({ rule, position, setSize, numbered, mark,
52
60
  };
53
61
  const removedLines = diff?.removedLines ?? [];
54
62
  const ruleSelected = null === selectedColumnId;
63
+ const rowSelected = void 0 !== selectedColumnId;
64
+ const cited = 'cited' === citations.kind ? citations.rules.get(rule.rowId) ?? [] : [];
65
+ const lined = rule.lines.length + removedLines.length > 0;
66
+ const citationButtons = 'cited' === citations.kind && cited.length > 0 ? /*#__PURE__*/ jsx("div", {
67
+ className: RULE_CITATIONS_CLASS,
68
+ children: /*#__PURE__*/ jsx(CitationButtons, {
69
+ citations: cited,
70
+ owner: {
71
+ kind: 'rule',
72
+ position: diff?.number ?? position
73
+ },
74
+ onOpen: citations.onOpenCitation,
75
+ selected: rowSelected,
76
+ tabIndex: rowSelected && selectable ? 0 : -1,
77
+ className: cn(!rowSelected && REVEALED_ACTION_CLASS),
78
+ labels: labels,
79
+ dataTestId: `${dataTestId}-citation-${rule.rowId}`
80
+ })
81
+ }) : null;
55
82
  return /*#__PURE__*/ jsxs("li", {
56
83
  tabIndex: selectable ? ruleSelected ? 0 : -1 : void 0,
57
84
  "aria-posinset": position,
@@ -93,35 +120,42 @@ const RuleCard = /*#__PURE__*/ memo(({ rule, position, setSize, numbered, mark,
93
120
  className: edit && HEADING_ACTIONS_SPACE_CLASS,
94
121
  ...lineProps
95
122
  }),
96
- /*#__PURE__*/ jsx(RuleLine, {
97
- verdicts: true,
98
- parts: rule.lead,
99
- badge: card.badges.lead,
100
- removals: card.removals.lead,
101
- ...lineProps
123
+ /*#__PURE__*/ jsx(CitedLine, {
124
+ citations: lined ? null : citationButtons,
125
+ children: /*#__PURE__*/ jsx(RuleLine, {
126
+ verdicts: true,
127
+ className: citationButtons && !lined ? CITED_LINE_CLASS : void 0,
128
+ parts: rule.lead,
129
+ badge: card.badges.lead,
130
+ removals: card.removals.lead,
131
+ ...lineProps
132
+ })
102
133
  }),
103
- rule.lines.length + removedLines.length > 0 && /*#__PURE__*/ jsxs("ul", {
104
- className: LINES_CLASS,
105
- children: [
106
- rule.lines.map((line, index)=>/*#__PURE__*/ jsx(ConditionLine, {
107
- line: line,
108
- state: line.columnId === pendingColumnId ? 'pending' : 'held',
109
- badge: card.badges.lines[index] ?? null,
110
- removal: line.columnId === pendingColumnId ? null : card.removals.lines[index] ?? null,
111
- ...lineProps
112
- }, line.columnId)),
113
- removedLines.map((line)=>/*#__PURE__*/ jsx(ConditionLine, {
114
- line: line,
115
- state: line.change,
116
- badge: null,
117
- removal: null,
118
- ...lineProps
119
- }, removedLineKey(line)))
120
- ]
134
+ lined && /*#__PURE__*/ jsx(CitedLine, {
135
+ citations: citationButtons,
136
+ children: /*#__PURE__*/ jsxs("ul", {
137
+ className: cn(LINES_CLASS, citationButtons && CITED_LINE_CLASS),
138
+ children: [
139
+ rule.lines.map((line, index)=>/*#__PURE__*/ jsx(ConditionLine, {
140
+ line: line,
141
+ state: line.columnId === pendingColumnId ? 'pending' : 'held',
142
+ badge: card.badges.lines[index] ?? null,
143
+ removal: line.columnId === pendingColumnId ? null : card.removals.lines[index] ?? null,
144
+ ...lineProps
145
+ }, line.columnId)),
146
+ removedLines.map((line)=>/*#__PURE__*/ jsx(ConditionLine, {
147
+ line: line,
148
+ state: line.change,
149
+ badge: null,
150
+ removal: null,
151
+ ...lineProps
152
+ }, removedLineKey(line)))
153
+ ]
154
+ })
121
155
  }),
122
156
  edit && /*#__PURE__*/ jsx(RuleActions, {
123
157
  position: position,
124
- selected: void 0 !== selectedColumnId,
158
+ selected: rowSelected,
125
159
  labels: edit.editLabels,
126
160
  openMenu: edit.openMenu
127
161
  })
@@ -31,7 +31,7 @@ const external_react_namespaceObject = require("react");
31
31
  const external_DiffFoldRow_cjs_namespaceObject = require("./DiffFoldRow.cjs");
32
32
  const external_RuleCard_cjs_namespaceObject = require("./RuleCard.cjs");
33
33
  const external_sentenceStyles_cjs_namespaceObject = require("./sentenceStyles.cjs");
34
- const RuleList = /*#__PURE__*/ (0, external_react_namespaceObject.forwardRef)(({ rules, segments, numbered, marks, selectedRow, selectedColumnId, selectable, decisionLinks, mode, style, idPrefix, dataTestId, labels }, ref)=>{
34
+ const RuleList = /*#__PURE__*/ (0, external_react_namespaceObject.forwardRef)(({ rules, segments, numbered, marks, selectedRow, selectedColumnId, selectable, decisionLinks, citations, mode, style, idPrefix, dataTestId, labels }, ref)=>{
35
35
  let nextRuleIndex = 0;
36
36
  const cardModeOf = (rowId, ruleDiff)=>{
37
37
  if (ruleDiff) return {
@@ -81,6 +81,7 @@ const RuleList = /*#__PURE__*/ (0, external_react_namespaceObject.forwardRef)(({
81
81
  selectedColumnId: segment.from + offset === selectedRow ? selectedColumnId : void 0,
82
82
  selectable: selectable,
83
83
  decisionLinks: decisionLinks,
84
+ citations: citations,
84
85
  ...cardModeOf(rule.rowId, row?.kind === 'rule' ? row.diff : void 0),
85
86
  idPrefix: idPrefix,
86
87
  dataTestId: dataTestId,
@@ -19,6 +19,7 @@ export interface RuleListProps {
19
19
  selectedColumnId: string | null;
20
20
  selectable: boolean;
21
21
  decisionLinks: boolean;
22
+ citations: RuleCardProps['citations'];
22
23
  mode: {
23
24
  kind: 'read';
24
25
  } | {
@@ -1 +1 @@
1
- {"version":3,"file":"RuleList.d.ts","sourceRoot":"","sources":["../../src/decision-table/RuleList.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAY,MAAM,oBAAoB,CAAC;AAC5D,OAAO,EAAe,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACnE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAC1C,OAAO,EAAY,KAAK,YAAY,EAAE,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC;AAC7E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AACrE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAGxD,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,YAAY,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,SAAS,YAAY,EAAE,CAAC;IAC/B,QAAQ,EAAE,SAAS,WAAW,EAAE,CAAC;IACjC,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC;IAC1B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAE3B,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,UAAU,EAAE,OAAO,CAAC;IACpB,aAAa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./DiffFoldRow.js";
4
4
  import { RuleCard } from "./RuleCard.js";
5
5
  import { GUTTER_CLASS } from "./sentenceStyles.js";
6
- const RuleList = /*#__PURE__*/ forwardRef(({ rules, segments, numbered, marks, selectedRow, selectedColumnId, selectable, decisionLinks, mode, style, idPrefix, dataTestId, labels }, ref)=>{
6
+ const RuleList = /*#__PURE__*/ forwardRef(({ rules, segments, numbered, marks, selectedRow, selectedColumnId, selectable, decisionLinks, citations, mode, style, idPrefix, dataTestId, labels }, ref)=>{
7
7
  let nextRuleIndex = 0;
8
8
  const cardModeOf = (rowId, ruleDiff)=>{
9
9
  if (ruleDiff) return {
@@ -53,6 +53,7 @@ const RuleList = /*#__PURE__*/ forwardRef(({ rules, segments, numbered, marks, s
53
53
  selectedColumnId: segment.from + offset === selectedRow ? selectedColumnId : void 0,
54
54
  selectable: selectable,
55
55
  decisionLinks: decisionLinks,
56
+ citations: citations,
56
57
  ...cardModeOf(rule.rowId, row?.kind === 'rule' ? row.diff : void 0),
57
58
  idPrefix: idPrefix,
58
59
  dataTestId: dataTestId,
@@ -1,4 +1,5 @@
1
1
  import type { Mark } from './marks';
2
+ import type { OpenCitation, SentenceCitation } from './sentenceTypes';
2
3
  export type DecisionGraphLogic = {
3
4
  kind: 'table';
4
5
  hitPolicy: string;
@@ -44,4 +45,11 @@ export interface DecisionGraphExpansion {
44
45
  export interface DecisionGraphBodyContext {
45
46
  revealDecision: (decisionId: string, byKey: boolean) => void;
46
47
  }
48
+ export type DecisionGraphCitations = {
49
+ kind: 'none';
50
+ } | {
51
+ kind: 'cited';
52
+ decisions: ReadonlyMap<string, readonly SentenceCitation[]>;
53
+ onOpenCitation: OpenCitation;
54
+ };
47
55
  //# sourceMappingURL=decisionGraphTypes.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"decisionGraphTypes.d.ts","sourceRoot":"","sources":["../../src/decision-table/decisionGraphTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,S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U,CAAC;IAAC,UAAU,EAAE,MAAM,CAAA;CAAE,GACxC;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAGxD,MAAM,WAAW,sBAAsB;IACrC,QAAQ,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC9B,QAAQ,EAAE,CAAC,QAAQ,EAAE,WAAW,CAAC,MAAM,CAAC,KAAK,IAAI,CAAC;CACnD;AAGD,MAAM,WAAW,wBAAwB;IAEvC,cAAc,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;CAC9D;AAGD,MAAM,MAAM,sBAAsB,GAC9B;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,GAChB;IACE,IAAI,EAAE,OAAO,CAAC;IACd,SAAS,EAAE,WAAW,CAAC,MAAM,EAAE,SAAS,gBAAgB,EAAE,CAAC,CAAC;IAC5D,cAAc,EAAE,YAAY,CAAC;CAC9B,CAAC"}
@@ -7,7 +7,7 @@ export { DecisionTable, type DecisionTableProps, type HeaderCellContext } from '
7
7
  export { DecisionText, type DecisionTextMode, type DecisionTextProps } from './DecisionText';
8
8
  export { DragIndicator, type DragIndicatorProps } from './DragIndicator';
9
9
  export type { DecisionGraphAction, DecisionGraphEdit, DecisionGraphLogicOption, DecisionGraphMode, DecisionGraphMove, DecisionGraphPlace, } from './decisionGraphActionTypes';
10
- export type { DecisionGraphBodyContext, DecisionGraphDecisionNode, DecisionGraphExpansion, DecisionGraphLogic, DecisionGraphMark, DecisionGraphNode, DecisionGraphReferenceNode, DecisionGraphTarget, } from './decisionGraphTypes';
10
+ export type { DecisionGraphBodyContext, DecisionGraphCitations, DecisionGraphDecisionNode, DecisionGraphExpansion, DecisionGraphLogic, DecisionGraphMark, DecisionGraphNode, DecisionGraphReferenceNode, DecisionGraphTarget, } from './decisionGraphTypes';
11
11
  export type { DecisionTextDiff, DiffChange, DiffColumnChange, DiffRemovedColumn, DiffRemovedRule, DiffRuleChange, DiffValueChange, } from './decisionTextDiff';
12
12
  export type { DecisionTextEdit } from './decisionTextTypes';
13
13
  export { EdgeInsertButton, type EdgeInsertButtonProps } from './EdgeInsertButton';
@@ -24,7 +24,7 @@ export type { PolicyOption } from './PolicyOptionItem';
24
24
  export type { PolicyGroup, PolicyPickerProps } from './PolicyPicker';
25
25
  export { type GridColumnIds, selectSentenceInGrid, sentenceSelectionOf, } from './sentenceGridSelection';
26
26
  export type { GlyphTone } from './sentenceMarks';
27
- export type { DecisionTextTable, SentenceBandColumn, SentenceCellId, SentenceLine, SentenceNameToken, SentencePart, SentenceRule, SentenceSelection, SentenceToken, SentenceValueId, SentenceValueToken, } from './sentenceTypes';
27
+ export type { CitationBox, DecisionTextCitations, DecisionTextTable, OpenCitation, SentenceBandColumn, SentenceCellId, SentenceCitation, SentenceLine, SentenceNameToken, SentencePart, SentenceRule, SentenceSelection, SentenceToken, SentenceValueId, SentenceValueToken, } from './sentenceTypes';
28
28
  export type { DecisionTextContainerProps } from './useContainerHandlers';
29
29
  export { usePressDrag } from './useDragReorder';
30
30
  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,YAAY,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AACjF,YAAY,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAClD,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACtD,OAAO,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AACrF,OAAO,EAAE,iBAAiB,EAAE,KAAK,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AACrF,OAAO,EAAE,aAAa,EAAE,KAAK,kBAAkB,EAAE,KAAK,iBAAiB,EAAE,MAA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,sBAAsB,EACtB,qBAAqB,EACrB,UAAU,EACV,aAAa,EACb,SAAS,EACT,WAAW,EACX,cAAc,EACd,UAAU,GACX,MAAM,cAAc,CAAC"}
@@ -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.add_decision\":[\"Add decision\"],\"decision-graph.add_decision_after\":[\"Add decision after\"],\"decision-graph.add_decision_before\":[\"Add decision before\"],\"decision-graph.add_note\":[\"Add note\"],\"decision-graph.add_required_input\":[\"Add required input\"],\"decision-graph.cancel\":[\"Cancel\"],\"decision-graph.change_logic_to\":[\"Change logic to \",[\"logic\"]],\"decision-graph.choose_inputs\":[\"Choose inputs\"],\"decision-graph.choose_users\":[\"Choose users\"],\"decision-graph.decision_actions\":[[\"name\"],\" actions\"],\"decision-graph.delete\":[\"Delete\"],\"decision-graph.delete_title\":[\"Delete \",[\"name\"],\"?\"],\"decision-graph.delete_unused\":[\"No decision uses it.\"],\"decision-graph.delete_used_by\":[\"These decisions use it:\"],\"decision-graph.empty\":[\"No decisions yet\"],\"decision-graph.graph\":[\"Decisions\"],\"decision-graph.inputs_title\":[\"Inputs of \",[\"name\"]],\"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.move_down\":[\"Move down\"],\"decision-graph.move_out_of\":[\"Move out of \",[\"name\"]],\"decision-graph.move_under\":[\"Move under \",[\"name\"]],\"decision-graph.move_up\":[\"Move up\"],\"decision-graph.name_field\":[\"Name of \",[\"name\"]],\"decision-graph.no_other_decisions\":[\"No other decisions\"],\"decision-graph.note_title\":[\"Note on \",[\"name\"]],\"decision-graph.open_decision\":[\"Open decision\"],\"decision-graph.rename\":[\"Rename\"],\"decision-graph.rule_count\":[[\"count\",\"plural\",{\"one\":[\"#\",\" rule\"],\"other\":[\"#\",\" rules\"]}]],\"decision-graph.save\":[\"Save\"],\"decision-graph.see_above\":[\"See \",[\"name\"],\" above\"],\"decision-graph.show_problem\":[[\"status\"],\". Show it\"],\"decision-graph.stop_using_in\":[\"Stop using in \",[\"name\"]],\"decision-graph.used_by\":[\"Used by \",[\"names\"]],\"decision-graph.users_title\":[\"Decisions that use \",[\"name\"]],\"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_example\":[\"e.g. \",[\"example\"]],\"decision-text.allowed_values_hint\":[\"Separate values with commas, and write each one as the example shows.\"],\"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.hit_policy_name\":[\"Hit policy: \",[\"policy\"]],\"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.rule_moved\":[\"Rule moved from position \",[\"from\"],\" to \",[\"to\"]],\"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.add_decision\":[\"Add decision\"],\"decision-graph.add_decision_after\":[\"Add decision after\"],\"decision-graph.add_decision_before\":[\"Add decision before\"],\"decision-graph.add_note\":[\"Add note\"],\"decision-graph.add_required_input\":[\"Add required input\"],\"decision-graph.cancel\":[\"Cancel\"],\"decision-graph.change_logic_to\":[\"Change logic to \",[\"logic\"]],\"decision-graph.choose_inputs\":[\"Choose inputs\"],\"decision-graph.choose_users\":[\"Choose users\"],\"decision-graph.decision_actions\":[[\"name\"],\" actions\"],\"decision-graph.delete\":[\"Delete\"],\"decision-graph.delete_title\":[\"Delete \",[\"name\"],\"?\"],\"decision-graph.delete_unused\":[\"No decision uses it.\"],\"decision-graph.delete_used_by\":[\"These decisions use it:\"],\"decision-graph.empty\":[\"No decisions yet\"],\"decision-graph.graph\":[\"Decisions\"],\"decision-graph.inputs_title\":[\"Inputs of \",[\"name\"]],\"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.move_down\":[\"Move down\"],\"decision-graph.move_out_of\":[\"Move out of \",[\"name\"]],\"decision-graph.move_under\":[\"Move under \",[\"name\"]],\"decision-graph.move_up\":[\"Move up\"],\"decision-graph.name_field\":[\"Name of \",[\"name\"]],\"decision-graph.no_other_decisions\":[\"No other decisions\"],\"decision-graph.note_title\":[\"Note on \",[\"name\"]],\"decision-graph.open_decision\":[\"Open decision\"],\"decision-graph.rename\":[\"Rename\"],\"decision-graph.rule_count\":[[\"count\",\"plural\",{\"one\":[\"#\",\" rule\"],\"other\":[\"#\",\" rules\"]}]],\"decision-graph.save\":[\"Save\"],\"decision-graph.see_above\":[\"See \",[\"name\"],\" above\"],\"decision-graph.show_problem\":[[\"status\"],\". Show it\"],\"decision-graph.stop_using_in\":[\"Stop using in \",[\"name\"]],\"decision-graph.used_by\":[\"Used by \",[\"names\"]],\"decision-graph.users_title\":[\"Decisions that use \",[\"name\"]],\"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_example\":[\"e.g. \",[\"example\"]],\"decision-text.allowed_values_hint\":[\"Separate values with commas, and write each one as the example shows.\"],\"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.citation_page\":[\"Page \",[\"page\"]],\"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.hit_policy_name\":[\"Hit policy: \",[\"policy\"]],\"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.open_decision_citation\":[\"Open source\",[\"index\",\"plural\",{\"0\":[],\"other\":[\" \",\"#\"]}],\" of \",[\"decision\"],\", page \",[\"page\"]],\"decision-text.open_rule_citation\":[\"Open source\",[\"index\",\"plural\",{\"0\":[],\"other\":[\" \",\"#\"]}],\" of rule \",[\"position\"],\", page \",[\"page\"]],\"decision-text.open_table_citation\":[\"Open source\",[\"index\",\"plural\",{\"0\":[],\"other\":[\" \",\"#\"]}],\" of this decision, page \",[\"page\"]],\"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.rule_moved\":[\"Rule moved from position \",[\"from\"],\" to \",[\"to\"]],\"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,EAAkyM,QAAQ,CAAC"}
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,EAA4zN,QAAQ,CAAC"}
@@ -1,2 +1,2 @@
1
- const messages = JSON.parse("{\"decision-graph.add_decision\":[\"Add decision\"],\"decision-graph.add_decision_after\":[\"Add decision after\"],\"decision-graph.add_decision_before\":[\"Add decision before\"],\"decision-graph.add_note\":[\"Add note\"],\"decision-graph.add_required_input\":[\"Add required input\"],\"decision-graph.cancel\":[\"Cancel\"],\"decision-graph.change_logic_to\":[\"Change logic to \",[\"logic\"]],\"decision-graph.choose_inputs\":[\"Choose inputs\"],\"decision-graph.choose_users\":[\"Choose users\"],\"decision-graph.decision_actions\":[[\"name\"],\" actions\"],\"decision-graph.delete\":[\"Delete\"],\"decision-graph.delete_title\":[\"Delete \",[\"name\"],\"?\"],\"decision-graph.delete_unused\":[\"No decision uses it.\"],\"decision-graph.delete_used_by\":[\"These decisions use it:\"],\"decision-graph.empty\":[\"No decisions yet\"],\"decision-graph.graph\":[\"Decisions\"],\"decision-graph.inputs_title\":[\"Inputs of \",[\"name\"]],\"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.move_down\":[\"Move down\"],\"decision-graph.move_out_of\":[\"Move out of \",[\"name\"]],\"decision-graph.move_under\":[\"Move under \",[\"name\"]],\"decision-graph.move_up\":[\"Move up\"],\"decision-graph.name_field\":[\"Name of \",[\"name\"]],\"decision-graph.no_other_decisions\":[\"No other decisions\"],\"decision-graph.note_title\":[\"Note on \",[\"name\"]],\"decision-graph.open_decision\":[\"Open decision\"],\"decision-graph.rename\":[\"Rename\"],\"decision-graph.rule_count\":[[\"count\",\"plural\",{\"one\":[\"#\",\" rule\"],\"other\":[\"#\",\" rules\"]}]],\"decision-graph.save\":[\"Save\"],\"decision-graph.see_above\":[\"See \",[\"name\"],\" above\"],\"decision-graph.show_problem\":[[\"status\"],\". Show it\"],\"decision-graph.stop_using_in\":[\"Stop using in \",[\"name\"]],\"decision-graph.used_by\":[\"Used by \",[\"names\"]],\"decision-graph.users_title\":[\"Decisions that use \",[\"name\"]],\"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_example\":[\"e.g. \",[\"example\"]],\"decision-text.allowed_values_hint\":[\"Separate values with commas, and write each one as the example shows.\"],\"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.hit_policy_name\":[\"Hit policy: \",[\"policy\"]],\"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.rule_moved\":[\"Rule moved from position \",[\"from\"],\" to \",[\"to\"]],\"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.add_decision\":[\"Add decision\"],\"decision-graph.add_decision_after\":[\"Add decision after\"],\"decision-graph.add_decision_before\":[\"Add decision before\"],\"decision-graph.add_note\":[\"Add note\"],\"decision-graph.add_required_input\":[\"Add required input\"],\"decision-graph.cancel\":[\"Cancel\"],\"decision-graph.change_logic_to\":[\"Change logic to \",[\"logic\"]],\"decision-graph.choose_inputs\":[\"Choose inputs\"],\"decision-graph.choose_users\":[\"Choose users\"],\"decision-graph.decision_actions\":[[\"name\"],\" actions\"],\"decision-graph.delete\":[\"Delete\"],\"decision-graph.delete_title\":[\"Delete \",[\"name\"],\"?\"],\"decision-graph.delete_unused\":[\"No decision uses it.\"],\"decision-graph.delete_used_by\":[\"These decisions use it:\"],\"decision-graph.empty\":[\"No decisions yet\"],\"decision-graph.graph\":[\"Decisions\"],\"decision-graph.inputs_title\":[\"Inputs of \",[\"name\"]],\"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.move_down\":[\"Move down\"],\"decision-graph.move_out_of\":[\"Move out of \",[\"name\"]],\"decision-graph.move_under\":[\"Move under \",[\"name\"]],\"decision-graph.move_up\":[\"Move up\"],\"decision-graph.name_field\":[\"Name of \",[\"name\"]],\"decision-graph.no_other_decisions\":[\"No other decisions\"],\"decision-graph.note_title\":[\"Note on \",[\"name\"]],\"decision-graph.open_decision\":[\"Open decision\"],\"decision-graph.rename\":[\"Rename\"],\"decision-graph.rule_count\":[[\"count\",\"plural\",{\"one\":[\"#\",\" rule\"],\"other\":[\"#\",\" rules\"]}]],\"decision-graph.save\":[\"Save\"],\"decision-graph.see_above\":[\"See \",[\"name\"],\" above\"],\"decision-graph.show_problem\":[[\"status\"],\". Show it\"],\"decision-graph.stop_using_in\":[\"Stop using in \",[\"name\"]],\"decision-graph.used_by\":[\"Used by \",[\"names\"]],\"decision-graph.users_title\":[\"Decisions that use \",[\"name\"]],\"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_example\":[\"e.g. \",[\"example\"]],\"decision-text.allowed_values_hint\":[\"Separate values with commas, and write each one as the example shows.\"],\"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.citation_page\":[\"Page \",[\"page\"]],\"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.hit_policy_name\":[\"Hit policy: \",[\"policy\"]],\"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.open_decision_citation\":[\"Open source\",[\"index\",\"plural\",{\"0\":[],\"other\":[\" \",\"#\"]}],\" of \",[\"decision\"],\", page \",[\"page\"]],\"decision-text.open_rule_citation\":[\"Open source\",[\"index\",\"plural\",{\"0\":[],\"other\":[\" \",\"#\"]}],\" of rule \",[\"position\"],\", page \",[\"page\"]],\"decision-text.open_table_citation\":[\"Open source\",[\"index\",\"plural\",{\"0\":[],\"other\":[\" \",\"#\"]}],\" of this decision, page \",[\"page\"]],\"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.rule_moved\":[\"Rule moved from position \",[\"from\"],\" to \",[\"to\"]],\"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.add_decision\":[\"Add decision\"],\"decision-graph.add_decision_after\":[\"Add decision after\"],\"decision-graph.add_decision_before\":[\"Add decision before\"],\"decision-graph.add_note\":[\"Add note\"],\"decision-graph.add_required_input\":[\"Add required input\"],\"decision-graph.cancel\":[\"Cancel\"],\"decision-graph.change_logic_to\":[\"Change logic to \",[\"logic\"]],\"decision-graph.choose_inputs\":[\"Choose inputs\"],\"decision-graph.choose_users\":[\"Choose users\"],\"decision-graph.decision_actions\":[[\"name\"],\" actions\"],\"decision-graph.delete\":[\"Delete\"],\"decision-graph.delete_title\":[\"Delete \",[\"name\"],\"?\"],\"decision-graph.delete_unused\":[\"No decision uses it.\"],\"decision-graph.delete_used_by\":[\"These decisions use it:\"],\"decision-graph.empty\":[\"No decisions yet\"],\"decision-graph.graph\":[\"Decisions\"],\"decision-graph.inputs_title\":[\"Inputs of \",[\"name\"]],\"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.move_down\":[\"Move down\"],\"decision-graph.move_out_of\":[\"Move out of \",[\"name\"]],\"decision-graph.move_under\":[\"Move under \",[\"name\"]],\"decision-graph.move_up\":[\"Move up\"],\"decision-graph.name_field\":[\"Name of \",[\"name\"]],\"decision-graph.no_other_decisions\":[\"No other decisions\"],\"decision-graph.note_title\":[\"Note on \",[\"name\"]],\"decision-graph.open_decision\":[\"Open decision\"],\"decision-graph.rename\":[\"Rename\"],\"decision-graph.rule_count\":[[\"count\",\"plural\",{\"one\":[\"#\",\" rule\"],\"other\":[\"#\",\" rules\"]}]],\"decision-graph.save\":[\"Save\"],\"decision-graph.see_above\":[\"See \",[\"name\"],\" above\"],\"decision-graph.show_problem\":[[\"status\"],\". Show it\"],\"decision-graph.stop_using_in\":[\"Stop using in \",[\"name\"]],\"decision-graph.used_by\":[\"Used by \",[\"names\"]],\"decision-graph.users_title\":[\"Decisions that use \",[\"name\"]],\"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_example\":[\"e.g. \",[\"example\"]],\"decision-text.allowed_values_hint\":[\"Separate values with commas, and write each one as the example shows.\"],\"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.hit_policy_name\":[\"Hit policy: \",[\"policy\"]],\"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.rule_moved\":[\"Rule moved from position \",[\"from\"],\" to \",[\"to\"]],\"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.add_decision\":[\"Add decision\"],\"decision-graph.add_decision_after\":[\"Add decision after\"],\"decision-graph.add_decision_before\":[\"Add decision before\"],\"decision-graph.add_note\":[\"Add note\"],\"decision-graph.add_required_input\":[\"Add required input\"],\"decision-graph.cancel\":[\"Cancel\"],\"decision-graph.change_logic_to\":[\"Change logic to \",[\"logic\"]],\"decision-graph.choose_inputs\":[\"Choose inputs\"],\"decision-graph.choose_users\":[\"Choose users\"],\"decision-graph.decision_actions\":[[\"name\"],\" actions\"],\"decision-graph.delete\":[\"Delete\"],\"decision-graph.delete_title\":[\"Delete \",[\"name\"],\"?\"],\"decision-graph.delete_unused\":[\"No decision uses it.\"],\"decision-graph.delete_used_by\":[\"These decisions use it:\"],\"decision-graph.empty\":[\"No decisions yet\"],\"decision-graph.graph\":[\"Decisions\"],\"decision-graph.inputs_title\":[\"Inputs of \",[\"name\"]],\"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.move_down\":[\"Move down\"],\"decision-graph.move_out_of\":[\"Move out of \",[\"name\"]],\"decision-graph.move_under\":[\"Move under \",[\"name\"]],\"decision-graph.move_up\":[\"Move up\"],\"decision-graph.name_field\":[\"Name of \",[\"name\"]],\"decision-graph.no_other_decisions\":[\"No other decisions\"],\"decision-graph.note_title\":[\"Note on \",[\"name\"]],\"decision-graph.open_decision\":[\"Open decision\"],\"decision-graph.rename\":[\"Rename\"],\"decision-graph.rule_count\":[[\"count\",\"plural\",{\"one\":[\"#\",\" rule\"],\"other\":[\"#\",\" rules\"]}]],\"decision-graph.save\":[\"Save\"],\"decision-graph.see_above\":[\"See \",[\"name\"],\" above\"],\"decision-graph.show_problem\":[[\"status\"],\". Show it\"],\"decision-graph.stop_using_in\":[\"Stop using in \",[\"name\"]],\"decision-graph.used_by\":[\"Used by \",[\"names\"]],\"decision-graph.users_title\":[\"Decisions that use \",[\"name\"]],\"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_example\":[\"e.g. \",[\"example\"]],\"decision-text.allowed_values_hint\":[\"Separate values with commas, and write each one as the example shows.\"],\"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.citation_page\":[\"Page \",[\"page\"]],\"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.hit_policy_name\":[\"Hit policy: \",[\"policy\"]],\"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.open_decision_citation\":[\"Open source\",[\"index\",\"plural\",{\"0\":[],\"other\":[\" \",\"#\"]}],\" of \",[\"decision\"],\", page \",[\"page\"]],\"decision-text.open_rule_citation\":[\"Open source\",[\"index\",\"plural\",{\"0\":[],\"other\":[\" \",\"#\"]}],\" of rule \",[\"position\"],\", page \",[\"page\"]],\"decision-text.open_table_citation\":[\"Open source\",[\"index\",\"plural\",{\"0\":[],\"other\":[\" \",\"#\"]}],\" of this decision, page \",[\"page\"]],\"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.rule_moved\":[\"Rule moved from position \",[\"from\"],\" to \",[\"to\"]],\"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,EAAkyM,QAAQ,CAAC"}
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,EAA4zN,QAAQ,CAAC"}