aiware-js 1.0.0-master.92 → 1.0.0-master.921
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/aiware-ui.esm.js +46 -0
- package/files/dosis-all-200-normal.woff +0 -0
- package/files/dosis-all-300-normal.woff +0 -0
- package/files/dosis-all-400-normal.woff +0 -0
- package/files/dosis-all-500-normal.woff +0 -0
- package/files/dosis-all-600-normal.woff +0 -0
- package/files/dosis-all-700-normal.woff +0 -0
- package/files/dosis-all-800-normal.woff +0 -0
- package/files/dosis-latin-200-normal.woff +0 -0
- package/files/dosis-latin-200-normal.woff2 +0 -0
- package/files/dosis-latin-300-normal.woff +0 -0
- package/files/dosis-latin-300-normal.woff2 +0 -0
- package/files/dosis-latin-400-normal.woff +0 -0
- package/files/dosis-latin-400-normal.woff2 +0 -0
- package/files/dosis-latin-500-normal.woff +0 -0
- package/files/dosis-latin-500-normal.woff2 +0 -0
- package/files/dosis-latin-600-normal.woff +0 -0
- package/files/dosis-latin-600-normal.woff2 +0 -0
- package/files/dosis-latin-700-normal.woff +0 -0
- package/files/dosis-latin-700-normal.woff2 +0 -0
- package/files/dosis-latin-800-normal.woff +0 -0
- package/files/dosis-latin-800-normal.woff2 +0 -0
- package/files/dosis-latin-ext-200-normal.woff +0 -0
- package/files/dosis-latin-ext-200-normal.woff2 +0 -0
- package/files/dosis-latin-ext-300-normal.woff +0 -0
- package/files/dosis-latin-ext-300-normal.woff2 +0 -0
- package/files/dosis-latin-ext-400-normal.woff +0 -0
- package/files/dosis-latin-ext-400-normal.woff2 +0 -0
- package/files/dosis-latin-ext-500-normal.woff +0 -0
- package/files/dosis-latin-ext-500-normal.woff2 +0 -0
- package/files/dosis-latin-ext-600-normal.woff +0 -0
- package/files/dosis-latin-ext-600-normal.woff2 +0 -0
- package/files/dosis-latin-ext-700-normal.woff +0 -0
- package/files/dosis-latin-ext-700-normal.woff2 +0 -0
- package/files/dosis-latin-ext-800-normal.woff +0 -0
- package/files/dosis-latin-ext-800-normal.woff2 +0 -0
- package/files/dosis-latin-ext-variable-wghtOnly-normal.woff2 +0 -0
- package/files/dosis-latin-variable-wghtOnly-normal.woff2 +0 -0
- package/files/dosis-vietnamese-200-normal.woff +0 -0
- package/files/dosis-vietnamese-200-normal.woff2 +0 -0
- package/files/dosis-vietnamese-300-normal.woff +0 -0
- package/files/dosis-vietnamese-300-normal.woff2 +0 -0
- package/files/dosis-vietnamese-400-normal.woff +0 -0
- package/files/dosis-vietnamese-400-normal.woff2 +0 -0
- package/files/dosis-vietnamese-500-normal.woff +0 -0
- package/files/dosis-vietnamese-500-normal.woff2 +0 -0
- package/files/dosis-vietnamese-600-normal.woff +0 -0
- package/files/dosis-vietnamese-600-normal.woff2 +0 -0
- package/files/dosis-vietnamese-700-normal.woff +0 -0
- package/files/dosis-vietnamese-700-normal.woff2 +0 -0
- package/files/dosis-vietnamese-800-normal.woff +0 -0
- package/files/dosis-vietnamese-800-normal.woff2 +0 -0
- package/files/dosis-vietnamese-variable-wghtOnly-normal.woff2 +0 -0
- package/files/nunito-all-200-italic.woff +0 -0
- package/files/nunito-all-200-normal.woff +0 -0
- package/files/nunito-all-300-italic.woff +0 -0
- package/files/nunito-all-300-normal.woff +0 -0
- package/files/nunito-all-400-italic.woff +0 -0
- package/files/nunito-all-400-normal.woff +0 -0
- package/files/nunito-all-500-italic.woff +0 -0
- package/files/nunito-all-500-normal.woff +0 -0
- package/files/nunito-all-600-italic.woff +0 -0
- package/files/nunito-all-600-normal.woff +0 -0
- package/files/nunito-all-700-italic.woff +0 -0
- package/files/nunito-all-700-normal.woff +0 -0
- package/files/nunito-all-800-italic.woff +0 -0
- package/files/nunito-all-800-normal.woff +0 -0
- package/files/nunito-all-900-italic.woff +0 -0
- package/files/nunito-all-900-normal.woff +0 -0
- package/files/nunito-cyrillic-200-italic.woff +0 -0
- package/files/nunito-cyrillic-200-italic.woff2 +0 -0
- package/files/nunito-cyrillic-200-normal.woff +0 -0
- package/files/nunito-cyrillic-200-normal.woff2 +0 -0
- package/files/nunito-cyrillic-300-italic.woff +0 -0
- package/files/nunito-cyrillic-300-italic.woff2 +0 -0
- package/files/nunito-cyrillic-300-normal.woff +0 -0
- package/files/nunito-cyrillic-300-normal.woff2 +0 -0
- package/files/nunito-cyrillic-400-italic.woff +0 -0
- package/files/nunito-cyrillic-400-italic.woff2 +0 -0
- package/files/nunito-cyrillic-400-normal.woff +0 -0
- package/files/nunito-cyrillic-400-normal.woff2 +0 -0
- package/files/nunito-cyrillic-500-italic.woff +0 -0
- package/files/nunito-cyrillic-500-italic.woff2 +0 -0
- package/files/nunito-cyrillic-500-normal.woff +0 -0
- package/files/nunito-cyrillic-500-normal.woff2 +0 -0
- package/files/nunito-cyrillic-600-italic.woff +0 -0
- package/files/nunito-cyrillic-600-italic.woff2 +0 -0
- package/files/nunito-cyrillic-600-normal.woff +0 -0
- package/files/nunito-cyrillic-600-normal.woff2 +0 -0
- package/files/nunito-cyrillic-700-italic.woff +0 -0
- package/files/nunito-cyrillic-700-italic.woff2 +0 -0
- package/files/nunito-cyrillic-700-normal.woff +0 -0
- package/files/nunito-cyrillic-700-normal.woff2 +0 -0
- package/files/nunito-cyrillic-800-italic.woff +0 -0
- package/files/nunito-cyrillic-800-italic.woff2 +0 -0
- package/files/nunito-cyrillic-800-normal.woff +0 -0
- package/files/nunito-cyrillic-800-normal.woff2 +0 -0
- package/files/nunito-cyrillic-900-italic.woff +0 -0
- package/files/nunito-cyrillic-900-italic.woff2 +0 -0
- package/files/nunito-cyrillic-900-normal.woff +0 -0
- package/files/nunito-cyrillic-900-normal.woff2 +0 -0
- package/files/nunito-cyrillic-ext-200-italic.woff +0 -0
- package/files/nunito-cyrillic-ext-200-italic.woff2 +0 -0
- package/files/nunito-cyrillic-ext-200-normal.woff +0 -0
- package/files/nunito-cyrillic-ext-200-normal.woff2 +0 -0
- package/files/nunito-cyrillic-ext-300-italic.woff +0 -0
- package/files/nunito-cyrillic-ext-300-italic.woff2 +0 -0
- package/files/nunito-cyrillic-ext-300-normal.woff +0 -0
- package/files/nunito-cyrillic-ext-300-normal.woff2 +0 -0
- package/files/nunito-cyrillic-ext-400-italic.woff +0 -0
- package/files/nunito-cyrillic-ext-400-italic.woff2 +0 -0
- package/files/nunito-cyrillic-ext-400-normal.woff +0 -0
- package/files/nunito-cyrillic-ext-400-normal.woff2 +0 -0
- package/files/nunito-cyrillic-ext-500-italic.woff +0 -0
- package/files/nunito-cyrillic-ext-500-italic.woff2 +0 -0
- package/files/nunito-cyrillic-ext-500-normal.woff +0 -0
- package/files/nunito-cyrillic-ext-500-normal.woff2 +0 -0
- package/files/nunito-cyrillic-ext-600-italic.woff +0 -0
- package/files/nunito-cyrillic-ext-600-italic.woff2 +0 -0
- package/files/nunito-cyrillic-ext-600-normal.woff +0 -0
- package/files/nunito-cyrillic-ext-600-normal.woff2 +0 -0
- package/files/nunito-cyrillic-ext-700-italic.woff +0 -0
- package/files/nunito-cyrillic-ext-700-italic.woff2 +0 -0
- package/files/nunito-cyrillic-ext-700-normal.woff +0 -0
- package/files/nunito-cyrillic-ext-700-normal.woff2 +0 -0
- package/files/nunito-cyrillic-ext-800-italic.woff +0 -0
- package/files/nunito-cyrillic-ext-800-italic.woff2 +0 -0
- package/files/nunito-cyrillic-ext-800-normal.woff +0 -0
- package/files/nunito-cyrillic-ext-800-normal.woff2 +0 -0
- package/files/nunito-cyrillic-ext-900-italic.woff +0 -0
- package/files/nunito-cyrillic-ext-900-italic.woff2 +0 -0
- package/files/nunito-cyrillic-ext-900-normal.woff +0 -0
- package/files/nunito-cyrillic-ext-900-normal.woff2 +0 -0
- package/files/nunito-cyrillic-ext-variable-wghtOnly-italic.woff2 +0 -0
- package/files/nunito-cyrillic-ext-variable-wghtOnly-normal.woff2 +0 -0
- package/files/nunito-cyrillic-variable-wghtOnly-italic.woff2 +0 -0
- package/files/nunito-cyrillic-variable-wghtOnly-normal.woff2 +0 -0
- package/files/nunito-latin-200-italic.woff +0 -0
- package/files/nunito-latin-200-italic.woff2 +0 -0
- package/files/nunito-latin-200-normal.woff +0 -0
- package/files/nunito-latin-200-normal.woff2 +0 -0
- package/files/nunito-latin-300-italic.woff +0 -0
- package/files/nunito-latin-300-italic.woff2 +0 -0
- package/files/nunito-latin-300-normal.woff +0 -0
- package/files/nunito-latin-300-normal.woff2 +0 -0
- package/files/nunito-latin-400-italic.woff +0 -0
- package/files/nunito-latin-400-italic.woff2 +0 -0
- package/files/nunito-latin-400-normal.woff +0 -0
- package/files/nunito-latin-400-normal.woff2 +0 -0
- package/files/nunito-latin-500-italic.woff +0 -0
- package/files/nunito-latin-500-italic.woff2 +0 -0
- package/files/nunito-latin-500-normal.woff +0 -0
- package/files/nunito-latin-500-normal.woff2 +0 -0
- package/files/nunito-latin-600-italic.woff +0 -0
- package/files/nunito-latin-600-italic.woff2 +0 -0
- package/files/nunito-latin-600-normal.woff +0 -0
- package/files/nunito-latin-600-normal.woff2 +0 -0
- package/files/nunito-latin-700-italic.woff +0 -0
- package/files/nunito-latin-700-italic.woff2 +0 -0
- package/files/nunito-latin-700-normal.woff +0 -0
- package/files/nunito-latin-700-normal.woff2 +0 -0
- package/files/nunito-latin-800-italic.woff +0 -0
- package/files/nunito-latin-800-italic.woff2 +0 -0
- package/files/nunito-latin-800-normal.woff +0 -0
- package/files/nunito-latin-800-normal.woff2 +0 -0
- package/files/nunito-latin-900-italic.woff +0 -0
- package/files/nunito-latin-900-italic.woff2 +0 -0
- package/files/nunito-latin-900-normal.woff +0 -0
- package/files/nunito-latin-900-normal.woff2 +0 -0
- package/files/nunito-latin-ext-200-italic.woff +0 -0
- package/files/nunito-latin-ext-200-italic.woff2 +0 -0
- package/files/nunito-latin-ext-200-normal.woff +0 -0
- package/files/nunito-latin-ext-200-normal.woff2 +0 -0
- package/files/nunito-latin-ext-300-italic.woff +0 -0
- package/files/nunito-latin-ext-300-italic.woff2 +0 -0
- package/files/nunito-latin-ext-300-normal.woff +0 -0
- package/files/nunito-latin-ext-300-normal.woff2 +0 -0
- package/files/nunito-latin-ext-400-italic.woff +0 -0
- package/files/nunito-latin-ext-400-italic.woff2 +0 -0
- package/files/nunito-latin-ext-400-normal.woff +0 -0
- package/files/nunito-latin-ext-400-normal.woff2 +0 -0
- package/files/nunito-latin-ext-500-italic.woff +0 -0
- package/files/nunito-latin-ext-500-italic.woff2 +0 -0
- package/files/nunito-latin-ext-500-normal.woff +0 -0
- package/files/nunito-latin-ext-500-normal.woff2 +0 -0
- package/files/nunito-latin-ext-600-italic.woff +0 -0
- package/files/nunito-latin-ext-600-italic.woff2 +0 -0
- package/files/nunito-latin-ext-600-normal.woff +0 -0
- package/files/nunito-latin-ext-600-normal.woff2 +0 -0
- package/files/nunito-latin-ext-700-italic.woff +0 -0
- package/files/nunito-latin-ext-700-italic.woff2 +0 -0
- package/files/nunito-latin-ext-700-normal.woff +0 -0
- package/files/nunito-latin-ext-700-normal.woff2 +0 -0
- package/files/nunito-latin-ext-800-italic.woff +0 -0
- package/files/nunito-latin-ext-800-italic.woff2 +0 -0
- package/files/nunito-latin-ext-800-normal.woff +0 -0
- package/files/nunito-latin-ext-800-normal.woff2 +0 -0
- package/files/nunito-latin-ext-900-italic.woff +0 -0
- package/files/nunito-latin-ext-900-italic.woff2 +0 -0
- package/files/nunito-latin-ext-900-normal.woff +0 -0
- package/files/nunito-latin-ext-900-normal.woff2 +0 -0
- package/files/nunito-latin-ext-variable-wghtOnly-italic.woff2 +0 -0
- package/files/nunito-latin-ext-variable-wghtOnly-normal.woff2 +0 -0
- package/files/nunito-latin-variable-wghtOnly-italic.woff2 +0 -0
- package/files/nunito-latin-variable-wghtOnly-normal.woff2 +0 -0
- package/files/nunito-vietnamese-200-italic.woff +0 -0
- package/files/nunito-vietnamese-200-italic.woff2 +0 -0
- package/files/nunito-vietnamese-200-normal.woff +0 -0
- package/files/nunito-vietnamese-200-normal.woff2 +0 -0
- package/files/nunito-vietnamese-300-italic.woff +0 -0
- package/files/nunito-vietnamese-300-italic.woff2 +0 -0
- package/files/nunito-vietnamese-300-normal.woff +0 -0
- package/files/nunito-vietnamese-300-normal.woff2 +0 -0
- package/files/nunito-vietnamese-400-italic.woff +0 -0
- package/files/nunito-vietnamese-400-italic.woff2 +0 -0
- package/files/nunito-vietnamese-400-normal.woff +0 -0
- package/files/nunito-vietnamese-400-normal.woff2 +0 -0
- package/files/nunito-vietnamese-500-italic.woff +0 -0
- package/files/nunito-vietnamese-500-italic.woff2 +0 -0
- package/files/nunito-vietnamese-500-normal.woff +0 -0
- package/files/nunito-vietnamese-500-normal.woff2 +0 -0
- package/files/nunito-vietnamese-600-italic.woff +0 -0
- package/files/nunito-vietnamese-600-italic.woff2 +0 -0
- package/files/nunito-vietnamese-600-normal.woff +0 -0
- package/files/nunito-vietnamese-600-normal.woff2 +0 -0
- package/files/nunito-vietnamese-700-italic.woff +0 -0
- package/files/nunito-vietnamese-700-italic.woff2 +0 -0
- package/files/nunito-vietnamese-700-normal.woff +0 -0
- package/files/nunito-vietnamese-700-normal.woff2 +0 -0
- package/files/nunito-vietnamese-800-italic.woff +0 -0
- package/files/nunito-vietnamese-800-italic.woff2 +0 -0
- package/files/nunito-vietnamese-800-normal.woff +0 -0
- package/files/nunito-vietnamese-800-normal.woff2 +0 -0
- package/files/nunito-vietnamese-900-italic.woff +0 -0
- package/files/nunito-vietnamese-900-italic.woff2 +0 -0
- package/files/nunito-vietnamese-900-normal.woff +0 -0
- package/files/nunito-vietnamese-900-normal.woff2 +0 -0
- package/files/nunito-vietnamese-variable-wghtOnly-italic.woff2 +0 -0
- package/files/nunito-vietnamese-variable-wghtOnly-normal.woff2 +0 -0
- package/index.d.ts +1 -0
- package/index.esm.css +1537 -203
- package/index.esm.css.gz +0 -0
- package/index.esm.js +1 -1
- package/index.esm.js.gz +0 -0
- package/index.esm.min.css +1820 -0
- package/index.esm.min.css.gz +0 -0
- package/index.html +1 -2
- package/js-core.esm.js +637 -65
- package/js-core.esm.js.gz +0 -0
- package/js-core.esm10.js +1 -1
- package/js-core.esm10.js.gz +0 -0
- package/js-core.esm11.js +80 -1
- package/js-core.esm11.js.gz +0 -0
- package/js-core.esm12.js +1 -1
- package/js-core.esm12.js.gz +0 -0
- package/js-core.esm13.js +596 -1
- package/js-core.esm13.js.gz +0 -0
- package/js-core.esm14.js +1 -1
- package/js-core.esm14.js.gz +0 -0
- package/js-core.esm15.js +1 -22
- package/js-core.esm15.js.gz +0 -0
- package/js-core.esm16.js +1 -1
- package/js-core.esm16.js.gz +0 -0
- package/js-core.esm17.js +1 -595
- package/js-core.esm17.js.gz +0 -0
- package/js-core.esm18.js +1 -1
- package/js-core.esm18.js.gz +0 -0
- package/js-core.esm19.js +1 -1
- package/js-core.esm19.js.gz +0 -0
- package/js-core.esm2.js +1 -1
- package/js-core.esm2.js.gz +0 -0
- package/js-core.esm20.js +240 -1
- package/js-core.esm20.js.gz +0 -0
- package/js-core.esm21.js +20 -1
- package/js-core.esm21.js.gz +0 -0
- package/js-core.esm22.js +1 -1
- package/js-core.esm22.js.gz +0 -0
- package/js-core.esm23.js +1 -1
- package/js-core.esm23.js.gz +0 -0
- package/js-core.esm24.js +1 -1
- package/js-core.esm24.js.gz +0 -0
- package/js-core.esm25.js +1 -1
- package/js-core.esm25.js.gz +0 -0
- package/js-core.esm26.js +1 -1
- package/js-core.esm26.js.gz +0 -0
- package/js-core.esm27.js +1 -230
- package/js-core.esm27.js.gz +0 -0
- package/js-core.esm28.js +1 -60
- package/js-core.esm28.js.gz +0 -0
- package/js-core.esm29.js +2 -1
- package/js-core.esm29.js.gz +0 -0
- package/js-core.esm3.js +1 -1
- package/js-core.esm3.js.gz +0 -0
- package/js-core.esm30.js +1 -1
- package/js-core.esm30.js.gz +0 -0
- package/js-core.esm31.js +135 -1
- package/js-core.esm31.js.gz +0 -0
- package/js-core.esm32.js +214 -1
- package/js-core.esm32.js.gz +0 -0
- package/js-core.esm33.js +39 -1
- package/js-core.esm33.js.gz +0 -0
- package/js-core.esm34.js +1 -14
- package/js-core.esm34.js.gz +0 -0
- package/js-core.esm35.js +1 -12
- package/js-core.esm35.js.gz +0 -0
- package/js-core.esm36.js +37 -54
- package/js-core.esm36.js.gz +0 -0
- package/js-core.esm37.js +1 -1
- package/js-core.esm37.js.gz +0 -0
- package/js-core.esm38.js +1 -88
- package/js-core.esm38.js.gz +0 -0
- package/js-core.esm39.js +1 -226
- package/js-core.esm39.js.gz +0 -0
- package/js-core.esm4.js +13 -1
- package/js-core.esm4.js.gz +0 -0
- package/js-core.esm40.js +31 -35
- package/js-core.esm40.js.gz +0 -0
- package/js-core.esm41.js +1 -1
- package/js-core.esm41.js.gz +0 -0
- package/js-core.esm42.js +29 -1
- package/js-core.esm42.js.gz +0 -0
- package/js-core.esm43.js +98 -1
- package/js-core.esm43.js.gz +0 -0
- package/js-core.esm44.js +64 -1
- package/js-core.esm44.js.gz +0 -0
- package/js-core.esm45.js +13 -29
- package/js-core.esm45.js.gz +0 -0
- package/js-core.esm46.js +1 -1
- package/js-core.esm46.js.gz +0 -0
- package/js-core.esm47.js +1 -1
- package/js-core.esm47.js.gz +0 -0
- package/js-core.esm48.js +54 -1
- package/js-core.esm48.js.gz +0 -0
- package/js-core.esm49.js +111 -0
- package/js-core.esm49.js.gz +0 -0
- package/js-core.esm5.js +1 -1
- package/js-core.esm5.js.gz +0 -0
- package/js-core.esm50.js +164 -0
- package/js-core.esm50.js.gz +0 -0
- package/js-core.esm51.js +75 -0
- package/js-core.esm51.js.gz +0 -0
- package/js-core.esm52.js +15 -0
- package/js-core.esm52.js.gz +0 -0
- package/js-core.esm53.js +1 -0
- package/js-core.esm53.js.gz +0 -0
- package/js-core.esm54.js +93 -0
- package/js-core.esm54.js.gz +0 -0
- package/js-core.esm55.js +64 -0
- package/js-core.esm55.js.gz +0 -0
- package/js-core.esm56.js +35 -0
- package/js-core.esm56.js.gz +0 -0
- package/js-core.esm57.js +1 -0
- package/js-core.esm57.js.gz +0 -0
- package/js-core.esm58.js +14 -0
- package/js-core.esm58.js.gz +0 -0
- package/js-core.esm59.js +1 -0
- package/js-core.esm59.js.gz +0 -0
- package/js-core.esm6.js +1 -20
- package/js-core.esm6.js.gz +0 -0
- package/js-core.esm60.js +1 -0
- package/js-core.esm60.js.gz +0 -0
- package/js-core.esm61.js +132 -0
- package/js-core.esm61.js.gz +0 -0
- package/js-core.esm62.js +349 -0
- package/js-core.esm62.js.gz +0 -0
- package/js-core.esm63.js +38 -0
- package/js-core.esm63.js.gz +0 -0
- package/js-core.esm64.js +1 -0
- package/js-core.esm64.js.gz +0 -0
- package/js-core.esm65.js +1 -0
- package/js-core.esm65.js.gz +0 -0
- package/js-core.esm66.js +20 -0
- package/js-core.esm66.js.gz +0 -0
- package/js-core.esm67.js +16 -0
- package/js-core.esm67.js.gz +0 -0
- package/js-core.esm68.js +1 -0
- package/js-core.esm68.js.gz +0 -0
- package/js-core.esm69.js +1 -0
- package/js-core.esm69.js.gz +0 -0
- package/js-core.esm7.js +1 -136
- package/js-core.esm7.js.gz +0 -0
- package/js-core.esm70.js +1 -0
- package/js-core.esm70.js.gz +0 -0
- package/js-core.esm71.js +1 -0
- package/js-core.esm71.js.gz +0 -0
- package/js-core.esm72.js +1 -0
- package/js-core.esm72.js.gz +0 -0
- package/js-core.esm73.js +1 -0
- package/js-core.esm73.js.gz +0 -0
- package/js-core.esm74.js +1 -0
- package/js-core.esm74.js.gz +0 -0
- package/js-core.esm75.js +1 -0
- package/js-core.esm75.js.gz +0 -0
- package/js-core.esm76.js +1 -0
- package/js-core.esm76.js.gz +0 -0
- package/js-core.esm77.js +1 -0
- package/js-core.esm77.js.gz +0 -0
- package/js-core.esm78.js +1 -0
- package/js-core.esm78.js.gz +0 -0
- package/js-core.esm79.js +1 -0
- package/js-core.esm79.js.gz +0 -0
- package/js-core.esm8.js +1 -1
- package/js-core.esm8.js.gz +0 -0
- package/js-core.esm80.js +1 -0
- package/js-core.esm80.js.gz +0 -0
- package/js-core.esm81.js +1 -0
- package/js-core.esm81.js.gz +0 -0
- package/js-core.esm82.js +1 -0
- package/js-core.esm82.js.gz +0 -0
- package/js-core.esm83.js +1 -0
- package/js-core.esm83.js.gz +0 -0
- package/js-core.esm84.js +1 -0
- package/js-core.esm84.js.gz +0 -0
- package/js-core.esm85.js +1 -0
- package/js-core.esm85.js.gz +0 -0
- package/js-core.esm86.js +1 -0
- package/js-core.esm86.js.gz +0 -0
- package/js-core.esm87.js +1 -0
- package/js-core.esm87.js.gz +0 -0
- package/js-core.esm88.js +1 -0
- package/js-core.esm88.js.gz +0 -0
- package/js-core.esm89.js +1 -0
- package/js-core.esm89.js.gz +0 -0
- package/js-core.esm9.js +1 -1
- package/js-core.esm9.js.gz +0 -0
- package/js-core.esm90.js +1 -0
- package/js-core.esm90.js.gz +0 -0
- package/js-core.esm91.js +1 -0
- package/js-core.esm91.js.gz +0 -0
- package/js-core.umd.css +1545 -211
- package/js-core.umd.css.gz +0 -0
- package/js-core.umd.js +2124 -278
- package/js-core.umd.js.gz +0 -0
- package/js-core.umd.min.css +1377 -105
- package/js-core.umd.min.css.gz +0 -0
- package/lib/js.d.ts +6 -48
- package/locales/en.json +1 -1
- package/locales/es.json +1 -1
- package/locales/fr.json +1 -1
- package/package.json +76 -31
- package/files/dosis-latin-200.woff +0 -0
- package/files/dosis-latin-200.woff2 +0 -0
- package/files/dosis-latin-300.woff +0 -0
- package/files/dosis-latin-300.woff2 +0 -0
- package/files/dosis-latin-500.woff +0 -0
- package/files/dosis-latin-500.woff2 +0 -0
- package/files/dosis-latin-600.woff +0 -0
- package/files/dosis-latin-600.woff2 +0 -0
- package/files/dosis-latin-700.woff +0 -0
- package/files/dosis-latin-700.woff2 +0 -0
- package/files/dosis-latin-800.woff +0 -0
- package/files/dosis-latin-800.woff2 +0 -0
- package/files/nunito-latin-200.woff +0 -0
- package/files/nunito-latin-200.woff2 +0 -0
- package/files/nunito-latin-200italic.woff +0 -0
- package/files/nunito-latin-200italic.woff2 +0 -0
- package/files/nunito-latin-300.woff +0 -0
- package/files/nunito-latin-300.woff2 +0 -0
- package/files/nunito-latin-300italic.woff +0 -0
- package/files/nunito-latin-300italic.woff2 +0 -0
- package/files/nunito-latin-400.woff2 +0 -0
- package/files/nunito-latin-400italic.woff +0 -0
- package/files/nunito-latin-400italic.woff2 +0 -0
- package/files/nunito-latin-600.woff +0 -0
- package/files/nunito-latin-600.woff2 +0 -0
- package/files/nunito-latin-600italic.woff +0 -0
- package/files/nunito-latin-600italic.woff2 +0 -0
- package/files/nunito-latin-700.woff +0 -0
- package/files/nunito-latin-700.woff2 +0 -0
- package/files/nunito-latin-700italic.woff +0 -0
- package/files/nunito-latin-700italic.woff2 +0 -0
- package/files/nunito-latin-800.woff +0 -0
- package/files/nunito-latin-800.woff2 +0 -0
- package/files/nunito-latin-800italic.woff +0 -0
- package/files/nunito-latin-800italic.woff2 +0 -0
- package/files/nunito-latin-900.woff +0 -0
- package/files/nunito-latin-900.woff2 +0 -0
- package/files/nunito-latin-900italic.woff +0 -0
- package/files/nunito-latin-900italic.woff2 +0 -0
- package/lib/ApplicationDialog.d.ts +0 -2
- package/lib/components/SupportCenterPixel.d.ts +0 -2
- package/lib/data.redux.d.ts +0 -2
- package/lib/registry.d.ts +0 -13
- package/lib/snackbar.d.ts +0 -14
- package/lib/validateConfig.d.ts +0 -2
- package/lib/widgetHandler.d.ts +0 -17
package/js-core.esm80.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{x as SHARED_TEXT$1}from"./js-core.esm63.js";import{m as makeStyles,j as jsxRuntime,hY as img$y,T as Typography,B as Box,a6 as Stack,a2 as Divider,r as react,cx as Avatar,eg as Engines,dj as VerifiedFilled,cT as statusPill}from"./js-core.esm.js";const StatusPill=statusPill["jsx"],ResourceCardStatus=({cardType:e,status:t})=>jsxRuntime.exports.jsx(StatusPill,{statusType:e,status:t}),ResourceCard=e=>{var t={height:e.height||"150px",padding:"30px",borderBottom:"1px solid #D5DFE9","&:hover":{backgroundColor:"#f2f5f9",cursor:"pointer"}},s="application"!==(null==e?void 0:e.cardType),r=(null==e?void 0:e.categories)&&0<(null==e?void 0:e.categories.map(e=>e.trim()).filter(e=>!!e).length),a=(null==e?void 0:e.tags)&&0<(null==e?void 0:e.tags.map(e=>e.trim()).filter(e=>!!e).length),i=s&&!(null!=e&&e.hideDivider);return jsxRuntime.exports.jsx(Box,Object.assign({"data-testid":"resource-panel.resources.resource-card",sx:t,onClick:null==e?void 0:e.onClick},{children:jsxRuntime.exports.jsxs(Stack,Object.assign({height:"100%",direction:"row"},{children:[jsxRuntime.exports.jsxs(Stack,Object.assign({direction:"row",width:s?"35%":"100%"},{children:[jsxRuntime.exports.jsx(CardAvatar,Object.assign({},e)),jsxRuntime.exports.jsxs(Stack,Object.assign({sx:{gap:"5px"},width:"85%"},{children:[jsxRuntime.exports.jsx(CardName,{title:null==e?void 0:e.name,isCertified:null==e?void 0:e.isCertified}),(null==e?void 0:e.status)&&jsxRuntime.exports.jsx(ResourceCardStatus,{cardType:null==e?void 0:e.cardType,status:e.status}),jsxRuntime.exports.jsx(CardDescription,{description:null==e?void 0:e.description})]}))]})),i&&jsxRuntime.exports.jsx(Box,Object.assign({sx:{width:"5%",display:"grid",placeItems:"center",height:"100%"}},{children:jsxRuntime.exports.jsx(Divider,{sx:{height:"100%"},orientation:"vertical"})})),jsxRuntime.exports.jsxs(Stack,Object.assign({sx:{flexGrow:"1",width:"0%"}},{children:[jsxRuntime.exports.jsx(Stack,Object.assign({sx:{gap:"15px"},direction:"row",flexWrap:"wrap"},{children:jsxRuntime.exports.jsx(CardDataRender,Object.assign({},e))})),(null==e?void 0:e.industries)&&jsxRuntime.exports.jsx(CardDataItem,{label:SHARED_TEXT$1.resourceCardText.industry(),value:jsxRuntime.exports.jsx(CardBadgeList,{items:null==e?void 0:e.industries}),style:{marginTop:"10px"}}),(null==e?void 0:e.author)&&jsxRuntime.exports.jsx(CardDataItem,{label:SHARED_TEXT$1.resourceCardText.author(),value:e.author}),r&&jsxRuntime.exports.jsx(CardDataItem,{label:SHARED_TEXT$1.resourceCardText.category(),value:jsxRuntime.exports.jsx(CardBadgeList,{items:null==e?void 0:e.categories}),style:{marginTop:"10px"}}),a&&jsxRuntime.exports.jsx(CardDataItem,{label:SHARED_TEXT$1.resourceCardText.tags(),value:jsxRuntime.exports.jsx(CardBadgeList,{items:null==e?void 0:e.tags}),style:{marginTop:"10px"}}),(null==e?void 0:e.packages)&&jsxRuntime.exports.jsx(CardDataItem,{label:SHARED_TEXT$1.resourceCardText.packages(),value:jsxRuntime.exports.jsx(CardBadgeList,{items:null==e?void 0:e.packages}),style:{marginTop:"10px"}})]}))]}))}))},checkNull=e=>void 0!==e,CardAvatar=e=>{var t={background:"#F2F5F9",color:"#555F7C",marginRight:"15px"};const[s,r]=react.exports.useState(!0);return jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment,{children:[" ",!(null!=e&&e.hideAvatar)&&jsxRuntime.exports.jsx(Box,{children:null!=e&&e.avatarUrl&&s?jsxRuntime.exports.jsx(Avatar,{"data-testid":"resource-category-avatar",src:e.avatarUrl,sx:t,imgProps:{onError:()=>r(!1)}}):jsxRuntime.exports.jsx(Avatar,Object.assign({"data-testid":"resource-category-avatar",sx:t},{children:null!=e&&e.fallbackIcon?jsxRuntime.exports.jsx(jsxRuntime.exports.Fragment,{children:e.fallbackIcon}):jsxRuntime.exports.jsx(Engines,{})}))})]})},CardName=({title:e,isCertified:t})=>jsxRuntime.exports.jsxs(Stack,Object.assign({alignItems:"flex-start",direction:"row"},{children:[jsxRuntime.exports.jsx(Typography,Object.assign({variant:"h6",color:"textPrimary",sx:{fontSize:"16px",height:"22px",fontFamily:"Nunito",color:"#2A323C"},noWrap:!0,"data-testid":"resource-category-title"},{children:e})),t&&jsxRuntime.exports.jsx(VerifiedFilled,{sx:{height:"15px",width:"15px",color:"#FFBB0A",borderRadius:"50%",display:"inline-block",position:"relative",marginLeft:"6px",top:"2px"}})]})),CardDescription=({description:e})=>e?jsxRuntime.exports.jsx(Box,{children:jsxRuntime.exports.jsx(Typography,Object.assign({component:"div",sx:{visibility:"visible",WebkitLineClamp:"2",WebkitBoxOrient:"vertical",display:"-webkit-box",overflow:"hidden",wordBreak:"break-word",textOverflow:"ellipsis"},"data-testid":"resource-category-description",variant:"body2",color:"textSecondary"},{children:e}))}):jsxRuntime.exports.jsx(jsxRuntime.exports.Fragment,{}),BadgeItem=({item:e})=>e.trim()?jsxRuntime.exports.jsx(Box,Object.assign({sx:{padding:"3px 10px",fontSize:"10px",background:"#F5F5F5",border:"0.5px solid #C3D9F3",borderRadius:"2px",lineHeight:"1em",whiteSpace:"nowrap"}},{children:e})):null,CardBadgeList=({items:e})=>{var t,s,r;return e&&null!=e&&e.length?(t=e["length"],r=0<(s=t-4),jsxRuntime.exports.jsxs(Stack,Object.assign({height:"fit-content",direction:"row",spacing:1,alignItems:"center"},{children:[e.slice(0,r?4:t).map(e=>jsxRuntime.exports.jsx(BadgeItem,{item:e},e)),r?jsxRuntime.exports.jsx(Box,{children:jsxRuntime.exports.jsx(Typography,Object.assign({sx:{fontSize:"small",fontWeight:"bold",opacity:.5}},{children:"+"+s}))}):null]}))):jsxRuntime.exports.jsx("span",{children:"--"})},CardDataItem=({label:e,value:t,style:s={}})=>{return jsxRuntime.exports.jsxs(Stack,Object.assign({direction:"row",spacing:1,alignItems:"center",sx:Object.assign({width:"30%",marginBottom:"15px"},s)},{children:[jsxRuntime.exports.jsx(Typography,Object.assign({variant:"caption",sx:{fontWeight:"bold"}},{children:e})),jsxRuntime.exports.jsx(()=>t?"string"==typeof t||"number"==typeof t?jsxRuntime.exports.jsx(Typography,Object.assign({variant:"caption",noWrap:!0},{children:t})):jsxRuntime.exports.jsx(jsxRuntime.exports.Fragment,{children:t}):jsxRuntime.exports.jsx("span",{children:"--"}),{})]}))},CardDataRender=e=>{switch(e.cardType){case"engine":return jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment,{children:[(null==e?void 0:e.categoryClass)&&jsxRuntime.exports.jsx(CardDataItem,{label:SHARED_TEXT$1.resourceCardText.class(),value:null==e?void 0:e.categoryClass}),(null==e?void 0:e.capability)&&jsxRuntime.exports.jsx(CardDataItem,{label:SHARED_TEXT$1.resourceCardText.capability(),value:null==e?void 0:e.capability}),(null==e?void 0:e.deploymentModel)&&jsxRuntime.exports.jsx(CardDataItem,{label:SHARED_TEXT$1.resourceCardText.deployment(),value:null==e?void 0:e.deploymentModel}),(null==e?void 0:e.owner)&&jsxRuntime.exports.jsx(CardDataItem,{label:SHARED_TEXT$1.resourceCardText.owner(),value:null==e?void 0:e.owner}),checkNull(e.price)&&jsxRuntime.exports.jsx(CardDataItem,{label:SHARED_TEXT$1.resourceCardText.price(),value:null==e?void 0:e.price}),(null==e?void 0:e.package)&&jsxRuntime.exports.jsx(CardDataItem,{label:SHARED_TEXT$1.resourceCardText.package(),value:null==e?void 0:e.package})]});case"schema":return jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment,{children:[(null==e?void 0:e.majorVersion)&&jsxRuntime.exports.jsx(CardDataItem,{label:SHARED_TEXT$1.resourceCardText.majorVersion(),value:null==e?void 0:e.majorVersion}),(null==e?void 0:e.minorVersion)&&jsxRuntime.exports.jsx(CardDataItem,{label:SHARED_TEXT$1.resourceCardText.minorVersion(),value:null==e?void 0:e.minorVersion}),(null==e?void 0:e.owner)&&jsxRuntime.exports.jsx(CardDataItem,{label:SHARED_TEXT$1.resourceCardText.owner(),value:null==e?void 0:e.owner})]});case"flow":return jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment,{children:[(null==e?void 0:e.owner)&&jsxRuntime.exports.jsx(CardDataItem,{label:SHARED_TEXT$1.resourceCardText.owner(),value:null==e?void 0:e.owner}),checkNull(e.price)&&jsxRuntime.exports.jsx(CardDataItem,{label:SHARED_TEXT$1.resourceCardText.price(),value:null==e?void 0:e.price}),(null==e?void 0:e.deploymentModel)&&jsxRuntime.exports.jsx(CardDataItem,{label:SHARED_TEXT$1.resourceCardText.deployment(),value:null==e?void 0:e.deploymentModel})]});case"automatePalette":return jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment,{children:[(null==e?void 0:e.moduleRepo)&&jsxRuntime.exports.jsx(CardDataItem,{label:SHARED_TEXT$1.resourceCardText.ModuleRepo(),value:null==e?void 0:e.moduleRepo}),(null==e?void 0:e.majorVersion)&&jsxRuntime.exports.jsx(CardDataItem,{label:SHARED_TEXT$1.resourceCardText.Version(),value:null==e?void 0:e.majorVersion}),(null==e?void 0:e.owner)&&jsxRuntime.exports.jsx(CardDataItem,{label:SHARED_TEXT$1.resourceCardText.owner(),value:null==e?void 0:e.owner})]});default:return jsxRuntime.exports.jsx(jsxRuntime.exports.Fragment,{})}},useStyles=makeStyles()(e=>({emptyStateContainer:{display:"flex",flexDirection:"column",justifyContent:"flex-start",alignItems:"center",paddingTop:e.spacing(18),width:"100%"},emptyImage:{display:"flex",textAlign:"center",width:"200px",height:"200px",marginBottom:e.spacing(2)},message:{userSelect:"none",paddingBottom:e.spacing(2)}})),EmptySearch=()=>{var e=useStyles()["classes"];return jsxRuntime.exports.jsxs("div",Object.assign({className:e.emptyStateContainer,"data-test":"resources-empty-state-search-container"},{children:[jsxRuntime.exports.jsx("img",{"data-test":"resources-empty-state-search-image",alt:"resources-empty-search-image",className:e.emptyImage,src:img$y}),jsxRuntime.exports.jsx(Typography,Object.assign({"data-test":"resources-empty-state-search-title",className:e.message,variant:"h2",color:"textPrimary"},{children:SHARED_TEXT$1.emptySearch.title()})),jsxRuntime.exports.jsx(Typography,Object.assign({"data-test":"resources-empty-state-search-subtitle",className:e.message,variant:"body2",color:"textPrimary"},{children:SHARED_TEXT$1.emptySearch.subtitle()}))]}))};export{EmptySearch as E,ResourceCard as R};
|
|
Binary file
|
package/js-core.esm81.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{o as selectActiveResourceTab,p as selectActiveResourceSearchValues,l as selectors$6,a as actions,x as SHARED_TEXT$1}from"./js-core.esm63.js";import{o as useDispatch,p as useSelector,j as jsxRuntime,fS as tableInfiniteScroll,B as Box,dc as mountPanel}from"./js-core.esm.js";import"./js-core.esm62.js";import{E as EmptySearch,R as ResourceCard}from"./js-core.esm80.js";import"./js-core.esm18.js";import"./js-core.esm9.js";import"./js-core.esm37.js";import"./js-core.esm34.js";const{selectItems,selectHasMore,selectReadStatus,selectOffset}=selectors$6,{TableInfiniteScroll}=tableInfiniteScroll["jsx"],SchemasTable=({isFullScreen:o})=>{const a=useDispatch();var e=useSelector(selectActiveResourceTab),e=!!useSelector(selectActiveResourceSearchValues)[e],s=useSelector(selectItems);var t=useSelector(selectHasMore),r=useSelector(selectOffset),i=useSelector(selectReadStatus);var n=SHARED_TEXT$1.schemas.emptyState,l=SHARED_TEXT$1.schemas.errorState;return jsxRuntime.exports.jsx(jsxRuntime.exports.Fragment,{children:jsxRuntime.exports.jsx(TableInfiniteScroll,{hasMore:t,fetchMore:()=>{a(actions.schemas.readStart(null))},fetchOnMount:0===s.length,TableEmptyStateComponent:e?jsxRuntime.exports.jsx(EmptySearch,{}):void 0,offset:r,items:s,itemHeight:150,isLoading:"pending"===i,error:"failure"===i,TableRowComponent:({item:r})=>{var e;return jsxRuntime.exports.jsx(Box,Object.assign({sx:{width:"100%",height:"149px"}},{children:jsxRuntime.exports.jsx(ResourceCard,{onClick:()=>{var e,s,t;e={name:s="SCHEMA_DETAILS_PANEL",config:{dataRegistryId:null==(e=r)?void 0:e.dataRegistryId}},t={type:"APP_BAR_PANEL_TEMPLATE",marginTop:o?0:55,marginStart:o?0:80,size:"large",zIndex:o?1011:1e3,parentPanelId:"RESOURCE_CENTER",dimmed:0,dimmedStatus:"dimParent",borderBottom:!0},a(mountPanel({panelId:s,microFrontend:e,panelConfig:t}))},height:"150px",cardType:"schema",status:null==r?void 0:r.status,name:(null==(e=null==r?void 0:r.dataRegistry)?void 0:e.name)||"Untitled Schema",description:null==(e=null==r?void 0:r.definition)?void 0:e.description,owner:null==(e=null==r?void 0:r.organization)?void 0:e.name,majorVersion:""+(null==r?void 0:r.majorVersion),minorVersion:""+(null==r?void 0:r.minorVersion),packages:(null==r?void 0:r.packages)||[],hideAvatar:!0})}))},MessageEmptyState:jsxRuntime.exports.jsx(n,{}),MessageErrorState:jsxRuntime.exports.jsx(l,{})})})};export{SchemasTable as default};
|
|
Binary file
|
package/js-core.esm82.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{o as selectActiveResourceTab,p as selectActiveResourceSearchValues,s as selectors$2,a as actions,x as SHARED_TEXT$1}from"./js-core.esm63.js";import{o as useDispatch,p as useSelector,j as jsxRuntime,fS as tableInfiniteScroll,B as Box,dc as mountPanel}from"./js-core.esm.js";import"./js-core.esm62.js";import{E as EmptySearch,R as ResourceCard}from"./js-core.esm80.js";import"./js-core.esm18.js";import"./js-core.esm9.js";import"./js-core.esm37.js";import"./js-core.esm34.js";const{selectItems,selectHasMore,selectOffset,selectReadStatus}=selectors$2,{TableInfiniteScroll}=tableInfiniteScroll["jsx"],ApplicationsTable=({isFullScreen:o})=>{const r=useDispatch();var e=useSelector(selectActiveResourceTab),e=!!useSelector(selectActiveResourceSearchValues)[e],s=useSelector(selectItems);var t=useSelector(selectHasMore),a=useSelector(selectOffset),i=useSelector(selectReadStatus),c=SHARED_TEXT$1.applications.emptyState,n=SHARED_TEXT$1.applications.errorState;return jsxRuntime.exports.jsx(TableInfiniteScroll,{testId:"os-resource-center-resources-applications",hasMore:t,fetchMore:()=>{r(actions.applications.readStart(null))},fetchOnMount:0===s.length,TableEmptyStateComponent:e?jsxRuntime.exports.jsx(EmptySearch,{}):void 0,offset:a,items:s,itemHeight:150,isLoading:"pending"===i,error:"failure"===i,TableRowComponent:({item:a})=>{return jsxRuntime.exports.jsx(Box,Object.assign({sx:{width:"100%",height:"150px"}},{children:jsxRuntime.exports.jsx(ResourceCard,{height:"150px",onClick:()=>{var e=null==a?void 0:a.id,s={name:"APPLICATION_DETAILS_PANEL",config:{applicationId:e}},t={type:"APP_BAR_PANEL_TEMPLATE",marginTop:o?0:55,marginStart:o?0:80,size:"large",zIndex:o?1011:1e3,parentPanelId:"RESOURCE_CENTER",dimmed:0,dimmedStatus:"dimParent",borderBottom:!0};e&&r(mountPanel({panelId:"APPLICATION_DETAILS_PANEL",microFrontend:s,panelConfig:t}))},cardType:"application",name:a.name,description:a.description,status:a.status,avatarUrl:a.signedIconUrl||a.signedIconSvg})}))},MessageEmptyState:jsxRuntime.exports.jsx(c,{}),MessageErrorState:jsxRuntime.exports.jsx(n,{})})};export{ApplicationsTable,ApplicationsTable as default};
|
|
Binary file
|
package/js-core.esm83.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{o as selectActiveResourceTab,p as selectActiveResourceSearchValues,h as selectors$4,a as actions,x as SHARED_TEXT$1}from"./js-core.esm63.js";import{o as useDispatch,p as useSelector,aF as rootApiSelector,aD as preferredLanguageSelector,aI as controllerNodeRedImageSelector,aK as automateControllerUrlSelector,aJ as controllerUrlSelector,j as jsxRuntime,fS as tableInfiniteScroll,B as Box,hP as FlowCenter2,dd as hidePanel,dc as mountPanel}from"./js-core.esm.js";import"./js-core.esm62.js";import{E as EmptySearch,R as ResourceCard}from"./js-core.esm80.js";import{I as IFlowWidgetTabs,a as IFlowWidgetActivityTabs}from"./js-core.esm15.js";import"./js-core.esm18.js";import"./js-core.esm9.js";import"./js-core.esm37.js";import"./js-core.esm34.js";const{selectItems,selectHasMore,selectReadStatus,selectOffset}=selectors$4,{TableInfiniteScroll}=tableInfiniteScroll["jsx"],FlowsTable=({isFullScreen:r})=>{const l=useDispatch();var e=useSelector(selectActiveResourceTab),t=useSelector(selectActiveResourceSearchValues);const a=useSelector(rootApiSelector),i=useSelector(preferredLanguageSelector)||"en",n=useSelector(controllerNodeRedImageSelector);var o=useSelector(automateControllerUrlSelector);let c=useSelector(controllerUrlSelector);c=c||o.replace("automate-","");o=!!t[e];const d=()=>{l(actions.flows.readStart(null))};t=useSelector(selectItems);var e=useSelector(selectHasMore),s=useSelector(selectOffset),u=useSelector(selectReadStatus);var m=SHARED_TEXT$1.flows.emptyState,p=SHARED_TEXT$1.flows.errorState;return jsxRuntime.exports.jsx(TableInfiniteScroll,{hasMore:e,fetchMore:d,fetchOnMount:0===t.length,TableEmptyStateComponent:o?jsxRuntime.exports.jsx(EmptySearch,{}):void 0,offset:s,items:t,itemHeight:150,isLoading:"pending"===u,error:"failure"===u,TableRowComponent:({item:s})=>{var e="149px";return jsxRuntime.exports.jsx(Box,Object.assign({onClick:()=>console.log("Item Clicked",s),sx:{width:"100%",height:e,borderBottom:"1px solid #D5DFE9","&:hover":{backgroundColor:"#f2f5f9",cursor:"pointer"}}},{children:jsxRuntime.exports.jsx(ResourceCard,{onClick:()=>{{var e=s;const o="FLOW_DETAILS_PANEL";var e={name:o,config:{engineId:e.id,openFlowRunningInstances:!1,config:{apiRoot:a,controllerNodeRedImage:n,controllerUrl:c,defaultCluster:"prd5-21xbyq0x-4h0s-o685-snas-oovhdai552v9",graphQLEndpoint:"v3/graphql"},locale:i,tabs:[IFlowWidgetTabs.Overview,IFlowWidgetTabs.Versions,IFlowWidgetTabs.Activity],activityTabs:[IFlowWidgetActivityTabs.Jobs,IFlowWidgetActivityTabs.ScheduledJobs],onExitClicked:()=>l(hidePanel(o)),onDeleteFlow:()=>{d(),l(hidePanel(o))}}},t={type:"APP_BAR_PANEL_TEMPLATE",marginTop:r?0:55,marginStart:r?0:80,size:"large",zIndex:r?1011:1001,parentPanelId:"RESOURCE_CENTER",dimmed:0,dimmedStatus:"dimParent",borderBottom:!0};l(mountPanel({panelId:o,microFrontend:e,panelConfig:t}))}},height:e,cardType:"flow",name:null==s?void 0:s.name,status:null==s?void 0:s.state,description:null==s?void 0:s.description,industries:null==s?void 0:s.industries,price:null==s?void 0:s.price,deploymentModel:null==s?void 0:s.deploymentModel,owner:null==(e=null==s?void 0:s.ownerOrganization)?void 0:e.name,isCertified:null==(e=null==s?void 0:s.testingDetails)?void 0:e.isCertified,avatarUrl:(null==s?void 0:s.signedLogoPath)||(null==s?void 0:s.signedIconPath),fallbackIcon:jsxRuntime.exports.jsx(FlowCenter2,{})})}))},MessageEmptyState:jsxRuntime.exports.jsx(m,{}),MessageErrorState:jsxRuntime.exports.jsx(p,{})})};export{FlowsTable as default};
|
|
Binary file
|
package/js-core.esm84.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{o as selectActiveResourceTab,p as selectActiveResourceSearchValues,e as selectors$3,a as actions,x as SHARED_TEXT$1,y as PANEL_ID$1}from"./js-core.esm63.js";import{o as useDispatch,p as useSelector,j as jsxRuntime,fS as tableInfiniteScroll,B as Box,hJ as FlowTemplate,dc as mountPanel}from"./js-core.esm.js";import"./js-core.esm62.js";import{E as EmptySearch,R as ResourceCard}from"./js-core.esm80.js";import"./js-core.esm18.js";import"./js-core.esm9.js";import"./js-core.esm37.js";import"./js-core.esm34.js";const{selectItems,selectHasMore,selectReadStatus,selectOffset}=selectors$3,{TableInfiniteScroll}=tableInfiniteScroll["jsx"],itemHeight=150,TableRow=({item:e,onClick:t})=>{var s=itemHeight-1+"px";return jsxRuntime.exports.jsx(Box,Object.assign({sx:{width:"100%",height:s,borderBottom:"1px solid #D5DFE9","&:hover":{backgroundColor:"#f2f5f9",cursor:"pointer"}}},{children:jsxRuntime.exports.jsx(ResourceCard,{onClick:t,height:s,cardType:"flow",name:null==e?void 0:e.title,author:null==e?void 0:e.author,description:null==e?void 0:e.description,categories:null==e?void 0:e.categories,tags:null==e?void 0:e.tags,deploymentModel:null==e?void 0:e.deploymentModel,owner:null==(t=null==e?void 0:e.ownerOrganization)?void 0:t.name,isCertified:null==(s=null==e?void 0:e.testingDetails)?void 0:s.isCertified,avatarUrl:(null==e?void 0:e.signedLogoPath)||(null==e?void 0:e.signedIconPath),fallbackIcon:jsxRuntime.exports.jsx(FlowTemplate,{})})}))},FlowTemplatesTable=({isFullScreen:o})=>{const r=useDispatch();var e=useSelector(selectActiveResourceTab),e=!!useSelector(selectActiveResourceSearchValues)[e],t=useSelector(selectItems),s=useSelector(selectHasMore),l=useSelector(selectOffset),i=useSelector(selectReadStatus),a=SHARED_TEXT$1.flows.emptyState,n=SHARED_TEXT$1.flows.errorState;return jsxRuntime.exports.jsx(TableInfiniteScroll,{hasMore:s,fetchMore:()=>{r(actions.flowTemplates.readStart(null))},fetchOnMount:0===t.length,TableEmptyStateComponent:e?jsxRuntime.exports.jsx(EmptySearch,{}):void 0,offset:l,items:t,itemHeight:itemHeight,isLoading:"pending"===i,error:"failure"===i,TableRowComponent:({item:e,index:t})=>{return jsxRuntime.exports.jsx(TableRow,{item:e,index:t,onClick:(s=null==e?void 0:e.id,()=>{var e={name:PANEL_ID$1,config:{templateId:s}},t={type:"APP_BAR_PANEL_TEMPLATE",marginTop:o?0:55,marginStart:o?0:80,size:"large",zIndex:o?1011:1e3,parentPanelId:"RESOURCE_CENTER",dimmed:0,dimmedStatus:"dimParent",borderBottom:!0};r(mountPanel({panelId:PANEL_ID$1,microFrontend:e,panelConfig:t}))})});var s},MessageEmptyState:jsxRuntime.exports.jsx(a,{}),MessageErrorState:jsxRuntime.exports.jsx(n,{})})};export{FlowTemplatesTable as default};
|
|
Binary file
|
package/js-core.esm85.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{o as selectActiveResourceTab,p as selectActiveResourceSearchValues,b as selectors$1,a as actions,x as SHARED_TEXT$1}from"./js-core.esm63.js";import{o as useDispatch,p as useSelector,j as jsxRuntime,fS as tableInfiniteScroll,B as Box,hZ as AutomateNode,dc as mountPanel}from"./js-core.esm.js";import"./js-core.esm62.js";import{E as EmptySearch,R as ResourceCard}from"./js-core.esm80.js";import"./js-core.esm18.js";import"./js-core.esm9.js";import"./js-core.esm37.js";import"./js-core.esm34.js";const{selectItems,selectHasMore,selectReadStatus,selectOffset}=selectors$1,{TableInfiniteScroll}=tableInfiniteScroll["jsx"],itemHeight=150,getAutomateNode=e=>{var e=e["details"]["automateNode"];return e},TableRow=({item:e,onClick:t})=>{var e=getAutomateNode(e),s=itemHeight-1+"px";return jsxRuntime.exports.jsx(Box,Object.assign({sx:{width:"100%",height:s,borderBottom:"1px solid #D5DFE9","&:hover":{backgroundColor:"#f2f5f9",cursor:"pointer"}}},{children:jsxRuntime.exports.jsx(ResourceCard,{onClick:t,height:s,cardType:"flow",name:(null==e?void 0:e.module)||"--",author:null==e?void 0:e.author,description:null==e?void 0:e.desc,majorVersion:null==e?void 0:e.version,fallbackIcon:jsxRuntime.exports.jsx(AutomateNode,{})})}))},AutomateNodesTable=({isFullScreen:r})=>{const a=useDispatch();var e=useSelector(selectActiveResourceTab),e=!!useSelector(selectActiveResourceSearchValues)[e],t=useSelector(selectItems),s=useSelector(selectHasMore),o=useSelector(selectOffset),i=useSelector(selectReadStatus),l=SHARED_TEXT$1.automateNodes.emptyState,m=SHARED_TEXT$1.automateNodes.errorState;return jsxRuntime.exports.jsx(TableInfiniteScroll,{hasMore:s,fetchMore:()=>{a(actions.automateNodes.readStart(null))},fetchOnMount:0===t.length,TableEmptyStateComponent:e?jsxRuntime.exports.jsx(EmptySearch,{}):void 0,offset:o,items:t,itemHeight:itemHeight,isLoading:"pending"===i,error:"failure"===i,TableRowComponent:({item:e,index:t})=>{return jsxRuntime.exports.jsx(TableRow,{item:e,index:t,onClick:(o=getAutomateNode(e),()=>{var e="NODE_DETAILS_PANEL",t={name:e,config:{payload:o}},s={type:"APP_BAR_PANEL_TEMPLATE",marginTop:r?0:55,marginStart:r?0:80,size:"large",zIndex:r?1011:1e3,parentPanelId:"RESOURCE_CENTER",dimmed:0,dimmedStatus:"dimParent",borderBottom:!0};a(mountPanel({panelId:e,microFrontend:t,panelConfig:s}))})});var o},MessageEmptyState:jsxRuntime.exports.jsx(l,{}),MessageErrorState:jsxRuntime.exports.jsx(m,{})})};export{AutomateNodesTable as default};
|
|
Binary file
|
package/js-core.esm86.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{o as selectActiveResourceTab,p as selectActiveResourceSearchValues,c as selectors,a as actions,x as SHARED_TEXT$1}from"./js-core.esm63.js";import{o as useDispatch,p as useSelector,j as jsxRuntime,fS as tableInfiniteScroll,B as Box,hO as Palette,dc as mountPanel}from"./js-core.esm.js";import"./js-core.esm62.js";import{E as EmptySearch,R as ResourceCard}from"./js-core.esm80.js";import"./js-core.esm18.js";import"./js-core.esm9.js";import"./js-core.esm37.js";import"./js-core.esm34.js";const{selectItems,selectHasMore,selectReadStatus,selectOffset}=selectors,{TableInfiniteScroll}=tableInfiniteScroll["jsx"],itemHeight=150,getAutomatePalette=e=>{var e=e["details"]["nodeModules"];return e},TableRow=({item:e,onClick:t})=>{var s=getAutomatePalette(e),o=itemHeight-1+"px";return jsxRuntime.exports.jsx(Box,Object.assign({sx:{width:"100%",height:o,borderBottom:"1px solid #D5DFE9","&:hover":{backgroundColor:"#f2f5f9",cursor:"pointer"}}},{children:jsxRuntime.exports.jsx(ResourceCard,{onClick:t,height:o,cardType:"automatePalette",name:e.name||(null==(o=null==(t=e.details)?void 0:t.veritoneFile)?void 0:o.fileName)||"--",moduleRepo:null==s?void 0:s.moduleRepo,description:e.description,majorVersion:null==s?void 0:s.moduleVersion,owner:e.organization.name,fallbackIcon:jsxRuntime.exports.jsx(Palette,{})})}))},AutomatePalettesTable=({isFullScreen:a})=>{const r=useDispatch();var e=useSelector(selectActiveResourceTab),e=!!useSelector(selectActiveResourceSearchValues)[e],t=useSelector(selectItems),s=useSelector(selectHasMore),o=useSelector(selectOffset),i=useSelector(selectReadStatus),l=SHARED_TEXT$1.automatePalettes.emptyState,n=SHARED_TEXT$1.automatePalettes.errorState;return jsxRuntime.exports.jsx(TableInfiniteScroll,{hasMore:s,fetchMore:()=>{r(actions.automatePalettes.readStart(null))},fetchOnMount:0===t.length,TableEmptyStateComponent:e?jsxRuntime.exports.jsx(EmptySearch,{}):void 0,offset:o,items:t,itemHeight:itemHeight,isLoading:"pending"===i,error:"failure"===i,TableRowComponent:({item:e,index:t})=>{return jsxRuntime.exports.jsx(TableRow,{item:e,index:t,onClick:(o=e,()=>{var e="PALETTE_DETAILS_PANEL",t={name:e,config:{payload:o}},s={type:"APP_BAR_PANEL_TEMPLATE",marginTop:a?0:55,marginStart:a?0:80,size:"large",zIndex:a?1011:1e3,parentPanelId:"RESOURCE_CENTER",dimmed:0,dimmedStatus:"dimParent",borderBottom:!0};r(mountPanel({panelId:e,microFrontend:t,panelConfig:s}))})});var o},MessageEmptyState:jsxRuntime.exports.jsx(l,{}),MessageErrorState:jsxRuntime.exports.jsx(n,{})})};export{AutomatePalettesTable as default};
|
|
Binary file
|
package/js-core.esm87.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{s as selectPreviewImage,a as selectPackageName,b as selectPackageDescription,c as selectDistributionType,d as selectors$7,e as selectIsEditMode,f as selectOriginalPackageName,g as actions,S as SHARED_TEXT,P as PDistributionType}from"./js-core.esm65.js";import{m as makeStyles,p as useSelector,o as useDispatch,hC as selectUserCanCreatePackage,r as react,fe as debounce_1,j as jsxRuntime,O as FormControl,Z as TextField,Q as InputLabel,$ as Select,U as OutlinedInput,a1 as MenuItem,fK as imageUpload,hx as characterCountTextField}from"./js-core.esm.js";import{P as PanelControls,E as ENextButtonType}from"./js-core.esm88.js";import{a as actions$1}from"./js-core.esm61.js";import"./js-core.esm62.js";import"./js-core.esm31.js";import"./js-core.esm63.js";import"./js-core.esm16.js";import"./js-core.esm59.js";import"./js-core.esm26.js";import"./js-core.esm32.js";import"./js-core.esm36.js";import"./js-core.esm14.js";import"./js-core.esm10.js";import"./js-core.esm33.js";import"./js-core.esm37.js";import"./js-core.esm7.js";import"./js-core.esm6.js";import"./js-core.esm34.js";import"./js-core.esm35.js";import"./js-core.esm18.js";import"./js-core.esm9.js";const{ImageUpload}=imageUpload["jsx"],{CharacterCountTextField}=characterCountTextField["jsx"],useStyles=makeStyles()(e=>({packageInfoContainer:{display:"flex",flexDirection:"column",flexGrow:"1",alignItems:"flex-start"},packageInputsContainer:{display:"flex",flexDirection:"column",justifyContent:"flex-start",alignItems:"center",marginTop:"5px",width:"100%"},packageInput:{width:"501px"},formControlWrapper:{marginTop:15}})),BasicInfoStep=()=>{var e=useStyles()["classes"],s=useSelector(selectPreviewImage);const t=useDispatch();var a=useSelector(selectPackageName)||"",i=useSelector(selectPackageDescription)||"",r=useSelector(selectDistributionType),n=useSelector(selectUserCanCreatePackage),o=useSelector(selectors$7.selectItems)||[];const c=useSelector(selectIsEditMode),l=useSelector(selectOriginalPackageName);const p=react.exports.useCallback(debounce_1(e=>{t(actions.allOrgOwnedPackages.setSearchValue(`^${e}$`)),t(actions.allOrgOwnedPackages.resetList(null)),t(actions.allOrgOwnedPackages.readStart(null))},400),[]);var o=0===o.length,m=0<a.length;return jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment,{children:[jsxRuntime.exports.jsxs("div",Object.assign({className:e.packageInfoContainer},{children:[jsxRuntime.exports.jsx("div",Object.assign({className:e.packageInputsContainer},{children:jsxRuntime.exports.jsx(FormControl,Object.assign({sx:{width:"100%"},className:e.formControlWrapper,error:!0},{children:jsxRuntime.exports.jsx(TextField,{error:!o,id:"package-manager-name",label:SHARED_TEXT.basicInfoStep.packageName,onChange:e=>{e=e.target.value;t(actions.basicInfo.setPackageName(e)),c&&e===l||p(e)},className:e.packageInput,variant:"outlined",disabled:!n,InputLabelProps:0<a.length?{shrink:!0}:{},inputProps:{maxLength:100},value:a,helperText:!o&&SHARED_TEXT.basicInfoStep.errorPackageName,required:!0,"data-test":"rc-pm-package-name"})}))})),jsxRuntime.exports.jsx("div",Object.assign({className:e.packageInputsContainer},{children:jsxRuntime.exports.jsx(FormControl,Object.assign({sx:{width:"100%"},className:e.formControlWrapper,error:!0},{children:jsxRuntime.exports.jsx("div",Object.assign({className:e.packageInput},{children:jsxRuntime.exports.jsx(CharacterCountTextField,{handleChange:e=>{t(actions.basicInfo.setPackageDescription(e))},variant:"outlined",value:i,defaultValue:i,label:SHARED_TEXT.basicInfoStep.packageDescription,lines:5,maxChar:300,error:!1,shrinkAlways:!1,testId:"rc-pm-package-description",disabled:!n})}))}))})),jsxRuntime.exports.jsx("div",Object.assign({className:e.packageInputsContainer},{children:jsxRuntime.exports.jsx(FormControl,Object.assign({sx:{width:"100%"},className:e.formControlWrapper,error:!0},{children:jsxRuntime.exports.jsx(ImageUpload,{image:s,getUrl:!0,handleChange:e=>{var s;e.unsignedUrl?(s=e.unsignedUrl,e=e.getUrl,t(actions.basicInfo.setIcon(s)),t(actions.basicInfo.setPreviewImage(e))):(t(actions.basicInfo.setIcon("")),t(actions.basicInfo.setPreviewImage("")))},testId:"rc-pm-image"})}))})),jsxRuntime.exports.jsx("div",Object.assign({style:{width:"320px"},className:e.packageInputsContainer},{children:jsxRuntime.exports.jsxs(FormControl,Object.assign({fullWidth:!0,className:e.formControlWrapper},{children:[jsxRuntime.exports.jsx(InputLabel,Object.assign({required:!0,id:"dropdown-label"},{children:SHARED_TEXT.basicInfoStep.packageDistribution})),jsxRuntime.exports.jsxs(Select,Object.assign({disabled:!n,"data-test":"rc-pm-package-distribution-select",displayEmpty:!0,required:!0,label:SHARED_TEXT.basicInfoStep.packageDistribution,labelId:"dropdown-label",id:"dropdown-select",input:jsxRuntime.exports.jsx(OutlinedInput,{label:"Distribution"}),value:r,onChange:e=>{e=e.target.value;t(actions.basicInfo.setDistributionType(e))}},{children:[jsxRuntime.exports.jsx(MenuItem,Object.assign({"data-test":"rc-pm-package-distribution-select-public",value:PDistributionType.Public},{children:SHARED_TEXT.basicInfoStep.labelDistributionPublic})),jsxRuntime.exports.jsx(MenuItem,Object.assign({"data-test":"rc-pm-package-distribution-select-private",value:PDistributionType.Private},{children:SHARED_TEXT.basicInfoStep.labelDistributionPrivate})),jsxRuntime.exports.jsx(MenuItem,Object.assign({"data-test":"rc-pm-package-distribution-select-shareable",value:PDistributionType.Sharable},{children:SHARED_TEXT.basicInfoStep.labelDistributionShareable})),jsxRuntime.exports.jsx(MenuItem,Object.assign({"data-test":"rc-pm-package-distribution-select-orglocked",value:PDistributionType.OrgLocked},{children:SHARED_TEXT.basicInfoStep.labelDistributionOrgLocked})),jsxRuntime.exports.jsx(MenuItem,Object.assign({"data-test":"rc-pm-package-distribution-select-instancelocked",value:PDistributionType.InstanceLocked},{children:SHARED_TEXT.basicInfoStep.labelDistributionInstanceLocked})),jsxRuntime.exports.jsx(MenuItem,Object.assign({"data-test":"rc-pm-package-distribution-select-marketplace",value:PDistributionType.Marketplace},{children:SHARED_TEXT.basicInfoStep.labelDistributionMarketplace}))]}))]}))}))]})),jsxRuntime.exports.jsx(PanelControls,{invalidFields:!1,disableNext:!(m&&o&&r&&n),disableBack:!1,nextButtonType:ENextButtonType.NEXT,onClickBack:()=>{t(actions$1.clearSelectedPackage())}})]})};export{BasicInfoStep as default};
|
|
Binary file
|
package/js-core.esm88.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{e as selectIsEditMode,h as selectActiveStep,p as panelId,g as actions,S as SHARED_TEXT}from"./js-core.esm65.js";import{o as useDispatch,p as useSelector,j as jsxRuntime,a6 as Stack,E as Button,aY as Tooltip,dd as hidePanel}from"./js-core.esm.js";import"./js-core.esm61.js";import"./js-core.esm62.js";var ENextButtonType;!function(e){e.SKIP="SKIP",e.NEXT="NEXT",e.BACK="BACK",e.CANCEL="CANCEL",e.CREATE_PACKAGE="CREATE_PACKAGE",e.UPDATE_PACKAGE="UPDATE_PACKAGE"}(ENextButtonType=ENextButtonType||{});const PanelControls=({disableNext:e,disableBack:t,onClickNext:s,onClickBack:a,nextButtonType:n=ENextButtonType.NEXT,invalidFields:o=!1})=>{const i=useDispatch(),c=useSelector(selectIsEditMode),p=useSelector(selectActiveStep);return jsxRuntime.exports.jsxs(Stack,Object.assign({sx:{position:"absolute",bottom:"30px",right:"30px",display:"flex",gap:"15px"},direction:"row"},{children:[jsxRuntime.exports.jsx(Button,Object.assign({"data-testid":"rc-package-manager-back-btn",sx:{color:"#2A323C"},onClick:()=>{a&&a(),1===p?i(hidePanel(panelId)):i(actions.stepper.backStep())},disabled:t},{children:c||1===p?SHARED_TEXT.panel.cancel():SHARED_TEXT.panel.back()})),jsxRuntime.exports.jsx(Tooltip,Object.assign({placement:"top",title:e&&o?SHARED_TEXT.panel.someFieldsInvalidMessage():e?SHARED_TEXT.panel.incompleteFieldsMessage():""},{children:jsxRuntime.exports.jsx("span",{children:jsxRuntime.exports.jsx(Button,Object.assign({"data-testid":"rc-package-manager-next-btn",onClick:()=>{i(actions.stepper.nextStep()),s&&s()},variant:"contained",disabled:e},{children:(()=>{switch(n){case ENextButtonType.NEXT:return SHARED_TEXT.panel.next();case ENextButtonType.SKIP:return SHARED_TEXT.panel.skip();case ENextButtonType.CREATE_PACKAGE:return SHARED_TEXT.panel.createPackage();case ENextButtonType.UPDATE_PACKAGE:return SHARED_TEXT.panel.updatePackage();default:return null}})()}))})}))]}))};export{ENextButtonType as E,PanelControls as P};
|
|
Binary file
|
package/js-core.esm89.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{i as selectResourceStepSearchText,g as actions,S as SHARED_TEXT,j as selectActiveIndex,k as selectActiveResource,l as selectIsFiltersOpen,m as selectIsSelectedViewActive,E as EResourceDropdownID,n as selectActiveTDOs,e as selectIsEditMode,r as resourceTypes,o as getResourceTypeByDropdownIndex,q as getResourceNamespace,t as selectSelectedResources,u as ESelectedResourceType,v as fails$g,w as global$h,x as functionCall,y as functionUncurryThis,z as shared$3,_ as _export,A as wellKnownSymbol$g,B as selectIsFullScreen,C as dataCenterFilePickerPanelID,D as selectApplicationFilters,F as selectSchemaFilters,G as getTdoPickerPanelConfigs,H as EApplicationFilterType,I as EApplicationStatus,J as ESchemaFilterType,K as ESchemaStatus,L as functionUncurryThisClause,M as defineBuiltIn$6,N as createNonEnumerableProperty$4,O as anObject$c,Q as isNullOrUndefined$4,R as requireObjectCoercible$3,T as toString$2,U as getMethod$3,V as regexpFlags$1,W as objectCreate,X as internalState,Y as isCallable$l,Z as classofRaw$2}from"./js-core.esm65.js";import"./js-core.esm90.js";import{m as makeStyles,e_ as injectIntl,o as useDispatch,r as react,p as useSelector,fe as debounce_1,j as jsxRuntime,aY as Tooltip,Z as TextField,V as InputAdornment,bG as Search,bm as CircularProgress,W as IconButton,h_ as Clear,fj as betaFeaturesSelector,B as Box,T as Typography,a6 as Stack,$ as Select,a1 as MenuItem,E as Button,h$ as ExpandLess,i0 as ExpandMore,d2 as unmountPanel,fS as tableInfiniteScroll,bb as Grid,dc as mountPanel,F as FormattedMessage}from"./js-core.esm.js";import{P as PanelControls,E as ENextButtonType}from"./js-core.esm88.js";import{u as uiState}from"./js-core.esm61.js";import{S as SimpleFilter}from"./js-core.esm62.js";import"./js-core.esm31.js";import"./js-core.esm63.js";import{A as Add}from"./js-core.esm47.js";import"./js-core.esm16.js";import"./js-core.esm59.js";import"./js-core.esm26.js";import"./js-core.esm32.js";import"./js-core.esm36.js";import"./js-core.esm14.js";import"./js-core.esm10.js";import"./js-core.esm33.js";import"./js-core.esm37.js";import"./js-core.esm7.js";import"./js-core.esm6.js";import"./js-core.esm34.js";import"./js-core.esm35.js";import"./js-core.esm18.js";import"./js-core.esm9.js";const{TableInfiniteScroll}=tableInfiniteScroll["jsx"],Container=({children:e,resourceType:s})=>jsxRuntime.exports.jsxs(Box,Object.assign({display:"flex",flexDirection:"column",flexGrow:"1"},{children:[jsxRuntime.exports.jsx(TableHeader,{resourceType:s}),jsxRuntime.exports.jsx("div",Object.assign({style:{flexGrow:1}},{children:e}))]})),ResourcesTable=react.exports.forwardRef(({resourceType:s,showSelectedResources:e},t)=>{const r=useDispatch();var a=s.card,n=useSelector(s.hasMoreSelector),i=useSelector(s.offsetSelector),c=useSelector(s.itemSelector).map(e=>Object.assign(Object.assign({},e),{resourceType:s.resourceType})),o=useSelector(s.loadingStatusSelector),l=()=>r(s.fetchMore()),p=useSelector(selectSelectedResources).map(e=>Object.assign(Object.assign({},e),{resourceType:s.resourceType})).filter(e=>e.type===s.resourceType);return e?jsxRuntime.exports.jsx(Container,Object.assign({resourceType:s},{children:jsxRuntime.exports.jsx(TableInfiniteScroll,{offset:0,hasMore:!1,fetchMore:l,fetchOnMount:!1,items:p.map(e=>Object.assign(Object.assign({},e.item),{resourceType:e.resourceType})),itemHeight:60,isLoading:!1,error:"failure"===o,TableRowComponent:a,MessageEmptyState:SHARED_TEXT.resourcesStep.table.emptyState(s.dropdownLabel),MessageErrorState:SHARED_TEXT.resourcesStep.table.errorState(s.dropdownLabel),listRef:t},s.id)})):jsxRuntime.exports.jsx(Container,Object.assign({resourceType:s},{children:jsxRuntime.exports.jsx(TableInfiniteScroll,{offset:i,hasMore:n,fetchMore:l,fetchOnMount:0===c.length,items:c,itemHeight:60,isLoading:"pending"===o,error:"failure"===o,TableRowComponent:a,MessageEmptyState:SHARED_TEXT.resourcesStep.table.emptyState(s.dropdownLabel),MessageErrorState:SHARED_TEXT.resourcesStep.table.errorState(s.dropdownLabel),listRef:t},s.id)}))}),TableHeader=({resourceType:e})=>{return jsxRuntime.exports.jsx(Grid,Object.assign({container:!0},{children:(()=>{switch(e.resourceType){case ESelectedResourceType.TDO:return jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment,{children:[jsxRuntime.exports.jsx(Grid,Object.assign({xs:6,item:!0,alignItems:"center"},{children:jsxRuntime.exports.jsxs(Typography,Object.assign({variant:"caption"},{children:[e.confirmationLabel," ",SHARED_TEXT.resourcesStep.table.name()]}))})),jsxRuntime.exports.jsx(Grid,Object.assign({xs:2,item:!0,alignItems:"center"},{children:jsxRuntime.exports.jsx(Typography,Object.assign({variant:"caption"},{children:SHARED_TEXT.resourceTypes.tdo.fileType()}))})),jsxRuntime.exports.jsx(Grid,Object.assign({xs:2,item:!0,alignItems:"center"},{children:jsxRuntime.exports.jsx(Typography,Object.assign({variant:"caption"},{children:SHARED_TEXT.resourceTypes.tdo.actions()}))})),jsxRuntime.exports.jsx(Grid,Object.assign({xs:2,item:!0,alignItems:"center"},{children:jsxRuntime.exports.jsx(Typography,Object.assign({variant:"caption"},{children:SHARED_TEXT.resourceTypes.tdo.manage()}))}))]});case ESelectedResourceType.Engine:return jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment,{children:[jsxRuntime.exports.jsx(Grid,Object.assign({xs:8,item:!0,alignItems:"center"},{children:jsxRuntime.exports.jsxs(Typography,Object.assign({variant:"caption"},{children:[e.confirmationLabel," ",SHARED_TEXT.resourcesStep.table.name()]}))})),jsxRuntime.exports.jsx(Grid,Object.assign({xs:2,item:!0,alignItems:"center"},{children:jsxRuntime.exports.jsx(Typography,Object.assign({variant:"caption"},{children:SHARED_TEXT.resourcesStep.table.status()}))}))]});case ESelectedResourceType.FlowTemplate:return jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment,{children:[jsxRuntime.exports.jsx(Grid,Object.assign({xs:8,item:!0,alignItems:"center"},{children:jsxRuntime.exports.jsxs(Typography,Object.assign({variant:"caption"},{children:[e.confirmationLabel," ",SHARED_TEXT.resourcesStep.table.name()]}))})),jsxRuntime.exports.jsx(Grid,Object.assign({xs:2,item:!0,alignItems:"center"},{children:jsxRuntime.exports.jsx(Typography,Object.assign({variant:"caption"},{children:SHARED_TEXT.resourcesStep.table.author()}))})),jsxRuntime.exports.jsx(Grid,Object.assign({xs:2,item:!0,alignItems:"center"},{children:jsxRuntime.exports.jsx(Typography,Object.assign({variant:"caption"},{children:SHARED_TEXT.resourcesStep.table.date()}))}))]});case ESelectedResourceType.Node:return jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment,{children:[jsxRuntime.exports.jsx(Grid,Object.assign({xs:8,item:!0,alignItems:"center"},{children:jsxRuntime.exports.jsxs(Typography,Object.assign({variant:"caption"},{children:[e.confirmationLabel," ",SHARED_TEXT.resourcesStep.table.name()]}))})),jsxRuntime.exports.jsx(Grid,Object.assign({xs:2,item:!0,alignItems:"center"},{children:jsxRuntime.exports.jsx(Typography,Object.assign({variant:"caption"},{children:SHARED_TEXT.resourcesStep.table.author()}))})),jsxRuntime.exports.jsx(Grid,Object.assign({xs:2,item:!0,alignItems:"center"},{children:jsxRuntime.exports.jsx(Typography,Object.assign({variant:"caption"},{children:SHARED_TEXT.resourcesStep.table.version()}))}))]});case ESelectedResourceType.Application:return jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment,{children:[jsxRuntime.exports.jsx(Grid,Object.assign({xs:8,item:!0,alignItems:"center"},{children:jsxRuntime.exports.jsxs(Typography,Object.assign({variant:"caption"},{children:[e.confirmationLabel," ",SHARED_TEXT.resourcesStep.table.name()]}))})),jsxRuntime.exports.jsx(Grid,Object.assign({xs:4,item:!0,alignItems:"center"},{children:jsxRuntime.exports.jsx(Typography,Object.assign({variant:"caption"},{children:SHARED_TEXT.resourcesStep.table.status()}))}))]});default:return jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment,{children:[jsxRuntime.exports.jsx(Grid,Object.assign({xs:8,item:!0,alignItems:"center"},{children:jsxRuntime.exports.jsxs(Typography,Object.assign({variant:"caption"},{children:[e.confirmationLabel," ",SHARED_TEXT.resourcesStep.table.name()]}))})),jsxRuntime.exports.jsx(Grid,Object.assign({xs:2,item:!0,alignItems:"center"},{children:jsxRuntime.exports.jsx(Typography,Object.assign({variant:"caption"},{children:SHARED_TEXT.resourcesStep.table.status()}))})),jsxRuntime.exports.jsx(Grid,Object.assign({xs:2,item:!0,alignItems:"center"},{children:jsxRuntime.exports.jsx(Typography,Object.assign({variant:"caption"},{children:SHARED_TEXT.resourcesStep.table.version()}))}))]})}})()}))},ApplicationStatusFilter=()=>{const s=useDispatch();var e=(null==(e=useSelector(selectApplicationFilters).find(e=>e.type===EApplicationFilterType.Status))?void 0:e.values)||[],t=Object.values(EApplicationStatus).map(e=>({value:e,label:e})),r=jsxRuntime.exports.jsx(FormattedMessage,{id:"os-resource-center-package-manager.application-package.status-filter.label",defaultMessage:"Status",description:"Status filter label"}),a=jsxRuntime.exports.jsx(FormattedMessage,{id:"os-resource-center-package-manager.application-package-filter.clear-button.label",defaultMessage:"Clear",description:"Label for the button to clear the filter"});return jsxRuntime.exports.jsx(SimpleFilter,{id:"os-resource-center-package-manager.application-package-status-filter",filterLabel:r,clearButtonLabel:a,items:t,selectedValues:e,onChange:e=>{s(actions.applications.setFilter({type:EApplicationFilterType.Status,values:e}))},isMultiselect:!1})},FilterButtons=({onClearAll:e})=>{var s=jsxRuntime.exports.jsx(FormattedMessage,{id:"os-resource-center-package-manager.engine-package.clear-all.label",defaultMessage:"Clear All",description:"Clear All label"});return jsxRuntime.exports.jsx(Box,Object.assign({sx:{pt:"14px",display:"flex"}},{children:jsxRuntime.exports.jsx(Button,Object.assign({"data-testid":"os-resource-center-package-manager-clear-filters-btn",color:"primary",variant:"outlined",onClick:e},{children:s}))}))},ApplicationFilters=()=>{const e=useDispatch();var s=useSelector(selectApplicationFilters);react.exports.useEffect(()=>{e(actions.applications.resetList(null)),e(actions.applications.readStart(null))},[s]);return jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment,{children:[jsxRuntime.exports.jsx(ApplicationStatusFilter,{}),jsxRuntime.exports.jsx(FilterButtons,{onClearAll:()=>{e(actions.applications.clearFilters(null))}})]})},SchemaPackageStatusFilter=()=>{const s=useDispatch();var e=(null==(e=useSelector(selectSchemaFilters).find(e=>e.type===ESchemaFilterType.Status))?void 0:e.values)||[],t=Object.values(ESchemaStatus).map(e=>({value:e,label:e})),r=jsxRuntime.exports.jsx(FormattedMessage,{id:"os-resource-center-package-manager.schema.status-filter.label",defaultMessage:"Status",description:"Status filter label"}),a=jsxRuntime.exports.jsx(FormattedMessage,{id:"os-resource-center-package-manager.schema-filter.clear-button.label",defaultMessage:"Clear",description:"Label for the button to clear the filter"});return jsxRuntime.exports.jsx(SimpleFilter,{id:"os-resource-center-package-manager.schema-status-filter",filterLabel:r,clearButtonLabel:a,items:t,selectedValues:e,onChange:e=>{s(actions.schemas.setFilter({type:ESchemaFilterType.Status,values:e}))},isMultiselect:!1})},SchemaFilters=()=>{const e=useDispatch();var s=useSelector(selectSchemaFilters);react.exports.useEffect(()=>{e(actions.schemas.resetList(null)),e(actions.schemas.readStart(null))},[s]);return jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment,{children:[jsxRuntime.exports.jsx(SchemaPackageStatusFilter,{}),jsxRuntime.exports.jsx(FilterButtons,{onClearAll:()=>{e(actions.schemas.clearFilters(null))}})]})},ResourceStepFilters=({isVisible:e=!1,resourceTypeSelected:s=ESelectedResourceType.EnginePackage})=>e?jsxRuntime.exports.jsxs(Box,Object.assign({sx:{marginLeft:"-30px",width:"calc(100% + 60px)",p:"10px 30px 10px",background:"#FAFAFA",marginBottom:"20px"}},{children:[s===ESelectedResourceType.Application&&jsxRuntime.exports.jsx(ApplicationFilters,{}),s===ESelectedResourceType.Schema&&jsxRuntime.exports.jsx(SchemaFilters,{})]})):null;var fails$3=fails$g,global$2=global$h,$RegExp$2=global$h.RegExp,UNSUPPORTED_Y$1=fails$3(function(){var e=$RegExp$2("a","y");return e.lastIndex=2,null!=e.exec("abcd")}),MISSED_STICKY=UNSUPPORTED_Y$1||fails$3(function(){return!$RegExp$2("a","y").sticky}),BROKEN_CARET=UNSUPPORTED_Y$1||fails$3(function(){var e=$RegExp$2("^r","gy");return e.lastIndex=2,null!=e.exec("str")}),regexpStickyHelpers={BROKEN_CARET:BROKEN_CARET,MISSED_STICKY:MISSED_STICKY,UNSUPPORTED_Y:UNSUPPORTED_Y$1},fails$2=fails$g,global$1=global$h,$RegExp$1=global$h.RegExp,regexpUnsupportedDotAll=fails$2(function(){var e=$RegExp$1(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}),fails$1=fails$g,global=global$h,$RegExp=global$h.RegExp,regexpUnsupportedNcg=fails$1(function(){var e=$RegExp("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}),call$2=functionCall,uncurryThis$1=functionUncurryThis,toString$1=toString$2,regexpFlags=regexpFlags$1,stickyHelpers=regexpStickyHelpers,shared=shared$3.exports,create=objectCreate,getInternalState=internalState.get,UNSUPPORTED_DOT_ALL=regexpUnsupportedDotAll,UNSUPPORTED_NCG=regexpUnsupportedNcg,nativeReplace=shared("native-string-replace",String.prototype.replace),nativeExec=RegExp.prototype.exec,patchedExec=nativeExec,charAt=uncurryThis$1("".charAt),indexOf=uncurryThis$1("".indexOf),replace=uncurryThis$1("".replace),stringSlice=uncurryThis$1("".slice),UPDATES_LAST_INDEX_WRONG=function(){var e=/a/,s=/b*/g;return call$2(nativeExec,e,"a"),call$2(nativeExec,s,"a"),0!==e.lastIndex||0!==s.lastIndex}(),UNSUPPORTED_Y=stickyHelpers.BROKEN_CARET,NPCG_INCLUDED=void 0!==/()??/.exec("")[1],PATCH=UPDATES_LAST_INDEX_WRONG||NPCG_INCLUDED||UNSUPPORTED_Y||UNSUPPORTED_DOT_ALL||UNSUPPORTED_NCG,regexpExec$2=patchedExec=PATCH?function(e){var s,t,r,a,n,i,c=this,o=getInternalState(c),e=toString$1(e),l=o.raw;if(l)return l.lastIndex=c.lastIndex,u=call$2(patchedExec,l,e),c.lastIndex=l.lastIndex,u;var p=o.groups,l=UNSUPPORTED_Y&&c.sticky,u=call$2(regexpFlags,c),o=c.source,x=0,d=e;if(l&&(u=replace(u,"y",""),-1===indexOf(u,"g")&&(u+="g"),d=stringSlice(e,c.lastIndex),0<c.lastIndex&&(!c.multiline||c.multiline&&"\n"!==charAt(e,c.lastIndex-1))&&(o="(?: "+o+")",d=" "+d,x++),s=new RegExp("^(?:"+o+")",u)),NPCG_INCLUDED&&(s=new RegExp("^"+o+"$(?!\\s)",u)),UPDATES_LAST_INDEX_WRONG&&(t=c.lastIndex),r=call$2(nativeExec,l?s:c,d),l?r?(r.input=stringSlice(r.input,x),r[0]=stringSlice(r[0],x),r.index=c.lastIndex,c.lastIndex+=r[0].length):c.lastIndex=0:UPDATES_LAST_INDEX_WRONG&&r&&(c.lastIndex=c.global?r.index+r[0].length:t),NPCG_INCLUDED&&r&&1<r.length&&call$2(nativeReplace,r[0],s,function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(r[a]=void 0)}),r&&p)for(r.groups=n=create(null),a=0;a<p.length;a++)n[(i=p[a])[0]]=r[i[1]];return r}:patchedExec,$=_export,exec=regexpExec$2,uncurryThis=(_export({target:"RegExp",proto:!0,forced:/./.exec!==exec},{exec:exec}),functionUncurryThisClause),defineBuiltIn=defineBuiltIn$6,regexpExec$1=regexpExec$2,fails=fails$g,wellKnownSymbol=wellKnownSymbol$g,createNonEnumerableProperty=createNonEnumerableProperty$4,SPECIES=wellKnownSymbol("species"),RegExpPrototype=RegExp.prototype,fixRegexpWellKnownSymbolLogic=function(t,e,s,r){var i,a=wellKnownSymbol(t),c=!fails(function(){var e={};return e[a]=function(){return 7},7!=""[t](e)}),n=c&&!fails(function(){var e=!1,s=/a/;return"split"===t&&((s={constructor:{}}).constructor[SPECIES]=function(){return s},s.flags="",s[a]=/./[a]),s.exec=function(){return e=!0,null},s[a](""),!e});c&&n&&!s||(i=uncurryThis(/./[a]),n=e(a,""[t],function(e,s,t,r,a){var e=uncurryThis(e),n=s.exec;return n===regexpExec$1||n===RegExpPrototype.exec?c&&!a?{done:!0,value:i(s,t,r)}:{done:!0,value:e(t,s,r)}:{done:!1}}),defineBuiltIn(String.prototype,t,n[0]),defineBuiltIn(RegExpPrototype,a,n[1])),r&&createNonEnumerableProperty(RegExpPrototype[a],"sham",!0)},sameValue$1=Object.is||function(e,s){return e===s?0!==e||1/e==1/s:e!=e&&s!=s},call$1=functionCall,anObject$1=anObject$c,isCallable=isCallable$l,classof=classofRaw$2,regexpExec=regexpExec$2,$TypeError=TypeError,regexpExecAbstract=function(e,s){var t=e.exec;if(isCallable(t))return null!==(t=call$1(t,e,s))&&anObject$1(t),t;if("RegExp"===classof(e))return call$1(regexpExec,e,s);throw $TypeError("RegExp#exec called on incompatible receiver")},call=functionCall,fixRegExpWellKnownSymbolLogic=fixRegexpWellKnownSymbolLogic,anObject=anObject$c,isNullOrUndefined=isNullOrUndefined$4,requireObjectCoercible=requireObjectCoercible$3,sameValue=sameValue$1,toString=toString$2,getMethod=getMethod$3,regExpExec=regexpExecAbstract;fixRegexpWellKnownSymbolLogic("search",function(r,a,n){return[function(e){var s=requireObjectCoercible(this),t=isNullOrUndefined(e)?void 0:getMethod(e,r);return t?call(t,e,s):new RegExp(e)[r](toString(s))},function(e){var s=anObject(this),e=toString(e),t=n(a,s,e);return t.done?t.value:(t=s.lastIndex,sameValue(t,0)||(s.lastIndex=0),e=regExpExec(s,e),sameValue(s.lastIndex,t)||(s.lastIndex=t),null===e?-1:e.index)}]});const FiltersButton=({isAvailable:e})=>{const s=useDispatch(),t=useSelector(selectIsFiltersOpen);return react.exports.useEffect(()=>{e||s(actions.resourcesStep.setIsFiltersOpen(!1))},[e]),jsxRuntime.exports.jsx(Tooltip,Object.assign({title:e?"":SHARED_TEXT.resourcesStep.search.filtersNotAvailable()},{children:jsxRuntime.exports.jsx("span",Object.assign({style:{display:"flex"}},{children:jsxRuntime.exports.jsxs(Button,Object.assign({"data-testid":"rc-pm-resources-step-toggle-filters-btn",disabled:!e,variant:"text",color:"primary",onClick:()=>{s(actions.resourcesStep.setIsFiltersOpen(!t))}},{children:[SHARED_TEXT.resourcesStep.search.showFilters(),t?jsxRuntime.exports.jsx(ExpandLess,{sx:{marginLeft:"10px"}}):jsxRuntime.exports.jsx(ExpandMore,{sx:{marginLeft:"10px"}})]}))}))}))},SelectViewButton=({showSelected:e,onClick:s})=>{const t=useSelector(selectActiveResource);var r=resourceTypes.find(e=>e.id===t)||resourceTypes[0];return t===EResourceDropdownID.tdos?null:jsxRuntime.exports.jsx(Button,Object.assign({"data-testid":"rc-pm-resources-step-show-selected-btn",variant:"text",color:"primary",onClick:s},{children:e?SHARED_TEXT.resourcesStep.showAllToggle(r.dropdownLabel):SHARED_TEXT.resourcesStep.showSelectedToggle(r.dropdownLabel)}))},useStyles=makeStyles()(e=>({searchInput:{width:"400px",borderRadius:"100px","&.is-visible":{width:"400px",opacity:1},"&:focus":{outline:"none",boxShadow:"0 -1px 1px rgba(255, 255, 255, 0.25), 0 1px 5px rgba(0, 0, 0, 0.15)"}},searchContainer:{display:"flex"}})),SearchInput=injectIntl(({intl:e,onChange:s,testId:t,isAvailable:r})=>{const a=useDispatch();var n=useStyles()["classes"];const[i,c]=react.exports.useState(!1);var o=useSelector(selectResourceStepSearchText);const l=react.exports.useCallback(debounce_1(e=>{s&&(s(e),c(!1))},1e3),[s]);var p=react.exports.useCallback(e=>{e=e.target.value;a(actions.resourcesStep.setSearchValue(e)),l(e),c(!0)},[l]);return jsxRuntime.exports.jsx(Tooltip,Object.assign({title:r?"":"Search is not available yet for this Resource."},{children:jsxRuntime.exports.jsx("span",{children:jsxRuntime.exports.jsx(TextField,{disabled:!r,"data-testid":"rc-pm-resources-step-search-input",sx:{"& fieldset":{borderRadius:"100px"},background:r?"":"#f7f7f7"},"data-test":t,onClick:e=>e.stopPropagation(),className:""+n.searchInput,onChange:p,value:o,placeholder:e.formatMessage({id:"rc.package-manager.resources.search-placeholder",defaultMessage:[{type:0,value:"Search by name"}]}),InputProps:{startAdornment:jsxRuntime.exports.jsx(InputAdornment,Object.assign({position:"start"},{children:jsxRuntime.exports.jsx(Search,{})})),endAdornment:jsxRuntime.exports.jsxs(InputAdornment,Object.assign({position:"end"},{children:[i&&jsxRuntime.exports.jsx(CircularProgress,{size:20,thickness:5}),!i&&o&&jsxRuntime.exports.jsx(Tooltip,Object.assign({title:SHARED_TEXT.resourcesStep.search.clearSearch()},{children:jsxRuntime.exports.jsx(IconButton,Object.assign({onClick:()=>{s(""),a(actions.resourcesStep.setSearchValue("")),c(!1)}},{children:jsxRuntime.exports.jsx(Clear,{})}))}))]}))}})})}))}),ADD_FILES_BTN_ID="rc-package-manager-wizard-tdo-add-files-btn",AddFilesBtn=()=>{const s=useDispatch(),t=useSelector(selectIsFullScreen),r=react.exports.useCallback(e=>{s(unmountPanel(dataCenterFilePickerPanelID)),s(actions.tdos.addTDOs(e)),e.forEach(e=>{s(actions.resourcesStep.selectResource({type:ESelectedResourceType.TDO,id:null==e?void 0:e.id,name:(null==e?void 0:e.name)||"--",version:(null==e?void 0:e.fileType)||"--",item:e}))})},[s,unmountPanel,actions]);return jsxRuntime.exports.jsx(Button,Object.assign({id:ADD_FILES_BTN_ID,startIcon:jsxRuntime.exports.jsx(Add,{}),variant:"contained",onClick:function(){var e=getTdoPickerPanelConfigs(r,t);s(mountPanel(Object.assign({},e)))},"data-testid":ADD_FILES_BTN_ID},{children:SHARED_TEXT.resourceTypes.tdo.addFilesButton()}))},ResourcesStep=()=>{const a=react.exports.useRef(null),n=useDispatch();var e=useSelector(selectActiveIndex);const s=useSelector(selectActiveResource);var t=useSelector(selectIsFiltersOpen);const r=useSelector(selectIsSelectedViewActive);var i=s===EResourceDropdownID.tdos;const c=0!=useSelector(selectActiveTDOs).length,o=useSelector(betaFeaturesSelector),l=useSelector(selectIsEditMode),p=useSelector(uiState.selectSelectedPackage);return react.exports.useEffect(()=>{u(s,"")},[s]),react.exports.useEffect(()=>{p&&l&&n(actions.resourcesStep.setIsSelectedViewActive(!1))},[p,l]),jsxRuntime.exports.jsxs(Box,Object.assign({display:"flex",flexDirection:"column",flexGrow:"1"},{children:[jsxRuntime.exports.jsx(Typography,Object.assign({"data-testid":"rc-pm-resources-step-description",variant:"subtitle1",padding:e=>e.spacing(3,0,3,0)},{children:SHARED_TEXT.resourcesStep.description})),jsxRuntime.exports.jsxs(Stack,Object.assign({direction:"row",spacing:5,sx:{margin:e=>e.spacing(3,0,3,0)}},{children:[jsxRuntime.exports.jsx(Select,Object.assign({id:"resource-cetner-package-manager-resource-type","data-testid":"rc-pm-resources-step-resource-type",value:e,onChange:e=>{var s,t=Number(e.target.value);n(actions.resourcesStep.setActiveIndex(t));for(const r of resourceTypes)t===r.dropdownIndex&&(n(actions.resourcesStep.setActiveResource(r.id)),null!=(s=a.current)&&s.scrollTo(0),r.id===EResourceDropdownID.tdos)&&(c||setTimeout(()=>{var e;try{null!=(e=document.querySelector("#"+ADD_FILES_BTN_ID))&&e.click()}catch(e){}},300))},sx:{width:"300px"}},{children:resourceTypes.sort((e,s)=>e.dropdownIndex-s.dropdownIndex).filter(e=>!e.isBehindBetaFlag||o).map((e,s)=>jsxRuntime.exports.jsx(MenuItem,Object.assign({value:s,"data-testid":"rc-pm-resource-type-option-"+s},{children:e.dropdownLabel}),"resource-center-package-manager-resource-type-"+s))})),jsxRuntime.exports.jsx(SearchInput,{isAvailable:getResourceTypeByDropdownIndex(e).isSearchAvailable,onChange:e=>{u(s,e),null!=(e=a.current)&&e.scrollTo(0)},testId:"package-manager-search-resources-input"}),jsxRuntime.exports.jsx(FiltersButton,{isAvailable:getResourceTypeByDropdownIndex(e).isFilterAvailable,"data-testid":"rc-pm-resources-step-toggle-filters-btn"})]})),jsxRuntime.exports.jsx(ResourceStepFilters,{resourceTypeSelected:getResourceTypeByDropdownIndex(e).resourceType,isVisible:t}),jsxRuntime.exports.jsxs(Stack,Object.assign({direction:"row",spacing:5,sx:{margin:e=>e.spacing(3,0,3,0)}},{children:[jsxRuntime.exports.jsx(SelectViewButton,{showSelected:r,onClick:()=>{var e;n(actions.resourcesStep.setIsSelectedViewActive(!r)),r||u(s,""),null!=(e=a.current)&&e.scrollTo(0)}}),i&&jsxRuntime.exports.jsx(AddFilesBtn,{})]})),jsxRuntime.exports.jsx(ResourcesTable,{resourceType:getResourceTypeByDropdownIndex(e),ref:a,showSelectedResources:r}),jsxRuntime.exports.jsx(Box,Object.assign({height:"70px"},{children:jsxRuntime.exports.jsx(PanelControls,{invalidFields:!1,disableNext:!1,disableBack:!1,nextButtonType:ENextButtonType.NEXT})}))]}));function u(e,s){var t;for(const r of resourceTypes)e===r.id&&e!==EResourceDropdownID.tdos&&(n(null==(t=actions[getResourceNamespace(r.id)])?void 0:t.setSearchValue(s)),n(actions[getResourceNamespace(r.id)].resetList(null)),n(actions[getResourceNamespace(r.id)].readStart(null)))}};export{ResourcesStep as default};
|
|
Binary file
|
package/js-core.esm9.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{_ as _extends,ah as createTheme,ai as systemStyled,d as capitalize,aj as useThemeProps,r as react,e as _objectWithoutPropertiesLoose,j as jsxRuntime,f as clsx,h as composeClasses,g as generateUtilityClass,b as styled,u as useThemeProps$1}from"./js-core.esm.js";const _excluded=["className","component","disableGutters","fixed","maxWidth","classes"],defaultTheme=createTheme(),defaultCreateStyledComponent=systemStyled("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{e=e.ownerState;return[t.root,t["maxWidth"+capitalize(String(e.maxWidth))],e.fixed&&t.fixed,e.disableGutters&&t.disableGutters]}}),useThemePropsDefault=e=>useThemeProps({props:e,name:"MuiContainer",defaultTheme:defaultTheme}),useUtilityClasses=(e,t)=>{var{classes:e,fixed:s,disableGutters:a,maxWidth:i}=e,i={root:["root",i&&"maxWidth"+capitalize(String(i)),s&&"fixed",a&&"disableGutters"]};return composeClasses(i,e=>generateUtilityClass(t,e),e)};function createContainer(e={}){const{createStyledComponent:t=defaultCreateStyledComponent,useThemeProps:d=useThemePropsDefault,componentName:m="MuiContainer"}=e,u=t(({theme:e,ownerState:t})=>_extends({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",display:"block"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}}),({theme:a,ownerState:e})=>e.fixed&&Object.keys(a.breakpoints.values).reduce((e,t)=>{var s=a.breakpoints.values[t];return 0!==s&&(e[a.breakpoints.up(t)]={maxWidth:""+s+a.breakpoints.unit}),e},{}),({theme:e,ownerState:t})=>_extends({},"xs"===t.maxWidth&&{[e.breakpoints.up("xs")]:{maxWidth:Math.max(e.breakpoints.values.xs,444)}},t.maxWidth&&"xs"!==t.maxWidth&&{[e.breakpoints.up(t.maxWidth)]:{maxWidth:""+e.breakpoints.values[t.maxWidth]+e.breakpoints.unit}}));return react.exports.forwardRef(function(e,t){var e=d(e),{className:s,component:a="div",disableGutters:i=!1,fixed:r=!1,maxWidth:o="lg"}=e,n=_objectWithoutPropertiesLoose(e,_excluded),e=_extends({},e,{component:a,disableGutters:i,fixed:r,maxWidth:o}),i=useUtilityClasses(e,m);return jsxRuntime.exports.jsx(u,_extends({as:a,ownerState:e,className:clsx(i.root,s),ref:t},n))})}const Container=createContainer({createStyledComponent:styled("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{e=e.ownerState;return[t.root,t["maxWidth"+capitalize(String(e.maxWidth))],e.fixed&&t.fixed,e.disableGutters&&t.disableGutters]}}),useThemeProps:e=>useThemeProps$1({props:e,name:"MuiContainer"})});var Container$1=Container;export{Container$1 as C};
|
|
Binary file
|
package/js-core.esm90.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{$ as engineUserAgent,_ as _export,y as functionUncurryThis,a0 as aCallable$9,a1 as toObject$4,a2 as lengthOfArrayLike$3,v as fails$g,a3 as arrayMethodIsStrict$1,a4 as engineV8Version,a5 as tryToString$4,T as toString$2,a6 as toAbsoluteIndex$1,a7 as toPropertyKey$2,a8 as objectDefineProperty,a9 as createPropertyDescriptor$3}from"./js-core.esm65.js";var tryToString=tryToString$4,$TypeError=TypeError,deletePropertyOrThrow$1=function(r,e){if(!delete r[e])throw $TypeError("Cannot delete property "+tryToString(e)+" of "+tryToString(r))},toPropertyKey=toPropertyKey$2,definePropertyModule=objectDefineProperty,createPropertyDescriptor=createPropertyDescriptor$3,createProperty$1=function(r,e,t){e=toPropertyKey(e);e in r?definePropertyModule.f(r,e,createPropertyDescriptor(0,t)):r[e]=t},toAbsoluteIndex=toAbsoluteIndex$1,lengthOfArrayLike$1=lengthOfArrayLike$3,createProperty=createProperty$1,$Array=Array,max=Math.max,arraySliceSimple=function(r,e,t){for(var o=lengthOfArrayLike$1(r),n=toAbsoluteIndex(e,o),i=toAbsoluteIndex(void 0===t?o:t,o),a=$Array(max(i-n,0)),s=0;n<i;n++,s++)createProperty(a,s,r[n]);return a.length=s,a},arraySlice=arraySliceSimple,floor=Math.floor,mergeSort=function(r,e){var t=r.length,o=floor(t/2);return t<8?insertionSort(r,e):merge(r,mergeSort(arraySlice(r,0,o),e),mergeSort(arraySlice(r,o),e),e)},insertionSort=function(r,e){for(var t,o,n=r.length,i=1;i<n;){for(t=r[o=i];o&&0<e(r[o-1],t);)r[o]=r[--o];o!==i++&&(r[o]=t)}return r},merge=function(r,e,t,o){for(var n=e.length,i=t.length,a=0,s=0;a<n||s<i;)r[a+s]=a<n&&s<i?o(e[a],t[s])<=0?e[a++]:t[s++]:a<n?e[a++]:t[s++];return r},arraySort=mergeSort,userAgent$1=engineUserAgent,firefox=engineUserAgent.match(/firefox\/(\d+)/i),engineFfVersion=!!firefox&&+firefox[1],UA=engineUserAgent,engineIsIeOrEdge=/MSIE|Trident/.test(UA),userAgent=engineUserAgent,webkit=engineUserAgent.match(/AppleWebKit\/(\d+)\./),engineWebkitVersion=!!webkit&&+webkit[1],$=_export,uncurryThis=functionUncurryThis,aCallable=aCallable$9,toObject=toObject$4,lengthOfArrayLike=lengthOfArrayLike$3,deletePropertyOrThrow=deletePropertyOrThrow$1,toString=toString$2,fails=fails$g,internalSort=arraySort,arrayMethodIsStrict=arrayMethodIsStrict$1,FF=engineFfVersion,IE_OR_EDGE=engineIsIeOrEdge,V8=engineV8Version,WEBKIT=engineWebkitVersion,test=[],nativeSort=uncurryThis(test.sort),push=uncurryThis(test.push),FAILS_ON_UNDEFINED=fails(function(){test.sort(void 0)}),FAILS_ON_NULL=fails(function(){test.sort(null)}),STRICT_METHOD=arrayMethodIsStrict("sort"),STABLE_SORT=!fails(function(){if(V8)return V8<70;if(!(FF&&3<FF)){if(IE_OR_EDGE)return!0;if(WEBKIT)return WEBKIT<603;for(var r,e,t,o="",n=65;n<76;n++){switch(r=String.fromCharCode(n),n){case 66:case 69:case 70:case 72:e=3;break;case 68:case 71:e=4;break;default:e=2}for(t=0;t<47;t++)test.push({k:r+t,v:e})}for(test.sort(function(r,e){return e.v-r.v}),t=0;t<test.length;t++)r=test[t].k.charAt(0),o.charAt(o.length-1)!==r&&(o+=r);return"DGBEFHACIJK"!==o}}),FORCED=FAILS_ON_UNDEFINED||!FAILS_ON_NULL||!STRICT_METHOD||!STABLE_SORT,getSortCompare=function(t){return function(r,e){return void 0===e?-1:void 0===r?1:void 0!==t?+t(r,e)||0:toString(r)>toString(e)?1:-1}};$({target:"Array",proto:!0,forced:FORCED},{sort:function(r){void 0!==r&&aCallable(r);var e=toObject(this);if(STABLE_SORT)return void 0===r?nativeSort(e):nativeSort(e,r);for(var t,o=[],n=lengthOfArrayLike(e),i=0;i<n;i++)i in e&&push(o,e[i]);for(internalSort(o,getSortCompare(r)),t=lengthOfArrayLike(o),i=0;i<t;)e[i]=o[i++];for(;i<n;)deletePropertyOrThrow(e,i++);return e}});
|
|
Binary file
|
package/js-core.esm91.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{e as selectIsEditMode,a as selectPackageName,b as selectPackageDescription,c as selectDistributionType,s as selectPreviewImage,t as selectSelectedResources,r as resourceTypes,S as SHARED_TEXT,g as actions}from"./js-core.esm65.js";import"./js-core.esm90.js";import{cK as createSvgIcon,j as jsxRuntime,p as useSelector,o as useDispatch,a6 as Stack,B as Box,T as Typography,a2 as Divider,hD as PackagesAvatar,r as react,bi as TableContainer,bj as Table,bk as TableHead,bq as TableRow,br as TableCell,bs as TableSortLabel,bl as TableBody}from"./js-core.esm.js";import{P as PanelControls,E as ENextButtonType}from"./js-core.esm88.js";import"./js-core.esm62.js";import"./js-core.esm61.js";import"./js-core.esm31.js";import"./js-core.esm63.js";import{A as Accordion,a as AccordionSummary,b as AccordionDetails}from"./js-core.esm24.js";import"./js-core.esm16.js";import"./js-core.esm59.js";import"./js-core.esm26.js";import"./js-core.esm32.js";import"./js-core.esm36.js";import"./js-core.esm14.js";import"./js-core.esm10.js";import"./js-core.esm33.js";import"./js-core.esm37.js";import"./js-core.esm7.js";import"./js-core.esm6.js";import"./js-core.esm34.js";import"./js-core.esm35.js";import"./js-core.esm18.js";import"./js-core.esm9.js";var ArrowDropUp=createSvgIcon(jsxRuntime.exports.jsx("path",{d:"m7 14 5-5 5 5z"}),"ArrowDropUp"),ArrowForwardIosSharp=createSvgIcon(jsxRuntime.exports.jsx("path",{d:"M6.23 20.23 8 22l10-10L8 2 6.23 3.77 14.46 12z"}),"ArrowForwardIosSharp");const PackageAttribute=({label:e,value:s})=>jsxRuntime.exports.jsxs(Box,Object.assign({margin:e=>e.spacing(1,0,1,0)},{children:[jsxRuntime.exports.jsx(Typography,Object.assign({variant:"subtitle1",color:e=>e.palette.text.secondary,sx:{wordBreak:"break-all"}},{children:e})),jsxRuntime.exports.jsx(Typography,Object.assign({variant:"subtitle1",whiteSpace:"pre-wrap",color:e=>e.palette.text.primary,lineHeight:"1.5em",sx:{wordBreak:"break-all"}},{children:s}))]})),ResourceAccordian=({label:e,resources:s,testId:r="resource-table-accordian"})=>{const[t,a]=react.exports.useState("asc");const o=(e,s)=>{var r=String(e.name).localeCompare(String(s.name));return 0===r?String(e.version).localeCompare(String(s.version)):r};var i="asc"===t?o:(e,s)=>-1*o(e,s);return jsxRuntime.exports.jsxs(Accordion,Object.assign({"data-testid":"package-table-accordian-"+r,sx:{boxShadow:"none","&.Mui-expanded":{margin:0},"&.Mui-expanded::before":{opacity:"inherit"}}},{children:[jsxRuntime.exports.jsxs(AccordionSummary,Object.assign({expandIcon:jsxRuntime.exports.jsx(ArrowForwardIosSharp,{sx:{fontSize:"0.9rem"}}),sx:{minHeight:"48px",flexDirection:"row-reverse","& .Sdk-MuiAccordionSummary-expandIconWrapper":{margin:e=>e.spacing(0,3,0,0)},"& .Sdk-MuiAccordionSummary-expandIconWrapper.Mui-expanded":{transform:"rotate(90deg)",margin:e=>e.spacing(0,3,0,0)},"&.Mui-expanded":{minHeight:"48px"},"> div, &.Mui-expanded > div":{margin:e=>e.spacing(2,0,2,0)}}},{children:[jsxRuntime.exports.jsx(Typography,Object.assign({variant:"body1",fontWeight:"400"},{children:e})),jsxRuntime.exports.jsx(Box,Object.assign({sx:{margin:e=>e.spacing(0,0,0,2),padding:"0 7px",borderRadius:"50%",background:e=>e.palette.grey[300],fontSize:"12px",fontWeight:500,color:e=>e.palette.secondary.main}},{children:s.length}))]})),jsxRuntime.exports.jsx(AccordionDetails,{children:jsxRuntime.exports.jsx(TableContainer,{children:jsxRuntime.exports.jsxs(Table,{children:[jsxRuntime.exports.jsx(TableHead,{children:jsxRuntime.exports.jsxs(TableRow,{children:[jsxRuntime.exports.jsx(TableCell,Object.assign({sx:{padding:e=>e.spacing(0,3,1,3),border:"none",borderBottom:"1px solid",borderColor:e=>e.palette.divider}},{children:jsxRuntime.exports.jsx(TableSortLabel,Object.assign({onClick:()=>{a("asc"===t?"desc":"asc")},direction:t,active:!0,IconComponent:ArrowDropUp},{children:jsxRuntime.exports.jsx(Typography,Object.assign({variant:"subtitle1",color:e=>e.palette.text.secondary},{children:SHARED_TEXT.confirmationStep.resourceSummary.resourceName}))}))})),jsxRuntime.exports.jsx(TableCell,Object.assign({align:"right",sx:{border:"none",borderBottom:"1px solid",borderColor:e=>e.palette.divider}},{children:jsxRuntime.exports.jsx(Typography,Object.assign({variant:"subtitle1",color:e=>e.palette.text.secondary},{children:SHARED_TEXT.confirmationStep.resourceSummary.version}))}))]})}),jsxRuntime.exports.jsx(TableBody,{children:s.sort(i).map(e=>jsxRuntime.exports.jsxs(TableRow,Object.assign({sx:{border:0}},{children:[jsxRuntime.exports.jsx(TableCell,Object.assign({sx:{border:"none"}},{children:e.name})),jsxRuntime.exports.jsx(TableCell,Object.assign({align:"right",sx:{border:"none"}},{children:e.version}))]}),String(e.name+"-"+e.version)))})]})})})]}))},ConfirmationStep=()=>{var e=useSelector(selectIsEditMode),s=useSelector(selectPackageName),r=useSelector(selectPackageDescription),t=useSelector(selectDistributionType),a=useSelector(selectPreviewImage),o=useSelector(selectSelectedResources);const i=useDispatch();var n=[];for(const p of resourceTypes){var c=o.filter(e=>e.type===p.resourceType);n.push({label:p.confirmationLabel,resources:c,version:null==(c=c[0])?void 0:c.version})}return jsxRuntime.exports.jsxs(Stack,{children:[jsxRuntime.exports.jsxs(Box,{children:[jsxRuntime.exports.jsx(Typography,Object.assign({variant:"body1",marginTop:e=>e.spacing(2),color:e=>e.palette.text.secondary},{children:SHARED_TEXT.confirmationStep.description})),jsxRuntime.exports.jsx(Typography,Object.assign({variant:"body2",fontStyle:"italic",marginTop:e=>e.spacing(3),color:e=>e.palette.text.secondary},{children:SHARED_TEXT.confirmationStep.subtext})),jsxRuntime.exports.jsx(Divider,{sx:{margin:e=>e.spacing(4,0,0,0)}}),jsxRuntime.exports.jsxs(Stack,Object.assign({sx:{backgroundColor:e=>e.palette.grey[100]},direction:"row",marginTop:e=>e.spacing(4)},{children:[jsxRuntime.exports.jsxs(Stack,Object.assign({flexGrow:"1",padding:e=>e.spacing(3,4,3,4)},{children:[jsxRuntime.exports.jsx(PackageAttribute,{label:SHARED_TEXT.confirmationStep.packageSummary.nameLabel,value:s}),r&&jsxRuntime.exports.jsx(PackageAttribute,{label:SHARED_TEXT.confirmationStep.packageSummary.descriptionLabel,value:r}),jsxRuntime.exports.jsx(PackageAttribute,{label:SHARED_TEXT.confirmationStep.packageSummary.distributionLabel,value:t})]})),jsxRuntime.exports.jsx(Box,Object.assign({sx:{margin:e=>e.spacing(3,3,2,1),"svg, img":{height:"100px",width:"100px",minHeight:"100px",minWidth:"100px"}}},{children:a?jsxRuntime.exports.jsx("img",{src:a,alt:s+" icon"}):jsxRuntime.exports.jsx(PackagesAvatar,{})}))]})),jsxRuntime.exports.jsx(Typography,Object.assign({variant:"h3",margin:e=>e.spacing(5,0,2,0)},{children:SHARED_TEXT.confirmationStep.resourceSummary.header})),jsxRuntime.exports.jsx(Divider,{sx:{margin:e=>e.spacing(3,0,0,0)}}),jsxRuntime.exports.jsx(Box,{children:n.filter(e=>0<e.resources.length).map((e,s)=>jsxRuntime.exports.jsx(ResourceAccordian,{label:e.label,resources:e.resources,testId:"package-header-"+(s+1)},e.label.toString()+"-"+(null==e?void 0:e.version)))})]}),jsxRuntime.exports.jsx(Box,Object.assign({minHeight:"100px"},{children:jsxRuntime.exports.jsx(PanelControls,{invalidFields:!1,disableNext:!1,disableBack:!1,nextButtonType:e?ENextButtonType.UPDATE_PACKAGE:ENextButtonType.CREATE_PACKAGE,onClickNext:()=>{i(actions.packageManagerWizard.savePackage())}})}))]})};export{ConfirmationStep as default};
|
|
Binary file
|