@itcase/ui 1.0.10 → 1.0.13
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/components/Avatar.js +4 -2
- package/dist/components/Chips.js +2 -0
- package/dist/components/Choice.js +118 -0
- package/dist/components/DatePicker.js +10201 -0
- package/dist/components/Empty.js +95 -0
- package/dist/components/FormField.js +1 -1
- package/dist/components/Grid.js +8 -14
- package/dist/components/Input.js +2 -0
- package/dist/components/Label.js +0 -5
- package/dist/components/Logo.js +4 -4
- package/dist/components/Modal.js +3 -3
- package/dist/components/RangeSlider.js +7 -1978
- package/dist/components/Scrollbar.js +5 -3826
- package/dist/components/Search.js +4 -5
- package/dist/components/Segmented.js +5 -1
- package/dist/components/Select.js +348 -270
- package/dist/components/Swiper.js +4208 -188
- package/dist/components/Switch.js +3 -2
- package/dist/components/Tab.js +0 -1
- package/dist/components/Textarea.js +5 -1
- package/dist/components/Tile.js +0 -3
- package/dist/css/components/Choice/Choice.css +73 -0
- package/dist/css/components/DatePicker/DatePicker.css +924 -0
- package/dist/css/components/Empty/Empty.css +13 -0
- package/dist/css/components/Input/Input.css +12 -4
- package/dist/css/components/Segmented/Segmented.css +16 -0
- package/dist/css/components/Select/Select.css +11 -4
- package/dist/css/components/Select/css/__menu/select__menu.css +7 -3
- package/dist/css/components/Swiper/Swiper.css +128 -83
- package/dist/css/styles/fill/fill.css +4 -4
- package/dist/css/styles/fill/fill_active.css +5 -5
- package/dist/defineProperty-f9e5e1f3.js +166 -0
- package/dist/hooks/styleAttributes.js +5 -1
- package/package.json +30 -27
- package/dist/components/Emoji.js +0 -124
- package/dist/components/Profile.js +0 -105
- package/dist/css/components/Emoji/Emoji.css +0 -104
- package/dist/css/components/Emoji/css/__icon/emoji__icon-shape.css +0 -12
- package/dist/css/components/Emoji/css/__icon/emoji__icon.css +0 -5
- package/dist/css/components/Profile/Profile.css +0 -19
- package/dist/objectWithoutProperties-ea190611.js +0 -188
|
@@ -1,188 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
function _extends() {
|
|
4
|
-
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
5
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
6
|
-
var source = arguments[i];
|
|
7
|
-
for (var key in source) {
|
|
8
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
9
|
-
target[key] = source[key];
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
return target;
|
|
14
|
-
};
|
|
15
|
-
return _extends.apply(this, arguments);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
function _typeof(obj) {
|
|
19
|
-
"@babel/helpers - typeof";
|
|
20
|
-
|
|
21
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
22
|
-
return typeof obj;
|
|
23
|
-
} : function (obj) {
|
|
24
|
-
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
25
|
-
}, _typeof(obj);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
function _toPrimitive(input, hint) {
|
|
29
|
-
if (_typeof(input) !== "object" || input === null) return input;
|
|
30
|
-
var prim = input[Symbol.toPrimitive];
|
|
31
|
-
if (prim !== undefined) {
|
|
32
|
-
var res = prim.call(input, hint || "default");
|
|
33
|
-
if (_typeof(res) !== "object") return res;
|
|
34
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
35
|
-
}
|
|
36
|
-
return (hint === "string" ? String : Number)(input);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
function _toPropertyKey(arg) {
|
|
40
|
-
var key = _toPrimitive(arg, "string");
|
|
41
|
-
return _typeof(key) === "symbol" ? key : String(key);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
function _defineProperty(obj, key, value) {
|
|
45
|
-
key = _toPropertyKey(key);
|
|
46
|
-
if (key in obj) {
|
|
47
|
-
Object.defineProperty(obj, key, {
|
|
48
|
-
value: value,
|
|
49
|
-
enumerable: true,
|
|
50
|
-
configurable: true,
|
|
51
|
-
writable: true
|
|
52
|
-
});
|
|
53
|
-
} else {
|
|
54
|
-
obj[key] = value;
|
|
55
|
-
}
|
|
56
|
-
return obj;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
function ownKeys(object, enumerableOnly) {
|
|
60
|
-
var keys = Object.keys(object);
|
|
61
|
-
if (Object.getOwnPropertySymbols) {
|
|
62
|
-
var symbols = Object.getOwnPropertySymbols(object);
|
|
63
|
-
enumerableOnly && (symbols = symbols.filter(function (sym) {
|
|
64
|
-
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
65
|
-
})), keys.push.apply(keys, symbols);
|
|
66
|
-
}
|
|
67
|
-
return keys;
|
|
68
|
-
}
|
|
69
|
-
function _objectSpread2(target) {
|
|
70
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
71
|
-
var source = null != arguments[i] ? arguments[i] : {};
|
|
72
|
-
i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {
|
|
73
|
-
_defineProperty(target, key, source[key]);
|
|
74
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {
|
|
75
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
76
|
-
});
|
|
77
|
-
}
|
|
78
|
-
return target;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
function _arrayLikeToArray(arr, len) {
|
|
82
|
-
if (len == null || len > arr.length) len = arr.length;
|
|
83
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
84
|
-
return arr2;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
function _arrayWithoutHoles(arr) {
|
|
88
|
-
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
function _iterableToArray(iter) {
|
|
92
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
function _unsupportedIterableToArray(o, minLen) {
|
|
96
|
-
if (!o) return;
|
|
97
|
-
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
|
98
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
99
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
100
|
-
if (n === "Map" || n === "Set") return Array.from(o);
|
|
101
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
function _nonIterableSpread() {
|
|
105
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
function _toConsumableArray(arr) {
|
|
109
|
-
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
function _arrayWithHoles(arr) {
|
|
113
|
-
if (Array.isArray(arr)) return arr;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
function _iterableToArrayLimit(arr, i) {
|
|
117
|
-
var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
|
|
118
|
-
if (null != _i) {
|
|
119
|
-
var _s,
|
|
120
|
-
_e,
|
|
121
|
-
_x,
|
|
122
|
-
_r,
|
|
123
|
-
_arr = [],
|
|
124
|
-
_n = !0,
|
|
125
|
-
_d = !1;
|
|
126
|
-
try {
|
|
127
|
-
if (_x = (_i = _i.call(arr)).next, 0 === i) {
|
|
128
|
-
if (Object(_i) !== _i) return;
|
|
129
|
-
_n = !1;
|
|
130
|
-
} else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);
|
|
131
|
-
} catch (err) {
|
|
132
|
-
_d = !0, _e = err;
|
|
133
|
-
} finally {
|
|
134
|
-
try {
|
|
135
|
-
if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return;
|
|
136
|
-
} finally {
|
|
137
|
-
if (_d) throw _e;
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
return _arr;
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
function _nonIterableRest() {
|
|
145
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
function _slicedToArray(arr, i) {
|
|
149
|
-
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
153
|
-
if (source == null) return {};
|
|
154
|
-
var target = {};
|
|
155
|
-
var sourceKeys = Object.keys(source);
|
|
156
|
-
var key, i;
|
|
157
|
-
for (i = 0; i < sourceKeys.length; i++) {
|
|
158
|
-
key = sourceKeys[i];
|
|
159
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
160
|
-
target[key] = source[key];
|
|
161
|
-
}
|
|
162
|
-
return target;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
function _objectWithoutProperties(source, excluded) {
|
|
166
|
-
if (source == null) return {};
|
|
167
|
-
var target = _objectWithoutPropertiesLoose(source, excluded);
|
|
168
|
-
var key, i;
|
|
169
|
-
if (Object.getOwnPropertySymbols) {
|
|
170
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
171
|
-
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
|
172
|
-
key = sourceSymbolKeys[i];
|
|
173
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
174
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
175
|
-
target[key] = source[key];
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
return target;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
exports._defineProperty = _defineProperty;
|
|
182
|
-
exports._extends = _extends;
|
|
183
|
-
exports._objectSpread2 = _objectSpread2;
|
|
184
|
-
exports._objectWithoutProperties = _objectWithoutProperties;
|
|
185
|
-
exports._slicedToArray = _slicedToArray;
|
|
186
|
-
exports._toConsumableArray = _toConsumableArray;
|
|
187
|
-
exports._toPropertyKey = _toPropertyKey;
|
|
188
|
-
exports._typeof = _typeof;
|