@breadstone/mosaik-elements-svelte 0.1.33 → 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 +10 -0
- package/index.mjs +46 -28
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
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
|
+
|
|
1
11
|
## 0.1.33 (2026-06-25)
|
|
2
12
|
|
|
3
13
|
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
|
@@ -78511,7 +78511,7 @@ sR([
|
|
|
78511
78511
|
imports: [W]
|
|
78512
78512
|
}), cR("design:paramtypes", [])], lR);
|
|
78513
78513
|
//#endregion
|
|
78514
|
-
//#region ../mosaik-elements-foundation/dist/Controls/Components/Inputs/Calendar/
|
|
78514
|
+
//#region ../mosaik-elements-foundation/dist/Controls/Components/Inputs/Calendar/intl/CalendarElementIntl.js
|
|
78515
78515
|
var uR = class extends fL {
|
|
78516
78516
|
_todayLabel;
|
|
78517
78517
|
_weekNumberLabel;
|
|
@@ -107112,7 +107112,7 @@ MU([
|
|
|
107112
107112
|
NU("design:paramtypes", [])
|
|
107113
107113
|
], PU.prototype, "itemsChanged", null);
|
|
107114
107114
|
//#endregion
|
|
107115
|
-
//#region ../mosaik-elements-foundation/dist/Controls/Components/Selectors/List/ListElementIntl.js
|
|
107115
|
+
//#region ../mosaik-elements-foundation/dist/Controls/Components/Selectors/List/intl/ListElementIntl.js
|
|
107116
107116
|
var FU = class extends fL {
|
|
107117
107117
|
_empty;
|
|
107118
107118
|
_filterPlaceholder;
|
|
@@ -110247,7 +110247,7 @@ jW([
|
|
|
110247
110247
|
imports: []
|
|
110248
110248
|
}), MW("design:paramtypes", [])], NW);
|
|
110249
110249
|
//#endregion
|
|
110250
|
-
//#region ../mosaik-elements-foundation/dist/Controls/Components/Inputs/FileUpload/
|
|
110250
|
+
//#region ../mosaik-elements-foundation/dist/Controls/Components/Inputs/FileUpload/intl/FileUploadElementIntl.js
|
|
110251
110251
|
var PW = class extends fL {
|
|
110252
110252
|
_dropLabel;
|
|
110253
110253
|
constructor(e) {
|
|
@@ -125891,7 +125891,7 @@ var zq = class {
|
|
|
125891
125891
|
};
|
|
125892
125892
|
Bq.set(new zq());
|
|
125893
125893
|
//#endregion
|
|
125894
|
-
//#region ../mosaik-elements-foundation/dist/Controls/Components/Inputs/Select/SelectElementIntl.js
|
|
125894
|
+
//#region ../mosaik-elements-foundation/dist/Controls/Components/Inputs/Select/intl/SelectElementIntl.js
|
|
125895
125895
|
var Vq = class extends fL {
|
|
125896
125896
|
_empty;
|
|
125897
125897
|
_filterPlaceholder;
|
|
@@ -158032,7 +158032,7 @@ i1([
|
|
|
158032
158032
|
]
|
|
158033
158033
|
}), a1("design:paramtypes", [])], o1);
|
|
158034
158034
|
//#endregion
|
|
158035
|
-
//#region ../mosaik-elements-foundation/dist/Controls/Components/Media/Chat/
|
|
158035
|
+
//#region ../mosaik-elements-foundation/dist/Controls/Components/Media/Chat/intl/ChatElementIntl.js
|
|
158036
158036
|
var s1 = class extends fL {
|
|
158037
158037
|
_inputPlaceholder;
|
|
158038
158038
|
constructor(e) {
|
|
@@ -172343,7 +172343,7 @@ function M_e(e) {
|
|
|
172343
172343
|
`;
|
|
172344
172344
|
}
|
|
172345
172345
|
//#endregion
|
|
172346
|
-
//#region ../mosaik-elements-foundation/dist/Controls/Components/Misc/CookieConsent/
|
|
172346
|
+
//#region ../mosaik-elements-foundation/dist/Controls/Components/Misc/CookieConsent/intl/CookiesConsentElementIntl.js
|
|
172347
172347
|
var z0 = class extends fL {
|
|
172348
172348
|
_messageLabel;
|
|
172349
172349
|
_dismissLabel;
|
|
@@ -185480,9 +185480,8 @@ var T4 = function(e, t, n, r) {
|
|
|
185480
185480
|
_fillAnimation;
|
|
185481
185481
|
_mouseOverSubscription;
|
|
185482
185482
|
_mouseOutSubscription;
|
|
185483
|
-
_isExitAnimationPlaying;
|
|
185484
185483
|
constructor() {
|
|
185485
|
-
super(), this._header = "", this._content = "", this._icon = "", this._iconSize = null, this._timeout = 0, this._position = w4.Center, this._showProgress = !1, this._fillElement = null, this._fillAnimation = null, this._timer = C4.empty(() => this.close()), this._mouseOverSubscription = null, this._mouseOutSubscription = null, this.
|
|
185484
|
+
super(), this._header = "", this._content = "", this._icon = "", this._iconSize = null, this._timeout = 0, this._position = w4.Center, this._showProgress = !1, this._fillElement = null, this._fillAnimation = null, this._timer = C4.empty(() => this.close()), this._mouseOverSubscription = null, this._mouseOutSubscription = null, this.enter = fw, this.exit = dw;
|
|
185486
185485
|
}
|
|
185487
185486
|
static get is() {
|
|
185488
185487
|
return "mosaik-toast";
|
|
@@ -185532,20 +185531,16 @@ var T4 = function(e, t, n, r) {
|
|
|
185532
185531
|
get animationTarget() {
|
|
185533
185532
|
return this.getTemplatePart("root");
|
|
185534
185533
|
}
|
|
185535
|
-
|
|
185536
|
-
|
|
185537
|
-
this.
|
|
185538
|
-
|
|
185539
|
-
});
|
|
185540
|
-
return;
|
|
185541
|
-
}
|
|
185542
|
-
super.onIsOpenChanged(e, t);
|
|
185543
|
-
}
|
|
185544
|
-
onIsOpenPropertyChanged(e, t) {
|
|
185545
|
-
t ? (this.play(this.enter ?? { steps: [] }), this._timeout > 0 && (this._timer.start(), this._showProgress && this.startFillAnimation())) : (this._timer.destroy(), this.cancelFillAnimation());
|
|
185534
|
+
async open() {
|
|
185535
|
+
return super.open().then(() => {
|
|
185536
|
+
this.play(this.enter ?? { steps: [] });
|
|
185537
|
+
});
|
|
185546
185538
|
}
|
|
185547
185539
|
async close() {
|
|
185548
|
-
return super.close();
|
|
185540
|
+
return this.play(this.exit ?? { steps: [] }).then(() => super.close());
|
|
185541
|
+
}
|
|
185542
|
+
onIsOpenPropertyChanged(e, t) {
|
|
185543
|
+
t ? this._timeout > 0 && (this._timer.start(), this._showProgress && this.startFillAnimation()) : (this._timer.destroy(), this.cancelFillAnimation());
|
|
185549
185544
|
}
|
|
185550
185545
|
connectedCallback() {
|
|
185551
185546
|
super.connectedCallback();
|
|
@@ -197724,7 +197719,7 @@ var r6;
|
|
|
197724
197719
|
};
|
|
197725
197720
|
})(r6 ||= {});
|
|
197726
197721
|
//#endregion
|
|
197727
|
-
//#region ../mosaik-elements-foundation/dist/Controls/Components/Primitives/Paginator/PaginatorElementIntl.js
|
|
197722
|
+
//#region ../mosaik-elements-foundation/dist/Controls/Components/Primitives/Paginator/intl/PaginatorElementIntl.js
|
|
197728
197723
|
var i6 = class extends fL {
|
|
197729
197724
|
_rangeLabel;
|
|
197730
197725
|
_firstPageLabel;
|
|
@@ -210272,7 +210267,7 @@ KCe([
|
|
|
210272
210267
|
O8("design:paramtypes", [])
|
|
210273
210268
|
], k8.prototype, "selectedItems", null);
|
|
210274
210269
|
//#endregion
|
|
210275
|
-
//#region ../mosaik-elements-foundation/dist/Controls/Components/Selectors/Combo/ComboElementIntl.js
|
|
210270
|
+
//#region ../mosaik-elements-foundation/dist/Controls/Components/Selectors/Combo/intl/ComboElementIntl.js
|
|
210276
210271
|
var A8 = class extends fL {
|
|
210277
210272
|
_empty;
|
|
210278
210273
|
constructor(e) {
|
|
@@ -216065,6 +216060,7 @@ var h5 = function(e, t, n, r) {
|
|
|
216065
216060
|
_tableSelectionChanged;
|
|
216066
216061
|
_dataTableEditorOpened;
|
|
216067
216062
|
_dataTableEditorClosed;
|
|
216063
|
+
_dataTableSortChanged;
|
|
216068
216064
|
_alternating;
|
|
216069
216065
|
_autoGenerateColumns;
|
|
216070
216066
|
_caption;
|
|
@@ -216085,7 +216081,7 @@ var h5 = function(e, t, n, r) {
|
|
|
216085
216081
|
_columnWidths;
|
|
216086
216082
|
_suppressColumnsChanged;
|
|
216087
216083
|
constructor() {
|
|
216088
|
-
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");
|
|
216089
216085
|
}
|
|
216090
216086
|
static get is() {
|
|
216091
216087
|
return "mosaik-data-table";
|
|
@@ -216198,6 +216194,9 @@ var h5 = function(e, t, n, r) {
|
|
|
216198
216194
|
get dataTableEditorClosed() {
|
|
216199
216195
|
return this._dataTableEditorClosed;
|
|
216200
216196
|
}
|
|
216197
|
+
get dataTableSortChanged() {
|
|
216198
|
+
return this._dataTableSortChanged;
|
|
216199
|
+
}
|
|
216201
216200
|
get allColumnsHidden() {
|
|
216202
216201
|
let e = this.getColumns();
|
|
216203
216202
|
return e.length > 0 && e.every((e) => e.hidden === !0);
|
|
@@ -216296,15 +216295,30 @@ var h5 = function(e, t, n, r) {
|
|
|
216296
216295
|
});
|
|
216297
216296
|
}
|
|
216298
216297
|
onSingleSortChanged(e) {
|
|
216299
|
-
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
|
+
});
|
|
216300
216304
|
}
|
|
216301
216305
|
onMultiSortChanged(e) {
|
|
216302
216306
|
let t = e.detail.activeSorts;
|
|
216303
216307
|
if (!t || t.length === 0) {
|
|
216304
|
-
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
|
+
});
|
|
216305
216314
|
return;
|
|
216306
216315
|
}
|
|
216307
|
-
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
|
+
});
|
|
216308
216322
|
}
|
|
216309
216323
|
sortByMultipleColumns(e, t) {
|
|
216310
216324
|
let n = [...t].sort((e, t) => e.sortIndex - t.sortIndex);
|
|
@@ -216446,7 +216460,11 @@ h5([
|
|
|
216446
216460
|
k({ eventName: "dataTableEditorClosed" }),
|
|
216447
216461
|
g5("design:type", Object),
|
|
216448
216462
|
g5("design:paramtypes", [])
|
|
216449
|
-
], _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({
|
|
216450
216468
|
selector: "mosaik-data-table",
|
|
216451
216469
|
template: Wwe,
|
|
216452
216470
|
themes: {
|
|
@@ -233250,7 +233268,7 @@ var HDe = class extends bb {
|
|
|
233250
233268
|
};
|
|
233251
233269
|
aA(UDe), aA(WDe);
|
|
233252
233270
|
//#endregion
|
|
233253
|
-
//#region ../mosaik-elements-foundation/dist/Controls/Directives/TimeAgo/
|
|
233271
|
+
//#region ../mosaik-elements-foundation/dist/Controls/Directives/TimeAgo/intl/TimeAgoIntl.js
|
|
233254
233272
|
var GDe;
|
|
233255
233273
|
(function(e) {
|
|
233256
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": {
|