smoothly 0.1.77 → 0.1.81
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/{App-eff713bd.js → App-ffc56e72.js} +1 -1
- package/dist/cjs/{Notice-e43922ea.js → Notice-9120d311.js} +1 -1
- package/dist/cjs/{css-shim-e3f30f9a.js → css-shim-88cc6900.js} +1 -1
- package/dist/cjs/{dom-c8b6d1a7.js → dom-95afd968.js} +1 -1
- package/dist/cjs/{generate-7f7f7d99.js → generate-14aca5d2.js} +1 -1
- package/dist/cjs/{index-b7e6a72c.js → index-138c41c2.js} +342 -147
- package/dist/cjs/{index-5537d93a.js → index-41a36ce2.js} +154 -88
- package/dist/cjs/{index-7c9d0102.js → index-42db74b3.js} +2 -2
- package/dist/cjs/{index-c973259c.js → index-de5d1ee1.js} +10 -7
- package/dist/cjs/{index-e37f73fe.js → index-fc82954f.js} +311 -12
- package/dist/cjs/index.cjs.js +3 -3
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{shadow-css-6cbb23a9.js → shadow-css-71d0f821.js} +12 -6
- package/dist/cjs/smoothly-accordion-item.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-accordion.cjs.entry.js +2 -2
- package/dist/cjs/{smoothly-accordion_46.cjs.entry.js → smoothly-accordion_47.cjs.entry.js} +7965 -2493
- package/dist/cjs/smoothly-app-demo.cjs.entry.js +3 -3
- package/dist/cjs/smoothly-app.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-calendar.cjs.entry.js +4 -4
- package/dist/cjs/smoothly-checkbox.cjs.entry.js +5707 -504
- package/dist/cjs/smoothly-dialog-demo.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-dialog.cjs.entry.js +3 -3
- package/dist/cjs/smoothly-display-amount.cjs.entry.js +3 -3
- package/dist/cjs/smoothly-display-date-time.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-display-demo.cjs.entry.js +4 -4
- package/dist/cjs/smoothly-display.cjs.entry.js +3 -3
- package/dist/cjs/smoothly-frame.cjs.entry.js +3 -3
- package/dist/cjs/smoothly-icon-demo.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-icon.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-input-date-range.cjs.entry.js +3 -3
- package/dist/cjs/smoothly-input-date.cjs.entry.js +3 -3
- package/dist/cjs/smoothly-input-demo.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-input-month.cjs.entry.js +4 -4
- package/dist/cjs/smoothly-input.cjs.entry.js +19 -12
- package/dist/cjs/smoothly-item.cjs.entry.js +6 -2
- package/dist/cjs/smoothly-menu-options.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-notification.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-notifier.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-option.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-picker.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-popup.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-quiet.cjs.entry.js +19 -0
- package/dist/cjs/smoothly-radio-group.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-radio.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-reorder.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-room.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-select-demo.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-select.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-selector.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-spinner.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-submit.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-tab-switch.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-tab.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-table-cell.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-table-demo.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-table-expandable-cell.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-table-expandable-row.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-table-header.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-table-row.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-table.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-trigger-sink.cjs.entry.js +3 -3
- package/dist/cjs/smoothly-trigger-source.cjs.entry.js +3 -3
- package/dist/cjs/smoothly-trigger.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-tuple.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-urlencoded.cjs.entry.js +2 -2
- package/dist/cjs/smoothly.cjs.js +10 -7
- package/dist/collection/collection-manifest.json +3 -2
- package/dist/collection/components/display-demo/index.js +4 -1
- package/dist/collection/components/input/index.js +16 -9
- package/dist/collection/components/item/index.js +4 -0
- package/dist/collection/components/quiet/index.js +34 -0
- package/dist/collection/components/quiet/style.css +3 -0
- package/dist/custom-elements/index.d.ts +6 -0
- package/dist/custom-elements/index.js +8186 -2655
- package/dist/{smoothly/App-bf78807d.js → esm/App-c5f6000f.js} +1 -1
- package/dist/esm/{Notice-966edc54.js → Notice-d87d90f7.js} +1 -1
- package/dist/esm/{css-shim-003e9264.js → css-shim-c64026cd.js} +1 -1
- package/dist/esm/{dom-1b195079.js → dom-a712b575.js} +1 -1
- package/dist/esm/{generate-7090dc14.js → generate-be25a8d1.js} +1 -1
- package/dist/esm/{index-0dd5f791.js → index-02a70ac1.js} +342 -147
- package/dist/{smoothly/index-01fedb5b.js → esm/index-36a04e8c.js} +2 -2
- package/dist/esm/{index-531e2f06.js → index-68492ed9.js} +10 -7
- package/dist/{smoothly/index-13251390.js → esm/index-a28d88cf.js} +311 -12
- package/dist/esm/{index-9d550804.js → index-dcb2b612.js} +154 -88
- package/dist/esm/index.js +3 -3
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{shadow-css-c1ad5fdc.js → shadow-css-1e16431b.js} +12 -6
- package/dist/esm/smoothly-accordion-item.entry.js +2 -2
- package/dist/esm/smoothly-accordion.entry.js +2 -2
- package/dist/esm/{smoothly-accordion_46.entry.js → smoothly-accordion_47.entry.js} +7965 -2494
- package/dist/esm/smoothly-app-demo.entry.js +3 -3
- package/dist/esm/smoothly-app.entry.js +2 -2
- package/dist/esm/smoothly-calendar.entry.js +4 -4
- package/dist/esm/smoothly-checkbox.entry.js +5703 -500
- package/dist/esm/smoothly-dialog-demo.entry.js +2 -2
- package/dist/esm/smoothly-dialog.entry.js +3 -3
- package/dist/esm/smoothly-display-amount.entry.js +3 -3
- package/dist/esm/smoothly-display-date-time.entry.js +2 -2
- package/dist/esm/smoothly-display-demo.entry.js +4 -4
- package/dist/esm/smoothly-display.entry.js +3 -3
- package/dist/esm/smoothly-frame.entry.js +3 -3
- package/dist/esm/smoothly-icon-demo.entry.js +2 -2
- package/dist/esm/smoothly-icon.entry.js +2 -2
- package/dist/esm/smoothly-input-date-range.entry.js +3 -3
- package/dist/esm/smoothly-input-date.entry.js +3 -3
- package/dist/esm/smoothly-input-demo.entry.js +2 -2
- package/dist/esm/smoothly-input-month.entry.js +4 -4
- package/dist/esm/smoothly-input.entry.js +19 -12
- package/dist/esm/smoothly-item.entry.js +6 -2
- package/dist/esm/smoothly-menu-options.entry.js +2 -2
- package/dist/esm/smoothly-notification.entry.js +2 -2
- package/dist/esm/smoothly-notifier.entry.js +2 -2
- package/dist/esm/smoothly-option.entry.js +2 -2
- package/dist/esm/smoothly-picker.entry.js +2 -2
- package/dist/esm/smoothly-popup.entry.js +2 -2
- package/dist/esm/smoothly-quiet.entry.js +15 -0
- package/dist/esm/smoothly-radio-group.entry.js +2 -2
- package/dist/esm/smoothly-radio.entry.js +2 -2
- package/dist/esm/smoothly-reorder.entry.js +2 -2
- package/dist/esm/smoothly-room.entry.js +2 -2
- package/dist/esm/smoothly-select-demo.entry.js +2 -2
- package/dist/esm/smoothly-select.entry.js +2 -2
- package/dist/esm/smoothly-selector.entry.js +2 -2
- package/dist/esm/smoothly-spinner.entry.js +2 -2
- package/dist/esm/smoothly-submit.entry.js +2 -2
- package/dist/esm/smoothly-tab-switch.entry.js +2 -2
- package/dist/esm/smoothly-tab.entry.js +2 -2
- package/dist/esm/smoothly-table-cell.entry.js +2 -2
- package/dist/esm/smoothly-table-demo.entry.js +2 -2
- package/dist/esm/smoothly-table-expandable-cell.entry.js +2 -2
- package/dist/esm/smoothly-table-expandable-row.entry.js +2 -2
- package/dist/esm/smoothly-table-header.entry.js +2 -2
- package/dist/esm/smoothly-table-row.entry.js +2 -2
- package/dist/esm/smoothly-table.entry.js +2 -2
- package/dist/esm/smoothly-trigger-sink.entry.js +3 -3
- package/dist/esm/smoothly-trigger-source.entry.js +3 -3
- package/dist/esm/smoothly-trigger.entry.js +2 -2
- package/dist/esm/smoothly-tuple.entry.js +2 -2
- package/dist/esm/smoothly-urlencoded.entry.js +2 -2
- package/dist/esm/smoothly.js +10 -7
- package/dist/{esm/App-bf78807d.js → smoothly/App-c5f6000f.js} +1 -1
- package/dist/smoothly/{css-shim-003e9264.js → css-shim-c64026cd.js} +1 -1
- package/dist/smoothly/{dom-1b195079.js → dom-a712b575.js} +1 -1
- package/dist/smoothly/{generate-7090dc14.js → generate-be25a8d1.js} +1 -1
- package/dist/smoothly/{index-0dd5f791.js → index-02a70ac1.js} +342 -147
- package/dist/{esm/index-01fedb5b.js → smoothly/index-36a04e8c.js} +2 -2
- package/dist/smoothly/{index-531e2f06.js → index-68492ed9.js} +10 -7
- package/dist/{esm/index-13251390.js → smoothly/index-a28d88cf.js} +311 -12
- package/dist/smoothly/index.esm.js +3 -3
- package/dist/smoothly/{p-0906d4b2.js → p-074a0448.js} +1 -1
- package/dist/smoothly/p-09d633f8.entry.js +1 -0
- package/dist/smoothly/p-0c1e9588.entry.js +1 -0
- package/dist/smoothly/p-1a81597b.entry.js +1 -0
- package/dist/smoothly/{p-7f5dd95f.js → p-1e768876.js} +1 -1
- package/dist/smoothly/p-9fa3ab06.entry.js +1 -0
- package/dist/smoothly/p-c9d01e9b.entry.js +1 -0
- package/dist/smoothly/{shadow-css-c1ad5fdc.js → shadow-css-1e16431b.js} +12 -6
- package/dist/smoothly/smoothly-accordion-item.entry.js +2 -2
- package/dist/smoothly/smoothly-accordion.entry.js +2 -2
- package/dist/smoothly/smoothly-app-demo.entry.js +3 -3
- package/dist/smoothly/smoothly-app.entry.js +2 -2
- package/dist/smoothly/smoothly-calendar.entry.js +4 -4
- package/dist/smoothly/smoothly-checkbox.entry.js +5703 -500
- package/dist/smoothly/smoothly-dialog-demo.entry.js +2 -2
- package/dist/smoothly/smoothly-dialog.entry.js +3 -3
- package/dist/smoothly/smoothly-display-amount.entry.js +3 -3
- package/dist/smoothly/smoothly-display-date-time.entry.js +2 -2
- package/dist/smoothly/smoothly-display-demo.entry.js +4 -4
- package/dist/smoothly/smoothly-display.entry.js +3 -3
- package/dist/smoothly/smoothly-frame.entry.js +3 -3
- package/dist/smoothly/smoothly-icon-demo.entry.js +2 -2
- package/dist/smoothly/smoothly-icon.entry.js +2 -2
- package/dist/smoothly/smoothly-input-date-range.entry.js +3 -3
- package/dist/smoothly/smoothly-input-date.entry.js +3 -3
- package/dist/smoothly/smoothly-input-demo.entry.js +2 -2
- package/dist/smoothly/smoothly-input-month.entry.js +4 -4
- package/dist/smoothly/smoothly-input.entry.js +19 -12
- package/dist/smoothly/smoothly-item.entry.js +6 -2
- package/dist/smoothly/smoothly-menu-options.entry.js +2 -2
- package/dist/smoothly/smoothly-notification.entry.js +2 -2
- package/dist/smoothly/smoothly-notifier.entry.js +2 -2
- package/dist/smoothly/smoothly-option.entry.js +2 -2
- package/dist/smoothly/smoothly-picker.entry.js +2 -2
- package/dist/smoothly/smoothly-popup.entry.js +2 -2
- package/dist/smoothly/smoothly-quiet.entry.js +15 -0
- package/dist/smoothly/smoothly-radio-group.entry.js +2 -2
- package/dist/smoothly/smoothly-radio.entry.js +2 -2
- package/dist/smoothly/smoothly-reorder.entry.js +2 -2
- package/dist/smoothly/smoothly-room.entry.js +2 -2
- package/dist/smoothly/smoothly-select-demo.entry.js +2 -2
- package/dist/smoothly/smoothly-select.entry.js +2 -2
- package/dist/smoothly/smoothly-selector.entry.js +2 -2
- package/dist/smoothly/smoothly-spinner.entry.js +2 -2
- package/dist/smoothly/smoothly-submit.entry.js +2 -2
- package/dist/smoothly/smoothly-tab-switch.entry.js +2 -2
- package/dist/smoothly/smoothly-tab.entry.js +2 -2
- package/dist/smoothly/smoothly-table-cell.entry.js +2 -2
- package/dist/smoothly/smoothly-table-demo.entry.js +2 -2
- package/dist/smoothly/smoothly-table-expandable-cell.entry.js +2 -2
- package/dist/smoothly/smoothly-table-expandable-row.entry.js +2 -2
- package/dist/smoothly/smoothly-table-header.entry.js +2 -2
- package/dist/smoothly/smoothly-table-row.entry.js +2 -2
- package/dist/smoothly/smoothly-table.entry.js +2 -2
- package/dist/smoothly/smoothly-trigger-sink.entry.js +3 -3
- package/dist/smoothly/smoothly-trigger-source.entry.js +3 -3
- package/dist/smoothly/smoothly-trigger.entry.js +2 -2
- package/dist/smoothly/smoothly-tuple.entry.js +2 -2
- package/dist/smoothly/smoothly-urlencoded.entry.js +2 -2
- package/dist/smoothly/smoothly.esm.js +10 -7
- package/dist/types/components/item/index.d.ts +1 -0
- package/dist/types/components/quiet/index.d.ts +4 -0
- package/dist/types/components.d.ts +15 -0
- package/dist/types/stencil-public-runtime.d.ts +183 -182
- package/loader/index.d.ts +0 -1
- package/package.json +89 -90
- package/dist/smoothly/p-22bce579.entry.js +0 -1
- package/dist/smoothly/p-41528fcb.entry.js +0 -1
- package/dist/smoothly/p-89fe12b0.entry.js +0 -1
- package/dist/smoothly/p-e3d91e7a.entry.js +0 -1
- package/dist/smoothly/p-e79800d9.entry.js +0 -1
|
@@ -16574,7 +16574,9 @@ exports.Date = void 0;
|
|
|
16574
16574
|
var Date;
|
|
16575
16575
|
(function (Date) {
|
|
16576
16576
|
function is(value) {
|
|
16577
|
-
return (typeof value == "string" &&
|
|
16577
|
+
return (typeof value == "string" &&
|
|
16578
|
+
value.length == 10 &&
|
|
16579
|
+
/^(\d{4}-[01]\d-[0-3]\d)|(\d{4}-[01]\d-[0-3]\d)|(\d{4}-[01]\d-[0-3]\d)$/.test(value));
|
|
16578
16580
|
}
|
|
16579
16581
|
Date.is = is;
|
|
16580
16582
|
function parse(value, time) {
|
|
@@ -16589,16 +16591,13 @@ var Date;
|
|
|
16589
16591
|
return create(new globalThis.Date());
|
|
16590
16592
|
}
|
|
16591
16593
|
Date.now = now;
|
|
16592
|
-
function localize(value, locale) {
|
|
16594
|
+
function localize(value, locale, timezone) {
|
|
16593
16595
|
return (is(value) ? parse(value) : value)
|
|
16594
16596
|
.toLocaleString(locale ? locale : Intl.DateTimeFormat().resolvedOptions().locale, {
|
|
16595
16597
|
year: "numeric",
|
|
16596
16598
|
month: "2-digit",
|
|
16597
16599
|
day: "2-digit",
|
|
16598
|
-
|
|
16599
|
-
minute: "2-digit",
|
|
16600
|
-
second: "2-digit",
|
|
16601
|
-
timeZone: Intl.DateTimeFormat().resolvedOptions().timeZone,
|
|
16600
|
+
timeZone: timezone !== null && timezone !== void 0 ? timezone : Intl.DateTimeFormat().resolvedOptions().timeZone,
|
|
16602
16601
|
})
|
|
16603
16602
|
.substring(0, 10);
|
|
16604
16603
|
}
|
|
@@ -16674,12 +16673,69 @@ var Date;
|
|
|
16674
16673
|
return Date.create(result);
|
|
16675
16674
|
}
|
|
16676
16675
|
Date.lastOfMonth = lastOfMonth;
|
|
16676
|
+
function getYear(time) {
|
|
16677
|
+
return Number.parseInt(time.substring(0, 4));
|
|
16678
|
+
}
|
|
16679
|
+
Date.getYear = getYear;
|
|
16680
|
+
function getMonth(time) {
|
|
16681
|
+
return Number.parseInt(time.substring(5, 7));
|
|
16682
|
+
}
|
|
16683
|
+
Date.getMonth = getMonth;
|
|
16684
|
+
function getDay(time) {
|
|
16685
|
+
return Number.parseInt(time.substring(8, 10));
|
|
16686
|
+
}
|
|
16687
|
+
Date.getDay = getDay;
|
|
16677
16688
|
})(Date = exports.Date || (exports.Date = {}));
|
|
16678
16689
|
//# sourceMappingURL=Date.js.map
|
|
16679
16690
|
});
|
|
16680
16691
|
|
|
16681
16692
|
const _Date$1 = /*@__PURE__*/_commonjsHelpers.getDefaultExportFromCjs(_Date);
|
|
16682
16693
|
|
|
16694
|
+
var DateRange_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
16695
|
+
"use strict";
|
|
16696
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16697
|
+
exports.DateRange = void 0;
|
|
16698
|
+
|
|
16699
|
+
var DateRange;
|
|
16700
|
+
(function (DateRange) {
|
|
16701
|
+
function is(value) {
|
|
16702
|
+
return typeof value == "object" && _Date.Date.is(value.start) && _Date.Date.is(value.end);
|
|
16703
|
+
}
|
|
16704
|
+
DateRange.is = is;
|
|
16705
|
+
function create(start, end) {
|
|
16706
|
+
return !_Date.Date.is(end)
|
|
16707
|
+
? create(start, _Date.Date.next(start, end))
|
|
16708
|
+
: start <= end
|
|
16709
|
+
? { start, end }
|
|
16710
|
+
: { start: end, end: start };
|
|
16711
|
+
}
|
|
16712
|
+
DateRange.create = create;
|
|
16713
|
+
})(DateRange = exports.DateRange || (exports.DateRange = {}));
|
|
16714
|
+
//# sourceMappingURL=DateRange.js.map
|
|
16715
|
+
});
|
|
16716
|
+
|
|
16717
|
+
const DateRange = /*@__PURE__*/_commonjsHelpers.getDefaultExportFromCjs(DateRange_1);
|
|
16718
|
+
|
|
16719
|
+
var DateSpan_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
16720
|
+
"use strict";
|
|
16721
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16722
|
+
exports.DateSpan = void 0;
|
|
16723
|
+
var DateSpan;
|
|
16724
|
+
(function (DateSpan) {
|
|
16725
|
+
function is(value) {
|
|
16726
|
+
return (typeof value == "object" &&
|
|
16727
|
+
(typeof value.years == "number" || value.years == undefined) &&
|
|
16728
|
+
(typeof value.months == "number" || value.months == undefined) &&
|
|
16729
|
+
(typeof value.days == "number" || value.days == undefined) &&
|
|
16730
|
+
(typeof value.years == "number" || typeof value.months == "number" || typeof value.days == "number"));
|
|
16731
|
+
}
|
|
16732
|
+
DateSpan.is = is;
|
|
16733
|
+
})(DateSpan = exports.DateSpan || (exports.DateSpan = {}));
|
|
16734
|
+
//# sourceMappingURL=DateSpan.js.map
|
|
16735
|
+
});
|
|
16736
|
+
|
|
16737
|
+
const DateSpan = /*@__PURE__*/_commonjsHelpers.getDefaultExportFromCjs(DateSpan_1);
|
|
16738
|
+
|
|
16683
16739
|
var DateTime_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
16684
16740
|
"use strict";
|
|
16685
16741
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -16692,18 +16748,32 @@ var DateTime;
|
|
|
16692
16748
|
}
|
|
16693
16749
|
DateTime.is = is;
|
|
16694
16750
|
function parse(value) {
|
|
16695
|
-
return new Date(value);
|
|
16751
|
+
return new globalThis.Date(value);
|
|
16696
16752
|
}
|
|
16697
16753
|
DateTime.parse = parse;
|
|
16698
|
-
function create(value) {
|
|
16754
|
+
function create(value, resolution = "seconds") {
|
|
16755
|
+
if (typeof value == "number") {
|
|
16756
|
+
switch (resolution) {
|
|
16757
|
+
case "days":
|
|
16758
|
+
value = value * 24;
|
|
16759
|
+
case "hours":
|
|
16760
|
+
value = value * 60;
|
|
16761
|
+
case "minutes":
|
|
16762
|
+
value = value * 60;
|
|
16763
|
+
case "seconds":
|
|
16764
|
+
value = value * 1000;
|
|
16765
|
+
case "milliseconds":
|
|
16766
|
+
}
|
|
16767
|
+
value = new globalThis.Date(value);
|
|
16768
|
+
}
|
|
16699
16769
|
return value.toISOString();
|
|
16700
16770
|
}
|
|
16701
16771
|
DateTime.create = create;
|
|
16702
16772
|
function now() {
|
|
16703
|
-
return create(new Date());
|
|
16773
|
+
return create(new globalThis.Date());
|
|
16704
16774
|
}
|
|
16705
16775
|
DateTime.now = now;
|
|
16706
|
-
function localize(value, locale) {
|
|
16776
|
+
function localize(value, locale, timezone) {
|
|
16707
16777
|
const localeString = locale ? locale : Intl.DateTimeFormat().resolvedOptions().locale;
|
|
16708
16778
|
return (is(value) ? parse(value) : value).toLocaleString(localeString, {
|
|
16709
16779
|
year: "numeric",
|
|
@@ -16712,10 +16782,176 @@ var DateTime;
|
|
|
16712
16782
|
hour: "2-digit",
|
|
16713
16783
|
minute: "2-digit",
|
|
16714
16784
|
second: "2-digit",
|
|
16715
|
-
timeZone: Intl.DateTimeFormat().resolvedOptions().timeZone,
|
|
16785
|
+
timeZone: timezone !== null && timezone !== void 0 ? timezone : Intl.DateTimeFormat().resolvedOptions().timeZone,
|
|
16716
16786
|
});
|
|
16717
16787
|
}
|
|
16718
16788
|
DateTime.localize = localize;
|
|
16789
|
+
function epoch(value, resolution = "seconds") {
|
|
16790
|
+
let result = (typeof value == "string" ? parse(value) : value).getTime();
|
|
16791
|
+
switch (resolution) {
|
|
16792
|
+
case "days":
|
|
16793
|
+
result = Math.round(result / 24);
|
|
16794
|
+
case "hours":
|
|
16795
|
+
result = Math.round(result / 60);
|
|
16796
|
+
case "minutes":
|
|
16797
|
+
result = Math.round(result / 60);
|
|
16798
|
+
case "seconds":
|
|
16799
|
+
result = Math.round(result / 1000);
|
|
16800
|
+
case "milliseconds":
|
|
16801
|
+
}
|
|
16802
|
+
return result;
|
|
16803
|
+
}
|
|
16804
|
+
DateTime.epoch = epoch;
|
|
16805
|
+
function next(time, span = 1) {
|
|
16806
|
+
let result;
|
|
16807
|
+
if (typeof span == "number")
|
|
16808
|
+
result = nextSecond(time, span);
|
|
16809
|
+
else {
|
|
16810
|
+
result = time;
|
|
16811
|
+
if (span.years)
|
|
16812
|
+
result = nextYear(result, span.years);
|
|
16813
|
+
if (span.months)
|
|
16814
|
+
result = nextMonth(result, span.months);
|
|
16815
|
+
if (span.days)
|
|
16816
|
+
result = nextDay(result, span.days);
|
|
16817
|
+
if (span.hours)
|
|
16818
|
+
result = nextHour(result, span.hours);
|
|
16819
|
+
if (span.minutes)
|
|
16820
|
+
result = nextMinute(result, span.minutes);
|
|
16821
|
+
if (span.seconds)
|
|
16822
|
+
result = nextSecond(result, span.seconds);
|
|
16823
|
+
if (span.milliseconds)
|
|
16824
|
+
result = nextMillisecond(result, span.milliseconds);
|
|
16825
|
+
}
|
|
16826
|
+
return result;
|
|
16827
|
+
}
|
|
16828
|
+
DateTime.next = next;
|
|
16829
|
+
function previous(time, span = 1) {
|
|
16830
|
+
let result;
|
|
16831
|
+
if (typeof span == "number")
|
|
16832
|
+
result = previousSecond(time, span);
|
|
16833
|
+
else {
|
|
16834
|
+
result = time;
|
|
16835
|
+
if (span.years)
|
|
16836
|
+
result = previousYear(result, span.years);
|
|
16837
|
+
if (span.months)
|
|
16838
|
+
result = previousMonth(result, span.months);
|
|
16839
|
+
if (span.days)
|
|
16840
|
+
result = previousDay(result, span.days);
|
|
16841
|
+
if (span.hours)
|
|
16842
|
+
result = previousHour(result, span.hours);
|
|
16843
|
+
if (span.minutes)
|
|
16844
|
+
result = previousMinute(result, span.minutes);
|
|
16845
|
+
if (span.seconds)
|
|
16846
|
+
result = previousSecond(result, span.seconds);
|
|
16847
|
+
if (span.milliseconds)
|
|
16848
|
+
result = previousMillisecond(result, span.milliseconds);
|
|
16849
|
+
}
|
|
16850
|
+
return result;
|
|
16851
|
+
}
|
|
16852
|
+
DateTime.previous = previous;
|
|
16853
|
+
function nextMillisecond(time, milliseconds = 1) {
|
|
16854
|
+
const result = parse(time);
|
|
16855
|
+
result.setMilliseconds(result.getMilliseconds() + milliseconds);
|
|
16856
|
+
return DateTime.create(result);
|
|
16857
|
+
}
|
|
16858
|
+
DateTime.nextMillisecond = nextMillisecond;
|
|
16859
|
+
function previousMillisecond(time, seconds = 1) {
|
|
16860
|
+
return nextMillisecond(time, -seconds);
|
|
16861
|
+
}
|
|
16862
|
+
DateTime.previousMillisecond = previousMillisecond;
|
|
16863
|
+
function nextSecond(time, seconds = 1) {
|
|
16864
|
+
const result = parse(time);
|
|
16865
|
+
result.setSeconds(result.getSeconds() + seconds);
|
|
16866
|
+
return DateTime.create(result);
|
|
16867
|
+
}
|
|
16868
|
+
DateTime.nextSecond = nextSecond;
|
|
16869
|
+
function previousSecond(time, seconds = 1) {
|
|
16870
|
+
return nextSecond(time, -seconds);
|
|
16871
|
+
}
|
|
16872
|
+
DateTime.previousSecond = previousSecond;
|
|
16873
|
+
function nextMinute(time, minutes = 1) {
|
|
16874
|
+
const result = parse(time);
|
|
16875
|
+
result.setMinutes(result.getMinutes() + minutes);
|
|
16876
|
+
return DateTime.create(result);
|
|
16877
|
+
}
|
|
16878
|
+
DateTime.nextMinute = nextMinute;
|
|
16879
|
+
function previousMinute(time, minutes = 1) {
|
|
16880
|
+
return nextMinute(time, -minutes);
|
|
16881
|
+
}
|
|
16882
|
+
DateTime.previousMinute = previousMinute;
|
|
16883
|
+
function nextHour(time, hours = 1) {
|
|
16884
|
+
const result = parse(time);
|
|
16885
|
+
result.setHours(result.getHours() + hours);
|
|
16886
|
+
return DateTime.create(result);
|
|
16887
|
+
}
|
|
16888
|
+
DateTime.nextHour = nextHour;
|
|
16889
|
+
function previousHour(time, hours = 1) {
|
|
16890
|
+
return nextHour(time, -hours);
|
|
16891
|
+
}
|
|
16892
|
+
DateTime.previousHour = previousHour;
|
|
16893
|
+
function nextDay(time, days = 1) {
|
|
16894
|
+
const result = parse(time);
|
|
16895
|
+
result.setDate(result.getDate() + days);
|
|
16896
|
+
return DateTime.create(result);
|
|
16897
|
+
}
|
|
16898
|
+
DateTime.nextDay = nextDay;
|
|
16899
|
+
function previousDay(time, days = 1) {
|
|
16900
|
+
return nextDay(time, -days);
|
|
16901
|
+
}
|
|
16902
|
+
DateTime.previousDay = previousDay;
|
|
16903
|
+
function nextMonth(time, months = 1) {
|
|
16904
|
+
const result = parse(time);
|
|
16905
|
+
result.setMonth(result.getMonth() + months);
|
|
16906
|
+
return DateTime.create(result);
|
|
16907
|
+
}
|
|
16908
|
+
DateTime.nextMonth = nextMonth;
|
|
16909
|
+
function previousMonth(time, months = 1) {
|
|
16910
|
+
return nextMonth(time, -months);
|
|
16911
|
+
}
|
|
16912
|
+
DateTime.previousMonth = previousMonth;
|
|
16913
|
+
function nextYear(time, years = 1) {
|
|
16914
|
+
const result = parse(time);
|
|
16915
|
+
result.setFullYear(result.getFullYear() + years);
|
|
16916
|
+
return DateTime.create(result);
|
|
16917
|
+
}
|
|
16918
|
+
DateTime.nextYear = nextYear;
|
|
16919
|
+
function previousYear(time, years = 1) {
|
|
16920
|
+
return nextYear(time, -years);
|
|
16921
|
+
}
|
|
16922
|
+
DateTime.previousYear = previousYear;
|
|
16923
|
+
function getDate(time) {
|
|
16924
|
+
return time.substring(0, 10);
|
|
16925
|
+
}
|
|
16926
|
+
DateTime.getDate = getDate;
|
|
16927
|
+
function getTime(time) {
|
|
16928
|
+
return time.substring(11);
|
|
16929
|
+
}
|
|
16930
|
+
DateTime.getTime = getTime;
|
|
16931
|
+
function getYear(time) {
|
|
16932
|
+
return Number.parseInt(time.substring(0, 4));
|
|
16933
|
+
}
|
|
16934
|
+
DateTime.getYear = getYear;
|
|
16935
|
+
function getMonth(time) {
|
|
16936
|
+
return Number.parseInt(time.substring(5, 7));
|
|
16937
|
+
}
|
|
16938
|
+
DateTime.getMonth = getMonth;
|
|
16939
|
+
function getDay(time) {
|
|
16940
|
+
return Number.parseInt(time.substring(8, 10));
|
|
16941
|
+
}
|
|
16942
|
+
DateTime.getDay = getDay;
|
|
16943
|
+
function getHour(time) {
|
|
16944
|
+
return Number.parseInt(time.substring(11, 13));
|
|
16945
|
+
}
|
|
16946
|
+
DateTime.getHour = getHour;
|
|
16947
|
+
function getMinute(time) {
|
|
16948
|
+
return Number.parseInt(time.substring(14, 16));
|
|
16949
|
+
}
|
|
16950
|
+
DateTime.getMinute = getMinute;
|
|
16951
|
+
function getSecond(time) {
|
|
16952
|
+
return Number.parseInt(time.substring(17, 19));
|
|
16953
|
+
}
|
|
16954
|
+
DateTime.getSecond = getSecond;
|
|
16719
16955
|
})(DateTime = exports.DateTime || (exports.DateTime = {}));
|
|
16720
16956
|
//# sourceMappingURL=DateTime.js.map
|
|
16721
16957
|
});
|
|
@@ -18456,6 +18692,61 @@ var Locale;
|
|
|
18456
18692
|
|
|
18457
18693
|
const Locale = /*@__PURE__*/_commonjsHelpers.getDefaultExportFromCjs(Locale_1);
|
|
18458
18694
|
|
|
18695
|
+
var TimeRange_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
18696
|
+
"use strict";
|
|
18697
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18698
|
+
exports.TimeRange = void 0;
|
|
18699
|
+
|
|
18700
|
+
var TimeRange;
|
|
18701
|
+
(function (TimeRange) {
|
|
18702
|
+
function is(value) {
|
|
18703
|
+
return typeof value == "object" && DateTime_1.DateTime.is(value.start) && DateTime_1.DateTime.is(value.end);
|
|
18704
|
+
}
|
|
18705
|
+
TimeRange.is = is;
|
|
18706
|
+
function create(start, end) {
|
|
18707
|
+
return !DateTime_1.DateTime.is(end)
|
|
18708
|
+
? create(start, DateTime_1.DateTime.next(start, end))
|
|
18709
|
+
: start <= end
|
|
18710
|
+
? { start, end }
|
|
18711
|
+
: { start: end, end: start };
|
|
18712
|
+
}
|
|
18713
|
+
TimeRange.create = create;
|
|
18714
|
+
})(TimeRange = exports.TimeRange || (exports.TimeRange = {}));
|
|
18715
|
+
//# sourceMappingURL=TimeRange.js.map
|
|
18716
|
+
});
|
|
18717
|
+
|
|
18718
|
+
const TimeRange = /*@__PURE__*/_commonjsHelpers.getDefaultExportFromCjs(TimeRange_1);
|
|
18719
|
+
|
|
18720
|
+
var TimeSpan_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
18721
|
+
"use strict";
|
|
18722
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18723
|
+
exports.TimeSpan = void 0;
|
|
18724
|
+
var TimeSpan;
|
|
18725
|
+
(function (TimeSpan) {
|
|
18726
|
+
function is(value) {
|
|
18727
|
+
return (typeof value == "object" &&
|
|
18728
|
+
(typeof value.years == "number" || value.years == undefined) &&
|
|
18729
|
+
(typeof value.months == "number" || value.months == undefined) &&
|
|
18730
|
+
(typeof value.days == "number" || value.days == undefined) &&
|
|
18731
|
+
(typeof value.hours == "number" || value.hours == undefined) &&
|
|
18732
|
+
(typeof value.minutes == "number" || value.minutes == undefined) &&
|
|
18733
|
+
(typeof value.seconds == "number" || value.seconds == undefined) &&
|
|
18734
|
+
(typeof value.milliseconds == "number" || value.milliseconds == undefined) &&
|
|
18735
|
+
(typeof value.years == "number" ||
|
|
18736
|
+
typeof value.months == "number" ||
|
|
18737
|
+
typeof value.days == "number" ||
|
|
18738
|
+
typeof value.hours == "number" ||
|
|
18739
|
+
typeof value.minutes == "number" ||
|
|
18740
|
+
typeof value.seconds == "number" ||
|
|
18741
|
+
typeof value.milliseconds == "number"));
|
|
18742
|
+
}
|
|
18743
|
+
TimeSpan.is = is;
|
|
18744
|
+
})(TimeSpan = exports.TimeSpan || (exports.TimeSpan = {}));
|
|
18745
|
+
//# sourceMappingURL=TimeSpan.js.map
|
|
18746
|
+
});
|
|
18747
|
+
|
|
18748
|
+
const TimeSpan = /*@__PURE__*/_commonjsHelpers.getDefaultExportFromCjs(TimeSpan_1);
|
|
18749
|
+
|
|
18459
18750
|
var dist = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
18460
18751
|
"use strict";
|
|
18461
18752
|
var __createBinding = (_commonjsHelpers.commonjsGlobal && _commonjsHelpers.commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
@@ -18478,7 +18769,7 @@ var __importStar = (_commonjsHelpers.commonjsGlobal && _commonjsHelpers.commonjs
|
|
|
18478
18769
|
return result;
|
|
18479
18770
|
};
|
|
18480
18771
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18481
|
-
exports.Locale = exports.Language = exports.Encoding = exports.DateTime = exports.Date = exports.CurrencyCode = exports.Currency = exports.CountryCode = exports.CallingCode = void 0;
|
|
18772
|
+
exports.TimeSpan = exports.TimeRange = exports.Locale = exports.Language = exports.Encoding = exports.DateTime = exports.Date = exports.CurrencyCode = exports.Currency = exports.DateRange = exports.DateSpan = exports.CountryCode = exports.CallingCode = void 0;
|
|
18482
18773
|
|
|
18483
18774
|
Object.defineProperty(exports, "CallingCode", { enumerable: true, get: function () { return CallingCode_1.CallingCode; } });
|
|
18484
18775
|
const CountryCode$1 = __importStar(CountryCode);
|
|
@@ -18490,6 +18781,10 @@ Object.defineProperty(exports, "CurrencyCode", { enumerable: true, get: function
|
|
|
18490
18781
|
|
|
18491
18782
|
Object.defineProperty(exports, "Date", { enumerable: true, get: function () { return _Date.Date; } });
|
|
18492
18783
|
|
|
18784
|
+
Object.defineProperty(exports, "DateRange", { enumerable: true, get: function () { return DateRange_1.DateRange; } });
|
|
18785
|
+
|
|
18786
|
+
Object.defineProperty(exports, "DateSpan", { enumerable: true, get: function () { return DateSpan_1.DateSpan; } });
|
|
18787
|
+
|
|
18493
18788
|
Object.defineProperty(exports, "DateTime", { enumerable: true, get: function () { return DateTime_1.DateTime; } });
|
|
18494
18789
|
|
|
18495
18790
|
Object.defineProperty(exports, "Encoding", { enumerable: true, get: function () { return Encoding_1.Encoding; } });
|
|
@@ -18497,6 +18792,10 @@ Object.defineProperty(exports, "Encoding", { enumerable: true, get: function ()
|
|
|
18497
18792
|
Object.defineProperty(exports, "Language", { enumerable: true, get: function () { return Language_1.Language; } });
|
|
18498
18793
|
|
|
18499
18794
|
Object.defineProperty(exports, "Locale", { enumerable: true, get: function () { return Locale_1.Locale; } });
|
|
18795
|
+
|
|
18796
|
+
Object.defineProperty(exports, "TimeRange", { enumerable: true, get: function () { return TimeRange_1.TimeRange; } });
|
|
18797
|
+
|
|
18798
|
+
Object.defineProperty(exports, "TimeSpan", { enumerable: true, get: function () { return TimeSpan_1.TimeSpan; } });
|
|
18500
18799
|
//# sourceMappingURL=index.js.map
|
|
18501
18800
|
});
|
|
18502
18801
|
|
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const App = require('./App-
|
|
6
|
-
const index = require('./index-
|
|
7
|
-
require('./index-
|
|
5
|
+
const App = require('./App-ffc56e72.js');
|
|
6
|
+
const index = require('./index-de5d1ee1.js');
|
|
7
|
+
require('./index-138c41c2.js');
|
|
8
8
|
|
|
9
9
|
const colorNames = {
|
|
10
10
|
aliceblue: "#f0f8ff",
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-138c41c2.js');
|
|
6
6
|
const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
7
7
|
|
|
8
8
|
/*
|
|
9
|
-
Stencil Client Patch Esm v2.
|
|
9
|
+
Stencil Client Patch Esm v2.10.0 | MIT Licensed | https://stenciljs.com
|
|
10
10
|
*/
|
|
11
11
|
const patchEsm = () => {
|
|
12
12
|
// NOTE!! This fn cannot use async/await!
|
|
13
13
|
// @ts-ignore
|
|
14
14
|
if (index.BUILD.cssVarShim && !(index.CSS && index.CSS.supports && index.CSS.supports('color', 'var(--c)'))) {
|
|
15
15
|
// @ts-ignore
|
|
16
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "polyfills-css-shim" */ './css-shim-
|
|
16
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "polyfills-css-shim" */ './css-shim-88cc6900.js'); }).then(() => {
|
|
17
17
|
if ((index.plt.$cssShim$ = index.win.__cssshim)) {
|
|
18
18
|
return index.plt.$cssShim$.i();
|
|
19
19
|
}
|
|
@@ -30,7 +30,7 @@ const defineCustomElements = (win, options) => {
|
|
|
30
30
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
31
31
|
return patchEsm().then(() => {
|
|
32
32
|
appGlobals.globalScripts();
|
|
33
|
-
return index.bootstrapLazy([["smoothly-app-demo.cjs",[[0,"smoothly-app-demo",{"baseUrl":[1,"base-url"]}]]],["smoothly-radio-group.cjs",[[4,"smoothly-radio-group",{"orientation":[513]}]]],["smoothly-reorder.cjs",[[0,"smoothly-reorder"]]],["smoothly-trigger-sink.cjs",[[6,"smoothly-trigger-sink",{"context":[16],"destination":[1],"filter":[1]},[[0,"trigger","TriggerListener"]]]]],["smoothly-trigger-source.cjs",[[6,"smoothly-trigger-source",{"listen":[1]}]]],["smoothly-input-demo.cjs",[[0,"smoothly-input-demo"]]],["smoothly-select-demo.cjs",[[2,"smoothly-select-demo",null,[[0,"selectionChanged","handleSelectionChanged"]]]]],["smoothly-table-demo.cjs",[[2,"smoothly-table-demo"]]],["smoothly-display-demo.cjs",[[0,"smoothly-display-demo"]]],["smoothly-app.cjs",[[4,"smoothly-app",{"color":[1]}]]],["smoothly-dialog-demo.cjs",[[0,"smoothly-dialog-demo"]]],["smoothly-icon-demo.cjs",[[2,"smoothly-icon-demo"]]],["smoothly-room.cjs",[[4,"smoothly-room",{"label":[1],"icon":[1],"path":[1],"to":[1]}]]],["smoothly-input-date-range.cjs",[[2,"smoothly-input-date-range",{"value":[1025],"start":[1025],"end":[1025],"open":[1028]},[[0,"startChanged","onStartChanged"],[0,"endChanged","onEndChanged"]]]]],["smoothly-notifier.cjs",[[6,"smoothly-notifier",{"notices":[32]},[[0,"notice","onNotice"],[0,"remove","onRemove"]]]]],["smoothly-picker.cjs",[[1,"smoothly-picker",{"maxMenuHeight":[1,"max-menu-height"],"maxHeight":[1,"max-height"],"emptyMenuLabel":[1025,"empty-menu-label"],"multiple":[516],"optionStyle":[8,"option-style"],"options":[16],"labelSetting":[513,"label-setting"],"label":[513],"selections":[1040],"selectNoneName":[1025,"select-none-name"],"isOpen":[32]},[[0,"optionSelect","optionSelectHander"]]]]],["smoothly-dialog.cjs",[[6,"smoothly-dialog",{"color":[513],"open":[1540],"closable":[516],"header":[513]},[[0,"trigger","TriggerListener"]]]]],["smoothly-checkbox.cjs",[[2,"smoothly-checkbox",{"selectAll":[4,"select-all"],"selected":[1540],"disabled":[1540],"t":[32]}]]],["smoothly-submit.cjs",[[6,"smoothly-submit",{"processing":[1540],"color":[513],"expand":[513],"fill":[513],"disabled":[516],"prevent":[4],"submit":[64]},[[0,"click","handleSubmit"]]]]],["smoothly-urlencoded.cjs",[[0,"smoothly-urlencoded",{"data":[1]}]]],["smoothly-accordion.cjs",[[6,"smoothly-accordion",{"value":[1025]},[[0,"smoothlyOpen","handleOpenClose"],[0,"smoothlyClose","handleOpenClose"],[0,"smoothlyAccordionItemDidLoad","onAccordionItemDidLoad"],[0,"smoothlyAccordionItemDidUnload","onAccordionItemDidUnload"]]]]],["smoothly-accordion-item.cjs",[[6,"smoothly-accordion-item",{"name":[1],"brand":[1],"open":[1540]}]]],["smoothly-display-amount.cjs",[[2,"smoothly-display-amount",{"amount":[8],"currency":[1]}]]],["smoothly-frame.cjs",[[2,"smoothly-frame",{"url":[1],"name":[1],"origin":[1],"send":[64]}]]],["smoothly-popup.cjs",[[6,"smoothly-popup",{"visible":[1540],"direction":[1537],"cssVariables":[32]}]]],["smoothly-radio.cjs",[[6,"smoothly-radio",{"name":[1],"value":[1],"checked":[1540],"tabIndex":[2,"tab-index"]}]]],["smoothly-select.cjs",[[6,"smoothly-select",{"identifier":[1],"background":[513],"value":[1025]}]]],["smoothly-tab.cjs",[[6,"smoothly-tab",{"label":[1],"open":[1540]},[[0,"click","onClick"]]]]],["smoothly-tab-switch.cjs",[[6,"smoothly-tab-switch",{"selectedElement":[32]},[[0,"expansionOpen","openChanged"]]]]],["smoothly-table.cjs",[[6,"smoothly-table",null,[[0,"sort","onSort"]]]]],["smoothly-table-cell.cjs",[[6,"smoothly-table-cell"]]],["smoothly-table-expandable-cell.cjs",[[6,"smoothly-table-expandable-cell",{"align":[1],"open":[1540],"beginOpen":[32]},[[0,"click","onClick"]]]]],["smoothly-table-expandable-row.cjs",[[6,"smoothly-table-expandable-row",null,[[0,"expansionLoaded","onExpansionLoaded"],[0,"expansionOpen","onDetailsLoaded"]]]]],["smoothly-table-header.cjs",[[6,"smoothly-table-header",{"name":[1],"sortDirection":[1025,"sort-direction"]},[[0,"click","onClick"]]]]],["smoothly-table-row.cjs",[[6,"smoothly-table-row",{"align":[1],"open":[1540],"beginOpen":[32]},[[0,"click","onClick"]]]]],["smoothly-
|
|
33
|
+
return index.bootstrapLazy([["smoothly-app-demo.cjs",[[0,"smoothly-app-demo",{"baseUrl":[1,"base-url"]}]]],["smoothly-radio-group.cjs",[[4,"smoothly-radio-group",{"orientation":[513]}]]],["smoothly-reorder.cjs",[[0,"smoothly-reorder"]]],["smoothly-trigger-sink.cjs",[[6,"smoothly-trigger-sink",{"context":[16],"destination":[1],"filter":[1]},[[0,"trigger","TriggerListener"]]]]],["smoothly-trigger-source.cjs",[[6,"smoothly-trigger-source",{"listen":[1]}]]],["smoothly-input-demo.cjs",[[0,"smoothly-input-demo"]]],["smoothly-select-demo.cjs",[[2,"smoothly-select-demo",null,[[0,"selectionChanged","handleSelectionChanged"]]]]],["smoothly-table-demo.cjs",[[2,"smoothly-table-demo"]]],["smoothly-display-demo.cjs",[[0,"smoothly-display-demo"]]],["smoothly-app.cjs",[[4,"smoothly-app",{"color":[1]}]]],["smoothly-dialog-demo.cjs",[[0,"smoothly-dialog-demo"]]],["smoothly-icon-demo.cjs",[[2,"smoothly-icon-demo"]]],["smoothly-room.cjs",[[4,"smoothly-room",{"label":[1],"icon":[1],"path":[1],"to":[1]}]]],["smoothly-input-date-range.cjs",[[2,"smoothly-input-date-range",{"value":[1025],"start":[1025],"end":[1025],"open":[1028]},[[0,"startChanged","onStartChanged"],[0,"endChanged","onEndChanged"]]]]],["smoothly-notifier.cjs",[[6,"smoothly-notifier",{"notices":[32]},[[0,"notice","onNotice"],[0,"remove","onRemove"]]]]],["smoothly-picker.cjs",[[1,"smoothly-picker",{"maxMenuHeight":[1,"max-menu-height"],"maxHeight":[1,"max-height"],"emptyMenuLabel":[1025,"empty-menu-label"],"multiple":[516],"optionStyle":[8,"option-style"],"options":[16],"labelSetting":[513,"label-setting"],"label":[513],"selections":[1040],"selectNoneName":[1025,"select-none-name"],"isOpen":[32]},[[0,"optionSelect","optionSelectHander"]]]]],["smoothly-dialog.cjs",[[6,"smoothly-dialog",{"color":[513],"open":[1540],"closable":[516],"header":[513]},[[0,"trigger","TriggerListener"]]]]],["smoothly-checkbox.cjs",[[2,"smoothly-checkbox",{"selectAll":[4,"select-all"],"selected":[1540],"disabled":[1540],"t":[32]}]]],["smoothly-submit.cjs",[[6,"smoothly-submit",{"processing":[1540],"color":[513],"expand":[513],"fill":[513],"disabled":[516],"prevent":[4],"submit":[64]},[[0,"click","handleSubmit"]]]]],["smoothly-urlencoded.cjs",[[0,"smoothly-urlencoded",{"data":[1]}]]],["smoothly-accordion.cjs",[[6,"smoothly-accordion",{"value":[1025]},[[0,"smoothlyOpen","handleOpenClose"],[0,"smoothlyClose","handleOpenClose"],[0,"smoothlyAccordionItemDidLoad","onAccordionItemDidLoad"],[0,"smoothlyAccordionItemDidUnload","onAccordionItemDidUnload"]]]]],["smoothly-accordion-item.cjs",[[6,"smoothly-accordion-item",{"name":[1],"brand":[1],"open":[1540]}]]],["smoothly-display-amount.cjs",[[2,"smoothly-display-amount",{"amount":[8],"currency":[1]}]]],["smoothly-frame.cjs",[[2,"smoothly-frame",{"url":[1],"name":[1],"origin":[1],"send":[64]}]]],["smoothly-popup.cjs",[[6,"smoothly-popup",{"visible":[1540],"direction":[1537],"cssVariables":[32]}]]],["smoothly-quiet.cjs",[[6,"smoothly-quiet",{"color":[1]}]]],["smoothly-radio.cjs",[[6,"smoothly-radio",{"name":[1],"value":[1],"checked":[1540],"tabIndex":[2,"tab-index"]}]]],["smoothly-select.cjs",[[6,"smoothly-select",{"identifier":[1],"background":[513],"value":[1025]}]]],["smoothly-tab.cjs",[[6,"smoothly-tab",{"label":[1],"open":[1540]},[[0,"click","onClick"]]]]],["smoothly-tab-switch.cjs",[[6,"smoothly-tab-switch",{"selectedElement":[32]},[[0,"expansionOpen","openChanged"]]]]],["smoothly-table.cjs",[[6,"smoothly-table",null,[[0,"sort","onSort"]]]]],["smoothly-table-cell.cjs",[[6,"smoothly-table-cell"]]],["smoothly-table-expandable-cell.cjs",[[6,"smoothly-table-expandable-cell",{"align":[1],"open":[1540],"beginOpen":[32]},[[0,"click","onClick"]]]]],["smoothly-table-expandable-row.cjs",[[6,"smoothly-table-expandable-row",null,[[0,"expansionLoaded","onExpansionLoaded"],[0,"expansionOpen","onDetailsLoaded"]]]]],["smoothly-table-header.cjs",[[6,"smoothly-table-header",{"name":[1],"sortDirection":[1025,"sort-direction"]},[[0,"click","onClick"]]]]],["smoothly-table-row.cjs",[[6,"smoothly-table-row",{"align":[1],"open":[1540],"beginOpen":[32]},[[0,"click","onClick"]]]]],["smoothly-icon.cjs",[[2,"smoothly-icon",{"color":[513],"fill":[513],"name":[1],"size":[513],"toolTip":[1,"tool-tip"],"document":[32]}]]],["smoothly-selector.cjs",[[6,"smoothly-selector",{"opened":[32],"selectedElement":[32],"missing":[32],"filter":[32]},[[0,"click","onClick"],[0,"itemSelected","onItemSelected"],[0,"keydown","onKeyDown"]]]]],["smoothly-input-date.cjs",[[6,"smoothly-input-date",{"value":[1025],"open":[1028]}]]],["smoothly-notification.cjs",[[2,"smoothly-notification",{"notice":[16],"tick":[32]},[[0,"trigger","onTrigger"]]]]],["smoothly-option.cjs",[[1,"smoothly-option",{"aliases":[513],"dataHighlight":[1540,"data-highlight"],"name":[1537],"value":[1537]}]]],["smoothly-menu-options.cjs",[[1,"smoothly-menu-options",{"emptyMenuLabel":[1025,"empty-menu-label"],"maxMenuHeight":[1,"max-menu-height"],"order":[4],"optionStyle":[8,"option-style"],"options":[1040],"resetHighlightOnOptionsChange":[1028,"reset-highlight-on-options-change"],"filteredOptions":[32],"highlightIndex":[32],"moveHighlight":[64],"setHighlight":[64],"getHighlighted":[64],"filterOptions":[64]},[[0,"optionHover","optionHoverHandler"]]]]],["smoothly-display.cjs",[[2,"smoothly-display",{"type":[1],"value":[8],"currency":[1],"country":[1]}]]],["smoothly-display-date-time.cjs",[[2,"smoothly-display-date-time",{"datetime":[1]}]]],["smoothly-spinner.cjs",[[2,"smoothly-spinner",{"active":[516]}]]],["smoothly-tuple.cjs",[[0,"smoothly-tuple",{"tuple":[16]}]]],["smoothly-item.cjs",[[6,"smoothly-item",{"value":[8],"selected":[1540],"filter":[64]},[[0,"click","onClick"]]]]],["smoothly-input-month.cjs",[[2,"smoothly-input-month",{"value":[1025]}]]],["smoothly-calendar.cjs",[[2,"smoothly-calendar",{"month":[1025],"value":[1025],"start":[1025],"end":[1025],"doubleInput":[516,"double-input"]}]]],["smoothly-input.cjs",[[6,"smoothly-input",{"name":[513],"value":[1032],"type":[513],"required":[1540],"minLength":[1026,"min-length"],"maxLength":[1026,"max-length"],"autocomplete":[1028],"pattern":[1040],"placeholder":[1025],"disabled":[1028],"currency":[513],"setKeepFocusOnReRender":[64],"setSelectionRange":[64]}]]],["smoothly-trigger.cjs",[[6,"smoothly-trigger",{"color":[513],"expand":[513],"fill":[513],"disabled":[516],"type":[513],"name":[1],"value":[8]},[[0,"click","onClick"]]]]]], options);
|
|
34
34
|
});
|
|
35
35
|
};
|
|
36
36
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
|
-
Stencil Client Platform v2.
|
|
4
|
+
Stencil Client Platform v2.10.0 | MIT Licensed | https://stenciljs.com
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
7
|
* @license
|
|
@@ -297,7 +297,7 @@ const applyStrictSelectorScope = (selector, scopeSelector, hostSelector) => {
|
|
|
297
297
|
const scopeSelector = (selector, scopeSelectorText, hostSelector, slotSelector) => {
|
|
298
298
|
return selector
|
|
299
299
|
.split(',')
|
|
300
|
-
.map(shallowPart => {
|
|
300
|
+
.map((shallowPart) => {
|
|
301
301
|
if (slotSelector && shallowPart.indexOf('.' + slotSelector) > -1) {
|
|
302
302
|
return shallowPart.trim();
|
|
303
303
|
}
|
|
@@ -317,7 +317,10 @@ const scopeSelectors = (cssText, scopeSelectorText, hostSelector, slotSelector,
|
|
|
317
317
|
if (rule.selector[0] !== '@') {
|
|
318
318
|
selector = scopeSelector(rule.selector, scopeSelectorText, hostSelector, slotSelector);
|
|
319
319
|
}
|
|
320
|
-
else if (rule.selector.startsWith('@media') ||
|
|
320
|
+
else if (rule.selector.startsWith('@media') ||
|
|
321
|
+
rule.selector.startsWith('@supports') ||
|
|
322
|
+
rule.selector.startsWith('@page') ||
|
|
323
|
+
rule.selector.startsWith('@document')) {
|
|
321
324
|
content = scopeSelectors(rule.content, scopeSelectorText, hostSelector, slotSelector);
|
|
322
325
|
}
|
|
323
326
|
const cssRule = {
|
|
@@ -358,11 +361,14 @@ const scopeCss = (cssText, scopeId, commentOriginalSelector) => {
|
|
|
358
361
|
rule.selector = placeholder + rule.selector;
|
|
359
362
|
return rule;
|
|
360
363
|
};
|
|
361
|
-
cssText = processRules(cssText, rule => {
|
|
364
|
+
cssText = processRules(cssText, (rule) => {
|
|
362
365
|
if (rule.selector[0] !== '@') {
|
|
363
366
|
return processCommentedSelector(rule);
|
|
364
367
|
}
|
|
365
|
-
else if (rule.selector.startsWith('@media') ||
|
|
368
|
+
else if (rule.selector.startsWith('@media') ||
|
|
369
|
+
rule.selector.startsWith('@supports') ||
|
|
370
|
+
rule.selector.startsWith('@page') ||
|
|
371
|
+
rule.selector.startsWith('@document')) {
|
|
366
372
|
rule.content = processRules(rule.content, processCommentedSelector);
|
|
367
373
|
return rule;
|
|
368
374
|
}
|
|
@@ -376,7 +382,7 @@ const scopeCss = (cssText, scopeId, commentOriginalSelector) => {
|
|
|
376
382
|
cssText = cssText.replace(placeholder, comment);
|
|
377
383
|
});
|
|
378
384
|
}
|
|
379
|
-
scoped.slottedSelectors.forEach(slottedSelector => {
|
|
385
|
+
scoped.slottedSelectors.forEach((slottedSelector) => {
|
|
380
386
|
cssText = cssText.replace(slottedSelector.orgSelector, slottedSelector.updatedSelector);
|
|
381
387
|
});
|
|
382
388
|
return cssText;
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-138c41c2.js');
|
|
6
6
|
|
|
7
7
|
const styleCss = ".sc-smoothly-accordion-item-h{display:block}[hidden].sc-smoothly-accordion-item-h{display:none}details.sc-smoothly-accordion-item{padding:0}details.sc-smoothly-accordion-item>summary.sc-smoothly-accordion-item>span.sc-smoothly-accordion-item{float:right;margin:0.2em;font-size:60%}details.sc-smoothly-accordion-item>summary.sc-smoothly-accordion-item{font-size:120%;list-style-type:none;cursor:pointer;padding:0.4em;color:rgb(var(--smoothly-text-tint))}details.sc-smoothly-accordion-item>fieldset.sc-smoothly-accordion-item{border:none;margin:0;padding:0}[open].sc-smoothly-accordion-item-h>details.sc-smoothly-accordion-item>summary.sc-smoothly-accordion-item{color:rgb(var(--smoothly-primary-contrast));background:rgb(var(--smoothly-primary-color))}details.sc-smoothly-accordion-item>summary.sc-smoothly-accordion-item::-webkit-details-marker{display:none}details.sc-smoothly-accordion-item>summary.sc-smoothly-accordion-item>svg.sc-smoothly-accordion-item{width:1em;height:auto;margin-bottom:-0.2em;margin-right:0.4em}[open].sc-smoothly-accordion-item-h>details.sc-smoothly-accordion-item>summary.sc-smoothly-accordion-item>svg.sc-smoothly-accordion-item{fill:rgb(var(--smoothly-primary-contrast))}.sc-smoothly-accordion-item-h:not([open])>details.sc-smoothly-accordion-item>summary.sc-smoothly-accordion-item>svg.sc-smoothly-accordion-item{fill:rgb(var(--smoothly-text-tint))}";
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
let SmoothlyAccordionItem = class {
|
|
10
10
|
constructor(hostRef) {
|
|
11
11
|
index.registerInstance(this, hostRef);
|
|
12
12
|
this.smoothlyAccordionItemDidLoad = index.createEvent(this, "smoothlyAccordionItemDidLoad", 7);
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-138c41c2.js');
|
|
6
6
|
|
|
7
7
|
const styleCss = "smoothly-accordion-item.sc-smoothly-accordion{border:1px solid rgb(var(--smoothly-dark-color));border-bottom:none}smoothly-accordion-item.sc-smoothly-accordion:first-of-type{border-top-left-radius:4px;border-top-right-radius:4px;margin-top:0.4em}smoothly-accordion-item.sc-smoothly-accordion:last-of-type{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-bottom:1px solid rgb(var(--smoothly-dark-color));margin-bottom:0.6em}smoothly-accordion-item[open].sc-smoothly-accordion{border-color:rgb(var(--smoothly-primary-color));border-bottom:1px solid rgb(var(--smoothly-primary-color))}smoothly-accordion-item[open].sc-smoothly-accordion+smoothly-accordion-item.sc-smoothly-accordion{border-top:none}";
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
let SmoothlyAccordion = class {
|
|
10
10
|
constructor(hostRef) {
|
|
11
11
|
index.registerInstance(this, hostRef);
|
|
12
12
|
this.items = [];
|