@uipath/rules-tool 1.205.0-preview.276 → 1.206.0-preview.279

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/dist/DmnFactory-L7MABUC6-q2sr3grz.js +10 -0
  2. package/dist/DmnModelTypes-ATR7FVKZ-h8srwcxk.js +8 -0
  3. package/dist/KieDmnMarshaller-LGE63WDG-nfkpv8f4.js +8 -0
  4. package/dist/THIRD-PARTY-NOTICES.md +4 -4
  5. package/dist/business-rules-z2zw35qd.js +25 -0
  6. package/dist/{constants-cnn0jfw6.js → constants-1sdwfz26.js} +7 -15
  7. package/dist/{embedded-file-reader-z4becc02.js → embedded-file-reader-0228j82a.js} +1 -4
  8. package/dist/first-party-service-hegqxm82.js +8 -0
  9. package/dist/hitPolicyResult-CGCR73CW-jz89f1aa.js +12 -0
  10. package/dist/index-4a4x1ygg.js +24 -0
  11. package/dist/{index-52h8rpew.js → index-egzwtc07.js} +2 -4
  12. package/dist/{index-sby22td6.js → index-nzr4mx5p.js} +2 -22
  13. package/dist/index-xaxgkfez.js +23 -0
  14. package/dist/{tool-tjcg2xje.js → index-y5yffb2s.js} +3525 -236
  15. package/dist/index-z4kt2kt6.js +8 -0
  16. package/dist/{index-bhjt1h5c.js → index-zeszs1ra.js} +23 -66
  17. package/dist/index.js +8 -9
  18. package/dist/{jmespath-231m3hyn.js → jmespath-ab6tdc42.js} +1 -1
  19. package/dist/{js-yaml-88tdqrtd.js → js-yaml-a2bk27p6.js} +1 -3
  20. package/dist/rule-catalog-5qnmp0xp.js +71 -0
  21. package/dist/rules-command-error-30c8a3n9.js +13 -0
  22. package/dist/{rules-debug-service-sa1xtzr6.js → rules-debug-service-xc1cmwwh.js} +37 -38
  23. package/dist/{rules-init-service-z3ev90qz.js → rules-init-service-frjbgfcs.js} +12 -16
  24. package/dist/{rules-refresh-service-jn6my893.js → rules-refresh-service-18hrs394.js} +13 -14
  25. package/dist/{rules-validate-service-hfw8m3dm.js → rules-validate-service-s787ehrr.js} +10 -13
  26. package/dist/{tool-fk8rznma.js → tool-89e90qrm.js} +173 -223
  27. package/dist/{tool-fbxe48wd.js → tool-8cnhz30a.js} +13991 -15184
  28. package/dist/{tool-pg3h6jtk.js → tool-8sjyv0xg.js} +659 -14
  29. package/dist/{tool-h7gn1rar.js → tool-93hqhaj3.js} +402 -417
  30. package/dist/{tool-xc8qhcwx.js → tool-cf9810hm.js} +32 -34
  31. package/dist/{tool-wf2qkrye.js → tool-cs8nyk0r.js} +990 -514
  32. package/dist/{tool-txp5th7j.js → tool-e23cj2jx.js} +127 -42
  33. package/dist/{tool-1de529jm.js → tool-epsr41wx.js} +12 -3
  34. package/dist/{tool-gkbr01gc.js → tool-fkppxa9f.js} +14 -17
  35. package/dist/{tool-86f1xpxn.js → tool-m59a481n.js} +18 -20
  36. package/dist/tool-mst6a4dr.js +73 -0
  37. package/dist/{tool-t4k013ex.js → tool-njnhj05q.js} +8 -8
  38. package/dist/tool-p7hqn93n.js +455 -0
  39. package/dist/{tool-z1ay3csx.js → tool-sbtf80ft.js} +66 -24
  40. package/dist/{tool-yq5jph4h.js → tool-vqm4apm6.js} +207 -216
  41. package/dist/tool.js +7 -8
  42. package/package.json +2 -2
  43. package/dist/DmnFactory-L7MABUC6-98k17dkr.js +0 -46
  44. package/dist/DmnModelTypes-ATR7FVKZ-jp35cecy.js +0 -18
  45. package/dist/KieDmnMarshaller-LGE63WDG-3vemswef.js +0 -20
  46. package/dist/business-rules-pm96sefm.js +0 -26
  47. package/dist/first-party-service-sd8yaf73.js +0 -27
  48. package/dist/hitPolicyResult-CGCR73CW-9bmc4nsr.js +0 -36
  49. package/dist/index-cpm94vee.js +0 -132
  50. package/dist/index-dqa169gp.js +0 -25
  51. package/dist/index-x9msn1dj.js +0 -85
  52. package/dist/index-ybrgtfsg.js +0 -3326
  53. package/dist/rule-catalog-10fhgevc.js +0 -74
  54. package/dist/rules-command-error-k6kxwfn7.js +0 -14
  55. package/dist/tool-1pccj6q3.js +0 -1116
  56. package/dist/tool-53w8skv5.js +0 -262
  57. package/dist/tool-7haj67tr.js +0 -19
  58. package/dist/tool-fbmxx07c.js +0 -73
  59. package/dist/tool-gdtpsdn7.js +0 -342
  60. package/dist/tool-jd313s2x.js +0 -10
  61. package/dist/tool-qgqscsjc.js +0 -46
  62. /package/dist/{tool-cfrcyxgm.js → tool-2nmqvfmt.js} +0 -0
