@uipath/rules-tool 1.204.0-preview.255 → 1.205.0-preview.256
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/README.md +7 -5
- package/dist/DmnFactory-L7MABUC6-98k17dkr.js +46 -0
- package/dist/{KieDmnMarshaller-6TTUU5B4-47q50gk4.js → KieDmnMarshaller-LGE63WDG-3vemswef.js} +2 -2
- package/dist/THIRD-PARTY-NOTICES.md +26 -9
- package/dist/{business-rules-bnr581tz.js → business-rules-pm96sefm.js} +4 -4
- package/dist/{constants-9pa118cj.js → constants-cnn0jfw6.js} +18 -17
- package/dist/{embedded-file-reader-rf2g1kfj.js → embedded-file-reader-z4becc02.js} +2 -2
- package/dist/hitPolicyResult-CGCR73CW-9bmc4nsr.js +36 -0
- package/dist/index-52h8rpew.js +21 -0
- package/dist/index-bhjt1h5c.js +227 -0
- package/dist/{index-2hzp9b97.js → index-cpm94vee.js} +21 -5
- package/dist/index-x9msn1dj.js +85 -0
- package/dist/{index-4c4exdzw.js → index-ybrgtfsg.js} +576 -285
- package/dist/index.js +2 -2
- package/dist/rule-catalog-10fhgevc.js +74 -0
- package/dist/{rules-command-error-20gp2dv9.js → rules-command-error-k6kxwfn7.js} +2 -2
- package/dist/{rules-debug-service-var52vfc.js → rules-debug-service-h0qma8db.js} +19 -13
- package/dist/{rules-init-service-0jgj6m9d.js → rules-init-service-yda3k6ea.js} +7 -7
- package/dist/{rules-refresh-service-jgk2kq9d.js → rules-refresh-service-jn6my893.js} +3 -3
- package/dist/{rules-validate-service-mr2fk58k.js → rules-validate-service-hfw8m3dm.js} +7 -7
- package/dist/{tool-pm3ewdxc.js → tool-1pccj6q3.js} +4 -3
- package/dist/tool-86f1xpxn.js +51 -0
- package/dist/{tool-qsgp0kzq.js → tool-cexyd4ff.js} +17 -7
- package/dist/tool-cfrcyxgm.js +26 -0
- package/dist/{tool-av4mmsef.js → tool-fbmxx07c.js} +2 -2
- package/dist/{tool-2cky8jwp.js → tool-fbxe48wd.js} +1071 -208
- package/dist/tool-fk8rznma.js +827 -0
- package/dist/{tool-mkn83w88.js → tool-gkbr01gc.js} +3 -3
- package/dist/{tool-8h4er38s.js → tool-h7gn1rar.js} +3 -3
- package/dist/{tool-8qy8pkp4.js → tool-t4k013ex.js} +8 -5
- package/dist/tool-tjcg2xje.js +4616 -0
- package/dist/{tool-eymjx05p.js → tool-txp5th7j.js} +760 -3395
- package/dist/{tool-tkcx6png.js → tool-wf2qkrye.js} +25 -5
- package/dist/{tool-wmh645tm.js → tool-yq5jph4h.js} +169 -119
- package/dist/tool-z1ay3csx.js +176 -0
- package/dist/{tool-6a672gmg.js → tool-z6x97pps.js} +103 -63
- package/dist/tool.js +2 -2
- package/package.json +2 -2
- package/dist/DmnFactory-VWZOSZHH-jkpbxz3n.js +0 -42
- package/dist/hitPolicyResult-4WDHTX4A-gk103w84.js +0 -33
- package/dist/index-34pj9f36.js +0 -48
- package/dist/index-fs1nd5ap.js +0 -200
- package/dist/index-t4mx1a5e.js +0 -17
- package/dist/rule-catalog-5gzpe93c.js +0 -46
- package/dist/tool-19b4ect0.js +0 -754
- package/dist/tool-4dfpdepw.js +0 -55
- package/dist/tool-m41px07w.js +0 -49
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import {
|
|
2
|
+
A,
|
|
3
|
+
C,
|
|
4
|
+
E,
|
|
5
|
+
O,
|
|
6
|
+
R,
|
|
7
|
+
S,
|
|
8
|
+
T,
|
|
9
|
+
f,
|
|
10
|
+
g,
|
|
11
|
+
m,
|
|
12
|
+
p,
|
|
13
|
+
u,
|
|
14
|
+
x
|
|
15
|
+
} from "./tool-86f1xpxn.js";
|
|
16
|
+
import"./tool-z1ay3csx.js";
|
|
17
|
+
import"./tool-jd313s2x.js";
|
|
18
|
+
import"./tool-7haj67tr.js";
|
|
19
|
+
import"./tool-1de529jm.js";
|
|
20
|
+
export {
|
|
21
|
+
f as LIST_HIT_POLICIES,
|
|
22
|
+
m as RANKED_HIT_POLICIES,
|
|
23
|
+
C as aggregateTypeRef,
|
|
24
|
+
A as allowedValuesOf,
|
|
25
|
+
u as baseTypeRefOf,
|
|
26
|
+
g as isBuiltInTypeRef,
|
|
27
|
+
R as isCollectAggregation,
|
|
28
|
+
x as isKnownSingleValueTypeRef,
|
|
29
|
+
T as isListTypeRef,
|
|
30
|
+
S as isOutputAggregatable,
|
|
31
|
+
p as outputTypeRefOf,
|
|
32
|
+
O as resultShapeOf,
|
|
33
|
+
E as valueTypeRefOf
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
//# debugId=8645F431374150B864756E2164756E21
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import {
|
|
2
|
+
m
|
|
3
|
+
} from "./tool-cfrcyxgm.js";
|
|
4
|
+
import"./tool-7haj67tr.js";
|
|
5
|
+
import"./tool-1de529jm.js";
|
|
6
|
+
|
|
7
|
+
// ../../node_modules/@uipath/dmn-editor-utils/dist/chunks/chunk-OET3STM5.js
|
|
8
|
+
var e = { 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: "A variable with this name already exists", argument_dialog_item_type_label: "Item type", argument_dialog_name_label: "Name", argument_dialog_save: "Save", argument_dialog_title: "Add input variable", 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_example: "e.g. {{example}}", column_panel_allowed_values_hint: "Separate values with commas, and write each one as the example shows.", column_panel_allowed_values_inherited_note: "Taking these from the data type: {{values}}. Type here to replace them for this column.", 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_none: "No restriction", column_panel_allowed_values_mode_regex: "Regex pattern", column_panel_expression: "Input expression", column_panel_expression_clear: "Clear value", column_panel_expression_insert: "Insert", column_panel_expression_insert_aria: "Insert variable", column_panel_expression_more_aria: "Input expression options", column_panel_expression_picker_add_argument: "Add input variable", column_panel_expression_placeholder: "e.g. invoice.countryCode", column_panel_item_type: "Item type", 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_panel_type_help_aria: "Help for data type", column_panel_type_input_info: "Changing this data type does not change the type of the input argument bound to this column", 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_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_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_array: "Array", feel_type_array_of: "Array of {{type}}", feel_type_boolean: "Boolean", feel_type_date: "Date", feel_type_date_hint: "Write a date as {{example}}", feel_type_date_time: "Date-time", feel_type_date_time_hint: "Write a date-time as {{example}}", feel_type_day_time_duration: "Day and time duration", feel_type_day_time_duration_meaning: "30 days, 4 hours", feel_type_duration_hint: "Write an ISO 8601 duration like {{example}} ({{meaning}})", feel_type_number: "Number", feel_type_object: "Object", feel_type_string: "String", feel_type_time: "Time", feel_type_time_hint: "Write a time as {{example}}. The time zone after @ is optional.", feel_type_year_month_duration: "Year and month duration", feel_type_year_month_duration_meaning: "2 years, 6 months", 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_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", result_type: "Returns {{type}}", result_type_context_one: "Context · {{count}} field", result_type_context_other: "Context · {{count}} fields", result_type_list: "List of {{type}}", rule_moved: "Rule moved from position {{from}} to {{to}}", rule_number_aria: "Rule {{index}}", rule_properties_title: "Rule properties", 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_banner_list_items_one: "[{{count}} item]", tests_banner_list_items_other: "[{{count}} items]", tests_col_name: "Test name", tests_col_result: "Result", tests_column_field_of_single_value: `This column reads a property of "{{name}}", which holds a single value, so it takes no test value. Enter "{{name}}" itself in the test's properties.`, tests_column_list_bound: `This column reads a field of every item in a list, so it takes no test value. Enter the whole list "{{name}}" in the test's properties.`, 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_field_root_not_object: `"{{name}}" holds a value that isn't a JSON object, so its fields can't be filled here. Fix the value in the test's properties.`, tests_list_value_invalid: "Enter a JSON array of the item type, such as {{example}}", 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_object_value_invalid: "Enter a JSON object, such as {{example}}", tests_passing: "{{passing}}/{{total}} passing", tests_paste_skipped_not_object_one: "{{count}} cell was left as it is: its argument holds a value that isn't a JSON object.", tests_paste_skipped_not_object_other: "{{count}} cells were left as they are: their argument holds a value that isn't a JSON object.", 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_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_allowed_value_unquoted: "Quote {{name}} to use it as text", validation_boolean_column_value: "{{value}} is not allowed in a boolean column — use true, false or null", 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_column_type_mismatch_duration: '"{{name}}" is a string. Use duration({{name}}) to read it in this duration 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_single_quote: `FEEL strings use double quotes. Write "text" instead of 'text'.`, validation_feel_syntax: "{{message}}", validation_field_of_list_item: `Each item of "{{parent}}" is a single {{type}} value, so it has no field "{{name}}". Change the expression, or make the list's items Objects.`, validation_field_of_single_value: '"{{parent}}" holds a single {{type}} value, so it has no field "{{name}}". Change the expression, or make "{{parent}}" an Object.', validation_input_data_name_invalid: '"{{name}}" is not a valid input name', validation_input_data_name_missing: "This input has no 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_item_component_duplicate_name: '"{{type}}" has more than one field named "{{field}}". Rename one of them.', validation_item_component_empty: '"{{field}}" in "{{type}}" has no fields or item type yet, so it accepts any value. Add a field or choose a type.', validation_item_component_name_invalid: '"{{field}}" in "{{type}}" is not a valid field name. Rename it to a valid FEEL name.', validation_item_definition_cycle: '"{{type}}" is defined in terms of itself. Point it at a built-in type or a type with fields.', validation_item_definition_duplicate_name: '"{{type}}" names more than one type. Rename one of them.', validation_item_definition_empty: '"{{type}}" has no fields or item type yet, so it accepts any value. Add a field or choose a type.', validation_item_definition_simple_and_structured: '"{{type}}" has both a base type and fields. Keep one of them.', 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_missing_requirement: `"{{name}}" is used here, but the file doesn't link it as an input. Change anything in the rule to add the link`, 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_range_endpoint_types: "Both ends of a range must be the same type", validation_range_not_ordered: "A {{columnType}} column has no order, so it cannot be given a range", 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_result_name_referenced: '"{{name}}" is a result of this decision, not an input — it cannot be referenced here', 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_member: '"{{name}}" is not a field of "{{parent}}". Check the spelling, or add the field to its 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", validation_value_not_valid_for_type: "{{value}} is not a valid {{columnType}}", 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." };
|
|
9
|
+
|
|
10
|
+
// ../../node_modules/@uipath/dmn-editor-utils/dist/diagnostics/index.js
|
|
11
|
+
var s = Object.assign(Object.create(null), e);
|
|
12
|
+
var l = (t, n = {}) => {
|
|
13
|
+
let { count: r } = n;
|
|
14
|
+
return ((typeof r == "number" ? s[`${t}_${r === 1 ? "one" : "other"}`] : undefined) ?? s[t] ?? t).replace(/\{\{\s*(\w+)\s*\}\}/g, (c, o) => Object.prototype.hasOwnProperty.call(n, o) ? String(n[o]) : c);
|
|
15
|
+
};
|
|
16
|
+
var u = (t) => l(t.messageKey, m(t, l));
|
|
17
|
+
export {
|
|
18
|
+
u as translateDmnDiagnostic
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
//# debugId=2EA7CB3274FA5B3764756E2164756E21
|
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
import {
|
|
2
|
+
v4_default
|
|
3
|
+
} from "./tool-qgqscsjc.js";
|
|
4
|
+
import {
|
|
5
|
+
A,
|
|
6
|
+
I,
|
|
7
|
+
J,
|
|
8
|
+
m
|
|
9
|
+
} from "./tool-z1ay3csx.js";
|
|
10
|
+
import"./tool-jd313s2x.js";
|
|
11
|
+
import"./tool-7haj67tr.js";
|
|
12
|
+
import {
|
|
13
|
+
__require
|
|
14
|
+
} from "./tool-1de529jm.js";
|
|
15
|
+
|
|
16
|
+
// ../../node_modules/@uipath/dmn-editor-utils/dist/entry-points/index.js
|
|
17
|
+
function ne(e) {
|
|
18
|
+
switch (e.toLowerCase()) {
|
|
19
|
+
case "boolean":
|
|
20
|
+
return "boolean";
|
|
21
|
+
case "number":
|
|
22
|
+
case "integer":
|
|
23
|
+
case "long":
|
|
24
|
+
case "double":
|
|
25
|
+
case "decimal":
|
|
26
|
+
return "number";
|
|
27
|
+
case "date":
|
|
28
|
+
return "date";
|
|
29
|
+
case "time":
|
|
30
|
+
return "time";
|
|
31
|
+
case "date and time":
|
|
32
|
+
case "datetime":
|
|
33
|
+
return "datetime";
|
|
34
|
+
case "array":
|
|
35
|
+
return "array";
|
|
36
|
+
case "any":
|
|
37
|
+
case "object":
|
|
38
|
+
return "object";
|
|
39
|
+
default:
|
|
40
|
+
return "string";
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
var te = { date: { type: "string", format: "date" }, datetime: { type: "string", format: "date-time" }, time: { type: "string", format: "time" } };
|
|
44
|
+
var $ = (e) => te[e] ?? (e === "array" ? { type: "array", items: {} } : { type: e });
|
|
45
|
+
var L = (e) => e._jsonSchema ?? $(e.type);
|
|
46
|
+
var Y = (e) => {
|
|
47
|
+
let n = e.type === "array" ? e.items?.type : undefined;
|
|
48
|
+
return { _jsonSchema: e, ...typeof n == "string" ? { subType: n } : {} };
|
|
49
|
+
};
|
|
50
|
+
var I2 = "x-uipath-decision-keyed";
|
|
51
|
+
var H = "x-uipath-rows";
|
|
52
|
+
var se = (e) => Object.entries(e.items?.properties ?? {}).map(([n, t]) => [n, { type: "array", items: t }]);
|
|
53
|
+
var re = (e) => {
|
|
54
|
+
try {
|
|
55
|
+
return JSON.parse(e);
|
|
56
|
+
} catch {
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
var J2 = (e) => {
|
|
61
|
+
let n = typeof e == "string" ? re(e) : e;
|
|
62
|
+
if (!(!n || typeof n != "object" || n[I2] !== true))
|
|
63
|
+
return Object.keys(n.properties ?? {}).length > 0 ? n : undefined;
|
|
64
|
+
};
|
|
65
|
+
var ie = (e) => {
|
|
66
|
+
let n = J2(e);
|
|
67
|
+
if (!n)
|
|
68
|
+
return e;
|
|
69
|
+
let t = {};
|
|
70
|
+
for (let p of Object.values(n.properties ?? {}))
|
|
71
|
+
for (let [o, c] of Object.entries(p.properties ?? {})) {
|
|
72
|
+
let d = c[H] === true ? se(c) : [];
|
|
73
|
+
for (let [l, g] of d.length ? d : [[o, c]])
|
|
74
|
+
t[l] ??= g;
|
|
75
|
+
}
|
|
76
|
+
let { definitions: r, $defs: u } = n;
|
|
77
|
+
return { type: "object", properties: t, ...r ? { definitions: r } : {}, ...u ? { $defs: u } : {} };
|
|
78
|
+
};
|
|
79
|
+
var oe = { "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." };
|
|
80
|
+
var N = class extends Error {
|
|
81
|
+
constructor(t) {
|
|
82
|
+
super(oe[t] ?? "The rule could not be read.");
|
|
83
|
+
this.reason = t;
|
|
84
|
+
this.name = "UnreadableDmnError";
|
|
85
|
+
}
|
|
86
|
+
};
|
|
87
|
+
var W = (e) => e.__$$element === "decision";
|
|
88
|
+
var ae = (e) => e.__$$element === "inputData";
|
|
89
|
+
var A2 = (e) => e.expression?.__$$element === "decisionTable" ? e.expression : undefined;
|
|
90
|
+
var k = (e) => e.expression?.__$$element === "literalExpression" ? e.expression : undefined;
|
|
91
|
+
var C = (e) => !!A2(e) || !!k(e);
|
|
92
|
+
var ue = (e, n, t, r) => ({ name: t, displayName: e["@_label"] || t, ...r.argumentType(...ce(e, n), true), source: `=result.${t}` });
|
|
93
|
+
var ce = (e, n) => n["@_typeRef"] === undefined ? [e.variable?.["@_typeRef"], [e.variable, e]] : [n["@_typeRef"], [n, e]];
|
|
94
|
+
var le = (e, n, t) => ({ name: n, displayName: e["@_name"] || e.variable?.["@_name"] || "", ...t.argumentType(e.variable?.["@_typeRef"], [e.variable, e], false), required: true });
|
|
95
|
+
async function G(e) {
|
|
96
|
+
let [{ importDmnDocument: n }, { outputArgumentName: t, resolvedIdentifier: r }, { aggregateTypeRef: u, isCollectAggregation: p, LIST_HIT_POLICIES: o }, { DmnHitPolicy: c }] = await Promise.all([import("./KieDmnMarshaller-LGE63WDG-3vemswef.js"), import("./DmnFactory-L7MABUC6-98k17dkr.js"), import("./hitPolicyResult-CGCR73CW-9bmc4nsr.js"), import("./DmnModelTypes-ATR7FVKZ-jp35cecy.js")]), d = await n(e);
|
|
97
|
+
if (d.status === "error")
|
|
98
|
+
throw new N(d.reason);
|
|
99
|
+
let l = d.document.definitions, g = l.drgElement ?? [], R = g.filter(W), O = g.filter(ae), _ = (s) => r(s.variable?.["@_name"], s["@_name"]), T = pe(l), j = (s) => !s["@_aggregation"] && o.has(s["@_hitPolicy"] ?? c.Unique), P = (s, a, m2) => {
|
|
100
|
+
let f = m2["@_typeRef"] === undefined && a.output?.length === 1 && !j(a) ? s.variable?.["@_typeRef"] : undefined, y = f ?? m2["@_typeRef"], S = f === undefined ? [m2, a, s] : [s.variable, s], w = a["@_aggregation"];
|
|
101
|
+
return a["@_hitPolicy"] === c.Collect && p(w) ? [u(w, { typeRef: y }) ?? "Any", S] : [y, S];
|
|
102
|
+
}, B = (s, a, m2, f) => {
|
|
103
|
+
let y = t({ id: m2["@_id"] ?? "", name: m2["@_name"], label: m2["@_label"] }, f);
|
|
104
|
+
return { name: y, displayName: m2["@_label"] || y, ...T.argumentType(...P(s, a, m2), true), source: `=result.${y}` };
|
|
105
|
+
}, i = (s) => s.map((a) => ({ ...a, type: "jsonSchema", ...Y({ type: "array", items: L(a) }) })), D = (s) => {
|
|
106
|
+
let a = k(s);
|
|
107
|
+
if (a)
|
|
108
|
+
return [ue(s, a, _(s), T)];
|
|
109
|
+
let m2 = A2(s);
|
|
110
|
+
if (!m2)
|
|
111
|
+
return [];
|
|
112
|
+
let f = (m2.output ?? []).map((S, w) => B(s, m2, S, w)), y = s["@_name"];
|
|
113
|
+
return f.length !== 1 || m2.output?.[0]?.["@_name"]?.trim() || !y ? f : [{ ...f[0], name: y, displayName: m2.output?.[0]?.["@_label"] || y, source: `=result.${y}` }];
|
|
114
|
+
}, E = (s) => {
|
|
115
|
+
let a = A2(s);
|
|
116
|
+
return a && j(a) ? i(D(s)) : D(s);
|
|
117
|
+
}, h = (s = () => true) => O.filter(s).map((a) => le(a, _(a), T)), b = (s) => {
|
|
118
|
+
let a = s["@_name"] ?? "", m2 = A2(s), f = D(s), y = !!m2 && j(m2), S = (ee) => Object.fromEntries(ee.map((M) => [M.name, L(M)])), w = y && f.length > 1 ? { [a]: { type: "array", items: { type: "object", properties: S(f) }, [H]: true } } : S(y ? i(f) : f);
|
|
119
|
+
return { name: a, displayName: a, type: "jsonSchema", source: `=result.${a}`, _jsonSchema: { type: "object", properties: w } };
|
|
120
|
+
}, x = R.every((s) => !C(s) || !!s["@_name"]?.trim());
|
|
121
|
+
return { definitions: l, decisions: R, declared: O, identifierOf: _, inputsFor: h, outputsOf: E, toKeyedOutput: b, keyable: x };
|
|
122
|
+
}
|
|
123
|
+
async function me(e, n = false) {
|
|
124
|
+
let { decisions: t, inputsFor: r, outputsOf: u, toKeyedOutput: p, keyable: o } = await G(e), c = t.filter(C), d = n && o && c.length > 0, l = d ? c.map(p) : c.flatMap(u).filter((g, R, O) => O.findIndex((_) => _.name === g.name) === R);
|
|
125
|
+
return { inputs: r(), outputs: l, ...d ? { decisionKeyed: true } : {} };
|
|
126
|
+
}
|
|
127
|
+
var X = (e) => ne(e.foreign ? "Any" : e.baseTypeRef ?? "");
|
|
128
|
+
var z = (e) => {
|
|
129
|
+
let n = e.recursive ? {} : e.components ? { type: "object", properties: Object.fromEntries(e.components.map((t) => [t.name, z(t.type)])) } : $(X(e));
|
|
130
|
+
return e.chain.filter((t) => t.isCollection).reduce((t) => ({ type: "array", items: t }), n);
|
|
131
|
+
};
|
|
132
|
+
function pe(e) {
|
|
133
|
+
let n = { itemDefinitions: A(e), namespace: e["@_namespace"], namespaces: m(e) }, t = (r, u) => J(n, r, I(u));
|
|
134
|
+
return { argumentType: (r, u, p) => {
|
|
135
|
+
let o = t(r, u);
|
|
136
|
+
if (!o.components && !o.isCollection)
|
|
137
|
+
return { type: X(o) };
|
|
138
|
+
let c = z(o);
|
|
139
|
+
return { type: p ? "jsonSchema" : c.type === "array" ? "array" : "object", ...Y(c) };
|
|
140
|
+
} };
|
|
141
|
+
}
|
|
142
|
+
var Q = (e) => e?.startsWith("#") ? e.slice(1) : e || undefined;
|
|
143
|
+
var de = (e, n) => new RegExp(`(^|[^\\w.$])${n.replace(/[.*+?^${}()|[\]\\]/g, "\\$&")}([^\\w$]|$)`).test(e);
|
|
144
|
+
function ye(e, n) {
|
|
145
|
+
let t = new Set([e]), r = [e];
|
|
146
|
+
for (;r.length > 0; ) {
|
|
147
|
+
let u = n.get(r.shift() ?? "");
|
|
148
|
+
if (!u)
|
|
149
|
+
continue;
|
|
150
|
+
let p = [...(u.informationRequirement ?? []).flatMap((o) => [o.requiredInput?.["@_href"], o.requiredDecision?.["@_href"]]), ...(u.knowledgeRequirement ?? []).map((o) => o.requiredKnowledge?.["@_href"])];
|
|
151
|
+
for (let o of p) {
|
|
152
|
+
let c = Q(o);
|
|
153
|
+
!c || t.has(c) || (t.add(c), r.push(c));
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
return t;
|
|
157
|
+
}
|
|
158
|
+
async function v(e, n = false) {
|
|
159
|
+
let { definitions: t, decisions: r, declared: u, identifierOf: p, inputsFor: o, outputsOf: c, toKeyedOutput: d, keyable: l } = await G(e), g = n && l, R = new Map([...r, ...u].flatMap((i) => i["@_id"] ? [[i["@_id"], i]] : [])), O = new Set(r.flatMap((i) => (i.informationRequirement ?? []).flatMap((D) => {
|
|
160
|
+
let E = Q(D.requiredDecision?.["@_href"]);
|
|
161
|
+
return E ? [E] : [];
|
|
162
|
+
}))), _ = [...r.filter((i) => !O.has(i["@_id"] ?? "")), ...r.filter((i) => O.has(i["@_id"] ?? ""))], T = _.map((i) => {
|
|
163
|
+
let D = ye(i["@_id"] ?? "", R), E = [...D].flatMap((h) => {
|
|
164
|
+
let b = R.get(h);
|
|
165
|
+
if (!b || !W(b))
|
|
166
|
+
return [];
|
|
167
|
+
let x = k(b);
|
|
168
|
+
return x ? [x.text?.__$$text ?? ""] : (A2(b)?.input ?? []).map((s) => s.inputExpression?.text?.__$$text ?? "");
|
|
169
|
+
});
|
|
170
|
+
return (h) => {
|
|
171
|
+
if (D.has(h["@_id"] ?? ""))
|
|
172
|
+
return true;
|
|
173
|
+
let b = p(h);
|
|
174
|
+
return !!b && E.some((x) => de(x, b));
|
|
175
|
+
};
|
|
176
|
+
}), j = new Set(u.filter((i) => T.some((D) => D(i)))), P = _.flatMap((i, D) => {
|
|
177
|
+
if (!C(i))
|
|
178
|
+
return [];
|
|
179
|
+
let E = (h) => T[D](h) || !j.has(h);
|
|
180
|
+
return [{ id: i["@_id"] ?? "", name: i["@_label"] ?? i["@_name"] ?? "", inputs: o(E), outputs: g ? [d(i)] : c(i), ...g ? { decisionKeyed: true } : {} }];
|
|
181
|
+
});
|
|
182
|
+
return !g || P.length < 2 ? P : [{ name: t["@_label"] ?? t["@_name"] ?? "", inputs: o(), outputs: P.flatMap((i) => i.outputs), decisionKeyed: true }, ...P];
|
|
183
|
+
}
|
|
184
|
+
var fe = JSON.stringify({ version: "2.0", resources: [] }, null, 2);
|
|
185
|
+
var De = (e, n) => {
|
|
186
|
+
if (e._jsonSchema) {
|
|
187
|
+
let { $schema: t, ...r } = e._jsonSchema;
|
|
188
|
+
return n ? r : { ...r, title: e.name };
|
|
189
|
+
}
|
|
190
|
+
return e.type === "jsonSchema" ? {} : { ...$(e.type), title: e.name };
|
|
191
|
+
};
|
|
192
|
+
var V = (e, n = false) => e.length === 0 ? { type: "object", properties: {} } : { type: "object", properties: Object.fromEntries(e.map((t) => [t.name, De(t, n)])), required: [] };
|
|
193
|
+
var Z = (e) => typeof e == "string" && e !== "";
|
|
194
|
+
var he = (e) => {
|
|
195
|
+
let n = Array.isArray(e?.entryPoints) ? e.entryPoints : [], t = new Map;
|
|
196
|
+
for (let r of n)
|
|
197
|
+
Z(r?.filePath) && Z(r.uniqueId) && t.set(r.filePath, r.uniqueId);
|
|
198
|
+
return t;
|
|
199
|
+
};
|
|
200
|
+
async function be(e, n, t = false) {
|
|
201
|
+
let r = he(n), u = [], p = [];
|
|
202
|
+
for (let { name: o, contents: c } of e) {
|
|
203
|
+
let d;
|
|
204
|
+
try {
|
|
205
|
+
d = await v(c, t);
|
|
206
|
+
} catch (l) {
|
|
207
|
+
p.push({ name: o, error: l });
|
|
208
|
+
continue;
|
|
209
|
+
}
|
|
210
|
+
for (let l of d) {
|
|
211
|
+
let g = l.id ? `/${o}#${l.id}` : `/${o}`;
|
|
212
|
+
u.push({ filePath: g, uniqueId: r.get(g) ?? v4_default(), type: "BusinessRules", ...l.name ? { displayName: l.name } : {}, input: V(l.inputs), output: { ...V(l.outputs, !!l.decisionKeyed), ...l.decisionKeyed ? { [I2]: true } : {} } });
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
return { entryPoints: u, entryPointsContent: JSON.stringify({ $schema: "https://cloud.uipath.com/draft/2024-12/entry-point", $id: "entry-points.json", entryPoints: u }, null, 2), bindingContent: fe, unreadable: p, entryPointsChanged: JSON.stringify(n?.entryPoints) !== JSON.stringify(u) };
|
|
216
|
+
}
|
|
217
|
+
export {
|
|
218
|
+
I2 as DECISION_KEYED_SCHEMA_KEY,
|
|
219
|
+
N as UnreadableDmnError,
|
|
220
|
+
J2 as asDecisionKeyedSchema,
|
|
221
|
+
be as buildBusinessRulePackagingFiles,
|
|
222
|
+
ie as flatOutputSchema,
|
|
223
|
+
me as readDmnArguments,
|
|
224
|
+
v as readDmnCallableUnits
|
|
225
|
+
};
|
|
226
|
+
|
|
227
|
+
//# debugId=482C4346B02DE8D264756E2164756E21
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import {
|
|
2
|
+
CatalogLookupError,
|
|
2
3
|
EntryPointSpecEnhancer,
|
|
3
4
|
MAX_RESOURCE_NAME_LENGTH,
|
|
4
5
|
ProjectManifestError,
|
|
@@ -11,7 +12,9 @@ import {
|
|
|
11
12
|
createProjectInSolutionBuilder,
|
|
12
13
|
createResourceBuilderServices,
|
|
13
14
|
createResourceKindMetadataResolver,
|
|
15
|
+
exportResourceConfigurationsAsync,
|
|
14
16
|
exportResourceDefinitionAsync,
|
|
17
|
+
findCatalogEntitiesAsync,
|
|
15
18
|
findCatalogEntityAsync,
|
|
16
19
|
findMatchingLocalResource,
|
|
17
20
|
findMatchingMemberResource,
|
|
@@ -19,21 +22,26 @@ import {
|
|
|
19
22
|
findProjectFile,
|
|
20
23
|
findResourceByKeyInRcs,
|
|
21
24
|
findResourceInRcs,
|
|
25
|
+
findResourcesByNameAsync,
|
|
22
26
|
formatResourceSubtypes,
|
|
23
27
|
getRemoteResourceClients,
|
|
24
28
|
hasAnyTemplateRow,
|
|
25
29
|
hasBareTemplateRow,
|
|
26
30
|
isMissingProjectTypeError,
|
|
27
31
|
isProjectManifestError,
|
|
32
|
+
isResourceKeyNotFound,
|
|
28
33
|
normalizeFolderPath,
|
|
29
34
|
normalizeResourceCasing,
|
|
30
35
|
normalizeResourceFileCasing,
|
|
31
36
|
readProjectFile,
|
|
37
|
+
readResourceConfigurationAsync,
|
|
38
|
+
readResourceConfigurationsAsync,
|
|
32
39
|
readSolutionFile,
|
|
33
40
|
readSolutionManifest,
|
|
34
41
|
readSpecEntryPoints,
|
|
35
42
|
readSpecProperty,
|
|
36
43
|
readUipxProjects,
|
|
44
|
+
refreshArtefactSpecsAsync,
|
|
37
45
|
resolveProjectDirFromManifest,
|
|
38
46
|
resolveResourceKindMetadata,
|
|
39
47
|
resolveSolutionFilePath,
|
|
@@ -51,14 +59,15 @@ import {
|
|
|
51
59
|
uniqueNameForResource,
|
|
52
60
|
validateResourceName,
|
|
53
61
|
writeSolutionFile
|
|
54
|
-
} from "./tool-
|
|
62
|
+
} from "./tool-fbxe48wd.js";
|
|
55
63
|
import"./tool-gdtpsdn7.js";
|
|
56
64
|
import"./tool-53w8skv5.js";
|
|
57
|
-
import"./tool-
|
|
58
|
-
import"./tool-
|
|
59
|
-
import"./tool-
|
|
65
|
+
import"./tool-1pccj6q3.js";
|
|
66
|
+
import"./tool-txp5th7j.js";
|
|
67
|
+
import"./tool-wf2qkrye.js";
|
|
60
68
|
import"./tool-1de529jm.js";
|
|
61
69
|
export {
|
|
70
|
+
CatalogLookupError,
|
|
62
71
|
EntryPointSpecEnhancer,
|
|
63
72
|
MAX_RESOURCE_NAME_LENGTH,
|
|
64
73
|
ProjectManifestError,
|
|
@@ -71,7 +80,9 @@ export {
|
|
|
71
80
|
createProjectInSolutionBuilder,
|
|
72
81
|
createResourceBuilderServices,
|
|
73
82
|
createResourceKindMetadataResolver,
|
|
83
|
+
exportResourceConfigurationsAsync,
|
|
74
84
|
exportResourceDefinitionAsync,
|
|
85
|
+
findCatalogEntitiesAsync,
|
|
75
86
|
findCatalogEntityAsync,
|
|
76
87
|
findMatchingLocalResource,
|
|
77
88
|
findMatchingMemberResource,
|
|
@@ -79,21 +90,26 @@ export {
|
|
|
79
90
|
findProjectFile,
|
|
80
91
|
findResourceByKeyInRcs,
|
|
81
92
|
findResourceInRcs,
|
|
93
|
+
findResourcesByNameAsync,
|
|
82
94
|
formatResourceSubtypes,
|
|
83
95
|
getRemoteResourceClients,
|
|
84
96
|
hasAnyTemplateRow,
|
|
85
97
|
hasBareTemplateRow,
|
|
86
98
|
isMissingProjectTypeError,
|
|
87
99
|
isProjectManifestError,
|
|
100
|
+
isResourceKeyNotFound,
|
|
88
101
|
normalizeFolderPath,
|
|
89
102
|
normalizeResourceCasing,
|
|
90
103
|
normalizeResourceFileCasing,
|
|
91
104
|
readProjectFile,
|
|
105
|
+
readResourceConfigurationAsync,
|
|
106
|
+
readResourceConfigurationsAsync,
|
|
92
107
|
readSolutionFile,
|
|
93
108
|
readSolutionManifest,
|
|
94
109
|
readSpecEntryPoints,
|
|
95
110
|
readSpecProperty,
|
|
96
111
|
readUipxProjects,
|
|
112
|
+
refreshArtefactSpecsAsync,
|
|
97
113
|
resolveProjectDirFromManifest,
|
|
98
114
|
resolveResourceKindMetadata,
|
|
99
115
|
resolveSolutionFilePath,
|
|
@@ -113,4 +129,4 @@ export {
|
|
|
113
129
|
writeSolutionFile
|
|
114
130
|
};
|
|
115
131
|
|
|
116
|
-
//# debugId=
|
|
132
|
+
//# debugId=C74DDEE2296204B964756E2164756E21
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import"./tool-tjcg2xje.js";
|
|
2
|
+
import {
|
|
3
|
+
$,
|
|
4
|
+
At,
|
|
5
|
+
Bi,
|
|
6
|
+
Tn,
|
|
7
|
+
g,
|
|
8
|
+
w,
|
|
9
|
+
zt
|
|
10
|
+
} from "./tool-fk8rznma.js";
|
|
11
|
+
import {
|
|
12
|
+
Rs,
|
|
13
|
+
bs,
|
|
14
|
+
hs
|
|
15
|
+
} from "./tool-h7gn1rar.js";
|
|
16
|
+
import {
|
|
17
|
+
E,
|
|
18
|
+
ee,
|
|
19
|
+
ne
|
|
20
|
+
} from "./tool-yq5jph4h.js";
|
|
21
|
+
import"./tool-86f1xpxn.js";
|
|
22
|
+
import"./tool-qgqscsjc.js";
|
|
23
|
+
import {
|
|
24
|
+
J,
|
|
25
|
+
X
|
|
26
|
+
} from "./tool-z1ay3csx.js";
|
|
27
|
+
import"./tool-jd313s2x.js";
|
|
28
|
+
import"./tool-7haj67tr.js";
|
|
29
|
+
import"./tool-1de529jm.js";
|
|
30
|
+
|
|
31
|
+
// ../../node_modules/@uipath/dmn-editor-utils/dist/parser/index.js
|
|
32
|
+
var A = (e, t) => E(e.decision.decisionTable).has(t);
|
|
33
|
+
var w2 = "-";
|
|
34
|
+
var k = (e, t) => {
|
|
35
|
+
if (t.kind === "input") {
|
|
36
|
+
let s = e.inputs[t.index];
|
|
37
|
+
return s ? !!s.expressionText.trim() || !!s.allowedValues || e.rules.some((i) => ![undefined, "", w2].includes(i.inputEntries[t.index]?.text.trim())) : false;
|
|
38
|
+
}
|
|
39
|
+
let u = e.outputs[t.index];
|
|
40
|
+
return u ? !!u.allowedValues || e.rules.some((s) => !!s.outputEntries[t.index]?.text.trim()) : false;
|
|
41
|
+
};
|
|
42
|
+
var O = (e) => (e.definitions.drgElement ?? []).filter((t) => t.__$$element === "inputData").length;
|
|
43
|
+
var p = (e) => w(e.definitions).length;
|
|
44
|
+
function v(e) {
|
|
45
|
+
let t = new Map(w(e.definitions).map((n) => [g(n), n])), u = new Map, s = (n, i) => {
|
|
46
|
+
let d = u.get(n);
|
|
47
|
+
if (d !== undefined)
|
|
48
|
+
return d;
|
|
49
|
+
let l = t.get(n);
|
|
50
|
+
if (!l || i.has(n))
|
|
51
|
+
return 0;
|
|
52
|
+
i.add(n);
|
|
53
|
+
let T = (l.informationRequirement ?? []).map((r) => $(r.requiredDecision?.["@_href"])), a = 1 + Math.max(0, ...T.map((r) => r ? s(r, i) : 0));
|
|
54
|
+
return i.delete(n), u.set(n, a), a;
|
|
55
|
+
};
|
|
56
|
+
return Math.max(0, ...[...t.keys()].map((n) => s(n, new Set)));
|
|
57
|
+
}
|
|
58
|
+
function V(e) {
|
|
59
|
+
if (e.kind === "drd")
|
|
60
|
+
return { decisionCount: p(e.document), inputCount: O(e.document) };
|
|
61
|
+
if (e.kind !== "decision-table")
|
|
62
|
+
return;
|
|
63
|
+
let t = e.model.decision.decisionTable;
|
|
64
|
+
return { decisionCount: p(e.context.document) || 1, inputCount: t.inputs.length, outputCount: t.outputs.length, ruleCount: t.rules.length, hitPolicy: t.hitPolicy, aggregation: t.aggregation };
|
|
65
|
+
}
|
|
66
|
+
export {
|
|
67
|
+
hs as buildDmnDocument,
|
|
68
|
+
Bi as classifyDmnSupport,
|
|
69
|
+
p as decisionCountOf,
|
|
70
|
+
v as drdDepthOf,
|
|
71
|
+
bs as importDmnDocument,
|
|
72
|
+
ne as inputDataIdentifier,
|
|
73
|
+
A as isArgumentReferenced,
|
|
74
|
+
zt as isColumnListTypeRef,
|
|
75
|
+
k as isColumnPopulated,
|
|
76
|
+
Rs as moveExtensionTextToAttributes,
|
|
77
|
+
Tn as normalizeImportedIdentifiers,
|
|
78
|
+
ee as outputArgumentName,
|
|
79
|
+
At as parseDmnModel,
|
|
80
|
+
J as resolveItemType,
|
|
81
|
+
X as resolveTypeChain,
|
|
82
|
+
V as ruleShapeOf
|
|
83
|
+
};
|
|
84
|
+
|
|
85
|
+
//# debugId=93DBAD0EA41F0E5764756E2164756E21
|