@vchasno/ui-kit 0.2.16 → 0.2.18
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/Datepicker/types/components/ProjectsPopover/ProductLink.d.ts +1 -0
- package/dist/Datepicker/types/components/ProjectsPopover/utils.d.ts +2 -1
- package/dist/ProjectsPopover/index.cjs.js +47 -66
- package/dist/ProjectsPopover/index.cjs.js.map +1 -1
- package/dist/ProjectsPopover/index.d.ts +1 -0
- package/dist/ProjectsPopover/index.js +47 -66
- package/dist/ProjectsPopover/index.js.map +1 -1
- package/dist/ProjectsPopover/types/components/ProjectsPopover/ProductLink.d.ts +1 -0
- package/dist/ProjectsPopover/types/components/ProjectsPopover/utils.d.ts +2 -1
- package/dist/Select/index.cjs.js +95 -138
- package/dist/Select/index.cjs.js.map +1 -1
- package/dist/Select/index.js +95 -138
- package/dist/Select/index.js.map +1 -1
- package/dist/Select/types/components/ProjectsPopover/ProductLink.d.ts +1 -0
- package/dist/Select/types/components/ProjectsPopover/utils.d.ts +2 -1
- package/dist/SelectCreatable/index.cjs.js +95 -138
- package/dist/SelectCreatable/index.cjs.js.map +1 -1
- package/dist/SelectCreatable/index.js +95 -138
- package/dist/SelectCreatable/index.js.map +1 -1
- package/dist/SelectCreatable/types/components/ProjectsPopover/ProductLink.d.ts +1 -0
- package/dist/SelectCreatable/types/components/ProjectsPopover/utils.d.ts +2 -1
- package/dist/index.js +39 -59
- package/dist/index.js.map +1 -1
- package/dist/types/components/ProjectsPopover/ProductLink.d.ts +1 -0
- package/dist/types/components/ProjectsPopover/utils.d.ts +2 -1
- package/package.json +3 -3
package/dist/Select/index.js
CHANGED
|
@@ -73,19 +73,13 @@ function toPropertyKey(t) {
|
|
|
73
73
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
-
function _defineProperty(
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
writable: true
|
|
84
|
-
});
|
|
85
|
-
} else {
|
|
86
|
-
obj[key] = value;
|
|
87
|
-
}
|
|
88
|
-
return obj;
|
|
76
|
+
function _defineProperty(e, r, t) {
|
|
77
|
+
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
78
|
+
value: t,
|
|
79
|
+
enumerable: !0,
|
|
80
|
+
configurable: !0,
|
|
81
|
+
writable: !0
|
|
82
|
+
}) : e[r] = t, e;
|
|
89
83
|
}
|
|
90
84
|
|
|
91
85
|
function ownKeys(e, r) {
|
|
@@ -110,8 +104,8 @@ function _objectSpread2(e) {
|
|
|
110
104
|
return e;
|
|
111
105
|
}
|
|
112
106
|
|
|
113
|
-
function _arrayWithHoles(
|
|
114
|
-
if (Array.isArray(
|
|
107
|
+
function _arrayWithHoles(r) {
|
|
108
|
+
if (Array.isArray(r)) return r;
|
|
115
109
|
}
|
|
116
110
|
|
|
117
111
|
function _iterableToArrayLimit(r, l) {
|
|
@@ -142,55 +136,48 @@ function _iterableToArrayLimit(r, l) {
|
|
|
142
136
|
}
|
|
143
137
|
}
|
|
144
138
|
|
|
145
|
-
function _arrayLikeToArray(
|
|
146
|
-
|
|
147
|
-
for (var
|
|
148
|
-
return
|
|
139
|
+
function _arrayLikeToArray(r, a) {
|
|
140
|
+
(null == a || a > r.length) && (a = r.length);
|
|
141
|
+
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
142
|
+
return n;
|
|
149
143
|
}
|
|
150
144
|
|
|
151
|
-
function _unsupportedIterableToArray(
|
|
152
|
-
if (
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
|
145
|
+
function _unsupportedIterableToArray(r, a) {
|
|
146
|
+
if (r) {
|
|
147
|
+
if ("string" == typeof r) return _arrayLikeToArray(r, a);
|
|
148
|
+
var t = {}.toString.call(r).slice(8, -1);
|
|
149
|
+
return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
|
|
150
|
+
}
|
|
158
151
|
}
|
|
159
152
|
|
|
160
153
|
function _nonIterableRest() {
|
|
161
154
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
162
155
|
}
|
|
163
156
|
|
|
164
|
-
function _slicedToArray(
|
|
165
|
-
return _arrayWithHoles(
|
|
157
|
+
function _slicedToArray(r, e) {
|
|
158
|
+
return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
|
|
166
159
|
}
|
|
167
160
|
|
|
168
|
-
function _objectWithoutPropertiesLoose(
|
|
169
|
-
if (
|
|
170
|
-
var
|
|
171
|
-
for (var
|
|
172
|
-
if (
|
|
173
|
-
|
|
174
|
-
target[key] = source[key];
|
|
175
|
-
}
|
|
161
|
+
function _objectWithoutPropertiesLoose(r, e) {
|
|
162
|
+
if (null == r) return {};
|
|
163
|
+
var t = {};
|
|
164
|
+
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
165
|
+
if (e.includes(n)) continue;
|
|
166
|
+
t[n] = r[n];
|
|
176
167
|
}
|
|
177
|
-
return
|
|
168
|
+
return t;
|
|
178
169
|
}
|
|
179
170
|
|
|
180
|
-
function _objectWithoutProperties(
|
|
181
|
-
if (
|
|
182
|
-
var
|
|
183
|
-
|
|
171
|
+
function _objectWithoutProperties(e, t) {
|
|
172
|
+
if (null == e) return {};
|
|
173
|
+
var o,
|
|
174
|
+
r,
|
|
175
|
+
i = _objectWithoutPropertiesLoose(e, t);
|
|
184
176
|
if (Object.getOwnPropertySymbols) {
|
|
185
|
-
var
|
|
186
|
-
for (
|
|
187
|
-
key = sourceSymbolKeys[i];
|
|
188
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
189
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
190
|
-
target[key] = source[key];
|
|
191
|
-
}
|
|
177
|
+
var s = Object.getOwnPropertySymbols(e);
|
|
178
|
+
for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
|
192
179
|
}
|
|
193
|
-
return
|
|
180
|
+
return i;
|
|
194
181
|
}
|
|
195
182
|
|
|
196
183
|
var _excluded$6 = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
|
|
@@ -261,74 +248,54 @@ function useStateManager(_ref) {
|
|
|
261
248
|
}
|
|
262
249
|
|
|
263
250
|
function _extends() {
|
|
264
|
-
_extends = Object.assign ? Object.assign.bind() : function (
|
|
265
|
-
for (var
|
|
266
|
-
var
|
|
267
|
-
for (var
|
|
268
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
269
|
-
target[key] = source[key];
|
|
270
|
-
}
|
|
271
|
-
}
|
|
251
|
+
return _extends = Object.assign ? Object.assign.bind() : function (n) {
|
|
252
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
253
|
+
var t = arguments[e];
|
|
254
|
+
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
272
255
|
}
|
|
273
|
-
return
|
|
274
|
-
};
|
|
275
|
-
return _extends.apply(this, arguments);
|
|
256
|
+
return n;
|
|
257
|
+
}, _extends.apply(null, arguments);
|
|
276
258
|
}
|
|
277
259
|
|
|
278
|
-
function _classCallCheck(
|
|
279
|
-
if (!(
|
|
280
|
-
throw new TypeError("Cannot call a class as a function");
|
|
281
|
-
}
|
|
260
|
+
function _classCallCheck(a, n) {
|
|
261
|
+
if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
|
|
282
262
|
}
|
|
283
263
|
|
|
284
|
-
function _defineProperties(
|
|
285
|
-
for (var
|
|
286
|
-
var
|
|
287
|
-
|
|
288
|
-
descriptor.configurable = true;
|
|
289
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
290
|
-
Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor);
|
|
264
|
+
function _defineProperties(e, r) {
|
|
265
|
+
for (var t = 0; t < r.length; t++) {
|
|
266
|
+
var o = r[t];
|
|
267
|
+
o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, toPropertyKey(o.key), o);
|
|
291
268
|
}
|
|
292
269
|
}
|
|
293
|
-
function _createClass(
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
writable: false
|
|
298
|
-
});
|
|
299
|
-
return Constructor;
|
|
270
|
+
function _createClass(e, r, t) {
|
|
271
|
+
return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
|
|
272
|
+
writable: !1
|
|
273
|
+
}), e;
|
|
300
274
|
}
|
|
301
275
|
|
|
302
|
-
function _setPrototypeOf(
|
|
303
|
-
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
};
|
|
307
|
-
return _setPrototypeOf(o, p);
|
|
276
|
+
function _setPrototypeOf(t, e) {
|
|
277
|
+
return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
|
|
278
|
+
return t.__proto__ = e, t;
|
|
279
|
+
}, _setPrototypeOf(t, e);
|
|
308
280
|
}
|
|
309
281
|
|
|
310
|
-
function _inherits(
|
|
311
|
-
if (typeof
|
|
312
|
-
|
|
313
|
-
}
|
|
314
|
-
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
282
|
+
function _inherits(t, e) {
|
|
283
|
+
if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
|
|
284
|
+
t.prototype = Object.create(e && e.prototype, {
|
|
315
285
|
constructor: {
|
|
316
|
-
value:
|
|
317
|
-
writable:
|
|
318
|
-
configurable:
|
|
286
|
+
value: t,
|
|
287
|
+
writable: !0,
|
|
288
|
+
configurable: !0
|
|
319
289
|
}
|
|
320
|
-
})
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
});
|
|
324
|
-
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
290
|
+
}), Object.defineProperty(t, "prototype", {
|
|
291
|
+
writable: !1
|
|
292
|
+
}), e && _setPrototypeOf(t, e);
|
|
325
293
|
}
|
|
326
294
|
|
|
327
|
-
function _getPrototypeOf(
|
|
328
|
-
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function
|
|
329
|
-
return
|
|
330
|
-
};
|
|
331
|
-
return _getPrototypeOf(o);
|
|
295
|
+
function _getPrototypeOf(t) {
|
|
296
|
+
return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) {
|
|
297
|
+
return t.__proto__ || Object.getPrototypeOf(t);
|
|
298
|
+
}, _getPrototypeOf(t);
|
|
332
299
|
}
|
|
333
300
|
|
|
334
301
|
function _isNativeReflectConstruct() {
|
|
@@ -340,51 +307,44 @@ function _isNativeReflectConstruct() {
|
|
|
340
307
|
})();
|
|
341
308
|
}
|
|
342
309
|
|
|
343
|
-
function _assertThisInitialized(
|
|
344
|
-
if (
|
|
345
|
-
|
|
346
|
-
}
|
|
347
|
-
return self;
|
|
310
|
+
function _assertThisInitialized(e) {
|
|
311
|
+
if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
312
|
+
return e;
|
|
348
313
|
}
|
|
349
314
|
|
|
350
|
-
function _possibleConstructorReturn(
|
|
351
|
-
if (
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
throw new TypeError("Derived constructors may only return object or undefined");
|
|
355
|
-
}
|
|
356
|
-
return _assertThisInitialized(self);
|
|
315
|
+
function _possibleConstructorReturn(t, e) {
|
|
316
|
+
if (e && ("object" == _typeof(e) || "function" == typeof e)) return e;
|
|
317
|
+
if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
|
|
318
|
+
return _assertThisInitialized(t);
|
|
357
319
|
}
|
|
358
320
|
|
|
359
|
-
function _createSuper(
|
|
360
|
-
var
|
|
361
|
-
return function
|
|
362
|
-
var
|
|
363
|
-
|
|
364
|
-
if (
|
|
365
|
-
var
|
|
366
|
-
|
|
367
|
-
} else
|
|
368
|
-
|
|
369
|
-
}
|
|
370
|
-
return _possibleConstructorReturn(this, result);
|
|
321
|
+
function _createSuper(t) {
|
|
322
|
+
var r = _isNativeReflectConstruct();
|
|
323
|
+
return function () {
|
|
324
|
+
var e,
|
|
325
|
+
o = _getPrototypeOf(t);
|
|
326
|
+
if (r) {
|
|
327
|
+
var s = _getPrototypeOf(this).constructor;
|
|
328
|
+
e = Reflect.construct(o, arguments, s);
|
|
329
|
+
} else e = o.apply(this, arguments);
|
|
330
|
+
return _possibleConstructorReturn(this, e);
|
|
371
331
|
};
|
|
372
332
|
}
|
|
373
333
|
|
|
374
|
-
function _arrayWithoutHoles(
|
|
375
|
-
if (Array.isArray(
|
|
334
|
+
function _arrayWithoutHoles(r) {
|
|
335
|
+
if (Array.isArray(r)) return _arrayLikeToArray(r);
|
|
376
336
|
}
|
|
377
337
|
|
|
378
|
-
function _iterableToArray(
|
|
379
|
-
if (typeof Symbol
|
|
338
|
+
function _iterableToArray(r) {
|
|
339
|
+
if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
|
|
380
340
|
}
|
|
381
341
|
|
|
382
342
|
function _nonIterableSpread() {
|
|
383
343
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
384
344
|
}
|
|
385
345
|
|
|
386
|
-
function _toConsumableArray(
|
|
387
|
-
return _arrayWithoutHoles(
|
|
346
|
+
function _toConsumableArray(r) {
|
|
347
|
+
return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
|
|
388
348
|
}
|
|
389
349
|
|
|
390
350
|
/*
|
|
@@ -3185,13 +3145,10 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
3185
3145
|
}
|
|
3186
3146
|
}
|
|
3187
3147
|
|
|
3188
|
-
function _taggedTemplateLiteral(
|
|
3189
|
-
|
|
3190
|
-
raw = strings.slice(0);
|
|
3191
|
-
}
|
|
3192
|
-
return Object.freeze(Object.defineProperties(strings, {
|
|
3148
|
+
function _taggedTemplateLiteral(e, t) {
|
|
3149
|
+
return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, {
|
|
3193
3150
|
raw: {
|
|
3194
|
-
value: Object.freeze(
|
|
3151
|
+
value: Object.freeze(t)
|
|
3195
3152
|
}
|
|
3196
3153
|
}));
|
|
3197
3154
|
}
|