@uipath/apollo-react 7.37.0 → 7.38.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/AddRuleButton.cjs +3 -1
- package/dist/decision-table/AddRuleButton.d.ts.map +1 -1
- package/dist/decision-table/AddRuleButton.js +3 -1
- package/dist/decision-table/BandColumn.cjs +5 -1
- package/dist/decision-table/BandColumn.d.ts.map +1 -1
- package/dist/decision-table/BandColumn.js +6 -2
- package/dist/decision-table/BandList.cjs +1 -7
- package/dist/decision-table/BandList.d.ts.map +1 -1
- package/dist/decision-table/BandList.js +1 -7
- package/dist/decision-table/DecisionText.cjs +79 -66
- package/dist/decision-table/DecisionText.d.ts.map +1 -1
- package/dist/decision-table/DecisionText.js +80 -67
- package/dist/decision-table/RuleCard.cjs +29 -17
- package/dist/decision-table/RuleCard.d.ts.map +1 -1
- package/dist/decision-table/RuleCard.js +30 -18
- package/dist/decision-table/RuleList.d.ts +1 -1
- package/dist/decision-table/RuleList.d.ts.map +1 -1
- package/dist/decision-table/TokenChip.cjs +1 -1
- package/dist/decision-table/TokenChip.d.ts.map +1 -1
- package/dist/decision-table/TokenChip.js +2 -2
- package/dist/decision-table/decisionGraphStyles.cjs +3 -2
- package/dist/decision-table/decisionGraphStyles.d.ts +2 -2
- package/dist/decision-table/decisionGraphStyles.d.ts.map +1 -1
- package/dist/decision-table/decisionGraphStyles.js +3 -2
- package/dist/decision-table/decisionTextTypes.d.ts +1 -0
- package/dist/decision-table/decisionTextTypes.d.ts.map +1 -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/sentenceRuleHeights.cjs +7 -4
- package/dist/decision-table/sentenceRuleHeights.d.ts +1 -0
- package/dist/decision-table/sentenceRuleHeights.d.ts.map +1 -1
- package/dist/decision-table/sentenceRuleHeights.js +5 -5
- package/dist/decision-table/sentenceStyles.cjs +41 -16
- package/dist/decision-table/sentenceStyles.d.ts +11 -5
- package/dist/decision-table/sentenceStyles.d.ts.map +1 -1
- package/dist/decision-table/sentenceStyles.js +18 -11
- package/dist/decision-table/styles/tailwind.decision-table.css +1 -1
- package/dist/decision-table/useDecisionTextStrings.cjs +14 -7
- package/dist/decision-table/useDecisionTextStrings.d.ts.map +1 -1
- package/dist/decision-table/useDecisionTextStrings.js +14 -7
- package/package.json +3 -3
- package/dist/decision-table/useHorizontalOverflow.cjs +0 -65
- package/dist/decision-table/useHorizontalOverflow.d.ts +0 -5
- package/dist/decision-table/useHorizontalOverflow.d.ts.map +0 -1
- package/dist/decision-table/useHorizontalOverflow.js +0 -31
|
@@ -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.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\",[\"
|
|
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\",[\"numbered\",\"select\",{\"yes\":[\" \",[\"index\"]],\"other\":[]}],\" of \",[\"decision\"],\", page \",[\"page\"]],\"decision-text.open_rule_citation\":[\"Open source\",[\"numbered\",\"select\",{\"yes\":[\" \",[\"index\"]],\"other\":[]}],\" of rule \",[\"position\"],\", page \",[\"page\"]],\"decision-text.open_table_citation\":[\"Open source\",[\"numbered\",\"select\",{\"yes\":[\" \",[\"index\"]],\"other\":[]}],\" of this decision, page \",[\"page\"]],\"decision-text.operator\":[\"Operator\"],\"decision-text.output_column\":[\"Output · \",[\"name\"]],\"decision-text.output_name\":[\"Output name\"],\"decision-text.press_enter_for_sources\":[\"Press Enter to reach the rules' sources\"],\"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":"zh-TW.d.ts","sourceRoot":"","sources":["../../../src/decision-table/locales/zh-TW.ts"],"names":[],"mappings":"AAAkB,OAAO,KAAI,EAAC,QAAQ,EAAC,MAAI,cAAc,CAAC;AAAA,eAAO,MAAM,QAAQ,
|
|
1
|
+
{"version":3,"file":"zh-TW.d.ts","sourceRoot":"","sources":["../../../src/decision-table/locales/zh-TW.ts"],"names":[],"mappings":"AAAkB,OAAO,KAAI,EAAC,QAAQ,EAAC,MAAI,cAAc,CAAC;AAAA,eAAO,MAAM,QAAQ,EAAq7N,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.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\",[\"
|
|
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\",[\"numbered\",\"select\",{\"yes\":[\" \",[\"index\"]],\"other\":[]}],\" of \",[\"decision\"],\", page \",[\"page\"]],\"decision-text.open_rule_citation\":[\"Open source\",[\"numbered\",\"select\",{\"yes\":[\" \",[\"index\"]],\"other\":[]}],\" of rule \",[\"position\"],\", page \",[\"page\"]],\"decision-text.open_table_citation\":[\"Open source\",[\"numbered\",\"select\",{\"yes\":[\" \",[\"index\"]],\"other\":[]}],\" of this decision, page \",[\"page\"]],\"decision-text.operator\":[\"Operator\"],\"decision-text.output_column\":[\"Output · \",[\"name\"]],\"decision-text.output_name\":[\"Output name\"],\"decision-text.press_enter_for_sources\":[\"Press Enter to reach the rules' sources\"],\"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 };
|
|
@@ -24,6 +24,7 @@ var __webpack_require__ = {};
|
|
|
24
24
|
var __webpack_exports__ = {};
|
|
25
25
|
__webpack_require__.r(__webpack_exports__);
|
|
26
26
|
__webpack_require__.d(__webpack_exports__, {
|
|
27
|
+
SENTENCE_LIST_STYLE: ()=>SENTENCE_LIST_STYLE,
|
|
27
28
|
SENTENCE_MIN_RULE_HEIGHT_PX: ()=>SENTENCE_MIN_RULE_HEIGHT_PX,
|
|
28
29
|
sentenceListStyle: ()=>sentenceListStyle,
|
|
29
30
|
sentenceRuleOffsets: ()=>sentenceRuleOffsets
|
|
@@ -33,7 +34,7 @@ const SENTENCE_RULE_BORDER_PX = 1;
|
|
|
33
34
|
const SENTENCE_RULE_PADDING_PX = 10;
|
|
34
35
|
const SENTENCE_LINES_GAP_PX = 2;
|
|
35
36
|
const SENTENCE_RULE_GAP_PX = 8;
|
|
36
|
-
const SENTENCE_MIN_RULE_HEIGHT_PX = 2 * SENTENCE_RULE_BORDER_PX + 2 * SENTENCE_RULE_PADDING_PX + SENTENCE_RULE_GAP_PX +
|
|
37
|
+
const SENTENCE_MIN_RULE_HEIGHT_PX = 2 * SENTENCE_RULE_BORDER_PX + 2 * SENTENCE_RULE_PADDING_PX + SENTENCE_RULE_GAP_PX + SENTENCE_LINE_HEIGHT_PX;
|
|
37
38
|
const sentenceRuleHeight = (rule)=>0 === rule.lines.length ? SENTENCE_MIN_RULE_HEIGHT_PX : SENTENCE_MIN_RULE_HEIGHT_PX + SENTENCE_LINES_GAP_PX + SENTENCE_LINE_HEIGHT_PX * rule.lines.length;
|
|
38
39
|
const sentenceRuleOffsets = (rules, measured)=>{
|
|
39
40
|
let total = 0;
|
|
@@ -46,7 +47,7 @@ const sentenceRuleOffsets = (rules, measured)=>{
|
|
|
46
47
|
}
|
|
47
48
|
return offsets;
|
|
48
49
|
};
|
|
49
|
-
const
|
|
50
|
+
const SENTENCE_LIST_STYLE = {
|
|
50
51
|
'--sentence-line': `${SENTENCE_LINE_HEIGHT_PX}px`,
|
|
51
52
|
'--sentence-row-border': `${SENTENCE_RULE_BORDER_PX}px`,
|
|
52
53
|
'--sentence-row-padding': `${SENTENCE_RULE_PADDING_PX}px`,
|
|
@@ -54,13 +55,15 @@ const LIST_GEOMETRY = {
|
|
|
54
55
|
'--sentence-row-gap': `${SENTENCE_RULE_GAP_PX}px`
|
|
55
56
|
};
|
|
56
57
|
const sentenceListStyle = (numbered, ruleCount)=>numbered ? {
|
|
57
|
-
...
|
|
58
|
+
...SENTENCE_LIST_STYLE,
|
|
58
59
|
'--sentence-number-digits': String(ruleCount).length
|
|
59
|
-
} :
|
|
60
|
+
} : SENTENCE_LIST_STYLE;
|
|
61
|
+
exports.SENTENCE_LIST_STYLE = __webpack_exports__.SENTENCE_LIST_STYLE;
|
|
60
62
|
exports.SENTENCE_MIN_RULE_HEIGHT_PX = __webpack_exports__.SENTENCE_MIN_RULE_HEIGHT_PX;
|
|
61
63
|
exports.sentenceListStyle = __webpack_exports__.sentenceListStyle;
|
|
62
64
|
exports.sentenceRuleOffsets = __webpack_exports__.sentenceRuleOffsets;
|
|
63
65
|
for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
66
|
+
"SENTENCE_LIST_STYLE",
|
|
64
67
|
"SENTENCE_MIN_RULE_HEIGHT_PX",
|
|
65
68
|
"sentenceListStyle",
|
|
66
69
|
"sentenceRuleOffsets"
|
|
@@ -3,5 +3,6 @@ import type { SentenceRule } from './sentenceTypes';
|
|
|
3
3
|
export declare const SENTENCE_MIN_RULE_HEIGHT_PX: number;
|
|
4
4
|
export declare const sentenceRuleOffsets: (rules: readonly SentenceRule[], measured?: ReadonlyMap<string, number>) => number[];
|
|
5
5
|
export type SentenceListStyle = React.CSSProperties & Record<`--sentence-${string}`, string | number>;
|
|
6
|
+
export declare const SENTENCE_LIST_STYLE: SentenceListStyle;
|
|
6
7
|
export declare const sentenceListStyle: (numbered: boolean, ruleCount: number) => SentenceListStyle;
|
|
7
8
|
//# sourceMappingURL=sentenceRuleHeights.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sentenceRuleHeights.d.ts","sourceRoot":"","sources":["../../src/decision-table/sentenceRuleHeights.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AASpD,eAAO,MAAM,2BAA2B,
|
|
1
|
+
{"version":3,"file":"sentenceRuleHeights.d.ts","sourceRoot":"","sources":["../../src/decision-table/sentenceRuleHeights.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AASpD,eAAO,MAAM,2BAA2B,QAIf,CAAC;AAW1B,eAAO,MAAM,mBAAmB,GAC9B,OAAO,SAAS,YAAY,EAAE,EAC9B,WAAW,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,KACrC,MAAM,EAQR,CAAC;AAGF,MAAM,MAAM,iBAAiB,GAAG,KAAK,CAAC,aAAa,GACjD,MAAM,CAAC,cAAc,MAAM,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;AAElD,eAAO,MAAM,mBAAmB,EAAE,iBAMjC,CAAC;AAGF,eAAO,MAAM,iBAAiB,GAAI,UAAU,OAAO,EAAE,WAAW,MAAM,KAAG,iBAGhD,CAAC"}
|
|
@@ -3,7 +3,7 @@ const SENTENCE_RULE_BORDER_PX = 1;
|
|
|
3
3
|
const SENTENCE_RULE_PADDING_PX = 10;
|
|
4
4
|
const SENTENCE_LINES_GAP_PX = 2;
|
|
5
5
|
const SENTENCE_RULE_GAP_PX = 8;
|
|
6
|
-
const SENTENCE_MIN_RULE_HEIGHT_PX = 2 * SENTENCE_RULE_BORDER_PX + 2 * SENTENCE_RULE_PADDING_PX + SENTENCE_RULE_GAP_PX +
|
|
6
|
+
const SENTENCE_MIN_RULE_HEIGHT_PX = 2 * SENTENCE_RULE_BORDER_PX + 2 * SENTENCE_RULE_PADDING_PX + SENTENCE_RULE_GAP_PX + SENTENCE_LINE_HEIGHT_PX;
|
|
7
7
|
const sentenceRuleHeight = (rule)=>0 === rule.lines.length ? SENTENCE_MIN_RULE_HEIGHT_PX : SENTENCE_MIN_RULE_HEIGHT_PX + SENTENCE_LINES_GAP_PX + SENTENCE_LINE_HEIGHT_PX * rule.lines.length;
|
|
8
8
|
const sentenceRuleOffsets = (rules, measured)=>{
|
|
9
9
|
let total = 0;
|
|
@@ -16,7 +16,7 @@ const sentenceRuleOffsets = (rules, measured)=>{
|
|
|
16
16
|
}
|
|
17
17
|
return offsets;
|
|
18
18
|
};
|
|
19
|
-
const
|
|
19
|
+
const SENTENCE_LIST_STYLE = {
|
|
20
20
|
'--sentence-line': `${SENTENCE_LINE_HEIGHT_PX}px`,
|
|
21
21
|
'--sentence-row-border': `${SENTENCE_RULE_BORDER_PX}px`,
|
|
22
22
|
'--sentence-row-padding': `${SENTENCE_RULE_PADDING_PX}px`,
|
|
@@ -24,7 +24,7 @@ const LIST_GEOMETRY = {
|
|
|
24
24
|
'--sentence-row-gap': `${SENTENCE_RULE_GAP_PX}px`
|
|
25
25
|
};
|
|
26
26
|
const sentenceListStyle = (numbered, ruleCount)=>numbered ? {
|
|
27
|
-
...
|
|
27
|
+
...SENTENCE_LIST_STYLE,
|
|
28
28
|
'--sentence-number-digits': String(ruleCount).length
|
|
29
|
-
} :
|
|
30
|
-
export { SENTENCE_MIN_RULE_HEIGHT_PX, sentenceListStyle, sentenceRuleOffsets };
|
|
29
|
+
} : SENTENCE_LIST_STYLE;
|
|
30
|
+
export { SENTENCE_LIST_STYLE, SENTENCE_MIN_RULE_HEIGHT_PX, sentenceListStyle, sentenceRuleOffsets };
|
|
@@ -45,6 +45,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
45
45
|
POLICY_OPTION_LABEL_CLASS: ()=>POLICY_OPTION_LABEL_CLASS,
|
|
46
46
|
REVEALED_ACTION_CLASS: ()=>REVEALED_ACTION_CLASS,
|
|
47
47
|
STRUCK_VALUE_CLASS: ()=>STRUCK_VALUE_CLASS,
|
|
48
|
+
EDITABLE_VALUE_CLASS: ()=>EDITABLE_VALUE_CLASS,
|
|
48
49
|
POPOVER_FIELD_CLASS: ()=>POPOVER_FIELD_CLASS,
|
|
49
50
|
POLICY_CHECK_CLASS: ()=>POLICY_CHECK_CLASS,
|
|
50
51
|
DECISION_TEXT_FRAME_CLASS: ()=>DECISION_TEXT_FRAME_CLASS,
|
|
@@ -62,12 +63,12 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
62
63
|
REMOVED_LINE_CLASS: ()=>REMOVED_LINE_CLASS,
|
|
63
64
|
DELETE_RULE_CLASS: ()=>DELETE_RULE_CLASS,
|
|
64
65
|
HEADER_LABEL_CLASS: ()=>HEADER_LABEL_CLASS,
|
|
66
|
+
ADD_RULE_LINK_CLASS: ()=>ADD_RULE_LINK_CLASS,
|
|
65
67
|
COLUMN_FIELD_LABEL_CLASS: ()=>COLUMN_FIELD_LABEL_CLASS,
|
|
66
68
|
LINE_BULLET_CLASS: ()=>LINE_BULLET_CLASS,
|
|
67
|
-
POPOVER_HEADER_CLASS: ()=>POPOVER_HEADER_CLASS,
|
|
68
69
|
MARK_TOOLTIP_ANCHOR_CLASS: ()=>MARK_TOOLTIP_ANCHOR_CLASS,
|
|
70
|
+
POPOVER_HEADER_CLASS: ()=>POPOVER_HEADER_CLASS,
|
|
69
71
|
POPOVER_OPTION_CLASS: ()=>POPOVER_OPTION_CLASS,
|
|
70
|
-
POPOVER_TITLE_CLASS: ()=>POPOVER_TITLE_CLASS,
|
|
71
72
|
MOVED_ICON_CLASS: ()=>MOVED_ICON_CLASS,
|
|
72
73
|
HEADING_TEXT_CLASS: ()=>HEADING_TEXT_CLASS,
|
|
73
74
|
PENDING_LINE_CLASS: ()=>PENDING_LINE_CLASS,
|
|
@@ -75,34 +76,38 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
75
76
|
MORE_VALUES_CLASS: ()=>MORE_VALUES_CLASS,
|
|
76
77
|
POLICY_OPTION_TITLE_CLASS: ()=>POLICY_OPTION_TITLE_CLASS,
|
|
77
78
|
MATCHED_LINE_CLASS: ()=>MATCHED_LINE_CLASS,
|
|
79
|
+
POPOVER_TITLE_CLASS: ()=>POPOVER_TITLE_CLASS,
|
|
78
80
|
ROW_NUMBER_CHANGE_CLASS: ()=>ROW_NUMBER_CHANGE_CLASS,
|
|
79
81
|
RULE_CITATIONS_CLASS: ()=>RULE_CITATIONS_CLASS,
|
|
80
|
-
|
|
82
|
+
SENTENCE_CLASS: ()=>SENTENCE_CLASS,
|
|
81
83
|
DECISION_TEXT_HEADER_CLASS: ()=>DECISION_TEXT_HEADER_CLASS,
|
|
82
84
|
RANGE_INCLUDED_CLASS: ()=>RANGE_INCLUDED_CLASS,
|
|
83
85
|
BAND_CAPTION_CLASS: ()=>BAND_CAPTION_CLASS,
|
|
86
|
+
BAND_COLUMN_NAME_CLASS: ()=>BAND_COLUMN_NAME_CLASS,
|
|
84
87
|
POLICY_CODE_CLASS: ()=>POLICY_CODE_CLASS,
|
|
85
|
-
RANGE_END_CLASS: ()=>RANGE_END_CLASS,
|
|
86
88
|
ALLOWED_VALUE_LABEL_CLASS: ()=>ALLOWED_VALUE_LABEL_CLASS,
|
|
87
89
|
MARK_TOOLTIP_TEXT_CLASS: ()=>MARK_TOOLTIP_TEXT_CLASS,
|
|
90
|
+
RANGE_END_CLASS: ()=>RANGE_END_CLASS,
|
|
88
91
|
REMOVE_CONDITION_CLASS: ()=>REMOVE_CONDITION_CLASS,
|
|
89
|
-
ROW_SURFACE_CLASS: ()=>ROW_SURFACE_CLASS,
|
|
90
92
|
LINE_CLASS: ()=>LINE_CLASS,
|
|
91
93
|
LINES_CLASS: ()=>LINES_CLASS,
|
|
92
94
|
HEADING_ACTIONS_SPACE_CLASS: ()=>HEADING_ACTIONS_SPACE_CLASS,
|
|
93
95
|
ROW_CHANGE_CLASS: ()=>ROW_CHANGE_CLASS,
|
|
94
96
|
HEADER_CITATIONS_CLASS: ()=>HEADER_CITATIONS_CLASS,
|
|
95
97
|
ALLOWED_VALUE_CLASS: ()=>ALLOWED_VALUE_CLASS,
|
|
96
|
-
|
|
98
|
+
INLINE_LINE_CLASS: ()=>INLINE_LINE_CLASS,
|
|
97
99
|
COLUMN_EDITOR_CLASS: ()=>COLUMN_EDITOR_CLASS,
|
|
98
100
|
CITED_LINE_CLASS: ()=>CITED_LINE_CLASS,
|
|
101
|
+
ROW_SURFACE_CLASS: ()=>ROW_SURFACE_CLASS,
|
|
99
102
|
EMPTY_OUTPUT_VALUE_CLASS: ()=>EMPTY_OUTPUT_VALUE_CLASS,
|
|
100
103
|
POLICY_ITEM_CLASS: ()=>POLICY_ITEM_CLASS,
|
|
104
|
+
RULE_CARD_CLASS: ()=>RULE_CARD_CLASS,
|
|
101
105
|
COLUMN_HINT_CLASS: ()=>COLUMN_HINT_CLASS,
|
|
102
106
|
POLICY_HINT_CLASS: ()=>POLICY_HINT_CLASS,
|
|
103
107
|
POLICY_OPTION_CODE_CLASS: ()=>POLICY_OPTION_CODE_CLASS,
|
|
104
108
|
TOKEN_KIND_CLASS: ()=>TOKEN_KIND_CLASS,
|
|
105
109
|
CITATION_BUTTON_CLASS: ()=>CITATION_BUTTON_CLASS,
|
|
110
|
+
VALUE_EDITOR_CLASS: ()=>VALUE_EDITOR_CLASS,
|
|
106
111
|
VALUE_POPOVER_CHOICES_CLASS: ()=>VALUE_POPOVER_CHOICES_CLASS,
|
|
107
112
|
ADD_RULE_FOOTER_CLASS: ()=>ADD_RULE_FOOTER_CLASS,
|
|
108
113
|
FOLD_BUTTON_CLASS: ()=>FOLD_BUTTON_CLASS,
|
|
@@ -111,6 +116,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
111
116
|
HIT_POLICY_CHANGE_CLASS: ()=>HIT_POLICY_CHANGE_CLASS,
|
|
112
117
|
POPOVER_LINKS_CLASS: ()=>POPOVER_LINKS_CLASS,
|
|
113
118
|
RULE_ACTIONS_CLASS: ()=>RULE_ACTIONS_CLASS,
|
|
119
|
+
TEXT_COLUMN_CLASS: ()=>TEXT_COLUMN_CLASS,
|
|
114
120
|
ADD_VALUE_CLASS: ()=>ADD_VALUE_CLASS,
|
|
115
121
|
GUTTER_CLASS: ()=>GUTTER_CLASS,
|
|
116
122
|
CHANGED_CHIP_CLASS: ()=>CHANGED_CHIP_CLASS,
|
|
@@ -129,23 +135,25 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
129
135
|
});
|
|
130
136
|
const apollo_wind_namespaceObject = require("@uipath/apollo-wind");
|
|
131
137
|
const DECISION_TEXT_SURFACE_CLASS = (0, apollo_wind_namespaceObject.cn)('relative bg-background-secondary future:bg-background focus-visible:ring-2 focus-visible:ring-ring focus-visible:outline-hidden', '[--sentence-output-hue:var(--color-purple-600)] dark:[--sentence-output-hue:var(--color-purple-300)]');
|
|
138
|
+
const TEXT_COLUMN_CLASS = 'mx-auto w-full max-w-3xl';
|
|
132
139
|
const DECISION_TEXT_FRAME_CLASS = (0, apollo_wind_namespaceObject.cn)('min-h-0 flex-1 overflow-auto', DECISION_TEXT_SURFACE_CLASS);
|
|
133
140
|
const DECISION_TEXT_INLINE_FRAME_CLASS = DECISION_TEXT_SURFACE_CLASS;
|
|
134
141
|
const DECISION_TEXT_HEADER_CLASS = 'group/header sticky top-0 z-2 flex flex-wrap items-baseline gap-x-2 border-b border-b-border-de-emp bg-background px-4 py-2 text-xs leading-4 text-foreground-de-emp';
|
|
135
142
|
const HEADER_LABEL_CLASS = 'font-semibold';
|
|
136
143
|
const GUTTER_CLASS = 'pe-8 ps-[max(2rem,calc(var(--sentence-number-digits,0)*1ch+1.25rem))]';
|
|
137
|
-
const DECISION_TEXT_BANDS_CLASS = (0, apollo_wind_namespaceObject.cn)('grid grid-cols-[
|
|
138
|
-
const BAND_CAPTION_CLASS = 'pt-1 text-[10px] leading-4 font-bold tracking-
|
|
139
|
-
const BAND_COLUMNS_CLASS = 'flex min-h-6 min-w-0 items-start gap-1.5
|
|
144
|
+
const DECISION_TEXT_BANDS_CLASS = (0, apollo_wind_namespaceObject.cn)('grid grid-cols-[4rem_minmax(0,1fr)] items-start gap-x-2 gap-y-2 pt-3 pb-6', GUTTER_CLASS);
|
|
145
|
+
const BAND_CAPTION_CLASS = 'pt-1 text-[10px] leading-4 font-bold tracking-[0.4px] whitespace-nowrap text-foreground-de-emp uppercase';
|
|
146
|
+
const BAND_COLUMNS_CLASS = 'flex min-h-6 min-w-0 flex-wrap items-start gap-1.5';
|
|
140
147
|
const MARKED_CHIP_CLASS = (0, apollo_wind_namespaceObject.cn)('group-data-[dim=true]/row:text-foreground-de-emp', 'data-[tone=success]:bg-[color-mix(in_srgb,var(--color-success-icon)_10%,var(--color-background))]', 'data-[tone=error]:bg-[color-mix(in_srgb,var(--color-error-icon)_10%,var(--color-background))]', 'data-[tone=warning]:bg-[color-mix(in_srgb,var(--color-warning-icon)_10%,var(--color-background))]', 'forced-colors:data-[tone]:outline-1');
|
|
141
|
-
const BAND_COLUMN_CLASS = (0, apollo_wind_namespaceObject.cn)('inline-flex h-6 shrink-0 items-center gap-1 rounded-md border border-border-de-emp bg-background px-2 text-xs leading-4 font-medium text-foreground', MARKED_CHIP_CLASS);
|
|
142
|
-
const BAND_COLUMN_ITEM_CLASS = 'flex shrink-0';
|
|
148
|
+
const BAND_COLUMN_CLASS = (0, apollo_wind_namespaceObject.cn)('inline-flex h-6 min-w-0 max-w-full shrink-0 items-center gap-1 rounded-md border border-border-de-emp bg-background px-2 text-xs leading-4 font-medium text-foreground', MARKED_CHIP_CLASS);
|
|
149
|
+
const BAND_COLUMN_ITEM_CLASS = 'flex min-w-0 max-w-full shrink-0';
|
|
150
|
+
const BAND_COLUMN_NAME_CLASS = 'min-w-0 truncate';
|
|
143
151
|
const EMPTY_STATE_CLASS = 'rounded-lg border border-dashed border-border bg-background p-8';
|
|
144
152
|
const RULE_CARD_CLASS = 'group/row pb-[var(--sentence-row-gap)] focus-visible:outline-none';
|
|
145
153
|
const STOP_RING_CLASS = '-outline-offset-2 outline-primary';
|
|
146
|
-
const DECISION_LINK_CLASS = (0, apollo_wind_namespaceObject.cn)(STOP_RING_CLASS, 'cursor-pointer rounded
|
|
147
|
-
const BAND_COLUMN_BUTTON_CLASS = (0, apollo_wind_namespaceObject.cn)(BAND_COLUMN_CLASS, STOP_RING_CLASS, 'cursor-pointer hover:border-border focus-visible:outline-
|
|
148
|
-
const SELECTED_CHIP_CLASS = (0, apollo_wind_namespaceObject.cn)(STOP_RING_CLASS, 'data-[selected=true]:outline-2 focus-visible:outline-2 forced-colors:data-[tone]:data-[selected=true]:outline-2');
|
|
154
|
+
const DECISION_LINK_CLASS = (0, apollo_wind_namespaceObject.cn)(STOP_RING_CLASS, 'cursor-pointer rounded hover:bg-background-hover focus-visible:outline-2');
|
|
155
|
+
const BAND_COLUMN_BUTTON_CLASS = (0, apollo_wind_namespaceObject.cn)(BAND_COLUMN_CLASS, STOP_RING_CLASS, 'cursor-pointer hover:border-border focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-primary', 'aria-expanded:border-primary aria-expanded:bg-[var(--color-background-selected)] aria-expanded:hover:border-primary');
|
|
156
|
+
const SELECTED_CHIP_CLASS = (0, apollo_wind_namespaceObject.cn)(STOP_RING_CLASS, 'data-[selected=true]:outline-2 data-[selected=true]:decoration-2 data-[selected=true]:border-primary focus-visible:outline-2 forced-colors:data-[tone]:data-[selected=true]:outline-2');
|
|
149
157
|
const CARD_TONE_CLASS = {
|
|
150
158
|
success: 'group-data-[tone=success]/row:border-success-icon',
|
|
151
159
|
error: 'group-data-[tone=error]/row:border-error-icon',
|
|
@@ -154,6 +162,8 @@ const CARD_TONE_CLASS = {
|
|
|
154
162
|
const ROW_SURFACE_CLASS = (0, apollo_wind_namespaceObject.cn)('relative flex flex-col rounded-lg border-[length:var(--sentence-row-border)] border-border-de-emp bg-background px-3 py-[var(--sentence-row-padding)] text-sm leading-[var(--sentence-line)] text-foreground shadow-sm not-group-data-[tone]/row:hover:border-border', Object.values(CARD_TONE_CLASS), 'forced-colors:group-data-[tone]/row:border-s-4', 'group-data-[dim=true]/row:text-foreground-de-emp', STOP_RING_CLASS, 'data-[selected=true]:outline-2 group-focus-visible/row:outline-2 group-focus-visible/row:ring-2 group-focus-visible/row:ring-ring');
|
|
155
163
|
const ROW_NUMBER_CLASS = 'absolute end-[calc(100%+4px)] top-[9px] flex h-[22px] min-w-5 items-center justify-center rounded-md border border-border-de-emp bg-background px-1 text-xs leading-5 whitespace-nowrap text-foreground-de-emp tabular-nums shadow-sm';
|
|
156
164
|
const LINE_CLASS = (0, apollo_wind_namespaceObject.cn)('flex min-h-[var(--sentence-line)] items-start gap-2', 'group-data-[change=delete]/row:**:text-foreground-de-emp! group-data-[change=delete]/row:**:line-through');
|
|
165
|
+
const SENTENCE_CLASS = 'min-h-[var(--sentence-line)]';
|
|
166
|
+
const INLINE_LINE_CLASS = 'inline';
|
|
157
167
|
const LINES_CLASS = 'mt-[var(--sentence-lines-gap)]';
|
|
158
168
|
const LINE_TEXT_CLASS = 'min-w-0 break-words';
|
|
159
169
|
const CLAMPED_LINE_CLASS = 'flex flex-wrap items-baseline gap-x-2';
|
|
@@ -166,11 +176,13 @@ const LINE_VERDICT_CLASS = {
|
|
|
166
176
|
unmatched: 'mt-[5px] size-3.5 shrink-0 text-error-icon forced-colors:text-[CanvasText]'
|
|
167
177
|
};
|
|
168
178
|
const MATCHED_LINE_CLASS = 'rounded-md [&[data-matched]_[data-tone]]:bg-transparent data-[matched=true]:bg-[color-mix(in_srgb,var(--color-success-icon)_10%,transparent)] data-[matched=false]:bg-[color-mix(in_srgb,var(--color-error-icon)_10%,transparent)]';
|
|
179
|
+
const WAVE_CLASS = 'underline decoration-wavy decoration-1 underline-offset-[3px]';
|
|
169
180
|
const TOKEN_KIND_CLASS = {
|
|
170
|
-
input: 'font-medium text-info-text group-data-[tone]/row:text-[color-mix(in_srgb,var(--color-info-text)_80%,var(--color-foreground))] group-data-[dim=true]/row:text-foreground-de-emp',
|
|
171
|
-
output: 'font-medium text-[var(--sentence-output-hue)] group-data-[dim=true]/row:text-foreground-de-emp',
|
|
181
|
+
input: (0, apollo_wind_namespaceObject.cn)(WAVE_CLASS, 'decoration-[color-mix(in_srgb,var(--color-info-text)_55%,transparent)]', 'font-medium text-info-text group-data-[tone]/row:text-[color-mix(in_srgb,var(--color-info-text)_80%,var(--color-foreground))] group-data-[dim=true]/row:text-foreground-de-emp'),
|
|
182
|
+
output: (0, apollo_wind_namespaceObject.cn)(WAVE_CLASS, 'decoration-[color-mix(in_srgb,var(--sentence-output-hue)_55%,transparent)]', 'font-medium text-[var(--sentence-output-hue)] group-data-[dim=true]/row:text-foreground-de-emp'),
|
|
172
183
|
value: 'rounded font-medium text-foreground not-data-[tone]:hover:bg-background-hover'
|
|
173
184
|
};
|
|
185
|
+
const EDITABLE_VALUE_CLASS = 'group-data-[editable=true]/row:underline group-data-[editable=true]/row:decoration-wavy group-data-[editable=true]/row:decoration-1 group-data-[editable=true]/row:underline-offset-[3px] group-data-[editable=true]/row:decoration-[var(--color-warning-icon)]';
|
|
174
186
|
const OUTPUT_VALUE_CLASS = 'inline-flex items-center rounded-md border border-[color-mix(in_srgb,var(--sentence-output-hue)_35%,transparent)] bg-[color-mix(in_srgb,var(--sentence-output-hue)_8%,var(--color-background))] px-1.5 text-sm leading-[calc(var(--sentence-line)-4px)] font-medium text-[var(--sentence-output-hue)] hover:border-[var(--sentence-output-hue)]';
|
|
175
187
|
const EMPTY_OUTPUT_VALUE_CLASS = '-mx-1 px-1 py-0.5 italic text-foreground-de-emp';
|
|
176
188
|
const LINE_MARK_CLASS = 'inline-flex h-[var(--sentence-line)] shrink-0 items-center';
|
|
@@ -220,6 +232,7 @@ const HEADER_CITATIONS_CLASS = 'ms-auto flex gap-1 self-center';
|
|
|
220
232
|
const HEADER_CITATION_REVEAL_CLASS = 'opacity-0 group-hover/header:opacity-100 focus-visible:opacity-100 [@media(hover:none)]:opacity-100';
|
|
221
233
|
const DELETE_RULE_CLASS = (0, apollo_wind_namespaceObject.cn)(RULE_ACTION_CLASS, 'hover:text-error-text future:hover:text-error-text', REVEALED_ACTION_CLASS);
|
|
222
234
|
const REMOVE_CONDITION_CLASS = (0, apollo_wind_namespaceObject.cn)('mt-0.5 size-5 shrink-0 text-foreground-de-emp hover:text-foreground', REVEALED_ACTION_CLASS);
|
|
235
|
+
const ADD_RULE_LINK_CLASS = 'h-auto w-fit gap-1 rounded-md px-2 py-1.5 [&_svg]:size-3.5';
|
|
223
236
|
const ADD_RULE_FOOTER_CLASS = (0, apollo_wind_namespaceObject.cn)('pb-4', GUTTER_CLASS);
|
|
224
237
|
const POLICY_TRIGGER_CLASS = (0, apollo_wind_namespaceObject.cn)(HEADER_LABEL_CLASS, '-my-0.5 -ms-1 gap-1 text-foreground-de-emp future:text-foreground-de-emp');
|
|
225
238
|
const POLICY_CODE_CLASS = 'font-mono text-foreground';
|
|
@@ -246,6 +259,7 @@ const FOLD_ROW_CLASS = 'pb-[var(--sentence-row-gap)]';
|
|
|
246
259
|
const FOLD_BUTTON_CLASS = 'w-full justify-start rounded-lg border border-dashed border-border-de-emp text-foreground-de-emp';
|
|
247
260
|
exports.ADDED_LINE_CLASS = __webpack_exports__.ADDED_LINE_CLASS;
|
|
248
261
|
exports.ADD_RULE_FOOTER_CLASS = __webpack_exports__.ADD_RULE_FOOTER_CLASS;
|
|
262
|
+
exports.ADD_RULE_LINK_CLASS = __webpack_exports__.ADD_RULE_LINK_CLASS;
|
|
249
263
|
exports.ADD_VALUE_BUTTON_CLASS = __webpack_exports__.ADD_VALUE_BUTTON_CLASS;
|
|
250
264
|
exports.ADD_VALUE_CLASS = __webpack_exports__.ADD_VALUE_CLASS;
|
|
251
265
|
exports.ALLOWED_VALUES_CLASS = __webpack_exports__.ALLOWED_VALUES_CLASS;
|
|
@@ -256,6 +270,7 @@ exports.BAND_COLUMNS_CLASS = __webpack_exports__.BAND_COLUMNS_CLASS;
|
|
|
256
270
|
exports.BAND_COLUMN_BUTTON_CLASS = __webpack_exports__.BAND_COLUMN_BUTTON_CLASS;
|
|
257
271
|
exports.BAND_COLUMN_CLASS = __webpack_exports__.BAND_COLUMN_CLASS;
|
|
258
272
|
exports.BAND_COLUMN_ITEM_CLASS = __webpack_exports__.BAND_COLUMN_ITEM_CLASS;
|
|
273
|
+
exports.BAND_COLUMN_NAME_CLASS = __webpack_exports__.BAND_COLUMN_NAME_CLASS;
|
|
259
274
|
exports.CHANGED_CHIP_CLASS = __webpack_exports__.CHANGED_CHIP_CLASS;
|
|
260
275
|
exports.CHANGED_VALUE_CLASS = __webpack_exports__.CHANGED_VALUE_CLASS;
|
|
261
276
|
exports.CHANGE_SIGN_CLASS = __webpack_exports__.CHANGE_SIGN_CLASS;
|
|
@@ -275,6 +290,7 @@ exports.DECISION_TEXT_FRAME_CLASS = __webpack_exports__.DECISION_TEXT_FRAME_CLAS
|
|
|
275
290
|
exports.DECISION_TEXT_HEADER_CLASS = __webpack_exports__.DECISION_TEXT_HEADER_CLASS;
|
|
276
291
|
exports.DECISION_TEXT_INLINE_FRAME_CLASS = __webpack_exports__.DECISION_TEXT_INLINE_FRAME_CLASS;
|
|
277
292
|
exports.DELETE_RULE_CLASS = __webpack_exports__.DELETE_RULE_CLASS;
|
|
293
|
+
exports.EDITABLE_VALUE_CLASS = __webpack_exports__.EDITABLE_VALUE_CLASS;
|
|
278
294
|
exports.EMPTY_OUTPUT_VALUE_CLASS = __webpack_exports__.EMPTY_OUTPUT_VALUE_CLASS;
|
|
279
295
|
exports.EMPTY_STATE_CLASS = __webpack_exports__.EMPTY_STATE_CLASS;
|
|
280
296
|
exports.FOLD_BUTTON_CLASS = __webpack_exports__.FOLD_BUTTON_CLASS;
|
|
@@ -286,6 +302,7 @@ exports.HEADER_LABEL_CLASS = __webpack_exports__.HEADER_LABEL_CLASS;
|
|
|
286
302
|
exports.HEADING_ACTIONS_SPACE_CLASS = __webpack_exports__.HEADING_ACTIONS_SPACE_CLASS;
|
|
287
303
|
exports.HEADING_TEXT_CLASS = __webpack_exports__.HEADING_TEXT_CLASS;
|
|
288
304
|
exports.HIT_POLICY_CHANGE_CLASS = __webpack_exports__.HIT_POLICY_CHANGE_CLASS;
|
|
305
|
+
exports.INLINE_LINE_CLASS = __webpack_exports__.INLINE_LINE_CLASS;
|
|
289
306
|
exports.LINES_CLASS = __webpack_exports__.LINES_CLASS;
|
|
290
307
|
exports.LINE_BULLET_CLASS = __webpack_exports__.LINE_BULLET_CLASS;
|
|
291
308
|
exports.LINE_CLASS = __webpack_exports__.LINE_CLASS;
|
|
@@ -342,13 +359,16 @@ exports.RULE_ACTION_CLASS = __webpack_exports__.RULE_ACTION_CLASS;
|
|
|
342
359
|
exports.RULE_CARD_CLASS = __webpack_exports__.RULE_CARD_CLASS;
|
|
343
360
|
exports.RULE_CITATIONS_CLASS = __webpack_exports__.RULE_CITATIONS_CLASS;
|
|
344
361
|
exports.SELECTED_CHIP_CLASS = __webpack_exports__.SELECTED_CHIP_CLASS;
|
|
362
|
+
exports.SENTENCE_CLASS = __webpack_exports__.SENTENCE_CLASS;
|
|
345
363
|
exports.STRUCK_VALUE_CLASS = __webpack_exports__.STRUCK_VALUE_CLASS;
|
|
364
|
+
exports.TEXT_COLUMN_CLASS = __webpack_exports__.TEXT_COLUMN_CLASS;
|
|
346
365
|
exports.TOKEN_KIND_CLASS = __webpack_exports__.TOKEN_KIND_CLASS;
|
|
347
366
|
exports.VALUE_EDITOR_CLASS = __webpack_exports__.VALUE_EDITOR_CLASS;
|
|
348
367
|
exports.VALUE_POPOVER_CHOICES_CLASS = __webpack_exports__.VALUE_POPOVER_CHOICES_CLASS;
|
|
349
368
|
for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
350
369
|
"ADDED_LINE_CLASS",
|
|
351
370
|
"ADD_RULE_FOOTER_CLASS",
|
|
371
|
+
"ADD_RULE_LINK_CLASS",
|
|
352
372
|
"ADD_VALUE_BUTTON_CLASS",
|
|
353
373
|
"ADD_VALUE_CLASS",
|
|
354
374
|
"ALLOWED_VALUES_CLASS",
|
|
@@ -359,6 +379,7 @@ for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
|
359
379
|
"BAND_COLUMN_BUTTON_CLASS",
|
|
360
380
|
"BAND_COLUMN_CLASS",
|
|
361
381
|
"BAND_COLUMN_ITEM_CLASS",
|
|
382
|
+
"BAND_COLUMN_NAME_CLASS",
|
|
362
383
|
"CHANGED_CHIP_CLASS",
|
|
363
384
|
"CHANGED_VALUE_CLASS",
|
|
364
385
|
"CHANGE_SIGN_CLASS",
|
|
@@ -378,6 +399,7 @@ for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
|
378
399
|
"DECISION_TEXT_HEADER_CLASS",
|
|
379
400
|
"DECISION_TEXT_INLINE_FRAME_CLASS",
|
|
380
401
|
"DELETE_RULE_CLASS",
|
|
402
|
+
"EDITABLE_VALUE_CLASS",
|
|
381
403
|
"EMPTY_OUTPUT_VALUE_CLASS",
|
|
382
404
|
"EMPTY_STATE_CLASS",
|
|
383
405
|
"FOLD_BUTTON_CLASS",
|
|
@@ -389,6 +411,7 @@ for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
|
389
411
|
"HEADING_ACTIONS_SPACE_CLASS",
|
|
390
412
|
"HEADING_TEXT_CLASS",
|
|
391
413
|
"HIT_POLICY_CHANGE_CLASS",
|
|
414
|
+
"INLINE_LINE_CLASS",
|
|
392
415
|
"LINES_CLASS",
|
|
393
416
|
"LINE_BULLET_CLASS",
|
|
394
417
|
"LINE_CLASS",
|
|
@@ -445,7 +468,9 @@ for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
|
445
468
|
"RULE_CARD_CLASS",
|
|
446
469
|
"RULE_CITATIONS_CLASS",
|
|
447
470
|
"SELECTED_CHIP_CLASS",
|
|
471
|
+
"SENTENCE_CLASS",
|
|
448
472
|
"STRUCK_VALUE_CLASS",
|
|
473
|
+
"TEXT_COLUMN_CLASS",
|
|
449
474
|
"TOKEN_KIND_CLASS",
|
|
450
475
|
"VALUE_EDITOR_CLASS",
|
|
451
476
|
"VALUE_POPOVER_CHOICES_CLASS"
|
|
@@ -1,14 +1,16 @@
|
|
|
1
|
+
export declare const TEXT_COLUMN_CLASS = "mx-auto w-full max-w-3xl";
|
|
1
2
|
export declare const DECISION_TEXT_FRAME_CLASS: string;
|
|
2
3
|
export declare const DECISION_TEXT_INLINE_FRAME_CLASS: string;
|
|
3
4
|
export declare const DECISION_TEXT_HEADER_CLASS = "group/header sticky top-0 z-2 flex flex-wrap items-baseline gap-x-2 border-b border-b-border-de-emp bg-background px-4 py-2 text-xs leading-4 text-foreground-de-emp";
|
|
4
5
|
export declare const HEADER_LABEL_CLASS = "font-semibold";
|
|
5
6
|
export declare const GUTTER_CLASS = "pe-8 ps-[max(2rem,calc(var(--sentence-number-digits,0)*1ch+1.25rem))]";
|
|
6
7
|
export declare const DECISION_TEXT_BANDS_CLASS: string;
|
|
7
|
-
export declare const BAND_CAPTION_CLASS = "pt-1 text-[10px] leading-4 font-bold tracking-
|
|
8
|
-
export declare const BAND_COLUMNS_CLASS = "flex min-h-6 min-w-0 items-start gap-1.5
|
|
8
|
+
export declare const BAND_CAPTION_CLASS = "pt-1 text-[10px] leading-4 font-bold tracking-[0.4px] whitespace-nowrap text-foreground-de-emp uppercase";
|
|
9
|
+
export declare const BAND_COLUMNS_CLASS = "flex min-h-6 min-w-0 flex-wrap items-start gap-1.5";
|
|
9
10
|
export declare const MARKED_CHIP_CLASS: string;
|
|
10
11
|
export declare const BAND_COLUMN_CLASS: string;
|
|
11
|
-
export declare const BAND_COLUMN_ITEM_CLASS = "flex shrink-0";
|
|
12
|
+
export declare const BAND_COLUMN_ITEM_CLASS = "flex min-w-0 max-w-full shrink-0";
|
|
13
|
+
export declare const BAND_COLUMN_NAME_CLASS = "min-w-0 truncate";
|
|
12
14
|
export declare const EMPTY_STATE_CLASS = "rounded-lg border border-dashed border-border bg-background p-8";
|
|
13
15
|
export declare const RULE_CARD_CLASS = "group/row pb-[var(--sentence-row-gap)] focus-visible:outline-none";
|
|
14
16
|
export declare const DECISION_LINK_CLASS: string;
|
|
@@ -17,6 +19,8 @@ export declare const SELECTED_CHIP_CLASS: string;
|
|
|
17
19
|
export declare const ROW_SURFACE_CLASS: string;
|
|
18
20
|
export declare const ROW_NUMBER_CLASS = "absolute end-[calc(100%+4px)] top-[9px] flex h-[22px] min-w-5 items-center justify-center rounded-md border border-border-de-emp bg-background px-1 text-xs leading-5 whitespace-nowrap text-foreground-de-emp tabular-nums shadow-sm";
|
|
19
21
|
export declare const LINE_CLASS: string;
|
|
22
|
+
export declare const SENTENCE_CLASS = "min-h-[var(--sentence-line)]";
|
|
23
|
+
export declare const INLINE_LINE_CLASS = "inline";
|
|
20
24
|
export declare const LINES_CLASS = "mt-[var(--sentence-lines-gap)]";
|
|
21
25
|
export declare const LINE_TEXT_CLASS = "min-w-0 break-words";
|
|
22
26
|
export declare const CLAMPED_LINE_CLASS = "flex flex-wrap items-baseline gap-x-2";
|
|
@@ -30,10 +34,11 @@ export declare const LINE_VERDICT_CLASS: {
|
|
|
30
34
|
};
|
|
31
35
|
export declare const MATCHED_LINE_CLASS = "rounded-md [&[data-matched]_[data-tone]]:bg-transparent data-[matched=true]:bg-[color-mix(in_srgb,var(--color-success-icon)_10%,transparent)] data-[matched=false]:bg-[color-mix(in_srgb,var(--color-error-icon)_10%,transparent)]";
|
|
32
36
|
export declare const TOKEN_KIND_CLASS: {
|
|
33
|
-
readonly input:
|
|
34
|
-
readonly output:
|
|
37
|
+
readonly input: string;
|
|
38
|
+
readonly output: string;
|
|
35
39
|
readonly value: "rounded font-medium text-foreground not-data-[tone]:hover:bg-background-hover";
|
|
36
40
|
};
|
|
41
|
+
export declare const EDITABLE_VALUE_CLASS = "group-data-[editable=true]/row:underline group-data-[editable=true]/row:decoration-wavy group-data-[editable=true]/row:decoration-1 group-data-[editable=true]/row:underline-offset-[3px] group-data-[editable=true]/row:decoration-[var(--color-warning-icon)]";
|
|
37
42
|
export declare const OUTPUT_VALUE_CLASS = "inline-flex items-center rounded-md border border-[color-mix(in_srgb,var(--sentence-output-hue)_35%,transparent)] bg-[color-mix(in_srgb,var(--sentence-output-hue)_8%,var(--color-background))] px-1.5 text-sm leading-[calc(var(--sentence-line)-4px)] font-medium text-[var(--sentence-output-hue)] hover:border-[var(--sentence-output-hue)]";
|
|
38
43
|
export declare const EMPTY_OUTPUT_VALUE_CLASS = "-mx-1 px-1 py-0.5 italic text-foreground-de-emp";
|
|
39
44
|
export declare const LINE_MARK_CLASS = "inline-flex h-[var(--sentence-line)] shrink-0 items-center";
|
|
@@ -83,6 +88,7 @@ export declare const HEADER_CITATIONS_CLASS = "ms-auto flex gap-1 self-center";
|
|
|
83
88
|
export declare const HEADER_CITATION_REVEAL_CLASS = "opacity-0 group-hover/header:opacity-100 focus-visible:opacity-100 [@media(hover:none)]:opacity-100";
|
|
84
89
|
export declare const DELETE_RULE_CLASS: string;
|
|
85
90
|
export declare const REMOVE_CONDITION_CLASS: string;
|
|
91
|
+
export declare const ADD_RULE_LINK_CLASS = "h-auto w-fit gap-1 rounded-md px-2 py-1.5 [&_svg]:size-3.5";
|
|
86
92
|
export declare const ADD_RULE_FOOTER_CLASS: string;
|
|
87
93
|
export declare const POLICY_TRIGGER_CLASS: string;
|
|
88
94
|
export declare const POLICY_CODE_CLASS = "font-mono text-foreground";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sentenceStyles.d.ts","sourceRoot":"","sources":["../../src/decision-table/sentenceStyles.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,yBAAyB,QAGrC,CAAC;AAGF,eAAO,MAAM,gCAAgC,QAA8B,CAAC;AAE5E,eAAO,MAAM,0BAA0B,yKACiI,CAAC;AAEzK,eAAO,MAAM,kBAAkB,kBAAkB,CAAC;AAElD,eAAO,MAAM,YAAY,0EAA0E,CAAC;AAEpG,eAAO,MAAM,yBAAyB,QAGrC,CAAC;AAEF,eAAO,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"sentenceStyles.d.ts","sourceRoot":"","sources":["../../src/decision-table/sentenceStyles.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,22 +1,24 @@
|
|
|
1
1
|
import { cn } from "@uipath/apollo-wind";
|
|
2
2
|
const DECISION_TEXT_SURFACE_CLASS = cn('relative bg-background-secondary future:bg-background focus-visible:ring-2 focus-visible:ring-ring focus-visible:outline-hidden', '[--sentence-output-hue:var(--color-purple-600)] dark:[--sentence-output-hue:var(--color-purple-300)]');
|
|
3
|
+
const TEXT_COLUMN_CLASS = 'mx-auto w-full max-w-3xl';
|
|
3
4
|
const DECISION_TEXT_FRAME_CLASS = cn('min-h-0 flex-1 overflow-auto', DECISION_TEXT_SURFACE_CLASS);
|
|
4
5
|
const DECISION_TEXT_INLINE_FRAME_CLASS = DECISION_TEXT_SURFACE_CLASS;
|
|
5
6
|
const DECISION_TEXT_HEADER_CLASS = 'group/header sticky top-0 z-2 flex flex-wrap items-baseline gap-x-2 border-b border-b-border-de-emp bg-background px-4 py-2 text-xs leading-4 text-foreground-de-emp';
|
|
6
7
|
const HEADER_LABEL_CLASS = 'font-semibold';
|
|
7
8
|
const GUTTER_CLASS = 'pe-8 ps-[max(2rem,calc(var(--sentence-number-digits,0)*1ch+1.25rem))]';
|
|
8
|
-
const DECISION_TEXT_BANDS_CLASS = cn('grid grid-cols-[
|
|
9
|
-
const BAND_CAPTION_CLASS = 'pt-1 text-[10px] leading-4 font-bold tracking-
|
|
10
|
-
const BAND_COLUMNS_CLASS = 'flex min-h-6 min-w-0 items-start gap-1.5
|
|
9
|
+
const DECISION_TEXT_BANDS_CLASS = cn('grid grid-cols-[4rem_minmax(0,1fr)] items-start gap-x-2 gap-y-2 pt-3 pb-6', GUTTER_CLASS);
|
|
10
|
+
const BAND_CAPTION_CLASS = 'pt-1 text-[10px] leading-4 font-bold tracking-[0.4px] whitespace-nowrap text-foreground-de-emp uppercase';
|
|
11
|
+
const BAND_COLUMNS_CLASS = 'flex min-h-6 min-w-0 flex-wrap items-start gap-1.5';
|
|
11
12
|
const MARKED_CHIP_CLASS = cn('group-data-[dim=true]/row:text-foreground-de-emp', 'data-[tone=success]:bg-[color-mix(in_srgb,var(--color-success-icon)_10%,var(--color-background))]', 'data-[tone=error]:bg-[color-mix(in_srgb,var(--color-error-icon)_10%,var(--color-background))]', 'data-[tone=warning]:bg-[color-mix(in_srgb,var(--color-warning-icon)_10%,var(--color-background))]', 'forced-colors:data-[tone]:outline-1');
|
|
12
|
-
const BAND_COLUMN_CLASS = cn('inline-flex h-6 shrink-0 items-center gap-1 rounded-md border border-border-de-emp bg-background px-2 text-xs leading-4 font-medium text-foreground', MARKED_CHIP_CLASS);
|
|
13
|
-
const BAND_COLUMN_ITEM_CLASS = 'flex shrink-0';
|
|
13
|
+
const BAND_COLUMN_CLASS = cn('inline-flex h-6 min-w-0 max-w-full shrink-0 items-center gap-1 rounded-md border border-border-de-emp bg-background px-2 text-xs leading-4 font-medium text-foreground', MARKED_CHIP_CLASS);
|
|
14
|
+
const BAND_COLUMN_ITEM_CLASS = 'flex min-w-0 max-w-full shrink-0';
|
|
15
|
+
const BAND_COLUMN_NAME_CLASS = 'min-w-0 truncate';
|
|
14
16
|
const EMPTY_STATE_CLASS = 'rounded-lg border border-dashed border-border bg-background p-8';
|
|
15
17
|
const RULE_CARD_CLASS = 'group/row pb-[var(--sentence-row-gap)] focus-visible:outline-none';
|
|
16
18
|
const STOP_RING_CLASS = '-outline-offset-2 outline-primary';
|
|
17
|
-
const DECISION_LINK_CLASS = cn(STOP_RING_CLASS, 'cursor-pointer rounded
|
|
18
|
-
const BAND_COLUMN_BUTTON_CLASS = cn(BAND_COLUMN_CLASS, STOP_RING_CLASS, 'cursor-pointer hover:border-border focus-visible:outline-
|
|
19
|
-
const SELECTED_CHIP_CLASS = cn(STOP_RING_CLASS, 'data-[selected=true]:outline-2 focus-visible:outline-2 forced-colors:data-[tone]:data-[selected=true]:outline-2');
|
|
19
|
+
const DECISION_LINK_CLASS = cn(STOP_RING_CLASS, 'cursor-pointer rounded hover:bg-background-hover focus-visible:outline-2');
|
|
20
|
+
const BAND_COLUMN_BUTTON_CLASS = cn(BAND_COLUMN_CLASS, STOP_RING_CLASS, 'cursor-pointer hover:border-border focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-primary', 'aria-expanded:border-primary aria-expanded:bg-[var(--color-background-selected)] aria-expanded:hover:border-primary');
|
|
21
|
+
const SELECTED_CHIP_CLASS = cn(STOP_RING_CLASS, 'data-[selected=true]:outline-2 data-[selected=true]:decoration-2 data-[selected=true]:border-primary focus-visible:outline-2 forced-colors:data-[tone]:data-[selected=true]:outline-2');
|
|
20
22
|
const CARD_TONE_CLASS = {
|
|
21
23
|
success: 'group-data-[tone=success]/row:border-success-icon',
|
|
22
24
|
error: 'group-data-[tone=error]/row:border-error-icon',
|
|
@@ -25,6 +27,8 @@ const CARD_TONE_CLASS = {
|
|
|
25
27
|
const ROW_SURFACE_CLASS = cn('relative flex flex-col rounded-lg border-[length:var(--sentence-row-border)] border-border-de-emp bg-background px-3 py-[var(--sentence-row-padding)] text-sm leading-[var(--sentence-line)] text-foreground shadow-sm not-group-data-[tone]/row:hover:border-border', Object.values(CARD_TONE_CLASS), 'forced-colors:group-data-[tone]/row:border-s-4', 'group-data-[dim=true]/row:text-foreground-de-emp', STOP_RING_CLASS, 'data-[selected=true]:outline-2 group-focus-visible/row:outline-2 group-focus-visible/row:ring-2 group-focus-visible/row:ring-ring');
|
|
26
28
|
const ROW_NUMBER_CLASS = 'absolute end-[calc(100%+4px)] top-[9px] flex h-[22px] min-w-5 items-center justify-center rounded-md border border-border-de-emp bg-background px-1 text-xs leading-5 whitespace-nowrap text-foreground-de-emp tabular-nums shadow-sm';
|
|
27
29
|
const LINE_CLASS = cn('flex min-h-[var(--sentence-line)] items-start gap-2', 'group-data-[change=delete]/row:**:text-foreground-de-emp! group-data-[change=delete]/row:**:line-through');
|
|
30
|
+
const SENTENCE_CLASS = 'min-h-[var(--sentence-line)]';
|
|
31
|
+
const INLINE_LINE_CLASS = 'inline';
|
|
28
32
|
const LINES_CLASS = 'mt-[var(--sentence-lines-gap)]';
|
|
29
33
|
const LINE_TEXT_CLASS = 'min-w-0 break-words';
|
|
30
34
|
const CLAMPED_LINE_CLASS = 'flex flex-wrap items-baseline gap-x-2';
|
|
@@ -37,11 +41,13 @@ const LINE_VERDICT_CLASS = {
|
|
|
37
41
|
unmatched: 'mt-[5px] size-3.5 shrink-0 text-error-icon forced-colors:text-[CanvasText]'
|
|
38
42
|
};
|
|
39
43
|
const MATCHED_LINE_CLASS = 'rounded-md [&[data-matched]_[data-tone]]:bg-transparent data-[matched=true]:bg-[color-mix(in_srgb,var(--color-success-icon)_10%,transparent)] data-[matched=false]:bg-[color-mix(in_srgb,var(--color-error-icon)_10%,transparent)]';
|
|
44
|
+
const WAVE_CLASS = 'underline decoration-wavy decoration-1 underline-offset-[3px]';
|
|
40
45
|
const TOKEN_KIND_CLASS = {
|
|
41
|
-
input: 'font-medium text-info-text group-data-[tone]/row:text-[color-mix(in_srgb,var(--color-info-text)_80%,var(--color-foreground))] group-data-[dim=true]/row:text-foreground-de-emp',
|
|
42
|
-
output: 'font-medium text-[var(--sentence-output-hue)] group-data-[dim=true]/row:text-foreground-de-emp',
|
|
46
|
+
input: cn(WAVE_CLASS, 'decoration-[color-mix(in_srgb,var(--color-info-text)_55%,transparent)]', 'font-medium text-info-text group-data-[tone]/row:text-[color-mix(in_srgb,var(--color-info-text)_80%,var(--color-foreground))] group-data-[dim=true]/row:text-foreground-de-emp'),
|
|
47
|
+
output: cn(WAVE_CLASS, 'decoration-[color-mix(in_srgb,var(--sentence-output-hue)_55%,transparent)]', 'font-medium text-[var(--sentence-output-hue)] group-data-[dim=true]/row:text-foreground-de-emp'),
|
|
43
48
|
value: 'rounded font-medium text-foreground not-data-[tone]:hover:bg-background-hover'
|
|
44
49
|
};
|
|
50
|
+
const EDITABLE_VALUE_CLASS = 'group-data-[editable=true]/row:underline group-data-[editable=true]/row:decoration-wavy group-data-[editable=true]/row:decoration-1 group-data-[editable=true]/row:underline-offset-[3px] group-data-[editable=true]/row:decoration-[var(--color-warning-icon)]';
|
|
45
51
|
const OUTPUT_VALUE_CLASS = 'inline-flex items-center rounded-md border border-[color-mix(in_srgb,var(--sentence-output-hue)_35%,transparent)] bg-[color-mix(in_srgb,var(--sentence-output-hue)_8%,var(--color-background))] px-1.5 text-sm leading-[calc(var(--sentence-line)-4px)] font-medium text-[var(--sentence-output-hue)] hover:border-[var(--sentence-output-hue)]';
|
|
46
52
|
const EMPTY_OUTPUT_VALUE_CLASS = '-mx-1 px-1 py-0.5 italic text-foreground-de-emp';
|
|
47
53
|
const LINE_MARK_CLASS = 'inline-flex h-[var(--sentence-line)] shrink-0 items-center';
|
|
@@ -91,6 +97,7 @@ const HEADER_CITATIONS_CLASS = 'ms-auto flex gap-1 self-center';
|
|
|
91
97
|
const HEADER_CITATION_REVEAL_CLASS = 'opacity-0 group-hover/header:opacity-100 focus-visible:opacity-100 [@media(hover:none)]:opacity-100';
|
|
92
98
|
const DELETE_RULE_CLASS = cn(RULE_ACTION_CLASS, 'hover:text-error-text future:hover:text-error-text', REVEALED_ACTION_CLASS);
|
|
93
99
|
const REMOVE_CONDITION_CLASS = cn('mt-0.5 size-5 shrink-0 text-foreground-de-emp hover:text-foreground', REVEALED_ACTION_CLASS);
|
|
100
|
+
const ADD_RULE_LINK_CLASS = 'h-auto w-fit gap-1 rounded-md px-2 py-1.5 [&_svg]:size-3.5';
|
|
94
101
|
const ADD_RULE_FOOTER_CLASS = cn('pb-4', GUTTER_CLASS);
|
|
95
102
|
const POLICY_TRIGGER_CLASS = cn(HEADER_LABEL_CLASS, '-my-0.5 -ms-1 gap-1 text-foreground-de-emp future:text-foreground-de-emp');
|
|
96
103
|
const POLICY_CODE_CLASS = 'font-mono text-foreground';
|
|
@@ -115,4 +122,4 @@ const MOVED_ICON_CLASS = 'size-3';
|
|
|
115
122
|
const HIT_POLICY_CHANGE_CLASS = cn(HEADER_LABEL_CLASS, 'inline-flex items-baseline gap-1');
|
|
116
123
|
const FOLD_ROW_CLASS = 'pb-[var(--sentence-row-gap)]';
|
|
117
124
|
const FOLD_BUTTON_CLASS = 'w-full justify-start rounded-lg border border-dashed border-border-de-emp text-foreground-de-emp';
|
|
118
|
-
export { ADDED_LINE_CLASS, ADD_RULE_FOOTER_CLASS, ADD_VALUE_BUTTON_CLASS, ADD_VALUE_CLASS, ALLOWED_VALUES_CLASS, ALLOWED_VALUE_CLASS, ALLOWED_VALUE_LABEL_CLASS, BAND_CAPTION_CLASS, BAND_COLUMNS_CLASS, BAND_COLUMN_BUTTON_CLASS, BAND_COLUMN_CLASS, BAND_COLUMN_ITEM_CLASS, CHANGED_CHIP_CLASS, CHANGED_VALUE_CLASS, CHANGE_SIGN_CLASS, CITATION_BUTTON_CLASS, CITED_LINES_CLASS, CITED_LINE_CLASS, CLAMPED_LINE_CLASS, COLUMN_CODE_FIELD_CLASS, COLUMN_EDITOR_CLASS, COLUMN_FIELD_CLASS, COLUMN_FIELD_LABEL_CLASS, COLUMN_HINT_CLASS, COLUMN_REQUIRED_CLASS, DECISION_LINK_CLASS, DECISION_TEXT_BANDS_CLASS, DECISION_TEXT_FRAME_CLASS, DECISION_TEXT_HEADER_CLASS, DECISION_TEXT_INLINE_FRAME_CLASS, DELETE_RULE_CLASS, EMPTY_OUTPUT_VALUE_CLASS, EMPTY_STATE_CLASS, FOLD_BUTTON_CLASS, FOLD_ROW_CLASS, GUTTER_CLASS, HEADER_CITATIONS_CLASS, HEADER_CITATION_REVEAL_CLASS, HEADER_LABEL_CLASS, HEADING_ACTIONS_SPACE_CLASS, HEADING_TEXT_CLASS, HIT_POLICY_CHANGE_CLASS, LINES_CLASS, LINE_BULLET_CLASS, LINE_CLASS, LINE_MARK_CLASS, LINE_TEXT_CLASS, LINE_VERDICT_CLASS, MARKED_CHIP_CLASS, MARK_GLYPH_CLASS, MARK_TOOLTIP_ANCHOR_CLASS, MARK_TOOLTIP_CLASS, MARK_TOOLTIP_TEXT_CLASS, MATCHED_LINE_CLASS, MORE_VALUES_CLASS, MOVED_ICON_CLASS, MUTED_TEXT_CLASS, OUTPUT_VALUE_CLASS, PENDING_LINE_CLASS, POLICY_CHECK_CLASS, POLICY_CODE_CLASS, POLICY_HINT_CLASS, POLICY_ITEM_CLASS, POLICY_MENU_CLASS, POLICY_OPTION_CLASS, POLICY_OPTION_CODE_CLASS, POLICY_OPTION_LABEL_CLASS, POLICY_OPTION_TITLE_CLASS, POLICY_SUBMENU_CLASS, POLICY_TRIGGER_CLASS, POPOVER_ACTIONS_CLASS, POPOVER_APPLY_DIMMED_CLASS, POPOVER_CLASS, POPOVER_ERROR_CLASS, POPOVER_FIELD_CLASS, POPOVER_FOOTER_CLASS, POPOVER_HEADER_CLASS, POPOVER_ICON_CLASS, POPOVER_LINKS_CLASS, POPOVER_LINK_CLASS, POPOVER_OPTION_CLASS, POPOVER_TITLE_CLASS, RANGE_END_CLASS, RANGE_END_FIELD_CLASS, RANGE_FIELDS_CLASS, RANGE_INCLUDED_CLASS, REMOVED_LINE_CLASS, REMOVE_CONDITION_CLASS, REVEALED_ACTION_CLASS, ROW_CHANGE_CLASS, ROW_NUMBER_CHANGE_CLASS, ROW_NUMBER_CLASS, ROW_SURFACE_CLASS, RULE_ACTIONS_CLASS, RULE_ACTION_CLASS, RULE_CARD_CLASS, RULE_CITATIONS_CLASS, SELECTED_CHIP_CLASS, STRUCK_VALUE_CLASS, TOKEN_KIND_CLASS, VALUE_EDITOR_CLASS, VALUE_POPOVER_CHOICES_CLASS };
|
|
125
|
+
export { ADDED_LINE_CLASS, ADD_RULE_FOOTER_CLASS, ADD_RULE_LINK_CLASS, ADD_VALUE_BUTTON_CLASS, ADD_VALUE_CLASS, ALLOWED_VALUES_CLASS, ALLOWED_VALUE_CLASS, ALLOWED_VALUE_LABEL_CLASS, BAND_CAPTION_CLASS, BAND_COLUMNS_CLASS, BAND_COLUMN_BUTTON_CLASS, BAND_COLUMN_CLASS, BAND_COLUMN_ITEM_CLASS, BAND_COLUMN_NAME_CLASS, CHANGED_CHIP_CLASS, CHANGED_VALUE_CLASS, CHANGE_SIGN_CLASS, CITATION_BUTTON_CLASS, CITED_LINES_CLASS, CITED_LINE_CLASS, CLAMPED_LINE_CLASS, COLUMN_CODE_FIELD_CLASS, COLUMN_EDITOR_CLASS, COLUMN_FIELD_CLASS, COLUMN_FIELD_LABEL_CLASS, COLUMN_HINT_CLASS, COLUMN_REQUIRED_CLASS, DECISION_LINK_CLASS, DECISION_TEXT_BANDS_CLASS, DECISION_TEXT_FRAME_CLASS, DECISION_TEXT_HEADER_CLASS, DECISION_TEXT_INLINE_FRAME_CLASS, DELETE_RULE_CLASS, EDITABLE_VALUE_CLASS, EMPTY_OUTPUT_VALUE_CLASS, EMPTY_STATE_CLASS, FOLD_BUTTON_CLASS, FOLD_ROW_CLASS, GUTTER_CLASS, HEADER_CITATIONS_CLASS, HEADER_CITATION_REVEAL_CLASS, HEADER_LABEL_CLASS, HEADING_ACTIONS_SPACE_CLASS, HEADING_TEXT_CLASS, HIT_POLICY_CHANGE_CLASS, INLINE_LINE_CLASS, LINES_CLASS, LINE_BULLET_CLASS, LINE_CLASS, LINE_MARK_CLASS, LINE_TEXT_CLASS, LINE_VERDICT_CLASS, MARKED_CHIP_CLASS, MARK_GLYPH_CLASS, MARK_TOOLTIP_ANCHOR_CLASS, MARK_TOOLTIP_CLASS, MARK_TOOLTIP_TEXT_CLASS, MATCHED_LINE_CLASS, MORE_VALUES_CLASS, MOVED_ICON_CLASS, MUTED_TEXT_CLASS, OUTPUT_VALUE_CLASS, PENDING_LINE_CLASS, POLICY_CHECK_CLASS, POLICY_CODE_CLASS, POLICY_HINT_CLASS, POLICY_ITEM_CLASS, POLICY_MENU_CLASS, POLICY_OPTION_CLASS, POLICY_OPTION_CODE_CLASS, POLICY_OPTION_LABEL_CLASS, POLICY_OPTION_TITLE_CLASS, POLICY_SUBMENU_CLASS, POLICY_TRIGGER_CLASS, POPOVER_ACTIONS_CLASS, POPOVER_APPLY_DIMMED_CLASS, POPOVER_CLASS, POPOVER_ERROR_CLASS, POPOVER_FIELD_CLASS, POPOVER_FOOTER_CLASS, POPOVER_HEADER_CLASS, POPOVER_ICON_CLASS, POPOVER_LINKS_CLASS, POPOVER_LINK_CLASS, POPOVER_OPTION_CLASS, POPOVER_TITLE_CLASS, RANGE_END_CLASS, RANGE_END_FIELD_CLASS, RANGE_FIELDS_CLASS, RANGE_INCLUDED_CLASS, REMOVED_LINE_CLASS, REMOVE_CONDITION_CLASS, REVEALED_ACTION_CLASS, ROW_CHANGE_CLASS, ROW_NUMBER_CHANGE_CLASS, ROW_NUMBER_CLASS, ROW_SURFACE_CLASS, RULE_ACTIONS_CLASS, RULE_ACTION_CLASS, RULE_CARD_CLASS, RULE_CITATIONS_CLASS, SELECTED_CHIP_CLASS, SENTENCE_CLASS, STRUCK_VALUE_CLASS, TEXT_COLUMN_CLASS, TOKEN_KIND_CLASS, VALUE_EDITOR_CLASS, VALUE_POPOVER_CHOICES_CLASS };
|