smoothly 0.1.114 → 0.1.117
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} +7694 -1488
- 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 +5 -4
- 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/{exandable → expandable}/cell/index.js +0 -0
- package/dist/collection/components/table/{exandable → expandable}/cell/style.css +0 -0
- package/dist/collection/components/table/{exandable → expandable}/row/index.js +0 -0
- package/dist/collection/components/table/{exandable → expandable}/row/style.css +0 -0
- 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 +7781 -2971
- 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} +7694 -1489
- 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/table/{exandable → expandable}/cell/index.d.ts +0 -0
- package/dist/types/components/table/{exandable → expandable}/row/index.d.ts +0 -0
- package/dist/types/components.d.ts +27 -0
- package/dist/types/stencil-public-runtime.d.ts +6 -4
- package/package.json +17 -17
- 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-36da3c23.js +0 -1673
- package/dist/cjs/index-40d009d5.js +0 -1354
- package/dist/cjs/index-ac32385c.js +0 -18850
- 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-a5a08f46.js +0 -18848
- package/dist/esm/index-c8b5d468.js +0 -1349
- package/dist/esm/index-d1360bcf.js +0 -1671
- 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-a5a08f46.js +0 -18848
- package/dist/smoothly/index-c8b5d468.js +0 -1349
- package/dist/smoothly/index-d1360bcf.js +0 -1671
- package/dist/smoothly/p-0bad2c46.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,487 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-02a70ac1.js';
|
|
2
|
-
|
|
3
|
-
const styleCss = "icon-demo.sc-smoothly-icon-demo{display:block}icon-demo[hidden].sc-smoothly-icon-demo{display:none}icon-demo.sc-smoothly-icon-demo>content.sc-smoothly-icon-demo{display:flex;flex-flow:row wrap}icon-demo.sc-smoothly-icon-demo>content.sc-smoothly-icon-demo>*.sc-smoothly-icon-demo{margin:1cm}";
|
|
4
|
-
|
|
5
|
-
let SmoothlyIconDemo = class {
|
|
6
|
-
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
8
|
-
this.page = 0;
|
|
9
|
-
}
|
|
10
|
-
render() {
|
|
11
|
-
return [
|
|
12
|
-
h("h1", null, "Icons"),
|
|
13
|
-
h("content", null, [
|
|
14
|
-
"add-circle",
|
|
15
|
-
"add",
|
|
16
|
-
"airplane",
|
|
17
|
-
"alarm",
|
|
18
|
-
"albums",
|
|
19
|
-
"alert-circle",
|
|
20
|
-
"alert",
|
|
21
|
-
"american-football",
|
|
22
|
-
"analytics",
|
|
23
|
-
"aperture",
|
|
24
|
-
"apps",
|
|
25
|
-
"archive",
|
|
26
|
-
"arrow-back-circle",
|
|
27
|
-
"arrow-back",
|
|
28
|
-
"arrow-down-circle",
|
|
29
|
-
"arrow-down",
|
|
30
|
-
"arrow-forward-circle",
|
|
31
|
-
"arrow-forward",
|
|
32
|
-
"arrow-redo-circle",
|
|
33
|
-
"arrow-redo",
|
|
34
|
-
"arrow-undo-circle",
|
|
35
|
-
"arrow-undo",
|
|
36
|
-
"arrow-up-circle",
|
|
37
|
-
"arrow-up",
|
|
38
|
-
"at-circle",
|
|
39
|
-
"at",
|
|
40
|
-
"attach",
|
|
41
|
-
"backspace",
|
|
42
|
-
"bandage",
|
|
43
|
-
"barbell",
|
|
44
|
-
"bar-chart",
|
|
45
|
-
"barcode",
|
|
46
|
-
"baseball",
|
|
47
|
-
"basketball",
|
|
48
|
-
"basket",
|
|
49
|
-
"battery-charging",
|
|
50
|
-
"battery-dead",
|
|
51
|
-
"battery-full",
|
|
52
|
-
"battery-half",
|
|
53
|
-
"beaker",
|
|
54
|
-
"bed",
|
|
55
|
-
"beer",
|
|
56
|
-
"bicycle",
|
|
57
|
-
"bluetooth",
|
|
58
|
-
"boat",
|
|
59
|
-
"body",
|
|
60
|
-
"bonfire",
|
|
61
|
-
"bookmarks",
|
|
62
|
-
"bookmark",
|
|
63
|
-
"book",
|
|
64
|
-
"briefcase",
|
|
65
|
-
"browsers",
|
|
66
|
-
"brush",
|
|
67
|
-
"bug",
|
|
68
|
-
"build",
|
|
69
|
-
"bulb",
|
|
70
|
-
"business",
|
|
71
|
-
"bus",
|
|
72
|
-
"cafe",
|
|
73
|
-
"calculator",
|
|
74
|
-
"calendar",
|
|
75
|
-
"call",
|
|
76
|
-
"camera-reverse",
|
|
77
|
-
"camera",
|
|
78
|
-
"card",
|
|
79
|
-
"caret-back-circle",
|
|
80
|
-
"caret-back",
|
|
81
|
-
"caret-down-circle",
|
|
82
|
-
"caret-down",
|
|
83
|
-
"caret-forward-circle",
|
|
84
|
-
"caret-forward",
|
|
85
|
-
"caret-up-circle",
|
|
86
|
-
"caret-up",
|
|
87
|
-
"car-sport",
|
|
88
|
-
"car",
|
|
89
|
-
"cart",
|
|
90
|
-
"cash",
|
|
91
|
-
"cellular",
|
|
92
|
-
"chatbox-ellipses",
|
|
93
|
-
"chatbox",
|
|
94
|
-
"chatbubble-ellipses",
|
|
95
|
-
"chatbubbles",
|
|
96
|
-
"chatbubble",
|
|
97
|
-
"checkbox",
|
|
98
|
-
"checkmark-circle",
|
|
99
|
-
"checkmark-done-circle",
|
|
100
|
-
"checkmark-done",
|
|
101
|
-
"checkmark",
|
|
102
|
-
"chevron-back-circle",
|
|
103
|
-
"chevron-back",
|
|
104
|
-
"chevron-down-circle",
|
|
105
|
-
"chevron-down",
|
|
106
|
-
"chevron-forward-circle",
|
|
107
|
-
"chevron-forward",
|
|
108
|
-
"chevron-up-circle",
|
|
109
|
-
"chevron-up",
|
|
110
|
-
"clipboard",
|
|
111
|
-
"close-circle",
|
|
112
|
-
"close",
|
|
113
|
-
"cloud-circle",
|
|
114
|
-
"cloud-done",
|
|
115
|
-
"cloud-download",
|
|
116
|
-
"cloud-offline",
|
|
117
|
-
"cloud",
|
|
118
|
-
"cloud-upload",
|
|
119
|
-
"cloudy-night",
|
|
120
|
-
"cloudy",
|
|
121
|
-
"code-download",
|
|
122
|
-
"code-slash",
|
|
123
|
-
"code",
|
|
124
|
-
"code-working",
|
|
125
|
-
"cog",
|
|
126
|
-
"color-fill",
|
|
127
|
-
"color-filter",
|
|
128
|
-
"color-palette",
|
|
129
|
-
"color-wand",
|
|
130
|
-
"compass",
|
|
131
|
-
"construct",
|
|
132
|
-
"contract",
|
|
133
|
-
"contrast",
|
|
134
|
-
"copy",
|
|
135
|
-
"create",
|
|
136
|
-
"crop",
|
|
137
|
-
"cube",
|
|
138
|
-
"cut",
|
|
139
|
-
"desktop",
|
|
140
|
-
"disc",
|
|
141
|
-
"document-attach",
|
|
142
|
-
"documents",
|
|
143
|
-
"document",
|
|
144
|
-
"document-text",
|
|
145
|
-
"download",
|
|
146
|
-
"duplicate",
|
|
147
|
-
"ear",
|
|
148
|
-
"earth",
|
|
149
|
-
"easel",
|
|
150
|
-
"egg",
|
|
151
|
-
"ellipse",
|
|
152
|
-
"ellipsis-horizontal-circle",
|
|
153
|
-
"ellipsis-horizontal",
|
|
154
|
-
"ellipsis-vertical-circle",
|
|
155
|
-
"ellipsis-vertical",
|
|
156
|
-
"enter",
|
|
157
|
-
"exit",
|
|
158
|
-
"expand",
|
|
159
|
-
"eyedrop",
|
|
160
|
-
"eye-off",
|
|
161
|
-
"eye",
|
|
162
|
-
"fast-food",
|
|
163
|
-
"female",
|
|
164
|
-
"file-tray-full",
|
|
165
|
-
"file-tray-stacked",
|
|
166
|
-
"file-tray",
|
|
167
|
-
"film",
|
|
168
|
-
"filter",
|
|
169
|
-
"finger-print",
|
|
170
|
-
"fitness",
|
|
171
|
-
"flag",
|
|
172
|
-
"flame",
|
|
173
|
-
"flashlight",
|
|
174
|
-
"flash-off",
|
|
175
|
-
"flash",
|
|
176
|
-
"flask",
|
|
177
|
-
"flower",
|
|
178
|
-
"folder-open",
|
|
179
|
-
"folder",
|
|
180
|
-
"football",
|
|
181
|
-
"funnel",
|
|
182
|
-
"game-controller",
|
|
183
|
-
"gift",
|
|
184
|
-
"git-branch",
|
|
185
|
-
"git-commit",
|
|
186
|
-
"git-compare",
|
|
187
|
-
"git-merge",
|
|
188
|
-
"git-network",
|
|
189
|
-
"git-pull-request",
|
|
190
|
-
"glasses",
|
|
191
|
-
"globe",
|
|
192
|
-
"golf",
|
|
193
|
-
"grid",
|
|
194
|
-
"hammer",
|
|
195
|
-
"hand-left",
|
|
196
|
-
"hand-right",
|
|
197
|
-
"happy",
|
|
198
|
-
"hardware-chip",
|
|
199
|
-
"headset",
|
|
200
|
-
"heart-circle",
|
|
201
|
-
"heart-dislike-circle",
|
|
202
|
-
"heart-dislike",
|
|
203
|
-
"heart-half",
|
|
204
|
-
"heart",
|
|
205
|
-
"help-buoy",
|
|
206
|
-
"help-circle",
|
|
207
|
-
"help",
|
|
208
|
-
"home",
|
|
209
|
-
"hourglass",
|
|
210
|
-
"ice-cream",
|
|
211
|
-
"images",
|
|
212
|
-
"image",
|
|
213
|
-
"infinite",
|
|
214
|
-
"information-circle",
|
|
215
|
-
"information",
|
|
216
|
-
"journal",
|
|
217
|
-
"keypad",
|
|
218
|
-
"key",
|
|
219
|
-
"language",
|
|
220
|
-
"laptop",
|
|
221
|
-
"layers",
|
|
222
|
-
"leaf",
|
|
223
|
-
"library",
|
|
224
|
-
"link",
|
|
225
|
-
"list-circle",
|
|
226
|
-
"list",
|
|
227
|
-
"locate",
|
|
228
|
-
"location",
|
|
229
|
-
"lock-closed",
|
|
230
|
-
"lock-open",
|
|
231
|
-
"log-in",
|
|
232
|
-
"logo-amazon",
|
|
233
|
-
"logo-amplify",
|
|
234
|
-
"logo-android",
|
|
235
|
-
"logo-angular",
|
|
236
|
-
"logo-apple-appstore",
|
|
237
|
-
"logo-apple",
|
|
238
|
-
"logo-behance",
|
|
239
|
-
"logo-bitbucket",
|
|
240
|
-
"logo-bitcoin",
|
|
241
|
-
"logo-buffer",
|
|
242
|
-
"logo-capacitor",
|
|
243
|
-
"logo-chrome",
|
|
244
|
-
"logo-closed-captioning",
|
|
245
|
-
"logo-codepen",
|
|
246
|
-
"logo-css3",
|
|
247
|
-
"logo-designernews",
|
|
248
|
-
"logo-docker",
|
|
249
|
-
"logo-dribbble",
|
|
250
|
-
"logo-dropbox",
|
|
251
|
-
"logo-edge",
|
|
252
|
-
"logo-electron",
|
|
253
|
-
"logo-euro",
|
|
254
|
-
"logo-facebook",
|
|
255
|
-
"logo-firebase",
|
|
256
|
-
"logo-firefox",
|
|
257
|
-
"logo-flickr",
|
|
258
|
-
"logo-foursquare",
|
|
259
|
-
"logo-github",
|
|
260
|
-
"logo-gitlab",
|
|
261
|
-
"logo-google-playstore",
|
|
262
|
-
"logo-google",
|
|
263
|
-
"logo-hackernews",
|
|
264
|
-
"logo-html5",
|
|
265
|
-
"logo-instagram",
|
|
266
|
-
"logo-ionic",
|
|
267
|
-
"logo-ionitron",
|
|
268
|
-
"logo-javascript",
|
|
269
|
-
"logo-laravel",
|
|
270
|
-
"logo-linkedin",
|
|
271
|
-
"logo-markdown",
|
|
272
|
-
"logo-medium",
|
|
273
|
-
"logo-nodejs",
|
|
274
|
-
"logo-no-smoking",
|
|
275
|
-
"logo-npm",
|
|
276
|
-
"logo-octocat",
|
|
277
|
-
"logo-paypal",
|
|
278
|
-
"logo-pinterest",
|
|
279
|
-
"logo-playstation",
|
|
280
|
-
"logo-pwa",
|
|
281
|
-
"logo-python",
|
|
282
|
-
"logo-react",
|
|
283
|
-
"logo-reddit",
|
|
284
|
-
"logo-rss",
|
|
285
|
-
"logo-sass",
|
|
286
|
-
"logo-skype",
|
|
287
|
-
"logo-slack",
|
|
288
|
-
"logo-snapchat",
|
|
289
|
-
"logo-soundcloud",
|
|
290
|
-
"logo-stackoverflow",
|
|
291
|
-
"logo-steam",
|
|
292
|
-
"logo-stencil",
|
|
293
|
-
"logo-tiktok",
|
|
294
|
-
"logo-tumblr",
|
|
295
|
-
"logo-tux",
|
|
296
|
-
"logo-twitch",
|
|
297
|
-
"logo-twitter",
|
|
298
|
-
"logo-usd",
|
|
299
|
-
"log-out",
|
|
300
|
-
"logo-web-component",
|
|
301
|
-
"logo-venmo",
|
|
302
|
-
"logo-whatsapp",
|
|
303
|
-
"logo-vimeo",
|
|
304
|
-
"logo-windows",
|
|
305
|
-
"logo-vk",
|
|
306
|
-
"logo-wordpress",
|
|
307
|
-
"logo-vue",
|
|
308
|
-
"logo-xbox",
|
|
309
|
-
"logo-xing",
|
|
310
|
-
"logo-yahoo",
|
|
311
|
-
"logo-yen",
|
|
312
|
-
"logo-youtube",
|
|
313
|
-
"magnet",
|
|
314
|
-
"mail-open",
|
|
315
|
-
"mail",
|
|
316
|
-
"mail-unread",
|
|
317
|
-
"male-female",
|
|
318
|
-
"male",
|
|
319
|
-
"man",
|
|
320
|
-
"map",
|
|
321
|
-
"medal",
|
|
322
|
-
"medical",
|
|
323
|
-
"medkit",
|
|
324
|
-
"megaphone",
|
|
325
|
-
"menu",
|
|
326
|
-
"mic-circle",
|
|
327
|
-
"mic-off-circle",
|
|
328
|
-
"mic-off",
|
|
329
|
-
"mic",
|
|
330
|
-
"moon",
|
|
331
|
-
"move",
|
|
332
|
-
"musical-notes",
|
|
333
|
-
"musical-note",
|
|
334
|
-
"navigate-circle",
|
|
335
|
-
"navigate",
|
|
336
|
-
"newspaper",
|
|
337
|
-
"notifications-circle",
|
|
338
|
-
"notifications-off-circle",
|
|
339
|
-
"notifications-off",
|
|
340
|
-
"notifications",
|
|
341
|
-
"nuclear",
|
|
342
|
-
"nutrition",
|
|
343
|
-
"open",
|
|
344
|
-
"options",
|
|
345
|
-
"paper-plane",
|
|
346
|
-
"partly-sunny",
|
|
347
|
-
"pause-circle",
|
|
348
|
-
"pause",
|
|
349
|
-
"paw",
|
|
350
|
-
"pencil",
|
|
351
|
-
"people-circle",
|
|
352
|
-
"people",
|
|
353
|
-
"person-add",
|
|
354
|
-
"person-circle",
|
|
355
|
-
"person-remove",
|
|
356
|
-
"person",
|
|
357
|
-
"phone-landscape",
|
|
358
|
-
"phone-portrait",
|
|
359
|
-
"pie-chart",
|
|
360
|
-
"pin",
|
|
361
|
-
"pint",
|
|
362
|
-
"pizza",
|
|
363
|
-
"planet",
|
|
364
|
-
"play-back-circle",
|
|
365
|
-
"play-back",
|
|
366
|
-
"play-circle",
|
|
367
|
-
"play-forward-circle",
|
|
368
|
-
"play-forward",
|
|
369
|
-
"play-skip-back-circle",
|
|
370
|
-
"play-skip-back",
|
|
371
|
-
"play-skip-forward-circle",
|
|
372
|
-
"play-skip-forward",
|
|
373
|
-
"play",
|
|
374
|
-
"podium",
|
|
375
|
-
"power",
|
|
376
|
-
"pricetags",
|
|
377
|
-
"pricetag",
|
|
378
|
-
"print",
|
|
379
|
-
"pulse",
|
|
380
|
-
"push",
|
|
381
|
-
"qr-code",
|
|
382
|
-
"radio-button-off",
|
|
383
|
-
"radio-button-on",
|
|
384
|
-
"radio",
|
|
385
|
-
"rainy",
|
|
386
|
-
"reader",
|
|
387
|
-
"receipt",
|
|
388
|
-
"recording",
|
|
389
|
-
"refresh-circle",
|
|
390
|
-
"refresh",
|
|
391
|
-
"reload-circle",
|
|
392
|
-
"reload",
|
|
393
|
-
"remove-circle",
|
|
394
|
-
"remove",
|
|
395
|
-
"reorder-four",
|
|
396
|
-
"reorder-three",
|
|
397
|
-
"reorder-two",
|
|
398
|
-
"repeat",
|
|
399
|
-
"resize",
|
|
400
|
-
"restaurant",
|
|
401
|
-
"return-down-back",
|
|
402
|
-
"return-down-forward",
|
|
403
|
-
"return-up-back",
|
|
404
|
-
"return-up-forward",
|
|
405
|
-
"ribbon",
|
|
406
|
-
"rocket",
|
|
407
|
-
"rose",
|
|
408
|
-
"sad",
|
|
409
|
-
"save",
|
|
410
|
-
"scan-circle",
|
|
411
|
-
"scan",
|
|
412
|
-
"school",
|
|
413
|
-
"search-circle",
|
|
414
|
-
"search",
|
|
415
|
-
"send",
|
|
416
|
-
"server",
|
|
417
|
-
"settings",
|
|
418
|
-
"shapes",
|
|
419
|
-
"share-social",
|
|
420
|
-
"share",
|
|
421
|
-
"shield-checkmark",
|
|
422
|
-
"shield",
|
|
423
|
-
"shirt",
|
|
424
|
-
"shuffle",
|
|
425
|
-
"skull",
|
|
426
|
-
"snow",
|
|
427
|
-
"speedometer",
|
|
428
|
-
"square",
|
|
429
|
-
"star-half",
|
|
430
|
-
"star",
|
|
431
|
-
"stats-chart",
|
|
432
|
-
"stop-circle",
|
|
433
|
-
"stop",
|
|
434
|
-
"stopwatch",
|
|
435
|
-
"subway",
|
|
436
|
-
"sunny",
|
|
437
|
-
"swap-horizontal",
|
|
438
|
-
"swap-vertical",
|
|
439
|
-
"sync-circle",
|
|
440
|
-
"sync",
|
|
441
|
-
"tablet-landscape",
|
|
442
|
-
"tablet-portrait",
|
|
443
|
-
"tennisball",
|
|
444
|
-
"terminal",
|
|
445
|
-
"text",
|
|
446
|
-
"thermometer",
|
|
447
|
-
"thumbs-down",
|
|
448
|
-
"thumbs-up",
|
|
449
|
-
"thunderstorm",
|
|
450
|
-
"timer",
|
|
451
|
-
"time",
|
|
452
|
-
"today",
|
|
453
|
-
"toggle",
|
|
454
|
-
"trail-sign",
|
|
455
|
-
"train",
|
|
456
|
-
"transgender",
|
|
457
|
-
"trash-bin",
|
|
458
|
-
"trash",
|
|
459
|
-
"trending-down",
|
|
460
|
-
"trending-up",
|
|
461
|
-
"triangle",
|
|
462
|
-
"trophy",
|
|
463
|
-
"tv",
|
|
464
|
-
"umbrella",
|
|
465
|
-
"walk",
|
|
466
|
-
"wallet",
|
|
467
|
-
"warning",
|
|
468
|
-
"watch",
|
|
469
|
-
"water",
|
|
470
|
-
"videocam",
|
|
471
|
-
"wifi",
|
|
472
|
-
"wine",
|
|
473
|
-
"volume-high",
|
|
474
|
-
"volume-low",
|
|
475
|
-
"volume-medium",
|
|
476
|
-
"volume-mute",
|
|
477
|
-
"volume-off",
|
|
478
|
-
"woman",
|
|
479
|
-
]
|
|
480
|
-
.slice(this.page * 100, 100)
|
|
481
|
-
.map(name => (h("smoothly-icon", { name: name, toolTip: name })))),
|
|
482
|
-
];
|
|
483
|
-
}
|
|
484
|
-
};
|
|
485
|
-
SmoothlyIconDemo.style = styleCss;
|
|
486
|
-
|
|
487
|
-
export { SmoothlyIconDemo as smoothly_icon_demo };
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h, k as Host } from './index-02a70ac1.js';
|
|
2
|
-
|
|
3
|
-
const styleCss = "[size].sc-smoothly-icon-h{background:none}.sc-smoothly-icon-h{display:block}[hidden].sc-smoothly-icon-h{display:none}[size=tiny].sc-smoothly-icon-h{width:1.2em;height:1.2em}[size=small].sc-smoothly-icon-h{width:1.4em;height:1.4em}[size=medium].sc-smoothly-icon-h{width:1.8em;height:1.8em}[size=large].sc-smoothly-icon-h{width:2.8em;height:2.8em}[size=xlarge].sc-smoothly-icon-h{width:4em;height:4em}";
|
|
4
|
-
|
|
5
|
-
let SmoothlyIcon = class {
|
|
6
|
-
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
8
|
-
this.fill = "solid";
|
|
9
|
-
this.size = "medium";
|
|
10
|
-
}
|
|
11
|
-
async loadDocument() {
|
|
12
|
-
if (this.name)
|
|
13
|
-
this.document = await SmoothlyIcon.load(this.name);
|
|
14
|
-
}
|
|
15
|
-
async componentWillLoad() {
|
|
16
|
-
await this.loadDocument();
|
|
17
|
-
}
|
|
18
|
-
hostData() {
|
|
19
|
-
return {
|
|
20
|
-
innerHTML: this.document
|
|
21
|
-
? this.document
|
|
22
|
-
.replace(` width="512" height="512"`, "")
|
|
23
|
-
.replace(/(<title>)[\w\d\s-]*(<\/title>)/, `<title>${this.toolTip || ""}</title>`)
|
|
24
|
-
.replace(/stroke:#000;/gi, "")
|
|
25
|
-
: undefined,
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
|
-
__stencil_render() {
|
|
29
|
-
return [];
|
|
30
|
-
}
|
|
31
|
-
static async fetch(url) {
|
|
32
|
-
const response = await fetch(url);
|
|
33
|
-
return response.ok ? response.text() : undefined;
|
|
34
|
-
}
|
|
35
|
-
static async load(name) {
|
|
36
|
-
var _a;
|
|
37
|
-
const url = `https://unpkg.com/ionicons@5.0.0/dist/svg/${name}.svg`;
|
|
38
|
-
return (_a = SmoothlyIcon.cache[url]) !== null && _a !== void 0 ? _a : (SmoothlyIcon.cache[url] = SmoothlyIcon.fetch(url));
|
|
39
|
-
}
|
|
40
|
-
static get watchers() { return {
|
|
41
|
-
"name": ["loadDocument"]
|
|
42
|
-
}; }
|
|
43
|
-
render() { return h(Host, this.hostData(), this.__stencil_render()); }
|
|
44
|
-
};
|
|
45
|
-
SmoothlyIcon.cache = {};
|
|
46
|
-
SmoothlyIcon.style = styleCss;
|
|
47
|
-
|
|
48
|
-
export { SmoothlyIcon as smoothly_icon };
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, i as createEvent, h } from './index-02a70ac1.js';
|
|
2
|
-
import { d as dist } from './index-a5a08f46.js';
|
|
3
|
-
import './_commonjsHelpers-8fe71198.js';
|
|
4
|
-
|
|
5
|
-
const styleCss = ".sc-smoothly-input-date-range-h{position:relative;display:block;width:fit-content}.sc-smoothly-input-date-range-h>nav.sc-smoothly-input-date-range{position:absolute;z-index:10;top:3.5em;background-color:rgb(var(--smoothly-default-shade));max-width:22em}.sc-smoothly-input-date-range-h>div.sc-smoothly-input-date-range{position:fixed;top:0px;left:0px;right:0px;bottom:0px;width:100vw;height:100vh;z-index:2}.sc-smoothly-input-date-range-h>nav.sc-smoothly-input-date-range>.arrow.sc-smoothly-input-date-range{position:absolute;z-index:9;transform:translate(10em, -0.55em) rotate(45deg);width:1em;height:1em;background-color:rgb(var(--smoothly-default-shade))}.sc-smoothly-input-date-range-h>section.sc-smoothly-input-date-range{display:flex;background-color:var(--background, transparent);border-radius:0.25rem;cursor:pointer}smoothly-input.sc-smoothly-input-date-range{border-radius:var(--border-radius, none);background-color:transparent;width:var(--input-width)}span.sc-smoothly-input-date-range{padding:0.5em 0.2em 0.5em 0.2em;align-self:center}";
|
|
6
|
-
|
|
7
|
-
let InputDateRange = class {
|
|
8
|
-
constructor(hostRef) {
|
|
9
|
-
registerInstance(this, hostRef);
|
|
10
|
-
this.valueChanged = createEvent(this, "valueChanged", 7);
|
|
11
|
-
this.dateRangeSelected = createEvent(this, "dateRangeSelected", 7);
|
|
12
|
-
this.showLabel = true;
|
|
13
|
-
}
|
|
14
|
-
onValue(next) {
|
|
15
|
-
this.valueChanged.emit(next);
|
|
16
|
-
}
|
|
17
|
-
onStartChanged(event) {
|
|
18
|
-
this.start = event.detail;
|
|
19
|
-
}
|
|
20
|
-
onEndChanged(event) {
|
|
21
|
-
this.end = event.detail;
|
|
22
|
-
}
|
|
23
|
-
onDateRangeSet(event) {
|
|
24
|
-
console.log("dateRangeSet", event.detail);
|
|
25
|
-
this.open = false;
|
|
26
|
-
event.stopPropagation();
|
|
27
|
-
dist.DateRange.is(event.detail) && this.dateRangeSelected.emit(event.detail);
|
|
28
|
-
}
|
|
29
|
-
render() {
|
|
30
|
-
var _a;
|
|
31
|
-
return [
|
|
32
|
-
h("section", { onClick: () => (this.open = !this.open) }, h("smoothly-input", { type: "date", value: this.start, showLabel: this.showLabel, onSmoothlyChanged: e => (this.start = e.detail.value) }, "from"), h("span", null, "\u2013"), h("smoothly-input", { type: "date", showLabel: this.showLabel, value: this.end, onSmoothlyChanged: e => (this.end = e.detail.value) }, "to")),
|
|
33
|
-
this.open ? h("div", { onClick: () => (this.open = false) }) : [],
|
|
34
|
-
this.open ? (h("nav", null, h("div", { class: "arrow" }), h("smoothly-calendar", { doubleInput: true, value: (_a = this.value) !== null && _a !== void 0 ? _a : dist.Date.now(), onValueChanged: event => {
|
|
35
|
-
this.value = event.detail;
|
|
36
|
-
event.stopPropagation();
|
|
37
|
-
}, start: this.start, end: this.end, max: this.max, min: this.min }))) : ([]),
|
|
38
|
-
];
|
|
39
|
-
}
|
|
40
|
-
static get watchers() { return {
|
|
41
|
-
"value": ["onValue"]
|
|
42
|
-
}; }
|
|
43
|
-
};
|
|
44
|
-
InputDateRange.style = styleCss;
|
|
45
|
-
|
|
46
|
-
export { InputDateRange as smoothly_input_date_range };
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, i as createEvent, h } from './index-02a70ac1.js';
|
|
2
|
-
import { d as dist } from './index-a5a08f46.js';
|
|
3
|
-
import './_commonjsHelpers-8fe71198.js';
|
|
4
|
-
|
|
5
|
-
const styleCss = ".sc-smoothly-input-date-h{position:relative}nav.sc-smoothly-input-date{position:absolute;z-index:10;top:3.5em;background-color:rgb(var(--smoothly-default-shade));max-width:22em}.sc-smoothly-input-date-h>div.sc-smoothly-input-date{position:fixed;top:0px;left:0px;right:0px;bottom:0px;width:100vw;height:100vh;z-index:2}.sc-smoothly-input-date-h>nav.sc-smoothly-input-date>.arrow.sc-smoothly-input-date{position:absolute;z-index:9;transform:translate(2em, -.55em) rotate(45deg);width:1em;height:1em;background-color:rgb(var(--smoothly-default-shade))}";
|
|
6
|
-
|
|
7
|
-
let InputDate = class {
|
|
8
|
-
constructor(hostRef) {
|
|
9
|
-
registerInstance(this, hostRef);
|
|
10
|
-
this.valueChanged = createEvent(this, "valueChanged", 7);
|
|
11
|
-
}
|
|
12
|
-
onStart(next) {
|
|
13
|
-
this.valueChanged.emit(next);
|
|
14
|
-
}
|
|
15
|
-
dateSetHandler(e) {
|
|
16
|
-
this.open = false;
|
|
17
|
-
e.stopPropagation();
|
|
18
|
-
}
|
|
19
|
-
render() {
|
|
20
|
-
var _a;
|
|
21
|
-
return [
|
|
22
|
-
h("smoothly-input", { onClick: () => (this.open = !this.open), disabled: this.disabled, type: "date", value: this.value, onSmoothlyChanged: e => (this.value = e.detail.value) }, h("slot", null)),
|
|
23
|
-
this.open && !this.disabled
|
|
24
|
-
? [
|
|
25
|
-
h("div", { onClick: () => (this.open = false) }),
|
|
26
|
-
h("nav", null, h("div", { class: "arrow" }), h("smoothly-calendar", { doubleInput: false, value: (_a = this.value) !== null && _a !== void 0 ? _a : dist.Date.now(), onValueChanged: event => {
|
|
27
|
-
this.value = event.detail;
|
|
28
|
-
event.stopPropagation();
|
|
29
|
-
}, max: this.max, min: this.min })),
|
|
30
|
-
]
|
|
31
|
-
: [],
|
|
32
|
-
];
|
|
33
|
-
}
|
|
34
|
-
static get watchers() { return {
|
|
35
|
-
"value": ["onStart"]
|
|
36
|
-
}; }
|
|
37
|
-
};
|
|
38
|
-
InputDate.style = styleCss;
|
|
39
|
-
|
|
40
|
-
export { InputDate as smoothly_input_date };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-02a70ac1.js';
|
|
2
|
-
|
|
3
|
-
let SmoothlyInputDemo = class {
|
|
4
|
-
constructor(hostRef) {
|
|
5
|
-
registerInstance(this, hostRef);
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
return [
|
|
9
|
-
h("form", { action: "done", style: { position: "relative" } }, h("header", null, h("h5", null, "Address")), h("main", null, h("smoothly-input", { type: "text", name: "name" }, "Name"), h("smoothly-input", { type: "date", name: "date" }, "Date"), h("smoothly-input", { type: "date-time", name: "date-time" }, "Date-Time"), h("smoothly-input", { type: "divisor", name: "divisor" }, "Divisor"), h("smoothly-input", { type: "text", name: "street", value: "street" }, "Street"), h("smoothly-input", { type: "card-number", name: "card" }, "Card #"), h("smoothly-input", { type: "card-expires", name: "card", style: { width: "calc(60% - 2px)" } }, "Expires"), h("smoothly-input", { type: "card-csc", name: "card", style: { width: "calc(40% - 1px)", borderLeft: "none" } }, "CVV/CVC"), h("smoothly-radio", { name: "option", value: "1" }, "option 1"), h("smoothly-radio", { name: "option", value: "2", checked: true }, "option 2"), h("smoothly-radio", { name: "option", value: "3" }, "option 3"), h("smoothly-accordion", null, h("smoothly-accordion-item", { name: "A", open: true }, h("smoothly-radio", { name: "a", value: "1" }, "a 1"), h("smoothly-radio", { name: "a", value: "2", checked: true }, "a 2"), h("smoothly-radio", { name: "a", value: "3" }, "a 3")), h("smoothly-accordion-item", { name: "B" }, h("smoothly-radio", { name: "b", value: "1" }, "b 1"), h("smoothly-radio", { name: "b", value: "2" }, "b 2"), h("smoothly-radio", { name: "b", value: "3" }, "b 3"))), h("smoothly-display-amount", { currency: "SEK", amount: "1289.5" }), h("smoothly-display-date-time", { datetime: "2019-01-31T20:01:34" }), h("smoothly-checkbox", { selectAll: true, intermediate: true }), h("smoothly-checkbox", null), h("smoothly-checkbox", { disabled: true }), h("smoothly-address-display", { value: '{ "countryCode": "SE", "street": "Korkstigen 2", "zipCode": "654 31", "city": "Fejksala" }' }), h("smoothly-address", { editable: false, value: '{ "countryCode": "SE", "street": "Stigv\u00E4gen 34", "zipCode": "123 45", "city": "Hobbiton" }' }), h("smoothly-addresses", { allowed: "billing delivery visit", editable: true, value: '{ "billing": { "countryCode": "SE", "street": "Rundslingan 3", "zipCode": "987 65", "city": "Klotby" }, "visit": { "countryCode": "SE", "street": "G\u00E5ngbanan 34", "zipCode": "543 21", "city": "Trasktr\u00E4sk" } }' }), h("smoothly-input", { type: "postal-code", name: "zip", style: { width: "calc(60% - 2px)" } }, "ZipCode"), h("smoothly-input", { type: "text", name: "testing" }, "Texttest"), h("smoothly-input", { type: "password", name: "password" }, "Password"), h("smoothly-input", { type: "email", name: "email" }, "Email"), h("smoothly-input", { type: "price", currency: "SEK", name: "price" }, "Price"), h("smoothly-input", { type: "percent", name: "percent" }, "Percent"), h("smoothly-input", { type: "phone", name: "phone" }, "Phone"), h("smoothly-input-date", null, "Date")), h("footer", null, h("smoothly-submit", { expand: "block", onSubmit: (e) => alert(e), color: "success" }, "Submit"), h("smoothly-trigger", { expand: "block", color: "success", onClick: (e) => console.log(e.detail) }, "Trigger"))),
|
|
10
|
-
h("smoothly-backtotop", null),
|
|
11
|
-
];
|
|
12
|
-
}
|
|
13
|
-
};
|
|
14
|
-
|
|
15
|
-
export { SmoothlyInputDemo as smoothly_input_demo };
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, i as createEvent, h } from './index-02a70ac1.js';
|
|
2
|
-
import { d as dist } from './index-a5a08f46.js';
|
|
3
|
-
import { y as years, a as months } from './generate-50b98474.js';
|
|
4
|
-
import './_commonjsHelpers-8fe71198.js';
|
|
5
|
-
|
|
6
|
-
const styleCss = ".sc-smoothly-input-month-h{display:flex;justify-content:space-between;font-size:large}smoothly-icon.sc-smoothly-input-month{font-size:smaller}";
|
|
7
|
-
|
|
8
|
-
let MonthSelector = class {
|
|
9
|
-
constructor(hostRef) {
|
|
10
|
-
registerInstance(this, hostRef);
|
|
11
|
-
this.valueChanged = createEvent(this, "valueChanged", 7);
|
|
12
|
-
}
|
|
13
|
-
onValueChanged(next) {
|
|
14
|
-
this.valueChanged.emit(next);
|
|
15
|
-
}
|
|
16
|
-
adjustMonth(delta) {
|
|
17
|
-
var _a;
|
|
18
|
-
const date = dist.Date.parse((_a = this.value) !== null && _a !== void 0 ? _a : dist.Date.now());
|
|
19
|
-
date.setMonth(date.getMonth() + delta);
|
|
20
|
-
this.value = dist.Date.create(date);
|
|
21
|
-
}
|
|
22
|
-
render() {
|
|
23
|
-
var _a, _b;
|
|
24
|
-
return [
|
|
25
|
-
h("div", { onClick: () => this.adjustMonth(-1) }, h("smoothly-icon", { name: "chevron-back-outline", size: "small" })),
|
|
26
|
-
h("smoothly-selector", { onSelected: (e) => (this.value = e.detail) }, years((_a = this.value) !== null && _a !== void 0 ? _a : dist.Date.now()).map(year => (h("smoothly-item", { value: year.date, selected: year.selected }, year.name)))),
|
|
27
|
-
h("smoothly-selector", { onSelected: (e) => (this.value = e.detail) }, months((_b = this.value) !== null && _b !== void 0 ? _b : dist.Date.now()).map(month => (h("smoothly-item", { value: month.date, selected: month.selected }, month.name)))),
|
|
28
|
-
h("div", { onClick: () => this.adjustMonth(1) }, h("smoothly-icon", { name: "chevron-forward-outline", size: "small" })),
|
|
29
|
-
];
|
|
30
|
-
}
|
|
31
|
-
static get watchers() { return {
|
|
32
|
-
"value": ["onValueChanged"]
|
|
33
|
-
}; }
|
|
34
|
-
};
|
|
35
|
-
MonthSelector.style = styleCss;
|
|
36
|
-
|
|
37
|
-
export { MonthSelector as smoothly_input_month };
|