@uipath/maestro-tool 1.204.0 → 1.205.0-preview.258
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 +3 -3
- package/dist/{DmnFactory-VWZOSZHH-ggnfcqpa.js → DmnFactory-L7MABUC6-qkvfv1cw.js} +143 -98
- package/dist/{KieDmnMarshaller-6TTUU5B4-6apscj68.js → KieDmnMarshaller-LGE63WDG-cybersk4.js} +3 -3
- package/dist/THIRD-PARTY-NOTICES.md +47 -23
- package/dist/{authoring-ed7fgg74.js → authoring-5xyc2bbq.js} +8 -6
- package/dist/{authoring-1qn6m2g3.js → authoring-ehed6df3.js} +8 -6
- package/dist/{authoring-ex7mq672.js → authoring-rw21p50g.js} +8 -6
- package/dist/{binding-service-dj04a6e6.js → binding-service-b2v8y2sb.js} +44 -35
- package/dist/{bpmn-action-type-validator-cja8vct2.js → bpmn-action-type-validator-xg4ncg63.js} +2 -2
- package/dist/{bpmn-binding-resolver-3v5223kx.js → bpmn-binding-resolver-wz7xk54x.js} +9 -7
- package/dist/{bpmn-branch-a25m8bc2.js → bpmn-branch-ywmc5egw.js} +48 -47
- package/dist/{bpmn-format-service-64fsaq4j.js → bpmn-format-service-aq8ekvy2.js} +7 -5
- package/dist/{bpmn-refresh-service-ytf3ngzm.js → bpmn-refresh-service-gy1ekx3m.js} +10 -8
- package/dist/{bpmn-update-metadata-service-jpz5mfk4.js → bpmn-update-metadata-service-rnf421er.js} +7 -5
- package/dist/bpmn-validate-service-7e3q83nh.js +16 -0
- package/dist/{business-rule-export-j6xxtp5s.js → business-rule-export-xa719ws5.js} +2 -2
- package/dist/canvas-notes-xc2ejzqj.js +23 -0
- package/dist/{case-api-bxcxbgm9.js → case-api-v64traxv.js} +9 -7
- package/dist/case-bindings-service-hwz2h03e.js +434 -0
- package/dist/case-debug-solution-projects-xae2d4vj.js +34 -0
- package/dist/{case-debug-studio-web-service-kt5efenk.js → case-debug-studio-web-service-5h6djff3.js} +22 -14
- package/dist/{case-described-io-service-kn3rvy53.js → case-described-io-service-tap9pk70.js} +41 -11
- package/dist/case-event-trigger-bindings-z4q1kzgv.js +20 -0
- package/dist/{case-format-service-k8rcv0wp.js → case-format-service-q42ba5pn.js} +6 -4
- package/dist/{case-pack-service-92trp8xj.js → case-pack-service-0j9r3cd2.js} +9 -7
- package/dist/case-schema-version-zs5qsr1b.js +20 -0
- package/dist/{case-shape-reader-ftc4ve13.js → case-shape-reader-14qzcj4v.js} +1 -1
- package/dist/{case-splice-service-7n51cpx3.js → case-splice-service-bk6rvr75.js} +60 -11
- package/dist/{case-validate-service-c8jcvw85.js → case-validate-service-80p52d8r.js} +134 -46
- package/dist/{connector-enrichment-service-ba0vq2sk.js → connector-enrichment-service-9p98gfmc.js} +32 -28
- package/dist/{connector-lookup-service-mzfsqb21.js → connector-lookup-service-v39ab3qh.js} +10 -8
- package/dist/{connector-service-8yk65k3n.js → connector-service-yz5c6xag.js} +229 -52
- package/dist/connector-task-shape-dcb3v2r5.js +14 -0
- package/dist/{connector-task-spec-bn3qaa1w.js → connector-task-spec-pvzzenwg.js} +206 -49
- package/dist/de-UZI7FJDO-awjpqfz0.js +200 -0
- package/dist/{de-MUJPA4EB-dpg7t2rw.js → de-UZI7FJDO-mwvc4cxe.js} +29 -2
- package/dist/{de-FGHEJRCI-rv513mfh.js → de-WLW6KWOJ-2qnsqdtw.js} +238 -31
- package/dist/debug-conversation-trigger-f4a07w23.js +33 -0
- package/dist/{debug-http-client-73errmgs.js → debug-http-client-8t7t701c.js} +7 -5
- package/dist/{debug-service-8kjtrm88.js → debug-service-c7y7f216.js} +8 -6
- package/dist/{edge-service-7092t84f.js → edge-service-vnn1p29d.js} +18 -13
- package/dist/{embedded-file-reader-v8c2yj2a.js → embedded-file-reader-r66242ey.js} +2 -2
- package/dist/en-EJCBA3LK-0wb3b1xy.js +146 -0
- package/dist/{en-FBPVNKFN-dqt573xn.js → en-EJCBA3LK-dtpdghgj.js} +12 -4
- package/dist/{en-BWGKA5OE-1qkvb9rn.js → en-M7GQYBV2-5nfmpnfz.js} +88 -6
- package/dist/{enrichment-service-yjv2eb8h.js → enrichment-service-njfr2m2s.js} +52 -15
- package/dist/{es-7SE7HX2X-8yh1aj2y.js → es-4UBUTCQA-m1ytpyx2.js} +29 -2
- package/dist/es-4UBUTCQA-t7hsackg.js +200 -0
- package/dist/{es-KR3ZSNMP-84zphx0x.js → es-5THCNRFN-tqwyrdgy.js} +235 -28
- package/dist/{es-MX-2MYFZU7X-3rek4r73.js → es-MX-5RELIXKI-9jhqtddc.js} +29 -2
- package/dist/es-MX-5RELIXKI-jtjbcxbb.js +200 -0
- package/dist/{es-MX-XXZJGC4R-2mr8jtgm.js → es-MX-TWZBRAXK-gqd9swzw.js} +237 -30
- package/dist/filter-engine-7ep90g7f.js +11 -0
- package/dist/{flow-api-y70m8n82.js → flow-api-qj89cv18.js} +17 -10
- package/dist/{flow-debug-service-f59xnvdf.js → flow-debug-service-a7vd9eht.js} +109 -71
- package/dist/{flow-eval-node-target-v1gra12k.js → flow-eval-node-target-fv15zc9f.js} +19 -18
- package/dist/flow-eval-run-api-3xt5n21a.js +16 -0
- package/dist/{flow-eval-run-service-hmfbng78.js → flow-eval-run-service-keqkwjg1.js} +92 -99
- package/dist/{flow-eval-service-7tpvhn9b.js → flow-eval-service-5j1rwx32.js} +169 -416
- package/dist/{flow-init-sdk-source-3gxfr40c.js → flow-init-sdk-source-spm577pw.js} +8 -6
- package/dist/{flow-init-service-jawbgb3b.js → flow-init-service-pz2b02z9.js} +25 -20
- package/dist/{flow-io-2qapk1ge.js → flow-io-0yftj03d.js} +17 -12
- package/dist/{flow-migrate-service-3vyydvyp.js → flow-migrate-service-f0cavrsr.js} +18 -13
- package/dist/{flow-pack-service-ypbwn9p1.js → flow-pack-service-seegwatd.js} +59 -45
- package/dist/{flow-validate-service-6ra3j72r.js → flow-validate-service-hgswxecb.js} +198 -93
- package/dist/{fr-Y6NPVODW-8vr1ja4b.js → fr-CERONSRC-edpxhbmb.js} +237 -30
- package/dist/{fr-MDFKNZ4C-h4a122k9.js → fr-VBM5WRC2-63z7w4mh.js} +29 -2
- package/dist/fr-VBM5WRC2-707ha692.js +200 -0
- package/dist/{governance-fetcher-09dgr70s.js → governance-fetcher-w11mhrn6.js} +8 -6
- package/dist/{headless-7rs6g9wg.js → headless-z9enfh9f.js} +4 -4
- package/dist/hitPolicyResult-CGCR73CW-tvmbx1r7.js +66 -0
- package/dist/{hitl-service-pc3xwzxh.js → hitl-service-zsnxqkhb.js} +17 -12
- package/dist/{index-48tf2e7y.js → index-1a83vhkx.js} +59 -35
- package/dist/{index-jmy02p6v.js → index-3366ft04.js} +44 -6
- package/dist/{index-wmffgzmr.js → index-5dxh9z60.js} +21751 -11098
- package/dist/{index-vj0f8thg.js → index-91v7sjfs.js} +7 -5
- package/dist/{index-cpgb4hp8.js → index-d60j7q07.js} +8 -6
- package/dist/{index-vhm7bexy.js → index-da0zh33m.js} +8 -6
- package/dist/{index-1htnjt3c.js → index-ewv0axs9.js} +1087 -213
- package/dist/index-f3pbfe53.js +67 -0
- package/dist/{index-ng2f77my.js → index-fyc0k5dd.js} +985 -617
- package/dist/{index-n7n2d0tb.js → index-gjg7tpcx.js} +66 -2230
- package/dist/index-gmkec7es.js +29 -0
- package/dist/{index-3bv3wtc0.js → index-n37fqnh7.js} +6 -5
- package/dist/{index-hhsf00x8.js → index-ngs0a2he.js} +1 -1
- package/dist/index-s6q9xjhw.js +25 -0
- package/dist/{index-j2r3jb6c.js → index-xq6ajhgq.js} +2 -2
- package/dist/index.js +2 -2
- package/dist/init-entry-points-g4za9kc0.js +102 -0
- package/dist/inline-entity-resolver-nzfs8hb6.js +46 -0
- package/dist/input-reader-3250qtv2.js +15 -0
- package/dist/input-reader-3398edew.js +15 -0
- package/dist/{ja-UTQEAP34-8e0q6swp.js → ja-43QL7CGO-c3q8gre9.js} +29 -2
- package/dist/ja-43QL7CGO-h6qfxfay.js +200 -0
- package/dist/{ja-Q5PXKJ2V-p4msxzjd.js → ja-U2MCNHGT-gz0ap1jk.js} +235 -28
- package/dist/{known-types-3dm8xfd0.js → known-types-g1bvvvcw.js} +5 -5
- package/dist/ko-TLL6Z6CD-ag6gjynr.js +200 -0
- package/dist/{ko-AXCHW2OK-askct7f6.js → ko-TLL6Z6CD-wrt3n8a9.js} +29 -2
- package/dist/{ko-AYBDSRZG-41mdmsg1.js → ko-XAUYQWDR-zp81gjp4.js} +237 -30
- package/dist/localSolutionDiscovery-3fs774b8.js +17 -0
- package/dist/{maestro-automate-entry-4qg1z689.js → maestro-automate-entry-wycktqqt.js} +2 -2
- package/dist/{maestro-debug-service-c81w1wrx.js → maestro-debug-service-5edvsets.js} +17 -15
- package/dist/{maestro-pack-service-9qbtap5h.js → maestro-pack-service-hpvmq8f9.js} +9 -7
- package/dist/migration-diagnosis-5tftr979.js +99 -0
- package/dist/{node-epyxn4nd.js → node-5g80as4s.js} +29 -15
- package/dist/node-service-gsq162p5.js +101 -0
- package/dist/{node-strategy-5pz40tee.js → node-strategy-v442hwgd.js} +1 -1
- package/dist/node-sync-service-qxhh9e5m.js +65 -0
- package/dist/out-target-666eg2kf.js +115 -0
- package/dist/{packager-tool-yphr25e9.js → packager-tool-0jn0my4b.js} +4 -2
- package/dist/packager-tool-0z498fh0.js +331 -0
- package/dist/{packager-tool-j6q8v3kc.js → packager-tool-1q0ee9ht.js} +5 -4
- package/dist/packager-tool-20592jhn.js +74 -0
- package/dist/{packager-tool-zvpkw29f.js → packager-tool-212khq09.js} +538 -16
- package/dist/{packager-tool-7msx23gd.js → packager-tool-2qywkm61.js} +13 -2
- package/dist/{packager-tool-b4t0wt7a.js → packager-tool-3kx2vrwn.js} +12 -13
- package/dist/{packager-tool-a0f48rfb.js → packager-tool-42xfgd4y.js} +6 -24
- package/dist/{packager-tool-myvay41d.js → packager-tool-57bbfe26.js} +3 -3
- package/dist/{packager-tool-vte7g48a.js → packager-tool-5hnx28q0.js} +5 -3
- package/dist/{packager-tool-xd3rq6k0.js → packager-tool-629qqbfp.js} +2 -2
- package/dist/packager-tool-6g510cab.js +1178 -0
- package/dist/packager-tool-6sm17vbx.js +336 -0
- package/dist/{packager-tool-yy101ck2.js → packager-tool-6tthp3g5.js} +52 -32
- package/dist/{packager-tool-d88rqwk8.js → packager-tool-6z1hsm2h.js} +13 -5
- package/dist/packager-tool-7hw344bt.js +107 -0
- package/dist/{packager-tool-6xrzgn0z.js → packager-tool-7vh4gasn.js} +1 -1
- package/dist/packager-tool-7ym4rqd1.js +153 -0
- package/dist/packager-tool-8p3ymd4v.js +14 -0
- package/dist/{packager-tool-kme3q8xv.js → packager-tool-8tv6dvs5.js} +18 -8
- package/dist/{packager-tool-c94w8xmz.js → packager-tool-9c2hte0h.js} +16110 -13031
- package/dist/{packager-tool-npr79108.js → packager-tool-ajhgr4bs.js} +51 -8
- package/dist/{packager-tool-8pydv61j.js → packager-tool-ajth6af3.js} +588 -16
- package/dist/{packager-tool-nct4k0y8.js → packager-tool-arbc078z.js} +280 -416
- package/dist/{packager-tool-k0bc2f6w.js → packager-tool-b84rs07t.js} +137 -45
- package/dist/{packager-tool-4tf3tq1b.js → packager-tool-bd7t6p8y.js} +6 -4
- package/dist/{packager-tool-q02t6n13.js → packager-tool-bhhym40d.js} +26 -3
- package/dist/packager-tool-bttxjdhx.js +94 -0
- package/dist/packager-tool-c4n4m87w.js +52 -0
- package/dist/{packager-tool-8xyea2av.js → packager-tool-cc2q603y.js} +2 -3
- package/dist/{packager-tool-8yjmkys9.js → packager-tool-cza49qc1.js} +1681 -459
- package/dist/{packager-tool-5jb06280.js → packager-tool-d1kd88zq.js} +1 -1
- package/dist/{packager-tool-w3d2891y.js → packager-tool-dpp8z5q3.js} +8 -5
- package/dist/{packager-tool-wbtykfb2.js → packager-tool-dzd3y9p0.js} +2 -2
- package/dist/{packager-tool-rs4cgyy5.js → packager-tool-f6bh7bsm.js} +9 -10
- package/dist/{packager-tool-83hg21mr.js → packager-tool-f7zn3gsf.js} +6 -6
- package/dist/{packager-tool-mtpztxtc.js → packager-tool-fwfh4zz7.js} +2 -1
- package/dist/packager-tool-g2b0zqch.js +217 -0
- package/dist/{packager-tool-xdxr3ync.js → packager-tool-hdxtgckw.js} +11 -1
- package/dist/{packager-tool-gtzw8sw4.js → packager-tool-jexxh6qf.js} +51 -6
- package/dist/{packager-tool-zq25fdcg.js → packager-tool-jt51hwvr.js} +5 -5
- package/dist/packager-tool-k7n4sf7v.js +16 -0
- package/dist/{packager-tool-fgaphqq0.js → packager-tool-kd0whk4p.js} +1 -1
- package/dist/{packager-tool-3t417qyw.js → packager-tool-ktnfjmbs.js} +6 -6
- package/dist/packager-tool-kvp4ttef.js +307 -0
- package/dist/packager-tool-m1901c0c.js +1256 -0
- package/dist/packager-tool-mgcz986r.js +143 -0
- package/dist/{packager-tool-8xhjr5ya.js → packager-tool-mrskd7mn.js} +1 -1
- package/dist/{packager-tool-5s7249f4.js → packager-tool-ms1smy5t.js} +1 -1
- package/dist/{packager-tool-kveaemqp.js → packager-tool-msecps3h.js} +74 -47
- package/dist/packager-tool-n90231c7.js +2 -0
- package/dist/{packager-tool-ajjpgh1s.js → packager-tool-nkbz7fsb.js} +161 -83
- package/dist/packager-tool-nsh0qg9g.js +40 -0
- package/dist/{packager-tool-7q6z6npd.js → packager-tool-pcvhcn2k.js} +93 -11
- package/dist/packager-tool-qrs1525h.js +69 -0
- package/dist/packager-tool-qs3gymeb.js +92 -0
- package/dist/{packager-tool-wf95q0fn.js → packager-tool-r6a4pjjh.js} +32 -13
- package/dist/{packager-tool-2wbgdx7c.js → packager-tool-rcx6mwf1.js} +5 -5
- package/dist/{packager-tool-zbrda9sn.js → packager-tool-rk25wp3c.js} +1 -1
- package/dist/{packager-tool-nase5ajk.js → packager-tool-rp7pny4t.js} +19 -5
- package/dist/packager-tool-s695j0qj.js +2 -0
- package/dist/packager-tool-s7c0dg22.js +1117 -0
- package/dist/{case-bindings-service-hpz8w81a.js → packager-tool-s7frnjqb.js} +20 -233
- package/dist/{packager-tool-2k0hp4st.js → packager-tool-sb08yxk6.js} +2 -2
- package/dist/{packager-tool-b39nrh8y.js → packager-tool-sga4h8yj.js} +5 -6
- package/dist/packager-tool-sm8ertv4.js +9 -0
- package/dist/{packager-tool-ts5t1nmn.js → packager-tool-sxqtxw0e.js} +15 -10
- package/dist/packager-tool-t4zrz5gd.js +18 -0
- package/dist/{packager-tool-pp11j8zp.js → packager-tool-t79p62kr.js} +3 -2
- package/dist/{packager-tool-ps84n76y.js → packager-tool-tgh9btcq.js} +2 -2
- package/dist/{packager-tool-x2py933t.js → packager-tool-tzc6xsp3.js} +1802 -378
- package/dist/packager-tool-v5ft7109.js +35 -0
- package/dist/{packager-tool-rkv04anh.js → packager-tool-vv9cf7n5.js} +12 -56
- package/dist/{packager-tool-z1qbc0qf.js → packager-tool-wv85dhy2.js} +2 -8
- package/dist/{packager-tool-znhjsec2.js → packager-tool-wwbk750c.js} +10804 -25507
- package/dist/packager-tool-xj0agqpk.js +11 -0
- package/dist/{packager-tool-t2xr2f9r.js → packager-tool-xqghssg3.js} +1 -1
- package/dist/{packager-tool-ma2ra4pe.js → packager-tool-xr5pkebd.js} +6 -6
- package/dist/packager-tool-y4tyghzf.js +26 -0
- package/dist/{packager-tool-9bt3hs56.js → packager-tool-y57r93yz.js} +721 -90
- package/dist/packager-tool-ygdbhb2b.js +62 -0
- package/dist/{packager-tool-v99ygh9f.js → packager-tool-yn33pw57.js} +124 -58
- package/dist/packager-tool-yp84p93n.js +41 -0
- package/dist/{packager-tool-yv10w46z.js → packager-tool-zgm0r4yp.js} +57 -205
- package/dist/packager-tool.js +26 -17
- package/dist/{project-artifacts-ygsyzgbk.js → project-artifacts-tedh0mf8.js} +1 -1
- package/dist/{project-validator-ndx5f8vg.js → project-validator-njsprtzv.js} +5 -4
- package/dist/{pt-BR-TKHNHMET-sn91xyq0.js → pt-BR-GNQNAAZ2-xadharv4.js} +237 -30
- package/dist/{pt-BR-Y6K6XHXK-mp3hwhw1.js → pt-BR-USP2T7GD-pedn77m1.js} +29 -2
- package/dist/pt-BR-USP2T7GD-rppy42ym.js +200 -0
- package/dist/{pt-3DIO5QWG-59b3f4bc.js → pt-RMIAKZB4-67enhx3m.js} +29 -2
- package/dist/pt-RMIAKZB4-t80exmp7.js +200 -0
- package/dist/{pt-ROXU257Y-2f6bxev4.js → pt-TO2DARY2-ftcce1bv.js} +237 -30
- package/dist/{resolved-check-r83pjq9y.js → resolved-check-8a1cr6j2.js} +1 -1
- package/dist/{resourcesSyncService-9b5nzx36.js → resourcesSyncService-rcbw245w.js} +43 -180
- package/dist/ro-GHOBYW2S-4zevc9dy.js +200 -0
- package/dist/{ro-BWR3ONRR-vzx3hy8a.js → ro-GHOBYW2S-mhnqsgaa.js} +29 -2
- package/dist/{ro-AVAWPKOO-b89pw79r.js → ro-WUYJV6OW-a8d9qy1n.js} +235 -28
- package/dist/ru-WBLQ5B2U-dpqvtfwr.js +10 -0
- package/dist/{sdd-convert-service-am4cs6zq.js → sdd-convert-service-btj95r5z.js} +690 -447
- package/dist/{sdd-lookup-12hfwqjq.js → sdd-lookup-x3fh6svg.js} +6 -4
- package/dist/{sdd-resolve-service-e56wtgxt.js → sdd-resolve-service-pzsm3mkz.js} +37 -10
- package/dist/sdd-resolve-siblings-wzhvhar8.js +57 -0
- package/dist/{shared-utils-611ah3tq.js → shared-utils-w643sejd.js} +6 -4
- package/dist/{solution-auth-kddmbm0p.js → solution-auth-30yycqtv.js} +3 -3
- package/dist/solution-discovery-pavd4zeb.js +47 -0
- package/dist/{strict-case-rules-pn3ypd97.js → strict-case-rules-vnyr3b3k.js} +3 -2
- package/dist/{strict-entry-points-a2cya540.js → strict-entry-points-xrddz82q.js} +33 -1
- package/dist/{strict-sdd-audit-nc7dk2hy.js → strict-sdd-audit-8deegzad.js} +11 -7
- package/dist/task-type-declaration-re9ba03j.js +46 -0
- package/dist/{tidy-service-thmayk2h.js → tidy-service-mepxtxqm.js} +144 -39
- package/dist/{tool-z7q74wa4.js → tool-13vrxcqw.js} +313 -123
- package/dist/{tool-rmcqxt09.js → tool-x8dmgc2y.js} +476 -339
- package/dist/tool.js +2 -2
- package/dist/{tr-5IIHSFW5-hw4cewew.js → tr-GDTLECMM-k5fhmq13.js} +29 -2
- package/dist/tr-GDTLECMM-kngksm3r.js +200 -0
- package/dist/{tr-JMIP7ZSL-c39b6pe4.js → tr-M3F5A6AU-bb0tg39m.js} +235 -28
- package/dist/{trigger-enrichment-service-fw97esz9.js → trigger-enrichment-service-pc8ecypw.js} +34 -30
- package/dist/trigger-entry-point-id-819hnfnn.js +15 -0
- package/dist/{variable-service-3gywh851.js → variable-service-8v0b9d66.js} +17 -12
- package/dist/{wait-for-flow-job-wdcjjk6p.js → wait-for-flow-job-5rjxh65w.js} +14 -11
- package/dist/{zh-CN-IFFXSEJS-9wm9gmrv.js → zh-CN-C5G4PC7C-ds9gkptg.js} +235 -28
- package/dist/zh-CN-I5D7WHBD-ge92tbx9.js +200 -0
- package/dist/{zh-CN-R2KU4U5L-tc1hat59.js → zh-CN-I5D7WHBD-sr5h0a98.js} +29 -2
- package/dist/{zh-TW-GNKMELBF-j674515r.js → zh-TW-2AVLM723-288pkc1z.js} +29 -2
- package/dist/zh-TW-2AVLM723-xsmap3gk.js +200 -0
- package/dist/{zh-TW-IYBNYAMG-8727c7v2.js → zh-TW-62HZIG6O-787kdwex.js} +234 -27
- package/package.json +2 -2
- package/dist/bpmn-validate-service-tanm0n47.js +0 -14
- package/dist/debug-conversation-trigger-zbxp49z7.js +0 -46
- package/dist/flow-eval-run-api-zg951w2f.js +0 -15
- package/dist/hitPolicyResult-4WDHTX4A-zpjwpxn1.js +0 -69
- package/dist/index-03h6hq69.js +0 -200
- package/dist/input-reader-sce4dejb.js +0 -13
- package/dist/input-reader-tf6xyfvt.js +0 -13
- package/dist/migration-diagnosis-fzj426fa.js +0 -71
- package/dist/node-service-3j6w3z2k.js +0 -89
- package/dist/node-sync-service-q7dsv2p0.js +0 -43
- package/dist/out-target-498z06v5.js +0 -72
- package/dist/packager-tool-0g6ktcsq.js +0 -32
- package/dist/packager-tool-3mvr6njb.js +0 -305
- package/dist/packager-tool-521x949f.js +0 -32
- package/dist/packager-tool-64zypey6.js +0 -521
- package/dist/packager-tool-7t0xj5pz.js +0 -64
- package/dist/packager-tool-j836z6mq.js +0 -208
- package/dist/packager-tool-p7eactax.js +0 -267
- package/dist/packager-tool-xjtv580j.js +0 -13
- package/dist/packager-tool-zm7thgdg.js +0 -456
- /package/dist/{localization-p76prk3f.js → localization-d151bzb1.js} +0 -0
|
@@ -0,0 +1,331 @@
|
|
|
1
|
+
import {
|
|
2
|
+
getAgentProjectMetadataReader
|
|
3
|
+
} from "./packager-tool-8qp60s20.js";
|
|
4
|
+
import {
|
|
5
|
+
extractIOFromEntryPoints,
|
|
6
|
+
getServiceType,
|
|
7
|
+
taskDefinitionsToNodeManifests,
|
|
8
|
+
withErrorHandles
|
|
9
|
+
} from "./packager-tool-9c2hte0h.js";
|
|
10
|
+
import {
|
|
11
|
+
logger,
|
|
12
|
+
quoteForShell
|
|
13
|
+
} from "./packager-tool-zgm0r4yp.js";
|
|
14
|
+
import {
|
|
15
|
+
getFileSystem
|
|
16
|
+
} from "./packager-tool-hdxtgckw.js";
|
|
17
|
+
import {
|
|
18
|
+
catchError
|
|
19
|
+
} from "./packager-tool-wv85dhy2.js";
|
|
20
|
+
|
|
21
|
+
// ../maestro-sdk/src/registry/solution-discovery.ts
|
|
22
|
+
function isRecord(value) {
|
|
23
|
+
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
24
|
+
}
|
|
25
|
+
var EMPTY_IO = {
|
|
26
|
+
inputs: {},
|
|
27
|
+
outputs: {}
|
|
28
|
+
};
|
|
29
|
+
function findEnclosingProjectId(solutionDir, projects, cwd) {
|
|
30
|
+
const fs = getFileSystem();
|
|
31
|
+
for (const p of projects) {
|
|
32
|
+
const projDir = fs.path.resolve(solutionDir, fs.path.dirname(p.ProjectRelativePath));
|
|
33
|
+
if (cwd === projDir)
|
|
34
|
+
return p.Id;
|
|
35
|
+
const rel = fs.path.relative(projDir, cwd);
|
|
36
|
+
if (rel !== "" && !rel.startsWith("..") && !fs.path.isAbsolute(rel)) {
|
|
37
|
+
return p.Id;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
function solutionSearchDirs() {
|
|
43
|
+
const fs = getFileSystem();
|
|
44
|
+
const cwd = fs.env.cwd();
|
|
45
|
+
return [cwd, fs.path.resolve(cwd, ".."), fs.path.resolve(cwd, "../..")];
|
|
46
|
+
}
|
|
47
|
+
async function readSolutionAt(dir) {
|
|
48
|
+
const fs = getFileSystem();
|
|
49
|
+
const [readErr, entries] = await catchError(fs.readdir(dir));
|
|
50
|
+
if (readErr)
|
|
51
|
+
return null;
|
|
52
|
+
const uipxName = entries.find((e) => e.endsWith(".uipx"));
|
|
53
|
+
if (!uipxName)
|
|
54
|
+
return null;
|
|
55
|
+
const uipxPath = fs.path.join(dir, uipxName);
|
|
56
|
+
const [fileErr, content] = await catchError(fs.readFile(uipxPath, "utf-8"));
|
|
57
|
+
if (fileErr || !content)
|
|
58
|
+
return null;
|
|
59
|
+
const [parseErr, parsed] = catchError(() => JSON.parse(content));
|
|
60
|
+
if (parseErr || !parsed.SolutionId)
|
|
61
|
+
return null;
|
|
62
|
+
return {
|
|
63
|
+
solutionId: parsed.SolutionId,
|
|
64
|
+
solutionDir: dir,
|
|
65
|
+
projects: parsed.Projects ?? []
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
async function findSolutionFromCwd() {
|
|
69
|
+
const cwd = getFileSystem().env.cwd();
|
|
70
|
+
for (const dir of solutionSearchDirs()) {
|
|
71
|
+
const solution = await readSolutionAt(dir);
|
|
72
|
+
if (solution === null)
|
|
73
|
+
continue;
|
|
74
|
+
return {
|
|
75
|
+
...solution,
|
|
76
|
+
currentProjectId: findEnclosingProjectId(dir, solution.projects, cwd)
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
return null;
|
|
80
|
+
}
|
|
81
|
+
async function resolveProjectEntryPointIO(projectDir) {
|
|
82
|
+
const fs = getFileSystem();
|
|
83
|
+
const fromSource = await readEntryPointsFile(fs.path.join(projectDir, "entry-points.json"), fs.path.join(projectDir, "content", "entry-points.json"));
|
|
84
|
+
if (fromSource.io)
|
|
85
|
+
return { io: fromSource.io, contract: "known" };
|
|
86
|
+
const fromFlow = await readProjectIOFromFlowVariables(projectDir);
|
|
87
|
+
if (fromFlow.io)
|
|
88
|
+
return { io: fromFlow.io, contract: "known" };
|
|
89
|
+
const fromBuild = await readEntryPointsFile(fs.path.join(projectDir, ".local", "content", "entry-points.json"));
|
|
90
|
+
if (fromBuild.io)
|
|
91
|
+
return { io: fromBuild.io, contract: "known" };
|
|
92
|
+
const states = [fromSource.state, fromFlow.state, fromBuild.state];
|
|
93
|
+
const contract = states.includes("valid") ? "known" : states.includes("invalid") ? "unreadable" : "missing";
|
|
94
|
+
return { io: EMPTY_IO, contract };
|
|
95
|
+
}
|
|
96
|
+
async function readEntryPointsFile(...candidates) {
|
|
97
|
+
const fs = getFileSystem();
|
|
98
|
+
let state = "absent";
|
|
99
|
+
for (const filePath of candidates) {
|
|
100
|
+
const [err, content] = await catchError(fs.readFile(filePath, "utf-8"));
|
|
101
|
+
if (err || content === null)
|
|
102
|
+
continue;
|
|
103
|
+
const [parseErr, parsed] = catchError(() => JSON.parse(content));
|
|
104
|
+
const entryPoints = parsed?.entryPoints;
|
|
105
|
+
if (parseErr || !Array.isArray(entryPoints) || entryPoints.length > 0 && !isRecord(entryPoints[0])) {
|
|
106
|
+
if (state === "absent")
|
|
107
|
+
state = "invalid";
|
|
108
|
+
continue;
|
|
109
|
+
}
|
|
110
|
+
state = "valid";
|
|
111
|
+
if (entryPoints.length === 0)
|
|
112
|
+
continue;
|
|
113
|
+
return { io: extractIOFromEntryPoints({ entryPoints }), state };
|
|
114
|
+
}
|
|
115
|
+
return { state };
|
|
116
|
+
}
|
|
117
|
+
async function readProjectIOFromFlowVariables(projectDir) {
|
|
118
|
+
const fs = getFileSystem();
|
|
119
|
+
const [readErr, entries] = await catchError(fs.readdir(projectDir));
|
|
120
|
+
if (readErr || !Array.isArray(entries))
|
|
121
|
+
return { state: "absent" };
|
|
122
|
+
const flowFileName = entries.find((entry) => entry.endsWith(".flow"));
|
|
123
|
+
if (!flowFileName)
|
|
124
|
+
return { state: "absent" };
|
|
125
|
+
const flowPath = fs.path.join(projectDir, flowFileName);
|
|
126
|
+
const [readFileErr, content] = await catchError(fs.readFile(flowPath, "utf-8"));
|
|
127
|
+
if (readFileErr || !content)
|
|
128
|
+
return { state: "invalid" };
|
|
129
|
+
const [parseErr, parsed] = catchError(() => JSON.parse(content));
|
|
130
|
+
if (parseErr || !isRecord(parsed))
|
|
131
|
+
return { state: "invalid" };
|
|
132
|
+
const variables = parsed.variables;
|
|
133
|
+
if (variables !== undefined && !isRecord(variables))
|
|
134
|
+
return { state: "invalid" };
|
|
135
|
+
const globals = variables?.globals;
|
|
136
|
+
if (globals !== undefined && (!Array.isArray(globals) || !globals.every(isRecord)))
|
|
137
|
+
return { state: "invalid" };
|
|
138
|
+
if (!globals || globals.length === 0)
|
|
139
|
+
return { state: "valid" };
|
|
140
|
+
const inputProps = {};
|
|
141
|
+
const outputProps = {};
|
|
142
|
+
for (const variable of globals) {
|
|
143
|
+
if (!variable.id || !variable.direction)
|
|
144
|
+
continue;
|
|
145
|
+
const schema = {
|
|
146
|
+
type: variable.type ?? "string"
|
|
147
|
+
};
|
|
148
|
+
if (variable.description) {
|
|
149
|
+
schema.description = variable.description;
|
|
150
|
+
}
|
|
151
|
+
if (variable.direction === "in" || variable.direction === "inout") {
|
|
152
|
+
inputProps[variable.id] = schema;
|
|
153
|
+
}
|
|
154
|
+
if (variable.direction === "out" || variable.direction === "inout") {
|
|
155
|
+
outputProps[variable.id] = schema;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
const hasInputs = Object.keys(inputProps).length > 0;
|
|
159
|
+
const hasOutputs = Object.keys(outputProps).length > 0;
|
|
160
|
+
if (!hasInputs && !hasOutputs)
|
|
161
|
+
return { state: "valid" };
|
|
162
|
+
const synthetic = {
|
|
163
|
+
entryPoints: [
|
|
164
|
+
{
|
|
165
|
+
filePath: flowFileName,
|
|
166
|
+
input: hasInputs ? { type: "object", properties: inputProps } : undefined,
|
|
167
|
+
output: hasOutputs ? { type: "object", properties: outputProps } : undefined
|
|
168
|
+
}
|
|
169
|
+
]
|
|
170
|
+
};
|
|
171
|
+
return { io: extractIOFromEntryPoints(synthetic), state: "valid" };
|
|
172
|
+
}
|
|
173
|
+
async function readProjectName(projectDir) {
|
|
174
|
+
const fs = getFileSystem();
|
|
175
|
+
const uiprojPath = fs.path.join(projectDir, "project.uiproj");
|
|
176
|
+
const [err, content] = await catchError(fs.readFile(uiprojPath, "utf-8"));
|
|
177
|
+
if (!err && content) {
|
|
178
|
+
const [parseErr, parsed] = catchError(() => JSON.parse(content));
|
|
179
|
+
if (!parseErr && isRecord(parsed) && typeof parsed.Name === "string" && parsed.Name.length > 0) {
|
|
180
|
+
return parsed.Name;
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
return fs.path.basename(projectDir);
|
|
184
|
+
}
|
|
185
|
+
async function loadResourceKeyMap(solutionDir) {
|
|
186
|
+
const fs = getFileSystem();
|
|
187
|
+
const map = new Map;
|
|
188
|
+
const processDir = fs.path.join(solutionDir, "resources", "solution_folder", "process");
|
|
189
|
+
const [dirErr, typeDirs] = await catchError(fs.readdir(processDir));
|
|
190
|
+
if (dirErr)
|
|
191
|
+
return map;
|
|
192
|
+
for (const typeDir of typeDirs) {
|
|
193
|
+
const typePath = fs.path.join(processDir, typeDir);
|
|
194
|
+
const [filesErr, files] = await catchError(fs.readdir(typePath));
|
|
195
|
+
if (filesErr)
|
|
196
|
+
continue;
|
|
197
|
+
for (const file of files) {
|
|
198
|
+
if (!file.endsWith(".json"))
|
|
199
|
+
continue;
|
|
200
|
+
const filePath = fs.path.join(typePath, file);
|
|
201
|
+
const [readErr, content] = await catchError(fs.readFile(filePath, "utf-8"));
|
|
202
|
+
if (readErr || !content)
|
|
203
|
+
continue;
|
|
204
|
+
const [parseErr, parsed] = catchError(() => JSON.parse(content));
|
|
205
|
+
if (parseErr || !isRecord(parsed))
|
|
206
|
+
continue;
|
|
207
|
+
const resource = parsed.resource;
|
|
208
|
+
if (!isRecord(resource))
|
|
209
|
+
continue;
|
|
210
|
+
const projectKey = resource.projectKey;
|
|
211
|
+
const resourceKey = resource.key;
|
|
212
|
+
if (typeof projectKey === "string" && projectKey.length > 0 && typeof resourceKey === "string" && resourceKey.length > 0) {
|
|
213
|
+
map.set(projectKey.toLowerCase(), resourceKey);
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
return map;
|
|
218
|
+
}
|
|
219
|
+
function invokableSiblings(ctx) {
|
|
220
|
+
const fs = getFileSystem();
|
|
221
|
+
const currentId = ctx.currentProjectId?.toLowerCase();
|
|
222
|
+
return ctx.projects.flatMap((project) => {
|
|
223
|
+
const serviceType = getServiceType(project.Type);
|
|
224
|
+
if (!serviceType)
|
|
225
|
+
return [];
|
|
226
|
+
if (typeof project.Id !== "string")
|
|
227
|
+
return [];
|
|
228
|
+
if (project.Id.toLowerCase() === currentId)
|
|
229
|
+
return [];
|
|
230
|
+
const projectDir = fs.path.resolve(ctx.solutionDir, fs.path.dirname(project.ProjectRelativePath));
|
|
231
|
+
return [{ project, serviceType, projectDir }];
|
|
232
|
+
});
|
|
233
|
+
}
|
|
234
|
+
async function buildInSolutionNodes(ctx) {
|
|
235
|
+
const manifests = [];
|
|
236
|
+
const unknownContracts = [];
|
|
237
|
+
const resourceKeyMap = await loadResourceKeyMap(ctx.solutionDir);
|
|
238
|
+
for (const { project, serviceType, projectDir } of invokableSiblings(ctx)) {
|
|
239
|
+
const resourceKey = resourceKeyMap.get(project.Id.toLowerCase());
|
|
240
|
+
if (!resourceKey)
|
|
241
|
+
continue;
|
|
242
|
+
const reader = getAgentProjectMetadataReader();
|
|
243
|
+
const [name, { io, contract }, projectMetadata] = await Promise.all([
|
|
244
|
+
readProjectName(projectDir),
|
|
245
|
+
resolveProjectEntryPointIO(projectDir),
|
|
246
|
+
reader ? reader(projectDir, project.Type).catch((err) => {
|
|
247
|
+
logger.debug(`Agent metadata reader failed for ${projectDir}: ${String(err)}`);
|
|
248
|
+
return {};
|
|
249
|
+
}) : Promise.resolve({})
|
|
250
|
+
]);
|
|
251
|
+
const task = {
|
|
252
|
+
name,
|
|
253
|
+
type: serviceType,
|
|
254
|
+
resourceKey,
|
|
255
|
+
inputs: io.inputs,
|
|
256
|
+
outputs: io.outputs,
|
|
257
|
+
metadata: {
|
|
258
|
+
...projectMetadata,
|
|
259
|
+
description: `(In-solution) ${name}`,
|
|
260
|
+
key: resourceKey,
|
|
261
|
+
name,
|
|
262
|
+
tags: ["in-solution", "local"],
|
|
263
|
+
projectId: project.Id,
|
|
264
|
+
entryPointUniqueId: io.entryPointUniqueId,
|
|
265
|
+
inputProperties: io.inputProperties
|
|
266
|
+
}
|
|
267
|
+
};
|
|
268
|
+
const nodes = taskDefinitionsToNodeManifests({ [resourceKey]: task }, project.Type);
|
|
269
|
+
manifests.push(...nodes);
|
|
270
|
+
if (contract !== "known") {
|
|
271
|
+
unknownContracts.push({
|
|
272
|
+
name,
|
|
273
|
+
type: project.Type,
|
|
274
|
+
projectDir,
|
|
275
|
+
nodeTypes: nodes.map((n) => n.nodeType).filter((t) => typeof t === "string"),
|
|
276
|
+
contract
|
|
277
|
+
});
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
return { manifests: withErrorHandles(manifests), unknownContracts };
|
|
281
|
+
}
|
|
282
|
+
function unknownContractWarning(projects) {
|
|
283
|
+
if (projects.length === 0)
|
|
284
|
+
return;
|
|
285
|
+
const describe = (p) => `'${p.name}' (${p.type}, ${p.projectDir}): ${p.contract === "missing" ? "no entry-points.json yet" : "its entry-points.json or .flow file could not be read"}`;
|
|
286
|
+
const one = projects.length === 1;
|
|
287
|
+
const steps = [];
|
|
288
|
+
if (projects.some((p) => p.contract === "missing"))
|
|
289
|
+
steps.push("build the project so it writes entry-points.json");
|
|
290
|
+
if (projects.some((p) => p.contract === "unreadable"))
|
|
291
|
+
steps.push("fix the file that could not be read");
|
|
292
|
+
const next = steps.join(", and ");
|
|
293
|
+
return `No usable argument contract for ${projects.map(describe).join("; ")}. ` + `${one ? "Its node shows" : "Their nodes show"} no inputs or outputs; the arguments are unknown, not empty. ` + `${next[0].toUpperCase()}${next.slice(1)}, then run this command again.`;
|
|
294
|
+
}
|
|
295
|
+
async function findProjectsWithoutProcessResource(ctx) {
|
|
296
|
+
const resourceKeyMap = await loadResourceKeyMap(ctx.solutionDir);
|
|
297
|
+
return Promise.all(invokableSiblings(ctx).filter(({ project }) => !resourceKeyMap.has(project.Id.toLowerCase())).map(async ({ project, projectDir }) => ({
|
|
298
|
+
id: project.Id,
|
|
299
|
+
name: await readProjectName(projectDir),
|
|
300
|
+
type: project.Type
|
|
301
|
+
})));
|
|
302
|
+
}
|
|
303
|
+
function describeProjectsWithoutProcessResource(projects, solutionDir) {
|
|
304
|
+
if (projects.length === 0)
|
|
305
|
+
return {};
|
|
306
|
+
const names = projects.map((p) => `${p.name} (${p.type})`).join(", ");
|
|
307
|
+
return {
|
|
308
|
+
Warning: projects.length === 1 ? `Left out 1 project that has no process resource yet: ${names}.` : `Left out ${projects.length} projects that have no process resource yet: ${names}.`,
|
|
309
|
+
Instructions: `Create the missing process resources, then list the in-solution nodes again to get their node types. Run: ${resourcesRefreshCommand(solutionDir)}`
|
|
310
|
+
};
|
|
311
|
+
}
|
|
312
|
+
async function explainNodeTypeWithoutProcessResource(nodeType) {
|
|
313
|
+
const ctx = await findSolutionFromCwd();
|
|
314
|
+
if (!ctx)
|
|
315
|
+
return;
|
|
316
|
+
const lowerNodeType = nodeType.toLowerCase();
|
|
317
|
+
const project = (await findProjectsWithoutProcessResource(ctx)).find((p) => lowerNodeType.endsWith(`.${p.id.toLowerCase()}`));
|
|
318
|
+
if (!project)
|
|
319
|
+
return;
|
|
320
|
+
return {
|
|
321
|
+
message: `Project '${project.name}' has no process resource yet, so it has no node type.`,
|
|
322
|
+
instructions: `Create its process resource, then list the in-solution nodes to get its node type. Run: ${resourcesRefreshCommand(ctx.solutionDir)}`
|
|
323
|
+
};
|
|
324
|
+
}
|
|
325
|
+
function resourcesRefreshCommand(solutionDir) {
|
|
326
|
+
return `uip solution resources refresh --solution-folder ${quoteForShell(solutionDir)}`;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
export { solutionSearchDirs, readSolutionAt, findSolutionFromCwd, resolveProjectEntryPointIO, loadResourceKeyMap, buildInSolutionNodes, unknownContractWarning, findProjectsWithoutProcessResource, describeProjectsWithoutProcessResource, explainNodeTypeWithoutProcessResource, resourcesRefreshCommand };
|
|
330
|
+
|
|
331
|
+
//# debugId=CE02FAA8D35EDFDC64756E2164756E21
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
logger,
|
|
3
|
+
quoteForShell,
|
|
3
4
|
unsupportedSolutionProjectType
|
|
4
|
-
} from "./packager-tool-
|
|
5
|
+
} from "./packager-tool-zgm0r4yp.js";
|
|
5
6
|
import {
|
|
6
7
|
catchError
|
|
7
|
-
} from "./packager-tool-
|
|
8
|
+
} from "./packager-tool-wv85dhy2.js";
|
|
8
9
|
|
|
9
10
|
// ../solution-sdk/src/solution-file.ts
|
|
10
11
|
var STUDIO_WEB_PROJECT_TYPE_OVERRIDES = {
|
|
@@ -468,7 +469,7 @@ function buildRegistrationSuccessInstructions(solutionDir) {
|
|
|
468
469
|
return [
|
|
469
470
|
"The project is listed in the parent solution manifest.",
|
|
470
471
|
"Packing or uploading the solution will sync solution resources automatically.",
|
|
471
|
-
`To sync resources before packaging, run
|
|
472
|
+
`To sync resources before packaging, run: uip solution resources refresh --solution-folder ${quoteForShell(solutionDir)}`
|
|
472
473
|
].join(`
|
|
473
474
|
`);
|
|
474
475
|
}
|
|
@@ -539,4 +540,4 @@ async function findSolutionFileUpward(fs, startDir) {
|
|
|
539
540
|
|
|
540
541
|
export { normalizeProjectType, toPortableRelativePath, readUipxFile, createSolutionManifest, autoScaffoldSolution, prepareProjectLocation, resolveSolutionDir, updateUipxSolutionId, findSolutionFile, updateSolutionFile, tryRegisterProjectInParentSolution, findNearestParentUipxFile, readSolutionManifest, isProjectRegisteredInSolution, findSolutionFileUpward };
|
|
541
542
|
|
|
542
|
-
//# debugId=
|
|
543
|
+
//# debugId=B912693656C764E064756E2164756E21
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import {
|
|
2
|
+
norm
|
|
3
|
+
} from "./packager-tool-jexxh6qf.js";
|
|
4
|
+
|
|
5
|
+
// ../case-tool/src/services/sdd-convert/ids.ts
|
|
6
|
+
var buildElementId = (stageId, taskId) => `${stageId}-${taskId}`;
|
|
7
|
+
var SLUG_SUFFIX = /^(.*?)\s*\(\s*([^()]+?)\s*\)\s*$/;
|
|
8
|
+
var stageSpellings = (text, position) => {
|
|
9
|
+
const plain = text.replaceAll("`", "").trim();
|
|
10
|
+
const names = [plain];
|
|
11
|
+
const found = SLUG_SUFFIX.exec(plain);
|
|
12
|
+
const bare = found?.[1].trim() ?? "";
|
|
13
|
+
const slug = found?.[2].trim() ?? "";
|
|
14
|
+
if (bare !== "" && bare !== plain)
|
|
15
|
+
names.push(bare);
|
|
16
|
+
return {
|
|
17
|
+
names,
|
|
18
|
+
...slug !== "" && { slug },
|
|
19
|
+
ordinal: `stage ${position}`
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
var referenceSpellings = (text) => {
|
|
23
|
+
const { names, slug } = stageSpellings(text, 0);
|
|
24
|
+
return slug === undefined ? names : [...names, slug];
|
|
25
|
+
};
|
|
26
|
+
var indexKey = (name) => name.replaceAll("`", "").trim().toLowerCase();
|
|
27
|
+
var modelKey = (name) => norm(name);
|
|
28
|
+
var everySpelling = (name, position) => {
|
|
29
|
+
const { names, slug, ordinal } = stageSpellings(name, position);
|
|
30
|
+
return [...names, ...slug === undefined ? [] : [slug], ordinal].map(indexKey);
|
|
31
|
+
};
|
|
32
|
+
var claim = (index, key, id) => {
|
|
33
|
+
if (!index.has(key))
|
|
34
|
+
index.set(key, id);
|
|
35
|
+
};
|
|
36
|
+
var dedupedId = (base, taken) => {
|
|
37
|
+
let id = base;
|
|
38
|
+
let suffix = 2;
|
|
39
|
+
while (taken.has(id)) {
|
|
40
|
+
id = `${base}${suffix}`;
|
|
41
|
+
suffix += 1;
|
|
42
|
+
}
|
|
43
|
+
taken.add(id);
|
|
44
|
+
return id;
|
|
45
|
+
};
|
|
46
|
+
var exactKey = (name) => name.replaceAll("`", "").trim();
|
|
47
|
+
var claimOutput = (index, key, task, id) => {
|
|
48
|
+
const byTask = index.get(key) ?? new Map;
|
|
49
|
+
index.set(key, byTask);
|
|
50
|
+
if (!byTask.has(exactKey(task)))
|
|
51
|
+
byTask.set(exactKey(task), id);
|
|
52
|
+
};
|
|
53
|
+
var lookupOutput = (index, key, task) => {
|
|
54
|
+
const byTask = index.get(key);
|
|
55
|
+
if (byTask === undefined)
|
|
56
|
+
return;
|
|
57
|
+
const tasksNamed = (name, claim2) => typeof claim2 === "number" ? Array.from({ length: claim2 }, () => name) : [name];
|
|
58
|
+
const exact = byTask.get(exactKey(task));
|
|
59
|
+
if (exact !== undefined) {
|
|
60
|
+
return typeof exact === "number" ? { names: tasksNamed(exactKey(task), exact) } : { id: exact };
|
|
61
|
+
}
|
|
62
|
+
const [onlyName, only] = [...byTask.entries()][0] ?? [];
|
|
63
|
+
if (byTask.size === 1 && onlyName !== undefined && typeof only === "string") {
|
|
64
|
+
return { id: only };
|
|
65
|
+
}
|
|
66
|
+
return {
|
|
67
|
+
names: [...byTask].flatMap(([name, claim2]) => tasksNamed(name, claim2))
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
var scopedSlaKey = (scope, title) => `${scope}\x00${title}`;
|
|
71
|
+
|
|
72
|
+
export { buildElementId, stageSpellings, referenceSpellings, indexKey, modelKey, everySpelling, claim, dedupedId, exactKey, claimOutput, lookupOutput, scopedSlaKey };
|
|
73
|
+
|
|
74
|
+
//# debugId=992FF005D815815B64756E2164756E21
|