smoothly 1.68.0 → 1.70.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/cjs/smoothly-app_103.cjs.entry.js +11 -7
- package/dist/cjs/smoothly-app_103.cjs.entry.js.map +1 -1
- package/dist/collection/components/input/date/index.js +5 -6
- package/dist/collection/components/input/date/index.js.map +1 -1
- package/dist/collection/components/input/date/range/index.js +10 -7
- package/dist/collection/components/input/date/range/index.js.map +1 -1
- package/dist/collection/components/input/date/text/DateFormat.js.map +1 -1
- package/dist/collection/components/input/date/text/index.js +6 -5
- package/dist/collection/components/input/date/text/index.js.map +1 -1
- package/dist/components/{p-38c88d25.js → p-088dd262.js} +4 -4
- package/dist/components/{p-38c88d25.js.map → p-088dd262.js.map} +1 -1
- package/dist/components/{p-2e0d658c.js → p-09049a15.js} +2 -2
- package/dist/components/{p-2e0d658c.js.map → p-09049a15.js.map} +1 -1
- package/dist/components/{p-3814e921.js → p-0b86fb87.js} +12 -12
- package/dist/components/{p-3814e921.js.map → p-0b86fb87.js.map} +1 -1
- package/dist/components/{p-076e302d.js → p-0c975190.js} +2 -2
- package/dist/components/{p-076e302d.js.map → p-0c975190.js.map} +1 -1
- package/dist/components/{p-5d8f7fac.js → p-2425631f.js} +2 -2
- package/dist/components/{p-5d8f7fac.js.map → p-2425631f.js.map} +1 -1
- package/dist/components/{p-c0d64c2c.js → p-242a4978.js} +2 -2
- package/dist/components/{p-c0d64c2c.js.map → p-242a4978.js.map} +1 -1
- package/dist/components/{p-63fdb575.js → p-24983d84.js} +3 -3
- package/dist/components/{p-63fdb575.js.map → p-24983d84.js.map} +1 -1
- package/dist/components/{p-3ebeceb2.js → p-284ab472.js} +3 -3
- package/dist/components/{p-3ebeceb2.js.map → p-284ab472.js.map} +1 -1
- package/dist/components/{p-94655385.js → p-2a445023.js} +9 -9
- package/dist/components/{p-94655385.js.map → p-2a445023.js.map} +1 -1
- package/dist/components/{p-c3586d99.js → p-2aed4211.js} +2 -2
- package/dist/components/{p-c3586d99.js.map → p-2aed4211.js.map} +1 -1
- package/dist/components/{p-dbbb8316.js → p-33f28a7c.js} +4 -4
- package/dist/components/{p-dbbb8316.js.map → p-33f28a7c.js.map} +1 -1
- package/dist/components/{p-5c3ef9b4.js → p-3bb0a0a6.js} +3 -3
- package/dist/components/{p-5c3ef9b4.js.map → p-3bb0a0a6.js.map} +1 -1
- package/dist/components/{p-12c22793.js → p-4174449c.js} +4 -4
- package/dist/components/{p-12c22793.js.map → p-4174449c.js.map} +1 -1
- package/dist/components/{p-bf9d5ec4.js → p-43f3444b.js} +9 -9
- package/dist/components/{p-bf9d5ec4.js.map → p-43f3444b.js.map} +1 -1
- package/dist/components/{p-cb8485ff.js → p-4894d5d8.js} +2 -2
- package/dist/components/{p-cb8485ff.js.map → p-4894d5d8.js.map} +1 -1
- package/dist/components/{p-cfc50687.js → p-4aa050e7.js} +20 -20
- package/dist/components/{p-cfc50687.js.map → p-4aa050e7.js.map} +1 -1
- package/dist/components/{p-21b66be1.js → p-506c81f6.js} +5 -5
- package/dist/components/{p-21b66be1.js.map → p-506c81f6.js.map} +1 -1
- package/dist/components/{p-08de5d34.js → p-50e0319b.js} +2 -2
- package/dist/components/{p-08de5d34.js.map → p-50e0319b.js.map} +1 -1
- package/dist/components/{p-a195b157.js → p-54b3fc64.js} +4 -4
- package/dist/components/{p-a195b157.js.map → p-54b3fc64.js.map} +1 -1
- package/dist/components/p-5c770091.js +10 -0
- package/dist/components/p-5c770091.js.map +1 -0
- package/dist/components/{p-43b9187e.js → p-5e8ae451.js} +2 -2
- package/dist/components/{p-43b9187e.js.map → p-5e8ae451.js.map} +1 -1
- package/dist/components/{p-e8e1e393.js → p-6199a454.js} +5 -5
- package/dist/components/{p-e8e1e393.js.map → p-6199a454.js.map} +1 -1
- package/dist/components/{p-d1526680.js → p-668c5d91.js} +3 -2
- package/dist/components/p-668c5d91.js.map +1 -0
- package/dist/components/{p-ab6fcd64.js → p-669b4105.js} +6 -6
- package/dist/components/{p-ab6fcd64.js.map → p-669b4105.js.map} +1 -1
- package/dist/components/{p-0235b329.js → p-7963acdf.js} +3 -3
- package/dist/components/{p-0235b329.js.map → p-7963acdf.js.map} +1 -1
- package/dist/components/{p-0b9a28d6.js → p-7b878a36.js} +3 -2
- package/dist/components/p-7b878a36.js.map +1 -0
- package/dist/components/{p-4bcace13.js → p-7f84dbe6.js} +6 -3
- package/dist/components/p-7f84dbe6.js.map +1 -0
- package/dist/components/{p-773d3773.js → p-8f065260.js} +2 -2
- package/dist/components/{p-773d3773.js.map → p-8f065260.js.map} +1 -1
- package/dist/components/{p-2710a332.js → p-93950abf.js} +3 -3
- package/dist/components/{p-2710a332.js.map → p-93950abf.js.map} +1 -1
- package/dist/components/{p-48dfd0db.js → p-96a52e57.js} +2 -2
- package/dist/components/{p-48dfd0db.js.map → p-96a52e57.js.map} +1 -1
- package/dist/components/{p-5fc6f288.js → p-9b60b16f.js} +15 -15
- package/dist/components/{p-5fc6f288.js.map → p-9b60b16f.js.map} +1 -1
- package/dist/components/{p-5c7faf00.js → p-a202ef46.js} +2 -2
- package/dist/components/{p-5c7faf00.js.map → p-a202ef46.js.map} +1 -1
- package/dist/components/{p-bfca2fb4.js → p-b40b2fc8.js} +4 -4
- package/dist/components/{p-bfca2fb4.js.map → p-b40b2fc8.js.map} +1 -1
- package/dist/components/{p-3a8c1290.js → p-b959ed97.js} +2 -2
- package/dist/components/{p-3a8c1290.js.map → p-b959ed97.js.map} +1 -1
- package/dist/components/{p-e9bcce38.js → p-bc202fd2.js} +3 -3
- package/dist/components/{p-e9bcce38.js.map → p-bc202fd2.js.map} +1 -1
- package/dist/components/{p-1c3a74f2.js → p-d56540ab.js} +9 -9
- package/dist/components/{p-1c3a74f2.js.map → p-d56540ab.js.map} +1 -1
- package/dist/components/{p-4b81a248.js → p-d729ba45.js} +3 -3
- package/dist/components/{p-4b81a248.js.map → p-d729ba45.js.map} +1 -1
- package/dist/components/{p-22933682.js → p-dde85b6c.js} +9 -5
- package/dist/components/p-dde85b6c.js.map +1 -0
- package/dist/components/{p-aade6a8f.js → p-e7176a9a.js} +5 -5
- package/dist/components/{p-aade6a8f.js.map → p-e7176a9a.js.map} +1 -1
- package/dist/components/{p-0c936167.js → p-ec7f2329.js} +2 -2
- package/dist/components/{p-0c936167.js.map → p-ec7f2329.js.map} +1 -1
- package/dist/components/{p-11266f72.js → p-f04543c2.js} +3 -8
- package/dist/components/p-f04543c2.js.map +1 -0
- package/dist/components/{p-5015d2f7.js → p-f37c61f3.js} +4 -4
- package/dist/components/{p-5015d2f7.js.map → p-f37c61f3.js.map} +1 -1
- package/dist/components/{p-0a4ae5ee.js → p-f5f66313.js} +2 -2
- package/dist/components/{p-0a4ae5ee.js.map → p-f5f66313.js.map} +1 -1
- package/dist/components/{p-99444e85.js → p-f8ba6dbf.js} +2 -2
- package/dist/components/{p-99444e85.js.map → p-f8ba6dbf.js.map} +1 -1
- package/dist/components/{p-a94971c4.js → p-fd3f90e6.js} +4 -4
- package/dist/components/p-fd3f90e6.js.map +1 -0
- package/dist/components/{p-12798957.js → p-ff0de93d.js} +2 -2
- package/dist/components/{p-12798957.js.map → p-ff0de93d.js.map} +1 -1
- package/dist/components/smoothly-app-demo.js +44 -44
- package/dist/components/smoothly-button-demo-standard.js +1 -1
- package/dist/components/smoothly-button-demo.js +1 -1
- package/dist/components/smoothly-date-text.js +1 -1
- package/dist/components/smoothly-display-demo-json.js +1 -1
- package/dist/components/smoothly-display-demo.js +1 -1
- package/dist/components/smoothly-display.js +1 -1
- package/dist/components/smoothly-filter-field.js +1 -1
- package/dist/components/smoothly-filter-input.js +1 -1
- package/dist/components/smoothly-filter.js +1 -1
- package/dist/components/smoothly-form-demo-all.js +1 -1
- package/dist/components/smoothly-form-demo-card.js +1 -1
- package/dist/components/smoothly-form-demo-controlled.js +1 -1
- package/dist/components/smoothly-form-demo-date-range.js +1 -1
- package/dist/components/smoothly-form-demo-date.js +1 -1
- package/dist/components/smoothly-form-demo-login.js +1 -1
- package/dist/components/smoothly-form-demo-pet.js +1 -1
- package/dist/components/smoothly-form-demo-prices.js +1 -1
- package/dist/components/smoothly-form-demo-schedule.js +1 -1
- package/dist/components/smoothly-form-demo-transparent.js +1 -1
- package/dist/components/smoothly-form-demo-typed.js +1 -1
- package/dist/components/smoothly-form-demo.js +1 -1
- package/dist/components/smoothly-icon-demo.js +1 -1
- package/dist/components/smoothly-input-checkbox-demo.js +7 -7
- package/dist/components/smoothly-input-color-demo.js +1 -1
- package/dist/components/smoothly-input-color.js +1 -1
- package/dist/components/smoothly-input-date-demo.js +1 -1
- package/dist/components/smoothly-input-date-range.js +1 -1
- package/dist/components/smoothly-input-date-time.js +1 -1
- package/dist/components/smoothly-input-date.js +1 -1
- package/dist/components/smoothly-input-demo-standard.js +1 -1
- package/dist/components/smoothly-input-demo-user-input.js +1 -1
- package/dist/components/smoothly-input-demo.js +1 -1
- package/dist/components/smoothly-input-price-demo.js +1 -1
- package/dist/components/smoothly-input-range-demo.js +1 -1
- package/dist/components/smoothly-input-range.js +1 -1
- package/dist/components/smoothly-input.js +1 -1
- package/dist/components/smoothly-table-demo-colspan.js +1 -1
- package/dist/components/smoothly-table-demo-filler-row.js +1 -1
- package/dist/components/smoothly-table-demo-filtered.js +1 -1
- package/dist/components/smoothly-table-demo-group.js +1 -1
- package/dist/components/smoothly-table-demo-nested-no-cell.js +1 -1
- package/dist/components/smoothly-table-demo-simple.js +1 -1
- package/dist/components/smoothly-table-demo.js +1 -1
- package/dist/components/smoothly-theme-demo.js +1 -1
- package/dist/components/smoothly-theme-guide.js +1 -1
- package/dist/esm/smoothly-app_103.entry.js +11 -7
- package/dist/esm/smoothly-app_103.entry.js.map +1 -1
- package/dist/smoothly/p-6cd52525.entry.js +2 -0
- package/dist/smoothly/p-6cd52525.entry.js.map +1 -0
- package/dist/smoothly/smoothly.esm.js +1 -1
- package/dist/types/components/input/date/index.d.ts +1 -1
- package/dist/types/components/input/date/range/index.d.ts +1 -1
- package/dist/types/components/input/date/text/DateFormat.d.ts +2 -2
- package/dist/types/components/input/date/text/index.d.ts +1 -1
- package/dist/types/components.d.ts +3 -3
- package/package.json +1 -1
- package/dist/components/p-0b9a28d6.js.map +0 -1
- package/dist/components/p-11266f72.js.map +0 -1
- package/dist/components/p-22933682.js.map +0 -1
- package/dist/components/p-4bcace13.js.map +0 -1
- package/dist/components/p-a94971c4.js.map +0 -1
- package/dist/components/p-d1526680.js.map +0 -1
- package/dist/smoothly/p-21fb7869.entry.js +0 -2
- package/dist/smoothly/p-21fb7869.entry.js.map +0 -1
|
@@ -2134,7 +2134,7 @@ const SmoothlyInputDateRangeText = class {
|
|
|
2134
2134
|
1: undefined,
|
|
2135
2135
|
2: undefined,
|
|
2136
2136
|
};
|
|
2137
|
-
this.locale =
|
|
2137
|
+
this.locale = getLocale();
|
|
2138
2138
|
this.readonly = undefined;
|
|
2139
2139
|
this.disabled = undefined;
|
|
2140
2140
|
this.invalid = undefined;
|
|
@@ -2306,7 +2306,7 @@ const SmoothlyInputDateRangeText = class {
|
|
|
2306
2306
|
}
|
|
2307
2307
|
}
|
|
2308
2308
|
render() {
|
|
2309
|
-
return (index.h(index.Host, { key: '
|
|
2309
|
+
return (index.h(index.Host, { key: '7966c08b01c9adac16390a6e8c8e996fd6302589', class: { "has-text": Object.values(this.parts).some(part => !!part) } }, DateFormat$1.Order.toArray(this.order).map((part, index$1) => {
|
|
2310
2310
|
var _a;
|
|
2311
2311
|
return (index.h("span", { onClick: () => !this.readonly && !this.disabled && this.setFocus(index$1) }, index.h("span", { class: {
|
|
2312
2312
|
"smoothly-date-text-part": true,
|
|
@@ -9985,7 +9985,7 @@ const SmoothlyInputDate = class {
|
|
|
9985
9985
|
this.isDifferentFromInitial = false;
|
|
9986
9986
|
this.hasFocus = false;
|
|
9987
9987
|
this.observer = Editable.Observer.create(this);
|
|
9988
|
-
this.locale =
|
|
9988
|
+
this.locale = undefined;
|
|
9989
9989
|
this.color = undefined;
|
|
9990
9990
|
this.looks = undefined;
|
|
9991
9991
|
this.name = undefined;
|
|
@@ -10092,7 +10092,7 @@ const SmoothlyInputDate = class {
|
|
|
10092
10092
|
event.stopPropagation();
|
|
10093
10093
|
}
|
|
10094
10094
|
render() {
|
|
10095
|
-
return (index.h(index.Host, { key: '
|
|
10095
|
+
return (index.h(index.Host, { key: 'a0675cebd5cec624d89267a31a582fcea579f842', tabindex: this.disabled ? undefined : 0, class: { "has-value": !!this.value, "has-text": this.hasText, "floating-label": this.alwaysShowGuide }, onClick: (e) => this.onClick(e) }, index.h("slot", { key: '9c395069cb20e923f8c95b974c38f93adb86923b', name: "start" }), index.h("label", { key: 'db99d9c73e6c68f1024a1824045fdbcdbb733445', class: "label float-on-focus" }, index.h("slot", { key: '2ced99f6ac4383d8a12f6a8e94f4dc513a06e597' })), this.placeholder && index.h("span", { key: 'eb10a754b04de1ba6c39121d41866bff133ee6e5', class: "smoothly-date-placeholder" }, this.placeholder), index.h("smoothly-date-text", { key: 'b64ce62c7c0c8e56b72c926f5e53c863b8e094da', ref: el => (this.dateTextElement = el), locale: this.locale, readonly: this.readonly, disabled: this.disabled, showLabel: this.showLabel, value: this.value, onSmoothlyDateTextHasText: e => (e.stopPropagation(), (this.hasText = e.detail)), onSmoothlyDateTextFocusChange: e => (e.stopPropagation(), (this.hasFocus = e.detail)), onSmoothlyDateTextChange: e => this.onUserChangedValue(e), onSmoothlyDateTextDone: e => { var _a; return (e.stopPropagation(), (this.open = false), (_a = this.dateTextElement) === null || _a === void 0 ? void 0 : _a.deselect()); } }), index.h("span", { key: 'cc219878665f197af7fc5d0fa7d7680b3f027007', class: "icons", ref: el => (this.iconsElement = el) }, index.h("slot", { key: '2859d132469b38f8be557ad13e2cda79af905130', name: "end" })), this.open && !this.readonly && (index.h("smoothly-calendar", { key: '80c57690b04c07293b7b339c59c52e0c9730b499', ref: el => (this.calendarElement = el), doubleInput: false, value: this.value, onSmoothlyValueChange: e => this.onUserChangedValue(e), max: this.max, min: this.min }, index.h("div", { key: 'd82f25ea00aa167fcd44af23710514e0aced0622', slot: "year-label" }, index.h("slot", { key: 'b4fbe6bff119d92ecb77659ddbae346b09632809', name: "year-label" })), index.h("div", { key: '8453b4523135db4fbf10be65ae7033169cbc8287', slot: "month-label" }, index.h("slot", { key: 'f2839f12f91916fa77913fdfda17a63791af6a01', name: "month-label" }))))));
|
|
10096
10096
|
}
|
|
10097
10097
|
get element() { return index.getElement(this); }
|
|
10098
10098
|
static get watchers() { return {
|
|
@@ -10136,7 +10136,7 @@ const SmoothlyInputDateRange = class {
|
|
|
10136
10136
|
this.isDifferentFromInitial = false;
|
|
10137
10137
|
this.hasFocus = false;
|
|
10138
10138
|
this.observer = Editable.Observer.create(this);
|
|
10139
|
-
this.locale =
|
|
10139
|
+
this.locale = undefined;
|
|
10140
10140
|
this.name = "dateRange";
|
|
10141
10141
|
this.color = undefined;
|
|
10142
10142
|
this.looks = undefined;
|
|
@@ -10249,11 +10249,15 @@ const SmoothlyInputDateRange = class {
|
|
|
10249
10249
|
this.smoothlyInput.emit({ [this.name]: undefined });
|
|
10250
10250
|
}
|
|
10251
10251
|
render() {
|
|
10252
|
-
return (index.h(index.Host, { key: '
|
|
10252
|
+
return (index.h(index.Host, { key: '598bfd60fcd967c7c96c05ef0017582692c37149', tabindex: this.disabled ? undefined : 0, class: {
|
|
10253
10253
|
"has-value": !!(this.start || this.end),
|
|
10254
10254
|
"has-text": !!(this.startHasText || this.endHasText),
|
|
10255
10255
|
"floating-label": this.alwaysShowGuide,
|
|
10256
|
-
} }, index.h("span", { key: '
|
|
10256
|
+
} }, index.h("span", { key: '83f80f23be4e883958661a90cb7e6d4796d823b1', class: "smoothly-date-range-input-part", onClick: (e) => this.onClick(e) }, index.h("slot", { key: '583b04bc4fa22fa80a5b5084ece2f28600535297', name: "start" }), index.h("label", { key: '7899749fef4c75977abb90d9af4944fadce9a5ed', class: "label float-on-focus" }, index.h("slot", { key: '1f53b50f4d207d509a92d384be45130a8d154c15' })), this.placeholder && index.h("span", { key: '98315ee9262a311680bc15babd4b7633d4a1048e', class: "smoothly-date-range-placeholder" }, this.placeholder), index.h("smoothly-date-text", { key: 'a1628f898c1c51cbccaf2cdb3a8657550581bba0', ref: el => (this.startTextElement = el), class: "start-date-text", locale: this.locale, onSmoothlyDateTextHasText: e => (e.stopPropagation(), (this.startHasText = e.detail)), onSmoothlyDateTextFocusChange: e => (e.stopPropagation(), (this.hasFocus = e.detail)), onSmoothlyDateTextChange: e => (e.stopPropagation(), this.onSmoothlyDateTextChange(e, "start")), onSmoothlyDateTextNext: e => { var _a; return (e.stopPropagation(), (_a = this.endTextElement) === null || _a === void 0 ? void 0 : _a.select()); }, onSmoothlyDateTextDone: e => {
|
|
10257
|
+
var _a, _b;
|
|
10258
|
+
return (e.stopPropagation(),
|
|
10259
|
+
this.end ? ((_a = this.startTextElement) === null || _a === void 0 ? void 0 : _a.deselect(), (this.open = false)) : (_b = this.endTextElement) === null || _b === void 0 ? void 0 : _b.select());
|
|
10260
|
+
}, value: this.start, readonly: this.readonly, disabled: this.disabled, invalid: this.invalid, showLabel: this.showLabel }), index.h("span", { key: 'e36474b002ff9f7d3d74ca0c7f91ddd091ad797d', class: "smoothly-date-range-separator" }, " \u2013 "), index.h("smoothly-date-text", { key: '9ebb651a984734ffda2003bcd8dc1d11743340cc', ref: el => (this.endTextElement = el), class: "end-date-text", locale: this.locale, onSmoothlyDateTextHasText: e => (e.stopPropagation(), (this.endHasText = e.detail)), onSmoothlyDateTextFocusChange: e => (e.stopPropagation(), (this.hasFocus = e.detail)), onSmoothlyDateTextChange: e => (e.stopPropagation(), this.onSmoothlyDateTextChange(e, "end")), onSmoothlyDateTextPrevious: e => { var _a; return (e.stopPropagation(), (_a = this.startTextElement) === null || _a === void 0 ? void 0 : _a.select("end")); }, onSmoothlyDateTextNext: e => e.stopPropagation(), onSmoothlyDateTextDone: e => { var _a; return (e.stopPropagation(), (_a = this.endTextElement) === null || _a === void 0 ? void 0 : _a.deselect(), (this.open = false)); }, value: this.end, readonly: this.readonly, disabled: this.disabled, invalid: this.invalid, showLabel: this.showLabel })), index.h("span", { key: '3d4a4e0371f1f9731919beb760dba5993458ecdf', class: "icons" }, index.h("slot", { key: '48da8fc57b26dbe5cbe86c5107a6124a1c600285', name: "end" })), this.open && (index.h("smoothly-calendar", { key: '896472adaafaabbad330abf275afb6dea318688b', doubleInput: true, onSmoothlyValueChange: e => e.stopPropagation(), onSmoothlyStartChange: e => (e.stopPropagation(), (this.start = e.detail)), onSmoothlyEndChange: e => (e.stopPropagation(), (this.end = e.detail)), onSmoothlyDateSet: e => e.stopPropagation(), onSmoothlyDateRangeSet: e => {
|
|
10257
10261
|
e.stopPropagation();
|
|
10258
10262
|
this.open = false;
|
|
10259
10263
|
this.smoothlyInput.emit({ [this.name]: e.detail });
|