package/dist/tool.js CHANGED
@@ -1,12 +1,11 @@
1
1
  import {
2
- metadata,
3
- registerCommands
4
- } from "./tool-xc8qhcwx.js";
5
- import"./tool-wf2qkrye.js";
6
- import"./tool-1de529jm.js";
2
+ metadata2,
3
+ registerCommands2
4
+ } from "./tool-cf9810hm.js";
5
+ import"./tool-cs8nyk0r.js";
7
6
  export {
8
- metadata,
9
- registerCommands
7
+ metadata2 as metadata,
8
+ registerCommands2 as registerCommands
10
9
  };
11
10
 
12
- //# debugId=6CE61C21DAD27F3464756E2164756E21
11
+ //# debugId=70F1AD7F6A314C7564756E2164756E21
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@uipath/rules-tool",
3
3
  "author": "UiPath",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
- "version": "1.205.0-preview.276",
5
+ "version": "1.206.0-preview.279",
6
6
  "description": "Create and manage UiPath Business Rules (DMN) projects.",
7
7
  "private": false,
8
8
  "repository": {
@@ -27,5 +27,5 @@
27
27
  "files": [
28
28
  "dist"
29
29
  ],
30
- "gitHead": "9c262c3cc03e56190185733888dca266bbb01ba6"
30
+ "gitHead": "d2176feff38d4e91a9d84723af847b2dfd5c6008"
31
31
  }
