@uxland/primary-shell 7.39.0 → 7.40.0
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-t8PFluu3.js +52 -0
- package/dist/{component-HlTRffWo.js.map → component-t8PFluu3.js.map} +1 -1
- package/dist/{index-dCpVioQ9.js → index-RXjJQygZ.js} +957 -1367
- package/dist/index-RXjJQygZ.js.map +1 -0
- package/dist/index.js +1 -1
- package/dist/index.umd.cjs +92 -199
- package/dist/index.umd.cjs.map +1 -1
- package/package.json +1 -1
- package/src/api/import-data-manager/component/styles.css +28 -1
- package/dist/component-HlTRffWo.js +0 -52
- package/dist/index-dCpVioQ9.js.map +0 -1
package/package.json
CHANGED
|
@@ -29,11 +29,18 @@
|
|
|
29
29
|
display: grid;
|
|
30
30
|
flex: 1;
|
|
31
31
|
min-height: 0;
|
|
32
|
-
|
|
32
|
+
/* TEMPORAL: amaguem la columna esquerra (importDataActivityHistory) fins
|
|
33
|
+
que el client validi la nova UX. Per reactivar, tornar a
|
|
34
|
+
`grid-template-columns: 1fr 1fr;` i treure el `display: none` de sota. */
|
|
35
|
+
grid-template-columns: 1fr;
|
|
33
36
|
gap: 16px;
|
|
34
37
|
padding: 16px;
|
|
35
38
|
}
|
|
36
39
|
|
|
40
|
+
.content > primaria-region[name="import-data-activity-history-region"] {
|
|
41
|
+
display: none;
|
|
42
|
+
}
|
|
43
|
+
|
|
37
44
|
.content > primaria-region {
|
|
38
45
|
width: 100%;
|
|
39
46
|
height: 100%;
|
|
@@ -49,10 +56,30 @@
|
|
|
49
56
|
box-sizing: border-box;
|
|
50
57
|
}
|
|
51
58
|
|
|
59
|
+
/* Right column: stacks plugin cards and scrolls as a whole. */
|
|
52
60
|
.content > primaria-region[name="import-data-region"] > div {
|
|
53
61
|
overflow-y: auto;
|
|
54
62
|
}
|
|
55
63
|
|
|
64
|
+
/* Left column: vertical stack of multiple views with a gap. The last view
|
|
65
|
+
takes the remaining space and handles its own scroll; preceding views
|
|
66
|
+
keep their natural height. */
|
|
67
|
+
.content > primaria-region[name="import-data-activity-history-region"] > div {
|
|
68
|
+
display: flex;
|
|
69
|
+
flex-direction: column;
|
|
70
|
+
gap: 16px;
|
|
71
|
+
overflow: hidden;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.content > primaria-region[name="import-data-activity-history-region"] > div > * {
|
|
75
|
+
flex-shrink: 0;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.content > primaria-region[name="import-data-activity-history-region"] > div > *:last-child {
|
|
79
|
+
flex: 1;
|
|
80
|
+
min-height: 0;
|
|
81
|
+
}
|
|
82
|
+
|
|
56
83
|
.footer {
|
|
57
84
|
display: flex;
|
|
58
85
|
flex-direction: row;
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { s, t as d, k as l, h as p, r as g, i as m, a as h } from "./index-dCpVioQ9.js";
|
|
2
|
-
const v = ".container{background-color:#fff;display:flex;flex-direction:column;min-width:500px;width:95vw;height:95vh;border-radius:var(--dss-radius-sm);overflow:hidden}.content{display:grid;flex:1;min-height:0;grid-template-columns:1fr 1fr;gap:16px;padding:16px}.content>primaria-region{width:100%;height:100%;min-height:0}.content primaria-region>div{width:100%;height:100%;border:1px solid var(--color-neutral-200);border-radius:8px;padding:16px;box-sizing:border-box}.content>primaria-region[name=import-data-region]>div{overflow-y:auto}.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)}", f = (r) => l`
|
|
3
|
-
<div class="container">
|
|
4
|
-
<div class="content">
|
|
5
|
-
<primaria-region name="${s.regionManager.regions.shell.importDataActivityHistory}"></primaria-region>
|
|
6
|
-
<primaria-region name="${s.regionManager.regions.shell.importData}"></primaria-region>
|
|
7
|
-
</div>
|
|
8
|
-
<div class="footer">
|
|
9
|
-
<dss-button
|
|
10
|
-
label="${d("importDataManager.actions.cancel")}"
|
|
11
|
-
@click="${() => {
|
|
12
|
-
r.cancel();
|
|
13
|
-
}}"
|
|
14
|
-
size="md"
|
|
15
|
-
variant="secondary"
|
|
16
|
-
></dss-button>
|
|
17
|
-
<dss-button
|
|
18
|
-
label="${d("importDataManager.actions.import")}"
|
|
19
|
-
@click="${() => {
|
|
20
|
-
r._accept();
|
|
21
|
-
}}"
|
|
22
|
-
size="md"
|
|
23
|
-
variant="primary"
|
|
24
|
-
></dss-button>
|
|
25
|
-
</div>
|
|
26
|
-
</div>
|
|
27
|
-
`;
|
|
28
|
-
var u = Object.getOwnPropertyDescriptor, x = (r, t, c, n) => {
|
|
29
|
-
for (var a = n > 1 ? void 0 : n ? u(t, c) : t, i = r.length - 1, o; i >= 0; i--)
|
|
30
|
-
(o = r[i]) && (a = o(a) || a);
|
|
31
|
-
return a;
|
|
32
|
-
};
|
|
33
|
-
let e = class extends p {
|
|
34
|
-
constructor() {
|
|
35
|
-
super(...arguments), this._accept = () => {
|
|
36
|
-
this.confirm();
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
render() {
|
|
40
|
-
return l`${f(this)}`;
|
|
41
|
-
}
|
|
42
|
-
};
|
|
43
|
-
e.styles = m`
|
|
44
|
-
${g(v)}
|
|
45
|
-
`;
|
|
46
|
-
e = x([
|
|
47
|
-
h("import-data-manager-modal")
|
|
48
|
-
], e);
|
|
49
|
-
export {
|
|
50
|
-
e as ImportDataManagerModal
|
|
51
|
-
};
|
|
52
|
-
//# sourceMappingURL=component-HlTRffWo.js.map
|