@anoki/fse-ui 1.0.0-beta1.39.7 → 1.0.0-beta1.39.8
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/index.cjs106.js.map +1 -1
- package/dist/index.cjs134.js +1 -1
- package/dist/index.cjs134.js.map +1 -1
- package/dist/index.cjs285.js +1 -1
- package/dist/index.cjs290.js +1 -1
- package/dist/index.cjs298.js +1 -1
- package/dist/index.cjs315.js +1 -1
- package/dist/index.cjs32.js +1 -1
- package/dist/index.cjs322.js +1 -1
- package/dist/index.cjs327.js +1 -1
- package/dist/index.cjs33.js +1 -1
- package/dist/index.cjs338.js +1 -1
- package/dist/index.cjs346.js +1 -1
- package/dist/index.cjs387.js +1 -1
- package/dist/index.cjs393.js +1 -1
- package/dist/index.cjs427.js +1 -1
- package/dist/index.cjs436.js +1 -1
- package/dist/index.cjs441.js +1 -1
- package/dist/index.cjs457.js +1 -1
- package/dist/index.cjs457.js.map +1 -1
- package/dist/index.cjs460.js +1 -1
- package/dist/index.cjs460.js.map +1 -1
- package/dist/index.cjs461.js +1 -1
- package/dist/index.cjs461.js.map +1 -1
- package/dist/index.cjs462.js +1 -1
- package/dist/index.cjs462.js.map +1 -1
- package/dist/index.cjs463.js +1 -1
- package/dist/index.cjs463.js.map +1 -1
- package/dist/index.cjs464.js +1 -1
- package/dist/index.cjs464.js.map +1 -1
- package/dist/index.cjs465.js +2 -0
- package/dist/index.cjs465.js.map +1 -0
- package/dist/index.cjs466.js +2 -0
- package/dist/index.cjs466.js.map +1 -0
- package/dist/index.cjs468.js +1 -1
- package/dist/index.cjs469.js +1 -1
- package/dist/index.cjs472.js +1 -1
- package/dist/index.cjs473.js +1 -1
- package/dist/index.cjs474.js +1 -1
- package/dist/index.cjs478.js +1 -1
- package/dist/{index.cjs491.js → index.cjs501.js} +1 -1
- package/dist/{index.cjs491.js.map → index.cjs501.js.map} +1 -1
- package/dist/{index.cjs492.js → index.cjs502.js} +2 -2
- package/dist/{index.cjs492.js.map → index.cjs502.js.map} +1 -1
- package/dist/{index.cjs493.js → index.cjs503.js} +1 -1
- package/dist/{index.cjs493.js.map → index.cjs503.js.map} +1 -1
- package/dist/{index.cjs494.js → index.cjs504.js} +2 -2
- package/dist/{index.cjs494.js.map → index.cjs504.js.map} +1 -1
- package/dist/{index.cjs495.js → index.cjs505.js} +2 -2
- package/dist/{index.cjs495.js.map → index.cjs505.js.map} +1 -1
- package/dist/index.cjs506.js +1 -1
- package/dist/index.cjs506.js.map +1 -1
- package/dist/index.cjs507.js +2 -0
- package/dist/index.cjs507.js.map +1 -0
- package/dist/index.cjs509.js +1 -1
- package/dist/index.cjs515.js +1 -1
- package/dist/index.cjs516.js +1 -1
- package/dist/index.cjs517.js +1 -1
- package/dist/index.cjs520.js +1 -1
- package/dist/index.cjs529.js +1 -1
- package/dist/index.cjs530.js +1 -1
- package/dist/index.cjs531.js +1 -1
- package/dist/index.cjs534.js +1 -1
- package/dist/index.cjs537.js +1 -1
- package/dist/index.cjs542.js +1 -1
- package/dist/index.cjs544.js +1 -1
- package/dist/index.cjs548.js +1 -38
- package/dist/index.cjs548.js.map +1 -1
- package/dist/index.cjs549.js +38 -1
- package/dist/index.cjs549.js.map +1 -1
- package/dist/index.cjs550.js +1 -1
- package/dist/index.cjs550.js.map +1 -1
- package/dist/index.cjs551.js +1 -1
- package/dist/index.cjs551.js.map +1 -1
- package/dist/index.cjs552.js +1 -1
- package/dist/index.cjs552.js.map +1 -1
- package/dist/index.cjs555.js +1 -1
- package/dist/index.cjs559.js +1 -1
- package/dist/index.cjs559.js.map +1 -1
- package/dist/index.cjs560.js +1 -1
- package/dist/index.cjs560.js.map +1 -1
- package/dist/index.cjs567.js +1 -1
- package/dist/index.cjs567.js.map +1 -1
- package/dist/index.cjs568.js +1 -1
- package/dist/index.cjs568.js.map +1 -1
- package/dist/index.cjs570.js +1 -1
- package/dist/index.cjs570.js.map +1 -1
- package/dist/{index.cjs564.js → index.cjs571.js} +1 -1
- package/dist/{index.cjs564.js.map → index.cjs571.js.map} +1 -1
- package/dist/{index.cjs565.js → index.cjs572.js} +1 -1
- package/dist/{index.cjs565.js.map → index.cjs572.js.map} +1 -1
- package/dist/{index.cjs566.js → index.cjs573.js} +1 -1
- package/dist/{index.cjs566.js.map → index.cjs573.js.map} +1 -1
- package/dist/index.cjs574.js +2 -0
- package/dist/index.cjs574.js.map +1 -0
- package/dist/index.cjs575.js +1 -1
- package/dist/index.cjs575.js.map +1 -1
- package/dist/index.cjs576.js +1 -1
- package/dist/index.cjs576.js.map +1 -1
- package/dist/{index.cjs569.js → index.cjs577.js} +1 -1
- package/dist/{index.cjs569.js.map → index.cjs577.js.map} +1 -1
- package/dist/index.cjs582.js +1 -1
- package/dist/index.cjs582.js.map +1 -1
- package/dist/index.cjs583.js +1 -1
- package/dist/index.cjs583.js.map +1 -1
- package/dist/{index.cjs580.js → index.cjs584.js} +1 -1
- package/dist/{index.cjs580.js.map → index.cjs584.js.map} +1 -1
- package/dist/{index.cjs581.js → index.cjs585.js} +2 -2
- package/dist/{index.cjs581.js.map → index.cjs585.js.map} +1 -1
- package/dist/index.cjs586.js +1 -1
- package/dist/index.cjs586.js.map +1 -1
- package/dist/index.cjs587.js +1 -1
- package/dist/index.cjs587.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.es106.js.map +1 -1
- package/dist/index.es134.js +3 -3
- package/dist/index.es134.js.map +1 -1
- package/dist/index.es285.js +7 -7
- package/dist/index.es290.js +1 -1
- package/dist/index.es298.js +5 -5
- package/dist/index.es315.js +6 -6
- package/dist/index.es32.js +1 -1
- package/dist/index.es322.js +1 -1
- package/dist/index.es327.js +1 -1
- package/dist/index.es33.js +1 -1
- package/dist/index.es338.js +1 -1
- package/dist/index.es346.js +5 -5
- package/dist/index.es387.js +3 -3
- package/dist/index.es393.js +1 -1
- package/dist/index.es427.js +1 -1
- package/dist/index.es436.js +1 -1
- package/dist/index.es441.js +1 -1
- package/dist/index.es457.js +15 -7
- package/dist/index.es457.js.map +1 -1
- package/dist/index.es460.js +6 -29
- package/dist/index.es460.js.map +1 -1
- package/dist/index.es461.js +26 -32
- package/dist/index.es461.js.map +1 -1
- package/dist/index.es462.js +63 -617
- package/dist/index.es462.js.map +1 -1
- package/dist/index.es463.js +29 -10
- package/dist/index.es463.js.map +1 -1
- package/dist/index.es464.js +33 -15
- package/dist/index.es464.js.map +1 -1
- package/dist/index.es465.js +625 -0
- package/dist/index.es465.js.map +1 -0
- package/dist/index.es466.js +14 -0
- package/dist/index.es466.js.map +1 -0
- package/dist/index.es468.js +1 -1
- package/dist/index.es469.js +2 -2
- package/dist/index.es472.js +5 -5
- package/dist/index.es473.js +3 -3
- package/dist/index.es474.js +2 -2
- package/dist/index.es478.js +1 -1
- package/dist/{index.es491.js → index.es501.js} +1 -1
- package/dist/{index.es491.js.map → index.es501.js.map} +1 -1
- package/dist/{index.es492.js → index.es502.js} +3 -3
- package/dist/{index.es492.js.map → index.es502.js.map} +1 -1
- package/dist/{index.es493.js → index.es503.js} +1 -1
- package/dist/{index.es493.js.map → index.es503.js.map} +1 -1
- package/dist/{index.es494.js → index.es504.js} +6 -6
- package/dist/{index.es494.js.map → index.es504.js.map} +1 -1
- package/dist/{index.es495.js → index.es505.js} +10 -10
- package/dist/{index.es495.js.map → index.es505.js.map} +1 -1
- package/dist/index.es506.js +4 -12
- package/dist/index.es506.js.map +1 -1
- package/dist/index.es507.js +15 -0
- package/dist/index.es507.js.map +1 -0
- package/dist/index.es509.js +1 -1
- package/dist/index.es515.js +1 -1
- package/dist/index.es516.js +2 -2
- package/dist/index.es517.js +4 -4
- package/dist/index.es520.js +2 -2
- package/dist/index.es529.js +1 -1
- package/dist/index.es530.js +7 -7
- package/dist/index.es531.js +1 -1
- package/dist/index.es534.js +2 -2
- package/dist/index.es537.js +8 -8
- package/dist/index.es542.js +5 -5
- package/dist/index.es544.js +1 -1
- package/dist/index.es548.js +65 -69
- package/dist/index.es548.js.map +1 -1
- package/dist/index.es549.js +68 -8
- package/dist/index.es549.js.map +1 -1
- package/dist/index.es550.js +9 -14
- package/dist/index.es550.js.map +1 -1
- package/dist/index.es551.js +14 -62
- package/dist/index.es551.js.map +1 -1
- package/dist/index.es552.js +61 -64
- package/dist/index.es552.js.map +1 -1
- package/dist/index.es555.js +1 -1
- package/dist/index.es559.js +16 -6
- package/dist/index.es559.js.map +1 -1
- package/dist/index.es560.js +6 -16
- package/dist/index.es560.js.map +1 -1
- package/dist/index.es567.js +71 -20
- package/dist/index.es567.js.map +1 -1
- package/dist/index.es568.js +2 -3
- package/dist/index.es568.js.map +1 -1
- package/dist/index.es570.js +3 -4
- package/dist/index.es570.js.map +1 -1
- package/dist/{index.es564.js → index.es571.js} +1 -1
- package/dist/{index.es564.js.map → index.es571.js.map} +1 -1
- package/dist/{index.es565.js → index.es572.js} +1 -1
- package/dist/{index.es565.js.map → index.es572.js.map} +1 -1
- package/dist/{index.es566.js → index.es573.js} +1 -1
- package/dist/{index.es566.js.map → index.es573.js.map} +1 -1
- package/dist/index.es574.js +26 -0
- package/dist/index.es574.js.map +1 -0
- package/dist/index.es575.js +3 -73
- package/dist/index.es575.js.map +1 -1
- package/dist/index.es576.js +3 -2
- package/dist/index.es576.js.map +1 -1
- package/dist/{index.es569.js → index.es577.js} +1 -1
- package/dist/{index.es569.js.map → index.es577.js.map} +1 -1
- package/dist/index.es582.js +4 -27
- package/dist/index.es582.js.map +1 -1
- package/dist/index.es583.js +2 -7
- package/dist/index.es583.js.map +1 -1
- package/dist/{index.es580.js → index.es584.js} +1 -1
- package/dist/{index.es580.js.map → index.es584.js.map} +1 -1
- package/dist/{index.es581.js → index.es585.js} +2 -2
- package/dist/{index.es581.js.map → index.es585.js.map} +1 -1
- package/dist/index.es586.js +27 -4
- package/dist/index.es586.js.map +1 -1
- package/dist/index.es587.js +7 -2
- package/dist/index.es587.js.map +1 -1
- package/package.json +1 -1
- package/dist/index.cjs458.js +0 -2
- package/dist/index.cjs458.js.map +0 -1
- package/dist/index.cjs459.js +0 -2
- package/dist/index.cjs459.js.map +0 -1
- package/dist/index.cjs496.js +0 -2
- package/dist/index.cjs496.js.map +0 -1
- package/dist/index.cjs563.js +0 -2
- package/dist/index.cjs563.js.map +0 -1
- package/dist/index.es458.js +0 -30
- package/dist/index.es458.js.map +0 -1
- package/dist/index.es459.js +0 -71
- package/dist/index.es459.js.map +0 -1
- package/dist/index.es496.js +0 -7
- package/dist/index.es496.js.map +0 -1
- package/dist/index.es563.js +0 -6
- package/dist/index.es563.js.map +0 -1
- /package/dist/components/ui/{CardMapDoctorV2/CardMapDoctorV2.css → CardMapDoctor/CardMapDoctor.css} +0 -0
- /package/dist/components/ui/{ConsentModal/ConsentModalFooter/ConsentModalFooter.css → DoctorModal/DoctorModalFooter/DoctorModalFooter.css} +0 -0
package/dist/index.cjs583.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";const e=require("./index.cjs588.js");e.__require();
|
|
2
2
|
//# sourceMappingURL=index.cjs583.js.map
|
package/dist/index.cjs583.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs583.js","sources":[
|
|
1
|
+
{"version":3,"file":"index.cjs583.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var a={left:0,top:0,right:0,gap:0},r=function(t){return parseInt(t||"",10)||0},o=function(t){var i=window.getComputedStyle(document.body),n=i[t==="padding"?"paddingLeft":"marginLeft"],e=i[t==="padding"?"paddingTop":"marginTop"],d=i[t==="padding"?"paddingRight":"marginRight"];return[r(n),r(e),r(d)]},g=function(t){if(t===void 0&&(t="margin"),typeof window>"u")return a;var i=o(t),n=document.documentElement.clientWidth,e=window.innerWidth;return{left:i[0],top:i[1],right:i[2],gap:Math.max(0,e-n+i[2]-i[0])}};exports.getGapWidth=g;exports.zeroGap=a;
|
|
2
|
-
//# sourceMappingURL=index.
|
|
2
|
+
//# sourceMappingURL=index.cjs584.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.
|
|
1
|
+
{"version":3,"file":"index.cjs584.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":"gFAAU,IAACA,EAAU,CACjB,KAAM,EACN,IAAK,EACL,MAAO,EACP,IAAK,CACT,EACIC,EAAQ,SAAUC,EAAG,CAAE,OAAO,SAASA,GAAK,GAAI,EAAE,GAAK,CAAI,EAC3DC,EAAY,SAAUC,EAAS,CAC/B,IAAIC,EAAK,OAAO,iBAAiB,SAAS,IAAI,EAC1CC,EAAOD,EAAGD,IAAY,UAAY,cAAgB,YAAY,EAC9DG,EAAMF,EAAGD,IAAY,UAAY,aAAe,WAAW,EAC3DI,EAAQH,EAAGD,IAAY,UAAY,eAAiB,aAAa,EACrE,MAAO,CAACH,EAAMK,CAAI,EAAGL,EAAMM,CAAG,EAAGN,EAAMO,CAAK,CAAC,CACjD,EACWC,EAAc,SAAUL,EAAS,CAExC,GADIA,IAAY,SAAUA,EAAU,UAChC,OAAO,OAAW,IAClB,OAAOJ,EAEX,IAAIU,EAAUP,EAAUC,CAAO,EAC3BO,EAAgB,SAAS,gBAAgB,YACzCC,EAAc,OAAO,WACzB,MAAO,CACH,KAAMF,EAAQ,CAAC,EACf,IAAKA,EAAQ,CAAC,EACd,MAAOA,EAAQ,CAAC,EAChB,IAAK,KAAK,IAAI,EAAGE,EAAcD,EAAgBD,EAAQ,CAAC,EAAIA,EAAQ,CAAC,CAAC,CACzE,CACL","x_google_ignoreList":[0]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react"),c=require("./index.
|
|
2
|
-
//# sourceMappingURL=index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react"),c=require("./index.cjs586.js");function u(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const i=u(r);var a=function(){var e=c.stylesheetSingleton();return function(t,n){i.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}};exports.styleHookSingleton=a;
|
|
2
|
+
//# sourceMappingURL=index.cjs585.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.
|
|
1
|
+
{"version":3,"file":"index.cjs585.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":"kaAWU,IAACA,EAAqB,UAAY,CACxC,IAAIC,EAAQC,EAAAA,oBAAqB,EACjC,OAAO,SAAUC,EAAQC,EAAW,CAChCC,EAAM,UAAU,UAAY,CACxB,OAAAJ,EAAM,IAAIE,CAAM,EACT,UAAY,CACfF,EAAM,OAAQ,CACjB,CACb,EAAW,CAACE,GAAUC,CAAS,CAAC,CAC3B,CACL","x_google_ignoreList":[0]}
|
package/dist/index.cjs586.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index.cjs587.js");function r(){if(!document)return null;var t=document.createElement("style");t.type="text/css";var e=o.getNonce();return e&&t.setAttribute("nonce",e),t}function l(t,e){t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e))}function i(t){var e=document.head||document.getElementsByTagName("head")[0];e.appendChild(t)}var u=function(){var t=0,e=null;return{add:function(n){t==0&&(e=r())&&(l(e,n),i(e)),t++},remove:function(){t--,!t&&e&&(e.parentNode&&e.parentNode.removeChild(e),e=null)}}};exports.stylesheetSingleton=u;
|
|
2
2
|
//# sourceMappingURL=index.cjs586.js.map
|
package/dist/index.cjs586.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs586.js","sources":["../
|
|
1
|
+
{"version":3,"file":"index.cjs586.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":"qHACA,SAASA,GAAe,CACpB,GAAI,CAAC,SACD,OAAO,KACX,IAAIC,EAAM,SAAS,cAAc,OAAO,EACxCA,EAAI,KAAO,WACX,IAAIC,EAAQC,EAAAA,SAAU,EACtB,OAAID,GACAD,EAAI,aAAa,QAASC,CAAK,EAE5BD,CACX,CACA,SAASG,EAAaH,EAAKI,EAAK,CAExBJ,EAAI,WAEJA,EAAI,WAAW,QAAUI,EAGzBJ,EAAI,YAAY,SAAS,eAAeI,CAAG,CAAC,CAEpD,CACA,SAASC,EAAeL,EAAK,CACzB,IAAIM,EAAO,SAAS,MAAQ,SAAS,qBAAqB,MAAM,EAAE,CAAC,EACnEA,EAAK,YAAYN,CAAG,CACxB,CACU,IAACO,EAAsB,UAAY,CACzC,IAAIC,EAAU,EACVC,EAAa,KACjB,MAAO,CACH,IAAK,SAAUC,EAAO,CACdF,GAAW,IACNC,EAAaV,OACdI,EAAaM,EAAYC,CAAK,EAC9BL,EAAeI,CAAU,GAGjCD,GACH,EACD,OAAQ,UAAY,CAChBA,IACI,CAACA,GAAWC,IACZA,EAAW,YAAcA,EAAW,WAAW,YAAYA,CAAU,EACrEA,EAAa,KAEpB,CACJ,CACL","x_google_ignoreList":[0]}
|
package/dist/index.cjs587.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};exports.getNonce=e;
|
|
2
2
|
//# sourceMappingURL=index.cjs587.js.map
|
package/dist/index.cjs587.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs587.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.cjs587.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":"gFAIU,IAACA,EAAW,UAAY,CAI9B,GAAI,OAAO,kBAAsB,IAC7B,OAAO,iBAGf","x_google_ignoreList":[0]}
|
package/dist/index.d.ts
CHANGED
|
@@ -140,7 +140,7 @@ declare type AggregationItemCardProps = {
|
|
|
140
140
|
type: string;
|
|
141
141
|
published_at: string;
|
|
142
142
|
};
|
|
143
|
-
tags?: Array<
|
|
143
|
+
tags?: Array<TagProps>;
|
|
144
144
|
totalTags?: number;
|
|
145
145
|
image?: Image_4;
|
|
146
146
|
title: string;
|
|
@@ -2608,7 +2608,7 @@ export declare const Tag: React.FC<TagProps>;
|
|
|
2608
2608
|
|
|
2609
2609
|
export declare type TagMode = "filter" | "decorative";
|
|
2610
2610
|
|
|
2611
|
-
declare interface TagProps {
|
|
2611
|
+
export declare interface TagProps {
|
|
2612
2612
|
label: string;
|
|
2613
2613
|
mode?: TagMode;
|
|
2614
2614
|
selected?: boolean;
|
package/dist/index.es106.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es106.js","sources":["../src/components/ui/Tags/Tag/Tag.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport \"../Tags.scss\";\n\nexport type TagMode = \"filter\" | \"decorative\";\
|
|
1
|
+
{"version":3,"file":"index.es106.js","sources":["../src/components/ui/Tags/Tag/Tag.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport \"../Tags.scss\";\n\nexport type TagMode = \"filter\" | \"decorative\";\nexport interface TagProps {\n label: string;\n mode?: TagMode;\n selected?: boolean;\n onClick?: () => void;\n}\n\nexport const Tag: React.FC<TagProps> = ({\n label,\n mode = \"decorative\",\n selected = false,\n onClick,\n}) => {\n const TagComponent = mode === \"decorative\" ? \"div\" : \"button\";\n\n return (\n <TagComponent\n className={clsx(\"tag\", { selected: selected })}\n onClick={onClick}\n >\n {label}\n </TagComponent>\n );\n};\n"],"names":["Tag","label","mode","selected","onClick","TagComponent","jsx","clsx"],"mappings":";;;AAWO,MAAMA,IAA0B,CAAC;AAAA,EACtC,OAAAC;AAAA,EACA,MAAAC,IAAO;AAAA,EACP,UAAAC,IAAW;AAAA,EACX,SAAAC;AACF,MAAM;AACE,QAAAC,IAAeH,MAAS,eAAe,QAAQ;AAGnD,SAAAI,gBAAAA,EAAA;AAAA,IAACD;AAAA,IAAA;AAAA,MACC,WAAWE,EAAK,OAAO,EAAE,UAAAJ,GAAoB;AAAA,MAC7C,SAAAC;AAAA,MAEC,UAAAH;AAAA,IAAA;AAAA,EACH;AAEJ;"}
|
package/dist/index.es134.js
CHANGED
|
@@ -3,7 +3,7 @@ import { clsx as o } from "./index.es239.js";
|
|
|
3
3
|
import { Col as c } from "./index.es10.js";
|
|
4
4
|
import { Row as e } from "./index.es9.js";
|
|
5
5
|
import './components/ui/AggregationItemCard/AggregationItemCard.css';/* empty css */
|
|
6
|
-
import { File as
|
|
6
|
+
import { File as b } from "./index.es183.js";
|
|
7
7
|
import { Tag as v } from "./index.es106.js";
|
|
8
8
|
const A = ({
|
|
9
9
|
category: r,
|
|
@@ -36,7 +36,7 @@ const A = ({
|
|
|
36
36
|
/* @__PURE__ */ t.jsxs("div", { className: "category-header text-muted", children: [
|
|
37
37
|
/* @__PURE__ */ t.jsxs(e, { gap: "x4", alignItems: "center", className: "p-x0 m-x0", children: [
|
|
38
38
|
r && /* @__PURE__ */ t.jsx(
|
|
39
|
-
|
|
39
|
+
b,
|
|
40
40
|
{
|
|
41
41
|
fillColor: s != null && s.src ? "#fff" : "#5C6F82",
|
|
42
42
|
width: 30,
|
|
@@ -76,7 +76,7 @@ const A = ({
|
|
|
76
76
|
gap: "x16",
|
|
77
77
|
flexWrap: "wrap",
|
|
78
78
|
alignItems: "flex-start",
|
|
79
|
-
children: p.slice(0, x).map((N,
|
|
79
|
+
children: p.slice(0, x).map((N, C) => /* @__PURE__ */ t.jsx(v, { ...N }, C))
|
|
80
80
|
}
|
|
81
81
|
) })
|
|
82
82
|
]
|
package/dist/index.es134.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es134.js","sources":["../src/components/ui/AggregationItemCard/index.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport { ComponentType, ReactNode, MouseEvent } from \"react\";\nimport { Col } from \"../Col\";\nimport { Row } from \"../Row\";\nimport { File } from \"@/icons\";\nimport \"./AggregationItemCard.scss\";\nimport { Tag } from \"../Tags\";\n\ntype Image = {\n alt: string;\n src: string;\n title: string;\n};\n\ntype HeadingLevel = \"h2\" | \"h3\" | \"h4\";\n\ntype AggregationItemCardProps = {\n category?: {\n type: string;\n published_at: string;\n };\n tags?: Array<
|
|
1
|
+
{"version":3,"file":"index.es134.js","sources":["../src/components/ui/AggregationItemCard/index.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport { ComponentType, ReactNode, MouseEvent } from \"react\";\nimport { Col } from \"../Col\";\nimport { Row } from \"../Row\";\nimport { File } from \"@/icons\";\nimport \"./AggregationItemCard.scss\";\nimport { Tag, TagProps } from \"../Tags\";\n\ntype Image = {\n alt: string;\n src: string;\n title: string;\n};\n\ntype HeadingLevel = \"h2\" | \"h3\" | \"h4\";\n\ntype AggregationItemCardProps = {\n category?: {\n type: string;\n published_at: string;\n };\n tags?: Array<TagProps>;\n totalTags?: number;\n image?: Image;\n title: string;\n titleTag?: HeadingLevel;\n href?: string;\n description?: string | ReactNode;\n description2?: string;\n isExternal?: boolean;\n asImage?: \"img\";\n asLink?: \"a\" | ComponentType<any>;\n className?: string;\n classNameTitle?: string;\n handleOnClick?: (e: MouseEvent<HTMLAnchorElement>) => void;\n};\n\nexport const AggregationItemCard = ({\n category,\n tags = [],\n totalTags = 2,\n image,\n title,\n titleTag: TitleTag = \"h3\",\n href,\n isExternal = false,\n asLink = \"a\",\n asImage = \"img\",\n className,\n handleOnClick,\n}: AggregationItemCardProps) => {\n const ImageComponent = asImage;\n const LinkComponent = asLink;\n return (\n <LinkComponent\n className={clsx(\n \"ui-aggregation-item-card shadow br-x4 bg-white\",\n className,\n handleOnClick && \"cursor-pointer\",\n )}\n href={href}\n target={isExternal ? \"_blank\" : undefined}\n rel={isExternal ? \"noreferrer noopener\" : undefined}\n onClick={handleOnClick ?? undefined}\n >\n <div className=\"category-header text-muted\">\n <Row gap=\"x4\" alignItems=\"center\" className=\"p-x0 m-x0\">\n {category && (\n <File\n fillColor={image?.src ? \"#fff\" : \"#5C6F82\"}\n width={30}\n height={30}\n />\n )}\n {category?.type ?? \" \"}\n </Row>\n <p className=\"date text-muted \">{category?.published_at ?? \" \"}</p>\n </div>\n\n {image?.src && (\n <header className=\"image\">\n <ImageComponent\n src={image?.src}\n alt={image?.alt}\n title={image?.title}\n />\n <div className=\"backdrop\"></div>\n </header>\n )}\n <Col className=\"content-container gap-x16\">\n <Row alignItems={\"center\"} justifyContent={\"space-between\"} gap={\"x4\"}>\n <TitleTag\n className={clsx(\n \"title\",\n \"cursor-pointer hover-underline\",\n \"text-primary fs-5 md-fs-custom-2\",\n )}\n >\n {title}\n </TitleTag>\n </Row>\n </Col>\n <Col className=\"content-container gap-x16\">\n <Row\n className=\"topics-container\"\n gap=\"x16\"\n flexWrap=\"wrap\"\n alignItems=\"flex-start\"\n >\n {tags.slice(0, totalTags).map((topic, index) => (\n <Tag key={index} {...topic} />\n ))}\n </Row>\n </Col>\n </LinkComponent>\n );\n};\n"],"names":["AggregationItemCard","category","tags","totalTags","image","title","TitleTag","href","isExternal","asLink","asImage","className","handleOnClick","ImageComponent","LinkComponent","jsxs","clsx","Row","jsx","File","Col","topic","index","Tag"],"mappings":";;;;;;;AAqCO,MAAMA,IAAsB,CAAC;AAAA,EAClC,UAAAC;AAAA,EACA,MAAAC,IAAO,CAAC;AAAA,EACR,WAAAC,IAAY;AAAA,EACZ,OAAAC;AAAA,EACA,OAAAC;AAAA,EACA,UAAUC,IAAW;AAAA,EACrB,MAAAC;AAAA,EACA,YAAAC,IAAa;AAAA,EACb,QAAAC,IAAS;AAAA,EACT,SAAAC,IAAU;AAAA,EACV,WAAAC;AAAA,EACA,eAAAC;AACF,MAAgC;AAC9B,QAAMC,IAAiBH,GACjBI,IAAgBL;AAEpB,SAAAM,gBAAAA,EAAA;AAAA,IAACD;AAAA,IAAA;AAAA,MACC,WAAWE;AAAA,QACT;AAAA,QACAL;AAAA,QACAC,KAAiB;AAAA,MACnB;AAAA,MACA,MAAAL;AAAA,MACA,QAAQC,IAAa,WAAW;AAAA,MAChC,KAAKA,IAAa,wBAAwB;AAAA,MAC1C,SAASI,KAAiB;AAAA,MAE1B,UAAA;AAAA,QAACG,gBAAAA,EAAAA,KAAA,OAAA,EAAI,WAAU,8BACb,UAAA;AAAA,UAAAA,gBAAAA,OAACE,KAAI,KAAI,MAAK,YAAW,UAAS,WAAU,aACzC,UAAA;AAAA,YACChB,KAAAiB,gBAAAA,EAAA;AAAA,cAACC;AAAA,cAAA;AAAA,gBACC,WAAWf,KAAA,QAAAA,EAAO,MAAM,SAAS;AAAA,gBACjC,OAAO;AAAA,gBACP,QAAQ;AAAA,cAAA;AAAA,YACV;AAAA,aAEDH,KAAA,gBAAAA,EAAU,SAAQ;AAAA,UAAA,GACrB;AAAA,gCACC,KAAE,EAAA,WAAU,oBAAoB,WAAAA,KAAA,gBAAAA,EAAU,iBAAgB,IAAI,CAAA;AAAA,QAAA,GACjE;AAAA,SAECG,KAAA,gBAAAA,EAAO,QACLW,gBAAAA,OAAA,UAAA,EAAO,WAAU,SAChB,UAAA;AAAA,UAAAG,gBAAAA,EAAA;AAAA,YAACL;AAAA,YAAA;AAAA,cACC,KAAKT,KAAA,gBAAAA,EAAO;AAAA,cACZ,KAAKA,KAAA,gBAAAA,EAAO;AAAA,cACZ,OAAOA,KAAA,gBAAAA,EAAO;AAAA,YAAA;AAAA,UAChB;AAAA,UACAc,gBAAAA,EAAAA,IAAC,OAAI,EAAA,WAAU,WAAW,CAAA;AAAA,QAAA,GAC5B;AAAA,QAEFA,gBAAAA,EAAA,IAACE,GAAI,EAAA,WAAU,6BACb,UAAAF,gBAAAA,EAAAA,IAACD,GAAI,EAAA,YAAY,UAAU,gBAAgB,iBAAiB,KAAK,MAC/D,UAAAC,gBAAAA,EAAA;AAAA,UAACZ;AAAA,UAAA;AAAA,YACC,WAAWU;AAAA,cACT;AAAA,cACA;AAAA,cACA;AAAA,YACF;AAAA,YAEC,UAAAX;AAAA,UAAA;AAAA,WAEL,EACF,CAAA;AAAA,QACAa,gBAAAA,EAAAA,IAACE,GAAI,EAAA,WAAU,6BACb,UAAAF,gBAAAA,EAAA;AAAA,UAACD;AAAA,UAAA;AAAA,YACC,WAAU;AAAA,YACV,KAAI;AAAA,YACJ,UAAS;AAAA,YACT,YAAW;AAAA,YAEV,UAAKf,EAAA,MAAM,GAAGC,CAAS,EAAE,IAAI,CAACkB,GAAOC,MACnCJ,gBAAAA,EAAA,IAAAK,GAAA,EAAiB,GAAGF,EAAA,GAAXC,CAAkB,CAC7B;AAAA,UAAA;AAAA,QAAA,EAEL,CAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EACF;AAEJ;"}
|
package/dist/index.es285.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as p from "react";
|
|
2
|
-
import { composeEventHandlers as m } from "./index.
|
|
3
|
-
import { composeRefs as E } from "./index.
|
|
4
|
-
import { createContextScope as S } from "./index.
|
|
5
|
-
import { useControllableState as P } from "./index.
|
|
6
|
-
import { Primitive as y } from "./index.
|
|
7
|
-
import { createMenuScope as D, Root as O, Anchor as T, Portal as j, Content as G, Group as k, Item as L, Label as K, CheckboxItem as U, RadioGroup as B, RadioItem as F, ItemIndicator as H, Separator as W, Arrow as $, SubTrigger as X, SubContent as q } from "./index.
|
|
8
|
-
import { useId as g } from "./index.
|
|
2
|
+
import { composeEventHandlers as m } from "./index.es460.js";
|
|
3
|
+
import { composeRefs as E } from "./index.es461.js";
|
|
4
|
+
import { createContextScope as S } from "./index.es462.js";
|
|
5
|
+
import { useControllableState as P } from "./index.es463.js";
|
|
6
|
+
import { Primitive as y } from "./index.es464.js";
|
|
7
|
+
import { createMenuScope as D, Root as O, Anchor as T, Portal as j, Content as G, Group as k, Item as L, Label as K, CheckboxItem as U, RadioGroup as B, RadioItem as F, ItemIndicator as H, Separator as W, Arrow as $, SubTrigger as X, SubContent as q } from "./index.es465.js";
|
|
8
|
+
import { useId as g } from "./index.es466.js";
|
|
9
9
|
import { j as a } from "./index.es237.js";
|
|
10
10
|
var M = "DropdownMenu", [z, bo] = S(
|
|
11
11
|
M,
|
package/dist/index.es290.js
CHANGED
|
@@ -3,7 +3,7 @@ import { Button as m } from "./index.es28.js";
|
|
|
3
3
|
import { HeaderTopBanner as g } from "./index.es21.js";
|
|
4
4
|
import { useState as y, useRef as w, useCallback as C, useEffect as u } from "react";
|
|
5
5
|
import { clsx as r } from "./index.es239.js";
|
|
6
|
-
import { useFocusTrap as N } from "./index.
|
|
6
|
+
import { useFocusTrap as N } from "./index.es457.js";
|
|
7
7
|
import { Container as k } from "./index.es6.js";
|
|
8
8
|
import './components/navigations/HeaderMobile/HeaderMobile.css';/* empty css */
|
|
9
9
|
import { Col as L } from "./index.es10.js";
|
package/dist/index.es298.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as n from "react";
|
|
2
|
-
import { useComposedRefs as N } from "./index.
|
|
3
|
-
import { createContextScope as M } from "./index.
|
|
4
|
-
import { composeEventHandlers as S } from "./index.
|
|
5
|
-
import { useControllableState as O } from "./index.
|
|
2
|
+
import { useComposedRefs as N } from "./index.es461.js";
|
|
3
|
+
import { createContextScope as M } from "./index.es462.js";
|
|
4
|
+
import { composeEventHandlers as S } from "./index.es460.js";
|
|
5
|
+
import { useControllableState as O } from "./index.es463.js";
|
|
6
6
|
import { usePrevious as A } from "./index.es467.js";
|
|
7
7
|
import { useSize as B } from "./index.es468.js";
|
|
8
8
|
import { Presence as H } from "./index.es469.js";
|
|
9
|
-
import { Primitive as j } from "./index.
|
|
9
|
+
import { Primitive as j } from "./index.es464.js";
|
|
10
10
|
import { j as f } from "./index.es237.js";
|
|
11
11
|
var R = "Checkbox", [K, Y] = M(R), [L, q] = K(R), I = n.forwardRef(
|
|
12
12
|
(e, l) => {
|
package/dist/index.es315.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as s from "react";
|
|
2
|
-
import { composeEventHandlers as p } from "./index.
|
|
3
|
-
import { useComposedRefs as C } from "./index.
|
|
4
|
-
import { createContextScope as B, createContext as H } from "./index.
|
|
5
|
-
import { useId as x } from "./index.
|
|
6
|
-
import { useControllableState as V } from "./index.
|
|
2
|
+
import { composeEventHandlers as p } from "./index.es460.js";
|
|
3
|
+
import { useComposedRefs as C } from "./index.es461.js";
|
|
4
|
+
import { createContextScope as B, createContext as H } from "./index.es462.js";
|
|
5
|
+
import { useId as x } from "./index.es466.js";
|
|
6
|
+
import { useControllableState as V } from "./index.es463.js";
|
|
7
7
|
import { DismissableLayer as q } from "./index.es472.js";
|
|
8
8
|
import { FocusScope as K } from "./index.es473.js";
|
|
9
9
|
import { Portal as U } from "./index.es474.js";
|
|
10
10
|
import { Presence as R } from "./index.es469.js";
|
|
11
|
-
import { Primitive as m } from "./index.
|
|
11
|
+
import { Primitive as m } from "./index.es464.js";
|
|
12
12
|
import { useFocusGuards as Y } from "./index.es475.js";
|
|
13
13
|
import Z from "./index.es476.js";
|
|
14
14
|
import { hideOthers as z } from "./index.es477.js";
|
package/dist/index.es32.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { j as e } from "./index.es237.js";
|
|
2
|
-
import './components/ui/
|
|
2
|
+
import './components/ui/CardMapDoctor/CardMapDoctor.css';/* empty css */
|
|
3
3
|
import { useState as d, useRef as b } from "react";
|
|
4
4
|
import { Root as N, Indicator as C } from "./index.es298.js";
|
|
5
5
|
import { useClickOutside as g } from "./index.es299.js";
|
package/dist/index.es322.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { j as t } from "./index.es237.js";
|
|
2
|
-
import './components/ui/
|
|
2
|
+
import './components/ui/DoctorModal/DoctorModalFooter/DoctorModalFooter.css';/* empty css */
|
|
3
3
|
const s = ({ children: o }) => /* @__PURE__ */ t.jsx("footer", { className: "ui-consent-modal-footer bg-white shadow", children: o });
|
|
4
4
|
export {
|
|
5
5
|
s as ConsentModalFooter
|
package/dist/index.es327.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { j as t } from "./index.es237.js";
|
|
2
|
-
import './components/ui/
|
|
2
|
+
import './components/ui/DoctorModal/DoctorModalFooter/DoctorModalFooter.css';/* empty css */
|
|
3
3
|
const s = ({ children: o }) => /* @__PURE__ */ t.jsx("footer", { className: "ui-consent-modal-footer bg-white shadow", children: o });
|
|
4
4
|
export {
|
|
5
5
|
s as DoctorModalFooter
|
package/dist/index.es33.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { j as s } from "./index.es237.js";
|
|
2
|
-
import './components/ui/
|
|
2
|
+
import './components/ui/CardMapDoctor/CardMapDoctor.css';/* empty css */
|
|
3
3
|
import { useRef as w } from "react";
|
|
4
4
|
import { Root as b, Indicator as g } from "./index.es298.js";
|
|
5
5
|
import { useClickOutside as k } from "./index.es299.js";
|
package/dist/index.es338.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { j as t } from "./index.es237.js";
|
|
2
|
-
import './components/ui/
|
|
2
|
+
import './components/ui/DoctorModal/DoctorModalFooter/DoctorModalFooter.css';/* empty css */
|
|
3
3
|
const s = ({
|
|
4
4
|
children: o
|
|
5
5
|
}) => /* @__PURE__ */ t.jsx("footer", { className: "ui-consent-modal-footer bg-white shadow", children: o });
|
package/dist/index.es346.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as s from "react";
|
|
2
|
-
import { composeEventHandlers as T } from "./index.
|
|
3
|
-
import { useComposedRefs as _ } from "./index.
|
|
4
|
-
import { createContextScope as H } from "./index.
|
|
5
|
-
import { useControllableState as I } from "./index.
|
|
2
|
+
import { composeEventHandlers as T } from "./index.es460.js";
|
|
3
|
+
import { useComposedRefs as _ } from "./index.es461.js";
|
|
4
|
+
import { createContextScope as H } from "./index.es462.js";
|
|
5
|
+
import { useControllableState as I } from "./index.es463.js";
|
|
6
6
|
import { usePrevious as M } from "./index.es467.js";
|
|
7
7
|
import { useSize as N } from "./index.es468.js";
|
|
8
|
-
import { Primitive as w } from "./index.
|
|
8
|
+
import { Primitive as w } from "./index.es464.js";
|
|
9
9
|
import { j as p } from "./index.es237.js";
|
|
10
10
|
var S = "Switch", [B, J] = H(S), [q, z] = B(S), C = s.forwardRef(
|
|
11
11
|
(e, n) => {
|
package/dist/index.es387.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as l from "react";
|
|
2
|
-
import { createContextScope as T } from "./index.
|
|
3
|
-
import { useComposedRefs as A } from "./index.
|
|
2
|
+
import { createContextScope as T } from "./index.es462.js";
|
|
3
|
+
import { useComposedRefs as A } from "./index.es461.js";
|
|
4
4
|
import { createDialogScope as v, Root as O, Portal as j, Overlay as b, WarningProvider as w, Content as M, Title as I, Description as L, Close as f, Trigger as $ } from "./index.es315.js";
|
|
5
|
-
import { composeEventHandlers as F } from "./index.
|
|
5
|
+
import { composeEventHandlers as F } from "./index.es460.js";
|
|
6
6
|
import { createSlottable as G } from "./index.es478.js";
|
|
7
7
|
import { j as i } from "./index.es237.js";
|
|
8
8
|
var D = "AlertDialog", [W, te] = T(D, [
|
package/dist/index.es393.js
CHANGED
package/dist/index.es427.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { j as t } from "./index.es237.js";
|
|
2
|
-
import './components/ui/
|
|
2
|
+
import './components/ui/DoctorModal/DoctorModalFooter/DoctorModalFooter.css';/* empty css */
|
|
3
3
|
const s = ({
|
|
4
4
|
children: o
|
|
5
5
|
}) => /* @__PURE__ */ t.jsx("footer", { className: "ui-consent-modal-footer bg-white shadow", children: o });
|
package/dist/index.es436.js
CHANGED
package/dist/index.es441.js
CHANGED
package/dist/index.es457.js
CHANGED
|
@@ -1,10 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { useEffect as l } from "react";
|
|
2
|
+
const f = (t, n) => {
|
|
3
|
+
l(() => {
|
|
4
|
+
if (!n || !t.current) return;
|
|
5
|
+
const o = t.current.querySelectorAll(
|
|
6
|
+
'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'
|
|
7
|
+
), c = o[0], r = o[o.length - 1], s = (e) => {
|
|
8
|
+
e.key === "Tab" && (e.shiftKey ? document.activeElement === c && (r.focus(), e.preventDefault()) : document.activeElement === r && (c.focus(), e.preventDefault()));
|
|
9
|
+
}, u = document.activeElement;
|
|
10
|
+
return c.focus(), document.addEventListener("keydown", s), () => {
|
|
11
|
+
document.removeEventListener("keydown", s), n && (u == null || u.focus());
|
|
12
|
+
};
|
|
13
|
+
}, [n, t]);
|
|
14
|
+
};
|
|
7
15
|
export {
|
|
8
|
-
|
|
16
|
+
f as useFocusTrap
|
|
9
17
|
};
|
|
10
18
|
//# sourceMappingURL=index.es457.js.map
|
package/dist/index.es457.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es457.js","sources":["../
|
|
1
|
+
{"version":3,"file":"index.es457.js","sources":["../src/hooks/useFocusTrap.ts"],"sourcesContent":["import { useEffect } from \"react\";\n\nexport const useFocusTrap = (\n ref: React.RefObject<HTMLElement | null>,\n isActive: boolean,\n) => {\n useEffect(() => {\n if (!isActive || !ref.current) return;\n\n const focusableElements = ref.current.querySelectorAll(\n 'button, [href], input, select, textarea, [tabindex]:not([tabindex=\"-1\"])',\n );\n const firstFocusableElement = focusableElements[0] as HTMLElement;\n const lastFocusableElement = focusableElements[\n focusableElements.length - 1\n ] as HTMLElement;\n\n const handleKeyDown = (e: KeyboardEvent) => {\n if (e.key !== \"Tab\") return;\n\n if (e.shiftKey) {\n if (document.activeElement === firstFocusableElement) {\n lastFocusableElement.focus();\n e.preventDefault();\n }\n } else {\n if (document.activeElement === lastFocusableElement) {\n firstFocusableElement.focus();\n e.preventDefault();\n }\n }\n };\n\n const previousActiveElement = document.activeElement as HTMLElement;\n\n firstFocusableElement.focus();\n\n document.addEventListener(\"keydown\", handleKeyDown);\n\n return () => {\n document.removeEventListener(\"keydown\", handleKeyDown);\n\n if (isActive) {\n previousActiveElement?.focus();\n }\n };\n }, [isActive, ref]);\n};\n"],"names":["useFocusTrap","ref","isActive","useEffect","focusableElements","firstFocusableElement","lastFocusableElement","handleKeyDown","previousActiveElement"],"mappings":";AAEa,MAAAA,IAAe,CAC1BC,GACAC,MACG;AACH,EAAAC,EAAU,MAAM;AACd,QAAI,CAACD,KAAY,CAACD,EAAI,QAAS;AAEzB,UAAAG,IAAoBH,EAAI,QAAQ;AAAA,MACpC;AAAA,IACF,GACMI,IAAwBD,EAAkB,CAAC,GAC3CE,IAAuBF,EAC3BA,EAAkB,SAAS,CAC7B,GAEMG,IAAgB,CAAC,MAAqB;AACtC,MAAA,EAAE,QAAQ,UAEV,EAAE,WACA,SAAS,kBAAkBF,MAC7BC,EAAqB,MAAM,GAC3B,EAAE,eAAe,KAGf,SAAS,kBAAkBA,MAC7BD,EAAsB,MAAM,GAC5B,EAAE,eAAe;AAAA,IAGvB,GAEMG,IAAwB,SAAS;AAEvC,WAAAH,EAAsB,MAAM,GAEnB,SAAA,iBAAiB,WAAWE,CAAa,GAE3C,MAAM;AACF,eAAA,oBAAoB,WAAWA,CAAa,GAEjDL,MACFM,KAAA,QAAAA,EAAuB;AAAA,IAE3B;AAAA,EAAA,GACC,CAACN,GAAUD,CAAG,CAAC;AACpB;"}
|
package/dist/index.es460.js
CHANGED
|
@@ -1,33 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
onChange: s = () => {
|
|
7
|
-
}
|
|
8
|
-
}) {
|
|
9
|
-
const [e, n] = v({ defaultProp: r, onChange: s }), o = t !== void 0, i = o ? t : e, u = f(s), d = l.useCallback(
|
|
10
|
-
(c) => {
|
|
11
|
-
if (o) {
|
|
12
|
-
const a = typeof c == "function" ? c(t) : c;
|
|
13
|
-
a !== t && u(a);
|
|
14
|
-
} else
|
|
15
|
-
n(c);
|
|
16
|
-
},
|
|
17
|
-
[o, t, n, u]
|
|
18
|
-
);
|
|
19
|
-
return [i, d];
|
|
20
|
-
}
|
|
21
|
-
function v({
|
|
22
|
-
defaultProp: t,
|
|
23
|
-
onChange: r
|
|
24
|
-
}) {
|
|
25
|
-
const s = l.useState(t), [e] = s, n = l.useRef(e), o = f(r);
|
|
26
|
-
return l.useEffect(() => {
|
|
27
|
-
n.current !== e && (o(e), n.current = e);
|
|
28
|
-
}, [e, n, o]), s;
|
|
1
|
+
function h(f, c, { checkForDefaultPrevented: p = !0 } = {}) {
|
|
2
|
+
return function(s) {
|
|
3
|
+
if (f == null || f(s), p === !1 || !s.defaultPrevented)
|
|
4
|
+
return c == null ? void 0 : c(s);
|
|
5
|
+
};
|
|
29
6
|
}
|
|
30
7
|
export {
|
|
31
|
-
|
|
8
|
+
h as composeEventHandlers
|
|
32
9
|
};
|
|
33
10
|
//# sourceMappingURL=index.es460.js.map
|
package/dist/index.es460.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es460.js","sources":["../node_modules/@radix-ui/
|
|
1
|
+
{"version":3,"file":"index.es460.js","sources":["../node_modules/@radix-ui/primitive/dist/index.mjs"],"sourcesContent":["// packages/core/primitive/src/primitive.tsx\nfunction composeEventHandlers(originalEventHandler, ourEventHandler, { checkForDefaultPrevented = true } = {}) {\n return function handleEvent(event) {\n originalEventHandler?.(event);\n if (checkForDefaultPrevented === false || !event.defaultPrevented) {\n return ourEventHandler?.(event);\n }\n };\n}\nexport {\n composeEventHandlers\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["composeEventHandlers","originalEventHandler","ourEventHandler","checkForDefaultPrevented","event"],"mappings":"AACA,SAASA,EAAqBC,GAAsBC,GAAiB,EAAE,0BAAAC,IAA2B,GAAM,IAAG,IAAI;AAC7G,SAAO,SAAqBC,GAAO;AAEjC,QADAH,KAAA,QAAAA,EAAuBG,IACnBD,MAA6B,MAAS,CAACC,EAAM;AAC/C,aAAOF,KAAA,gBAAAA,EAAkBE;AAAA,EAE5B;AACH;","x_google_ignoreList":[0]}
|
package/dist/index.es461.js
CHANGED
|
@@ -1,36 +1,30 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ u.jsx(n, { ...a, ref: s });
|
|
26
|
-
});
|
|
27
|
-
return r.displayName = `Primitive.${i}`, { ...t, [i]: r };
|
|
28
|
-
}, {});
|
|
29
|
-
function w(t, i) {
|
|
30
|
-
t && f.flushSync(() => t.dispatchEvent(i));
|
|
1
|
+
import * as f from "react";
|
|
2
|
+
function l(n, o) {
|
|
3
|
+
if (typeof n == "function")
|
|
4
|
+
return n(o);
|
|
5
|
+
n != null && (n.current = o);
|
|
6
|
+
}
|
|
7
|
+
function i(...n) {
|
|
8
|
+
return (o) => {
|
|
9
|
+
let u = !1;
|
|
10
|
+
const c = n.map((t) => {
|
|
11
|
+
const e = l(t, o);
|
|
12
|
+
return !u && typeof e == "function" && (u = !0), e;
|
|
13
|
+
});
|
|
14
|
+
if (u)
|
|
15
|
+
return () => {
|
|
16
|
+
for (let t = 0; t < c.length; t++) {
|
|
17
|
+
const e = c[t];
|
|
18
|
+
typeof e == "function" ? e() : l(n[t], null);
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
function s(...n) {
|
|
24
|
+
return f.useCallback(i(...n), n);
|
|
31
25
|
}
|
|
32
26
|
export {
|
|
33
|
-
|
|
34
|
-
|
|
27
|
+
i as composeRefs,
|
|
28
|
+
s as useComposedRefs
|
|
35
29
|
};
|
|
36
30
|
//# sourceMappingURL=index.es461.js.map
|
package/dist/index.es461.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es461.js","sources":["../node_modules/@radix-ui/react-
|
|
1
|
+
{"version":3,"file":"index.es461.js","sources":["../node_modules/@radix-ui/react-compose-refs/dist/index.mjs"],"sourcesContent":["// packages/react/compose-refs/src/compose-refs.tsx\nimport * as React from \"react\";\nfunction setRef(ref, value) {\n if (typeof ref === \"function\") {\n return ref(value);\n } else if (ref !== null && ref !== void 0) {\n ref.current = value;\n }\n}\nfunction composeRefs(...refs) {\n return (node) => {\n let hasCleanup = false;\n const cleanups = refs.map((ref) => {\n const cleanup = setRef(ref, node);\n if (!hasCleanup && typeof cleanup == \"function\") {\n hasCleanup = true;\n }\n return cleanup;\n });\n if (hasCleanup) {\n return () => {\n for (let i = 0; i < cleanups.length; i++) {\n const cleanup = cleanups[i];\n if (typeof cleanup == \"function\") {\n cleanup();\n } else {\n setRef(refs[i], null);\n }\n }\n };\n }\n };\n}\nfunction useComposedRefs(...refs) {\n return React.useCallback(composeRefs(...refs), refs);\n}\nexport {\n composeRefs,\n useComposedRefs\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["setRef","ref","value","composeRefs","refs","node","hasCleanup","cleanups","cleanup","i","useComposedRefs","React"],"mappings":";AAEA,SAASA,EAAOC,GAAKC,GAAO;AAC1B,MAAI,OAAOD,KAAQ;AACjB,WAAOA,EAAIC,CAAK;AACX,EAAID,KAAQ,SACjBA,EAAI,UAAUC;AAElB;AACA,SAASC,KAAeC,GAAM;AAC5B,SAAO,CAACC,MAAS;AACf,QAAIC,IAAa;AACjB,UAAMC,IAAWH,EAAK,IAAI,CAACH,MAAQ;AACjC,YAAMO,IAAUR,EAAOC,GAAKI,CAAI;AAChC,aAAI,CAACC,KAAc,OAAOE,KAAW,eACnCF,IAAa,KAERE;AAAA,IACb,CAAK;AACD,QAAIF;AACF,aAAO,MAAM;AACX,iBAASG,IAAI,GAAGA,IAAIF,EAAS,QAAQE,KAAK;AACxC,gBAAMD,IAAUD,EAASE,CAAC;AAC1B,UAAI,OAAOD,KAAW,aACpBA,EAAS,IAETR,EAAOI,EAAKK,CAAC,GAAG,IAAI;AAAA,QAEhC;AAAA,MACO;AAAA,EAEJ;AACH;AACA,SAASC,KAAmBN,GAAM;AAChC,SAAOO,EAAM,YAAYR,EAAY,GAAGC,CAAI,GAAGA,CAAI;AACrD;","x_google_ignoreList":[0]}
|