@uxland/primary-shell 7.26.0 → 7.26.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{component-DAfsWaZG.js → component-CXtcetny.js} +2 -2
- package/dist/{component-DAfsWaZG.js.map → component-CXtcetny.js.map} +1 -1
- package/dist/{index-wb2eijet.js → index-BLsin1Ol.js} +12 -12
- package/dist/index-BLsin1Ol.js.map +1 -0
- package/dist/index.js +1 -1
- package/dist/index.umd.cjs +2 -2
- package/dist/index.umd.cjs.map +1 -1
- package/package.json +1 -1
- package/dist/index-wb2eijet.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as d, k as l, P as p, h as g, r as m, i as v, s as h, a as f, b as u } from "./index-
|
|
1
|
+
import { t as d, k as l, P as p, h as g, r as m, i as v, s as h, a as f, b as u } from "./index-BLsin1Ol.js";
|
|
2
2
|
const x = ".container{background-color:#fff;display:flex;flex-direction:column;min-width:500px;width:90vw;height:90vh;border-radius:var(--dss-radius-sm);overflow:hidden}.content{display:grid;height:100%;min-height:1px;grid-template-columns:1fr 1fr;grid-auto-rows:1fr;gap:16px;padding:16px;overflow-y:auto;max-height:calc(90vh - 120px)}.content>*{border:1px solid var(--color-neutral-200);border-radius:8px;padding:16px;background-color:var(--color-neutral-50);min-height:200px}.footer{display:flex;flex-direction:row;align-items:center;background:#fff;justify-content:end;gap:12px;height:56px;border-top:1px solid var(--color-neutral-100);padding:var(--dss-spacing-sm)}", b = (r) => l`
|
|
3
3
|
<div class="container">
|
|
4
4
|
<!-- <div class="header">
|
|
@@ -44,4 +44,4 @@ i = c([
|
|
|
44
44
|
export {
|
|
45
45
|
i as ImportDataManagerModal
|
|
46
46
|
};
|
|
47
|
-
//# sourceMappingURL=component-
|
|
47
|
+
//# sourceMappingURL=component-CXtcetny.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component-
|
|
1
|
+
{"version":3,"file":"component-CXtcetny.js","sources":["../src/api/import-data-manager/component/template.ts","../src/api/import-data-manager/component/component.ts"],"sourcesContent":["import { html } from \"lit\";\nimport { translate } from \"../../../locales\";\nimport { ImportDataManagerModal } from \"./component\";\n\nexport const template = (props: ImportDataManagerModal) => {\n return html`\n <div class=\"container\">\n <!-- <div class=\"header\">\n <div class=\"title\">\n <div>${translate(\"importDataManager.title\")}</div>\n </div> \n </div> -->\n <div class=\"content\" id=\"import-data-region\"></div>\n <div class=\"footer\">\n <dss-button label=\"${translate(\"importDataManager.actions.cancel\")}\" @click=\"${() => {\n props.cancel();\n }}\" size=\"md\" variant=\"secondary\"></dss-button>\n <dss-button label=\"${translate(\"importDataManager.actions.import\")}\" @click=\"${() => {\n props._accept();\n }}\" size=\"md\" variant=\"primary\"></dss-button>\n </div>\n </div>\n `;\n};\n","import { IRegion, region } from \"@uxland/regions\";\nimport { LitElement, css, html, unsafeCSS } from \"lit\";\nimport { customElement } from \"lit/decorators.js\";\nimport styles from \"./styles.css?inline\";\nimport { template } from \"./template\";\nimport { ConfirmationContentProps } from \"../../interaction-service\";\nimport { PrimariaRegionHost, shellApi } from \"../../api\";\n\n@customElement(\"import-data-manager-modal\")\nexport class ImportDataManagerModal\n extends PrimariaRegionHost(LitElement)\n implements ConfirmationContentProps<undefined, undefined>\n{\n data: undefined;\n setResult: (result: undefined) => void;\n setIsValid: (isValid: boolean) => void;\n confirm: () => void;\n cancel: () => void;\n\n @region({ targetId: \"import-data-region\", name: shellApi.regionManager.regions.shell.importData })\n importDataRegion: IRegion | undefined;\n\n render() {\n return html`${template(this)}`;\n }\n\n static styles = css`\n ${unsafeCSS(styles)}\n `;\n\n _accept = () => {\n this.confirm();\n };\n}\n"],"names":["template","props","html","translate","ImportDataManagerModal","PrimariaRegionHost","LitElement","css","unsafeCSS","styles","__decorateClass","region","shellApi","customElement"],"mappings":";gqBAIaA,IAAW,CAACC,MAChBC;AAAAA;AAAAA;AAAAA;AAAAA,iBAIQC,EAAU,yBAAyB,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA,yBAK5BA,EAAU,kCAAkC,CAAC,aAAa,MAAM;AACjF,EAAAF,EAAM,OAAA;AACR,CAAC;AAAA,2BACoBE,EAAU,kCAAkC,CAAC,aAAa,MAAM;AACnF,EAAAF,EAAM,QAAA;AACR,CAAC;AAAA;AAAA;AAAA;;;;;;ACVA,IAAMG,IAAN,cACGC,EAAmBC,CAAU,EAEvC;AAAA,EAHO,cAAA;AAAA,UAAA,GAAA,SAAA,GAqBL,KAAA,UAAU,MAAM;AACd,WAAK,QAAA;AAAA,IACP;AAAA,EAAA;AAAA,EAVA,SAAS;AACP,WAAOJ,IAAOF,EAAS,IAAI,CAAC;AAAA,EAC9B;AASF;AAxBaI,EAiBJ,SAASG;AAAAA,MACZC,EAAUC,CAAM,CAAC;AAAA;AAPrBC,EAAA;AAAA,EADCC,EAAO,EAAE,UAAU,sBAAsB,MAAMC,EAAS,cAAc,QAAQ,MAAM,WAAA,CAAY;AAAA,GAVtFR,EAWX,WAAA,oBAAA,CAAA;AAXWA,IAANM,EAAA;AAAA,EADNG,EAAc,2BAA2B;AAAA,GAC7BT,CAAA;"}
|
|
@@ -9787,7 +9787,7 @@ class ImportDataManagerImpl {
|
|
|
9787
9787
|
async import(W) {
|
|
9788
9788
|
this.currentImporterId = W, this.selectedItems = {}, this.pluginTexts = {};
|
|
9789
9789
|
try {
|
|
9790
|
-
const { ImportDataManagerModal: X } = await import("./component-
|
|
9790
|
+
const { ImportDataManagerModal: X } = await import("./component-CXtcetny.js"), { confirmed: te } = await this.interactionService.confirm(
|
|
9791
9791
|
void 0,
|
|
9792
9792
|
{ component: X },
|
|
9793
9793
|
{
|
|
@@ -12068,19 +12068,19 @@ const activityHistoryCollectionsSelector = (J) => J.activityHistoryCollections.c
|
|
|
12068
12068
|
), customFilterGroupsWithOptionsSelector = createSelector(
|
|
12069
12069
|
activityHistoryCustomFilterGroupsSelector,
|
|
12070
12070
|
activityHistoryCollectionsSelector,
|
|
12071
|
-
(J, W) => J.
|
|
12072
|
-
const
|
|
12071
|
+
(J, W) => J.filter((re) => {
|
|
12072
|
+
const oe = W[re.id];
|
|
12073
|
+
return oe?.items && oe.items.length > 0;
|
|
12074
|
+
}).map((re) => {
|
|
12075
|
+
const oe = W[re.id];
|
|
12073
12076
|
return {
|
|
12074
|
-
...
|
|
12075
|
-
filters:
|
|
12076
|
-
...
|
|
12077
|
-
options: (
|
|
12077
|
+
...re,
|
|
12078
|
+
filters: re.filters.map((ne) => ({
|
|
12079
|
+
...ne,
|
|
12080
|
+
options: (ne.singleOption ? [] : oe?.items && getUniqueObjects(oe.items, ne.propPathValue, ne.propsPathDescription, ne.title)) || []
|
|
12078
12081
|
}))
|
|
12079
12082
|
};
|
|
12080
12083
|
})
|
|
12081
|
-
), customFilterGroupsWithOptionsAvailableSelector = createSelector(
|
|
12082
|
-
customFilterGroupsWithOptionsSelector,
|
|
12083
|
-
(J) => J.filter((W) => !W.filters || W.filters.length === 0 ? !1 : W.filters.some((X) => X.singleOption ? !0 : X.options && X.options.length > 0))
|
|
12084
12084
|
), activityHistoryGroupedItems = createSelector(
|
|
12085
12085
|
activityHistoryMappedItems,
|
|
12086
12086
|
activityHistorySearchStringSelector,
|
|
@@ -12275,7 +12275,7 @@ __decorateClass$r([
|
|
|
12275
12275
|
connectedProperty(activityHistoryCommonFiltersSelector)
|
|
12276
12276
|
], ActivityHistoryFilters.prototype, "commonFilters", 2);
|
|
12277
12277
|
__decorateClass$r([
|
|
12278
|
-
connectedProperty(
|
|
12278
|
+
connectedProperty(customFilterGroupsWithOptionsSelector)
|
|
12279
12279
|
], ActivityHistoryFilters.prototype, "customFilterGroups", 2);
|
|
12280
12280
|
__decorateClass$r([
|
|
12281
12281
|
connectedProperty(diagnosticFilterSelector)
|
|
@@ -48931,4 +48931,4 @@ export {
|
|
|
48931
48931
|
l as x,
|
|
48932
48932
|
PrimariaInteractionService as y
|
|
48933
48933
|
};
|
|
48934
|
-
//# sourceMappingURL=index-
|
|
48934
|
+
//# sourceMappingURL=index-BLsin1Ol.js.map
|