@anoki/fse-ui 1.0.611 → 1.0.613
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/ui/AuthorWithImage/AuthorWithImage.css +1 -1
- package/dist/components/ui/DelegateFilterDropDown/DelegateFilterDropDown.css +1 -1
- package/dist/components/ui/GroupCodeExemptionFilterDropDown/GroupCodeExemptionFilterDropDown.css +1 -1
- package/dist/index.cjs177.js +1 -1
- package/dist/index.cjs177.js.map +1 -1
- package/dist/index.cjs178.js +1 -1
- package/dist/index.cjs178.js.map +1 -1
- package/dist/index.cjs182.js +1 -1
- package/dist/index.cjs182.js.map +1 -1
- package/dist/index.cjs191.js +1 -1
- package/dist/index.cjs191.js.map +1 -1
- package/dist/index.cjs195.js +1 -1
- package/dist/index.cjs195.js.map +1 -1
- package/dist/index.cjs200.js +1 -1
- package/dist/index.cjs207.js +1 -1
- package/dist/index.cjs229.js +1 -1
- package/dist/index.cjs236.js +1 -1
- package/dist/index.cjs246.js +1 -1
- package/dist/index.cjs253.js +1 -1
- package/dist/index.cjs260.js +1 -1
- package/dist/index.cjs265.js +1 -1
- package/dist/index.cjs272.js +1 -1
- package/dist/index.cjs280.js +1 -1
- package/dist/index.cjs318.js +1 -1
- package/dist/index.cjs34.js +1 -1
- package/dist/index.cjs34.js.map +1 -1
- package/dist/index.cjs346.js +1 -1
- package/dist/index.cjs347.js +1 -1
- package/dist/index.cjs356.js +3 -12
- package/dist/index.cjs356.js.map +1 -1
- package/dist/index.cjs357.js +27 -1
- package/dist/index.cjs357.js.map +1 -1
- package/dist/index.cjs358.js +1 -2
- package/dist/index.cjs358.js.map +1 -1
- package/dist/index.cjs359.js +1 -27
- package/dist/index.cjs359.js.map +1 -1
- package/dist/index.cjs360.js +1 -1
- package/dist/index.cjs360.js.map +1 -1
- package/dist/index.cjs361.js +2 -1
- package/dist/index.cjs361.js.map +1 -1
- package/dist/index.cjs367.js +1 -1
- package/dist/index.cjs368.js +1 -1
- package/dist/index.cjs369.js +1 -1
- package/dist/index.cjs370.js +1 -1
- package/dist/index.cjs372.js +1 -1
- package/dist/index.cjs372.js.map +1 -1
- package/dist/index.cjs375.js +1 -1
- package/dist/index.cjs375.js.map +1 -1
- package/dist/index.cjs376.js +1 -1
- package/dist/index.cjs376.js.map +1 -1
- package/dist/index.cjs377.js +1 -1
- package/dist/index.cjs377.js.map +1 -1
- package/dist/index.cjs378.js +1 -1
- package/dist/index.cjs378.js.map +1 -1
- package/dist/index.cjs379.js +1 -1
- package/dist/index.cjs379.js.map +1 -1
- package/dist/index.cjs380.js +1 -1
- package/dist/index.cjs380.js.map +1 -1
- package/dist/index.cjs381.js +1 -1
- package/dist/index.cjs381.js.map +1 -1
- package/dist/index.cjs382.js +1 -1
- package/dist/index.cjs382.js.map +1 -1
- package/dist/index.cjs383.js +1 -1
- package/dist/index.cjs383.js.map +1 -1
- package/dist/index.cjs384.js +1 -1
- package/dist/index.cjs384.js.map +1 -1
- package/dist/index.cjs385.js +1 -1
- package/dist/index.cjs385.js.map +1 -1
- package/dist/index.cjs386.js +1 -1
- package/dist/index.cjs386.js.map +1 -1
- package/dist/index.cjs387.js +1 -1
- package/dist/index.cjs387.js.map +1 -1
- package/dist/index.cjs388.js +1 -1
- package/dist/index.cjs388.js.map +1 -1
- package/dist/index.cjs389.js +1 -1
- package/dist/index.cjs389.js.map +1 -1
- package/dist/index.cjs390.js +2 -0
- package/dist/index.cjs390.js.map +1 -0
- package/dist/index.cjs391.js +1 -1
- package/dist/index.cjs391.js.map +1 -1
- package/dist/index.cjs392.js +1 -1
- package/dist/index.cjs392.js.map +1 -1
- package/dist/index.cjs393.js +1 -1
- package/dist/index.cjs393.js.map +1 -1
- package/dist/index.cjs394.js +1 -1
- package/dist/index.cjs394.js.map +1 -1
- package/dist/index.cjs395.js +1 -1
- package/dist/index.cjs395.js.map +1 -1
- package/dist/index.cjs396.js +1 -1
- package/dist/index.cjs396.js.map +1 -1
- package/dist/index.cjs397.js +1 -1
- package/dist/index.cjs397.js.map +1 -1
- package/dist/index.cjs398.js +1 -4
- package/dist/index.cjs398.js.map +1 -1
- package/dist/index.cjs407.js +1 -1
- package/dist/index.cjs407.js.map +1 -1
- package/dist/index.cjs408.js +1 -1
- package/dist/index.cjs408.js.map +1 -1
- package/dist/index.cjs409.js +2 -0
- package/dist/index.cjs409.js.map +1 -0
- package/dist/index.cjs410.js +5 -0
- package/dist/index.cjs410.js.map +1 -0
- package/dist/index.cjs411.js +1 -1
- package/dist/index.cjs411.js.map +1 -1
- package/dist/index.cjs412.js +1 -1
- package/dist/index.cjs412.js.map +1 -1
- package/dist/index.cjs413.js +1 -1
- package/dist/index.cjs413.js.map +1 -1
- package/dist/{index.cjs402.js → index.cjs414.js} +1 -1
- package/dist/{index.cjs402.js.map → index.cjs414.js.map} +1 -1
- package/dist/{index.cjs404.js → index.cjs422.js} +2 -2
- package/dist/{index.cjs404.js.map → index.cjs422.js.map} +1 -1
- package/dist/{index.cjs405.js → index.cjs423.js} +2 -2
- package/dist/{index.cjs405.js.map → index.cjs423.js.map} +1 -1
- package/dist/{index.cjs406.js → index.cjs424.js} +2 -2
- package/dist/{index.cjs406.js.map → index.cjs424.js.map} +1 -1
- package/dist/index.cjs425.js +1 -1
- package/dist/index.cjs425.js.map +1 -1
- package/dist/index.cjs426.js +1 -1
- package/dist/index.cjs426.js.map +1 -1
- package/dist/index.cjs427.js +1 -1
- package/dist/index.cjs427.js.map +1 -1
- package/dist/index.cjs428.js +1 -1
- package/dist/index.cjs428.js.map +1 -1
- package/dist/index.cjs429.js +2 -0
- package/dist/index.cjs429.js.map +1 -0
- package/dist/index.cjs430.js +2 -0
- package/dist/index.cjs430.js.map +1 -0
- package/dist/index.cjs431.js +2 -0
- package/dist/index.cjs431.js.map +1 -0
- package/dist/index.cjs432.js +2 -0
- package/dist/index.cjs432.js.map +1 -0
- package/dist/index.cjs435.js +1 -1
- package/dist/index.cjs438.js +1 -1
- package/dist/index.cjs441.js +1 -1
- package/dist/index.cjs445.js +1 -1
- package/dist/index.cjs446.js +1 -1
- package/dist/index.cjs446.js.map +1 -1
- package/dist/index.cjs447.js +1 -1
- package/dist/index.cjs447.js.map +1 -1
- package/dist/index.cjs448.js +1 -1
- package/dist/index.cjs448.js.map +1 -1
- package/dist/index.cjs449.js +1 -1
- package/dist/index.cjs449.js.map +1 -1
- package/dist/index.cjs450.js +5 -1
- package/dist/index.cjs450.js.map +1 -1
- package/dist/index.cjs451.js +1 -5
- package/dist/index.cjs451.js.map +1 -1
- package/dist/index.cjs452.js +1 -1
- package/dist/index.cjs452.js.map +1 -1
- package/dist/index.cjs453.js +1 -1
- package/dist/index.cjs453.js.map +1 -1
- package/dist/index.cjs459.js +1 -1
- package/dist/index.cjs459.js.map +1 -1
- package/dist/index.cjs460.js +1 -1
- package/dist/index.cjs460.js.map +1 -1
- package/dist/index.d.ts +1 -2
- package/dist/index.es177.js +76 -71
- package/dist/index.es177.js.map +1 -1
- package/dist/index.es178.js +11 -1
- package/dist/index.es178.js.map +1 -1
- package/dist/index.es182.js +63 -58
- package/dist/index.es182.js.map +1 -1
- package/dist/index.es191.js +29 -26
- package/dist/index.es191.js.map +1 -1
- package/dist/index.es195.js +18 -15
- package/dist/index.es195.js.map +1 -1
- package/dist/index.es200.js +1 -1
- package/dist/index.es207.js +2 -2
- package/dist/index.es229.js +1 -1
- package/dist/index.es236.js +3 -3
- package/dist/index.es246.js +1 -1
- package/dist/index.es253.js +8 -8
- package/dist/index.es260.js +1 -1
- package/dist/index.es265.js +1 -1
- package/dist/index.es272.js +1 -1
- package/dist/index.es280.js +2 -2
- package/dist/index.es318.js +1 -1
- package/dist/index.es34.js +80 -91
- package/dist/index.es34.js.map +1 -1
- package/dist/index.es346.js +2 -2
- package/dist/index.es347.js +3 -3
- package/dist/index.es356.js +146 -307
- package/dist/index.es356.js.map +1 -1
- package/dist/index.es357.js +3674 -5
- package/dist/index.es357.js.map +1 -1
- package/dist/index.es358.js +5 -520
- package/dist/index.es358.js.map +1 -1
- package/dist/index.es359.js +2 -3675
- package/dist/index.es359.js.map +1 -1
- package/dist/index.es360.js +5 -5
- package/dist/index.es360.js.map +1 -1
- package/dist/index.es361.js +521 -2
- package/dist/index.es361.js.map +1 -1
- package/dist/index.es367.js +1 -1
- package/dist/index.es368.js +1 -1
- package/dist/index.es369.js +13 -13
- package/dist/index.es370.js +1 -1
- package/dist/index.es372.js +15 -53
- package/dist/index.es372.js.map +1 -1
- package/dist/index.es375.js +10 -124
- package/dist/index.es375.js.map +1 -1
- package/dist/index.es376.js +51 -13
- package/dist/index.es376.js.map +1 -1
- package/dist/index.es377.js +41 -130
- package/dist/index.es377.js.map +1 -1
- package/dist/index.es378.js +7 -217
- package/dist/index.es378.js.map +1 -1
- package/dist/index.es379.js +124 -13
- package/dist/index.es379.js.map +1 -1
- package/dist/index.es380.js +13 -67
- package/dist/index.es380.js.map +1 -1
- package/dist/index.es381.js +127 -170
- package/dist/index.es381.js.map +1 -1
- package/dist/index.es382.js +217 -49
- package/dist/index.es382.js.map +1 -1
- package/dist/index.es383.js +12 -7
- package/dist/index.es383.js.map +1 -1
- package/dist/index.es384.js +68 -3
- package/dist/index.es384.js.map +1 -1
- package/dist/index.es385.js +177 -11
- package/dist/index.es385.js.map +1 -1
- package/dist/index.es386.js +48 -203
- package/dist/index.es386.js.map +1 -1
- package/dist/index.es387.js +8 -21
- package/dist/index.es387.js.map +1 -1
- package/dist/index.es388.js +4 -25
- package/dist/index.es388.js.map +1 -1
- package/dist/index.es389.js +5 -392
- package/dist/index.es389.js.map +1 -1
- package/dist/index.es390.js +28 -0
- package/dist/index.es390.js.map +1 -0
- package/dist/index.es391.js +11 -24
- package/dist/index.es391.js.map +1 -1
- package/dist/index.es392.js +204 -28
- package/dist/index.es392.js.map +1 -1
- package/dist/index.es393.js +22 -5
- package/dist/index.es393.js.map +1 -1
- package/dist/index.es394.js +390 -12
- package/dist/index.es394.js.map +1 -1
- package/dist/index.es395.js +25 -5
- package/dist/index.es395.js.map +1 -1
- package/dist/index.es396.js +29 -3
- package/dist/index.es396.js.map +1 -1
- package/dist/index.es397.js +5 -24
- package/dist/index.es397.js.map +1 -1
- package/dist/index.es398.js +12 -107
- package/dist/index.es398.js.map +1 -1
- package/dist/index.es407.js +5 -14
- package/dist/index.es407.js.map +1 -1
- package/dist/index.es408.js +3 -62
- package/dist/index.es408.js.map +1 -1
- package/dist/index.es409.js +27 -0
- package/dist/index.es409.js.map +1 -0
- package/dist/index.es410.js +113 -0
- package/dist/index.es410.js.map +1 -0
- package/dist/index.es411.js +15 -3
- package/dist/index.es411.js.map +1 -1
- package/dist/index.es412.js +519 -19
- package/dist/index.es412.js.map +1 -1
- package/dist/index.es413.js +126 -14
- package/dist/index.es413.js.map +1 -1
- package/dist/{index.es402.js → index.es414.js} +1 -1
- package/dist/{index.es402.js.map → index.es414.js.map} +1 -1
- package/dist/{index.es404.js → index.es422.js} +2 -2
- package/dist/{index.es404.js.map → index.es422.js.map} +1 -1
- package/dist/{index.es405.js → index.es423.js} +4 -4
- package/dist/{index.es405.js.map → index.es423.js.map} +1 -1
- package/dist/{index.es406.js → index.es424.js} +2 -2
- package/dist/{index.es406.js.map → index.es424.js.map} +1 -1
- package/dist/index.es425.js +14 -23
- package/dist/index.es425.js.map +1 -1
- package/dist/index.es426.js +61 -12
- package/dist/index.es426.js.map +1 -1
- package/dist/index.es427.js +3 -27
- package/dist/index.es427.js.map +1 -1
- package/dist/index.es428.js +23 -5
- package/dist/index.es428.js.map +1 -1
- package/dist/index.es429.js +16 -0
- package/dist/index.es429.js.map +1 -0
- package/dist/index.es430.js +31 -0
- package/dist/index.es430.js.map +1 -0
- package/dist/index.es431.js +8 -0
- package/dist/index.es431.js.map +1 -0
- package/dist/index.es432.js +26 -0
- package/dist/index.es432.js.map +1 -0
- package/dist/index.es435.js +2 -2
- package/dist/index.es438.js +2 -2
- package/dist/index.es441.js +1 -1
- package/dist/index.es445.js +5 -5
- package/dist/index.es446.js +12 -2
- package/dist/index.es446.js.map +1 -1
- package/dist/index.es447.js +176 -8
- package/dist/index.es447.js.map +1 -1
- package/dist/index.es448.js +3 -177
- package/dist/index.es448.js.map +1 -1
- package/dist/index.es449.js +131 -2
- package/dist/index.es449.js.map +1 -1
- package/dist/index.es450.js +36 -129
- package/dist/index.es450.js.map +1 -1
- package/dist/index.es451.js +2 -40
- package/dist/index.es451.js.map +1 -1
- package/dist/index.es452.js +2 -2
- package/dist/index.es452.js.map +1 -1
- package/dist/index.es453.js +2 -4
- package/dist/index.es453.js.map +1 -1
- package/dist/index.es459.js +3 -82
- package/dist/index.es459.js.map +1 -1
- package/dist/index.es460.js +82 -3
- package/dist/index.es460.js.map +1 -1
- package/package.json +1 -1
- package/dist/index.cjs371.js +0 -2
- package/dist/index.cjs371.js.map +0 -1
- package/dist/index.cjs373.js +0 -2
- package/dist/index.cjs373.js.map +0 -1
- package/dist/index.cjs374.js +0 -2
- package/dist/index.cjs374.js.map +0 -1
- package/dist/index.cjs399.js +0 -2
- package/dist/index.cjs399.js.map +0 -1
- package/dist/index.cjs400.js +0 -2
- package/dist/index.cjs400.js.map +0 -1
- package/dist/index.cjs401.js +0 -2
- package/dist/index.cjs401.js.map +0 -1
- package/dist/index.cjs403.js +0 -2
- package/dist/index.cjs403.js.map +0 -1
- package/dist/index.es371.js +0 -14
- package/dist/index.es371.js.map +0 -1
- package/dist/index.es373.js +0 -49
- package/dist/index.es373.js.map +0 -1
- package/dist/index.es374.js +0 -11
- package/dist/index.es374.js.map +0 -1
- package/dist/index.es399.js +0 -19
- package/dist/index.es399.js.map +0 -1
- package/dist/index.es400.js +0 -526
- package/dist/index.es400.js.map +0 -1
- package/dist/index.es401.js +0 -130
- package/dist/index.es401.js.map +0 -1
- package/dist/index.es403.js +0 -9
- package/dist/index.es403.js.map +0 -1
- /package/dist/components/ui/{DoctorModal/DoctorModalFooter/DoctorModalFooter.css → ConsentModal/ConsentModalFooter/ConsentModalFooter.css} +0 -0
@@ -0,0 +1,16 @@
|
|
1
|
+
import * as o from "react";
|
2
|
+
import { stylesheetSingleton as r } from "./index.es430.js";
|
3
|
+
var i = function() {
|
4
|
+
var t = r();
|
5
|
+
return function(e, n) {
|
6
|
+
o.useEffect(function() {
|
7
|
+
return t.add(e), function() {
|
8
|
+
t.remove();
|
9
|
+
};
|
10
|
+
}, [e && n]);
|
11
|
+
};
|
12
|
+
};
|
13
|
+
export {
|
14
|
+
i as styleHookSingleton
|
15
|
+
};
|
16
|
+
//# sourceMappingURL=index.es429.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.es429.js","sources":["../node_modules/react-style-singleton/dist/es2015/hook.js"],"sourcesContent":["import * as React from 'react';\nimport { stylesheetSingleton } from './singleton';\n/**\n * creates a hook to control style singleton\n * @see {@link styleSingleton} for a safer component version\n * @example\n * ```tsx\n * const useStyle = styleHookSingleton();\n * ///\n * useStyle('body { overflow: hidden}');\n */\nexport var styleHookSingleton = function () {\n var sheet = stylesheetSingleton();\n return function (styles, isDynamic) {\n React.useEffect(function () {\n sheet.add(styles);\n return function () {\n sheet.remove();\n };\n }, [styles && isDynamic]);\n };\n};\n"],"names":["styleHookSingleton","sheet","stylesheetSingleton","styles","isDynamic","React"],"mappings":";;AAWU,IAACA,IAAqB,WAAY;AACxC,MAAIC,IAAQC,EAAqB;AACjC,SAAO,SAAUC,GAAQC,GAAW;AAChC,IAAAC,EAAM,UAAU,WAAY;AACxB,aAAAJ,EAAM,IAAIE,CAAM,GACT,WAAY;AACf,QAAAF,EAAM,OAAQ;AAAA,MACjB;AAAA,IACb,GAAW,CAACE,KAAUC,CAAS,CAAC;AAAA,EAC3B;AACL;","x_google_ignoreList":[0]}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
import { getNonce as o } from "./index.es431.js";
|
2
|
+
function r() {
|
3
|
+
if (!document)
|
4
|
+
return null;
|
5
|
+
var t = document.createElement("style");
|
6
|
+
t.type = "text/css";
|
7
|
+
var e = o();
|
8
|
+
return e && t.setAttribute("nonce", e), t;
|
9
|
+
}
|
10
|
+
function l(t, e) {
|
11
|
+
t.styleSheet ? t.styleSheet.cssText = e : t.appendChild(document.createTextNode(e));
|
12
|
+
}
|
13
|
+
function a(t) {
|
14
|
+
var e = document.head || document.getElementsByTagName("head")[0];
|
15
|
+
e.appendChild(t);
|
16
|
+
}
|
17
|
+
var c = function() {
|
18
|
+
var t = 0, e = null;
|
19
|
+
return {
|
20
|
+
add: function(n) {
|
21
|
+
t == 0 && (e = r()) && (l(e, n), a(e)), t++;
|
22
|
+
},
|
23
|
+
remove: function() {
|
24
|
+
t--, !t && e && (e.parentNode && e.parentNode.removeChild(e), e = null);
|
25
|
+
}
|
26
|
+
};
|
27
|
+
};
|
28
|
+
export {
|
29
|
+
c as stylesheetSingleton
|
30
|
+
};
|
31
|
+
//# sourceMappingURL=index.es430.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.es430.js","sources":["../node_modules/react-style-singleton/dist/es2015/singleton.js"],"sourcesContent":["import { getNonce } from 'get-nonce';\nfunction makeStyleTag() {\n if (!document)\n return null;\n var tag = document.createElement('style');\n tag.type = 'text/css';\n var nonce = getNonce();\n if (nonce) {\n tag.setAttribute('nonce', nonce);\n }\n return tag;\n}\nfunction injectStyles(tag, css) {\n // @ts-ignore\n if (tag.styleSheet) {\n // @ts-ignore\n tag.styleSheet.cssText = css;\n }\n else {\n tag.appendChild(document.createTextNode(css));\n }\n}\nfunction insertStyleTag(tag) {\n var head = document.head || document.getElementsByTagName('head')[0];\n head.appendChild(tag);\n}\nexport var stylesheetSingleton = function () {\n var counter = 0;\n var stylesheet = null;\n return {\n add: function (style) {\n if (counter == 0) {\n if ((stylesheet = makeStyleTag())) {\n injectStyles(stylesheet, style);\n insertStyleTag(stylesheet);\n }\n }\n counter++;\n },\n remove: function () {\n counter--;\n if (!counter && stylesheet) {\n stylesheet.parentNode && stylesheet.parentNode.removeChild(stylesheet);\n stylesheet = null;\n }\n },\n };\n};\n"],"names":["makeStyleTag","tag","nonce","getNonce","injectStyles","css","insertStyleTag","head","stylesheetSingleton","counter","stylesheet","style"],"mappings":";AACA,SAASA,IAAe;AACpB,MAAI,CAAC;AACD,WAAO;AACX,MAAIC,IAAM,SAAS,cAAc,OAAO;AACxC,EAAAA,EAAI,OAAO;AACX,MAAIC,IAAQC,EAAU;AACtB,SAAID,KACAD,EAAI,aAAa,SAASC,CAAK,GAE5BD;AACX;AACA,SAASG,EAAaH,GAAKI,GAAK;AAE5B,EAAIJ,EAAI,aAEJA,EAAI,WAAW,UAAUI,IAGzBJ,EAAI,YAAY,SAAS,eAAeI,CAAG,CAAC;AAEpD;AACA,SAASC,EAAeL,GAAK;AACzB,MAAIM,IAAO,SAAS,QAAQ,SAAS,qBAAqB,MAAM,EAAE,CAAC;AACnE,EAAAA,EAAK,YAAYN,CAAG;AACxB;AACU,IAACO,IAAsB,WAAY;AACzC,MAAIC,IAAU,GACVC,IAAa;AACjB,SAAO;AAAA,IACH,KAAK,SAAUC,GAAO;AAClB,MAAIF,KAAW,MACNC,IAAaV,SACdI,EAAaM,GAAYC,CAAK,GAC9BL,EAAeI,CAAU,IAGjCD;AAAA,IACH;AAAA,IACD,QAAQ,WAAY;AAChB,MAAAA,KACI,CAACA,KAAWC,MACZA,EAAW,cAAcA,EAAW,WAAW,YAAYA,CAAU,GACrEA,IAAa;AAAA,IAEpB;AAAA,EACJ;AACL;","x_google_ignoreList":[0]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.es431.js","sources":["../node_modules/get-nonce/dist/es2015/index.js"],"sourcesContent":["var currentNonce;\nexport var setNonce = function (nonce) {\n currentNonce = nonce;\n};\nexport var getNonce = function () {\n if (currentNonce) {\n return currentNonce;\n }\n if (typeof __webpack_nonce__ !== 'undefined') {\n return __webpack_nonce__;\n }\n return undefined;\n};\n"],"names":["getNonce"],"mappings":"AAIU,IAACA,IAAW,WAAY;AAI9B,MAAI,OAAO,oBAAsB;AAC7B,WAAO;AAGf;","x_google_ignoreList":[0]}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
var a = {
|
2
|
+
left: 0,
|
3
|
+
top: 0,
|
4
|
+
right: 0,
|
5
|
+
gap: 0
|
6
|
+
}, e = function(t) {
|
7
|
+
return parseInt(t || "", 10) || 0;
|
8
|
+
}, o = function(t) {
|
9
|
+
var n = window.getComputedStyle(document.body), i = n[t === "padding" ? "paddingLeft" : "marginLeft"], r = n[t === "padding" ? "paddingTop" : "marginTop"], d = n[t === "padding" ? "paddingRight" : "marginRight"];
|
10
|
+
return [e(i), e(r), e(d)];
|
11
|
+
}, f = function(t) {
|
12
|
+
if (t === void 0 && (t = "margin"), typeof window > "u")
|
13
|
+
return a;
|
14
|
+
var n = o(t), i = document.documentElement.clientWidth, r = window.innerWidth;
|
15
|
+
return {
|
16
|
+
left: n[0],
|
17
|
+
top: n[1],
|
18
|
+
right: n[2],
|
19
|
+
gap: Math.max(0, r - i + n[2] - n[0])
|
20
|
+
};
|
21
|
+
};
|
22
|
+
export {
|
23
|
+
f as getGapWidth,
|
24
|
+
a as zeroGap
|
25
|
+
};
|
26
|
+
//# sourceMappingURL=index.es432.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.es432.js","sources":["../node_modules/react-remove-scroll-bar/dist/es2015/utils.js"],"sourcesContent":["export var zeroGap = {\n left: 0,\n top: 0,\n right: 0,\n gap: 0,\n};\nvar parse = function (x) { return parseInt(x || '', 10) || 0; };\nvar getOffset = function (gapMode) {\n var cs = window.getComputedStyle(document.body);\n var left = cs[gapMode === 'padding' ? 'paddingLeft' : 'marginLeft'];\n var top = cs[gapMode === 'padding' ? 'paddingTop' : 'marginTop'];\n var right = cs[gapMode === 'padding' ? 'paddingRight' : 'marginRight'];\n return [parse(left), parse(top), parse(right)];\n};\nexport var getGapWidth = function (gapMode) {\n if (gapMode === void 0) { gapMode = 'margin'; }\n if (typeof window === 'undefined') {\n return zeroGap;\n }\n var offsets = getOffset(gapMode);\n var documentWidth = document.documentElement.clientWidth;\n var windowWidth = window.innerWidth;\n return {\n left: offsets[0],\n top: offsets[1],\n right: offsets[2],\n gap: Math.max(0, windowWidth - documentWidth + offsets[2] - offsets[0]),\n };\n};\n"],"names":["zeroGap","parse","x","getOffset","gapMode","cs","left","top","right","getGapWidth","offsets","documentWidth","windowWidth"],"mappings":"AAAU,IAACA,IAAU;AAAA,EACjB,MAAM;AAAA,EACN,KAAK;AAAA,EACL,OAAO;AAAA,EACP,KAAK;AACT,GACIC,IAAQ,SAAUC,GAAG;AAAE,SAAO,SAASA,KAAK,IAAI,EAAE,KAAK;AAAI,GAC3DC,IAAY,SAAUC,GAAS;AAC/B,MAAIC,IAAK,OAAO,iBAAiB,SAAS,IAAI,GAC1CC,IAAOD,EAAGD,MAAY,YAAY,gBAAgB,YAAY,GAC9DG,IAAMF,EAAGD,MAAY,YAAY,eAAe,WAAW,GAC3DI,IAAQH,EAAGD,MAAY,YAAY,iBAAiB,aAAa;AACrE,SAAO,CAACH,EAAMK,CAAI,GAAGL,EAAMM,CAAG,GAAGN,EAAMO,CAAK,CAAC;AACjD,GACWC,IAAc,SAAUL,GAAS;AAExC,MADIA,MAAY,WAAUA,IAAU,WAChC,OAAO,SAAW;AAClB,WAAOJ;AAEX,MAAIU,IAAUP,EAAUC,CAAO,GAC3BO,IAAgB,SAAS,gBAAgB,aACzCC,IAAc,OAAO;AACzB,SAAO;AAAA,IACH,MAAMF,EAAQ,CAAC;AAAA,IACf,KAAKA,EAAQ,CAAC;AAAA,IACd,OAAOA,EAAQ,CAAC;AAAA,IAChB,KAAK,KAAK,IAAI,GAAGE,IAAcD,IAAgBD,EAAQ,CAAC,IAAIA,EAAQ,CAAC,CAAC;AAAA,EACzE;AACL;","x_google_ignoreList":[0]}
|
package/dist/index.es435.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { g as R, a as _ } from "./index.
|
2
|
-
import { w as k, e as D, h as se, c as Z, p as N, x as we, u as W, n as ee, t as ce, j as Se, q as Te, r as xe, s as $, f as re, v as be, d as Y, a as ye } from "./index.
|
1
|
+
import { g as R, a as _ } from "./index.es449.js";
|
2
|
+
import { w as k, e as D, h as se, c as Z, p as N, x as we, u as W, n as ee, t as ce, j as Se, q as Te, r as xe, s as $, f as re, v as be, d as Y, a as ye } from "./index.es447.js";
|
3
3
|
let X;
|
4
4
|
function Ee() {
|
5
5
|
const i = _(), t = R();
|
package/dist/index.es438.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { getDefaultExportFromCjs as r } from "./index.
|
2
|
-
import { __require as s } from "./index.
|
1
|
+
import { getDefaultExportFromCjs as r } from "./index.es358.js";
|
2
|
+
import { __require as s } from "./index.es450.js";
|
3
3
|
var e = s();
|
4
4
|
const t = /* @__PURE__ */ r(e);
|
5
5
|
export {
|
package/dist/index.es441.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import N from "./index.es438.js";
|
2
2
|
import { getResponsiveStyles as e } from "./index.es442.js";
|
3
3
|
import { mergeStyles as V } from "./index.es444.js";
|
4
|
-
import { marginPropDefs as y } from "./index.
|
4
|
+
import { marginPropDefs as y } from "./index.es452.js";
|
5
5
|
const m = y.m.values;
|
6
6
|
function R(r) {
|
7
7
|
const [t, a] = e({ className: "rt-r-m", customProperties: ["--margin"], propValues: m, value: r.m }), [o, s] = e({ className: "rt-r-mx", customProperties: ["--margin-left", "--margin-right"], propValues: m, value: r.mx }), [l, p] = e({ className: "rt-r-my", customProperties: ["--margin-top", "--margin-bottom"], propValues: m, value: r.my }), [i, u] = e({ className: "rt-r-mt", customProperties: ["--margin-top"], propValues: m, value: r.mt }), [c, n] = e({ className: "rt-r-mr", customProperties: ["--margin-right"], propValues: m, value: r.mr }), [g, v] = e({ className: "rt-r-mb", customProperties: ["--margin-bottom"], propValues: m, value: r.mb }), [P, f] = e({ className: "rt-r-ml", customProperties: ["--margin-left"], propValues: m, value: r.ml });
|
package/dist/index.es445.js
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
import * as c from "react";
|
2
2
|
import { Primitive as L } from "./index.es368.js";
|
3
|
-
import { Presence as O } from "./index.
|
3
|
+
import { Presence as O } from "./index.es384.js";
|
4
4
|
import { createContextScope as le } from "./index.es366.js";
|
5
5
|
import { useComposedRefs as T } from "./index.es365.js";
|
6
|
-
import { useCallbackRef as x } from "./index.
|
7
|
-
import { useDirection as ce } from "./index.
|
8
|
-
import { useLayoutEffect as se } from "./index.
|
9
|
-
import { clamp as ie } from "./index.
|
6
|
+
import { useCallbackRef as x } from "./index.es375.js";
|
7
|
+
import { useDirection as ce } from "./index.es378.js";
|
8
|
+
import { useLayoutEffect as se } from "./index.es388.js";
|
9
|
+
import { clamp as ie } from "./index.es459.js";
|
10
10
|
import { composeEventHandlers as C } from "./index.es364.js";
|
11
11
|
import { j as b } from "./index.es196.js";
|
12
12
|
function ae(e, t) {
|
package/dist/index.es446.js
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
-
import {
|
2
|
-
|
1
|
+
import { e as i, c as m } from "./index.es447.js";
|
2
|
+
function o(f, a, n, l) {
|
3
|
+
return f.params.createElements && Object.keys(l).forEach((e) => {
|
4
|
+
if (!n[e] && n.auto === !0) {
|
5
|
+
let t = i(f.el, `.${l[e]}`)[0];
|
6
|
+
t || (t = m("div", l[e]), t.className = l[e], f.el.append(t)), n[e] = t, a[e] = t;
|
7
|
+
}
|
8
|
+
}), n;
|
9
|
+
}
|
10
|
+
export {
|
11
|
+
o as c
|
12
|
+
};
|
3
13
|
//# sourceMappingURL=index.es446.js.map
|
package/dist/index.es446.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.es446.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.es446.js","sources":["../node_modules/swiper/shared/create-element-if-not-defined.mjs"],"sourcesContent":["import { e as elementChildren, c as createElement } from './utils.mjs';\n\nfunction createElementIfNotDefined(swiper, originalParams, params, checkProps) {\n if (swiper.params.createElements) {\n Object.keys(checkProps).forEach(key => {\n if (!params[key] && params.auto === true) {\n let element = elementChildren(swiper.el, `.${checkProps[key]}`)[0];\n if (!element) {\n element = createElement('div', checkProps[key]);\n element.className = checkProps[key];\n swiper.el.append(element);\n }\n params[key] = element;\n originalParams[key] = element;\n }\n });\n }\n return params;\n}\n\nexport { createElementIfNotDefined as c };\n"],"names":["createElementIfNotDefined","swiper","originalParams","params","checkProps","key","element","elementChildren","createElement"],"mappings":";AAEA,SAASA,EAA0BC,GAAQC,GAAgBC,GAAQC,GAAY;AAC7E,SAAIH,EAAO,OAAO,kBAChB,OAAO,KAAKG,CAAU,EAAE,QAAQ,CAAAC,MAAO;AACrC,QAAI,CAACF,EAAOE,CAAG,KAAKF,EAAO,SAAS,IAAM;AACxC,UAAIG,IAAUC,EAAgBN,EAAO,IAAI,IAAIG,EAAWC,CAAG,CAAC,EAAE,EAAE,CAAC;AACjE,MAAKC,MACHA,IAAUE,EAAc,OAAOJ,EAAWC,CAAG,CAAC,GAC9CC,EAAQ,YAAYF,EAAWC,CAAG,GAClCJ,EAAO,GAAG,OAAOK,CAAO,IAE1BH,EAAOE,CAAG,IAAIC,GACdJ,EAAeG,CAAG,IAAIC;AAAA,IAC9B;AAAA,EACA,CAAK,GAEIH;AACT;","x_google_ignoreList":[0]}
|
package/dist/index.es447.js
CHANGED
@@ -1,13 +1,181 @@
|
|
1
|
-
import {
|
2
|
-
function
|
3
|
-
return
|
4
|
-
|
5
|
-
|
6
|
-
|
1
|
+
import { a } from "./index.es449.js";
|
2
|
+
function y(e) {
|
3
|
+
return e === void 0 && (e = ""), e.trim().split(" ").filter((t) => !!t.trim());
|
4
|
+
}
|
5
|
+
function b(e) {
|
6
|
+
const t = e;
|
7
|
+
Object.keys(t).forEach((r) => {
|
8
|
+
try {
|
9
|
+
t[r] = null;
|
10
|
+
} catch {
|
11
|
+
}
|
12
|
+
try {
|
13
|
+
delete t[r];
|
14
|
+
} catch {
|
15
|
+
}
|
16
|
+
});
|
17
|
+
}
|
18
|
+
function M(e, t) {
|
19
|
+
return t === void 0 && (t = 0), setTimeout(e, t);
|
20
|
+
}
|
21
|
+
function C() {
|
22
|
+
return Date.now();
|
23
|
+
}
|
24
|
+
function S(e) {
|
25
|
+
const t = a();
|
26
|
+
let r;
|
27
|
+
return t.getComputedStyle && (r = t.getComputedStyle(e, null)), !r && e.currentStyle && (r = e.currentStyle), r || (r = e.style), r;
|
28
|
+
}
|
29
|
+
function v(e, t) {
|
30
|
+
t === void 0 && (t = "x");
|
31
|
+
const r = a();
|
32
|
+
let n, o, s;
|
33
|
+
const l = S(e);
|
34
|
+
return r.WebKitCSSMatrix ? (o = l.transform || l.webkitTransform, o.split(",").length > 6 && (o = o.split(", ").map((i) => i.replace(",", ".")).join(", ")), s = new r.WebKitCSSMatrix(o === "none" ? "" : o)) : (s = l.MozTransform || l.OTransform || l.MsTransform || l.msTransform || l.transform || l.getPropertyValue("transform").replace("translate(", "matrix(1, 0, 0, 1,"), n = s.toString().split(",")), t === "x" && (r.WebKitCSSMatrix ? o = s.m41 : n.length === 16 ? o = parseFloat(n[12]) : o = parseFloat(n[4])), t === "y" && (r.WebKitCSSMatrix ? o = s.m42 : n.length === 16 ? o = parseFloat(n[13]) : o = parseFloat(n[5])), o || 0;
|
35
|
+
}
|
36
|
+
function d(e) {
|
37
|
+
return typeof e == "object" && e !== null && e.constructor && Object.prototype.toString.call(e).slice(8, -1) === "Object";
|
38
|
+
}
|
39
|
+
function E(e) {
|
40
|
+
return typeof window < "u" && typeof window.HTMLElement < "u" ? e instanceof HTMLElement : e && (e.nodeType === 1 || e.nodeType === 11);
|
41
|
+
}
|
42
|
+
function g() {
|
43
|
+
const e = Object(arguments.length <= 0 ? void 0 : arguments[0]), t = ["__proto__", "constructor", "prototype"];
|
44
|
+
for (let r = 1; r < arguments.length; r += 1) {
|
45
|
+
const n = r < 0 || arguments.length <= r ? void 0 : arguments[r];
|
46
|
+
if (n != null && !E(n)) {
|
47
|
+
const o = Object.keys(Object(n)).filter((s) => t.indexOf(s) < 0);
|
48
|
+
for (let s = 0, l = o.length; s < l; s += 1) {
|
49
|
+
const i = o[s], u = Object.getOwnPropertyDescriptor(n, i);
|
50
|
+
u !== void 0 && u.enumerable && (d(e[i]) && d(n[i]) ? n[i].__swiper__ ? e[i] = n[i] : g(e[i], n[i]) : !d(e[i]) && d(n[i]) ? (e[i] = {}, n[i].__swiper__ ? e[i] = n[i] : g(e[i], n[i])) : e[i] = n[i]);
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
return e;
|
55
|
+
}
|
56
|
+
function O(e, t, r) {
|
57
|
+
e.style.setProperty(t, r);
|
58
|
+
}
|
59
|
+
function P(e) {
|
60
|
+
let {
|
61
|
+
swiper: t,
|
62
|
+
targetPosition: r,
|
63
|
+
side: n
|
64
|
+
} = e;
|
65
|
+
const o = a(), s = -t.translate;
|
66
|
+
let l = null, i;
|
67
|
+
const u = t.params.speed;
|
68
|
+
t.wrapperEl.style.scrollSnapType = "none", o.cancelAnimationFrame(t.cssModeFrameID);
|
69
|
+
const p = r > s ? "next" : "prev", h = (f, m) => p === "next" && f >= m || p === "prev" && f <= m, w = () => {
|
70
|
+
i = (/* @__PURE__ */ new Date()).getTime(), l === null && (l = i);
|
71
|
+
const f = Math.max(Math.min((i - l) / u, 1), 0), m = 0.5 - Math.cos(f * Math.PI) / 2;
|
72
|
+
let c = s + m * (r - s);
|
73
|
+
if (h(c, r) && (c = r), t.wrapperEl.scrollTo({
|
74
|
+
[n]: c
|
75
|
+
}), h(c, r)) {
|
76
|
+
t.wrapperEl.style.overflow = "hidden", t.wrapperEl.style.scrollSnapType = "", setTimeout(() => {
|
77
|
+
t.wrapperEl.style.overflow = "", t.wrapperEl.scrollTo({
|
78
|
+
[n]: c
|
79
|
+
});
|
80
|
+
}), o.cancelAnimationFrame(t.cssModeFrameID);
|
81
|
+
return;
|
7
82
|
}
|
8
|
-
|
83
|
+
t.cssModeFrameID = o.requestAnimationFrame(w);
|
84
|
+
};
|
85
|
+
w();
|
86
|
+
}
|
87
|
+
function j(e, t) {
|
88
|
+
t === void 0 && (t = "");
|
89
|
+
const r = a(), n = [...e.children];
|
90
|
+
return r.HTMLSlotElement && e instanceof HTMLSlotElement && n.push(...e.assignedElements()), t ? n.filter((o) => o.matches(t)) : n;
|
91
|
+
}
|
92
|
+
function T(e, t) {
|
93
|
+
const r = [t];
|
94
|
+
for (; r.length > 0; ) {
|
95
|
+
const n = r.shift();
|
96
|
+
if (e === n)
|
97
|
+
return !0;
|
98
|
+
r.push(...n.children, ...n.shadowRoot ? n.shadowRoot.children : [], ...n.assignedElements ? n.assignedElements() : []);
|
99
|
+
}
|
100
|
+
}
|
101
|
+
function F(e, t) {
|
102
|
+
const r = a();
|
103
|
+
let n = t.contains(e);
|
104
|
+
return !n && r.HTMLSlotElement && t instanceof HTMLSlotElement && (n = [...t.assignedElements()].includes(e), n || (n = T(e, t))), n;
|
105
|
+
}
|
106
|
+
function _(e) {
|
107
|
+
try {
|
108
|
+
console.warn(e);
|
109
|
+
return;
|
110
|
+
} catch {
|
111
|
+
}
|
112
|
+
}
|
113
|
+
function A(e, t) {
|
114
|
+
t === void 0 && (t = []);
|
115
|
+
const r = document.createElement(e);
|
116
|
+
return r.classList.add(...Array.isArray(t) ? t : y(t)), r;
|
117
|
+
}
|
118
|
+
function I(e, t) {
|
119
|
+
const r = [];
|
120
|
+
for (; e.previousElementSibling; ) {
|
121
|
+
const n = e.previousElementSibling;
|
122
|
+
t ? n.matches(t) && r.push(n) : r.push(n), e = n;
|
123
|
+
}
|
124
|
+
return r;
|
125
|
+
}
|
126
|
+
function k(e, t) {
|
127
|
+
const r = [];
|
128
|
+
for (; e.nextElementSibling; ) {
|
129
|
+
const n = e.nextElementSibling;
|
130
|
+
t ? n.matches(t) && r.push(n) : r.push(n), e = n;
|
131
|
+
}
|
132
|
+
return r;
|
133
|
+
}
|
134
|
+
function H(e, t) {
|
135
|
+
return a().getComputedStyle(e, null).getPropertyValue(t);
|
136
|
+
}
|
137
|
+
function L(e) {
|
138
|
+
let t = e, r;
|
139
|
+
if (t) {
|
140
|
+
for (r = 0; (t = t.previousSibling) !== null; )
|
141
|
+
t.nodeType === 1 && (r += 1);
|
142
|
+
return r;
|
143
|
+
}
|
144
|
+
}
|
145
|
+
function W(e, t) {
|
146
|
+
const r = [];
|
147
|
+
let n = e.parentElement;
|
148
|
+
for (; n; )
|
149
|
+
t ? n.matches(t) && r.push(n) : r.push(n), n = n.parentElement;
|
150
|
+
return r;
|
151
|
+
}
|
152
|
+
function D(e, t, r) {
|
153
|
+
const n = a();
|
154
|
+
return e[t === "width" ? "offsetWidth" : "offsetHeight"] + parseFloat(n.getComputedStyle(e, null).getPropertyValue(t === "width" ? "margin-right" : "margin-top")) + parseFloat(n.getComputedStyle(e, null).getPropertyValue(t === "width" ? "margin-left" : "margin-bottom"));
|
155
|
+
}
|
156
|
+
function K(e) {
|
157
|
+
return (Array.isArray(e) ? e : [e]).filter((t) => !!t);
|
9
158
|
}
|
10
159
|
export {
|
11
|
-
|
160
|
+
W as a,
|
161
|
+
A as c,
|
162
|
+
C as d,
|
163
|
+
j as e,
|
164
|
+
D as f,
|
165
|
+
L as h,
|
166
|
+
y as i,
|
167
|
+
v as j,
|
168
|
+
d as l,
|
169
|
+
K as m,
|
170
|
+
M as n,
|
171
|
+
H as p,
|
172
|
+
k as q,
|
173
|
+
I as r,
|
174
|
+
O as s,
|
175
|
+
P as t,
|
176
|
+
_ as u,
|
177
|
+
F as v,
|
178
|
+
g as w,
|
179
|
+
b as x
|
12
180
|
};
|
13
181
|
//# sourceMappingURL=index.es447.js.map
|
package/dist/index.es447.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.es447.js","sources":["../node_modules/swiper/shared/create-element-if-not-defined.mjs"],"sourcesContent":["import { e as elementChildren, c as createElement } from './utils.mjs';\n\nfunction createElementIfNotDefined(swiper, originalParams, params, checkProps) {\n if (swiper.params.createElements) {\n Object.keys(checkProps).forEach(key => {\n if (!params[key] && params.auto === true) {\n let element = elementChildren(swiper.el, `.${checkProps[key]}`)[0];\n if (!element) {\n element = createElement('div', checkProps[key]);\n element.className = checkProps[key];\n swiper.el.append(element);\n }\n params[key] = element;\n originalParams[key] = element;\n }\n });\n }\n return params;\n}\n\nexport { createElementIfNotDefined as c };\n"],"names":["createElementIfNotDefined","swiper","originalParams","params","checkProps","key","element","elementChildren","createElement"],"mappings":";AAEA,SAASA,EAA0BC,GAAQC,GAAgBC,GAAQC,GAAY;AAC7E,SAAIH,EAAO,OAAO,kBAChB,OAAO,KAAKG,CAAU,EAAE,QAAQ,CAAAC,MAAO;AACrC,QAAI,CAACF,EAAOE,CAAG,KAAKF,EAAO,SAAS,IAAM;AACxC,UAAIG,IAAUC,EAAgBN,EAAO,IAAI,IAAIG,EAAWC,CAAG,CAAC,EAAE,EAAE,CAAC;AACjE,MAAKC,MACHA,IAAUE,EAAc,OAAOJ,EAAWC,CAAG,CAAC,GAC9CC,EAAQ,YAAYF,EAAWC,CAAG,GAClCJ,EAAO,GAAG,OAAOK,CAAO,IAE1BH,EAAOE,CAAG,IAAIC,GACdJ,EAAeG,CAAG,IAAIC;AAAA,IAC9B;AAAA,EACA,CAAK,GAEIH;AACT;","x_google_ignoreList":[0]}
|
1
|
+
{"version":3,"file":"index.es447.js","sources":["../node_modules/swiper/shared/utils.mjs"],"sourcesContent":["import { a as getWindow, g as getDocument } from './ssr-window.esm.mjs';\n\nfunction classesToTokens(classes) {\n if (classes === void 0) {\n classes = '';\n }\n return classes.trim().split(' ').filter(c => !!c.trim());\n}\n\nfunction deleteProps(obj) {\n const object = obj;\n Object.keys(object).forEach(key => {\n try {\n object[key] = null;\n } catch (e) {\n // no getter for object\n }\n try {\n delete object[key];\n } catch (e) {\n // something got wrong\n }\n });\n}\nfunction nextTick(callback, delay) {\n if (delay === void 0) {\n delay = 0;\n }\n return setTimeout(callback, delay);\n}\nfunction now() {\n return Date.now();\n}\nfunction getComputedStyle(el) {\n const window = getWindow();\n let style;\n if (window.getComputedStyle) {\n style = window.getComputedStyle(el, null);\n }\n if (!style && el.currentStyle) {\n style = el.currentStyle;\n }\n if (!style) {\n style = el.style;\n }\n return style;\n}\nfunction getTranslate(el, axis) {\n if (axis === void 0) {\n axis = 'x';\n }\n const window = getWindow();\n let matrix;\n let curTransform;\n let transformMatrix;\n const curStyle = getComputedStyle(el);\n if (window.WebKitCSSMatrix) {\n curTransform = curStyle.transform || curStyle.webkitTransform;\n if (curTransform.split(',').length > 6) {\n curTransform = curTransform.split(', ').map(a => a.replace(',', '.')).join(', ');\n }\n // Some old versions of Webkit choke when 'none' is passed; pass\n // empty string instead in this case\n transformMatrix = new window.WebKitCSSMatrix(curTransform === 'none' ? '' : curTransform);\n } else {\n transformMatrix = curStyle.MozTransform || curStyle.OTransform || curStyle.MsTransform || curStyle.msTransform || curStyle.transform || curStyle.getPropertyValue('transform').replace('translate(', 'matrix(1, 0, 0, 1,');\n matrix = transformMatrix.toString().split(',');\n }\n if (axis === 'x') {\n // Latest Chrome and webkits Fix\n if (window.WebKitCSSMatrix) curTransform = transformMatrix.m41;\n // Crazy IE10 Matrix\n else if (matrix.length === 16) curTransform = parseFloat(matrix[12]);\n // Normal Browsers\n else curTransform = parseFloat(matrix[4]);\n }\n if (axis === 'y') {\n // Latest Chrome and webkits Fix\n if (window.WebKitCSSMatrix) curTransform = transformMatrix.m42;\n // Crazy IE10 Matrix\n else if (matrix.length === 16) curTransform = parseFloat(matrix[13]);\n // Normal Browsers\n else curTransform = parseFloat(matrix[5]);\n }\n return curTransform || 0;\n}\nfunction isObject(o) {\n return typeof o === 'object' && o !== null && o.constructor && Object.prototype.toString.call(o).slice(8, -1) === 'Object';\n}\nfunction isNode(node) {\n // eslint-disable-next-line\n if (typeof window !== 'undefined' && typeof window.HTMLElement !== 'undefined') {\n return node instanceof HTMLElement;\n }\n return node && (node.nodeType === 1 || node.nodeType === 11);\n}\nfunction extend() {\n const to = Object(arguments.length <= 0 ? undefined : arguments[0]);\n const noExtend = ['__proto__', 'constructor', 'prototype'];\n for (let i = 1; i < arguments.length; i += 1) {\n const nextSource = i < 0 || arguments.length <= i ? undefined : arguments[i];\n if (nextSource !== undefined && nextSource !== null && !isNode(nextSource)) {\n const keysArray = Object.keys(Object(nextSource)).filter(key => noExtend.indexOf(key) < 0);\n for (let nextIndex = 0, len = keysArray.length; nextIndex < len; nextIndex += 1) {\n const nextKey = keysArray[nextIndex];\n const desc = Object.getOwnPropertyDescriptor(nextSource, nextKey);\n if (desc !== undefined && desc.enumerable) {\n if (isObject(to[nextKey]) && isObject(nextSource[nextKey])) {\n if (nextSource[nextKey].__swiper__) {\n to[nextKey] = nextSource[nextKey];\n } else {\n extend(to[nextKey], nextSource[nextKey]);\n }\n } else if (!isObject(to[nextKey]) && isObject(nextSource[nextKey])) {\n to[nextKey] = {};\n if (nextSource[nextKey].__swiper__) {\n to[nextKey] = nextSource[nextKey];\n } else {\n extend(to[nextKey], nextSource[nextKey]);\n }\n } else {\n to[nextKey] = nextSource[nextKey];\n }\n }\n }\n }\n }\n return to;\n}\nfunction setCSSProperty(el, varName, varValue) {\n el.style.setProperty(varName, varValue);\n}\nfunction animateCSSModeScroll(_ref) {\n let {\n swiper,\n targetPosition,\n side\n } = _ref;\n const window = getWindow();\n const startPosition = -swiper.translate;\n let startTime = null;\n let time;\n const duration = swiper.params.speed;\n swiper.wrapperEl.style.scrollSnapType = 'none';\n window.cancelAnimationFrame(swiper.cssModeFrameID);\n const dir = targetPosition > startPosition ? 'next' : 'prev';\n const isOutOfBound = (current, target) => {\n return dir === 'next' && current >= target || dir === 'prev' && current <= target;\n };\n const animate = () => {\n time = new Date().getTime();\n if (startTime === null) {\n startTime = time;\n }\n const progress = Math.max(Math.min((time - startTime) / duration, 1), 0);\n const easeProgress = 0.5 - Math.cos(progress * Math.PI) / 2;\n let currentPosition = startPosition + easeProgress * (targetPosition - startPosition);\n if (isOutOfBound(currentPosition, targetPosition)) {\n currentPosition = targetPosition;\n }\n swiper.wrapperEl.scrollTo({\n [side]: currentPosition\n });\n if (isOutOfBound(currentPosition, targetPosition)) {\n swiper.wrapperEl.style.overflow = 'hidden';\n swiper.wrapperEl.style.scrollSnapType = '';\n setTimeout(() => {\n swiper.wrapperEl.style.overflow = '';\n swiper.wrapperEl.scrollTo({\n [side]: currentPosition\n });\n });\n window.cancelAnimationFrame(swiper.cssModeFrameID);\n return;\n }\n swiper.cssModeFrameID = window.requestAnimationFrame(animate);\n };\n animate();\n}\nfunction getSlideTransformEl(slideEl) {\n return slideEl.querySelector('.swiper-slide-transform') || slideEl.shadowRoot && slideEl.shadowRoot.querySelector('.swiper-slide-transform') || slideEl;\n}\nfunction elementChildren(element, selector) {\n if (selector === void 0) {\n selector = '';\n }\n const window = getWindow();\n const children = [...element.children];\n if (window.HTMLSlotElement && element instanceof HTMLSlotElement) {\n children.push(...element.assignedElements());\n }\n if (!selector) {\n return children;\n }\n return children.filter(el => el.matches(selector));\n}\nfunction elementIsChildOfSlot(el, slot) {\n // Breadth-first search through all parent's children and assigned elements\n const elementsQueue = [slot];\n while (elementsQueue.length > 0) {\n const elementToCheck = elementsQueue.shift();\n if (el === elementToCheck) {\n return true;\n }\n elementsQueue.push(...elementToCheck.children, ...(elementToCheck.shadowRoot ? elementToCheck.shadowRoot.children : []), ...(elementToCheck.assignedElements ? elementToCheck.assignedElements() : []));\n }\n}\nfunction elementIsChildOf(el, parent) {\n const window = getWindow();\n let isChild = parent.contains(el);\n if (!isChild && window.HTMLSlotElement && parent instanceof HTMLSlotElement) {\n const children = [...parent.assignedElements()];\n isChild = children.includes(el);\n if (!isChild) {\n isChild = elementIsChildOfSlot(el, parent);\n }\n }\n return isChild;\n}\nfunction showWarning(text) {\n try {\n console.warn(text);\n return;\n } catch (err) {\n // err\n }\n}\nfunction createElement(tag, classes) {\n if (classes === void 0) {\n classes = [];\n }\n const el = document.createElement(tag);\n el.classList.add(...(Array.isArray(classes) ? classes : classesToTokens(classes)));\n return el;\n}\nfunction elementOffset(el) {\n const window = getWindow();\n const document = getDocument();\n const box = el.getBoundingClientRect();\n const body = document.body;\n const clientTop = el.clientTop || body.clientTop || 0;\n const clientLeft = el.clientLeft || body.clientLeft || 0;\n const scrollTop = el === window ? window.scrollY : el.scrollTop;\n const scrollLeft = el === window ? window.scrollX : el.scrollLeft;\n return {\n top: box.top + scrollTop - clientTop,\n left: box.left + scrollLeft - clientLeft\n };\n}\nfunction elementPrevAll(el, selector) {\n const prevEls = [];\n while (el.previousElementSibling) {\n const prev = el.previousElementSibling; // eslint-disable-line\n if (selector) {\n if (prev.matches(selector)) prevEls.push(prev);\n } else prevEls.push(prev);\n el = prev;\n }\n return prevEls;\n}\nfunction elementNextAll(el, selector) {\n const nextEls = [];\n while (el.nextElementSibling) {\n const next = el.nextElementSibling; // eslint-disable-line\n if (selector) {\n if (next.matches(selector)) nextEls.push(next);\n } else nextEls.push(next);\n el = next;\n }\n return nextEls;\n}\nfunction elementStyle(el, prop) {\n const window = getWindow();\n return window.getComputedStyle(el, null).getPropertyValue(prop);\n}\nfunction elementIndex(el) {\n let child = el;\n let i;\n if (child) {\n i = 0;\n // eslint-disable-next-line\n while ((child = child.previousSibling) !== null) {\n if (child.nodeType === 1) i += 1;\n }\n return i;\n }\n return undefined;\n}\nfunction elementParents(el, selector) {\n const parents = []; // eslint-disable-line\n let parent = el.parentElement; // eslint-disable-line\n while (parent) {\n if (selector) {\n if (parent.matches(selector)) parents.push(parent);\n } else {\n parents.push(parent);\n }\n parent = parent.parentElement;\n }\n return parents;\n}\nfunction elementTransitionEnd(el, callback) {\n function fireCallBack(e) {\n if (e.target !== el) return;\n callback.call(el, e);\n el.removeEventListener('transitionend', fireCallBack);\n }\n if (callback) {\n el.addEventListener('transitionend', fireCallBack);\n }\n}\nfunction elementOuterSize(el, size, includeMargins) {\n const window = getWindow();\n if (includeMargins) {\n return el[size === 'width' ? 'offsetWidth' : 'offsetHeight'] + parseFloat(window.getComputedStyle(el, null).getPropertyValue(size === 'width' ? 'margin-right' : 'margin-top')) + parseFloat(window.getComputedStyle(el, null).getPropertyValue(size === 'width' ? 'margin-left' : 'margin-bottom'));\n }\n return el.offsetWidth;\n}\nfunction makeElementsArray(el) {\n return (Array.isArray(el) ? el : [el]).filter(e => !!e);\n}\nfunction getRotateFix(swiper) {\n return v => {\n if (Math.abs(v) > 0 && swiper.browser && swiper.browser.need3dFix && Math.abs(v) % 90 === 0) {\n return v + 0.001;\n }\n return v;\n };\n}\n\nexport { elementParents as a, elementOffset as b, createElement as c, now as d, elementChildren as e, elementOuterSize as f, getSlideTransformEl as g, elementIndex as h, classesToTokens as i, getTranslate as j, elementTransitionEnd as k, isObject as l, makeElementsArray as m, nextTick as n, getRotateFix as o, elementStyle as p, elementNextAll as q, elementPrevAll as r, setCSSProperty as s, animateCSSModeScroll as t, showWarning as u, elementIsChildOf as v, extend as w, deleteProps as x };\n"],"names":["classesToTokens","classes","c","deleteProps","obj","object","key","nextTick","callback","delay","now","getComputedStyle","el","window","getWindow","style","getTranslate","axis","matrix","curTransform","transformMatrix","curStyle","a","isObject","o","isNode","node","extend","to","noExtend","i","nextSource","keysArray","nextIndex","len","nextKey","desc","setCSSProperty","varName","varValue","animateCSSModeScroll","_ref","swiper","targetPosition","side","startPosition","startTime","time","duration","dir","isOutOfBound","current","target","animate","progress","easeProgress","currentPosition","elementChildren","element","selector","children","elementIsChildOfSlot","slot","elementsQueue","elementToCheck","elementIsChildOf","parent","isChild","showWarning","text","createElement","tag","elementPrevAll","prevEls","prev","elementNextAll","nextEls","next","elementStyle","prop","elementIndex","child","elementParents","parents","elementOuterSize","size","includeMargins","makeElementsArray","e"],"mappings":";AAEA,SAASA,EAAgBC,GAAS;AAChC,SAAIA,MAAY,WACdA,IAAU,KAELA,EAAQ,OAAO,MAAM,GAAG,EAAE,OAAO,CAAAC,MAAK,CAAC,CAACA,EAAE,KAAI,CAAE;AACzD;AAEA,SAASC,EAAYC,GAAK;AACxB,QAAMC,IAASD;AACf,SAAO,KAAK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IAAI,IAEImD,IAAQA,EAAM,qBAAqB;AACzC,MAAIA,EAAM,aAAa,MAAGnD,KAAK;AAEjC,WAAOA;AAAA,EACX;AAEA;AACA,SAASoD,EAAetE,GAAI+C,GAAU;AACpC,QAAMwB,IAAU,CAAA;AAChB,MAAIjB,IAAStD,EAAG;AAChB,SAAOsD;AACL,IAAIP,IACEO,EAAO,QAAQP,CAAQ,KAAGwB,EAAQ,KAAKjB,CAAM,IAEjDiB,EAAQ,KAAKjB,CAAM,GAErBA,IAASA,EAAO;AAElB,SAAOiB;AACT;AAWA,SAASC,EAAiBxE,GAAIyE,GAAMC,GAAgB;AAClD,QAAMzE,IAASC,EAAW;AAExB,SAAOF,EAAGyE,MAAS,UAAU,gBAAgB,cAAc,IAAI,WAAWxE,EAAO,iBAAiBD,GAAI,IAAI,EAAE,iBAAiByE,MAAS,UAAU,iBAAiB,YAAY,CAAC,IAAI,WAAWxE,EAAO,iBAAiBD,GAAI,IAAI,EAAE,iBAAiByE,MAAS,UAAU,gBAAgB,eAAe,CAAC;AAGvS;AACA,SAASE,EAAkB3E,GAAI;AAC7B,UAAQ,MAAM,QAAQA,CAAE,IAAIA,IAAK,CAACA,CAAE,GAAG,OAAO,CAAA4E,MAAK,CAAC,CAACA,CAAC;AACxD;","x_google_ignoreList":[0]}
|
package/dist/index.es448.js
CHANGED
@@ -1,181 +1,7 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
return e === void 0 && (e = ""), e.trim().split(" ").filter((t) => !!t.trim());
|
4
|
-
}
|
5
|
-
function b(e) {
|
6
|
-
const t = e;
|
7
|
-
Object.keys(t).forEach((r) => {
|
8
|
-
try {
|
9
|
-
t[r] = null;
|
10
|
-
} catch {
|
11
|
-
}
|
12
|
-
try {
|
13
|
-
delete t[r];
|
14
|
-
} catch {
|
15
|
-
}
|
16
|
-
});
|
17
|
-
}
|
18
|
-
function M(e, t) {
|
19
|
-
return t === void 0 && (t = 0), setTimeout(e, t);
|
20
|
-
}
|
21
|
-
function C() {
|
22
|
-
return Date.now();
|
23
|
-
}
|
24
|
-
function S(e) {
|
25
|
-
const t = a();
|
26
|
-
let r;
|
27
|
-
return t.getComputedStyle && (r = t.getComputedStyle(e, null)), !r && e.currentStyle && (r = e.currentStyle), r || (r = e.style), r;
|
28
|
-
}
|
29
|
-
function v(e, t) {
|
30
|
-
t === void 0 && (t = "x");
|
31
|
-
const r = a();
|
32
|
-
let n, o, s;
|
33
|
-
const l = S(e);
|
34
|
-
return r.WebKitCSSMatrix ? (o = l.transform || l.webkitTransform, o.split(",").length > 6 && (o = o.split(", ").map((i) => i.replace(",", ".")).join(", ")), s = new r.WebKitCSSMatrix(o === "none" ? "" : o)) : (s = l.MozTransform || l.OTransform || l.MsTransform || l.msTransform || l.transform || l.getPropertyValue("transform").replace("translate(", "matrix(1, 0, 0, 1,"), n = s.toString().split(",")), t === "x" && (r.WebKitCSSMatrix ? o = s.m41 : n.length === 16 ? o = parseFloat(n[12]) : o = parseFloat(n[4])), t === "y" && (r.WebKitCSSMatrix ? o = s.m42 : n.length === 16 ? o = parseFloat(n[13]) : o = parseFloat(n[5])), o || 0;
|
35
|
-
}
|
36
|
-
function d(e) {
|
37
|
-
return typeof e == "object" && e !== null && e.constructor && Object.prototype.toString.call(e).slice(8, -1) === "Object";
|
38
|
-
}
|
39
|
-
function E(e) {
|
40
|
-
return typeof window < "u" && typeof window.HTMLElement < "u" ? e instanceof HTMLElement : e && (e.nodeType === 1 || e.nodeType === 11);
|
41
|
-
}
|
42
|
-
function g() {
|
43
|
-
const e = Object(arguments.length <= 0 ? void 0 : arguments[0]), t = ["__proto__", "constructor", "prototype"];
|
44
|
-
for (let r = 1; r < arguments.length; r += 1) {
|
45
|
-
const n = r < 0 || arguments.length <= r ? void 0 : arguments[r];
|
46
|
-
if (n != null && !E(n)) {
|
47
|
-
const o = Object.keys(Object(n)).filter((s) => t.indexOf(s) < 0);
|
48
|
-
for (let s = 0, l = o.length; s < l; s += 1) {
|
49
|
-
const i = o[s], u = Object.getOwnPropertyDescriptor(n, i);
|
50
|
-
u !== void 0 && u.enumerable && (d(e[i]) && d(n[i]) ? n[i].__swiper__ ? e[i] = n[i] : g(e[i], n[i]) : !d(e[i]) && d(n[i]) ? (e[i] = {}, n[i].__swiper__ ? e[i] = n[i] : g(e[i], n[i])) : e[i] = n[i]);
|
51
|
-
}
|
52
|
-
}
|
53
|
-
}
|
54
|
-
return e;
|
55
|
-
}
|
56
|
-
function O(e, t, r) {
|
57
|
-
e.style.setProperty(t, r);
|
58
|
-
}
|
59
|
-
function P(e) {
|
60
|
-
let {
|
61
|
-
swiper: t,
|
62
|
-
targetPosition: r,
|
63
|
-
side: n
|
64
|
-
} = e;
|
65
|
-
const o = a(), s = -t.translate;
|
66
|
-
let l = null, i;
|
67
|
-
const u = t.params.speed;
|
68
|
-
t.wrapperEl.style.scrollSnapType = "none", o.cancelAnimationFrame(t.cssModeFrameID);
|
69
|
-
const p = r > s ? "next" : "prev", h = (f, m) => p === "next" && f >= m || p === "prev" && f <= m, w = () => {
|
70
|
-
i = (/* @__PURE__ */ new Date()).getTime(), l === null && (l = i);
|
71
|
-
const f = Math.max(Math.min((i - l) / u, 1), 0), m = 0.5 - Math.cos(f * Math.PI) / 2;
|
72
|
-
let c = s + m * (r - s);
|
73
|
-
if (h(c, r) && (c = r), t.wrapperEl.scrollTo({
|
74
|
-
[n]: c
|
75
|
-
}), h(c, r)) {
|
76
|
-
t.wrapperEl.style.overflow = "hidden", t.wrapperEl.style.scrollSnapType = "", setTimeout(() => {
|
77
|
-
t.wrapperEl.style.overflow = "", t.wrapperEl.scrollTo({
|
78
|
-
[n]: c
|
79
|
-
});
|
80
|
-
}), o.cancelAnimationFrame(t.cssModeFrameID);
|
81
|
-
return;
|
82
|
-
}
|
83
|
-
t.cssModeFrameID = o.requestAnimationFrame(w);
|
84
|
-
};
|
85
|
-
w();
|
86
|
-
}
|
87
|
-
function j(e, t) {
|
88
|
-
t === void 0 && (t = "");
|
89
|
-
const r = a(), n = [...e.children];
|
90
|
-
return r.HTMLSlotElement && e instanceof HTMLSlotElement && n.push(...e.assignedElements()), t ? n.filter((o) => o.matches(t)) : n;
|
91
|
-
}
|
92
|
-
function T(e, t) {
|
93
|
-
const r = [t];
|
94
|
-
for (; r.length > 0; ) {
|
95
|
-
const n = r.shift();
|
96
|
-
if (e === n)
|
97
|
-
return !0;
|
98
|
-
r.push(...n.children, ...n.shadowRoot ? n.shadowRoot.children : [], ...n.assignedElements ? n.assignedElements() : []);
|
99
|
-
}
|
100
|
-
}
|
101
|
-
function F(e, t) {
|
102
|
-
const r = a();
|
103
|
-
let n = t.contains(e);
|
104
|
-
return !n && r.HTMLSlotElement && t instanceof HTMLSlotElement && (n = [...t.assignedElements()].includes(e), n || (n = T(e, t))), n;
|
105
|
-
}
|
106
|
-
function _(e) {
|
107
|
-
try {
|
108
|
-
console.warn(e);
|
109
|
-
return;
|
110
|
-
} catch {
|
111
|
-
}
|
112
|
-
}
|
113
|
-
function A(e, t) {
|
114
|
-
t === void 0 && (t = []);
|
115
|
-
const r = document.createElement(e);
|
116
|
-
return r.classList.add(...Array.isArray(t) ? t : y(t)), r;
|
117
|
-
}
|
118
|
-
function I(e, t) {
|
119
|
-
const r = [];
|
120
|
-
for (; e.previousElementSibling; ) {
|
121
|
-
const n = e.previousElementSibling;
|
122
|
-
t ? n.matches(t) && r.push(n) : r.push(n), e = n;
|
123
|
-
}
|
124
|
-
return r;
|
125
|
-
}
|
126
|
-
function k(e, t) {
|
127
|
-
const r = [];
|
128
|
-
for (; e.nextElementSibling; ) {
|
129
|
-
const n = e.nextElementSibling;
|
130
|
-
t ? n.matches(t) && r.push(n) : r.push(n), e = n;
|
131
|
-
}
|
132
|
-
return r;
|
133
|
-
}
|
134
|
-
function H(e, t) {
|
135
|
-
return a().getComputedStyle(e, null).getPropertyValue(t);
|
136
|
-
}
|
137
|
-
function L(e) {
|
138
|
-
let t = e, r;
|
139
|
-
if (t) {
|
140
|
-
for (r = 0; (t = t.previousSibling) !== null; )
|
141
|
-
t.nodeType === 1 && (r += 1);
|
142
|
-
return r;
|
143
|
-
}
|
144
|
-
}
|
145
|
-
function W(e, t) {
|
146
|
-
const r = [];
|
147
|
-
let n = e.parentElement;
|
148
|
-
for (; n; )
|
149
|
-
t ? n.matches(t) && r.push(n) : r.push(n), n = n.parentElement;
|
150
|
-
return r;
|
151
|
-
}
|
152
|
-
function D(e, t, r) {
|
153
|
-
const n = a();
|
154
|
-
return e[t === "width" ? "offsetWidth" : "offsetHeight"] + parseFloat(n.getComputedStyle(e, null).getPropertyValue(t === "width" ? "margin-right" : "margin-top")) + parseFloat(n.getComputedStyle(e, null).getPropertyValue(t === "width" ? "margin-left" : "margin-bottom"));
|
155
|
-
}
|
156
|
-
function K(e) {
|
157
|
-
return (Array.isArray(e) ? e : [e]).filter((t) => !!t);
|
1
|
+
function r(e) {
|
2
|
+
return e === void 0 && (e = ""), `.${e.trim().replace(/([\.:!+\/])/g, "\\$1").replace(/ /g, ".")}`;
|
158
3
|
}
|
159
4
|
export {
|
160
|
-
|
161
|
-
A as c,
|
162
|
-
C as d,
|
163
|
-
j as e,
|
164
|
-
D as f,
|
165
|
-
L as h,
|
166
|
-
y as i,
|
167
|
-
v as j,
|
168
|
-
d as l,
|
169
|
-
K as m,
|
170
|
-
M as n,
|
171
|
-
H as p,
|
172
|
-
k as q,
|
173
|
-
I as r,
|
174
|
-
O as s,
|
175
|
-
P as t,
|
176
|
-
_ as u,
|
177
|
-
F as v,
|
178
|
-
g as w,
|
179
|
-
b as x
|
5
|
+
r as c
|
180
6
|
};
|
181
7
|
//# sourceMappingURL=index.es448.js.map
|