@uipath/rules-tool 1.204.0-preview.249 → 1.204.0-preview.250
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/DmnFactory-VWZOSZHH-jkpbxz3n.js +42 -0
- package/dist/DmnModelTypes-ATR7FVKZ-jp35cecy.js +18 -0
- package/dist/KieDmnMarshaller-6TTUU5B4-47q50gk4.js +20 -0
- package/dist/THIRD-PARTY-NOTICES.md +1054 -0
- package/dist/business-rules-bnr581tz.js +26 -0
- package/dist/{constants-za5vbzp8.js → constants-9pa118cj.js} +17 -10
- package/dist/{embedded-file-reader-wmsg31a8.js → embedded-file-reader-rf2g1kfj.js} +4 -1
- package/dist/first-party-service-sd8yaf73.js +27 -0
- package/dist/hitPolicyResult-4WDHTX4A-gk103w84.js +33 -0
- package/dist/index-2hzp9b97.js +116 -0
- package/dist/index-34pj9f36.js +48 -0
- package/dist/{index-zdwhfpt1.js → index-4c4exdzw.js} +370 -406
- package/dist/index-dqa169gp.js +25 -0
- package/dist/{index-we6zjs66.js → index-fs1nd5ap.js} +40 -4
- package/dist/{index-nzr4mx5p.js → index-sby22td6.js} +22 -2
- package/dist/{index-7wc0g78k.js → index-t4mx1a5e.js} +5 -2
- package/dist/index.js +9 -8
- package/dist/{jmespath-ab6tdc42.js → jmespath-231m3hyn.js} +1 -1
- package/dist/{js-yaml-a2bk27p6.js → js-yaml-88tdqrtd.js} +3 -1
- package/dist/rule-catalog-5gzpe93c.js +46 -0
- package/dist/rules-command-error-20gp2dv9.js +14 -0
- package/dist/{rules-debug-service-h1ahd6p3.js → rules-debug-service-cmgmbhyh.js} +36 -35
- package/dist/{rules-init-service-y678kjje.js → rules-init-service-b74thek5.js} +16 -12
- package/dist/{rules-refresh-service-btn64j8j.js → rules-refresh-service-jgk2kq9d.js} +14 -13
- package/dist/{rules-validate-service-sppr4x13.js → rules-validate-service-mr2fk58k.js} +13 -10
- package/dist/{tool-97x3zjcm.js → tool-19b4ect0.js} +158 -113
- package/dist/{tool-epsr41wx.js → tool-1de529jm.js} +3 -12
- package/dist/{tool-7xmarr97.js → tool-2cky8jwp.js} +2578 -1777
- package/dist/{tool-0bthsb3x.js → tool-4dfpdepw.js} +15 -15
- package/dist/tool-53w8skv5.js +262 -0
- package/dist/tool-7haj67tr.js +19 -0
- package/dist/{tool-e1mmqsjr.js → tool-8h4er38s.js} +411 -396
- package/dist/{tool-2trg1fpx.js → tool-8qy8pkp4.js} +8 -8
- package/dist/tool-av4mmsef.js +73 -0
- package/dist/{tool-8j9f6ns5.js → tool-eymjx05p.js} +11 -11
- package/dist/{tool-mm1x18d6.js → tool-gdtpsdn7.js} +28 -223
- package/dist/{tool-6sqt4zrx.js → tool-jxvk6306.js} +32 -29
- package/dist/tool-m41px07w.js +49 -0
- package/dist/{tool-k2s349kn.js → tool-mkn83w88.js} +17 -14
- package/dist/tool-pm3ewdxc.js +1115 -0
- package/dist/{tool-6rp0gx98.js → tool-tkcx6png.js} +107 -127
- package/dist/{tool-1dycs173.js → tool-wmh645tm.js} +202 -194
- package/dist/{tool-24mr6g8c.js → tool-x0z7hxqr.js} +9 -649
- package/dist/tool.js +8 -7
- package/package.json +2 -15
- package/dist/DmnFactory-SG3RP3T3-cr8e7mxz.js +0 -8
- package/dist/DmnFactory-VWZOSZHH-azx0zqcn.js +0 -8
- package/dist/DmnModelTypes-ATR7FVKZ-vkv7n0jn.js +0 -8
- package/dist/KieDmnMarshaller-6TTUU5B4-rsxhvw7a.js +0 -8
- package/dist/business-rules-d51977r1.js +0 -25
- package/dist/business-rules-dekge24t.js +0 -23
- package/dist/business-rules-ew76mbwg.js +0 -25
- package/dist/business-rules-jmwx05k2.js +0 -25
- package/dist/business-rules-zpzqxyce.js +0 -26
- package/dist/constants-4r8pfr16.js +0 -22
- package/dist/embedded-file-reader-0228j82a.js +0 -111
- package/dist/first-party-service-1qa6cp4d.js +0 -8
- package/dist/first-party-service-28dkctkz.js +0 -8
- package/dist/first-party-service-4fsz3cnj.js +0 -8
- package/dist/first-party-service-ahcc6xc6.js +0 -8
- package/dist/first-party-service-y1ccmsvp.js +0 -8
- package/dist/first-party-service-zpr1q3nd.js +0 -8
- package/dist/hitPolicyResult-4WDHTX4A-dbtkgpqp.js +0 -12
- package/dist/index-2zxy6zgp.js +0 -23
- package/dist/index-3nx77wfh.js +0 -23
- package/dist/index-43zg1wqe.js +0 -19621
- package/dist/index-47jera73.js +0 -23
- package/dist/index-70jn7cz1.js +0 -19631
- package/dist/index-8kb5kc5y.js +0 -24
- package/dist/index-97yad7ms.js +0 -8
- package/dist/index-dfn83hxf.js +0 -14
- package/dist/index-e301h23h.js +0 -24
- package/dist/index-frd259yv.js +0 -24
- package/dist/index-gc7cw2jh.js +0 -23
- package/dist/index-gya2v502.js +0 -8
- package/dist/index-hb3gk1wf.js +0 -24
- package/dist/index-nsnfdqd5.js +0 -24
- package/dist/index-vffktc0w.js +0 -166
- package/dist/index-xymrydfw.js +0 -3095
- package/dist/index-z2qk2qn6.js +0 -24
- package/dist/index-zecwgvg7.js +0 -23
- package/dist/rule-catalog-a5w86qns.js +0 -43
- package/dist/rule-catalog-etpf962f.js +0 -69
- package/dist/rule-catalog-q5cr17hf.js +0 -58
- package/dist/rule-catalog-vc98yg4n.js +0 -43
- package/dist/rule-catalog-z3h66kh5.js +0 -56
- package/dist/rules-command-error-10qmb5w7.js +0 -13
- package/dist/rules-command-error-5bdv4bcx.js +0 -13
- package/dist/rules-command-error-cmssf0w4.js +0 -13
- package/dist/rules-command-error-fsm3b1mv.js +0 -13
- package/dist/rules-debug-service-5rcdh3pj.js +0 -192
- package/dist/rules-debug-service-8q7mkd0r.js +0 -199
- package/dist/rules-debug-service-b9j29ejz.js +0 -192
- package/dist/rules-debug-service-v3jr3r1n.js +0 -192
- package/dist/rules-init-service-3c2yfa7p.js +0 -687
- package/dist/rules-init-service-3wgd9cqp.js +0 -100
- package/dist/rules-init-service-8fqytxq0.js +0 -685
- package/dist/rules-init-service-pspt7sje.js +0 -100
- package/dist/rules-init-service-sbtzw93j.js +0 -102
- package/dist/rules-init-service-x7paqa63.js +0 -687
- package/dist/rules-init-service-y7qzmxx0.js +0 -102
- package/dist/rules-refresh-service-4xxj6ex6.js +0 -65
- package/dist/rules-refresh-service-ba5jk1y9.js +0 -65
- package/dist/rules-refresh-service-qkmphj53.js +0 -65
- package/dist/rules-validate-service-dmgnfne7.js +0 -60
- package/dist/rules-validate-service-hk2d006t.js +0 -60
- package/dist/rules-validate-service-xp05n2d9.js +0 -60
- package/dist/tool-1pkqxwwd.js +0 -17472
- package/dist/tool-39fmkx2d.js +0 -611
- package/dist/tool-3e2q1x2y.js +0 -6578
- package/dist/tool-3j0747gg.js +0 -17077
- package/dist/tool-4z7zcq4z.js +0 -6058
- package/dist/tool-56smnjrh.js +0 -73
- package/dist/tool-5qygptrc.js +0 -6171
- package/dist/tool-5xx6x8pe.js +0 -6596
- package/dist/tool-7fkrd618.js +0 -1556
- package/dist/tool-89xzeteg.js +0 -361
- package/dist/tool-911s9czz.js +0 -570
- package/dist/tool-9bz2x04j.js +0 -40
- package/dist/tool-akh7nnqs.js +0 -704
- package/dist/tool-axfzew45.js +0 -1555
- package/dist/tool-b71jq9pt.js +0 -389
- package/dist/tool-bfj846v8.js +0 -141
- package/dist/tool-bvmc017m.js +0 -96
- package/dist/tool-bykz5ryf.js +0 -454
- package/dist/tool-c76qb8ap.js +0 -17052
- package/dist/tool-ca15515v.js +0 -570
- package/dist/tool-f9qs255w.js +0 -70
- package/dist/tool-ga79rety.js +0 -389
- package/dist/tool-gb547mcn.js +0 -141
- package/dist/tool-gta9rr4h.js +0 -68
- package/dist/tool-h2dfnxdq.js +0 -6486
- package/dist/tool-hg6vr5y9.js +0 -3769
- package/dist/tool-hgvnm4vh.js +0 -1843
- package/dist/tool-hjbf9aay.js +0 -571
- package/dist/tool-k5jm64n3.js +0 -5650
- package/dist/tool-ketztpgf.js +0 -73
- package/dist/tool-n1d88ryb.js +0 -6396
- package/dist/tool-nmqpwh9m.js +0 -6166
- package/dist/tool-pb80pswx.js +0 -73
- package/dist/tool-pcsgwpfw.js +0 -40
- package/dist/tool-q3c1bjyb.js +0 -454
- package/dist/tool-rwp1skmf.js +0 -40
- package/dist/tool-s3fbt22r.js +0 -454
- package/dist/tool-tmbst1r8.js +0 -68
- package/dist/tool-v6w109p0.js +0 -455
- package/dist/tool-w2js05qv.js +0 -389
- package/dist/tool-x67kek1m.js +0 -1838
- package/dist/tool-x89947ah.js +0 -17052
- package/dist/tool-xhksjdka.js +0 -4005
- package/dist/tool-yv3t4gg5.js +0 -108
- package/dist/tool-zbyb1ttx.js +0 -5650
- /package/dist/{tool-fbqnqf9k.js → tool-jd313s2x.js} +0 -0
- /package/dist/{tool-vyx8fpft.js → tool-qgqscsjc.js} +0 -0
package/dist/index-8kb5kc5y.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
JsonSerializerNames2,
|
|
3
|
-
JsonSerializer2,
|
|
4
|
-
CAMEL_CASE_ENUM_PROPERTIES2,
|
|
5
|
-
SHARED_CORE_ABSTRACTIONS_PASCAL_CASE_PROPERTIES2,
|
|
6
|
-
RESOURCE_BUILDER_PASCAL_CASE_PROPERTIES2,
|
|
7
|
-
PASCAL_CASE_ENUM_PROPERTIES2,
|
|
8
|
-
JsonSerializerFactory2,
|
|
9
|
-
JsonSerializerProxy2,
|
|
10
|
-
StreamSerializer2
|
|
11
|
-
} from "./tool-c76qb8ap.js";
|
|
12
|
-
export {
|
|
13
|
-
CAMEL_CASE_ENUM_PROPERTIES2 as CAMEL_CASE_ENUM_PROPERTIES,
|
|
14
|
-
JsonSerializer2 as JsonSerializer,
|
|
15
|
-
JsonSerializerFactory2 as JsonSerializerFactory,
|
|
16
|
-
JsonSerializerNames2 as JsonSerializerNames,
|
|
17
|
-
JsonSerializerProxy2 as JsonSerializerProxy,
|
|
18
|
-
PASCAL_CASE_ENUM_PROPERTIES2 as PASCAL_CASE_ENUM_PROPERTIES,
|
|
19
|
-
RESOURCE_BUILDER_PASCAL_CASE_PROPERTIES2 as RESOURCE_BUILDER_PASCAL_CASE_PROPERTIES,
|
|
20
|
-
SHARED_CORE_ABSTRACTIONS_PASCAL_CASE_PROPERTIES2 as SHARED_CORE_ABSTRACTIONS_PASCAL_CASE_PROPERTIES,
|
|
21
|
-
StreamSerializer2 as StreamSerializer
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
//# debugId=1649BE3E5BA7790D64756E2164756E21
|
package/dist/index-97yad7ms.js
DELETED
package/dist/index-dfn83hxf.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
// ../../node_modules/@uipath/dmn-editor-utils/dist/chunks/chunk-TOSVCHLL.js
|
|
2
|
-
var e = { add_column_aria: "Add column", add_input_column: "Add input column", add_output_column: "Add output column", add_rule: "Add rule", aggregation_count: "Count", aggregation_count_hint: "Counts the distinct values among the matches.", aggregation_label: "Aggregation", aggregation_list_output_hint: "Can't aggregate a list output.", aggregation_max: "Maximum", aggregation_max_hint: "Returns the largest matched output.", aggregation_min: "Minimum", aggregation_min_hint: "Returns the smallest matched output.", aggregation_none: "All", aggregation_none_hint: "Returns the matches as a list.", aggregation_numeric_only_hint: "Needs a number output.", aggregation_sum: "Sum", aggregation_sum_hint: "Adds the matched outputs together.", annotation_placeholder: "Name this rule…", apply_changes: "Apply changes", argument_dialog_cancel: "Cancel", argument_dialog_direction_in: "In", argument_dialog_direction_label: "Direction", argument_dialog_error_invalid: "Use a letter or underscore, then letters, numbers and underscores.", argument_dialog_error_taken: "Argument name already exists", argument_dialog_name_label: "Name", argument_dialog_save: "Save", argument_dialog_title: "Add argument", argument_dialog_type_label: "Type", band_annotation: "Annotation", band_inputs: "Input", band_outputs: "Output", bottom_panel_collapse: "Collapse panel", bottom_panel_expand: "Expand panel", bottom_panel_maximize: "Maximize panel", bottom_panel_restore: "Restore panel", cell_aria: "{{column}}, rule {{index}}", clipboard_copy_failed: "Copy failed — the browser blocked clipboard access", column_kind_input: "Input", column_kind_output: "Output", column_moved: "Column moved from position {{from}} to {{to}}", column_panel_allowed_values: "Allowed values", column_panel_allowed_values_expression_hint: "Set in the file as a FEEL expression. Edit it in the XML tab, or pick another option above to replace it.", column_panel_allowed_values_hint: "Allowed values, comma-separated. Saved to the rule as the column constraint.", column_panel_allowed_values_inherited_hint: "Set by this output's data type. Pick List of values or Regex pattern to replace them for this output only.", column_panel_allowed_values_mode_expression: "FEEL expression", column_panel_allowed_values_mode_inherited: "From data type", column_panel_allowed_values_mode_list: "List of values", column_panel_allowed_values_mode_lookup: "Lookup table", column_panel_allowed_values_mode_none: "No restriction", column_panel_allowed_values_mode_regex: "Regex pattern", column_panel_allowed_values_placeholder: "e.g. Approved, Denied, Refer", column_panel_allowed_values_regex_hint: "Regular expression. The whole cell must match.", column_panel_allowed_values_regex_placeholder: "e.g. [A-Z]{2,3}", column_panel_expression: "Input expression", column_panel_expression_hint: "FEEL expression bound to this column", column_panel_expression_menu_add_argument: "Add argument", column_panel_expression_menu_aria: "Input expression options", column_panel_expression_menu_clear: "Clear value", column_panel_expression_menu_header: "Use", column_panel_expression_menu_variables: "Variables", column_panel_expression_placeholder: "e.g. invoice.countryCode", column_panel_label: "Label", column_panel_output_name: "Output name", column_panel_output_name_path_hint: "Read at {{path}} — a single output is the decision's whole result", column_panel_title: "Column properties", column_panel_type: "Data type", column_rule_name: "Rule name", context_menu_aria: "Table actions", decision_table_aria: "Decision table", decision_table_properties_title: "Decision table properties", default_project_name: "Business rule", delete_column: "Delete column", delete_column_confirm_action: "Delete column", delete_column_confirm_body: "{{label}} has values in one or more rules. Deleting it removes the column and every cell in it.", delete_column_confirm_cancel: "Cancel", delete_column_confirm_title: "Delete this column?", delete_column_requires_output: "A decision table must have at least one output column.", delete_rule: "Delete rule", delete_rule_aria: "Delete rule {{index}}", drag_column_title: "Drag to reorder column", drag_row_title: "Drag to reorder rule", drd_add_decision: "Add decision", drd_add_element: "Add element", drd_add_input_data: "Add input data", drd_add_knowledge_model: "Add knowledge model", drd_add_knowledge_source: "Add knowledge source", drd_add_text_annotation: "Add text annotation", drd_annotation_edit_aria: "Edit annotation", drd_back_to_diagram: "Back to diagram", drd_category_title: "Decision requirements", drd_decision_unsupported: "This decision can't be opened in the decision table editor.", drd_delete_element: "Delete", drd_element_decision: "Decision", drd_element_input_data: "Input data", drd_element_knowledge_model: "Knowledge model", drd_element_knowledge_source: "Knowledge source", drd_element_text_annotation: "Text annotation", drd_logic_confirm_action: "Replace", drd_logic_confirm_cancel: "Cancel", drd_logic_confirm_dependents: "These decisions read part of this decision's result and will stop resolving: {{decisions}}.", drd_logic_confirm_description: "The current logic will be discarded and replaced with an empty {{kind}}. This cannot be undone.", drd_logic_confirm_title: "Replace this decision's logic?", drd_logic_decision_table: "Decision table", drd_logic_literal_expression: "Literal expression", drd_logic_none: "Not set", drd_logic_unsupported: "Unsupported expression", drd_menu_copy: "Copy", drd_menu_cut: "Cut", drd_menu_hide_grid: "Hide background grid", drd_menu_paste: "Paste", drd_menu_show_grid: "Show background grid", drd_menu_tidy_up: "Tidy up nodes", drd_menu_zoom_to_fit: "Zoom to fit", drd_organize: "Organize", drd_properties_description: "Description", drd_properties_description_hint: "Shown under the name on the diagram.", drd_properties_empty: "Select an element on the diagram to see its properties.", drd_properties_identifier: "Identifier", drd_properties_identifier_hint: "What expressions use to reach this element. It stays the same when you rename.", drd_properties_identifier_rename: "Rename identifier", drd_properties_kind: "Type", drd_properties_logic: "Logic", drd_properties_logic_hint: "How this decision works out its answer.", drd_properties_name: "Name", drd_properties_name_hint: "The name shown on the diagram. Expressions keep using the element's variable.", drd_properties_title: "Properties", drd_rename_identifier_body: "The identifier is what expressions use to reach this element. Renaming it updates every expression that reads it.", drd_rename_identifier_cancel: "Cancel", drd_rename_identifier_confirm: "Rename", drd_rename_identifier_error_invalid: "Use a letter or underscore, then letters, numbers and underscores.", drd_rename_identifier_error_taken: "Another element already uses this identifier.", drd_rename_identifier_impact_one: "{{count}} decision's table already reads this identifier and will be updated.", drd_rename_identifier_impact_other: "{{count}} decisions' tables already read this identifier and will be updated.", drd_rename_identifier_label: "New identifier", drd_rename_identifier_title: "Rename identifier", drd_toolbox_title: "Add to diagram", drd_zoom_in: "Zoom in", drd_zoom_out: "Zoom out", drd_zoom_to_fit: "Zoom to fit", empty_state_description: "Create a decision table to start authoring rules.", empty_state_new_project: "Create decision table", empty_state_title: "This business rule is empty", evaluate_tab: "Evaluate", execution_condition_false: "False", execution_condition_true: "True", execution_condition_value: "Evaluated against {{value}}", execution_rule_not_evaluated: "Not evaluated", execution_rule_not_reached: "Not evaluated — rule {{index}} already matched ({{hitPolicy}} hit policy)", executions_actions_menu_aria: "Debug run actions", executions_cancelled_description: "This run was stopped before it finished evaluating.", executions_cancelled_title: "Run stopped", executions_clear: "Clear debug runs", executions_clear_confirm_action: "Clear", executions_clear_confirm_cancel: "Cancel", executions_clear_confirm_description: "Every finished run leaves the list. A run still evaluating stays.", executions_clear_confirm_title: "Clear debug runs?", executions_empty_description: "Run debug from the toolbar to evaluate this rule.", executions_empty_title: "No debug runs yet", executions_header_title: "Debug runs", executions_list_aria: "Debug runs", executions_no_trace_description: "This run finished without recording a trace.", executions_no_trace_title: "No trace recorded", executions_preparing: "Preparing the rule…", executions_retry: "Retry", executions_run_label: "Run #{{sequence}}", executions_running: "Evaluating…", executions_status_cancelled: "Stopped", executions_status_failed: "Failed", executions_status_preparing: "Preparing", executions_status_running: "Evaluating", executions_status_succeeded: "Succeeded", executions_tab: "Executions", executions_trace_empty_description: "No spans are stored for this run.", executions_trace_empty_title: "Trace not available", executions_trace_loading: "Loading trace…", executions_trace_unreadable_title: "Could not read the trace", feel_type_boolean: "Boolean", feel_type_date: "Date", feel_type_date_time: "Date-time", feel_type_day_time_duration: "Day and time duration", feel_type_number: "Number", feel_type_object: "Object", feel_type_string: "String", feel_type_time: "Time", feel_type_year_month_duration: "Year and month duration", formula_bar_input_aria: "Selected cell value", formula_bar_no_selection: "No cell selected", formula_bar_placeholder: "Enter a value for this cell", hit_policy_any: "Any", hit_policy_any_hint: "Any number may match, but they must all give the same result.", hit_policy_collect: "Collect", hit_policy_collect_hint: "Returns every match — as a list, or aggregated.", hit_policy_first: "First", hit_policy_first_hint: "Stops at the first matching rule, in table order.", hit_policy_label: "Hit policy", hit_policy_output_order: "Output order", hit_policy_output_order_hint: "Returns every match, ordered by the outputs' allowed values.", hit_policy_priority: "Priority", hit_policy_priority_hint: "Matches the highest-ranked result, prioritized by the outputs' allowed values.", hit_policy_rule_order: "Rule order", hit_policy_rule_order_hint: "Returns every match, in the order the rules appear.", hit_policy_unique: "Unique", hit_policy_unique_hint: "Exactly one rule may match. Overlaps are errors.", input_cell_any_placeholder: "any", input_column_default: "Input {{index}}", insert_rule_here: "Insert row here", literal_expression_editor_label: "Decision expression", literal_expression_editor_readonly_label: "Decision expression, read only", literal_expression_placeholder: 'Write a FEEL expression, for example: if age > 60 then "high" else "low"', literal_expression_prettify: "Prettify", literal_expression_result_type: "Result type", literal_expression_result_type_none: "Not set", loading_document: "Loading the business rule…", menu_clear_column: "Clear column", menu_clear_contents: "Clear contents", menu_clear_rule: "Clear rule", menu_column_properties: "Column properties…", menu_copy: "Copy", menu_cut: "Cut", menu_duplicate_column: "Duplicate column", menu_duplicate_rule: "Duplicate rule", menu_edit_cell: "Edit", menu_insert_column_left: "Insert column left", menu_insert_column_right: "Insert column right", menu_insert_rule_above: "Insert rule above", menu_insert_rule_below: "Insert rule below", menu_move_down: "Move down", menu_move_left: "Move left", menu_move_right: "Move right", menu_move_up: "Move up", menu_paste: "Paste", menu_paste_insert_rules: "Paste and insert rules", menu_rename_annotation: "Rename annotation column", menu_rename_column: "Rename", output_column_default: "Output {{index}}", paste_clamped: "Pasted block trimmed to fit: dropped {{dropped}}", paste_clamped_and: "{{rows}} and {{columns}}", paste_clamped_columns_one: "{{count}} column", paste_clamped_columns_other: "{{count}} columns", paste_clamped_rows_one: "{{count}} row", paste_clamped_rows_other: "{{count}} rows", paste_hint: "Press Ctrl+V in the table to paste — the browser blocked reading the clipboard from the menu", promote: "Promote", promote_coming_soon: "Promoting a business rule is coming soon.", promote_failed: "This rule couldn't be opened as a decision graph. It is unchanged and still saved as a decision table.", promote_menu_title: "Migrate to a more powerful rule", promote_to_drd: "Decision requirements (DRD)", promote_to_drd_hint: "Complex · full DMN graph", properties_tab: "Properties", rename_column_aria: "Column name", reset_column_width: "Double-click or press Enter to reset width", resize_column_aria: "Resize {{label}} column. Use arrow keys to adjust, Enter to reset.", resize_properties_panel_aria: "Resize properties panel", rule_moved: "Rule moved from position {{from}} to {{to}}", rule_number_aria: "Rule {{index}}", rule_toolbar_debug: "Run debug", rule_toolbar_debug_busy: "Debug run in progress", rule_toolbar_debug_unavailable: "Debug is unavailable right now", rule_toolbar_evaluations_soon: "Evaluations coming soon", save_failed: "Your latest changes couldn't be saved. They will be retried on your next edit — keep this tab open.", source_view_aria_label: "DMN source", source_view_notice: "Showing DMN source — this rule can't be opened in an editor yet. Edits here are saved exactly as written.", source_view_reason_invalid_xml: "Its XML isn't well-formed.", source_view_reason_lossy_xml: "It carries XML comments or processing instructions that the decision table editor can't keep.", source_view_reason_migration_failed: "It's a DMN 1.1 file that couldn't be migrated.", source_view_reason_unsafe_xml: "It declares a DOCTYPE, which this editor can't process.", source_view_reason_unsupported_profile: "It's outside what the decision table editor can open.", source_view_reason_unsupported_version: "Its DMN version isn't supported.", source_view_save_failed: "Your latest changes couldn't be saved. Apply again to retry.", table_diagnostics_hint_one: "{{count}} issue with this decision — open properties to fix it", table_diagnostics_hint_other: "{{count}} issues with this decision — open properties to fix them", table_meta: "{{inputs}} in · {{outputs}} out · {{rules}} rules", table_rename_aria: "Business rule name", tests_add: "Add test", tests_band_expected: "Expected output", tests_band_input: "Input", tests_col_name: "Test name", tests_col_result: "Result", tests_column_not_fillable: "This column's expression isn't a single variable, so it takes no test value.", tests_debug_matched: "matched Rule {{rules}}", tests_debug_no_match: "no rule matched", tests_debug_rules_changed: "matched rules are no longer in the table", tests_debug_trace_unavailable: "the rule engine didn't report which rule fired", tests_debugging: "Debugging", tests_default_name: "Test {{index}}", tests_delete: "Delete test", tests_drag_row_title: "Drag to reorder test", tests_empty_description: "Add a test to validate this rule.", tests_empty_title: "No tests yet", tests_error_missing_result: "The rule engine returned no result for this test.", tests_error_unrecognized_output_shape: "The rule engine returned an output shape we don't recognize (keys: {{keys}}).", tests_exit_debug: "Exit debug", tests_expected_received: "Expected {{expected}}, received {{received}}", tests_load_failed_description: "Reopen the file to try again.", tests_load_failed_title: "Tests couldn't be loaded", tests_loading: "Loading tests…", tests_menu_duplicate: "Duplicate test", tests_menu_insert_above: "Insert test above", tests_menu_insert_below: "Insert test below", tests_name_placeholder: "Name this test", tests_no_match_description: 'No tests match "{{query}}"', tests_no_match_title: "No matching tests", tests_passing: "{{passing}}/{{total}} passing", tests_paste_skipped_one: "{{count}} cell was left as it is — its column shows an expression, not a value.", tests_paste_skipped_other: "{{count}} cells were left as they are — their columns show expressions, not values.", tests_path_conflict: "This value and {{other}} can't both reach the rule engine — only one will.", tests_props_expected: "Expected output", tests_props_inputs: "Inputs", tests_props_result: "Result", tests_props_title: "Test data", tests_received: "received: {{value}}", tests_result_error: "Error", tests_result_fail: "Fail", tests_result_pass: "Pass", tests_result_running: "Running", tests_run: "Run test", tests_run_all: "Run all", tests_save_failed: "Your test changes couldn't be saved. They will be retried on your next edit — keep this tab open.", tests_search_aria: "Search tests", tests_search_placeholder: "Search tests...", tests_title: "Tests", tests_update_expected: "Update expected outputs with current outputs", validation_aggregation_result_type: "{{aggregation}} doesn't return {{typeRef}}, the type the decision declares", validation_collect_aggregation_multiple_outputs: "{{aggregation}} aggregation requires a single output, not {{count}}", validation_collect_aggregation_type: "{{aggregation}} aggregation requires a number output, not {{typeRef}}", validation_column_type_mismatch: '"{{name}}" is declared as {{declared}}, but this column is typed {{column}}', validation_dangling_requirement: "This decision requires an input or decision that no longer exists", validation_decision_name_missing: "This decision has no name", validation_document_unreadable: "This file could not be read as a DMN decision table", validation_duplicate_input_data_name: '"{{name}}" is used by more than one input', validation_duplicate_output_name: 'Output name "{{name}}" is used by more than one column', validation_duplicate_rule: "This rule has the same inputs as another rule", validation_feel_lint: "{{message}}", validation_feel_syntax: "{{message}}", validation_input_data_name_invalid: '"{{name}}" is not a valid input name', validation_input_data_shadows_decision: `"{{name}}" is already the name of another decision's result. Delete this input, or rename it.`, validation_input_expression_missing: "This input column has no expression", validation_list_result_type: "This hit policy returns a list, but the decision declares {{typeRef}}. Editing the table clears the declared type.", validation_literal_expression_empty: "This decision has no expression, so it cannot be evaluated.", validation_literal_expression_type_missing: "Set a result type so callers know what this decision answers with.", validation_no_rules: "This table has no rules", validation_output_name_invalid: '"{{name}}" is not a valid output name', validation_output_name_missing: "This output column has no name — every output in a multi-output table must be named", validation_output_value_not_allowed: "{{value}} is not one of this output's allowed values", validation_output_value_unchecked_one: "A value that isn't a plain literal can't be checked against this output's allowed values; if it falls outside them, the decision fails", validation_output_value_unchecked_other: "{{count}} values that aren't plain literals can't be checked against this output's allowed values; if one falls outside them, the decision fails", validation_ranked_output_values_missing: "This hit policy ranks matches by allowed values; add them to at least one output", validation_ranked_output_values_single: "This hit policy ranks matches by the order of allowed values, but every ranked output lists only one entry, so every match ties and rule order decides. List the values in rank order", validation_rule_entry_count: "This rule's entries do not match the table's columns", validation_type_mismatch: "A {{literalType}} value does not match the {{columnType}} column type", validation_unknown_name: '"{{name}}" is not a known input or decision variable', validation_unreachable_rule: "This rule can never be reached — an earlier rule matches every input", variable_picker_empty: "No variables found", variable_picker_insert: "Insert variable", variable_picker_search_placeholder: "Search variables…", viewer_unsupported_notice: "This rule can't be shown as a decision table.", xml_error_apply_failed: "This document could not be applied. Check the XML and try again.", xml_error_invalid: "This is not well-formed XML.", xml_error_lossy: "Remove XML comments and processing instructions — they cannot be kept.", xml_error_migration_failed: "This DMN 1.1 document could not be migrated.", xml_error_uninitialized: "This document holds no decision to apply.", xml_error_unsafe: "Remove the DOCTYPE declaration.", xml_error_unsupported_profile: "Only a single decision table can be applied.", xml_error_unsupported_version: "This DMN version is not supported.", xml_tab: "XML", xml_unavailable: "This table can't be shown as XML right now. Your latest changes are still in the table." };
|
|
3
|
-
|
|
4
|
-
// ../../node_modules/@uipath/dmn-editor-utils/dist/diagnostics/index.js
|
|
5
|
-
var c = Object.assign(Object.create(null), e);
|
|
6
|
-
var a = ({ messageKey: t, messageParams: n = {} }) => {
|
|
7
|
-
let { count: o } = n;
|
|
8
|
-
return ((typeof o == "number" ? c[`${t}_${o === 1 ? "one" : "other"}`] : undefined) ?? c[t] ?? t).replace(/\{\{\s*(\w+)\s*\}\}/g, (e, r) => Object.prototype.hasOwnProperty.call(n, r) ? String(n[r]) : e);
|
|
9
|
-
};
|
|
10
|
-
export {
|
|
11
|
-
a as translateDmnDiagnostic
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
//# debugId=25C1A109A393C50F64756E2164756E21
|
package/dist/index-e301h23h.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
JsonSerializerNames2,
|
|
3
|
-
JsonSerializer2,
|
|
4
|
-
CAMEL_CASE_ENUM_PROPERTIES2,
|
|
5
|
-
SHARED_CORE_ABSTRACTIONS_PASCAL_CASE_PROPERTIES2,
|
|
6
|
-
RESOURCE_BUILDER_PASCAL_CASE_PROPERTIES2,
|
|
7
|
-
PASCAL_CASE_ENUM_PROPERTIES2,
|
|
8
|
-
JsonSerializerFactory2,
|
|
9
|
-
JsonSerializerProxy2,
|
|
10
|
-
StreamSerializer2
|
|
11
|
-
} from "./tool-7xmarr97.js";
|
|
12
|
-
export {
|
|
13
|
-
CAMEL_CASE_ENUM_PROPERTIES2 as CAMEL_CASE_ENUM_PROPERTIES,
|
|
14
|
-
JsonSerializer2 as JsonSerializer,
|
|
15
|
-
JsonSerializerFactory2 as JsonSerializerFactory,
|
|
16
|
-
JsonSerializerNames2 as JsonSerializerNames,
|
|
17
|
-
JsonSerializerProxy2 as JsonSerializerProxy,
|
|
18
|
-
PASCAL_CASE_ENUM_PROPERTIES2 as PASCAL_CASE_ENUM_PROPERTIES,
|
|
19
|
-
RESOURCE_BUILDER_PASCAL_CASE_PROPERTIES2 as RESOURCE_BUILDER_PASCAL_CASE_PROPERTIES,
|
|
20
|
-
SHARED_CORE_ABSTRACTIONS_PASCAL_CASE_PROPERTIES2 as SHARED_CORE_ABSTRACTIONS_PASCAL_CASE_PROPERTIES,
|
|
21
|
-
StreamSerializer2 as StreamSerializer
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
//# debugId=1649BE3E5BA7790D64756E2164756E21
|
package/dist/index-frd259yv.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
JsonSerializerNames2,
|
|
3
|
-
JsonSerializer2,
|
|
4
|
-
CAMEL_CASE_ENUM_PROPERTIES2,
|
|
5
|
-
SHARED_CORE_ABSTRACTIONS_PASCAL_CASE_PROPERTIES2,
|
|
6
|
-
RESOURCE_BUILDER_PASCAL_CASE_PROPERTIES2,
|
|
7
|
-
PASCAL_CASE_ENUM_PROPERTIES2,
|
|
8
|
-
JsonSerializerFactory2,
|
|
9
|
-
JsonSerializerProxy2,
|
|
10
|
-
StreamSerializer2
|
|
11
|
-
} from "./tool-x89947ah.js";
|
|
12
|
-
export {
|
|
13
|
-
CAMEL_CASE_ENUM_PROPERTIES2 as CAMEL_CASE_ENUM_PROPERTIES,
|
|
14
|
-
JsonSerializer2 as JsonSerializer,
|
|
15
|
-
JsonSerializerFactory2 as JsonSerializerFactory,
|
|
16
|
-
JsonSerializerNames2 as JsonSerializerNames,
|
|
17
|
-
JsonSerializerProxy2 as JsonSerializerProxy,
|
|
18
|
-
PASCAL_CASE_ENUM_PROPERTIES2 as PASCAL_CASE_ENUM_PROPERTIES,
|
|
19
|
-
RESOURCE_BUILDER_PASCAL_CASE_PROPERTIES2 as RESOURCE_BUILDER_PASCAL_CASE_PROPERTIES,
|
|
20
|
-
SHARED_CORE_ABSTRACTIONS_PASCAL_CASE_PROPERTIES2 as SHARED_CORE_ABSTRACTIONS_PASCAL_CASE_PROPERTIES,
|
|
21
|
-
StreamSerializer2 as StreamSerializer
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
//# debugId=1649BE3E5BA7790D64756E2164756E21
|
package/dist/index-gc7cw2jh.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
createResourceBuilderServices2,
|
|
3
|
-
addProjectArtifactsToSolutionAsync2,
|
|
4
|
-
getRemoteResourceClients2,
|
|
5
|
-
findCatalogEntityAsync2,
|
|
6
|
-
toResourceReference2,
|
|
7
|
-
exportResourceDefinitionAsync2,
|
|
8
|
-
readSpecProperty2
|
|
9
|
-
} from "./tool-x89947ah.js";
|
|
10
|
-
import"./tool-b71jq9pt.js";
|
|
11
|
-
import"./tool-4z7zcq4z.js";
|
|
12
|
-
import"./tool-nmqpwh9m.js";
|
|
13
|
-
export {
|
|
14
|
-
addProjectArtifactsToSolutionAsync2 as addProjectArtifactsToSolutionAsync,
|
|
15
|
-
createResourceBuilderServices2 as createResourceBuilderServices,
|
|
16
|
-
exportResourceDefinitionAsync2 as exportResourceDefinitionAsync,
|
|
17
|
-
findCatalogEntityAsync2 as findCatalogEntityAsync,
|
|
18
|
-
getRemoteResourceClients2 as getRemoteResourceClients,
|
|
19
|
-
readSpecProperty2 as readSpecProperty,
|
|
20
|
-
toResourceReference2 as toResourceReference
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
//# debugId=0E40A678888F15DA64756E2164756E21
|
package/dist/index-gya2v502.js
DELETED
package/dist/index-hb3gk1wf.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
JsonSerializerNames2,
|
|
3
|
-
JsonSerializer2,
|
|
4
|
-
CAMEL_CASE_ENUM_PROPERTIES2,
|
|
5
|
-
SHARED_CORE_ABSTRACTIONS_PASCAL_CASE_PROPERTIES2,
|
|
6
|
-
RESOURCE_BUILDER_PASCAL_CASE_PROPERTIES2,
|
|
7
|
-
PASCAL_CASE_ENUM_PROPERTIES2,
|
|
8
|
-
JsonSerializerFactory2,
|
|
9
|
-
JsonSerializerProxy2,
|
|
10
|
-
StreamSerializer2
|
|
11
|
-
} from "./tool-1pkqxwwd.js";
|
|
12
|
-
export {
|
|
13
|
-
CAMEL_CASE_ENUM_PROPERTIES2 as CAMEL_CASE_ENUM_PROPERTIES,
|
|
14
|
-
JsonSerializer2 as JsonSerializer,
|
|
15
|
-
JsonSerializerFactory2 as JsonSerializerFactory,
|
|
16
|
-
JsonSerializerNames2 as JsonSerializerNames,
|
|
17
|
-
JsonSerializerProxy2 as JsonSerializerProxy,
|
|
18
|
-
PASCAL_CASE_ENUM_PROPERTIES2 as PASCAL_CASE_ENUM_PROPERTIES,
|
|
19
|
-
RESOURCE_BUILDER_PASCAL_CASE_PROPERTIES2 as RESOURCE_BUILDER_PASCAL_CASE_PROPERTIES,
|
|
20
|
-
SHARED_CORE_ABSTRACTIONS_PASCAL_CASE_PROPERTIES2 as SHARED_CORE_ABSTRACTIONS_PASCAL_CASE_PROPERTIES,
|
|
21
|
-
StreamSerializer2 as StreamSerializer
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
//# debugId=1649BE3E5BA7790D64756E2164756E21
|
package/dist/index-nsnfdqd5.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
JsonSerializerNames2,
|
|
3
|
-
JsonSerializer2,
|
|
4
|
-
CAMEL_CASE_ENUM_PROPERTIES2,
|
|
5
|
-
SHARED_CORE_ABSTRACTIONS_PASCAL_CASE_PROPERTIES2,
|
|
6
|
-
RESOURCE_BUILDER_PASCAL_CASE_PROPERTIES2,
|
|
7
|
-
PASCAL_CASE_ENUM_PROPERTIES2,
|
|
8
|
-
JsonSerializerFactory2,
|
|
9
|
-
JsonSerializerProxy2,
|
|
10
|
-
StreamSerializer2
|
|
11
|
-
} from "./tool-3j0747gg.js";
|
|
12
|
-
export {
|
|
13
|
-
CAMEL_CASE_ENUM_PROPERTIES2 as CAMEL_CASE_ENUM_PROPERTIES,
|
|
14
|
-
JsonSerializer2 as JsonSerializer,
|
|
15
|
-
JsonSerializerFactory2 as JsonSerializerFactory,
|
|
16
|
-
JsonSerializerNames2 as JsonSerializerNames,
|
|
17
|
-
JsonSerializerProxy2 as JsonSerializerProxy,
|
|
18
|
-
PASCAL_CASE_ENUM_PROPERTIES2 as PASCAL_CASE_ENUM_PROPERTIES,
|
|
19
|
-
RESOURCE_BUILDER_PASCAL_CASE_PROPERTIES2 as RESOURCE_BUILDER_PASCAL_CASE_PROPERTIES,
|
|
20
|
-
SHARED_CORE_ABSTRACTIONS_PASCAL_CASE_PROPERTIES2 as SHARED_CORE_ABSTRACTIONS_PASCAL_CASE_PROPERTIES,
|
|
21
|
-
StreamSerializer2 as StreamSerializer
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
//# debugId=1649BE3E5BA7790D64756E2164756E21
|
package/dist/index-vffktc0w.js
DELETED
|
@@ -1,166 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
v4_default
|
|
3
|
-
} from "./tool-vyx8fpft.js";
|
|
4
|
-
|
|
5
|
-
// ../../node_modules/@uipath/dmn-editor-utils/dist/entry-points/index.js
|
|
6
|
-
function O(e) {
|
|
7
|
-
switch (e.toLowerCase()) {
|
|
8
|
-
case "boolean":
|
|
9
|
-
return "boolean";
|
|
10
|
-
case "number":
|
|
11
|
-
case "integer":
|
|
12
|
-
case "long":
|
|
13
|
-
case "double":
|
|
14
|
-
case "decimal":
|
|
15
|
-
return "number";
|
|
16
|
-
case "date":
|
|
17
|
-
return "date";
|
|
18
|
-
case "time":
|
|
19
|
-
return "time";
|
|
20
|
-
case "date and time":
|
|
21
|
-
case "datetime":
|
|
22
|
-
return "datetime";
|
|
23
|
-
case "array":
|
|
24
|
-
return "array";
|
|
25
|
-
case "any":
|
|
26
|
-
case "object":
|
|
27
|
-
return "object";
|
|
28
|
-
default:
|
|
29
|
-
return "string";
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
var N = "x-uipath-decision-keyed";
|
|
33
|
-
var F = { "invalid-xml": "The rule is not valid XML.", "unsafe-xml": "The rule declares a document type, which is not allowed.", "lossy-xml": "The rule contains comments or processing instructions that cannot be preserved.", "unsupported-version": "The rule uses a DMN version that is not supported.", "migration-failed": "The rule could not be migrated to a supported DMN version.", "unsupported-profile": "The rule uses DMN constructs that are not supported." };
|
|
34
|
-
var S = class extends Error {
|
|
35
|
-
constructor(r) {
|
|
36
|
-
super(F[r] ?? "The rule could not be read.");
|
|
37
|
-
this.reason = r;
|
|
38
|
-
this.name = "UnreadableDmnError";
|
|
39
|
-
}
|
|
40
|
-
};
|
|
41
|
-
var j = (e) => e.__$$element === "decision";
|
|
42
|
-
var L = (e) => e.__$$element === "inputData";
|
|
43
|
-
var E = (e) => e.expression?.__$$element === "decisionTable" ? e.expression : undefined;
|
|
44
|
-
var P = (e) => e.expression?.__$$element === "literalExpression" ? e.expression : undefined;
|
|
45
|
-
var I = (e) => !!E(e) || !!P(e);
|
|
46
|
-
var Y = (e, t) => {
|
|
47
|
-
let r = e.variable?.["@_name"] || e["@_name"] || "";
|
|
48
|
-
return { name: r, displayName: e["@_label"] || r, type: O(t["@_typeRef"] ?? e.variable?.["@_typeRef"] ?? ""), source: `=result.${r}` };
|
|
49
|
-
};
|
|
50
|
-
var J = (e) => ({ name: e.variable?.["@_name"] || e["@_name"] || "", displayName: e["@_name"] || e.variable?.["@_name"] || "", type: O(e.variable?.["@_typeRef"] ?? ""), required: true });
|
|
51
|
-
var A = (e) => e.inputExpression?.text?.__$$text || e["@_label"] || "";
|
|
52
|
-
var H = (e) => ({ name: A(e), displayName: e["@_label"] || A(e), type: O(e.inputExpression?.["@_typeRef"] ?? ""), required: true });
|
|
53
|
-
async function k(e) {
|
|
54
|
-
let [{ importDmnDocument: t }, { outputArgumentName: r }] = await Promise.all([import("./KieDmnMarshaller-6TTUU5B4-rsxhvw7a.js"), import("./DmnFactory-SG3RP3T3-cr8e7mxz.js")]), i = await t(e);
|
|
55
|
-
if (i.status === "error")
|
|
56
|
-
throw new S(i.reason);
|
|
57
|
-
let o = i.document.definitions, p = o.drgElement ?? [], a = p.filter(j), l = p.filter(L), b = (n, y) => {
|
|
58
|
-
let d = r({ id: n["@_id"] ?? "", name: n["@_name"], label: n["@_label"] }, y);
|
|
59
|
-
return { name: d, displayName: n["@_label"] || d, type: O(n["@_typeRef"] ?? ""), source: `=result.${d}` };
|
|
60
|
-
}, c = (n) => {
|
|
61
|
-
let y = P(n);
|
|
62
|
-
if (y)
|
|
63
|
-
return [Y(n, y)];
|
|
64
|
-
let d = E(n);
|
|
65
|
-
if (!d)
|
|
66
|
-
return [];
|
|
67
|
-
let s = (d.output ?? []).map(b), m = n["@_name"];
|
|
68
|
-
return s.length !== 1 || d.output?.[0]?.["@_name"]?.trim() || !m ? s : [{ ...s[0], name: m, displayName: d.output?.[0]?.["@_label"] || m, source: `=result.${m}` }];
|
|
69
|
-
}, _ = (n, y = () => true) => l.length ? l.filter(y).map(J) : n.flatMap((d) => (d.input ?? []).map(H)), h = new Map((o.itemDefinition ?? []).map((n) => [n["@_name"], n])), R = (n) => !n["@_aggregation"] && ["COLLECT", "RULE ORDER", "OUTPUT ORDER"].includes(n["@_hitPolicy"] ?? "UNIQUE"), x = (n) => {
|
|
70
|
-
let y = n["@_name"] ?? "", d = c(n).map((u) => u.name), s = P(n), m = E(n), f = (m?.output ?? []).map((u) => $(u["@_typeRef"], h)), g;
|
|
71
|
-
return s ? g = [[d[0], $(s["@_typeRef"] ?? n.variable?.["@_typeRef"], h)]] : m && R(m) ? g = f.length > 1 ? [[y, { type: "array", items: { type: "object", properties: Object.fromEntries(d.map((u, D) => [u, f[D]])) } }]] : f.map((u, D) => [d[D], { type: "array", items: u }]) : g = d.map((u, D) => [u, f[D]]), { name: y, displayName: y, type: "jsonSchema", source: `=result.${y}`, _jsonSchema: { type: "object", properties: Object.fromEntries(g) } };
|
|
72
|
-
}, w = a.every((n) => !I(n) || !!n["@_name"]?.trim());
|
|
73
|
-
return { definitions: o, decisions: a, declared: l, inputsFor: _, outputsOf: c, toKeyedOutput: x, keyable: w };
|
|
74
|
-
}
|
|
75
|
-
function $(e, t, r = new Set) {
|
|
76
|
-
let i = e && !r.has(e) ? t.get(e) : undefined;
|
|
77
|
-
if (!i)
|
|
78
|
-
return { type: O(e ?? "") };
|
|
79
|
-
let o = new Set(r).add(e ?? ""), p = i.itemComponent ?? [], a = p.length ? { type: "object", properties: Object.fromEntries(p.map((l) => [l["@_name"], $(l.typeRef?.__$$text, t, o)])) } : $(i.typeRef?.__$$text, t, o);
|
|
80
|
-
return i["@_isCollection"] ? { type: "array", items: a } : a;
|
|
81
|
-
}
|
|
82
|
-
var M = (e) => e?.startsWith("#") ? e.slice(1) : e || undefined;
|
|
83
|
-
var G = (e, t) => new RegExp(`(^|[^\\w.$])${t.replace(/[.*+?^${}()|[\]\\]/g, "\\$&")}([^\\w$]|$)`).test(e);
|
|
84
|
-
function Q(e, t) {
|
|
85
|
-
let r = new Set([e]), i = [e];
|
|
86
|
-
for (;i.length > 0; ) {
|
|
87
|
-
let o = t.get(i.shift() ?? "");
|
|
88
|
-
if (!o)
|
|
89
|
-
continue;
|
|
90
|
-
let p = [...(o.informationRequirement ?? []).flatMap((a) => [a.requiredInput?.["@_href"], a.requiredDecision?.["@_href"]]), ...(o.knowledgeRequirement ?? []).map((a) => a.requiredKnowledge?.["@_href"])];
|
|
91
|
-
for (let a of p) {
|
|
92
|
-
let l = M(a);
|
|
93
|
-
!l || r.has(l) || (r.add(l), i.push(l));
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
return r;
|
|
97
|
-
}
|
|
98
|
-
async function T(e, t = false) {
|
|
99
|
-
let { definitions: r, decisions: i, declared: o, inputsFor: p, outputsOf: a, toKeyedOutput: l, keyable: b } = await k(e), c = t && b, _ = new Map([...i, ...o].flatMap((s) => s["@_id"] ? [[s["@_id"], s]] : [])), h = new Set(i.flatMap((s) => (s.informationRequirement ?? []).flatMap((m) => {
|
|
100
|
-
let f = M(m.requiredDecision?.["@_href"]);
|
|
101
|
-
return f ? [f] : [];
|
|
102
|
-
}))), R = [...i.filter((s) => !h.has(s["@_id"] ?? "")), ...i.filter((s) => h.has(s["@_id"] ?? ""))], x = R.map((s) => {
|
|
103
|
-
let m = Q(s["@_id"] ?? "", _), f = [...m].flatMap((g) => {
|
|
104
|
-
let u = _.get(g);
|
|
105
|
-
if (!u || !j(u))
|
|
106
|
-
return [];
|
|
107
|
-
let D = P(u);
|
|
108
|
-
return D ? [D.text?.__$$text ?? ""] : (E(u)?.input ?? []).map((q) => q.inputExpression?.text?.__$$text ?? "");
|
|
109
|
-
});
|
|
110
|
-
return (g) => {
|
|
111
|
-
if (m.has(g["@_id"] ?? ""))
|
|
112
|
-
return true;
|
|
113
|
-
let u = g.variable?.["@_name"] || g["@_name"] || "";
|
|
114
|
-
return !!u && f.some((D) => G(D, u));
|
|
115
|
-
};
|
|
116
|
-
}), w = new Set(o.filter((s) => x.some((m) => m(s)))), n = R.flatMap((s, m) => {
|
|
117
|
-
if (!I(s))
|
|
118
|
-
return [];
|
|
119
|
-
let f = E(s), g = (u) => x[m](u) || !w.has(u);
|
|
120
|
-
return [{ id: s["@_id"] ?? "", name: s["@_label"] ?? s["@_name"] ?? "", inputs: p(f ? [f] : [], g), outputs: c ? [l(s)] : a(s), ...c ? { decisionKeyed: true } : {} }];
|
|
121
|
-
});
|
|
122
|
-
if (!c || n.length < 2)
|
|
123
|
-
return n;
|
|
124
|
-
let y = i.map(E).filter((s) => !!s);
|
|
125
|
-
return [{ name: r["@_label"] ?? r["@_name"] ?? "", inputs: p(y), outputs: n.flatMap((s) => s.outputs), decisionKeyed: true }, ...n];
|
|
126
|
-
}
|
|
127
|
-
var z = JSON.stringify({ version: "2.0", resources: [] }, null, 2);
|
|
128
|
-
var V = { date: { type: "string", format: "date" }, datetime: { type: "string", format: "date-time" }, time: { type: "string", format: "time" } };
|
|
129
|
-
var Z = (e) => {
|
|
130
|
-
if (e.type === "jsonSchema") {
|
|
131
|
-
let { $schema: t, ...r } = e._jsonSchema ?? {};
|
|
132
|
-
return e._jsonSchema ? r : {};
|
|
133
|
-
}
|
|
134
|
-
return e.type === "array" ? { type: "array", items: {}, title: e.name } : { ...V[e.type] ?? { type: e.type }, title: e.name };
|
|
135
|
-
};
|
|
136
|
-
var U = (e) => e.length === 0 ? { type: "object", properties: {} } : { type: "object", properties: Object.fromEntries(e.map((t) => [t.name, Z(t)])), required: [] };
|
|
137
|
-
var B = (e) => typeof e == "string" && e !== "";
|
|
138
|
-
var ee = (e) => {
|
|
139
|
-
let t = Array.isArray(e?.entryPoints) ? e.entryPoints : [], r = new Map;
|
|
140
|
-
for (let i of t)
|
|
141
|
-
B(i?.filePath) && B(i.uniqueId) && r.set(i.filePath, i.uniqueId);
|
|
142
|
-
return r;
|
|
143
|
-
};
|
|
144
|
-
async function te(e, t, r = false) {
|
|
145
|
-
let i = ee(t), o = [], p = [];
|
|
146
|
-
for (let { name: a, contents: l } of e) {
|
|
147
|
-
let b;
|
|
148
|
-
try {
|
|
149
|
-
b = await T(l, r);
|
|
150
|
-
} catch (c) {
|
|
151
|
-
p.push({ name: a, error: c });
|
|
152
|
-
continue;
|
|
153
|
-
}
|
|
154
|
-
for (let c of b) {
|
|
155
|
-
let _ = c.id ? `/${a}#${c.id}` : `/${a}`;
|
|
156
|
-
o.push({ filePath: _, uniqueId: i.get(_) ?? v4_default(), type: "BusinessRules", ...c.name ? { displayName: c.name } : {}, input: U(c.inputs), output: { ...U(c.outputs), ...c.decisionKeyed ? { [N]: true } : {} } });
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
return { entryPoints: o, entryPointsContent: JSON.stringify({ $schema: "https://cloud.uipath.com/draft/2024-12/entry-point", $id: "entry-points.json", entryPoints: o }, null, 2), bindingContent: z, unreadable: p, entryPointsChanged: JSON.stringify(t?.entryPoints) !== JSON.stringify(o) };
|
|
160
|
-
}
|
|
161
|
-
export {
|
|
162
|
-
S as UnreadableDmnError,
|
|
163
|
-
te as buildBusinessRulePackagingFiles
|
|
164
|
-
};
|
|
165
|
-
|
|
166
|
-
//# debugId=36F0E7BA0B1FB92964756E2164756E21
|