@orangelogic/design-system 2.163.0 → 2.164.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/library/chunks/{asset-link-format.BdB6fQA_.js → asset-link-format.0q_MQOYh.js} +689 -633
- package/library/chunks/asset-link-format.ClaYu_v8.js +7 -0
- package/library/chunks/{color-swatch-group.w5DMzNco.js → color-swatch-group.ChP9amU9.js} +375 -296
- package/library/chunks/{document-viewer.gyH0NGM5.js → document-viewer.Cng07M-1.js} +1 -1
- package/library/chunks/{folder-select.Dh4SX0eU.js → folder-select.Dw1ZKZAq.js} +156 -136
- package/library/chunks/position-picker.DjnhxIKF.js +4 -0
- package/library/chunks/{toast.C5Ir5yKA.js → toast.CXEAfCvN.js} +1 -1
- package/library/chunks/transformation.8uLv6uwG.js +264 -0
- package/library/chunks/{tree.Dvnw_4vz.js → tree.vn5sHbdt.js} +120 -114
- package/library/components/asset-link-format.js +5 -4
- package/library/components/atoms.js +2 -2
- package/library/components/color-swatch-group.js +3 -3
- package/library/components/cropper.js +1 -1
- package/library/components/document-viewer.js +1 -1
- package/library/components/file-on-demand.js +1 -1
- package/library/components/folder-select.js +2 -2
- package/library/components/masonry.js +74 -71
- package/library/components/molecules.js +1 -1
- package/library/components/organisms.js +2 -2
- package/library/components/position-picker.js +25 -25
- package/library/components/tree-item.js +1 -1
- package/library/components/tree.js +1 -1
- package/library/components/types.js +10511 -10509
- package/library/package.json +1 -1
- package/library/packages/atoms/src/components/tree/tree.d.ts +7 -1
- package/library/packages/atoms/src/components/tree-item/tree-item.d.ts +11 -1
- package/library/packages/events/src/cx-folder-select-loading-change.d.ts +8 -0
- package/library/packages/events/src/events.d.ts +1 -0
- package/library/packages/hybrid/table-core/src/table/styles/table-frozen.styles.d.ts +8 -0
- package/library/packages/hybrid/table-core/src/table/table.d.ts +9 -1
- package/library/packages/hybrid/table-core/src/tabulator-tables/modules/FrozenColumns/FrozenColumns.d.ts +14 -1
- package/library/packages/hybrid/table-core/src/tabulator-tables/modules/ResizeColumns/ResizeColumns.d.ts +18 -1
- package/library/packages/molecules/src/folder-select/components/folder-select-tree/folder-select-tree.d.ts +7 -0
- package/library/packages/molecules/src/folder-select/folder-select.d.ts +7 -0
- package/library/packages/molecules/src/masonry/masonry.d.ts +5 -0
- package/library/packages/organisms/src/asset-link-format/asset-link-format.d.ts +9 -0
- package/library/packages/organisms/src/asset-link-format/components/asset-link-format-crop/asset-link-format-crop.d.ts +30 -0
- package/library/packages/types/src/asset-link-format.d.ts +19 -0
- package/library/packages/types/src/tree-item.d.ts +12 -0
- package/library/react-web-component.d.ts +15 -3
- package/library/utils.js +63 -64
- package/package.json +1 -1
- package/library/chunks/asset-link-format.QzzboHHE.js +0 -6
- package/library/chunks/content-builder.BX4pHujE.js +0 -60
- package/library/chunks/transformation.D1alV_s4.js +0 -189
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import _ from "./grid.js";
|
|
2
2
|
import f from "./grid-item.js";
|
|
3
3
|
import { C as v } from "../chunks/icon-button.BwmMJ0bI.js";
|
|
4
|
-
import { C as
|
|
5
|
-
import
|
|
4
|
+
import { C as $ } from "../chunks/image.BgODrAzQ.js";
|
|
5
|
+
import S from "./space.js";
|
|
6
6
|
import C from "./tooltip.js";
|
|
7
|
-
import { n, C as w } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
7
|
+
import { n as s, C as w } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
8
8
|
import { c as I } from "../chunks/component.styles.CRO4Odto.js";
|
|
9
|
-
import { a as
|
|
9
|
+
import { a as x } from "../chunks/index.Cpamj0jB.js";
|
|
10
10
|
import { c as k } from "../chunks/custom-element.L4WJXn1j.js";
|
|
11
11
|
import { w as U } from "../chunks/watch.DJF5K-8U.js";
|
|
12
|
-
import { i as A, x as
|
|
13
|
-
import { r as
|
|
12
|
+
import { i as A, x as n } from "../chunks/lit-element.jLBm65_O.js";
|
|
13
|
+
import { r as u } from "../chunks/state.CSDxrqLd.js";
|
|
14
14
|
import { e as E } from "../chunks/query.BBf1UFkC.js";
|
|
15
15
|
import { e as h } from "../chunks/class-map.BiVq-cVR.js";
|
|
16
16
|
import { o as b } from "../chunks/if-defined.BRoBj_Rp.js";
|
|
@@ -20,14 +20,14 @@ import { n as y } from "../chunks/when.Dr1es41R.js";
|
|
|
20
20
|
import { S as j } from "../chunks/sortable.esm.oSzf6C5Q.js";
|
|
21
21
|
var c = /* @__PURE__ */ ((t) => (t.Masonry = "masonry", t.Standard = "standard", t))(c || {});
|
|
22
22
|
const D = A`:host{--actions-background-color:var(--cx-color-neutral-100);--border-radius:0px;--item-border-radius:var(--cx-border-radius-medium);--padding:0px;--width:100%;--height:auto;width:var(--width,100%);height:var(--height,100%);display:block;overflow:auto}:host([spacing="3x-small"]){--spacing-container-gap:var(--cx-spacing-3x-small)}:host([spacing="2x-small"]){--spacing-container-gap:var(--cx-spacing-2x-small)}:host([spacing=x-small]){--spacing-container-gap:var(--cx-spacing-x-small)}:host([spacing=small]){--spacing-container-gap:var(--cx-spacing-small)}:host([spacing=medium]){--spacing-container-gap:var(--cx-spacing-medium)}:host([spacing=large]){--spacing-container-gap:var(--cx-spacing-large)}:host([spacing=x-large]){--spacing-container-gap:var(--cx-spacing-x-large)}:host([spacing="2x-large"]){--spacing-container-gap:var(--cx-spacing-2x-large)}:host([spacing="3x-large"]){--spacing-container-gap:var(--cx-spacing-3x-large)}:host([spacing="4x-large"]){--spacing-container-gap:var(--cx-spacing-4x-large)}.masonry-list{column-gap:var(--spacing-container-gap)}.masonry-list__item{border-radius:var(--item-border-radius);display:block;position:relative;overflow:hidden}.masonry-list__item--error:before{content:"";border:2px solid var(--cx-color-danger);border-radius:var(--item-border-radius);z-index:1;width:100%;height:100%;position:absolute;top:0;left:0}.container--masonry .masonry-list__item{margin-bottom:var(--spacing-container-gap)}.container--standard cx-grid-item::part(base){height:100%}.masonry-list__item__image{width:100%;height:100%}.masonry-list__item__actions{opacity:0;width:100%;transition:opacity var(--cx-transition-fast) ease-in-out;z-index:10;position:absolute;bottom:0;left:0}.masonry-list__item__actions:before{content:"";background-color:var(--actions-background-color);opacity:.5;pointer-events:none;width:100%;height:100%;position:absolute;top:0;left:0}.masonry-list__item:hover .masonry-list__item__actions{opacity:1}.masonry-list__item__action{z-index:5;flex:auto;position:relative}.masonry-list__item__action::part(base){border-radius:0;width:100%}.container--sortable .masonry-list__item{cursor:move}`;
|
|
23
|
-
var K = Object.defineProperty, z = Object.getOwnPropertyDescriptor, e = (t,
|
|
24
|
-
for (var l =
|
|
25
|
-
(p = t[d]) && (l = (
|
|
26
|
-
return
|
|
23
|
+
var K = Object.defineProperty, z = Object.getOwnPropertyDescriptor, e = (t, r, i, o) => {
|
|
24
|
+
for (var l = o > 1 ? void 0 : o ? z(r, i) : r, d = t.length - 1, p; d >= 0; d--)
|
|
25
|
+
(p = t[d]) && (l = (o ? p(r, i, l) : p(l)) || l);
|
|
26
|
+
return o && l && K(r, i, l), l;
|
|
27
27
|
};
|
|
28
|
-
let
|
|
28
|
+
let a = class extends w {
|
|
29
29
|
constructor() {
|
|
30
|
-
super(), this.data = [], this.variant = c.Standard, this.cols = 3, this.rowHeight = "auto", this.actions = [], this.sortable = !1, this.spacing = "medium", this.idKey = "id", this.sortableInstance = null, this.previous = [], this.abortDrag = !1, this.handleEnd = this.handleEnd.bind(this), this.handleStart = this.handleStart.bind(this), this.handleSortableUpdate = this.handleSortableUpdate.bind(this), this.handleItemClick = this.handleItemClick.bind(this);
|
|
30
|
+
super(), this.data = [], this.variant = c.Standard, this.cols = 3, this.rowHeight = "auto", this.actions = [], this.sortable = !1, this.spacing = "medium", this.idKey = "id", this.noCrossorigin = !1, this.sortableInstance = null, this.previous = [], this.abortDrag = !1, this.handleEnd = this.handleEnd.bind(this), this.handleStart = this.handleStart.bind(this), this.handleSortableUpdate = this.handleSortableUpdate.bind(this), this.handleItemClick = this.handleItemClick.bind(this);
|
|
31
31
|
}
|
|
32
32
|
getAllItems() {
|
|
33
33
|
return Array.from(this.list.querySelectorAll(".masonry-list__item"));
|
|
@@ -36,8 +36,8 @@ let r = class extends w {
|
|
|
36
36
|
t.item && (this.previous = [t.item.previousSibling]);
|
|
37
37
|
}
|
|
38
38
|
async handleEnd(t) {
|
|
39
|
-
await this.updateComplete, this.sortableInstance && (t.item && this.previous.forEach((
|
|
40
|
-
|
|
39
|
+
await this.updateComplete, this.sortableInstance && (t.item && this.previous.forEach((r) => {
|
|
40
|
+
r && r.after(t.item);
|
|
41
41
|
}), this.requestUpdate());
|
|
42
42
|
}
|
|
43
43
|
destroySortable() {
|
|
@@ -62,81 +62,81 @@ let r = class extends w {
|
|
|
62
62
|
disconnectedCallback() {
|
|
63
63
|
super.disconnectedCallback(), this.destroySortable();
|
|
64
64
|
}
|
|
65
|
-
handleItemClick(t,
|
|
65
|
+
handleItemClick(t, r) {
|
|
66
66
|
this.emit("cx-masonry-select", {
|
|
67
|
-
detail: { event: t, item:
|
|
67
|
+
detail: { event: t, item: r }
|
|
68
68
|
});
|
|
69
69
|
}
|
|
70
70
|
handleSortableUpdate(t) {
|
|
71
|
-
const
|
|
72
|
-
|
|
73
|
-
const
|
|
71
|
+
const r = this.data[t.oldIndex], i = [...this.data];
|
|
72
|
+
i.splice(t.oldIndex, 1), i.splice(t.newIndex, 0, r);
|
|
73
|
+
const o = {
|
|
74
74
|
from: t.from,
|
|
75
75
|
item: t.item,
|
|
76
76
|
items: this.getAllItems(),
|
|
77
|
-
itemsData:
|
|
77
|
+
itemsData: i,
|
|
78
78
|
newIndex: t.newIndex,
|
|
79
79
|
oldIndex: t.oldIndex,
|
|
80
80
|
to: t.to,
|
|
81
81
|
type: t.type
|
|
82
82
|
};
|
|
83
83
|
this.emit("cx-reorder", {
|
|
84
|
-
detail:
|
|
84
|
+
detail: o
|
|
85
85
|
});
|
|
86
86
|
}
|
|
87
87
|
renderActions(t) {
|
|
88
|
-
const
|
|
89
|
-
const
|
|
90
|
-
this.emit(
|
|
88
|
+
const r = (i) => {
|
|
89
|
+
const o = () => {
|
|
90
|
+
this.emit(i.event, {
|
|
91
91
|
detail: { item: t }
|
|
92
92
|
});
|
|
93
93
|
};
|
|
94
|
-
return
|
|
95
|
-
color:
|
|
94
|
+
return n`<cx-icon-button class="masonry-list__item__action" name=${b(i.icon)} src=${b(i.src)} @click=${o} size="small" style=${g({
|
|
95
|
+
color: i.color
|
|
96
96
|
})}></cx-icon-button>`;
|
|
97
97
|
};
|
|
98
|
-
return
|
|
98
|
+
return n`<cx-space class="masonry-list__item__actions" direction="horizontal" spacing="x-small" justify-content="space-around">${m(
|
|
99
99
|
this.actions,
|
|
100
|
-
(
|
|
101
|
-
(
|
|
100
|
+
(i) => i.event,
|
|
101
|
+
(i) => i.tooltip ? n`<cx-tooltip content=${i.tooltip}>${r(i)}</cx-tooltip>` : r(i)
|
|
102
102
|
)}</cx-space>`;
|
|
103
103
|
}
|
|
104
104
|
renderMasonry() {
|
|
105
|
-
return
|
|
105
|
+
return n`<div class="masonry-list" style=${g({
|
|
106
106
|
"column-count": this.cols
|
|
107
107
|
})} part="list">${m(
|
|
108
108
|
this.data,
|
|
109
109
|
(t) => t[this.idKey],
|
|
110
110
|
(t) => {
|
|
111
|
-
const
|
|
112
|
-
this.handleItemClick(
|
|
111
|
+
const r = (i) => {
|
|
112
|
+
this.handleItemClick(i, t);
|
|
113
113
|
};
|
|
114
|
-
return
|
|
114
|
+
return n`<div data-id=${t[this.idKey]} class=${h({
|
|
115
115
|
"masonry-list__item": !0,
|
|
116
116
|
"masonry-list__item--error": t.hasError ?? !1
|
|
117
|
-
})} part="item" @click=${
|
|
117
|
+
})} part="item" @click=${r}><cx-image part="image" class="masonry-list__item__image" alt=${t.alt || ""} src=${t.src} object-fit=${t.objectFit || x.Cover} ?loading=${t.loading} ?no-crossorigin=${this.noCrossorigin} retry-on-error></cx-image>${y(this.actions.length > 0, () => this.renderActions(t))}</div>`;
|
|
118
118
|
}
|
|
119
119
|
)}</div>`;
|
|
120
120
|
}
|
|
121
121
|
renderStandard() {
|
|
122
|
-
return
|
|
122
|
+
return n`<cx-grid columns=${this.cols} spacing="var(--cx-spacing-${this.spacing})" use-flex-gap class="masonry-list" part="list">${m(
|
|
123
123
|
this.data,
|
|
124
124
|
(t) => t[this.idKey],
|
|
125
125
|
(t) => {
|
|
126
|
-
const
|
|
127
|
-
this.handleItemClick(
|
|
126
|
+
const r = (i) => {
|
|
127
|
+
this.handleItemClick(i, t);
|
|
128
128
|
};
|
|
129
|
-
return
|
|
129
|
+
return n`<cx-grid-item xs="1"><div class=${h({
|
|
130
130
|
"masonry-list__item": !0,
|
|
131
131
|
"masonry-list__item--error": t.hasError ?? !1
|
|
132
132
|
})} style=${g({
|
|
133
133
|
height: this.rowHeight
|
|
134
|
-
})} part="item" @click=${
|
|
134
|
+
})} part="item" @click=${r} data-id=${t[this.idKey]}><cx-image part="image" class="masonry-list__item__image" alt=${t.alt || ""} src=${t.src} width="100%" height="100%" object-fit=${t.objectFit || x.Cover} ?loading=${t.loading} ?no-crossorigin=${this.noCrossorigin}></cx-image>${y(this.actions.length > 0, () => this.renderActions(t))}</div></cx-grid-item>`;
|
|
135
135
|
}
|
|
136
136
|
)}</cx-grid>`;
|
|
137
137
|
}
|
|
138
138
|
render() {
|
|
139
|
-
return
|
|
139
|
+
return n`<div part="base" class=${h({
|
|
140
140
|
container: !0,
|
|
141
141
|
"container--masonry": this.variant === c.Masonry,
|
|
142
142
|
"container--sortable": this.sortable,
|
|
@@ -148,57 +148,60 @@ let r = class extends w {
|
|
|
148
148
|
)}</div>`;
|
|
149
149
|
}
|
|
150
150
|
};
|
|
151
|
-
|
|
152
|
-
|
|
151
|
+
a.styles = [I, D];
|
|
152
|
+
a.dependencies = {
|
|
153
153
|
"cx-grid": _,
|
|
154
154
|
"cx-grid-item": f,
|
|
155
155
|
"cx-icon-button": v,
|
|
156
|
-
"cx-image":
|
|
157
|
-
"cx-space":
|
|
156
|
+
"cx-image": $,
|
|
157
|
+
"cx-space": S,
|
|
158
158
|
"cx-tooltip": C
|
|
159
159
|
};
|
|
160
160
|
e([
|
|
161
161
|
E(".masonry-list")
|
|
162
|
-
],
|
|
162
|
+
], a.prototype, "list", 2);
|
|
163
163
|
e([
|
|
164
|
-
|
|
165
|
-
],
|
|
164
|
+
s({ type: Array })
|
|
165
|
+
], a.prototype, "data", 2);
|
|
166
166
|
e([
|
|
167
|
-
|
|
168
|
-
],
|
|
167
|
+
s({ reflect: !0, type: String })
|
|
168
|
+
], a.prototype, "variant", 2);
|
|
169
169
|
e([
|
|
170
|
-
|
|
171
|
-
],
|
|
170
|
+
s({ reflect: !0, type: Number })
|
|
171
|
+
], a.prototype, "cols", 2);
|
|
172
172
|
e([
|
|
173
|
-
|
|
174
|
-
],
|
|
173
|
+
s({ attribute: "row-height", type: String })
|
|
174
|
+
], a.prototype, "rowHeight", 2);
|
|
175
175
|
e([
|
|
176
|
-
|
|
177
|
-
],
|
|
176
|
+
s({ type: Array })
|
|
177
|
+
], a.prototype, "actions", 2);
|
|
178
178
|
e([
|
|
179
|
-
|
|
180
|
-
],
|
|
179
|
+
s({ reflect: !0, type: Boolean })
|
|
180
|
+
], a.prototype, "sortable", 2);
|
|
181
181
|
e([
|
|
182
|
-
|
|
183
|
-
],
|
|
182
|
+
s({ reflect: !0, type: String })
|
|
183
|
+
], a.prototype, "spacing", 2);
|
|
184
184
|
e([
|
|
185
|
-
|
|
186
|
-
],
|
|
185
|
+
s({ attribute: "id-key", reflect: !0, type: String })
|
|
186
|
+
], a.prototype, "idKey", 2);
|
|
187
187
|
e([
|
|
188
|
-
|
|
189
|
-
],
|
|
188
|
+
s({ attribute: "no-crossorigin", reflect: !0, type: Boolean })
|
|
189
|
+
], a.prototype, "noCrossorigin", 2);
|
|
190
190
|
e([
|
|
191
|
-
|
|
192
|
-
],
|
|
191
|
+
u()
|
|
192
|
+
], a.prototype, "sortableInstance", 2);
|
|
193
193
|
e([
|
|
194
|
-
|
|
195
|
-
],
|
|
194
|
+
u()
|
|
195
|
+
], a.prototype, "previous", 2);
|
|
196
|
+
e([
|
|
197
|
+
u()
|
|
198
|
+
], a.prototype, "abortDrag", 2);
|
|
196
199
|
e([
|
|
197
200
|
U("sortable", { waitUntilFirstUpdate: !0 })
|
|
198
|
-
],
|
|
199
|
-
|
|
201
|
+
], a.prototype, "handleSortableChange", 1);
|
|
202
|
+
a = e([
|
|
200
203
|
k("cx-masonry")
|
|
201
|
-
],
|
|
204
|
+
], a);
|
|
202
205
|
export {
|
|
203
|
-
|
|
206
|
+
a as default
|
|
204
207
|
};
|
|
@@ -5,7 +5,7 @@ import { C as u } from "../chunks/confirm-popover.D8mdy6KG.js";
|
|
|
5
5
|
import { default as d } from "./corner-position-input-group.js";
|
|
6
6
|
import { default as l } from "./cropper.js";
|
|
7
7
|
import { default as i } from "./dynamic-select.js";
|
|
8
|
-
import { C as c } from "../chunks/folder-select.
|
|
8
|
+
import { C as c } from "../chunks/folder-select.Dw1ZKZAq.js";
|
|
9
9
|
import { default as P } from "./masonry.js";
|
|
10
10
|
import { default as I } from "./padding-input-group.js";
|
|
11
11
|
import { default as y } from "./position-picker.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as a } from "../chunks/asset-link-format.
|
|
2
|
-
import { C as t } from "../chunks/color-swatch-group.
|
|
1
|
+
import { C as a } from "../chunks/asset-link-format.0q_MQOYh.js";
|
|
2
|
+
import { C as t } from "../chunks/color-swatch-group.ChP9amU9.js";
|
|
3
3
|
import { default as C } from "./file-on-demand.js";
|
|
4
4
|
export {
|
|
5
5
|
a as CxAssetLinkFormat,
|
|
@@ -2,43 +2,43 @@ import d from "./grid.js";
|
|
|
2
2
|
import p from "./grid-item.js";
|
|
3
3
|
import m from "./radio.js";
|
|
4
4
|
import x from "./radio-group.js";
|
|
5
|
-
import { n as
|
|
6
|
-
import { c as
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
|
|
11
|
-
const
|
|
12
|
-
var
|
|
13
|
-
for (var
|
|
14
|
-
(s =
|
|
15
|
-
return
|
|
5
|
+
import { n as u, C as h } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
6
|
+
import { c as _ } from "../chunks/component.styles.CRO4Odto.js";
|
|
7
|
+
import { P as i } from "../chunks/position-picker.DjnhxIKF.js";
|
|
8
|
+
import { c as g } from "../chunks/custom-element.L4WJXn1j.js";
|
|
9
|
+
import { L as v } from "../chunks/i18n.Bchq8v1d.js";
|
|
10
|
+
import { i as f, x as k } from "../chunks/lit-element.jLBm65_O.js";
|
|
11
|
+
const $ = f`.position-picker__column{width:fit-content}.position-picker__column::part(base){justify-content:center;align-items:center;gap:var(--cx-spacing-x-small);flex-direction:column;display:flex}.position-picker__radio{--checked-color:var(--cx-color-neutral-0);--checked-border-color:var(--cx-color-neutral-0);--checked-background-color:var(--cx-color-primary);--checked-hover-border-color:var(--cx-color-neutral-0);--checked-hover-background-color:var(--cx-color-primary)}`;
|
|
12
|
+
var C = Object.defineProperty, b = Object.getOwnPropertyDescriptor, n = (c, o, t, a) => {
|
|
13
|
+
for (var e = a > 1 ? void 0 : a ? b(o, t) : o, l = c.length - 1, s; l >= 0; l--)
|
|
14
|
+
(s = c[l]) && (e = (a ? s(o, t, e) : s(e)) || e);
|
|
15
|
+
return a && e && C(o, t, e), e;
|
|
16
16
|
};
|
|
17
|
-
let
|
|
17
|
+
let r = class extends h {
|
|
18
18
|
constructor() {
|
|
19
|
-
super(...arguments), this.localize = new
|
|
19
|
+
super(...arguments), this.localize = new v(this), this.value = i.TopLeft;
|
|
20
20
|
}
|
|
21
|
-
handleChange(
|
|
22
|
-
const
|
|
23
|
-
this.value =
|
|
21
|
+
handleChange(c) {
|
|
22
|
+
const o = c.target;
|
|
23
|
+
this.value = o.value;
|
|
24
24
|
}
|
|
25
25
|
render() {
|
|
26
|
-
return
|
|
26
|
+
return k`<div class="position-picker"><cx-radio-group value=${this.value} name="position" .form=${this.closest("form")} @cx-change=${this.handleChange}><cx-grid columns="3" spacing="var(--cx-spacing-small)"><cx-grid-item xs="1" class="position-picker__column"><cx-radio class="position-picker__radio" value=${i.TopLeft} checked-icon-radius="3" aria-label=${this.localize.term("topLeft")}></cx-radio><cx-radio class="position-picker__radio" value=${i.CenterLeft} checked-icon-radius="3" aria-label=${this.localize.term("centerLeft")}></cx-radio><cx-radio class="position-picker__radio" value=${i.BottomLeft} checked-icon-radius="3" aria-label=${this.localize.term("bottomLeft")}></cx-radio></cx-grid-item><cx-grid-item xs="1" class="position-picker__column"><cx-radio class="position-picker__radio" value=${i.TopCenter} checked-icon-radius="3" aria-label=${this.localize.term("topCenter")}></cx-radio><cx-radio class="position-picker__radio" value=${i.CenterCenter} checked-icon-radius="3" aria-label=${this.localize.term("centerCenter")}></cx-radio><cx-radio class="position-picker__radio" value=${i.BottomCenter} checked-icon-radius="3" aria-label=${this.localize.term("bottomCenter")}></cx-radio></cx-grid-item><cx-grid-item xs="1" class="position-picker__column"><cx-radio class="position-picker__radio" value=${i.TopRight} checked-icon-radius="3" aria-label=${this.localize.term("topRight")}></cx-radio><cx-radio class="position-picker__radio" value=${i.CenterRight} checked-icon-radius="3" aria-label=${this.localize.term("centerRight")}></cx-radio><cx-radio class="position-picker__radio" value=${i.BottomRight} checked-icon-radius="3" aria-label=${this.localize.term("bottomRight")}></cx-radio></cx-grid-item></cx-grid></cx-radio-group></div>`;
|
|
27
27
|
}
|
|
28
28
|
};
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
r.styles = [_, $];
|
|
30
|
+
r.dependencies = {
|
|
31
31
|
"cx-grid": d,
|
|
32
32
|
"cx-grid-item": p,
|
|
33
33
|
"cx-radio": m,
|
|
34
34
|
"cx-radio-group": x
|
|
35
35
|
};
|
|
36
36
|
n([
|
|
37
|
-
|
|
38
|
-
],
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
],
|
|
37
|
+
u({ reflect: !0 })
|
|
38
|
+
], r.prototype, "value", 2);
|
|
39
|
+
r = n([
|
|
40
|
+
g("cx-position-picker")
|
|
41
|
+
], r);
|
|
42
42
|
export {
|
|
43
|
-
|
|
43
|
+
r as default
|
|
44
44
|
};
|
|
@@ -16,7 +16,7 @@ import "./checkbox.js";
|
|
|
16
16
|
import "../chunks/icon.D5iM9wXS.js";
|
|
17
17
|
import "./line-clamp.js";
|
|
18
18
|
import "./spinner.js";
|
|
19
|
-
import { C as k } from "../chunks/tree.
|
|
19
|
+
import { C as k } from "../chunks/tree.vn5sHbdt.js";
|
|
20
20
|
export {
|
|
21
21
|
k as default
|
|
22
22
|
};
|
|
@@ -4,7 +4,7 @@ import "../chunks/custom-element.L4WJXn1j.js";
|
|
|
4
4
|
import "../chunks/i18n.Bchq8v1d.js";
|
|
5
5
|
import "../chunks/math.DuKzLacZ.js";
|
|
6
6
|
import "../chunks/watch.DJF5K-8U.js";
|
|
7
|
-
import { a as b, b as f, s as x, c as d } from "../chunks/tree.
|
|
7
|
+
import { a as b, b as f, s as x, c as d } from "../chunks/tree.vn5sHbdt.js";
|
|
8
8
|
import "../chunks/lit-element.jLBm65_O.js";
|
|
9
9
|
import "../chunks/state.CSDxrqLd.js";
|
|
10
10
|
import "../chunks/query.BBf1UFkC.js";
|