smoothly 0.1.113 → 0.1.116
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/{Notice-9c2b52b7.js → Notice-839702d8.js} +34 -26
- package/dist/cjs/{Trigger-74bd1ee8.js → Trigger-cf376531.js} +55 -146
- package/dist/cjs/{index-41a36ce2.js → index-1c61bdd3.js} +27 -1
- package/dist/cjs/index.cjs.js +20 -8
- package/dist/cjs/loader.cjs.js +3 -19
- package/dist/cjs/{smoothly-accordion_50.cjs.entry.js → smoothly-accordion_51.cjs.entry.js} +7698 -1491
- package/dist/cjs/smoothly-google-font.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-radio-group.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-reorder.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-trigger-sink.cjs.entry.js +5 -5
- package/dist/cjs/smoothly-trigger-source.cjs.entry.js +5 -5
- package/dist/cjs/smoothly.cjs.js +5 -113
- package/dist/collection/collection-manifest.json +3 -2
- package/dist/collection/components/app/style.css +6 -7
- package/dist/collection/components/app-demo/index.js +6 -1
- package/dist/collection/components/button/index.js +168 -0
- package/dist/collection/components/button/style.css +49 -0
- package/dist/collection/components/menu-options/style.css +2 -2
- package/dist/collection/components/picker/index.js +10 -6
- package/dist/collection/components/picker/style.css +14 -14
- package/dist/collection/components/selector/style.css +3 -3
- package/dist/collection/components/tab/style.css +3 -3
- package/dist/collection/components/table/header/style.css +5 -5
- package/dist/collection/components/trigger/style.css +3 -3
- package/dist/custom-elements/index.d.ts +6 -0
- package/dist/custom-elements/index.js +7785 -2974
- package/dist/esm/{Notice-4131b4e0.js → Notice-608b552c.js} +34 -26
- package/dist/esm/{Trigger-d7b181ec.js → Trigger-365408f0.js} +55 -146
- package/dist/esm/{index-dcb2b612.js → index-a3737440.js} +27 -1
- package/dist/esm/index.js +17 -4
- package/dist/esm/loader.js +3 -19
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/{smoothly-accordion_50.entry.js → smoothly-accordion_51.entry.js} +7698 -1492
- package/dist/esm/smoothly-google-font.entry.js +2 -2
- package/dist/esm/smoothly-radio-group.entry.js +2 -2
- package/dist/esm/smoothly-reorder.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.js +5 -113
- package/dist/smoothly/index.esm.js +1 -376
- package/dist/smoothly/p-0215b4da.entry.js +1 -0
- package/dist/smoothly/{p-074a0448.js → p-0cba3e3d.js} +1 -1
- package/dist/smoothly/p-4fa231df.entry.js +1 -0
- package/dist/smoothly/p-6ca0d36c.js +1 -0
- package/dist/smoothly/p-6f009ac9.entry.js +1 -0
- package/dist/smoothly/p-7a30d9b8.js +1 -0
- package/dist/smoothly/p-8ae38136.entry.js +1 -0
- package/dist/smoothly/p-993534fa.entry.js +1 -0
- package/dist/smoothly/p-eec1c703.entry.js +1 -0
- package/dist/smoothly/smoothly.esm.js +1 -125
- package/dist/types/components/button/index.d.ts +11 -0
- package/dist/types/components.d.ts +27 -0
- package/dist/types/stencil-public-runtime.d.ts +6 -4
- package/package.json +18 -18
- package/dist/cjs/App-339acc9b.js +0 -647
- package/dist/cjs/_commonjsHelpers-10109b76.js +0 -48
- package/dist/cjs/app-globals-3a1e7e63.js +0 -5
- package/dist/cjs/css-shim-88cc6900.js +0 -6
- package/dist/cjs/dom-95afd968.js +0 -75
- package/dist/cjs/generate-f9a36f25.js +0 -66
- package/dist/cjs/index-138c41c2.js +0 -3066
- package/dist/cjs/index-40d009d5.js +0 -1354
- package/dist/cjs/index-ac32385c.js +0 -18850
- package/dist/cjs/index-d66869d7.js +0 -1672
- package/dist/cjs/shadow-css-71d0f821.js +0 -391
- package/dist/cjs/smoothly-accordion-item.cjs.entry.js +0 -54
- package/dist/cjs/smoothly-accordion.cjs.entry.js +0 -55
- package/dist/cjs/smoothly-app-demo.cjs.entry.js +0 -29
- package/dist/cjs/smoothly-app.cjs.entry.js +0 -19
- package/dist/cjs/smoothly-backtotop.cjs.entry.js +0 -37
- package/dist/cjs/smoothly-calendar.cjs.entry.js +0 -95
- package/dist/cjs/smoothly-checkbox.cjs.entry.js +0 -18671
- package/dist/cjs/smoothly-dialog-demo.cjs.entry.js +0 -16
- package/dist/cjs/smoothly-dialog.cjs.entry.js +0 -38
- package/dist/cjs/smoothly-display-amount.cjs.entry.js +0 -59
- package/dist/cjs/smoothly-display-date-time.cjs.entry.js +0 -20
- package/dist/cjs/smoothly-display-demo.cjs.entry.js +0 -25
- package/dist/cjs/smoothly-display.cjs.entry.js +0 -41
- package/dist/cjs/smoothly-frame.cjs.entry.js +0 -50
- package/dist/cjs/smoothly-icon-demo.cjs.entry.js +0 -491
- package/dist/cjs/smoothly-icon.cjs.entry.js +0 -52
- package/dist/cjs/smoothly-input-date-range.cjs.entry.js +0 -50
- package/dist/cjs/smoothly-input-date.cjs.entry.js +0 -44
- package/dist/cjs/smoothly-input-demo.cjs.entry.js +0 -19
- package/dist/cjs/smoothly-input-month.cjs.entry.js +0 -41
- package/dist/cjs/smoothly-input.cjs.entry.js +0 -202
- package/dist/cjs/smoothly-item.cjs.entry.js +0 -43
- package/dist/cjs/smoothly-menu-options.cjs.entry.js +0 -108
- package/dist/cjs/smoothly-notification.cjs.entry.js +0 -67
- package/dist/cjs/smoothly-notifier.cjs.entry.js +0 -29
- package/dist/cjs/smoothly-option.cjs.entry.js +0 -33
- package/dist/cjs/smoothly-picker.cjs.entry.js +0 -151
- package/dist/cjs/smoothly-popup.cjs.entry.js +0 -38
- package/dist/cjs/smoothly-quiet.cjs.entry.js +0 -19
- package/dist/cjs/smoothly-radio.cjs.entry.js +0 -28
- package/dist/cjs/smoothly-room.cjs.entry.js +0 -16
- package/dist/cjs/smoothly-select-demo.cjs.entry.js +0 -86
- package/dist/cjs/smoothly-select.cjs.entry.js +0 -31
- package/dist/cjs/smoothly-selector.cjs.entry.js +0 -119
- package/dist/cjs/smoothly-skeleton.cjs.entry.js +0 -27
- package/dist/cjs/smoothly-spinner.cjs.entry.js +0 -24
- package/dist/cjs/smoothly-submit.cjs.entry.js +0 -60
- package/dist/cjs/smoothly-svg.cjs.entry.js +0 -41
- package/dist/cjs/smoothly-tab-switch.cjs.entry.js +0 -32
- package/dist/cjs/smoothly-tab.cjs.entry.js +0 -37
- package/dist/cjs/smoothly-table-cell.cjs.entry.js +0 -19
- package/dist/cjs/smoothly-table-demo.cjs.entry.js +0 -22
- package/dist/cjs/smoothly-table-expandable-cell.cjs.entry.js +0 -45
- package/dist/cjs/smoothly-table-expandable-row.cjs.entry.js +0 -32
- package/dist/cjs/smoothly-table-header.cjs.entry.js +0 -41
- package/dist/cjs/smoothly-table-row.cjs.entry.js +0 -38
- package/dist/cjs/smoothly-table.cjs.entry.js +0 -26
- package/dist/cjs/smoothly-trigger.cjs.entry.js +0 -36
- package/dist/cjs/smoothly-tuple.cjs.entry.js +0 -16
- package/dist/cjs/smoothly-urlencoded.cjs.entry.js +0 -19
- package/dist/esm/App-22187759.js +0 -645
- package/dist/esm/_commonjsHelpers-8fe71198.js +0 -44
- package/dist/esm/app-globals-0f993ce5.js +0 -3
- package/dist/esm/css-shim-c64026cd.js +0 -4
- package/dist/esm/dom-a712b575.js +0 -73
- package/dist/esm/generate-50b98474.js +0 -61
- package/dist/esm/index-02a70ac1.js +0 -3027
- package/dist/esm/index-401c6ce3.js +0 -1670
- package/dist/esm/index-a5a08f46.js +0 -18848
- package/dist/esm/index-c8b5d468.js +0 -1349
- package/dist/esm/shadow-css-1e16431b.js +0 -389
- package/dist/esm/smoothly-accordion-item.entry.js +0 -50
- package/dist/esm/smoothly-accordion.entry.js +0 -51
- package/dist/esm/smoothly-app-demo.entry.js +0 -25
- package/dist/esm/smoothly-app.entry.js +0 -15
- package/dist/esm/smoothly-backtotop.entry.js +0 -33
- package/dist/esm/smoothly-calendar.entry.js +0 -91
- package/dist/esm/smoothly-checkbox.entry.js +0 -18667
- package/dist/esm/smoothly-dialog-demo.entry.js +0 -12
- package/dist/esm/smoothly-dialog.entry.js +0 -34
- package/dist/esm/smoothly-display-amount.entry.js +0 -55
- package/dist/esm/smoothly-display-date-time.entry.js +0 -16
- package/dist/esm/smoothly-display-demo.entry.js +0 -21
- package/dist/esm/smoothly-display.entry.js +0 -37
- package/dist/esm/smoothly-frame.entry.js +0 -46
- package/dist/esm/smoothly-icon-demo.entry.js +0 -487
- package/dist/esm/smoothly-icon.entry.js +0 -48
- package/dist/esm/smoothly-input-date-range.entry.js +0 -46
- package/dist/esm/smoothly-input-date.entry.js +0 -40
- package/dist/esm/smoothly-input-demo.entry.js +0 -15
- package/dist/esm/smoothly-input-month.entry.js +0 -37
- package/dist/esm/smoothly-input.entry.js +0 -198
- package/dist/esm/smoothly-item.entry.js +0 -39
- package/dist/esm/smoothly-menu-options.entry.js +0 -104
- package/dist/esm/smoothly-notification.entry.js +0 -63
- package/dist/esm/smoothly-notifier.entry.js +0 -25
- package/dist/esm/smoothly-option.entry.js +0 -29
- package/dist/esm/smoothly-picker.entry.js +0 -147
- package/dist/esm/smoothly-popup.entry.js +0 -34
- package/dist/esm/smoothly-quiet.entry.js +0 -15
- package/dist/esm/smoothly-radio.entry.js +0 -24
- package/dist/esm/smoothly-room.entry.js +0 -12
- package/dist/esm/smoothly-select-demo.entry.js +0 -82
- package/dist/esm/smoothly-select.entry.js +0 -27
- package/dist/esm/smoothly-selector.entry.js +0 -115
- package/dist/esm/smoothly-skeleton.entry.js +0 -23
- package/dist/esm/smoothly-spinner.entry.js +0 -20
- package/dist/esm/smoothly-submit.entry.js +0 -56
- package/dist/esm/smoothly-svg.entry.js +0 -37
- package/dist/esm/smoothly-tab-switch.entry.js +0 -28
- package/dist/esm/smoothly-tab.entry.js +0 -33
- package/dist/esm/smoothly-table-cell.entry.js +0 -15
- package/dist/esm/smoothly-table-demo.entry.js +0 -18
- package/dist/esm/smoothly-table-expandable-cell.entry.js +0 -41
- package/dist/esm/smoothly-table-expandable-row.entry.js +0 -28
- package/dist/esm/smoothly-table-header.entry.js +0 -37
- package/dist/esm/smoothly-table-row.entry.js +0 -34
- package/dist/esm/smoothly-table.entry.js +0 -22
- package/dist/esm/smoothly-trigger.entry.js +0 -32
- package/dist/esm/smoothly-tuple.entry.js +0 -12
- package/dist/esm/smoothly-urlencoded.entry.js +0 -15
- package/dist/smoothly/App-22187759.js +0 -645
- package/dist/smoothly/GoogleFont-8474516b.js +0 -21
- package/dist/smoothly/_commonjsHelpers-8fe71198.js +0 -44
- package/dist/smoothly/app-globals-0f993ce5.js +0 -3
- package/dist/smoothly/css-shim-c64026cd.js +0 -4
- package/dist/smoothly/dom-a712b575.js +0 -73
- package/dist/smoothly/generate-50b98474.js +0 -61
- package/dist/smoothly/index-02a70ac1.js +0 -3027
- package/dist/smoothly/index-401c6ce3.js +0 -1670
- package/dist/smoothly/index-a5a08f46.js +0 -18848
- package/dist/smoothly/index-c8b5d468.js +0 -1349
- package/dist/smoothly/p-06aab261.entry.js +0 -1
- package/dist/smoothly/p-0c1e9588.entry.js +0 -1
- package/dist/smoothly/p-14232157.entry.js +0 -1
- package/dist/smoothly/p-19518931.js +0 -1
- package/dist/smoothly/p-22d4d5a7.entry.js +0 -1
- package/dist/smoothly/p-2cda1784.js +0 -1
- package/dist/smoothly/p-9fa3ab06.entry.js +0 -1
- package/dist/smoothly/p-b8a3e273.entry.js +0 -1
- package/dist/smoothly/shadow-css-1e16431b.js +0 -389
- package/dist/smoothly/smoothly-accordion-item.entry.js +0 -50
- package/dist/smoothly/smoothly-accordion.entry.js +0 -51
- package/dist/smoothly/smoothly-app-demo.entry.js +0 -25
- package/dist/smoothly/smoothly-app.entry.js +0 -15
- package/dist/smoothly/smoothly-backtotop.entry.js +0 -33
- package/dist/smoothly/smoothly-calendar.entry.js +0 -91
- package/dist/smoothly/smoothly-checkbox.entry.js +0 -18667
- package/dist/smoothly/smoothly-dialog-demo.entry.js +0 -12
- package/dist/smoothly/smoothly-dialog.entry.js +0 -34
- package/dist/smoothly/smoothly-display-amount.entry.js +0 -55
- package/dist/smoothly/smoothly-display-date-time.entry.js +0 -16
- package/dist/smoothly/smoothly-display-demo.entry.js +0 -21
- package/dist/smoothly/smoothly-display.entry.js +0 -37
- package/dist/smoothly/smoothly-frame.entry.js +0 -46
- package/dist/smoothly/smoothly-google-font.entry.js +0 -13
- package/dist/smoothly/smoothly-icon-demo.entry.js +0 -487
- package/dist/smoothly/smoothly-icon.entry.js +0 -48
- package/dist/smoothly/smoothly-input-date-range.entry.js +0 -46
- package/dist/smoothly/smoothly-input-date.entry.js +0 -40
- package/dist/smoothly/smoothly-input-demo.entry.js +0 -15
- package/dist/smoothly/smoothly-input-month.entry.js +0 -37
- package/dist/smoothly/smoothly-input.entry.js +0 -198
- package/dist/smoothly/smoothly-item.entry.js +0 -39
- package/dist/smoothly/smoothly-menu-options.entry.js +0 -104
- package/dist/smoothly/smoothly-notification.entry.js +0 -63
- package/dist/smoothly/smoothly-notifier.entry.js +0 -25
- package/dist/smoothly/smoothly-option.entry.js +0 -29
- package/dist/smoothly/smoothly-picker.entry.js +0 -147
- package/dist/smoothly/smoothly-popup.entry.js +0 -34
- package/dist/smoothly/smoothly-quiet.entry.js +0 -15
- package/dist/smoothly/smoothly-radio-group.entry.js +0 -16
- package/dist/smoothly/smoothly-radio.entry.js +0 -24
- package/dist/smoothly/smoothly-reorder.entry.js +0 -99
- package/dist/smoothly/smoothly-room.entry.js +0 -12
- package/dist/smoothly/smoothly-select-demo.entry.js +0 -82
- package/dist/smoothly/smoothly-select.entry.js +0 -27
- package/dist/smoothly/smoothly-selector.entry.js +0 -115
- package/dist/smoothly/smoothly-skeleton.entry.js +0 -23
- package/dist/smoothly/smoothly-spinner.entry.js +0 -20
- package/dist/smoothly/smoothly-submit.entry.js +0 -56
- package/dist/smoothly/smoothly-svg.entry.js +0 -37
- package/dist/smoothly/smoothly-tab-switch.entry.js +0 -28
- package/dist/smoothly/smoothly-tab.entry.js +0 -33
- package/dist/smoothly/smoothly-table-cell.entry.js +0 -15
- package/dist/smoothly/smoothly-table-demo.entry.js +0 -18
- package/dist/smoothly/smoothly-table-expandable-cell.entry.js +0 -41
- package/dist/smoothly/smoothly-table-expandable-row.entry.js +0 -28
- package/dist/smoothly/smoothly-table-header.entry.js +0 -37
- package/dist/smoothly/smoothly-table-row.entry.js +0 -34
- package/dist/smoothly/smoothly-table.entry.js +0 -22
- package/dist/smoothly/smoothly-trigger-sink.entry.js +0 -29
- package/dist/smoothly/smoothly-trigger-source.entry.js +0 -28
- package/dist/smoothly/smoothly-trigger.entry.js +0 -32
- package/dist/smoothly/smoothly-tuple.entry.js +0 -12
- package/dist/smoothly/smoothly-urlencoded.entry.js +0 -15
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
3
|
+
const index = require('./index-1c61bdd3.js');
|
|
4
4
|
|
|
5
5
|
const appendToMap = (map, propName, value) => {
|
|
6
6
|
const items = map.get(propName);
|
|
@@ -39,32 +39,33 @@ const cleanupElements = debounce((map) => {
|
|
|
39
39
|
map.set(key, map.get(key).filter(isConnected));
|
|
40
40
|
}
|
|
41
41
|
}, 2000);
|
|
42
|
-
const stencilSubscription = (
|
|
43
|
-
|
|
44
|
-
if (typeof index.getRenderingRef === 'function') {
|
|
42
|
+
const stencilSubscription = () => {
|
|
43
|
+
if (typeof index.getRenderingRef !== 'function') {
|
|
45
44
|
// If we are not in a stencil project, we do nothing.
|
|
46
45
|
// This function is not really exported by @stencil/core.
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
46
|
+
return {};
|
|
47
|
+
}
|
|
48
|
+
const elmsToUpdate = new Map();
|
|
49
|
+
return {
|
|
50
|
+
dispose: () => elmsToUpdate.clear(),
|
|
51
|
+
get: (propName) => {
|
|
51
52
|
const elm = index.getRenderingRef();
|
|
52
53
|
if (elm) {
|
|
53
54
|
appendToMap(elmsToUpdate, propName, elm);
|
|
54
55
|
}
|
|
55
|
-
}
|
|
56
|
-
|
|
56
|
+
},
|
|
57
|
+
set: (propName) => {
|
|
57
58
|
const elements = elmsToUpdate.get(propName);
|
|
58
59
|
if (elements) {
|
|
59
60
|
elmsToUpdate.set(propName, elements.filter(index.forceUpdate));
|
|
60
61
|
}
|
|
61
62
|
cleanupElements(elmsToUpdate);
|
|
62
|
-
}
|
|
63
|
-
|
|
63
|
+
},
|
|
64
|
+
reset: () => {
|
|
64
65
|
elmsToUpdate.forEach((elms) => elms.forEach(index.forceUpdate));
|
|
65
66
|
cleanupElements(elmsToUpdate);
|
|
66
|
-
}
|
|
67
|
-
}
|
|
67
|
+
},
|
|
68
|
+
};
|
|
68
69
|
};
|
|
69
70
|
|
|
70
71
|
const createObservableMap = (defaultState, shouldUpdate = (a, b) => a !== b) => {
|
|
@@ -137,17 +138,24 @@ const createObservableMap = (defaultState, shouldUpdate = (a, b) => a !== b) =>
|
|
|
137
138
|
unReset();
|
|
138
139
|
};
|
|
139
140
|
};
|
|
140
|
-
const use = (...subscriptions) =>
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
141
|
+
const use = (...subscriptions) => {
|
|
142
|
+
const unsubs = subscriptions.reduce((unsubs, subscription) => {
|
|
143
|
+
if (subscription.set) {
|
|
144
|
+
unsubs.push(on('set', subscription.set));
|
|
145
|
+
}
|
|
146
|
+
if (subscription.get) {
|
|
147
|
+
unsubs.push(on('get', subscription.get));
|
|
148
|
+
}
|
|
149
|
+
if (subscription.reset) {
|
|
150
|
+
unsubs.push(on('reset', subscription.reset));
|
|
151
|
+
}
|
|
152
|
+
if (subscription.dispose) {
|
|
153
|
+
unsubs.push(on('dispose', subscription.dispose));
|
|
154
|
+
}
|
|
155
|
+
return unsubs;
|
|
156
|
+
}, []);
|
|
157
|
+
return () => unsubs.forEach((unsub) => unsub());
|
|
158
|
+
};
|
|
151
159
|
const forceUpdate = (key) => {
|
|
152
160
|
const oldValue = states.get(key);
|
|
153
161
|
handlers.set.forEach((cb) => cb(key, oldValue, oldValue));
|
|
@@ -174,7 +182,7 @@ const removeFromArray = (array, item) => {
|
|
|
174
182
|
|
|
175
183
|
const createStore = (defaultState, shouldUpdate) => {
|
|
176
184
|
const map = createObservableMap(defaultState, shouldUpdate);
|
|
177
|
-
stencilSubscription(
|
|
185
|
+
map.use(stencilSubscription());
|
|
178
186
|
return map;
|
|
179
187
|
};
|
|
180
188
|
|
|
@@ -52,6 +52,30 @@ const crypto = typeof window != "undefined"
|
|
|
52
52
|
? window.crypto || window.msCrypto
|
|
53
53
|
: self.crypto || self.msCrypto;
|
|
54
54
|
|
|
55
|
+
var Algorithms;
|
|
56
|
+
(function (Algorithms) {
|
|
57
|
+
function create(create, current, ...secrets) {
|
|
58
|
+
const [first, ...remainder] = isStringArray(secrets)
|
|
59
|
+
? secrets.map(part => Object.fromEntries(part.split(",").map(secret => secret.split(":", 2).map(item => item.trim()))))
|
|
60
|
+
: secrets;
|
|
61
|
+
const result = Object.assign({}, ...Object.entries(first)
|
|
62
|
+
.map(([name, secret]) => [
|
|
63
|
+
name,
|
|
64
|
+
[secret, ...remainder.map(part => part[name]).filter(part => part)],
|
|
65
|
+
])
|
|
66
|
+
.map(([name, secrets]) => ({
|
|
67
|
+
get [name]() {
|
|
68
|
+
return Object.assign(create(secrets), { name });
|
|
69
|
+
},
|
|
70
|
+
})));
|
|
71
|
+
return { current: result[current], ...result };
|
|
72
|
+
}
|
|
73
|
+
Algorithms.create = create;
|
|
74
|
+
})(Algorithms || (Algorithms = {}));
|
|
75
|
+
function isStringArray(value) {
|
|
76
|
+
return Array.isArray(value) && value.length > 0 && typeof value[0] == "string";
|
|
77
|
+
}
|
|
78
|
+
|
|
55
79
|
var Encrypted;
|
|
56
80
|
(function (Encrypted) {
|
|
57
81
|
function is(value) {
|
|
@@ -130,38 +154,8 @@ exports.Identifier = void 0;
|
|
|
130
154
|
}
|
|
131
155
|
Identifier.toHexadecimal = toHexadecimal;
|
|
132
156
|
Identifier.length = [
|
|
133
|
-
4,
|
|
134
|
-
|
|
135
|
-
12,
|
|
136
|
-
16,
|
|
137
|
-
20,
|
|
138
|
-
24,
|
|
139
|
-
28,
|
|
140
|
-
32,
|
|
141
|
-
36,
|
|
142
|
-
40,
|
|
143
|
-
44,
|
|
144
|
-
48,
|
|
145
|
-
52,
|
|
146
|
-
56,
|
|
147
|
-
60,
|
|
148
|
-
64,
|
|
149
|
-
68,
|
|
150
|
-
72,
|
|
151
|
-
76,
|
|
152
|
-
80,
|
|
153
|
-
84,
|
|
154
|
-
88,
|
|
155
|
-
92,
|
|
156
|
-
96,
|
|
157
|
-
100,
|
|
158
|
-
104,
|
|
159
|
-
108,
|
|
160
|
-
112,
|
|
161
|
-
116,
|
|
162
|
-
120,
|
|
163
|
-
124,
|
|
164
|
-
128,
|
|
157
|
+
4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 48, 52, 56, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 104, 108, 112,
|
|
158
|
+
116, 120, 124, 128,
|
|
165
159
|
];
|
|
166
160
|
(function (Length) {
|
|
167
161
|
function is(value) {
|
|
@@ -171,15 +165,6 @@ exports.Identifier = void 0;
|
|
|
171
165
|
})(Identifier.Length || (Identifier.Length = {}));
|
|
172
166
|
})(exports.Identifier || (exports.Identifier = {}));
|
|
173
167
|
|
|
174
|
-
var __awaiter$7 = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
175
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
176
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
177
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
178
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
179
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
180
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
181
|
-
});
|
|
182
|
-
};
|
|
183
168
|
var Password;
|
|
184
169
|
(function (Password) {
|
|
185
170
|
function is(value) {
|
|
@@ -187,21 +172,17 @@ var Password;
|
|
|
187
172
|
(typeof value == "object" && typeof value.hash == "string" && typeof value.salt == "string"));
|
|
188
173
|
}
|
|
189
174
|
Password.is = is;
|
|
190
|
-
function hash(algorithm, password, salt) {
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
};
|
|
198
|
-
});
|
|
175
|
+
async function hash(algorithm, password, salt) {
|
|
176
|
+
if (!salt)
|
|
177
|
+
salt = encode(crypto.getRandomValues(new Uint8Array(64)));
|
|
178
|
+
return {
|
|
179
|
+
hash: await algorithm.sign(salt + password),
|
|
180
|
+
salt,
|
|
181
|
+
};
|
|
199
182
|
}
|
|
200
183
|
Password.hash = hash;
|
|
201
|
-
function verify(algorithm, hash, password) {
|
|
202
|
-
return
|
|
203
|
-
return (yield Password.hash(algorithm, password, hash.salt)).hash == hash.hash;
|
|
204
|
-
});
|
|
184
|
+
async function verify(algorithm, hash, password) {
|
|
185
|
+
return (await Password.hash(algorithm, password, hash.salt)).hash == hash.hash;
|
|
205
186
|
}
|
|
206
187
|
Password.verify = verify;
|
|
207
188
|
(function (Hashed) {
|
|
@@ -228,22 +209,11 @@ var Algorithm$1;
|
|
|
228
209
|
Algorithm.is = is;
|
|
229
210
|
})(Algorithm$1 || (Algorithm$1 = {}));
|
|
230
211
|
|
|
231
|
-
var __awaiter$6 = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
232
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
233
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
234
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
235
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
236
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
237
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
238
|
-
});
|
|
239
|
-
};
|
|
240
212
|
class Base {
|
|
241
|
-
sign(data) {
|
|
242
|
-
return
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
: this.signBinary(data);
|
|
246
|
-
});
|
|
213
|
+
async sign(data) {
|
|
214
|
+
return typeof data == "string"
|
|
215
|
+
? encode(await this.signBinary(new TextEncoder().encode(data)), "url")
|
|
216
|
+
: this.signBinary(data);
|
|
247
217
|
}
|
|
248
218
|
verify(data, signature) {
|
|
249
219
|
if (typeof signature == "string")
|
|
@@ -254,15 +224,6 @@ class Base {
|
|
|
254
224
|
}
|
|
255
225
|
}
|
|
256
226
|
|
|
257
|
-
var __awaiter$5 = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
258
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
259
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
260
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
261
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
262
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
263
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
264
|
-
});
|
|
265
|
-
};
|
|
266
227
|
class ECDSA extends Base {
|
|
267
228
|
constructor(hash, publicKey, privateKey) {
|
|
268
229
|
super();
|
|
@@ -278,15 +239,11 @@ class ECDSA extends Base {
|
|
|
278
239
|
this.privateKey = crypto.subtle.importKey("pkcs8", privateKey, { name: "ECDSA", namedCurve: hash.replace("SHA", "P") == "P-512" ? "P-521" : hash.replace("SHA", "P") }, true, ["sign", "verify"]);
|
|
279
240
|
}
|
|
280
241
|
}
|
|
281
|
-
signBinary(data) {
|
|
282
|
-
return
|
|
283
|
-
return new Uint8Array(yield crypto.subtle.sign({ name: "ECDSA", hash: { name: this.hash } }, yield this.privateKey, data));
|
|
284
|
-
});
|
|
242
|
+
async signBinary(data) {
|
|
243
|
+
return new Uint8Array(await crypto.subtle.sign({ name: "ECDSA", hash: { name: this.hash } }, await this.privateKey, data));
|
|
285
244
|
}
|
|
286
|
-
verifyBinary(data, signature) {
|
|
287
|
-
return
|
|
288
|
-
return crypto.subtle.verify({ name: "ECDSA", hash: { name: this.hash } }, yield this.publicKey, signature, data);
|
|
289
|
-
});
|
|
245
|
+
async verifyBinary(data, signature) {
|
|
246
|
+
return crypto.subtle.verify({ name: "ECDSA", hash: { name: this.hash } }, await this.publicKey, signature, data);
|
|
290
247
|
}
|
|
291
248
|
}
|
|
292
249
|
|
|
@@ -298,32 +255,12 @@ var Hash;
|
|
|
298
255
|
Hash.is = is;
|
|
299
256
|
})(Hash || (Hash = {}));
|
|
300
257
|
|
|
301
|
-
var __awaiter$4 = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
302
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
303
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
304
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
305
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
306
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
307
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
308
|
-
});
|
|
309
|
-
};
|
|
310
258
|
class Symmetric$1 extends Base {
|
|
311
|
-
verifyBinary(data, signature) {
|
|
312
|
-
return
|
|
313
|
-
return encode(yield this.signBinary(data), "url") == encode(signature, "url");
|
|
314
|
-
});
|
|
259
|
+
async verifyBinary(data, signature) {
|
|
260
|
+
return encode(await this.signBinary(data), "url") == encode(signature, "url");
|
|
315
261
|
}
|
|
316
262
|
}
|
|
317
263
|
|
|
318
|
-
var __awaiter$3 = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
319
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
320
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
321
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
322
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
323
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
324
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
325
|
-
});
|
|
326
|
-
};
|
|
327
264
|
class HMAC extends Symmetric$1 {
|
|
328
265
|
constructor(hash, key) {
|
|
329
266
|
super();
|
|
@@ -332,10 +269,8 @@ class HMAC extends Symmetric$1 {
|
|
|
332
269
|
key = decode(key, "url");
|
|
333
270
|
this.key = crypto.subtle.importKey("raw", key, { name: "HMAC", hash: { name: hash } }, false, ["sign", "verify"]);
|
|
334
271
|
}
|
|
335
|
-
signBinary(data) {
|
|
336
|
-
return
|
|
337
|
-
return new Uint8Array(yield crypto.subtle.sign("HMAC", yield this.key, data));
|
|
338
|
-
});
|
|
272
|
+
async signBinary(data) {
|
|
273
|
+
return new Uint8Array(await crypto.subtle.sign("HMAC", await this.key, data));
|
|
339
274
|
}
|
|
340
275
|
}
|
|
341
276
|
|
|
@@ -345,15 +280,6 @@ class None extends Symmetric$1 {
|
|
|
345
280
|
}
|
|
346
281
|
}
|
|
347
282
|
|
|
348
|
-
var __awaiter$2 = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
349
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
350
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
351
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
352
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
353
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
354
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
355
|
-
});
|
|
356
|
-
};
|
|
357
283
|
class RSA extends Base {
|
|
358
284
|
constructor(hash, publicKey, privateKey) {
|
|
359
285
|
super();
|
|
@@ -369,27 +295,14 @@ class RSA extends Base {
|
|
|
369
295
|
this.privateKey = crypto.subtle.importKey("pkcs8", privateKey, { name: "RSASSA-PKCS1-v1_5", hash: { name: hash } }, true, ["sign"]);
|
|
370
296
|
}
|
|
371
297
|
}
|
|
372
|
-
signBinary(data) {
|
|
373
|
-
return
|
|
374
|
-
return new Uint8Array(yield crypto.subtle.sign("RSASSA-PKCS1-v1_5", yield this.privateKey, data));
|
|
375
|
-
});
|
|
298
|
+
async signBinary(data) {
|
|
299
|
+
return new Uint8Array(await crypto.subtle.sign("RSASSA-PKCS1-v1_5", await this.privateKey, data));
|
|
376
300
|
}
|
|
377
|
-
verifyBinary(data, signature) {
|
|
378
|
-
return
|
|
379
|
-
return crypto.subtle.verify("RSASSA-PKCS1-v1_5", yield this.publicKey, signature, data);
|
|
380
|
-
});
|
|
301
|
+
async verifyBinary(data, signature) {
|
|
302
|
+
return crypto.subtle.verify("RSASSA-PKCS1-v1_5", await this.publicKey, signature, data);
|
|
381
303
|
}
|
|
382
304
|
}
|
|
383
305
|
|
|
384
|
-
var __awaiter$1 = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
385
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
386
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
387
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
388
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
389
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
390
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
391
|
-
});
|
|
392
|
-
};
|
|
393
306
|
class RSAPSS extends Base {
|
|
394
307
|
constructor(hash, publicKey, privateKey) {
|
|
395
308
|
super();
|
|
@@ -410,15 +323,11 @@ class RSAPSS extends Base {
|
|
|
410
323
|
]);
|
|
411
324
|
}
|
|
412
325
|
}
|
|
413
|
-
signBinary(data) {
|
|
414
|
-
return
|
|
415
|
-
return new Uint8Array(yield crypto.subtle.sign({ name: "RSA-PSS", saltLength: 128 }, yield this.privateKey, data));
|
|
416
|
-
});
|
|
326
|
+
async signBinary(data) {
|
|
327
|
+
return new Uint8Array(await crypto.subtle.sign({ name: "RSA-PSS", saltLength: 128 }, await this.privateKey, data));
|
|
417
328
|
}
|
|
418
|
-
verifyBinary(data, signature) {
|
|
419
|
-
return
|
|
420
|
-
return crypto.subtle.verify({ name: "RSA-PSS", saltLength: 128 }, yield this.publicKey, signature, data);
|
|
421
|
-
});
|
|
329
|
+
async verifyBinary(data, signature) {
|
|
330
|
+
return crypto.subtle.verify({ name: "RSA-PSS", saltLength: 128 }, await this.publicKey, signature, data);
|
|
422
331
|
}
|
|
423
332
|
}
|
|
424
333
|
|
|
@@ -1269,6 +1269,29 @@ const then = (promise, thenFn) => {
|
|
|
1269
1269
|
};
|
|
1270
1270
|
const addHydratedFlag = (elm) => elm.classList.add('hydrated')
|
|
1271
1271
|
;
|
|
1272
|
+
/**
|
|
1273
|
+
* Parse a new property value for a given property type.
|
|
1274
|
+
*
|
|
1275
|
+
* While the prop value can reasonably be expected to be of `any` type as far as TypeScript's type checker is concerned,
|
|
1276
|
+
* it is not safe to assume that the string returned by evaluating `typeof propValue` matches:
|
|
1277
|
+
* 1. `any`, the type given to `propValue` in the function signature
|
|
1278
|
+
* 2. the type stored from `propType`.
|
|
1279
|
+
*
|
|
1280
|
+
* This function provides the capability to parse/coerce a property's value to potentially any other JavaScript type.
|
|
1281
|
+
*
|
|
1282
|
+
* Property values represented in TSX preserve their type information. In the example below, the number 0 is passed to
|
|
1283
|
+
* a component. This `propValue` will preserve its type information (`typeof propValue === 'number'`). Note that is
|
|
1284
|
+
* based on the type of the value being passed in, not the type declared of the class member decorated with `@Prop`.
|
|
1285
|
+
* ```tsx
|
|
1286
|
+
* <my-cmp prop-val={0}></my-cmp>
|
|
1287
|
+
* ```
|
|
1288
|
+
*
|
|
1289
|
+
* HTML prop values on the other hand, will always a string
|
|
1290
|
+
*
|
|
1291
|
+
* @param propValue the new value to coerce to some type
|
|
1292
|
+
* @param propType the type of the prop, expressed as a binary number
|
|
1293
|
+
* @returns the parsed/coerced value
|
|
1294
|
+
*/
|
|
1272
1295
|
const parsePropertyValue = (propValue, propType) => {
|
|
1273
1296
|
// ensure this value is of the correct prop type
|
|
1274
1297
|
if (propValue != null && !isComplexType(propValue)) {
|
|
@@ -1302,7 +1325,10 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
1302
1325
|
const flags = hostRef.$flags$;
|
|
1303
1326
|
const instance = hostRef.$lazyInstance$ ;
|
|
1304
1327
|
newVal = parsePropertyValue(newVal, cmpMeta.$members$[propName][0]);
|
|
1305
|
-
|
|
1328
|
+
// explicitly check for NaN on both sides, as `NaN === NaN` is always false
|
|
1329
|
+
const areBothNaN = Number.isNaN(oldVal) && Number.isNaN(newVal);
|
|
1330
|
+
const didValueChange = newVal !== oldVal && !areBothNaN;
|
|
1331
|
+
if ((!(flags & 8 /* isConstructingInstance */) || oldVal === undefined) && didValueChange) {
|
|
1306
1332
|
// gadzooks! the property's value has changed!!
|
|
1307
1333
|
// set our new value!
|
|
1308
1334
|
hostRef.$instanceValues$.set(propName, newVal);
|
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -2,10 +2,22 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const
|
|
6
|
-
const
|
|
5
|
+
const Notice = require('./Notice-839702d8.js');
|
|
6
|
+
const Trigger = require('./Trigger-cf376531.js');
|
|
7
7
|
const GoogleFont = require('./GoogleFont-6c4f0da1.js');
|
|
8
|
-
require('./index-
|
|
8
|
+
require('./index-1c61bdd3.js');
|
|
9
|
+
|
|
10
|
+
class ClientIdentifier {
|
|
11
|
+
constructor() { }
|
|
12
|
+
static get value() {
|
|
13
|
+
ClientIdentifier.valueCache = localStorage.getItem("clientIdentifier") || undefined;
|
|
14
|
+
if (!ClientIdentifier.valueCache) {
|
|
15
|
+
ClientIdentifier.valueCache = Trigger.Identifier.generate(12);
|
|
16
|
+
localStorage.setItem("clientIdentifier", ClientIdentifier.valueCache);
|
|
17
|
+
}
|
|
18
|
+
return ClientIdentifier.valueCache;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
9
21
|
|
|
10
22
|
var Hex;
|
|
11
23
|
(function (Hex) {
|
|
@@ -377,14 +389,14 @@ exports.Cosmetic = void 0;
|
|
|
377
389
|
Cosmetic.Color = Color;
|
|
378
390
|
})(exports.Cosmetic || (exports.Cosmetic = {}));
|
|
379
391
|
|
|
380
|
-
exports.App =
|
|
381
|
-
exports.
|
|
382
|
-
exports.Message =
|
|
383
|
-
exports.
|
|
384
|
-
exports.Trigger = index.Trigger;
|
|
392
|
+
exports.App = Notice.App;
|
|
393
|
+
exports.Notice = Notice.Notice;
|
|
394
|
+
exports.Message = Trigger.Message;
|
|
395
|
+
exports.Trigger = Trigger.Trigger;
|
|
385
396
|
Object.defineProperty(exports, 'GoogleFont', {
|
|
386
397
|
enumerable: true,
|
|
387
398
|
get: function () {
|
|
388
399
|
return GoogleFont.GoogleFont;
|
|
389
400
|
}
|
|
390
401
|
});
|
|
402
|
+
exports.ClientIdentifier = ClientIdentifier;
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -2,35 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
5
|
+
const index = require('./index-1c61bdd3.js');
|
|
7
6
|
|
|
8
7
|
/*
|
|
9
|
-
Stencil Client Patch Esm v2.
|
|
8
|
+
Stencil Client Patch Esm v2.15.2 | MIT Licensed | https://stenciljs.com
|
|
10
9
|
*/
|
|
11
10
|
const patchEsm = () => {
|
|
12
|
-
// NOTE!! This fn cannot use async/await!
|
|
13
|
-
// @ts-ignore
|
|
14
|
-
if (index.BUILD.cssVarShim && !(index.CSS && index.CSS.supports && index.CSS.supports('color', 'var(--c)'))) {
|
|
15
|
-
// @ts-ignore
|
|
16
|
-
return Promise.resolve().then(function () { return require(/* webpackChunkName: "polyfills-css-shim" */ './css-shim-88cc6900.js'); }).then(() => {
|
|
17
|
-
if ((index.plt.$cssShim$ = index.win.__cssshim)) {
|
|
18
|
-
return index.plt.$cssShim$.i();
|
|
19
|
-
}
|
|
20
|
-
else {
|
|
21
|
-
// for better minification
|
|
22
|
-
return 0;
|
|
23
|
-
}
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
11
|
return index.promiseResolve();
|
|
27
12
|
};
|
|
28
13
|
|
|
29
14
|
const defineCustomElements = (win, options) => {
|
|
30
15
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
31
16
|
return patchEsm().then(() => {
|
|
32
|
-
|
|
33
|
-
return index.bootstrapLazy([["smoothly-app-demo.cjs",[[0,"smoothly-app-demo",{"baseUrl":[1,"base-url"]}]]],["smoothly-google-font.cjs",[[2,"smoothly-google-font",{"value":[1]}]]],["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-display-demo.cjs",[[0,"smoothly-display-demo"]]],["smoothly-table-demo.cjs",[[2,"smoothly-table-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],"max":[1025],"min":[1025],"open":[1028],"showLabel":[516,"show-label"]},[[0,"startChanged","onStartChanged"],[0,"endChanged","onEndChanged"],[0,"dateRangeSet","onDateRangeSet"]]]]],["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"],"selectionName":[1025,"selection-name"],"isOpen":[32]},[[0,"optionSelect","optionSelectHander"]]]]],["smoothly-dialog.cjs",[[6,"smoothly-dialog",{"color":[513],"open":[1540],"closable":[516],"header":[513]},[[0,"trigger","TriggerListener"]]]]],["smoothly-backtotop.cjs",[[2,"smoothly-backtotop",{"opacity":[1],"bottom":[1],"right":[1],"visible":[32]}]]],["smoothly-checkbox.cjs",[[2,"smoothly-checkbox",{"selectAll":[4,"select-all"],"size":[1],"intermediate":[1540],"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-skeleton.cjs",[[2,"smoothly-skeleton",{"widths":[16],"width":[1],"color":[1],"period":[2],"distance":[1],"align":[513]}]]],["smoothly-svg.cjs",[[2,"smoothly-svg",{"url":[513],"size":[513],"color":[1]}]]],["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-input-date.cjs",[[6,"smoothly-input-date",{"value":[1025],"open":[1028],"max":[1025],"min":[1025],"disabled":[1028]},[[0,"dateSet","dateSetHandler"]]]]],["smoothly-notification.cjs",[[2,"smoothly-notification",{"notice":[16],"tick":[32]},[[0,"trigger","onTrigger"]]]]],["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-tuple.cjs",[[0,"smoothly-tuple",{"tuple":[16]}]]],["smoothly-option.cjs",[[1,"smoothly-option",{"aliases":[513],"dataHighlight":[1540,"data-highlight"],"name":[1537],"value":[1537],"divider":[1540]}]]],["smoothly-spinner.cjs",[[2,"smoothly-spinner",{"active":[516],"size":[513]}]]],["smoothly-selector.cjs",[[6,"smoothly-selector",{"opened":[32],"selectedElement":[32],"missing":[32],"filter":[32]},[[0,"click","onClick"],[0,"itemSelected","onItemSelected"],[0,"keydown","onKeyDown"]]]]],["smoothly-item.cjs",[[6,"smoothly-item",{"value":[8],"selected":[1540],"filter":[64]},[[0,"click","onClick"]]]]],["smoothly-calendar.cjs",[[2,"smoothly-calendar",{"month":[1025],"value":[1025],"start":[1025],"end":[1025],"max":[1025],"min":[1025],"doubleInput":[516,"double-input"],"firstSelected":[32]}]]],["smoothly-input.cjs",[[6,"smoothly-input",{"name":[513],"value":[1032],"type":[513],"required":[1540],"minLength":[1026,"min-length"],"showLabel":[516,"show-label"],"maxLength":[1026,"max-length"],"autocomplete":[1028],"pattern":[1040],"placeholder":[1025],"disabled":[1028],"currency":[513],"getFormData":[64],"setKeepFocusOnReRender":[64],"setSelectionRange":[64]}]]],["smoothly-input-month.cjs",[[2,"smoothly-input-month",{"value":[1025]}]]],["smoothly-trigger.cjs",[[6,"smoothly-trigger",{"color":[513],"expand":[513],"fill":[513],"disabled":[516],"type":[513],"name":[1],"value":[8]},[[0,"click","onClick"]]]]]], options);
|
|
17
|
+
return index.bootstrapLazy([["smoothly-google-font.cjs",[[2,"smoothly-google-font",{"value":[1]}]]],["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-accordion_51.cjs",[[0,"smoothly-app-demo",{"baseUrl":[1,"base-url"]}],[0,"smoothly-input-demo"],[2,"smoothly-select-demo",null,[[0,"selectionChanged","handleSelectionChanged"]]],[0,"smoothly-display-demo"],[2,"smoothly-table-demo"],[4,"smoothly-app",{"color":[1]}],[0,"smoothly-dialog-demo"],[2,"smoothly-icon-demo"],[6,"smoothly-button",{"color":[513],"expand":[513],"fill":[513],"disabled":[516],"type":[513],"link":[1],"download":[4]}],[4,"smoothly-room",{"label":[1],"icon":[1],"path":[1],"to":[1]}],[2,"smoothly-input-date-range",{"value":[1025],"start":[1025],"end":[1025],"max":[1025],"min":[1025],"open":[1028],"showLabel":[516,"show-label"]},[[0,"startChanged","onStartChanged"],[0,"endChanged","onEndChanged"],[0,"dateRangeSet","onDateRangeSet"]]],[6,"smoothly-notifier",{"notices":[32]},[[0,"notice","onNotice"],[0,"remove","onRemove"]]],[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"],"selectionName":[1025,"selection-name"],"isOpen":[32]},[[0,"optionSelect","optionSelectHander"]]],[6,"smoothly-dialog",{"color":[513],"open":[1540],"closable":[516],"header":[513]},[[0,"trigger","TriggerListener"]]],[2,"smoothly-backtotop",{"opacity":[1],"bottom":[1],"right":[1],"visible":[32]}],[2,"smoothly-checkbox",{"selectAll":[4,"select-all"],"size":[1],"intermediate":[1540],"selected":[1540],"disabled":[1540],"t":[32]}],[6,"smoothly-submit",{"processing":[1540],"color":[513],"expand":[513],"fill":[513],"disabled":[516],"prevent":[4],"submit":[64]},[[0,"click","handleSubmit"]]],[0,"smoothly-urlencoded",{"data":[1]}],[6,"smoothly-accordion",{"value":[1025]},[[0,"smoothlyOpen","handleOpenClose"],[0,"smoothlyClose","handleOpenClose"],[0,"smoothlyAccordionItemDidLoad","onAccordionItemDidLoad"],[0,"smoothlyAccordionItemDidUnload","onAccordionItemDidUnload"]]],[6,"smoothly-accordion-item",{"name":[1],"brand":[1],"open":[1540]}],[2,"smoothly-display-amount",{"amount":[8],"currency":[1]}],[2,"smoothly-frame",{"url":[1],"name":[1],"origin":[1],"send":[64]}],[6,"smoothly-popup",{"visible":[1540],"direction":[1537],"cssVariables":[32]}],[6,"smoothly-quiet",{"color":[1]}],[6,"smoothly-radio",{"name":[1],"value":[1],"checked":[1540],"tabIndex":[2,"tab-index"]}],[6,"smoothly-select",{"identifier":[1],"background":[513],"value":[1025]}],[2,"smoothly-skeleton",{"widths":[16],"width":[1],"color":[1],"period":[2],"distance":[1],"align":[513]}],[2,"smoothly-svg",{"url":[513],"size":[513],"color":[1]}],[6,"smoothly-tab",{"label":[1],"open":[1540]},[[0,"click","onClick"]]],[6,"smoothly-tab-switch",{"selectedElement":[32]},[[0,"expansionOpen","openChanged"]]],[6,"smoothly-table",null,[[0,"sort","onSort"]]],[6,"smoothly-table-cell"],[6,"smoothly-table-expandable-cell",{"align":[1],"open":[1540],"beginOpen":[32]},[[0,"click","onClick"]]],[6,"smoothly-table-expandable-row",null,[[0,"expansionLoaded","onExpansionLoaded"],[0,"expansionOpen","onDetailsLoaded"]]],[6,"smoothly-table-header",{"name":[1],"sortDirection":[1025,"sort-direction"]},[[0,"click","onClick"]]],[6,"smoothly-table-row",{"align":[1],"open":[1540],"beginOpen":[32]},[[0,"click","onClick"]]],[6,"smoothly-input-date",{"value":[1025],"open":[1028],"max":[1025],"min":[1025],"disabled":[1028]},[[0,"dateSet","dateSetHandler"]]],[2,"smoothly-notification",{"notice":[16],"tick":[32]},[[0,"trigger","onTrigger"]]],[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"]]],[2,"smoothly-display",{"type":[1],"value":[8],"currency":[1],"country":[1]}],[2,"smoothly-display-date-time",{"datetime":[1]}],[0,"smoothly-tuple",{"tuple":[16]}],[1,"smoothly-option",{"aliases":[513],"dataHighlight":[1540,"data-highlight"],"name":[1537],"value":[1537],"divider":[1540]}],[2,"smoothly-spinner",{"active":[516],"size":[513]}],[2,"smoothly-calendar",{"month":[1025],"value":[1025],"start":[1025],"end":[1025],"max":[1025],"min":[1025],"doubleInput":[516,"double-input"],"firstSelected":[32]}],[6,"smoothly-input",{"name":[513],"value":[1032],"type":[513],"required":[1540],"minLength":[1026,"min-length"],"showLabel":[516,"show-label"],"maxLength":[1026,"max-length"],"autocomplete":[1028],"pattern":[1040],"placeholder":[1025],"disabled":[1028],"currency":[513],"getFormData":[64],"setKeepFocusOnReRender":[64],"setSelectionRange":[64]}],[2,"smoothly-input-month",{"value":[1025]}],[6,"smoothly-selector",{"opened":[32],"selectedElement":[32],"missing":[32],"filter":[32]},[[0,"click","onClick"],[0,"itemSelected","onItemSelected"],[0,"keydown","onKeyDown"]]],[6,"smoothly-item",{"value":[8],"selected":[1540],"filter":[64]},[[0,"click","onClick"]]],[6,"smoothly-trigger",{"color":[513],"expand":[513],"fill":[513],"disabled":[516],"type":[513],"name":[1],"value":[8]},[[0,"click","onClick"]]],[2,"smoothly-icon",{"color":[513],"fill":[513],"name":[1],"size":[513],"toolTip":[1,"tool-tip"],"document":[32]}]]]], options);
|
|
34
18
|
});
|
|
35
19
|
};
|
|
36
20
|
|