@@ -1,46 +0,0 @@
1
- import {
2
- Ce,
3
- Ie,
4
- J,
5
- K,
6
- Me,
7
- Pe,
8
- Re,
9
- W,
10
- X,
11
- Y,
12
- Z,
13
- _e,
14
- ee,
15
- j,
16
- ne,
17
- re,
18
- te,
19
- z
20
- } from "./tool-yq5jph4h.js";
21
- import"./tool-qgqscsjc.js";
22
- import"./tool-jd313s2x.js";
23
- import"./tool-7haj67tr.js";
24
- import"./tool-1de529jm.js";
25
- export {
26
- j as DEFAULT_ANNOTATION_CLAUSE_NAME,
27
- W as DEFAULT_DECISION_NAME,
28
- X as EMPTY_OUTPUT_TEXT,
29
- Pe as FEEL_NAME_CHAR,
30
- z as MAESTRO_EXPORTER,
31
- K as createBusinessRuleIdentity,
32
- Y as createNewBusinessRuleModel,
33
- Ie as createSeededBusinessRuleModel,
34
- Me as expressionRoot,
35
- ne as inputDataIdentifier,
36
- Re as isEmptyOutputText,
37
- J as isFeelIdentifier,
38
- _e as normalizeIdentifierPath,
39
- ee as outputArgumentName,
40
- Z as outputNameFromLabel,
41
- re as reconcileInputData,
42
- te as resolvedIdentifier,
43
- Ce as resultIsKeyedByClause
44
- };
45
-
46
- //# debugId=3589D3858F0082AD64756E2164756E21
@@ -1,18 +0,0 @@
1
- import {
2
- e,
3
- i,
4
- n,
5
- r,
6
- t
7
- } from "./tool-jd313s2x.js";
8
- import"./tool-7haj67tr.js";
9
- import"./tool-1de529jm.js";
10
- export {
11
- i as DMN_COLLECT_AGGREGATIONS,
12
- t as DMN_HIT_POLICIES,
13
- n as DmnCollectAggregation,
14
- e as DmnHitPolicy,
15
- r as FEEL_TYPE_OPTIONS
16
- };
17
-
18
- //# debugId=C0201CCC883B1AF064756E2164756E21
@@ -1,20 +0,0 @@
1
- import {
2
- Ft,
3
- Is,
4
- Ot,
5
- Rs,
6
- bs,
7
- hs
8
- } from "./tool-h7gn1rar.js";
9
- import"./tool-7haj67tr.js";
10
- import"./tool-1de529jm.js";
11
- export {
12
- hs as buildDmnDocument,
13
- bs as importDmnDocument,
14
- Ft as inspectDmnDocument,
15
- Rs as moveExtensionTextToAttributes,
16
- Ot as parseDmnDocument,
17
- Is as refusalToWriteBack
18
- };
19
-
20
- //# debugId=ABE94C41DA81468D64756E2164756E21
@@ -1,26 +0,0 @@
1
- import {
2
- assertOneFolderOption,
3
- createRulesApi,
4
- findRuleByName,
5
- formatRule,
6
- formatRuleDetail,
7
- formatVersion,
8
- resolveRequiredFolder,
9
- ruleNotFound
10
- } from "./tool-fbmxx07c.js";
11
- import"./tool-txp5th7j.js";
12
- import"./tool-t4k013ex.js";
13
- import"./tool-wf2qkrye.js";
14
- import"./tool-1de529jm.js";
15
- export {
16
- assertOneFolderOption,
17
- createRulesApi,
18
- findRuleByName,
19
- formatRule,
20
- formatRuleDetail,
21
- formatVersion,
22
- resolveRequiredFolder,
23
- ruleNotFound
24
- };
25
-
26
- //# debugId=1D3B7C00ED79435864756E2164756E21
@@ -1,27 +0,0 @@
1
- import {
2
- FirstPartyServiceApi,
3
- HttpClient,
4
- first_party_service_ContentType,
5
- first_party_service_DeploymentAction,
6
- first_party_service_DeploymentResourceValidationAction,
7
- first_party_service_DeploymentResourceValidationErrorKind,
8
- first_party_service_DeploymentResourceValidationErrorLevel,
9
- first_party_service_QueryOptions,
10
- first_party_service_SolutionDeploymentAction,
11
- first_party_service_SolutionStatus
12
- } from "./tool-53w8skv5.js";
13
- import"./tool-1de529jm.js";
14
- export {
15
- first_party_service_ContentType as ContentType,
16
- first_party_service_DeploymentAction as DeploymentAction,
17
- first_party_service_DeploymentResourceValidationAction as DeploymentResourceValidationAction,
18
- first_party_service_DeploymentResourceValidationErrorKind as DeploymentResourceValidationErrorKind,
19
- first_party_service_DeploymentResourceValidationErrorLevel as DeploymentResourceValidationErrorLevel,
20
- FirstPartyServiceApi,
21
- HttpClient,
22
- first_party_service_QueryOptions as QueryOptions,
23
- first_party_service_SolutionDeploymentAction as SolutionDeploymentAction,
24
- first_party_service_SolutionStatus as SolutionStatus
25
- };
26
-
27
- //# debugId=10C4E50B625B238964756E2164756E21
@@ -1,36 +0,0 @@
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
@@ -1,132 +0,0 @@
1
- import {
2
- CatalogLookupError,
3
- EntryPointSpecEnhancer,
4
- MAX_RESOURCE_NAME_LENGTH,
5
- ProjectManifestError,
6
- addProjectArtifactsToSolutionAsync,
7
- applyEntryPointEnhancementAsync,
8
- assertSolutionManifest,
9
- assertValidResourceName,
10
- computeEntryPointSpec,
11
- createLocalResource,
12
- createProjectInSolutionBuilder,
13
- createResourceBuilderServices,
14
- createResourceKindMetadataResolver,
15
- exportResourceConfigurationsAsync,
16
- exportResourceDefinitionAsync,
17
- findCatalogEntitiesAsync,
18
- findCatalogEntityAsync,
19
- findMatchingLocalResource,
20
- findMatchingMemberResource,
21
- findMemberCloneResources,
22
- findProjectFile,
23
- findResourceByKeyInRcs,
24
- findResourceInRcs,
25
- findResourcesByNameAsync,
26
- formatResourceSubtypes,
27
- getRemoteResourceClients,
28
- hasAnyTemplateRow,
29
- hasBareTemplateRow,
30
- isMissingProjectTypeError,
31
- isProjectManifestError,
32
- isResourceKeyNotFound,
33
- normalizeFolderPath,
34
- normalizeResourceCasing,
35
- normalizeResourceFileCasing,
36
- readProjectFile,
37
- readResourceConfigurationAsync,
38
- readResourceConfigurationsAsync,
39
- readSolutionFile,
40
- readSolutionManifest,
41
- readSpecEntryPoints,
42
- readSpecProperty,
43
- readUipxProjects,
44
- refreshArtefactSpecsAsync,
45
- resolveProjectDirFromManifest,
46
- resolveResourceKindMetadata,
47
- resolveSolutionFilePath,
48
- resourceRefreshAsync,
49
- resourceRemoteSyncAsync,
50
- restoreSolutionFile,
51
- sameResourceSubtype,
52
- saveCasingNormalized,
53
- searchRcsResources,
54
- searchRcsResourcesStrict,
55
- syncAndLog,
56
- syncResourcesFromBindings,
57
- toCatalogReference,
58
- toResourceReference,
59
- uniqueNameForResource,
60
- validateResourceName,
61
- writeSolutionFile
62
- } from "./tool-fbxe48wd.js";
63
- import"./tool-gdtpsdn7.js";
64
- import"./tool-53w8skv5.js";
65
- import"./tool-1pccj6q3.js";
66
- import"./tool-txp5th7j.js";
67
- import"./tool-wf2qkrye.js";
68
- import"./tool-1de529jm.js";
69
- export {
70
- CatalogLookupError,
71
- EntryPointSpecEnhancer,
72
- MAX_RESOURCE_NAME_LENGTH,
73
- ProjectManifestError,
74
- addProjectArtifactsToSolutionAsync,
75
- applyEntryPointEnhancementAsync,
76
- assertSolutionManifest,
77
- assertValidResourceName,
78
- computeEntryPointSpec,
79
- createLocalResource,
80
- createProjectInSolutionBuilder,
81
- createResourceBuilderServices,
82
- createResourceKindMetadataResolver,
83
- exportResourceConfigurationsAsync,
84
- exportResourceDefinitionAsync,
85
- findCatalogEntitiesAsync,
86
- findCatalogEntityAsync,
87
- findMatchingLocalResource,
88
- findMatchingMemberResource,
89
- findMemberCloneResources,
90
- findProjectFile,
91
- findResourceByKeyInRcs,
92
- findResourceInRcs,
93
- findResourcesByNameAsync,
94
- formatResourceSubtypes,
95
- getRemoteResourceClients,
96
- hasAnyTemplateRow,
97
- hasBareTemplateRow,
98
- isMissingProjectTypeError,
99
- isProjectManifestError,
100
- isResourceKeyNotFound,
101
- normalizeFolderPath,
102
- normalizeResourceCasing,
103
- normalizeResourceFileCasing,
104
- readProjectFile,
105
- readResourceConfigurationAsync,
106
- readResourceConfigurationsAsync,
107
- readSolutionFile,
108
- readSolutionManifest,
109
- readSpecEntryPoints,
110
- readSpecProperty,
111
- readUipxProjects,
112
- refreshArtefactSpecsAsync,
113
- resolveProjectDirFromManifest,
114
- resolveResourceKindMetadata,
115
- resolveSolutionFilePath,
116
- resourceRefreshAsync,
117
- resourceRemoteSyncAsync,
118
- restoreSolutionFile,
119
- sameResourceSubtype,
120
- saveCasingNormalized,
121
- searchRcsResources,
122
- searchRcsResourcesStrict,
123
- syncAndLog,
124
- syncResourcesFromBindings,
125
- toCatalogReference,
126
- toResourceReference,
127
- uniqueNameForResource,
128
- validateResourceName,
129
- writeSolutionFile
130
- };
131
-
132
- //# debugId=C74DDEE2296204B964756E2164756E21
@@ -1,25 +0,0 @@
1
- import {
2
- CAMEL_CASE_ENUM_PROPERTIES,
3
- JsonSerializer,
4
- JsonSerializerFactory,
5
- JsonSerializerNames,
6
- JsonSerializerProxy,
7
- PASCAL_CASE_ENUM_PROPERTIES,
8
- RESOURCE_BUILDER_PASCAL_CASE_PROPERTIES,
9
- SHARED_CORE_ABSTRACTIONS_PASCAL_CASE_PROPERTIES,
10
- StreamSerializer
11
- } from "./tool-gdtpsdn7.js";
12
- import"./tool-1de529jm.js";
13
- export {
14
- CAMEL_CASE_ENUM_PROPERTIES,
15
- JsonSerializer,
16
- JsonSerializerFactory,
17
- JsonSerializerNames,
18
- JsonSerializerProxy,
19
- PASCAL_CASE_ENUM_PROPERTIES,
20
- RESOURCE_BUILDER_PASCAL_CASE_PROPERTIES,
21
- SHARED_CORE_ABSTRACTIONS_PASCAL_CASE_PROPERTIES,
22
- StreamSerializer
23
- };
24
-
25
- //# debugId=A79DD62A6A37B41864756E2164756E21
@@ -1,85 +0,0 @@
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