@symbo.ls/datepicker 0.4.2 → 0.5.10
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/.parcel-cache/3085beb0745a2550.txt +2 -0
- package/.parcel-cache/736b9fb319e7887f.txt +2 -0
- package/.parcel-cache/data.mdb +0 -0
- package/.parcel-cache/lock.mdb +0 -0
- package/dist/index.js +347 -0
- package/dist/index.js.map +1 -0
- package/package.json +6 -6
- package/packages/react/index.js +7 -0
- package/packages/react/node_modules/.yarn-integrity +105 -0
- package/packages/react/node_modules/@domql/cache/LICENSE +21 -0
- package/packages/react/node_modules/@domql/cache/index.js +0 -0
- package/packages/react/node_modules/@domql/cache/package.json +10 -0
- package/packages/react/node_modules/@domql/cookie/LICENSE +21 -0
- package/packages/react/node_modules/@domql/cookie/index.js +22 -0
- package/packages/react/node_modules/@domql/cookie/package.json +10 -0
- package/packages/react/node_modules/@domql/define/LICENSE +21 -0
- package/packages/react/node_modules/@domql/define/index.js +14 -0
- package/packages/react/node_modules/@domql/define/package.json +11 -0
- package/packages/react/node_modules/@domql/domql/LICENSE +21 -0
- package/packages/react/node_modules/@domql/domql/dist/index.js +93 -0
- package/packages/react/node_modules/@domql/domql/dist/index.js.map +1 -0
- package/packages/react/node_modules/@domql/domql/package.json +33 -0
- package/packages/react/node_modules/@domql/element/LICENSE +21 -0
- package/packages/react/node_modules/@domql/element/package.json +20 -0
- package/packages/react/node_modules/@domql/element/src/assign.js +22 -0
- package/packages/react/node_modules/@domql/element/src/create.js +125 -0
- package/packages/react/node_modules/@domql/element/src/index.js +8 -0
- package/packages/react/node_modules/@domql/element/src/iterate.js +80 -0
- package/packages/react/node_modules/@domql/element/src/methods.js +96 -0
- package/packages/react/node_modules/@domql/element/src/set.js +44 -0
- package/packages/react/node_modules/@domql/element/src/update.js +100 -0
- package/packages/react/node_modules/@domql/event/LICENSE +21 -0
- package/packages/react/node_modules/@domql/event/package.json +14 -0
- package/packages/react/node_modules/@domql/event/src/can.js +10 -0
- package/packages/react/node_modules/@domql/event/src/index.js +11 -0
- package/packages/react/node_modules/@domql/event/src/is.js +13 -0
- package/packages/react/node_modules/@domql/event/src/on.js +33 -0
- package/packages/react/node_modules/@domql/event/src/store.js +6 -0
- package/packages/react/node_modules/@domql/event/src/wrappers.js +14 -0
- package/packages/react/node_modules/@domql/event/yarn-error.log +44 -0
- package/packages/react/node_modules/@domql/id/LICENSE +21 -0
- package/packages/react/node_modules/@domql/id/index.js +12 -0
- package/packages/react/node_modules/@domql/id/package.json +10 -0
- package/packages/react/node_modules/@domql/mixins/LICENSE +21 -0
- package/packages/react/node_modules/@domql/mixins/package.json +12 -0
- package/packages/react/node_modules/@domql/mixins/src/attr.js +19 -0
- package/packages/react/node_modules/@domql/mixins/src/classList.js +37 -0
- package/packages/react/node_modules/@domql/mixins/src/content.js +17 -0
- package/packages/react/node_modules/@domql/mixins/src/data.js +21 -0
- package/packages/react/node_modules/@domql/mixins/src/html.js +17 -0
- package/packages/react/node_modules/@domql/mixins/src/index.js +11 -0
- package/packages/react/node_modules/@domql/mixins/src/registry.js +55 -0
- package/packages/react/node_modules/@domql/mixins/src/state.js +16 -0
- package/packages/react/node_modules/@domql/mixins/src/style.js +14 -0
- package/packages/react/node_modules/@domql/mixins/src/text.js +19 -0
- package/packages/react/node_modules/@domql/node/LICENSE +21 -0
- package/packages/react/node_modules/@domql/node/package.json +18 -0
- package/packages/react/node_modules/@domql/node/src/cache.js +53 -0
- package/packages/react/node_modules/@domql/node/src/create.js +86 -0
- package/packages/react/node_modules/@domql/node/src/index.js +5 -0
- package/packages/react/node_modules/@domql/node/src/registry.js +139 -0
- package/packages/react/node_modules/@domql/node/yarn-error.log +166 -0
- package/packages/react/node_modules/@domql/parse/LICENSE +21 -0
- package/packages/react/node_modules/@domql/parse/index.js +16 -0
- package/packages/react/node_modules/@domql/parse/package.json +10 -0
- package/packages/react/node_modules/@domql/props/LICENSE +21 -0
- package/packages/react/node_modules/@domql/props/package.json +10 -0
- package/packages/react/node_modules/@domql/props/src/index.js +62 -0
- package/packages/react/node_modules/@domql/proto/LICENSE +21 -0
- package/packages/react/node_modules/@domql/proto/index.js +66 -0
- package/packages/react/node_modules/@domql/proto/package.json +10 -0
- package/packages/react/node_modules/@domql/react-transformer/LICENSE +21 -0
- package/packages/react/node_modules/@domql/react-transformer/dist/index.js +62 -0
- package/packages/react/node_modules/@domql/react-transformer/dist/index.js.map +1 -0
- package/packages/react/node_modules/@domql/react-transformer/package.json +17 -0
- package/packages/react/node_modules/@domql/report/LICENSE +21 -0
- package/packages/react/node_modules/@domql/report/index.js +62 -0
- package/packages/react/node_modules/@domql/report/package.json +7 -0
- package/packages/react/node_modules/@domql/state/LICENSE +21 -0
- package/packages/react/node_modules/@domql/state/package.json +11 -0
- package/packages/react/node_modules/@domql/state/src/index.js +51 -0
- package/packages/react/node_modules/@domql/tree/LICENSE +21 -0
- package/packages/react/node_modules/@domql/tree/index.js +6 -0
- package/packages/react/node_modules/@domql/tree/package.json +10 -0
- package/packages/react/node_modules/@domql/tree/root.js +8 -0
- package/packages/react/node_modules/@domql/utils/LICENSE +21 -0
- package/packages/react/node_modules/@domql/utils/package.json +13 -0
- package/packages/react/node_modules/@domql/utils/src/index.js +5 -0
- package/packages/react/node_modules/@domql/utils/src/node.js +10 -0
- package/packages/react/node_modules/@domql/utils/src/object.js +193 -0
- package/packages/react/node_modules/@domql/utils/src/protoUtils.js +119 -0
- package/packages/react/node_modules/@symbo.ls/block/package.json +7 -0
- package/packages/react/node_modules/@symbo.ls/block/packages/react/index.js +1 -0
- package/packages/react/node_modules/@symbo.ls/block/packages/react/package.json +7 -0
- package/packages/react/node_modules/@symbo.ls/block/src/index.js +90 -0
- package/packages/react/node_modules/@symbo.ls/block/src/style.js +5 -0
- package/packages/react/node_modules/@symbo.ls/datepicker/package.json +12 -0
- package/packages/react/node_modules/@symbo.ls/datepicker/packages/react/index.js +1 -0
- package/packages/react/node_modules/@symbo.ls/datepicker/packages/react/package.json +7 -0
- package/packages/react/node_modules/@symbo.ls/datepicker/src/index.js +115 -0
- package/packages/react/node_modules/@symbo.ls/datepicker/src/style.js +100 -0
- package/packages/react/node_modules/@symbo.ls/icon/package.json +10 -0
- package/packages/react/node_modules/@symbo.ls/icon/packages/react/index.js +1 -0
- package/packages/react/node_modules/@symbo.ls/icon/packages/react/package.json +7 -0
- package/packages/react/node_modules/@symbo.ls/icon/src/index.js +14 -0
- package/packages/react/node_modules/@symbo.ls/icon/src/style.js +8 -0
- package/packages/react/node_modules/@symbo.ls/shape/package.json +7 -0
- package/packages/react/node_modules/@symbo.ls/shape/packages/react/index.js +1 -0
- package/packages/react/node_modules/@symbo.ls/shape/packages/react/package.json +7 -0
- package/packages/react/node_modules/@symbo.ls/shape/src/index.js +43 -0
- package/packages/react/node_modules/@symbo.ls/shape/src/style.js +102 -0
- package/packages/react/node_modules/@symbo.ls/svg/package.json +7 -0
- package/packages/react/node_modules/@symbo.ls/svg/packages/react/index.js +1 -0
- package/packages/react/node_modules/@symbo.ls/svg/packages/react/package.json +7 -0
- package/packages/react/node_modules/@symbo.ls/svg/src/index.js +14 -0
- package/packages/react/node_modules/js-tokens/CHANGELOG.md +151 -0
- package/packages/react/node_modules/js-tokens/LICENSE +21 -0
- package/packages/react/node_modules/js-tokens/README.md +240 -0
- package/packages/react/node_modules/js-tokens/index.js +23 -0
- package/packages/react/node_modules/js-tokens/package.json +30 -0
- package/packages/react/node_modules/loose-envify/LICENSE +21 -0
- package/packages/react/node_modules/loose-envify/README.md +45 -0
- package/packages/react/node_modules/loose-envify/cli.js +16 -0
- package/packages/react/node_modules/loose-envify/custom.js +4 -0
- package/packages/react/node_modules/loose-envify/index.js +3 -0
- package/packages/react/node_modules/loose-envify/loose-envify.js +36 -0
- package/packages/react/node_modules/loose-envify/package.json +36 -0
- package/packages/react/node_modules/loose-envify/replace.js +65 -0
- package/packages/react/node_modules/object-assign/index.js +90 -0
- package/packages/react/node_modules/object-assign/license +21 -0
- package/packages/react/node_modules/object-assign/package.json +42 -0
- package/packages/react/node_modules/object-assign/readme.md +61 -0
- package/packages/react/node_modules/react/LICENSE +21 -0
- package/packages/react/node_modules/react/README.md +13 -0
- package/packages/react/node_modules/react/build-info.json +8 -0
- package/packages/react/node_modules/react/cjs/react-jsx-dev-runtime.development.js +1203 -0
- package/packages/react/node_modules/react/cjs/react-jsx-dev-runtime.production.min.js +9 -0
- package/packages/react/node_modules/react/cjs/react-jsx-dev-runtime.profiling.min.js +9 -0
- package/packages/react/node_modules/react/cjs/react-jsx-runtime.development.js +1221 -0
- package/packages/react/node_modules/react/cjs/react-jsx-runtime.production.min.js +10 -0
- package/packages/react/node_modules/react/cjs/react-jsx-runtime.profiling.min.js +10 -0
- package/packages/react/node_modules/react/cjs/react.development.js +2333 -0
- package/packages/react/node_modules/react/cjs/react.production.min.js +23 -0
- package/packages/react/node_modules/react/index.js +7 -0
- package/packages/react/node_modules/react/jsx-dev-runtime.js +7 -0
- package/packages/react/node_modules/react/jsx-runtime.js +7 -0
- package/packages/react/node_modules/react/package.json +39 -0
- package/packages/react/node_modules/react/umd/react.development.js +3357 -0
- package/packages/react/node_modules/react/umd/react.production.min.js +31 -0
- package/packages/react/node_modules/react/umd/react.profiling.min.js +36 -0
- package/packages/react/node_modules/react-dom/LICENSE +21 -0
- package/packages/react/node_modules/react-dom/README.md +54 -0
- package/packages/react/node_modules/react-dom/build-info.json +8 -0
- package/packages/react/node_modules/react-dom/cjs/react-dom-server.browser.development.js +4342 -0
- package/packages/react/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js +51 -0
- package/packages/react/node_modules/react-dom/cjs/react-dom-server.node.development.js +4383 -0
- package/packages/react/node_modules/react-dom/cjs/react-dom-server.node.production.min.js +52 -0
- package/packages/react/node_modules/react-dom/cjs/react-dom-test-utils.development.js +2118 -0
- package/packages/react/node_modules/react-dom/cjs/react-dom-test-utils.production.min.js +43 -0
- package/packages/react/node_modules/react-dom/cjs/react-dom.development.js +26262 -0
- package/packages/react/node_modules/react-dom/cjs/react-dom.production.min.js +297 -0
- package/packages/react/node_modules/react-dom/cjs/react-dom.profiling.min.js +310 -0
- package/packages/react/node_modules/react-dom/index.js +38 -0
- package/packages/react/node_modules/react-dom/package.json +49 -0
- package/packages/react/node_modules/react-dom/profiling.js +38 -0
- package/packages/react/node_modules/react-dom/server.browser.js +7 -0
- package/packages/react/node_modules/react-dom/server.js +3 -0
- package/packages/react/node_modules/react-dom/server.node.js +7 -0
- package/packages/react/node_modules/react-dom/test-utils.js +7 -0
- package/packages/react/node_modules/react-dom/umd/react-dom-server.browser.development.js +4341 -0
- package/packages/react/node_modules/react-dom/umd/react-dom-server.browser.production.min.js +46 -0
- package/packages/react/node_modules/react-dom/umd/react-dom-test-utils.development.js +2136 -0
- package/packages/react/node_modules/react-dom/umd/react-dom-test-utils.production.min.js +35 -0
- package/packages/react/node_modules/react-dom/umd/react-dom.development.js +26292 -0
- package/packages/react/node_modules/react-dom/umd/react-dom.production.min.js +245 -0
- package/packages/react/node_modules/react-dom/umd/react-dom.profiling.min.js +252 -0
- package/packages/react/node_modules/regenerator-runtime/LICENSE +21 -0
- package/packages/react/node_modules/regenerator-runtime/README.md +31 -0
- package/packages/react/node_modules/regenerator-runtime/package.json +19 -0
- package/packages/react/node_modules/regenerator-runtime/path.js +11 -0
- package/packages/react/node_modules/regenerator-runtime/runtime.js +754 -0
- package/packages/react/node_modules/scheduler/LICENSE +21 -0
- package/packages/react/node_modules/scheduler/README.md +9 -0
- package/packages/react/node_modules/scheduler/build-info.json +8 -0
- package/packages/react/node_modules/scheduler/cjs/scheduler-tracing.development.js +347 -0
- package/packages/react/node_modules/scheduler/cjs/scheduler-tracing.production.min.js +9 -0
- package/packages/react/node_modules/scheduler/cjs/scheduler-tracing.profiling.min.js +16 -0
- package/packages/react/node_modules/scheduler/cjs/scheduler-unstable_mock.development.js +665 -0
- package/packages/react/node_modules/scheduler/cjs/scheduler-unstable_mock.production.min.js +19 -0
- package/packages/react/node_modules/scheduler/cjs/scheduler-unstable_post_task.development.js +206 -0
- package/packages/react/node_modules/scheduler/cjs/scheduler-unstable_post_task.production.min.js +13 -0
- package/packages/react/node_modules/scheduler/cjs/scheduler.development.js +646 -0
- package/packages/react/node_modules/scheduler/cjs/scheduler.production.min.js +20 -0
- package/packages/react/node_modules/scheduler/index.js +7 -0
- package/packages/react/node_modules/scheduler/package.json +40 -0
- package/packages/react/node_modules/scheduler/tracing-profiling.js +7 -0
- package/packages/react/node_modules/scheduler/tracing.js +7 -0
- package/packages/react/node_modules/scheduler/umd/scheduler-tracing.development.js +80 -0
- package/packages/react/node_modules/scheduler/umd/scheduler-tracing.production.min.js +80 -0
- package/packages/react/node_modules/scheduler/umd/scheduler-tracing.profiling.min.js +80 -0
- package/packages/react/node_modules/scheduler/umd/scheduler-unstable_mock.development.js +664 -0
- package/packages/react/node_modules/scheduler/umd/scheduler-unstable_mock.production.min.js +18 -0
- package/packages/react/node_modules/scheduler/umd/scheduler.development.js +152 -0
- package/packages/react/node_modules/scheduler/umd/scheduler.production.min.js +146 -0
- package/packages/react/node_modules/scheduler/umd/scheduler.profiling.min.js +146 -0
- package/packages/react/node_modules/scheduler/unstable_mock.js +7 -0
- package/packages/react/node_modules/scheduler/unstable_post_task.js +7 -0
- package/packages/react/package.json +6 -2
- package/packages/react/yarn.lock +229 -0
|
Binary file
|
|
Binary file
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,347 @@
|
|
|
1
|
+
var $cMI0G$symbolsicon = require("@symbo.ls/icon");
|
|
2
|
+
var $cMI0G$symbolsshape = require("@symbo.ls/shape");
|
|
3
|
+
var $cMI0G$symbolsblock = require("@symbo.ls/block");
|
|
4
|
+
|
|
5
|
+
function $parcel$export(e, n, v, s) {
|
|
6
|
+
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
$parcel$export(module.exports, "DatePicker", () => $349a00930b14e029$export$5109c6dd95d8fb00);
|
|
10
|
+
'use strict';
|
|
11
|
+
var $d8fb9e9c2f488331$export$2e2bcd8739ae039 = {
|
|
12
|
+
maxWidth: `${21}em`,
|
|
13
|
+
maxHeight: `${16.25}em`,
|
|
14
|
+
display: 'flex',
|
|
15
|
+
padding: '0 1em',
|
|
16
|
+
boxSizing: 'border-box',
|
|
17
|
+
borderRadius: '10px',
|
|
18
|
+
button: {
|
|
19
|
+
border: 'none',
|
|
20
|
+
outline: 'none',
|
|
21
|
+
background: 'transparent',
|
|
22
|
+
cursor: 'pointer'
|
|
23
|
+
},
|
|
24
|
+
aside: {
|
|
25
|
+
display: 'flex',
|
|
26
|
+
flexDirection: 'column',
|
|
27
|
+
overflowX: 'auto',
|
|
28
|
+
paddingRight: `${0.625}em`,
|
|
29
|
+
button: {
|
|
30
|
+
opacity: 0.5,
|
|
31
|
+
marginBottom: `${22 / 12}em`
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
main: {
|
|
35
|
+
flex: 1,
|
|
36
|
+
paddingTop: `${0.875}em`,
|
|
37
|
+
paddingBottom: `${0.625}em`,
|
|
38
|
+
overflow: 'hidden',
|
|
39
|
+
display: 'flex',
|
|
40
|
+
flexDirection: 'column',
|
|
41
|
+
'> header': {
|
|
42
|
+
display: 'flex',
|
|
43
|
+
alignItems: 'center',
|
|
44
|
+
height: 'auto',
|
|
45
|
+
overflow: 'hidden',
|
|
46
|
+
width: '100%',
|
|
47
|
+
padding: `0 ${0.5}em ${0.875}em ${0.5}em`,
|
|
48
|
+
boxSizing: 'border-box'
|
|
49
|
+
},
|
|
50
|
+
'> header > svg': {
|
|
51
|
+
cursor: 'pointer'
|
|
52
|
+
},
|
|
53
|
+
'> header > div': {
|
|
54
|
+
display: 'flex',
|
|
55
|
+
overflow: 'hidden',
|
|
56
|
+
flex: 1
|
|
57
|
+
},
|
|
58
|
+
'> header span': {
|
|
59
|
+
minWidth: '100%',
|
|
60
|
+
textTransform: 'capitalize',
|
|
61
|
+
textAlign: 'center',
|
|
62
|
+
fontWeight: 'bold'
|
|
63
|
+
},
|
|
64
|
+
section: {
|
|
65
|
+
flex: 1,
|
|
66
|
+
display: 'flex',
|
|
67
|
+
flexDirection: 'column'
|
|
68
|
+
},
|
|
69
|
+
'section > header': {
|
|
70
|
+
height: 'auto',
|
|
71
|
+
display: 'grid',
|
|
72
|
+
gridTemplateColumns: 'repeat(7, 1fr)',
|
|
73
|
+
gap: '6px',
|
|
74
|
+
paddingBottom: `${0.125}em`
|
|
75
|
+
},
|
|
76
|
+
'section > header span': {
|
|
77
|
+
textAlign: 'center',
|
|
78
|
+
fontWeight: 'bold'
|
|
79
|
+
},
|
|
80
|
+
'section > header span:nth-child(6)': {
|
|
81
|
+
opacity: 0.5
|
|
82
|
+
},
|
|
83
|
+
'section > header span:nth-child(7)': {
|
|
84
|
+
opacity: 0.5
|
|
85
|
+
},
|
|
86
|
+
'section > div': {
|
|
87
|
+
flex: 1,
|
|
88
|
+
display: 'grid',
|
|
89
|
+
gridTemplateColumns: 'repeat(7, 1fr)',
|
|
90
|
+
gap: '6px'
|
|
91
|
+
},
|
|
92
|
+
'section > div button': {
|
|
93
|
+
},
|
|
94
|
+
'section > div button:nth-child(7n)': {
|
|
95
|
+
opacity: 0.5
|
|
96
|
+
},
|
|
97
|
+
'section > div button:nth-child(7n - 1)': {
|
|
98
|
+
opacity: 0.5
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
};
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
'use strict';
|
|
108
|
+
const $349a00930b14e029$export$5109c6dd95d8fb00 = {
|
|
109
|
+
style: $d8fb9e9c2f488331$export$2e2bcd8739ae039,
|
|
110
|
+
proto: [
|
|
111
|
+
$cMI0G$symbolsshape.Shape,
|
|
112
|
+
$cMI0G$symbolsblock.Block
|
|
113
|
+
],
|
|
114
|
+
props: {
|
|
115
|
+
theme: 'lightDark',
|
|
116
|
+
padding: 'A',
|
|
117
|
+
round: 'Z',
|
|
118
|
+
depth: 16
|
|
119
|
+
},
|
|
120
|
+
aside: {
|
|
121
|
+
childProto: {
|
|
122
|
+
tag: 'button'
|
|
123
|
+
},
|
|
124
|
+
...[
|
|
125
|
+
{
|
|
126
|
+
text: '2020'
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
text: '2021'
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
text: '2022'
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
text: '2023'
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
text: '2024'
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
text: '2025'
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
text: '2026'
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
text: '2026'
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
text: '2026'
|
|
151
|
+
}
|
|
152
|
+
]
|
|
153
|
+
},
|
|
154
|
+
main: {
|
|
155
|
+
header: {
|
|
156
|
+
icon: {
|
|
157
|
+
proto: $cMI0G$symbolsicon.Icon,
|
|
158
|
+
props: {
|
|
159
|
+
icon: 'arrowMediumLeft'
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
month: {
|
|
163
|
+
childProto: {
|
|
164
|
+
tag: 'span'
|
|
165
|
+
},
|
|
166
|
+
...[
|
|
167
|
+
{
|
|
168
|
+
text: 'january'
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
text: 'february'
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
text: 'march'
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
text: 'april'
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
text: 'may'
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
text: 'june'
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
text: 'july'
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
text: 'august'
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
text: 'september'
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
text: 'october'
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
text: 'november'
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
text: 'december'
|
|
202
|
+
}
|
|
203
|
+
]
|
|
204
|
+
},
|
|
205
|
+
icon2: {
|
|
206
|
+
proto: $cMI0G$symbolsicon.Icon,
|
|
207
|
+
props: {
|
|
208
|
+
icon: 'arrowMediumRight'
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
days: {
|
|
213
|
+
tag: 'section',
|
|
214
|
+
header: {
|
|
215
|
+
childProto: {
|
|
216
|
+
tag: 'span'
|
|
217
|
+
},
|
|
218
|
+
...[
|
|
219
|
+
{
|
|
220
|
+
text: 'Mo'
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
text: 'Tu'
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
text: 'We'
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
text: 'Th'
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
text: 'Fr'
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
text: 'Sa'
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
text: 'Su'
|
|
239
|
+
}
|
|
240
|
+
]
|
|
241
|
+
},
|
|
242
|
+
content: {
|
|
243
|
+
childProto: {
|
|
244
|
+
tag: 'button'
|
|
245
|
+
},
|
|
246
|
+
...[
|
|
247
|
+
{
|
|
248
|
+
text: '1'
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
text: '2'
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
text: '3'
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
text: '4'
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
text: '5'
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
text: '6'
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
text: '7'
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
text: '8'
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
text: '9'
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
text: '10'
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
text: '11'
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
text: '12'
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
text: '13'
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
text: '14'
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
text: '15'
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
text: '16'
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
text: '17'
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
text: '18'
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
text: '19'
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
text: '20'
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
text: '21'
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
text: '22'
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
text: '23'
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
text: '24'
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
text: '25'
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
text: '26'
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
text: '27'
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
text: '28'
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
text: '29'
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
text: '30'
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
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BAAC,CAAC;oBACd,CAAC;wBAAC,IAAI,EAAE,CAAI;oBAAC,CAAC;oBACd,CAAC;wBAAC,IAAI,EAAE,CAAI;oBAAC,CAAC;oBACd,CAAC;wBAAC,IAAI,EAAE,CAAI;oBAAC,CAAC;oBACd,CAAC;wBAAC,IAAI,EAAE,CAAI;oBAAC,CAAC;oBACd,CAAC;wBAAC,IAAI,EAAE,CAAI;oBAAC,CAAC;gBAChB,CAAC;YACH,CAAC;QACH,CAAC;IACH,CAAC;AACH,CAAC","sources":["src/index.js","src/style.js"],"sourcesContent":["'use strict'\n\nimport style from './style'\n\nimport { Icon } from '@symbo.ls/icon'\nimport { Shape } from '@symbo.ls/shape'\nimport { Block } from '@symbo.ls/block'\n\nexport const DatePicker = {\n style,\n\n proto: [Shape, Block],\n props: {\n theme: 'lightDark',\n padding: 'A',\n round: 'Z',\n depth: 16\n },\n\n aside: {\n childProto: { tag: 'button' },\n ...[\n { text: '2020' },\n { text: '2021' },\n { text: '2022' },\n { text: '2023' },\n { text: '2024' },\n { text: '2025' },\n { text: '2026' },\n { text: '2026' },\n { text: '2026' }\n ]\n },\n\n main: {\n header: {\n icon: {\n proto: Icon,\n props: { icon: 'arrowMediumLeft' }\n },\n month: {\n childProto: { tag: 'span' },\n ...[\n { text: 'january' },\n { text: 'february' },\n { text: 'march' },\n { text: 'april' },\n { text: 'may' },\n { text: 'june' },\n { text: 'july' },\n { text: 'august' },\n { text: 'september' },\n { text: 'october' },\n { text: 'november' },\n { text: 'december' }\n ]\n },\n icon2: {\n proto: Icon,\n props: { icon: 'arrowMediumRight' }\n }\n },\n days: {\n tag: 'section',\n header: {\n childProto: { tag: 'span' },\n ...[\n { text: 'Mo' },\n { text: 'Tu' },\n { text: 'We' },\n { text: 'Th' },\n { text: 'Fr' },\n { text: 'Sa' },\n { text: 'Su' }\n ]\n },\n content: {\n childProto: { tag: 'button' },\n ...[\n { text: '1' },\n { text: '2' },\n { text: '3' },\n { text: '4' },\n { text: '5' },\n { text: '6' },\n { text: '7' },\n { text: '8' },\n { text: '9' },\n { text: '10' },\n { text: '11' },\n { text: '12' },\n { text: '13' },\n { text: '14' },\n { text: '15' },\n { text: '16' },\n { text: '17' },\n { text: '18' },\n { text: '19' },\n { text: '20' },\n { text: '21' },\n { text: '22' },\n { text: '23' },\n { text: '24' },\n { text: '25' },\n { text: '26' },\n { text: '27' },\n { text: '28' },\n { text: '29' },\n { text: '30' },\n { text: '31' }\n ]\n }\n }\n }\n}\n","'use strict'\n\nexport default {\n maxWidth: `${336 / 16}em`,\n maxHeight: `${260 / 16}em`,\n display: 'flex',\n padding: '0 1em',\n boxSizing: 'border-box',\n borderRadius: '10px',\n button: {\n border: 'none',\n outline: 'none',\n background: 'transparent',\n cursor: 'pointer'\n },\n\n aside: {\n display: 'flex',\n flexDirection: 'column',\n overflowX: 'auto',\n paddingRight: `${10 / 16}em`,\n\n button: {\n opacity: 0.5,\n marginBottom: `${22 / 12}em`\n }\n },\n\n main: {\n flex: 1,\n paddingTop: `${14 / 16}em`,\n paddingBottom: `${10 / 16}em`,\n overflow: 'hidden',\n\n display: 'flex',\n flexDirection: 'column',\n\n '> header': {\n display: 'flex',\n alignItems: 'center',\n height: 'auto',\n overflow: 'hidden',\n width: '100%',\n padding: `0 ${8 / 16}em ${14 / 16}em ${8 / 16}em`,\n boxSizing: 'border-box'\n },\n '> header > svg': {\n cursor: 'pointer'\n },\n\n '> header > div': {\n display: 'flex',\n overflow: 'hidden',\n flex: 1\n },\n '> header span': {\n minWidth: '100%',\n textTransform: 'capitalize',\n textAlign: 'center',\n fontWeight: 'bold'\n },\n\n section: {\n flex: 1,\n display: 'flex',\n flexDirection: 'column'\n },\n 'section > header': {\n height: 'auto',\n display: 'grid',\n gridTemplateColumns: 'repeat(7, 1fr)',\n gap: '6px',\n paddingBottom: `${2 / 16}em`\n },\n 'section > header span': {\n textAlign: 'center',\n fontWeight: 'bold'\n },\n 'section > header span:nth-child(6)': {\n opacity: 0.5\n },\n 'section > header span:nth-child(7)': {\n opacity: 0.5\n },\n 'section > div': {\n flex: 1,\n display: 'grid',\n gridTemplateColumns: 'repeat(7, 1fr)',\n gap: '6px'\n },\n 'section > div button': {\n },\n 'section > div button:nth-child(7n)': {\n opacity: 0.5\n },\n 'section > div button:nth-child(7n - 1)': {\n opacity: 0.5\n }\n }\n}\n"],"names":[],"version":3,"file":"index.js.map"}
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@symbo.ls/datepicker",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"main": "
|
|
3
|
+
"version": "0.5.10",
|
|
4
|
+
"main": "dist/index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"gitHead": "
|
|
6
|
+
"gitHead": "1755ec5a6ae1b8a1f1e4c3b63aa89c5337d63e35",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@symbo.ls/block": "^0.
|
|
9
|
-
"@symbo.ls/icon": "^0.
|
|
10
|
-
"@symbo.ls/shape": "^0.
|
|
8
|
+
"@symbo.ls/block": "^0.5.3",
|
|
9
|
+
"@symbo.ls/icon": "^0.5.3",
|
|
10
|
+
"@symbo.ls/shape": "^0.5.3"
|
|
11
11
|
}
|
|
12
12
|
}
|
package/packages/react/index.js
CHANGED
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
{
|
|
2
|
+
"systemParams": "darwin-x64-83",
|
|
3
|
+
"modulesFolders": [
|
|
4
|
+
"node_modules"
|
|
5
|
+
],
|
|
6
|
+
"flags": [],
|
|
7
|
+
"linkedModules": [
|
|
8
|
+
"@domql/cache",
|
|
9
|
+
"@domql/cookie",
|
|
10
|
+
"@domql/define",
|
|
11
|
+
"@domql/domql",
|
|
12
|
+
"@domql/element",
|
|
13
|
+
"@domql/emotion",
|
|
14
|
+
"@domql/event",
|
|
15
|
+
"@domql/id",
|
|
16
|
+
"@domql/mixins",
|
|
17
|
+
"@domql/node",
|
|
18
|
+
"@domql/object",
|
|
19
|
+
"@domql/parse",
|
|
20
|
+
"@domql/props",
|
|
21
|
+
"@domql/proto",
|
|
22
|
+
"@domql/react-transformer",
|
|
23
|
+
"@domql/report",
|
|
24
|
+
"@domql/router",
|
|
25
|
+
"@domql/state",
|
|
26
|
+
"@domql/tree",
|
|
27
|
+
"@domql/utils",
|
|
28
|
+
"@emotion/css",
|
|
29
|
+
"@rackai/classql",
|
|
30
|
+
"@rackai/domql",
|
|
31
|
+
"@rackai/editor",
|
|
32
|
+
"@rackai/scratch",
|
|
33
|
+
"@rackai/symbols",
|
|
34
|
+
"@symbo-ls/components",
|
|
35
|
+
"@symbo.ls/all",
|
|
36
|
+
"@symbo.ls/auth",
|
|
37
|
+
"@symbo.ls/config",
|
|
38
|
+
"@symbo.ls/fetch",
|
|
39
|
+
"@symbo.ls/grid-layouts",
|
|
40
|
+
"@symbo.ls/icons",
|
|
41
|
+
"@symbo.ls/loader",
|
|
42
|
+
"@symbo.ls/react",
|
|
43
|
+
"@symbo.ls/react-button",
|
|
44
|
+
"@symbo.ls/scratch",
|
|
45
|
+
"@symbols/all",
|
|
46
|
+
"@symbols/auth",
|
|
47
|
+
"@symbols/components",
|
|
48
|
+
"@symbols/config",
|
|
49
|
+
"@symbols/domql",
|
|
50
|
+
"@symbols/fetch",
|
|
51
|
+
"@symbols/icons",
|
|
52
|
+
"@symbols/loader",
|
|
53
|
+
"@symbols/scratch",
|
|
54
|
+
"@symbols/uikit",
|
|
55
|
+
"components",
|
|
56
|
+
"icons",
|
|
57
|
+
"react"
|
|
58
|
+
],
|
|
59
|
+
"topLevelPatterns": [
|
|
60
|
+
"@domql/react-transformer@^1.3.0",
|
|
61
|
+
"@symbo.ls/datepicker@^0.5.8"
|
|
62
|
+
],
|
|
63
|
+
"lockfileEntries": {
|
|
64
|
+
"@domql/cache@latest": "https://registry.yarnpkg.com/@domql/cache/-/cache-1.3.0.tgz#cbcbee018ed6536ca1fd9dd6de9a5f533e942971",
|
|
65
|
+
"@domql/cookie@latest": "https://registry.yarnpkg.com/@domql/cookie/-/cookie-1.3.0.tgz#d305bc3ea4c7470d60fa37046661b054d5903876",
|
|
66
|
+
"@domql/define@^1.3.3": "https://registry.yarnpkg.com/@domql/define/-/define-1.3.3.tgz#495588732843980d87b2e99dfa01477c7dea9a7b",
|
|
67
|
+
"@domql/define@latest": "https://registry.yarnpkg.com/@domql/define/-/define-1.3.3.tgz#495588732843980d87b2e99dfa01477c7dea9a7b",
|
|
68
|
+
"@domql/domql@^1.3.5": "https://registry.yarnpkg.com/@domql/domql/-/domql-1.3.5.tgz#2b151f78aa36a94c9d9a38742d188224b2de9885",
|
|
69
|
+
"@domql/element@^1.3.3": "https://registry.yarnpkg.com/@domql/element/-/element-1.3.3.tgz#1b7258a79b44426cdbb4eb588592effd9d9e77f1",
|
|
70
|
+
"@domql/element@latest": "https://registry.yarnpkg.com/@domql/element/-/element-1.3.3.tgz#1b7258a79b44426cdbb4eb588592effd9d9e77f1",
|
|
71
|
+
"@domql/event@^1.3.3": "https://registry.yarnpkg.com/@domql/event/-/event-1.3.5.tgz#1857fabf63e5a1de1917409f4fd028b1477d9f03",
|
|
72
|
+
"@domql/event@^1.3.5": "https://registry.yarnpkg.com/@domql/event/-/event-1.3.5.tgz#1857fabf63e5a1de1917409f4fd028b1477d9f03",
|
|
73
|
+
"@domql/event@latest": "https://registry.yarnpkg.com/@domql/event/-/event-1.3.5.tgz#1857fabf63e5a1de1917409f4fd028b1477d9f03",
|
|
74
|
+
"@domql/id@latest": "https://registry.yarnpkg.com/@domql/id/-/id-1.3.0.tgz#5b8dfd5af6ac952723411461b27ff3c726c2b15a",
|
|
75
|
+
"@domql/mixins@^1.3.3": "https://registry.yarnpkg.com/@domql/mixins/-/mixins-1.3.3.tgz#eb8524aeb6eb5a86a9465394c39d284c1896bb34",
|
|
76
|
+
"@domql/mixins@latest": "https://registry.yarnpkg.com/@domql/mixins/-/mixins-1.3.3.tgz#eb8524aeb6eb5a86a9465394c39d284c1896bb34",
|
|
77
|
+
"@domql/node@^1.3.5": "https://registry.yarnpkg.com/@domql/node/-/node-1.3.5.tgz#2c8251debecf156dd442525f7469ac966f72150e",
|
|
78
|
+
"@domql/node@latest": "https://registry.yarnpkg.com/@domql/node/-/node-1.3.5.tgz#2c8251debecf156dd442525f7469ac966f72150e",
|
|
79
|
+
"@domql/parse@latest": "https://registry.yarnpkg.com/@domql/parse/-/parse-1.3.3.tgz#91d6d8f40db0e772779e64151bc70fd7492174f3",
|
|
80
|
+
"@domql/props@latest": "https://registry.yarnpkg.com/@domql/props/-/props-1.3.3.tgz#4df455fa8a5852653a4c553b48b8e70919c87b96",
|
|
81
|
+
"@domql/proto@latest": "https://registry.yarnpkg.com/@domql/proto/-/proto-1.3.3.tgz#c7cc242aa104694aa764ac11d5624566e3a3c3f6",
|
|
82
|
+
"@domql/react-transformer@^1.3.0": "https://registry.yarnpkg.com/@domql/react-transformer/-/react-transformer-1.3.6.tgz#c43ce81f3e811996330c882d2784dd3d9ab37d72",
|
|
83
|
+
"@domql/report@^1.3.0": "https://registry.yarnpkg.com/@domql/report/-/report-1.3.0.tgz#8aa5112c0812518781ac8b7f6cee614d1ecd1ff5",
|
|
84
|
+
"@domql/report@latest": "https://registry.yarnpkg.com/@domql/report/-/report-1.3.0.tgz#8aa5112c0812518781ac8b7f6cee614d1ecd1ff5",
|
|
85
|
+
"@domql/state@latest": "https://registry.yarnpkg.com/@domql/state/-/state-1.3.3.tgz#cab78944b524321e707739fc4e9a712564e6fc97",
|
|
86
|
+
"@domql/tree@latest": "https://registry.yarnpkg.com/@domql/tree/-/tree-1.3.0.tgz#77613edc6a36ac0465aba7f9a89e7f70e35f3ba0",
|
|
87
|
+
"@domql/utils@^1.3.3": "https://registry.yarnpkg.com/@domql/utils/-/utils-1.3.5.tgz#b886541fd089430831b1f6ab9e1f3ac2a99e3290",
|
|
88
|
+
"@domql/utils@^1.3.5": "https://registry.yarnpkg.com/@domql/utils/-/utils-1.3.5.tgz#b886541fd089430831b1f6ab9e1f3ac2a99e3290",
|
|
89
|
+
"@domql/utils@latest": "https://registry.yarnpkg.com/@domql/utils/-/utils-1.3.5.tgz#b886541fd089430831b1f6ab9e1f3ac2a99e3290",
|
|
90
|
+
"@symbo.ls/block@^0.5.3": "https://registry.yarnpkg.com/@symbo.ls/block/-/block-0.5.3.tgz#a1856bb277f99cf1cf3e42acb0c79a6125408fb9",
|
|
91
|
+
"@symbo.ls/datepicker@^0.5.8": "https://registry.yarnpkg.com/@symbo.ls/datepicker/-/datepicker-0.5.3.tgz#11750c12e43e9ed14636872450a635c4b9444fbd",
|
|
92
|
+
"@symbo.ls/icon@^0.5.3": "https://registry.yarnpkg.com/@symbo.ls/icon/-/icon-0.5.3.tgz#99d0a23e14d5a09b02f3796eafa185b96bed63cd",
|
|
93
|
+
"@symbo.ls/shape@^0.5.3": "https://registry.yarnpkg.com/@symbo.ls/shape/-/shape-0.5.3.tgz#186e0035bc29d372ed444306b9bd2b3a10a36dbc",
|
|
94
|
+
"@symbo.ls/svg@^0.5.3": "https://registry.yarnpkg.com/@symbo.ls/svg/-/svg-0.5.3.tgz#3d17f001ac0f463d63ad7b67afbb9148c4cd8431",
|
|
95
|
+
"js-tokens@^3.0.0 || ^4.0.0": "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499",
|
|
96
|
+
"loose-envify@^1.1.0": "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf",
|
|
97
|
+
"object-assign@^4.1.1": "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863",
|
|
98
|
+
"react-dom@^17.0.2": "https://registry.yarnpkg.com/react-dom/-/react-dom-17.0.2.tgz#ecffb6845e3ad8dbfcdc498f0d0a939736502c23",
|
|
99
|
+
"react@^17.0.2": "https://registry.yarnpkg.com/react/-/react-17.0.2.tgz#d0b5cc516d29eb3eee383f75b62864cfb6800037",
|
|
100
|
+
"regenerator-runtime@^0.13.9": "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz#8925742a98ffd90814988d7566ad30ca3b263b52",
|
|
101
|
+
"scheduler@^0.20.2": "https://registry.yarnpkg.com/scheduler/-/scheduler-0.20.2.tgz#4baee39436e34aa93b4874bddcbf0fe8b8b50e91"
|
|
102
|
+
},
|
|
103
|
+
"files": [],
|
|
104
|
+
"artifacts": {}
|
|
105
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2016 rackai
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
File without changes
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2016 rackai
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
'use strict'
|
|
2
|
+
|
|
3
|
+
export const isMobile = (() => /Mobi/.test(navigator.userAgent))()
|
|
4
|
+
|
|
5
|
+
export const setCookie = (cname, cvalue, exdays = 365) => {
|
|
6
|
+
const d = new Date()
|
|
7
|
+
d.setTime(d.getTime() + (exdays * 24 * 60 * 60 * 1000))
|
|
8
|
+
const expires = `expires=${d.toUTCString()}`
|
|
9
|
+
document.cookie = `${cname}=${cvalue};${expires};path=/`
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export const getCookie = (cname) => {
|
|
13
|
+
const name = `${cname}=`
|
|
14
|
+
const decodedCookie = decodeURIComponent(document.cookie)
|
|
15
|
+
const ca = decodedCookie.split(';')
|
|
16
|
+
for (let i = 0; i < ca.length; i++) {
|
|
17
|
+
let c = ca[i]
|
|
18
|
+
while (c.charAt(0) === ' ') c = c.substring(1)
|
|
19
|
+
if (c.indexOf(name) === 0) return c.substring(name.length, c.length)
|
|
20
|
+
}
|
|
21
|
+
return ''
|
|
22
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2016 rackai
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
'use strict'
|
|
2
|
+
|
|
3
|
+
import { registry } from '@domql/mixins'
|
|
4
|
+
import { report } from '@domql/report'
|
|
5
|
+
|
|
6
|
+
export const define = (params, options = {}) => {
|
|
7
|
+
const { overwrite } = options
|
|
8
|
+
for (const param in params) {
|
|
9
|
+
if (registry[param] && !overwrite) {
|
|
10
|
+
report('OverwriteToBuiltin', param)
|
|
11
|
+
} else registry[param] = params[param]
|
|
12
|
+
}
|
|
13
|
+
return registry
|
|
14
|
+
}
|