@breadstone/mosaik-elements-svelte 0.1.32 → 0.1.35
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/CHANGELOG.md +14 -0
- package/index.mjs +67 -20
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## 0.1.35 (2026-06-26)
|
|
2
|
+
|
|
3
|
+
This was a version bump only for mosaik-elements-svelte to align it with other projects, there were no code changes.
|
|
4
|
+
|
|
5
|
+
## 0.1.34 (2026-06-26)
|
|
6
|
+
|
|
7
|
+
### 🚀 Features
|
|
8
|
+
|
|
9
|
+
- **data-table:** add dataTableSortChanged event and related interfaces ([511727e2f9](https://github.com/RueDeRennes/mosaik/commit/511727e2f9))
|
|
10
|
+
|
|
11
|
+
## 0.1.33 (2026-06-25)
|
|
12
|
+
|
|
13
|
+
This was a version bump only for mosaik-elements-svelte to align it with other projects, there were no code changes.
|
|
14
|
+
|
|
1
15
|
## 0.1.32 (2026-06-25)
|
|
2
16
|
|
|
3
17
|
This was a version bump only for mosaik-elements-svelte to align it with other projects, there were no code changes.
|
package/index.mjs
CHANGED
|
@@ -61512,9 +61512,10 @@ function eN() {
|
|
|
61512
61512
|
box-sizing: inherit;
|
|
61513
61513
|
display: inherit;
|
|
61514
61514
|
max-width: inherit;
|
|
61515
|
-
flex-direction: row;
|
|
61516
61515
|
align-content: flex-start;
|
|
61517
61516
|
align-items: flex-start;
|
|
61517
|
+
gap: var(--banner-gap);
|
|
61518
|
+
flex-direction: row;
|
|
61518
61519
|
width: 100%;
|
|
61519
61520
|
height: 100%;
|
|
61520
61521
|
min-height: 100%;
|
|
@@ -61544,6 +61545,10 @@ function eN() {
|
|
|
61544
61545
|
align-items: flex-end;
|
|
61545
61546
|
}
|
|
61546
61547
|
|
|
61548
|
+
:host [part="root"] [part="actions"][hidden] {
|
|
61549
|
+
display: none;
|
|
61550
|
+
}
|
|
61551
|
+
|
|
61547
61552
|
@media (width <= 599px) {
|
|
61548
61553
|
:host [part="root"] [part="actions"] {
|
|
61549
61554
|
flex-flow: wrap;
|
|
@@ -61683,9 +61688,10 @@ function tN() {
|
|
|
61683
61688
|
box-sizing: inherit;
|
|
61684
61689
|
display: inherit;
|
|
61685
61690
|
max-width: inherit;
|
|
61686
|
-
flex-direction: row;
|
|
61687
61691
|
align-content: flex-start;
|
|
61688
61692
|
align-items: flex-start;
|
|
61693
|
+
gap: var(--banner-gap);
|
|
61694
|
+
flex-direction: row;
|
|
61689
61695
|
width: 100%;
|
|
61690
61696
|
height: 100%;
|
|
61691
61697
|
min-height: 100%;
|
|
@@ -61715,6 +61721,10 @@ function tN() {
|
|
|
61715
61721
|
align-items: flex-end;
|
|
61716
61722
|
}
|
|
61717
61723
|
|
|
61724
|
+
:host [part="root"] [part="actions"][hidden] {
|
|
61725
|
+
display: none;
|
|
61726
|
+
}
|
|
61727
|
+
|
|
61718
61728
|
@media (width <= 599px) {
|
|
61719
61729
|
:host [part="root"] [part="actions"] {
|
|
61720
61730
|
flex-flow: wrap;
|
|
@@ -62061,9 +62071,10 @@ function nN() {
|
|
|
62061
62071
|
box-sizing: inherit;
|
|
62062
62072
|
display: inherit;
|
|
62063
62073
|
max-width: inherit;
|
|
62064
|
-
flex-direction: row;
|
|
62065
62074
|
align-content: flex-start;
|
|
62066
62075
|
align-items: flex-start;
|
|
62076
|
+
gap: var(--banner-gap);
|
|
62077
|
+
flex-direction: row;
|
|
62067
62078
|
width: 100%;
|
|
62068
62079
|
height: 100%;
|
|
62069
62080
|
min-height: 100%;
|
|
@@ -62093,6 +62104,10 @@ function nN() {
|
|
|
62093
62104
|
align-items: flex-end;
|
|
62094
62105
|
}
|
|
62095
62106
|
|
|
62107
|
+
:host [part="root"] [part="actions"][hidden] {
|
|
62108
|
+
display: none;
|
|
62109
|
+
}
|
|
62110
|
+
|
|
62096
62111
|
@media (width <= 599px) {
|
|
62097
62112
|
:host [part="root"] [part="actions"] {
|
|
62098
62113
|
flex-flow: wrap;
|
|
@@ -78496,7 +78511,7 @@ sR([
|
|
|
78496
78511
|
imports: [W]
|
|
78497
78512
|
}), cR("design:paramtypes", [])], lR);
|
|
78498
78513
|
//#endregion
|
|
78499
|
-
//#region ../mosaik-elements-foundation/dist/Controls/Components/Inputs/Calendar/
|
|
78514
|
+
//#region ../mosaik-elements-foundation/dist/Controls/Components/Inputs/Calendar/intl/CalendarElementIntl.js
|
|
78500
78515
|
var uR = class extends fL {
|
|
78501
78516
|
_todayLabel;
|
|
78502
78517
|
_weekNumberLabel;
|
|
@@ -107097,7 +107112,7 @@ MU([
|
|
|
107097
107112
|
NU("design:paramtypes", [])
|
|
107098
107113
|
], PU.prototype, "itemsChanged", null);
|
|
107099
107114
|
//#endregion
|
|
107100
|
-
//#region ../mosaik-elements-foundation/dist/Controls/Components/Selectors/List/ListElementIntl.js
|
|
107115
|
+
//#region ../mosaik-elements-foundation/dist/Controls/Components/Selectors/List/intl/ListElementIntl.js
|
|
107101
107116
|
var FU = class extends fL {
|
|
107102
107117
|
_empty;
|
|
107103
107118
|
_filterPlaceholder;
|
|
@@ -110232,7 +110247,7 @@ jW([
|
|
|
110232
110247
|
imports: []
|
|
110233
110248
|
}), MW("design:paramtypes", [])], NW);
|
|
110234
110249
|
//#endregion
|
|
110235
|
-
//#region ../mosaik-elements-foundation/dist/Controls/Components/Inputs/FileUpload/
|
|
110250
|
+
//#region ../mosaik-elements-foundation/dist/Controls/Components/Inputs/FileUpload/intl/FileUploadElementIntl.js
|
|
110236
110251
|
var PW = class extends fL {
|
|
110237
110252
|
_dropLabel;
|
|
110238
110253
|
constructor(e) {
|
|
@@ -125876,7 +125891,7 @@ var zq = class {
|
|
|
125876
125891
|
};
|
|
125877
125892
|
Bq.set(new zq());
|
|
125878
125893
|
//#endregion
|
|
125879
|
-
//#region ../mosaik-elements-foundation/dist/Controls/Components/Inputs/Select/SelectElementIntl.js
|
|
125894
|
+
//#region ../mosaik-elements-foundation/dist/Controls/Components/Inputs/Select/intl/SelectElementIntl.js
|
|
125880
125895
|
var Vq = class extends fL {
|
|
125881
125896
|
_empty;
|
|
125882
125897
|
_filterPlaceholder;
|
|
@@ -158017,7 +158032,7 @@ i1([
|
|
|
158017
158032
|
]
|
|
158018
158033
|
}), a1("design:paramtypes", [])], o1);
|
|
158019
158034
|
//#endregion
|
|
158020
|
-
//#region ../mosaik-elements-foundation/dist/Controls/Components/Media/Chat/
|
|
158035
|
+
//#region ../mosaik-elements-foundation/dist/Controls/Components/Media/Chat/intl/ChatElementIntl.js
|
|
158021
158036
|
var s1 = class extends fL {
|
|
158022
158037
|
_inputPlaceholder;
|
|
158023
158038
|
constructor(e) {
|
|
@@ -172328,7 +172343,7 @@ function M_e(e) {
|
|
|
172328
172343
|
`;
|
|
172329
172344
|
}
|
|
172330
172345
|
//#endregion
|
|
172331
|
-
//#region ../mosaik-elements-foundation/dist/Controls/Components/Misc/CookieConsent/
|
|
172346
|
+
//#region ../mosaik-elements-foundation/dist/Controls/Components/Misc/CookieConsent/intl/CookiesConsentElementIntl.js
|
|
172332
172347
|
var z0 = class extends fL {
|
|
172333
172348
|
_messageLabel;
|
|
172334
172349
|
_dismissLabel;
|
|
@@ -183940,7 +183955,11 @@ var C4 = class e {
|
|
|
183940
183955
|
this._timerId !== null && (window.clearTimeout(this._timerId), this._timerId = null, this._remaining !== null && (this._remaining -= Date.now() - this._startTime));
|
|
183941
183956
|
}
|
|
183942
183957
|
resume() {
|
|
183943
|
-
this._timerId !== null && window.clearTimeout(this._timerId), this._remaining ??= this._duration, this.
|
|
183958
|
+
if (this._timerId !== null && window.clearTimeout(this._timerId), this._remaining ??= this._duration, this._remaining <= 0) {
|
|
183959
|
+
this._remaining = null;
|
|
183960
|
+
return;
|
|
183961
|
+
}
|
|
183962
|
+
this._startTime = Date.now(), this._timerId = window.setTimeout(() => {
|
|
183944
183963
|
this._remaining = null, this._callback();
|
|
183945
183964
|
}, this._remaining);
|
|
183946
183965
|
}
|
|
@@ -185512,12 +185531,17 @@ var T4 = function(e, t, n, r) {
|
|
|
185512
185531
|
get animationTarget() {
|
|
185513
185532
|
return this.getTemplatePart("root");
|
|
185514
185533
|
}
|
|
185515
|
-
|
|
185516
|
-
|
|
185534
|
+
async open() {
|
|
185535
|
+
return super.open().then(() => {
|
|
185536
|
+
this.play(this.enter ?? { steps: [] });
|
|
185537
|
+
});
|
|
185517
185538
|
}
|
|
185518
185539
|
async close() {
|
|
185519
185540
|
return this.play(this.exit ?? { steps: [] }).then(() => super.close());
|
|
185520
185541
|
}
|
|
185542
|
+
onIsOpenPropertyChanged(e, t) {
|
|
185543
|
+
t ? this._timeout > 0 && (this._timer.start(), this._showProgress && this.startFillAnimation()) : (this._timer.destroy(), this.cancelFillAnimation());
|
|
185544
|
+
}
|
|
185521
185545
|
connectedCallback() {
|
|
185522
185546
|
super.connectedCallback();
|
|
185523
185547
|
}
|
|
@@ -197695,7 +197719,7 @@ var r6;
|
|
|
197695
197719
|
};
|
|
197696
197720
|
})(r6 ||= {});
|
|
197697
197721
|
//#endregion
|
|
197698
|
-
//#region ../mosaik-elements-foundation/dist/Controls/Components/Primitives/Paginator/PaginatorElementIntl.js
|
|
197722
|
+
//#region ../mosaik-elements-foundation/dist/Controls/Components/Primitives/Paginator/intl/PaginatorElementIntl.js
|
|
197699
197723
|
var i6 = class extends fL {
|
|
197700
197724
|
_rangeLabel;
|
|
197701
197725
|
_firstPageLabel;
|
|
@@ -210243,7 +210267,7 @@ KCe([
|
|
|
210243
210267
|
O8("design:paramtypes", [])
|
|
210244
210268
|
], k8.prototype, "selectedItems", null);
|
|
210245
210269
|
//#endregion
|
|
210246
|
-
//#region ../mosaik-elements-foundation/dist/Controls/Components/Selectors/Combo/ComboElementIntl.js
|
|
210270
|
+
//#region ../mosaik-elements-foundation/dist/Controls/Components/Selectors/Combo/intl/ComboElementIntl.js
|
|
210247
210271
|
var A8 = class extends fL {
|
|
210248
210272
|
_empty;
|
|
210249
210273
|
constructor(e) {
|
|
@@ -216036,6 +216060,7 @@ var h5 = function(e, t, n, r) {
|
|
|
216036
216060
|
_tableSelectionChanged;
|
|
216037
216061
|
_dataTableEditorOpened;
|
|
216038
216062
|
_dataTableEditorClosed;
|
|
216063
|
+
_dataTableSortChanged;
|
|
216039
216064
|
_alternating;
|
|
216040
216065
|
_autoGenerateColumns;
|
|
216041
216066
|
_caption;
|
|
@@ -216056,7 +216081,7 @@ var h5 = function(e, t, n, r) {
|
|
|
216056
216081
|
_columnWidths;
|
|
216057
216082
|
_suppressColumnsChanged;
|
|
216058
216083
|
constructor() {
|
|
216059
|
-
super(), this._intl = LI(this, { factory: () => new _W() }), this._alternating = !1, this._autoGenerateColumns = !1, this._caption = "", this._columnDefinitions = [], this._selectionType = gW.Row, this._selectionMode = hW.None, this._resizable = !1, this._sortable = !1, this._pinable = !1, this._hideable = !1, this._autoSizeable = !1, this._columnChoosable = !1, this._reorderable = !1, this._sortMode = "single", this._editorOpened = !1, this._sorted = !1, this._suppressColumnsChanged = !1, this._sortedSource = [], this._columnWidths = /* @__PURE__ */ new Map(), this._tableSelectionChanged = new E(this, "tableSelectionChanged"), this._dataTableEditorOpened = new E(this, "dataTableEditorOpened"), this._dataTableEditorClosed = new E(this, "dataTableEditorClosed");
|
|
216084
|
+
super(), this._intl = LI(this, { factory: () => new _W() }), this._alternating = !1, this._autoGenerateColumns = !1, this._caption = "", this._columnDefinitions = [], this._selectionType = gW.Row, this._selectionMode = hW.None, this._resizable = !1, this._sortable = !1, this._pinable = !1, this._hideable = !1, this._autoSizeable = !1, this._columnChoosable = !1, this._reorderable = !1, this._sortMode = "single", this._editorOpened = !1, this._sorted = !1, this._suppressColumnsChanged = !1, this._sortedSource = [], this._columnWidths = /* @__PURE__ */ new Map(), this._tableSelectionChanged = new E(this, "tableSelectionChanged"), this._dataTableEditorOpened = new E(this, "dataTableEditorOpened"), this._dataTableEditorClosed = new E(this, "dataTableEditorClosed"), this._dataTableSortChanged = new E(this, "dataTableSortChanged");
|
|
216060
216085
|
}
|
|
216061
216086
|
static get is() {
|
|
216062
216087
|
return "mosaik-data-table";
|
|
@@ -216169,6 +216194,9 @@ var h5 = function(e, t, n, r) {
|
|
|
216169
216194
|
get dataTableEditorClosed() {
|
|
216170
216195
|
return this._dataTableEditorClosed;
|
|
216171
216196
|
}
|
|
216197
|
+
get dataTableSortChanged() {
|
|
216198
|
+
return this._dataTableSortChanged;
|
|
216199
|
+
}
|
|
216172
216200
|
get allColumnsHidden() {
|
|
216173
216201
|
let e = this.getColumns();
|
|
216174
216202
|
return e.length > 0 && e.every((e) => e.hidden === !0);
|
|
@@ -216267,15 +216295,30 @@ var h5 = function(e, t, n, r) {
|
|
|
216267
216295
|
});
|
|
216268
216296
|
}
|
|
216269
216297
|
onSingleSortChanged(e) {
|
|
216270
|
-
e.detail.sortKey && e.detail.sortDirection && this.sortByColumn(this._sortedSource, e.detail.sortKey, e.detail.sortDirection), this._sorted = e.detail.sortDirection !== "none", this.requestUpdate("sortedSource"), this.requestUpdate("sorted")
|
|
216298
|
+
e.detail.sortKey && e.detail.sortDirection && this.sortByColumn(this._sortedSource, e.detail.sortKey, e.detail.sortDirection), this._sorted = e.detail.sortDirection !== "none", this.requestUpdate("sortedSource"), this.requestUpdate("sorted"), this._dataTableSortChanged.emit({
|
|
216299
|
+
sortKey: e.detail.sortKey,
|
|
216300
|
+
sortDirection: e.detail.sortDirection,
|
|
216301
|
+
sortIndex: void 0,
|
|
216302
|
+
activeSorts: void 0
|
|
216303
|
+
});
|
|
216271
216304
|
}
|
|
216272
216305
|
onMultiSortChanged(e) {
|
|
216273
216306
|
let t = e.detail.activeSorts;
|
|
216274
216307
|
if (!t || t.length === 0) {
|
|
216275
|
-
this._sorted = !1, this.requestUpdate("sortedSource"), this.requestUpdate("sorted")
|
|
216308
|
+
this._sorted = !1, this.requestUpdate("sortedSource"), this.requestUpdate("sorted"), this._dataTableSortChanged.emit({
|
|
216309
|
+
sortKey: e.detail.sortKey,
|
|
216310
|
+
sortDirection: e.detail.sortDirection,
|
|
216311
|
+
sortIndex: void 0,
|
|
216312
|
+
activeSorts: []
|
|
216313
|
+
});
|
|
216276
216314
|
return;
|
|
216277
216315
|
}
|
|
216278
|
-
this.sortByMultipleColumns(this._sortedSource, t), this._sorted = !0, this.requestUpdate("sortedSource"), this.requestUpdate("sorted")
|
|
216316
|
+
this.sortByMultipleColumns(this._sortedSource, t), this._sorted = !0, this.requestUpdate("sortedSource"), this.requestUpdate("sorted"), this._dataTableSortChanged.emit({
|
|
216317
|
+
sortKey: e.detail.sortKey,
|
|
216318
|
+
sortDirection: e.detail.sortDirection,
|
|
216319
|
+
sortIndex: e.detail.sortIndex,
|
|
216320
|
+
activeSorts: t
|
|
216321
|
+
});
|
|
216279
216322
|
}
|
|
216280
216323
|
sortByMultipleColumns(e, t) {
|
|
216281
216324
|
let n = [...t].sort((e, t) => e.sortIndex - t.sortIndex);
|
|
@@ -216417,7 +216460,11 @@ h5([
|
|
|
216417
216460
|
k({ eventName: "dataTableEditorClosed" }),
|
|
216418
216461
|
g5("design:type", Object),
|
|
216419
216462
|
g5("design:paramtypes", [])
|
|
216420
|
-
], _5.prototype, "dataTableEditorClosed", null),
|
|
216463
|
+
], _5.prototype, "dataTableEditorClosed", null), h5([
|
|
216464
|
+
k({ eventName: "dataTableSortChanged" }),
|
|
216465
|
+
g5("design:type", Object),
|
|
216466
|
+
g5("design:paramtypes", [])
|
|
216467
|
+
], _5.prototype, "dataTableSortChanged", null), _5 = h5([H({
|
|
216421
216468
|
selector: "mosaik-data-table",
|
|
216422
216469
|
template: Wwe,
|
|
216423
216470
|
themes: {
|
|
@@ -233221,7 +233268,7 @@ var HDe = class extends bb {
|
|
|
233221
233268
|
};
|
|
233222
233269
|
aA(UDe), aA(WDe);
|
|
233223
233270
|
//#endregion
|
|
233224
|
-
//#region ../mosaik-elements-foundation/dist/Controls/Directives/TimeAgo/
|
|
233271
|
+
//#region ../mosaik-elements-foundation/dist/Controls/Directives/TimeAgo/intl/TimeAgoIntl.js
|
|
233225
233272
|
var GDe;
|
|
233226
233273
|
(function(e) {
|
|
233227
233274
|
e.DEFAULTS = { shortcut: "" };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@breadstone/mosaik-elements-svelte",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.35",
|
|
4
4
|
"description": "Mosaik elements for Svelte.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "andre.wehlert <awehlert@breadstone.de> (https://www.breadstone.de)",
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
"url": "git+ssh://git@github.com/RueDeRennes/mosaik.git"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@breadstone/mosaik-elements": "0.1.
|
|
15
|
-
"@breadstone/mosaik-elements-foundation": "0.1.
|
|
14
|
+
"@breadstone/mosaik-elements": "0.1.35",
|
|
15
|
+
"@breadstone/mosaik-elements-foundation": "0.1.35",
|
|
16
16
|
"tslib": "2.8.1"
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|