@popsure/dirty-swan 0.28.4 → 0.28.5
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/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/components/autocompleteAddress/demo.js +1 -1
- package/dist/esm/components/autocompleteAddress/index.js +1 -1
- package/dist/esm/components/autocompleteAddress/index.test.js +1 -1
- package/dist/esm/components/input/autoSuggestInput/index.js +1 -1
- package/dist/esm/components/input/autoSuggestMultiSelect/index.js +1 -1
- package/dist/esm/components/input/currency/index.js +1 -1
- package/dist/esm/components/input/currency/index.test.js +1 -1
- package/dist/esm/components/input/iban/index.js +1 -1
- package/dist/esm/components/input/index.js +1 -1
- package/dist/esm/components/multiDropzone/index.js +1 -1
- package/dist/esm/components/multiDropzone/index.test.js +1 -1
- package/dist/esm/{index-a5a71d5e.js → index-fb46adf9.js} +2 -2
- package/dist/esm/index-fb46adf9.js.map +1 -0
- package/dist/esm/index.js +1 -1
- package/package.json +1 -1
- package/src/lib/util/generateId/index.ts +1 -1
- package/dist/esm/index-a5a71d5e.js.map +0 -1
|
@@ -6,7 +6,7 @@ import '../../index-e9e37a34.js';
|
|
|
6
6
|
import '../../index-1463d5e9.js';
|
|
7
7
|
import '../../_commonjsHelpers-e7f67fd8.js';
|
|
8
8
|
import '../input/index.js';
|
|
9
|
-
import '../../index-
|
|
9
|
+
import '../../index-fb46adf9.js';
|
|
10
10
|
import '../../style-inject.es-1f59c1d0.js';
|
|
11
11
|
|
|
12
12
|
var WithoutAddress = function () {
|
|
@@ -6,7 +6,7 @@ import { l as lodash_debounce } from '../../index-1463d5e9.js';
|
|
|
6
6
|
import { c as commonjsGlobal } from '../../_commonjsHelpers-e7f67fd8.js';
|
|
7
7
|
import Input from '../input/index.js';
|
|
8
8
|
import { s as styleInject } from '../../style-inject.es-1f59c1d0.js';
|
|
9
|
-
import '../../index-
|
|
9
|
+
import '../../index-fb46adf9.js';
|
|
10
10
|
|
|
11
11
|
var lodash_isequal = {exports: {}};
|
|
12
12
|
|
|
@@ -9,7 +9,7 @@ import 'react-dom/test-utils';
|
|
|
9
9
|
import '../../index-e9e37a34.js';
|
|
10
10
|
import '../../index-1463d5e9.js';
|
|
11
11
|
import '../input/index.js';
|
|
12
|
-
import '../../index-
|
|
12
|
+
import '../../index-fb46adf9.js';
|
|
13
13
|
import '../../style-inject.es-1f59c1d0.js';
|
|
14
14
|
|
|
15
15
|
var address = {
|
|
@@ -6,7 +6,7 @@ import { p as propTypes } from '../../../index-171a0108.js';
|
|
|
6
6
|
import { s as styleInject } from '../../../style-inject.es-1f59c1d0.js';
|
|
7
7
|
import Input from '../index.js';
|
|
8
8
|
import '../../../index-dd80248b.js';
|
|
9
|
-
import '../../../index-
|
|
9
|
+
import '../../../index-fb46adf9.js';
|
|
10
10
|
|
|
11
11
|
var Autosuggest = {};
|
|
12
12
|
|
|
@@ -8,7 +8,7 @@ import '../../../index-e9e37a34.js';
|
|
|
8
8
|
import '../../../index-171a0108.js';
|
|
9
9
|
import '../../../index-dd80248b.js';
|
|
10
10
|
import '../index.js';
|
|
11
|
-
import '../../../index-
|
|
11
|
+
import '../../../index-fb46adf9.js';
|
|
12
12
|
|
|
13
13
|
var css_248z = ".style-module_chip-container__26s37 {\n display: flex;\n flex-wrap: wrap;\n}";
|
|
14
14
|
var styles = {"chip-container":"style-module_chip-container__26s37"};
|
|
@@ -3,7 +3,7 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
3
3
|
import { useState, useEffect } from 'react';
|
|
4
4
|
import Input from '../index.js';
|
|
5
5
|
import '../../../index-e9e37a34.js';
|
|
6
|
-
import '../../../index-
|
|
6
|
+
import '../../../index-fb46adf9.js';
|
|
7
7
|
import '../../../style-inject.es-1f59c1d0.js';
|
|
8
8
|
|
|
9
9
|
var formatInput = function (input) {
|
|
@@ -8,7 +8,7 @@ import '../../../_commonjsHelpers-e7f67fd8.js';
|
|
|
8
8
|
import 'react-dom/test-utils';
|
|
9
9
|
import '../index.js';
|
|
10
10
|
import '../../../index-e9e37a34.js';
|
|
11
|
-
import '../../../index-
|
|
11
|
+
import '../../../index-fb46adf9.js';
|
|
12
12
|
import '../../../style-inject.es-1f59c1d0.js';
|
|
13
13
|
|
|
14
14
|
var setup = function () {
|
|
@@ -3,7 +3,7 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
3
3
|
import Input from '../index.js';
|
|
4
4
|
import 'react';
|
|
5
5
|
import '../../../index-e9e37a34.js';
|
|
6
|
-
import '../../../index-
|
|
6
|
+
import '../../../index-fb46adf9.js';
|
|
7
7
|
import '../../../style-inject.es-1f59c1d0.js';
|
|
8
8
|
|
|
9
9
|
var IBAN_CHAR_LIMIT = 4;
|
|
@@ -2,7 +2,7 @@ import { a as __rest, _ as __assign } from '../../tslib.es6-5bc94358.js';
|
|
|
2
2
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
3
|
import React__default, { useState } from 'react';
|
|
4
4
|
import { c as classnames } from '../../index-e9e37a34.js';
|
|
5
|
-
import { g as generateId } from '../../index-
|
|
5
|
+
import { g as generateId } from '../../index-fb46adf9.js';
|
|
6
6
|
import { s as styleInject } from '../../style-inject.es-1f59c1d0.js';
|
|
7
7
|
|
|
8
8
|
var css_248z = ".style-module_container__2L4SP {\n position: relative;\n}\n\n.style-module_prefix__3jAFZ {\n position: absolute;\n left: 16px;\n top: 50%;\n transform: translateY(-50%);\n color: var(--ds-grey-500);\n transition: 0.3s top;\n}\n.style-module_prefix--with-error__1yTTM {\n color: var(--ds-red-500);\n}\n.style-module_prefix--disabled__2-gcw {\n color: var(--ds-grey-600);\n}\n\n.style-module_input__1eJO5:not(:placeholder-shown) ~ .style-module_placeholder__1U2z0,\n.style-module_input__1eJO5:focus ~ .style-module_placeholder__1U2z0 {\n top: 7px;\n left: 16px;\n transform: translateY(0);\n font-size: 10px;\n line-height: 12px;\n opacity: 1;\n}\n\n.style-module_input__1eJO5:focus ~ .style-module_placeholder__1U2z0 {\n color: var(--ds-primary-500);\n}\n.style-module_input__1eJO5:focus ~ .style-module_placeholder--with-error__2ieRU {\n color: var(--ds-red-500);\n}\n\n.style-module_input__1eJO5:focus ~ .style-module_prefix__3jAFZ {\n color: var(--ds-primary-500);\n}\n.style-module_input__1eJO5:focus ~ .style-module_prefix--with-error__1yTTM {\n color: var(--ds-red-500);\n}\n\n.style-module_input__1eJO5:not(:placeholder-shown) ~ .style-module_prefix__3jAFZ,\n.style-module_input__1eJO5:focus ~ .style-module_prefix__3jAFZ {\n top: 28px;\n}\n\n.style-module_input__1eJO5 {\n box-sizing: border-box;\n padding-top: 9px;\n font-family: inherit;\n}\n.style-module_input--no-placeholder__3EGwh {\n padding-top: 0px;\n}\n.style-module_input--with-prefix__38e0j {\n padding-left: 32px !important;\n}\n\n.style-module_placeholder__1U2z0 {\n position: absolute;\n pointer-events: none;\n left: 16px;\n top: 50%;\n transform: translateY(-50%);\n transition: 0.3s ease all;\n color: var(--ds-grey-500);\n}\n.style-module_placeholder--with-prefix__2PquQ {\n left: 32px;\n}\n.style-module_placeholder--with-error__2ieRU {\n color: var(--ds-red-500);\n}\n\n.style-module_label__3FEZ1 {\n display: inline-block;\n margin-bottom: 8px;\n color: var(--ds-grey-600);\n}\n.style-module_label--with-error__166bP {\n color: var(--ds-red-500);\n}\n\n.style-module_error__167Zc {\n margin-top: 4px;\n}";
|
|
@@ -4,7 +4,7 @@ import React__default, { useMemo, useRef, useReducer, useEffect, useCallback, fo
|
|
|
4
4
|
import { c as classnames } from '../../index-e9e37a34.js';
|
|
5
5
|
import { o as objectAssign } from '../../index-dd80248b.js';
|
|
6
6
|
import { A as AnimateHeight } from '../../index-21239ab0.js';
|
|
7
|
-
import { g as generateId } from '../../index-
|
|
7
|
+
import { g as generateId } from '../../index-fb46adf9.js';
|
|
8
8
|
import { s as styleInject } from '../../style-inject.es-1f59c1d0.js';
|
|
9
9
|
import { i as icons, U as UploadFileCell } from '../../index-be398f1d.js';
|
|
10
10
|
|
|
@@ -12,7 +12,7 @@ import 'tty';
|
|
|
12
12
|
import '../../index-e9e37a34.js';
|
|
13
13
|
import '../../index-dd80248b.js';
|
|
14
14
|
import '../../index-21239ab0.js';
|
|
15
|
-
import '../../index-
|
|
15
|
+
import '../../index-fb46adf9.js';
|
|
16
16
|
import '../../style-inject.es-1f59c1d0.js';
|
|
17
17
|
import '../../index-be398f1d.js';
|
|
18
18
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function generateId() {
|
|
2
2
|
var _a;
|
|
3
|
-
if ((_a = window === null || window === void 0 ? void 0 : window.crypto) === null || _a === void 0 ? void 0 : _a.getRandomValues) {
|
|
3
|
+
if (typeof window !== "undefined" && ((_a = window === null || window === void 0 ? void 0 : window.crypto) === null || _a === void 0 ? void 0 : _a.getRandomValues)) {
|
|
4
4
|
return ([1e7] + "-" + 1e3 + "-" + 4e3 + "-" + 8e3 + "-" + 1e11).replace(/[018]/g, function (c) {
|
|
5
5
|
return (((c ^ window.crypto.getRandomValues(new Uint8Array(1))[0]) & 15) >> c / 4).toString(16);
|
|
6
6
|
});
|
|
@@ -9,4 +9,4 @@ function generateId() {
|
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
export { generateId as g };
|
|
12
|
-
//# sourceMappingURL=index-
|
|
12
|
+
//# sourceMappingURL=index-fb46adf9.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-fb46adf9.js","sources":["../../../src/lib/util/generateId/index.ts"],"sourcesContent":["function generateId(): string {\n if (typeof window !== \"undefined\" && window?.crypto?.getRandomValues) {\n return (\n `${[1e7]}-${1e3}-${4e3}-${8e3}-${1e11}`).replace(/[018]/g,\n (c: any) =>\n (((c ^ window.crypto.getRandomValues(new Uint8Array(1))[0]) & 15) >> c / 4).toString(16)\n );\n }\n\n return 'xxxx-xxxx-xxx-xxxx'.replace(/[x]/g, () => (\n Math.floor(Math.random() * 16).toString(16)\n ));\n}\n\nexport default generateId;\n"],"names":[],"mappings":"AAAA,SAAS,UAAU;;IACjB,IAAI,OAAO,MAAM,KAAK,WAAW,KAAI,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,MAAM,0CAAE,eAAe,CAAA,EAAE;QACpE,OAAO,CACF,CAAC,GAAG,CAAC,SAAI,GAAG,SAAI,GAAG,SAAI,GAAG,SAAI,IAAM,EAAE,OAAO,CAAC,QAAQ,EACzD,UAAC,CAAM;YACL,OAAA,CAAC,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC,eAAe,CAAC,IAAI,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,KAAK,CAAC,GAAG,CAAC,EAAE,QAAQ,CAAC,EAAE,CAAC;SAAA,CAC3F,CAAC;KACH;IAED,OAAO,oBAAoB,CAAC,OAAO,CAAC,MAAM,EAAE,cAAM,QAChD,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,IAC5C,CAAC,CAAC;AACL;;;;"}
|
package/dist/esm/index.js
CHANGED
|
@@ -30,7 +30,7 @@ import './_commonjsHelpers-e7f67fd8.js';
|
|
|
30
30
|
import './style-inject.es-1f59c1d0.js';
|
|
31
31
|
import './index-e9e37a34.js';
|
|
32
32
|
import './index-1463d5e9.js';
|
|
33
|
-
import './index-
|
|
33
|
+
import './index-fb46adf9.js';
|
|
34
34
|
import './index-dd80248b.js';
|
|
35
35
|
import './index-21239ab0.js';
|
|
36
36
|
import './index-be398f1d.js';
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-a5a71d5e.js","sources":["../../../src/lib/util/generateId/index.ts"],"sourcesContent":["function generateId(): string {\n if (window?.crypto?.getRandomValues) {\n return (\n `${[1e7]}-${1e3}-${4e3}-${8e3}-${1e11}`).replace(/[018]/g,\n (c: any) =>\n (((c ^ window.crypto.getRandomValues(new Uint8Array(1))[0]) & 15) >> c / 4).toString(16)\n );\n }\n\n return 'xxxx-xxxx-xxx-xxxx'.replace(/[x]/g, () => (\n Math.floor(Math.random() * 16).toString(16)\n ));\n}\n\nexport default generateId;\n"],"names":[],"mappings":"AAAA,SAAS,UAAU;;IACjB,IAAI,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,MAAM,0CAAE,eAAe,EAAE;QACnC,OAAO,CACF,CAAC,GAAG,CAAC,SAAI,GAAG,SAAI,GAAG,SAAI,GAAG,SAAI,IAAM,EAAE,OAAO,CAAC,QAAQ,EACzD,UAAC,CAAM;YACL,OAAA,CAAC,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC,eAAe,CAAC,IAAI,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,KAAK,CAAC,GAAG,CAAC,EAAE,QAAQ,CAAC,EAAE,CAAC;SAAA,CAC3F,CAAC;KACH;IAED,OAAO,oBAAoB,CAAC,OAAO,CAAC,MAAM,EAAE,cAAM,QAChD,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,IAC5C,CAAC,CAAC;AACL;;;;"}
|