@alphakits/ui 1.31.0 → 1.31.2
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/amount/component.js +1 -1
- package/dist/amount/index.js +1 -1
- package/dist/amount-input/component.js +1 -1
- package/dist/avatar/component.js +1 -1
- package/dist/avatar/index.js +1 -1
- package/dist/back-button/component.js +1 -1
- package/dist/badge/component.js +1 -1
- package/dist/base-card/component.js +1 -1
- package/dist/base-card/index.js +1 -1
- package/dist/bottom-sheet/component.js +1 -1
- package/dist/box/component.js +1 -1
- package/dist/button/component.js +1 -1
- package/dist/button-arrow/component.js +1 -1
- package/dist/calendar/component.js +1 -1
- package/dist/calendar/components/days-table/component.js +1 -1
- package/dist/calendar/components/days-table/index.js +1 -1
- package/dist/calendar/components/header/index.js +1 -1
- package/dist/calendar/components/header//321/201omponent.js +1 -1
- package/dist/calendar/components/months-table/index.js +1 -1
- package/dist/calendar/components/months-table//321/201omponent.js +1 -1
- package/dist/calendar/components/select-button//321/201omponent.js +1 -1
- package/dist/calendar/components/years-table//321/201omponent.js +1 -1
- package/dist/calendar/index.js +1 -1
- package/dist/calendar-input/component.js +1 -1
- package/dist/calendar-input/index.js +1 -1
- package/dist/{capitalize-f61c7a6e.js → capitalize-d32858ed.js} +1 -1
- package/dist/card/component.js +1 -1
- package/dist/card/images/index.js +1 -1
- package/dist/card/index.js +1 -1
- package/dist/cell/base/component.js +1 -1
- package/dist/cell/component.js +1 -1
- package/dist/cell/index.js +1 -1
- package/dist/cell/pure/component.js +1 -1
- package/dist/checkbox/component.js +1 -1
- package/dist/checkbox-group/component.js +1 -1
- package/dist/checkbox-group/index.js +1 -1
- package/dist/checkbox-lists/component.js +1 -1
- package/dist/checkbox-lists/index.js +1 -1
- package/dist/collapsable-row/addons.js +1 -1
- package/dist/collapsable-row/component.js +1 -1
- package/dist/collapsable-row/index.js +1 -1
- package/dist/collapse/component.js +1 -1
- package/dist/collapse/index.js +1 -1
- package/dist/colors.module-a7d0efb0.js +1 -0
- package/dist/contact-block-c5889266.js +1 -0
- package/dist/copy-button/component.js +1 -1
- package/dist/copy-button/index.js +1 -1
- package/dist/date/component.js +1 -1
- package/dist/date/index.js +1 -1
- package/dist/date-switcher/component.js +1 -1
- package/dist/date-switcher/index.js +1 -1
- package/dist/decorated-item/component.js +1 -1
- package/dist/divider/component.js +1 -1
- package/dist/dot/component.js +1 -1
- package/dist/empty-page/component.js +1 -1
- package/dist/empty-page/index.js +1 -1
- package/dist/flex/component.js +1 -1
- package/dist/flex-columns/component.js +1 -1
- package/dist/footer/component.js +1 -1
- package/dist/footer/contact-block.js +1 -1
- package/dist/footer/index.js +1 -1
- package/dist/form/component.js +1 -1
- package/dist/form/components/form-loading/index.js +1 -1
- package/dist/form/index.js +1 -1
- package/dist/form/templates/filters-form/index.js +1 -1
- package/dist/form/templates/rest-form/form.js +1 -1
- package/dist/form/templates/rest-form/index.js +1 -1
- package/dist/form-control/component.js +1 -1
- package/dist/grid/col/component.js +1 -1
- package/dist/grid/col/index.js +1 -1
- package/dist/grid/component.js +1 -1
- package/dist/grid/index.js +1 -1
- package/dist/grid/row/component.js +1 -1
- package/dist/grid/row/index.js +1 -1
- package/dist/gutters.module-8ae90e74.js +1 -0
- package/dist/header-search/component.js +1 -1
- package/dist/icon-button/component.js +1 -1
- package/dist/image/component.js +1 -1
- package/dist/image/image-base.js +1 -1
- package/dist/image/index.js +1 -1
- package/dist/image/use-image-render-component.js +1 -1
- package/dist/image-uploader/component.js +1 -1
- package/dist/image-uploader/index.js +1 -1
- package/dist/index.css +1 -1
- package/dist/info-block-header/component.js +1 -1
- package/dist/info-block-header/index.js +1 -1
- package/dist/info-block-item/component.js +1 -1
- package/dist/info-block-item/index.js +1 -1
- package/dist/info-block-wrapper/component.js +1 -1
- package/dist/input/component.js +1 -1
- package/dist/input-autocomplete/autocomplete-field/index.js +1 -1
- package/dist/input-ghost/component.js +1 -1
- package/dist/link/component.js +1 -1
- package/dist/list-allert/component.js +1 -1
- package/dist/list-allert/index.js +1 -1
- package/dist/loader/component.js +1 -1
- package/dist/masked-input/component.js +1 -1
- package/dist/menu/component.js +1 -1
- package/dist/menu/components/content-header/index.js +1 -1
- package/dist/menu/components/index.js +1 -1
- package/dist/menu/components/menu-avatar/index.js +1 -1
- package/dist/menu/components/menu-back-button/index.js +1 -1
- package/dist/menu/components/menu-button/index.js +1 -1
- package/dist/menu/components/menu-buttons-list/index.js +1 -1
- package/dist/menu/components/user-button/index.js +1 -1
- package/dist/menu/index.js +1 -1
- package/dist/message/component.js +1 -1
- package/dist/message/index.js +1 -1
- package/dist/modal/components/modals/modal.js +1 -1
- package/dist/notification/component.js +1 -1
- package/dist/page-container/component.js +1 -1
- package/dist/page-loading/component.js +1 -1
- package/dist/page-with-controls/component.js +1 -1
- package/dist/page-with-controls/index.js +1 -1
- package/dist/picker-button/common/index.js +1 -1
- package/dist/picker-button/common/labeled-button/index.js +1 -1
- package/dist/picker-button/component.d.ts +1 -1
- package/dist/picker-button/component.js +1 -1
- package/dist/picker-button/field/Component.js +1 -1
- package/dist/picker-button/index.js +1 -1
- package/dist/popover/component.js +1 -1
- package/dist/progress-bar/component.js +1 -1
- package/dist/progress-bar/index.js +1 -1
- package/dist/progress-index/component.js +1 -1
- package/dist/progress-index/index.js +1 -1
- package/dist/radio/component.js +1 -1
- package/dist/radio-group/component.js +1 -1
- package/dist/radio-group/index.js +1 -1
- package/dist/radio-groups/component.js +1 -1
- package/dist/radio-groups/index.js +1 -1
- package/dist/section-wrapper/component.js +1 -1
- package/dist/select/components/arrow/component.js +1 -1
- package/dist/select/components/base-select/component.js +1 -1
- package/dist/select/components/checkmark/component.js +1 -1
- package/dist/select/components/field/component.js +1 -1
- package/dist/select/components/optgroup/component.js +1 -1
- package/dist/select/components/option/component.js +1 -1
- package/dist/select/components/options-list/component.js +1 -1
- package/dist/select/components/select-search/index.js +1 -1
- package/dist/select/components/virtual-options-list/component.js +1 -1
- package/dist/select/presets/use-select-with-loading/hook.js +1 -1
- package/dist/sidepanel/component.js +1 -1
- package/dist/sidepanel/index.js +1 -1
- package/dist/sidepanel-header/component.js +1 -1
- package/dist/sidepanel-header/index.js +1 -1
- package/dist/skeleton/component.js +1 -1
- package/dist/space/component.js +1 -1
- package/dist/spinner/component.js +1 -1
- package/dist/status/component.js +1 -1
- package/dist/step-bar-15ff0e61.js +1 -0
- package/dist/stepped-progress-bar/components/step-bar.js +1 -1
- package/dist/stepped-progress-bar/index.d.ts +1 -1
- package/dist/stepped-progress-bar/index.js +1 -1
- package/dist/sticker/component.js +1 -1
- package/dist/suffix-input/component.js +1 -1
- package/dist/super-list-header/component.js +1 -1
- package/dist/super-list-header/index.js +1 -1
- package/dist/super-list-item/component.js +1 -1
- package/dist/super-list-item/index.js +1 -1
- package/dist/switch/component.js +1 -1
- package/dist/table/component.js +1 -1
- package/dist/table/components/cell/component.js +1 -1
- package/dist/table/components/cell/index.js +1 -1
- package/dist/table/components/cells/index.js +1 -1
- package/dist/table/components/empty-list/index.js +1 -1
- package/dist/table/components/error/index.js +1 -1
- package/dist/table/components/loading/index.js +1 -1
- package/dist/table/components/pagination/index.js +1 -1
- package/dist/table/components/table-header/index.js +1 -1
- package/dist/table/index.js +1 -1
- package/dist/table/table.js +1 -1
- package/dist/table/utils/prepare-rows.js +1 -1
- package/dist/table-status/component.js +1 -1
- package/dist/table-status/index.js +1 -1
- package/dist/tag/component.js +1 -1
- package/dist/tag/index.js +1 -1
- package/dist/tags-list/component.js +1 -1
- package/dist/tags-list/index.js +1 -1
- package/dist/textarea/component.js +1 -1
- package/dist/toast/component.js +1 -1
- package/dist/toast-notifier/component.js +1 -1
- package/dist/toast-plate/component.js +1 -1
- package/dist/tooltip/component.js +1 -1
- package/dist/typography/component.js +1 -1
- package/dist/typography/index.js +1 -1
- package/dist/typography/text/component.js +1 -1
- package/dist/typography/text/index.js +1 -1
- package/dist/typography/title/component.js +1 -1
- package/dist/typography/title/index.js +1 -1
- package/dist/use-image-render-component-91131dbc.js +1 -0
- package/dist/welcome-layout/component.js +1 -1
- package/dist/with-suffix/component.js +1 -1
- package/package.json +7 -5
- package/dist/colors.module-e6546343.js +0 -1
- package/dist/contact-block-79ed0fc7.js +0 -1
- package/dist/gutters.module-40c240ff.js +0 -1
- package/dist/step-bar-96ca328e.js +0 -1
- package/dist/use-image-render-component-d8d9cc09.js +0 -1
- /package/dist/{contact-block-79ed0fc7.d.ts → contact-block-c5889266.d.ts} +0 -0
- /package/dist/{isSymbol-ae03d4c3.js → isSymbol-9701dc6b.js} +0 -0
- /package/dist/{step-bar-96ca328e.d.ts → step-bar-15ff0e61.d.ts} +0 -0
- /package/dist/{use-image-render-component-d8d9cc09.d.ts → use-image-render-component-91131dbc.d.ts} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import e,{forwardRef as n,useRef as t,useState as r,useCallback as i,useEffect as o,useMemo as
|
|
1
|
+
import e,{forwardRef as n,useRef as t,useState as r,useCallback as i,useEffect as o,useMemo as u}from"react";import a from"classnames";import{a as c,i as f}from"../isSymbol-9701dc6b.js";import{ResizeObserver as s}from"resize-observer";import{Link as d}from"../link/component.js";import"tslib";import"react-merge-refs";import"../hooks/useFocus/index.js";var l=function(e){var n=typeof e;return null!=e&&("object"==n||"function"==n)},v=function(){return c.Date.now()},m=/\s/;var p=function(e){for(var n=e.length;n--&&m.test(e.charAt(n)););return n},x=/^\s+/;var h=function(e){return e?e.slice(0,p(e)+1).replace(x,""):e},_=NaN,E=/^[-+]0x[0-9a-f]+$/i,g=/^0b[01]+$/i,w=/^0o[0-7]+$/i,y=parseInt;var b=function(e){if("number"==typeof e)return e;if(f(e))return _;if(l(e)){var n="function"==typeof e.valueOf?e.valueOf():e;e=l(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=h(e);var t=g.test(e);return t||w.test(e)?y(e.slice(2),t?2:8):E.test(e)?_:+e},T="Expected a function",N=Math.max,z=Math.min;var j=function(e,n,t){var r,i,o,u,a,c,f=0,s=!1,d=!1,m=!0;if("function"!=typeof e)throw new TypeError(T);function p(n){var t=r,o=i;return r=i=void 0,f=n,u=e.apply(o,t)}function x(e){var t=e-c;return void 0===c||t>=n||t<0||d&&e-f>=o}function h(){var e=v();if(x(e))return _(e);a=setTimeout(h,function(e){var t=n-(e-c);return d?z(t,o-(e-f)):t}(e))}function _(e){return a=void 0,m&&r?p(e):(r=i=void 0,u)}function E(){var e=v(),t=x(e);if(r=arguments,i=this,c=e,t){if(void 0===a)return function(e){return f=e,a=setTimeout(h,n),s?p(e):u}(c);if(d)return clearTimeout(a),a=setTimeout(h,n),p(c)}return void 0===a&&(a=setTimeout(h,n)),u}return n=b(n)||0,l(t)&&(s=!!t.leading,o=(d="maxWait"in t)?N(b(t.maxWait)||0,n):o,m="trailing"in t?!!t.trailing:m),E.cancel=function(){void 0!==a&&clearTimeout(a),f=0,r=c=i=a=void 0},E.flush=function(){return void 0===a?u:_(v())},E},k="index-module_collapse__1fXxB",C="index-module_content__6f0Vz",L="index-module_expandedContent__sjhE3",$="index-module_children_wrap__3q_ne",H=n((function(n,c){var f,l=n.expanded,v=n.defaultExpanded,m=n.collapsedLabel,p=n.expandedLabel,x=n.children,h=n.className,_=n.contentClassName,E=n.id,g=n.onExpandedChange,w=n.onTransitionEnd,y=n.dataTestId,b=n.linkProps,T=void 0===l,N=t(null),z=t(null),H=r(v||l),I=H[0],M=H[1],O=T?I:l,W=i((function(){var e;z.current&&N.current&&(e=O?z.current.offsetHeight:0,N.current.style.height=e+"px")}),[O]),q=i((function(){w&&w(l)}),[l,w]),A=i((function(){T&&M(!O),console.log(O),g&&g()}),[O,g,T]);o((function(){var e=j((function(){return W()}),300);return window.addEventListener("resize",e),function(){return window.removeEventListener("resize",e)}}),[W]),o((function(){var e=new s(W);return z.current&&e.observe(z.current),function(){e.disconnect()}}),[W]),o((function(){return W()}),[O,W]);var B=u((function(){var e,n=null===(e=N.current)||void 0===e?void 0:e.offsetHeight;return{height:O&&!n?"0px":n+"px"}}),[O]),D=!!p||!!m;return e.createElement("div",{ref:c,className:a(h,k),id:E,"data-test-id":y},e.createElement("div",{onTransitionEnd:q,ref:N,className:a(C,_,(f={},f[L]=O,f)),style:B},e.createElement("div",{className:a($),ref:z},x)),D&&e.createElement(d,{view:(null==b?void 0:b.view)||"secondary",size:(null==b?void 0:b.size)||"m",pseudo:!0,onClick:A},O?p:m))}));export{H as Collapse};
|
package/dist/collapse/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{Collapse}from"./component.js";import"react";import"classnames";import"../isSymbol-
|
|
1
|
+
export{Collapse}from"./component.js";import"react";import"classnames";import"../isSymbol-9701dc6b.js";import"resize-observer";import"../link/component.js";import"tslib";import"react-merge-refs";import"../hooks/useFocus/index.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={primary:"colors-module_primary__1FAyX","primary-inverted":"colors-module_primary-inverted__2caGq",secondary:"colors-module_secondary__2LcfN","secondary-inverted":"colors-module_secondary-inverted__2CpvO",positive:"colors-module_positive__1qhal",attention:"colors-module_attention__2PYVU",negative:"colors-module_negative__347nP",link:"colors-module_link__KXJMd",disabled:"colors-module_disabled__2JC8D",tertiary:"colors-module_tertiary__1t478","tertiary-inverted":"colors-module_tertiary-inverted__2DjrF",accent:"colors-module_accent__vK51h"};export{e as c};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from"react";var o={wrapper:"index-module_wrapper__2UVlb",row_wrapper:"index-module_row_wrapper__31DDa",title:"index-module_title__3ggwA",block:"index-module_block__1ecFw",link:"index-module_link__4y3Pw",text:"index-module_text__2WWow",email:"index-module_email__2cKD9",buttons:"index-module_buttons__2ElVi",bottomBlock:"index-module_bottomBlock__2MYNg",contactBlock:"index-module_contactBlock__3DriJ",phone:"index-module_phone__2xBVj"},t=function(t){var _=t.title,l=t.value;return e.createElement("div",{className:o.contactBlock},e.createElement("span",{className:o.text},_),e.createElement("span",{className:o.phone},l))};export{t as C,o as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import t from"react";import o from"@alphakits/icons/dist/ActionCopyM";import{IconButton as i}from"../icon-button/component.js";import{ToastNotifier as e}from"../toast-notifier/component.js";import{Typography as r}from"../typography/component.js";import"tslib";import"classnames";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"react-dom";import"../toast-plate/component.js";import"@alphakits/icons/dist/AlertCircleM";import"@alphakits/icons/dist/CheckmarkCircleM";import"@alphakits/icons/dist/ClockCircleM";import"@alphakits/icons/dist/CloseS";import"../toast-notifier/use-timer.js";import"../typography/text/component.js";import"../colors.module-
|
|
1
|
+
import t from"react";import o from"@alphakits/icons/dist/ActionCopyM";import{IconButton as i}from"../icon-button/component.js";import{ToastNotifier as e}from"../toast-notifier/component.js";import{Typography as r}from"../typography/component.js";import"tslib";import"classnames";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"react-dom";import"../toast-plate/component.js";import"@alphakits/icons/dist/AlertCircleM";import"@alphakits/icons/dist/CheckmarkCircleM";import"@alphakits/icons/dist/ClockCircleM";import"@alphakits/icons/dist/CloseS";import"../toast-notifier/use-timer.js";import"../typography/text/component.js";import"../colors.module-a7d0efb0.js";import"../typography/title/index.js";import"../typography/title/component.js";var p="index-module_wrapper__2BfFA",m="index-module_link_button__284IZ",n=function(n){var s=n.text,a=n.fullText,c=n.color;return t.createElement("div",{className:p},t.createElement(r.Text,{view:"title",weight:"medium",color:c||"primary"},s),t.createElement(i,{icon:o,className:m,onClick:function(t){t.stopPropagation(),navigator.clipboard.writeText(a||s).then((function(){e({title:"Copied!",view:"positive",offset:30})}))},view:"ghost"}))};export{n as CopyButton};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{CopyButton}from"./component.js";import"react";import"@alphakits/icons/dist/ActionCopyM";import"../icon-button/component.js";import"tslib";import"classnames";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../toast-notifier/component.js";import"react-dom";import"../toast-plate/component.js";import"@alphakits/icons/dist/AlertCircleM";import"@alphakits/icons/dist/CheckmarkCircleM";import"@alphakits/icons/dist/ClockCircleM";import"@alphakits/icons/dist/CloseS";import"../toast-notifier/use-timer.js";import"../typography/component.js";import"../typography/text/component.js";import"../colors.module-
|
|
1
|
+
export{CopyButton}from"./component.js";import"react";import"@alphakits/icons/dist/ActionCopyM";import"../icon-button/component.js";import"tslib";import"classnames";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../toast-notifier/component.js";import"react-dom";import"../toast-plate/component.js";import"@alphakits/icons/dist/AlertCircleM";import"@alphakits/icons/dist/CheckmarkCircleM";import"@alphakits/icons/dist/ClockCircleM";import"@alphakits/icons/dist/CloseS";import"../toast-notifier/use-timer.js";import"../typography/component.js";import"../typography/text/component.js";import"../colors.module-a7d0efb0.js";import"../typography/title/index.js";import"../typography/title/component.js";
|
package/dist/date/component.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__rest as t,__assign as o}from"tslib";import e from"react";import{Typography as a}from"../typography/component.js";import"../toast-notifier/component.js";import{formatDate as i}from"../utils/format-date/index.js";import"../typography/text/component.js";import"classnames";import"../colors.module-
|
|
1
|
+
import{__rest as t,__assign as o}from"tslib";import e from"react";import{Typography as a}from"../typography/component.js";import"../toast-notifier/component.js";import{formatDate as i}from"../utils/format-date/index.js";import"../typography/text/component.js";import"classnames";import"../colors.module-a7d0efb0.js";import"../typography/title/index.js";import"../typography/title/component.js";import"react-dom";import"../toast-plate/component.js";import"@alphakits/icons/dist/AlertCircleM";import"@alphakits/icons/dist/CheckmarkCircleM";import"@alphakits/icons/dist/ClockCircleM";import"@alphakits/icons/dist/CloseS";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../toast-notifier/use-timer.js";import"date-fns";import"date-fns/esm/locale/cs";import"date-fns/esm/locale/de";import"date-fns/esm/locale/en-GB";import"date-fns/esm/locale/pl";import"date-fns/esm/locale/ru";import"date-fns/locale/el";import"date-fns/locale/es";import"date-fns/locale/et";import"date-fns/locale/fr";import"date-fns/locale/it";import"date-fns/locale/nl";import"date-fns/locale/pt";var r=function(r){var s=r.className,m=r.dataTestId,p=r.date,l=r.time,n=r.format,c=void 0===n?"dd.MM.yyyy":n,d=r.language,f=void 0===d?"de":d,j=t(r,["className","dataTestId","date","time","format","language"]);return e.createElement(a.Text,o({},j,{className:s,"data-test-id":m}),i(p,{format:c,lang:f,time:l}))};export{r as FormattedDate};
|
package/dist/date/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{FormattedDate}from"./component.js";import"tslib";import"react";import"../typography/component.js";import"../typography/text/component.js";import"classnames";import"../colors.module-
|
|
1
|
+
export{FormattedDate}from"./component.js";import"tslib";import"react";import"../typography/component.js";import"../typography/text/component.js";import"classnames";import"../colors.module-a7d0efb0.js";import"../typography/title/index.js";import"../typography/title/component.js";import"../toast-notifier/component.js";import"react-dom";import"../toast-plate/component.js";import"@alphakits/icons/dist/AlertCircleM";import"@alphakits/icons/dist/CheckmarkCircleM";import"@alphakits/icons/dist/ClockCircleM";import"@alphakits/icons/dist/CloseS";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../toast-notifier/use-timer.js";import"../utils/format-date/index.js";import"date-fns";import"date-fns/esm/locale/cs";import"date-fns/esm/locale/de";import"date-fns/esm/locale/en-GB";import"date-fns/esm/locale/pl";import"date-fns/esm/locale/ru";import"date-fns/locale/el";import"date-fns/locale/es";import"date-fns/locale/et";import"date-fns/locale/fr";import"date-fns/locale/it";import"date-fns/locale/nl";import"date-fns/locale/pt";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"react";import t from"@alphakits/icons/dist/ChevronBackM";import o from"@alphakits/icons/dist/ChevronForwardM";import a from"classnames";import{startOfISOWeek as r,parseISO as i,isAfter as n,isBefore as d,isToday as m,format as s,add as c,subDays as p,subWeeks as l}from"date-fns";import{Button as y}from"../button/component.js";import{IconButton as _}from"../icon-button/component.js";import{Typography as w}from"../typography/component.js";import"tslib";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../typography/text/component.js";import"../colors.module-
|
|
1
|
+
import e from"react";import t from"@alphakits/icons/dist/ChevronBackM";import o from"@alphakits/icons/dist/ChevronForwardM";import a from"classnames";import{startOfISOWeek as r,parseISO as i,isAfter as n,isBefore as d,isToday as m,format as s,add as c,subDays as p,subWeeks as l}from"date-fns";import{Button as y}from"../button/component.js";import{IconButton as _}from"../icon-button/component.js";import{Typography as w}from"../typography/component.js";import"tslib";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../typography/text/component.js";import"../colors.module-a7d0efb0.js";import"../typography/title/index.js";import"../typography/title/component.js";var f={date_switcher:"index-module_date_switcher__3LtVJ",date_wrap:"index-module_date_wrap__12gB3",day:"index-module_day__3TqPu",week:"index-module_week__nYp-a"},h="yyyy-MM-dd",u="dd.MM.yy",k=function(k){var v=k.view,g=void 0===v?"day":v,x=k.startDate,b=k.onChange,j=k.minDate,C=k.maxDate,E=k.todayLabel,M=r(i(x)),D="day"===g?i(x):M,B=j?i(j):new Date,F=n(D,B),L=!C||d(D,i(C)),N=m(D);return e.createElement("div",{className:f.date_switcher},e.createElement(_,{disabled:!!j&&!F,onClick:function(){"day"===g&&b(s(p(D,1),h)),"week"===g&&b(s(l(D,1),h))},icon:t}),e.createElement("div",{className:a(f.date_wrap,f[g])},e.createElement(w.Text,{tag:"div",view:"title",color:"secondary",weight:"bold"},"day"===g?s(D,u):s(D,u)+" - "+s(c(D,{days:6}),u))),e.createElement(_,{disabled:!L,onClick:function(){"day"===g&&b(s(c(D,{days:1}),h)),"week"===g&&b(s(c(D,{days:7}),h))},icon:o}),e.createElement(y,{disabled:N,onClick:function(){b(s(new Date,h))},view:"ghost"},E))};export{k as DateSwitcher};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{DateSwitcher}from"./component.js";import"react";import"@alphakits/icons/dist/ChevronBackM";import"@alphakits/icons/dist/ChevronForwardM";import"classnames";import"date-fns";import"../button/component.js";import"tslib";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../icon-button/component.js";import"../typography/component.js";import"../typography/text/component.js";import"../colors.module-
|
|
1
|
+
export{DateSwitcher}from"./component.js";import"react";import"@alphakits/icons/dist/ChevronBackM";import"@alphakits/icons/dist/ChevronForwardM";import"classnames";import"date-fns";import"../button/component.js";import"tslib";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../icon-button/component.js";import"../typography/component.js";import"../typography/text/component.js";import"../colors.module-a7d0efb0.js";import"../typography/title/index.js";import"../typography/title/component.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"react";import t from"classnames";var a="index-
|
|
1
|
+
import e from"react";import t from"classnames";var a="index-module_component__18X9B",d="index-module_textWrap__36L9I",n="index-module_title__1XbGA",l="index-module_description__1XeHw",m=function(m){var i=m.className,r=m.leftAddon,s=m.title,c=m.rightAddon,o=m.description,_=m.dataTestId;return e.createElement("div",{className:t(a,i),"data-test-id":_},r,e.createElement("div",{className:d},e.createElement("div",{className:n},s,c&&e.createElement("span",null,c)),o&&e.createElement("div",{className:l},o)))};export{m as DecoratedItem};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"react";import i from"classnames";var d={divider:"index-
|
|
1
|
+
import e from"react";import i from"classnames";var d={divider:"index-module_divider__1Ea_-",s:"index-module_s__F2s_y",horizontal:"index-module_horizontal__1U_Nz",m:"index-module_m__1s1It",l:"index-module_l__38yEr",vertical:"index-module_vertical__2uiM6"},_=function(_){var a=_.className,o=_.dataTestId,r=_.view,t=void 0===r?"horizontal":r,l=_.size,m=void 0===l?"s":l;return e.createElement("div",{className:i(d.divider,a,d[m],d[t]),"data-test-id":o})};export{_ as Divider};
|
package/dist/dot/component.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"react";import d from"classnames";var _={dot:"index-
|
|
1
|
+
import e from"react";import d from"classnames";var _={dot:"index-module_dot__NG39v",sm:"index-module_sm__220BQ",md:"index-module_md__3FBGD",green:"index-module_green__1Uy4O",orange:"index-module_orange__2ZTW_",red:"index-module_red__PLR2p",blue:"index-module_blue__1YASf",grey:"index-module_grey__3pdQV",purple:"index-module_purple__1i9xQ",teal:"index-module_teal__2SeXw"},o=function(o){var r=o.color,m=void 0===r?"green":r,l=o.size,n=void 0===l?"sm":l;return e.createElement("div",{className:d([_.dot,_[n],_[m]])})};export{o as Dot};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__rest as e,__assign as t}from"tslib";import o from"react";import r from"classnames";import{Button as i}from"../button/component.js";import{FlexColumns as m}from"../flex-columns/component.js";import{Typography as l}from"../typography/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../typography/text/component.js";import"../colors.module-
|
|
1
|
+
import{__rest as e,__assign as t}from"tslib";import o from"react";import r from"classnames";import{Button as i}from"../button/component.js";import{FlexColumns as m}from"../flex-columns/component.js";import{Typography as l}from"../typography/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../typography/text/component.js";import"../colors.module-a7d0efb0.js";import"../typography/title/index.js";import"../typography/title/component.js";var a="index-module_wrapper__2Kh03",n="index-module_content__38rCl",p="index-module_overlay__2CDXO",c="index-module_image__17czR",s=function(s){var d=s.code,u=s.image,v=s.overlay,g=s.title,y=s.subtitle,x=s.buttonText,_=s.view,f=void 0===_?"primary":_,h=s.size,w=void 0===h?"m":h,b=e(s,["code","image","overlay","title","subtitle","buttonText","view","size"]);return o.createElement("div",{className:r(a,v&&p)},u&&o.createElement("img",{alt:g,className:c,src:u}),o.createElement(m,{columns:1,gr:8,className:n},d&&o.createElement(l.Title,{view:"large",weight:"bold",color:"primary",tag:"div"},d),o.createElement(l.Title,{view:"small",weight:"bold",color:"primary",tag:"div"},g),y&&o.createElement(l.Text,{color:"primary",weight:"medium",view:"primary-medium"},y)),(!!(null==b?void 0:b.onClick)||(null==b?void 0:b.href))&&o.createElement(i,t({view:f,size:w},b),x))};export{s as EmptyPage};
|
package/dist/empty-page/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{EmptyPage}from"./component.js";import"tslib";import"react";import"classnames";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../flex-columns/component.js";import"../typography/component.js";import"../typography/text/component.js";import"../colors.module-
|
|
1
|
+
export{EmptyPage}from"./component.js";import"tslib";import"react";import"classnames";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../flex-columns/component.js";import"../typography/component.js";import"../typography/text/component.js";import"../colors.module-a7d0efb0.js";import"../typography/title/index.js";import"../typography/title/component.js";
|
package/dist/flex/component.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import _ from"react";import e from"classnames";var
|
|
1
|
+
import _ from"react";import e from"classnames";var o,m={component:"index-module_component__3t7x9",wrap:"index-module_wrap__BMeq5",align_center:"index-module_align_center__3l_Ri",align_start:"index-module_align_start__1jw4F",align_end:"index-module_align_end__1iY9w",align_stretch:"index-module_align_stretch__2lgyn",justify_center:"index-module_justify_center__f6zLY",justify_start:"index-module_justify_start__rrxbU",justify_end:"index-module_justify_end__1bBd4",justify_between:"index-module_justify_between__31ZEX",justify_around:"index-module_justify_around__2EflM",direction_row:"index-module_direction_row__2WRGL",direction_column:"index-module_direction_column__14LSl",gap_xxxs:"index-module_gap_xxxs__18Bkh",gap_xxs:"index-module_gap_xxs__1ROib",gap_xs:"index-module_gap_xs___e4Cm",gap_sm:"index-module_gap_sm__1jq4k",gap_md:"index-module_gap_md__3_5qm",gap_l:"index-module_gap_l__1d0oQ",gap_xl:"index-module_gap_xl__2xHwR",gap_xxl:"index-module_gap_xxl__Cfglm",marginBottom_xxxs:"index-module_marginBottom_xxxs__x3L1W",marginBottom_xxs:"index-module_marginBottom_xxs__20dHI",marginBottom_xs:"index-module_marginBottom_xs__2ogub",marginBottom_sm:"index-module_marginBottom_sm__2sciB",marginBottom_md:"index-module_marginBottom_md__vaftX",marginBottom_l:"index-module_marginBottom_l__2Y4VA",marginBottom_xl:"index-module_marginBottom_xl__2DB9t",marginBottom_xxl:"index-module_marginBottom_xxl__3VrVJ"};!function(_){_[_.xxxs=4]="xxxs",_[_.xxs=4]="xxs",_[_.xs=8]="xs",_[_.sm=12]="sm",_[_.md=16]="md",_[_.l=20]="l",_[_.xl=24]="xl",_[_.xxl=32]="xxl"}(o||(o={}));var i=function(o){var i,n=o.children,t=o.className,x=o.gap,d=o.marginBottom,l=o.wrap,a=o.align,r=o.direction,s=void 0===r?"row":r,g=o.justify;return _.createElement("div",{style:{},className:e([t,m.component,(i={},i[m["align_"+a]]=a,i[m.wrap]=l,i[m["justify_"+g]]=g,i[m["direction_"+s]]=s,i[m["gap_"+x]]=x,i[m["marginBottom_"+d]]=d,i)])},n)};export{i as Flex};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"react";import r from"classnames";var
|
|
1
|
+
import e from"react";import r from"classnames";var o="index-module_flexColumns__39yrh",a=function(a){var m=a.children,l=a.columns,i=void 0===l?3:l,n=a.gr,s=void 0===n?20:n,t=a.gc,d=void 0===t?20:t,c=a.className;return e.createElement("div",{className:r(o,c),style:{gridTemplateColumns:"1fr ".repeat(i),gridRowGap:s+"px",gridColumnGap:d+"px"}},m)};export{a as FlexColumns};
|
package/dist/footer/component.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__assign as e}from"tslib";import t from"react";import o from"@alphakits/icons/dist/AppStoreM";import r from"@alphakits/icons/dist/FacebookM";import a from"@alphakits/icons/dist/GooglePlayM";import m from"@alphakits/icons/dist/InstagramM";import n from"@alphakits/icons/dist/YoutubeM";import{Grid as i}from"../grid/component.js";import{IconButton as l}from"../icon-button/component.js";import{SectionWrapper as c}from"../section-wrapper/component.js";import{s,C as p}from"../contact-block-
|
|
1
|
+
import{__assign as e}from"tslib";import t from"react";import o from"@alphakits/icons/dist/AppStoreM";import r from"@alphakits/icons/dist/FacebookM";import a from"@alphakits/icons/dist/GooglePlayM";import m from"@alphakits/icons/dist/InstagramM";import n from"@alphakits/icons/dist/YoutubeM";import{Grid as i}from"../grid/component.js";import{IconButton as l}from"../icon-button/component.js";import{SectionWrapper as c}from"../section-wrapper/component.js";import{s,C as p}from"../contact-block-c5889266.js";import"../grid/col/component.js";import"classnames";import"../grid/utils/index.js";import"../gutters.module-8ae90e74.js";import"../grid/row/component.js";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";var d=function(d){var u=d.sections,E=void 0===u?[]:u,f=d.contacts,k=void 0===f?[]:f,b=d.company,v=d.email,g=d.address,h=d.facebookLink,N=d.instagramLink,j=d.youtubeLink,x=d.appText,w=d.google,y=d.appstore,M=h||N||j,F=x&&y&&w;return t.createElement(c,{pb:"m",pt:"l",isBlackBg:!0},t.createElement("div",{className:s.wrapper},t.createElement("div",{className:s.row_wrapper},t.createElement(i.Row,null,t.createElement(t.Fragment,null,E.map((function(e){return t.createElement(i.Col,{key:e.title,width:{desktop:2,mobile:12}},t.createElement("div",{className:s.block},t.createElement("span",{className:s.title},e.title),e.items.map((function(e){return t.createElement("a",{key:e.text,className:s.link,href:e.link},e.text)}))))})),t.createElement(i.Col,{key:"cont",width:{desktop:2,mobile:12}},t.createElement("div",{className:s.contacts},k.map((function(e){return t.createElement(p,{key:e.title,title:e.title,value:e.value})})),v&&t.createElement("div",{className:s.email},v),t.createElement("br",null),g&&t.createElement("div",{className:s.text},g),t.createElement("br",null),b&&t.createElement("div",{className:s.text},b),t.createElement("br",null),M&&t.createElement("div",{className:s.buttons},h&&t.createElement(l,e({},{href:h},{icon:r})),j&&t.createElement(l,e({},{href:j},{icon:n})),N&&t.createElement(l,e({},{href:N},{icon:m}))))))))),t.createElement("div",{className:s.bottomBlock},F&&t.createElement(t.Fragment,null,t.createElement("div",{className:s.text},x),t.createElement("div",{className:s.buttons},y&&t.createElement(l,e({},{href:y},{icon:o})),w&&t.createElement(l,e({},{href:w},{icon:a}))))))};export{d as Footer};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"react";export{C as ContactBlock}from"../contact-block-
|
|
1
|
+
import"react";export{C as ContactBlock}from"../contact-block-c5889266.js";
|
package/dist/footer/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{Footer}from"./component.js";import"tslib";import"react";import"@alphakits/icons/dist/AppStoreM";import"@alphakits/icons/dist/FacebookM";import"@alphakits/icons/dist/GooglePlayM";import"@alphakits/icons/dist/InstagramM";import"@alphakits/icons/dist/YoutubeM";import"../grid/component.js";import"../grid/col/component.js";import"classnames";import"../grid/utils/index.js";import"../gutters.module-
|
|
1
|
+
export{Footer}from"./component.js";import"tslib";import"react";import"@alphakits/icons/dist/AppStoreM";import"@alphakits/icons/dist/FacebookM";import"@alphakits/icons/dist/GooglePlayM";import"@alphakits/icons/dist/InstagramM";import"@alphakits/icons/dist/YoutubeM";import"../grid/component.js";import"../grid/col/component.js";import"classnames";import"../grid/utils/index.js";import"../gutters.module-8ae90e74.js";import"../grid/row/component.js";import"../icon-button/component.js";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../section-wrapper/component.js";import"../contact-block-c5889266.js";
|
package/dist/form/component.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"react";import{Button as t}from"../button/component.js";import{FlexColumns as r}from"../flex-columns/component.js";import{Input as o}from"../input/component.js";import{ModalContext as n}from"../modal/context.js";import{showSuccess as a,showError as i}from"../utils/show-toast/index.js";import"date-fns";import"date-fns/esm/locale/cs";import"date-fns/esm/locale/de";import"date-fns/esm/locale/en-GB";import"date-fns/esm/locale/pl";import"date-fns/esm/locale/ru";import"date-fns/locale/el";import"date-fns/locale/es";import"date-fns/locale/et";import"date-fns/locale/fr";import"date-fns/locale/it";import"date-fns/locale/nl";import"date-fns/locale/pt";import{RestForm as m}from"./templates/rest-form/index.js";import"tslib";import"react-merge-refs";import"classnames";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../form-control/component.js";import"../portal/component.js";import"react-dom";import"../portal/utils.js";import"../modal/components/modals/index.js";import"../modal/components/modals/modal.js";import"../button-arrow/component.js";import"@alphakits/icons";import"../modal/hooks/use-modal.js";import"uuid";import"../modal/utils/delete-property-by-id.js";import"../toast-notifier/component.js";import"../toast-plate/component.js";import"@alphakits/icons/dist/AlertCircleM";import"@alphakits/icons/dist/CheckmarkCircleM";import"@alphakits/icons/dist/ClockCircleM";import"@alphakits/icons/dist/CloseS";import"../toast-notifier/use-timer.js";import"formik";import"./templates/rest-form/form.js";import"@alphakits/icons/dist/TrashM";import"../flex/component.js";import"../icon-button/component.js";import"../sidepanel/component.js";import"../sidepanel-header/component.js";import"../back-button/component.js";import"../typography/component.js";import"../typography/text/component.js";import"../colors.module-
|
|
1
|
+
import e from"react";import{Button as t}from"../button/component.js";import{FlexColumns as r}from"../flex-columns/component.js";import{Input as o}from"../input/component.js";import{ModalContext as n}from"../modal/context.js";import{showSuccess as a,showError as i}from"../utils/show-toast/index.js";import"date-fns";import"date-fns/esm/locale/cs";import"date-fns/esm/locale/de";import"date-fns/esm/locale/en-GB";import"date-fns/esm/locale/pl";import"date-fns/esm/locale/ru";import"date-fns/locale/el";import"date-fns/locale/es";import"date-fns/locale/et";import"date-fns/locale/fr";import"date-fns/locale/it";import"date-fns/locale/nl";import"date-fns/locale/pt";import{RestForm as m}from"./templates/rest-form/index.js";import"tslib";import"react-merge-refs";import"classnames";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../form-control/component.js";import"../portal/component.js";import"react-dom";import"../portal/utils.js";import"../modal/components/modals/index.js";import"../modal/components/modals/modal.js";import"../button-arrow/component.js";import"@alphakits/icons";import"../modal/hooks/use-modal.js";import"uuid";import"../modal/utils/delete-property-by-id.js";import"../toast-notifier/component.js";import"../toast-plate/component.js";import"@alphakits/icons/dist/AlertCircleM";import"@alphakits/icons/dist/CheckmarkCircleM";import"@alphakits/icons/dist/ClockCircleM";import"@alphakits/icons/dist/CloseS";import"../toast-notifier/use-timer.js";import"formik";import"./templates/rest-form/form.js";import"@alphakits/icons/dist/TrashM";import"../flex/component.js";import"../icon-button/component.js";import"../sidepanel/component.js";import"../sidepanel-header/component.js";import"../back-button/component.js";import"../typography/component.js";import"../typography/text/component.js";import"../colors.module-a7d0efb0.js";import"../typography/title/index.js";import"../typography/title/component.js";import"../skeleton/component.js";var l={baz:"",bar:""},s={buz:"",bur:""},c=function(t){var n=e.useState(!0),l=n[0],c=n[1],u=e.useState(!1),p=u[0],b=u[1],d=e.useState(!1),f=d[0],h=d[1];e.useEffect((function(){setTimeout((function(){return c(!1)}),500)}),[]);return e.createElement(m,{recordId:827368276387,initialValues:s,customValidationFields:["bur"],save:function(){return new Promise((function(e){b(!0),setTimeout((function(){e(),b(!1),a("","Saved")}),3e3)}))},remove:function(){return new Promise((function(e){h(!0),setTimeout((function(){e(),h(!1),i("Some error from server","Error")}),3e3)}))},title:"custom title other",loading:l,submitButtonText:"submit",updating:p,removing:f,close:null==t?void 0:t.close,t:function(e){return e}},(function(t){var n=t.values,a=t.touched,i=t.errors,m=t.handleChange;return e.createElement(r,{columns:1,gr:16,gc:0},e.createElement(o,{label:"buz",value:n.buz,onChange:m("buz"),error:a.buz&&i.buz}),e.createElement(o,{label:"bur",value:n.bur,onChange:m("bur"),error:a.bur&&i.bur}))}))},u=function(s){var u=e.useState(!0),p=u[0],b=u[1],d=e.useState(!1),f=d[0],h=d[1],j=e.useState(!1),v=j[0],g=j[1],C=(0,e.useContext(n).openModal)(c);e.useEffect((function(){setTimeout((function(){return b(!1)}),500)}),[]);return e.createElement(m,{recordId:8273682763,initialValues:l,customValidationFields:["bar"],save:function(){return new Promise((function(e){h(!0),setTimeout((function(){e(),h(!1),a("","Saved")}),3e3)}))},remove:function(){return new Promise((function(e){g(!0),setTimeout((function(){e(),g(!1),i("Some error from server","Error")}),3e3)}))},title:"Настройки",subtitle:"Подпись к заголовку",back:function(){},softError:"Some error",loading:p,submitButtonText:"csdcds",updating:f,removing:v,close:null==s?void 0:s.close,t:function(e){return e}},(function(n){var a=n.values,i=n.touched,m=n.errors,l=n.handleChange;return e.createElement(r,{columns:1,gr:16,gc:0},e.createElement(o,{label:"baz",value:a.baz,onChange:l("baz"),error:i.baz&&m.baz}),e.createElement(o,{label:"bar",value:a.bar,onChange:l("bar"),error:i.bar&&m.bar}),e.createElement(o,{label:"bar",value:a.bar,onChange:l("bar"),error:i.bar&&m.bar}),e.createElement(o,{label:"bar",value:a.bar,onChange:l("bar"),error:i.bar&&m.bar}),e.createElement(o,{label:"bar",value:a.bar,onChange:l("bar"),error:i.bar&&m.bar}),e.createElement(o,{label:"bar",value:a.bar,onChange:l("bar"),error:i.bar&&m.bar}),e.createElement(o,{label:"bar",value:a.bar,onChange:l("bar"),error:i.bar&&m.bar}),e.createElement(o,{label:"bar",value:a.bar,onChange:l("bar"),error:i.bar&&m.bar}),e.createElement(o,{label:"bar",value:a.bar,onChange:l("bar"),error:i.bar&&m.bar}),e.createElement(t,{onClick:C},"openCrudModalOther"))}))},p=function(){var r=(0,e.useContext(n).openModal)(u);return e.createElement(e.Fragment,null,e.createElement(t,{onClick:r},"open crud modal"))};export{p as Component};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"react";import{FlexColumns as l}from"../../../flex-columns/component.js";import{Skeleton as t}from"../../../skeleton/component.js";import"classnames";var
|
|
1
|
+
import e from"react";import{FlexColumns as l}from"../../../flex-columns/component.js";import{Skeleton as t}from"../../../skeleton/component.js";import"classnames";var a="index-module_header__3gf11",m="index-module_title__1rbdw",s="index-module_addon__YacBy",n="index-module_input__B6sV4",c="index-module_content__FXkKP",i="index-module_buttons__4ucNp",o="index-module_button__3U7Nx",r=function(){return e.createElement(l,{columns:1,gr:16,className:c},e.createElement("div",{className:a},e.createElement(t,{visible:!0,className:m}),e.createElement(t,{visible:!0,className:s})),e.createElement(t,{visible:!0,className:n}),e.createElement(t,{visible:!0,className:n}),e.createElement(t,{visible:!0,className:n}),e.createElement(t,{visible:!0,className:n}),e.createElement(t,{visible:!0,className:n}),e.createElement("div",{className:i},e.createElement(t,{visible:!0,className:o}),e.createElement(t,{visible:!0,className:o})))};export{r as FormLoading};
|
package/dist/form/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{FiltersForm}from"./templates/filters-form/index.js";import"react";import"formik";import"../button/component.js";import"tslib";import"react-merge-refs";import"classnames";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../sidepanel/component.js";import"../flex-columns/component.js";import"../sidepanel-header/component.js";import"../back-button/component.js";import"../button-arrow/component.js";import"@alphakits/icons";import"../typography/component.js";import"../typography/text/component.js";import"../colors.module-
|
|
1
|
+
export{FiltersForm}from"./templates/filters-form/index.js";import"react";import"formik";import"../button/component.js";import"tslib";import"react-merge-refs";import"classnames";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../sidepanel/component.js";import"../flex-columns/component.js";import"../sidepanel-header/component.js";import"../back-button/component.js";import"../button-arrow/component.js";import"@alphakits/icons";import"../typography/component.js";import"../typography/text/component.js";import"../colors.module-a7d0efb0.js";import"../typography/title/index.js";import"../typography/title/component.js";import"../skeleton/component.js";import"./utils/get-default-values.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import t from"react";import{Formik as o}from"formik";import{Button as e}from"../../../button/component.js";import{Sidepanel as n}from"../../../sidepanel/component.js";import{getDefaultValues as r}from"../../utils/get-default-values.js";import"tslib";import"react-merge-refs";import"classnames";import"../../../hooks/useFocus/index.js";import"../../../loader/component.js";import"../../../flex-columns/component.js";import"../../../sidepanel-header/component.js";import"../../../back-button/component.js";import"../../../button-arrow/component.js";import"@alphakits/icons";import"../../../typography/component.js";import"../../../typography/text/component.js";import"../../../colors.module-
|
|
1
|
+
import t from"react";import{Formik as o}from"formik";import{Button as e}from"../../../button/component.js";import{Sidepanel as n}from"../../../sidepanel/component.js";import{getDefaultValues as r}from"../../utils/get-default-values.js";import"tslib";import"react-merge-refs";import"classnames";import"../../../hooks/useFocus/index.js";import"../../../loader/component.js";import"../../../flex-columns/component.js";import"../../../sidepanel-header/component.js";import"../../../back-button/component.js";import"../../../button-arrow/component.js";import"@alphakits/icons";import"../../../typography/component.js";import"../../../typography/text/component.js";import"../../../colors.module-a7d0efb0.js";import"../../../typography/title/index.js";import"../../../typography/title/component.js";import"../../../skeleton/component.js";var i=function(i){var m=i.initialValues,s=i.defaultValues,a=i.children,p=i.submitCallback,l=i.close,c=i.t,u=r(m,s);return t.createElement(o,{initialValues:u,onSubmit:function(t){p(t),l()}},(function(o){return t.createElement(n,{title:c("filters"),bottomAddons:t.createElement(t.Fragment,null,t.createElement(e,{view:"primary",size:"s",block:!0,dataTestId:"buttonSave",onClick:function(){return o.submitForm()}},c("save")),t.createElement(e,{block:!0,view:"secondary",size:"s",dataTestId:"buttonCancel",onClick:l},c("cancel")))},a(o))}))};export{i as FiltersForm};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__rest as t,__assign as o}from"tslib";import e,{useContext as i,useState as r,useCallback as n,useEffect as m}from"react";import a from"@alphakits/icons/dist/TrashM";import{Button as s}from"../../../button/component.js";import{Flex as l}from"../../../flex/component.js";import{FlexColumns as d}from"../../../flex-columns/component.js";import{IconButton as c}from"../../../icon-button/component.js";import{ModalContext as p}from"../../../modal/context.js";import{Sidepanel as u}from"../../../sidepanel/component.js";import{ToastPlate as b}from"../../../toast-plate/component.js";import"react-merge-refs";import"classnames";import"../../../hooks/useFocus/index.js";import"../../../loader/component.js";import"../../../portal/component.js";import"react-dom";import"../../../portal/utils.js";import"../../../modal/components/modals/index.js";import"../../../modal/components/modals/modal.js";import"../../../button-arrow/component.js";import"@alphakits/icons";import"../../../modal/hooks/use-modal.js";import"uuid";import"../../../modal/utils/delete-property-by-id.js";import"../../../sidepanel-header/component.js";import"../../../back-button/component.js";import"../../../typography/component.js";import"../../../typography/text/component.js";import"../../../colors.module-
|
|
1
|
+
import{__rest as t,__assign as o}from"tslib";import e,{useContext as i,useState as r,useCallback as n,useEffect as m}from"react";import a from"@alphakits/icons/dist/TrashM";import{Button as s}from"../../../button/component.js";import{Flex as l}from"../../../flex/component.js";import{FlexColumns as d}from"../../../flex-columns/component.js";import{IconButton as c}from"../../../icon-button/component.js";import{ModalContext as p}from"../../../modal/context.js";import{Sidepanel as u}from"../../../sidepanel/component.js";import{ToastPlate as b}from"../../../toast-plate/component.js";import"react-merge-refs";import"classnames";import"../../../hooks/useFocus/index.js";import"../../../loader/component.js";import"../../../portal/component.js";import"react-dom";import"../../../portal/utils.js";import"../../../modal/components/modals/index.js";import"../../../modal/components/modals/modal.js";import"../../../button-arrow/component.js";import"@alphakits/icons";import"../../../modal/hooks/use-modal.js";import"uuid";import"../../../modal/utils/delete-property-by-id.js";import"../../../sidepanel-header/component.js";import"../../../back-button/component.js";import"../../../typography/component.js";import"../../../typography/text/component.js";import"../../../colors.module-a7d0efb0.js";import"../../../typography/title/index.js";import"../../../typography/title/component.js";import"../../../skeleton/component.js";import"@alphakits/icons/dist/AlertCircleM";import"@alphakits/icons/dist/CheckmarkCircleM";import"@alphakits/icons/dist/ClockCircleM";import"@alphakits/icons/dist/CloseS";function f(f){var h=f.recordId,j=f.title,g=f.subtitle,k=f.headerBottomAddons,v=f.initialValues,y=f.submitButtonText,C=f.customFooter,E=f.loading,x=f.updating,A=f.removing;f.customValidationFields,f.validate,f.save;var V=f.remove,T=f.close,B=f.back,F=f.t,I=f.children,M=f.headerAddon;f.error;var w=f.softError,S=t(f,["recordId","title","subtitle","headerBottomAddons","initialValues","submitButtonText","customFooter","loading","updating","removing","customValidationFields","validate","save","remove","close","back","t","children","headerAddon","error","softError"]),z=i(p),D=z.setModalDirty,P=z.currentModalId,R=r(P)[0],q=S.submitCount,G=S.handleSubmit,H=S.isValid,J=t(S,["submitCount","handleSubmit","isValid"]),K=!!h&&!!V,L=n((function(){D(R,!1),G()}),[J.dirty,R]),N=n((function(){D(R,!1),confirm(F("common:deleteConfirm"))&&(null==V||V())}),[J.dirty,R]);m((function(){E||D(R,J.dirty)}),[J.dirty,E,R]);var O=K||M?e.createElement(e.Fragment,null,M,K&&e.createElement(c,{dataTestId:"removeTariffBtn",size:"m",disabled:x,loading:A,onClick:N,icon:a})):null;return e.createElement(u,{headerRightAddons:O,title:j,subtitle:g,loading:x||A||E,headerBottomAddons:(k||!!w||!H&&!!q)&&e.createElement(d,{columns:1,gr:8},k,!!w&&e.createElement(b,{view:"negative"},w),!H&&!!q&&e.createElement(b,{view:"negative"},"Please correct errors before submitting form.")),back:B,t:F,bottomAddons:C||e.createElement(l,{gap:"md"},e.createElement(s,{view:"primary",size:"s",block:!0,loading:E,disabled:x||A,dataTestId:"buttonSave",onClick:function(){return L()}},F(y||"save")),e.createElement(s,{block:!0,view:"secondary",size:"s",dataTestId:"buttonCancel",onClick:T},F("cancel")))},I(o({submitCount:q,isValid:H,handleSubmit:L,initialValues:v},J)))}export{f as Form};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__rest as o,__assign as t}from"tslib";import i from"react";import{Formik as e}from"formik";import{Form as r}from"./form.js";import"@alphakits/icons/dist/TrashM";import"../../../button/component.js";import"react-merge-refs";import"classnames";import"../../../hooks/useFocus/index.js";import"../../../loader/component.js";import"../../../flex/component.js";import"../../../flex-columns/component.js";import"../../../icon-button/component.js";import"../../../modal/context.js";import"../../../portal/component.js";import"react-dom";import"../../../portal/utils.js";import"../../../modal/components/modals/index.js";import"../../../modal/components/modals/modal.js";import"../../../button-arrow/component.js";import"@alphakits/icons";import"../../../modal/hooks/use-modal.js";import"uuid";import"../../../modal/utils/delete-property-by-id.js";import"../../../sidepanel/component.js";import"../../../sidepanel-header/component.js";import"../../../back-button/component.js";import"../../../typography/component.js";import"../../../typography/text/component.js";import"../../../colors.module-
|
|
1
|
+
import{__rest as o,__assign as t}from"tslib";import i from"react";import{Formik as e}from"formik";import{Form as r}from"./form.js";import"@alphakits/icons/dist/TrashM";import"../../../button/component.js";import"react-merge-refs";import"classnames";import"../../../hooks/useFocus/index.js";import"../../../loader/component.js";import"../../../flex/component.js";import"../../../flex-columns/component.js";import"../../../icon-button/component.js";import"../../../modal/context.js";import"../../../portal/component.js";import"react-dom";import"../../../portal/utils.js";import"../../../modal/components/modals/index.js";import"../../../modal/components/modals/modal.js";import"../../../button-arrow/component.js";import"@alphakits/icons";import"../../../modal/hooks/use-modal.js";import"uuid";import"../../../modal/utils/delete-property-by-id.js";import"../../../sidepanel/component.js";import"../../../sidepanel-header/component.js";import"../../../back-button/component.js";import"../../../typography/component.js";import"../../../typography/text/component.js";import"../../../colors.module-a7d0efb0.js";import"../../../typography/title/index.js";import"../../../typography/title/component.js";import"../../../skeleton/component.js";import"../../../toast-plate/component.js";import"@alphakits/icons/dist/AlertCircleM";import"@alphakits/icons/dist/CheckmarkCircleM";import"@alphakits/icons/dist/ClockCircleM";import"@alphakits/icons/dist/CloseS";function n(n){var m=n.enableReinitialize,p=void 0===m||m,s=o(n,["enableReinitialize"]),a=s.loading,l=s.error,c=s.validate,d=s.customValidationFields,u=s.initialValues,j=s.save;if(l)return i.createElement("div",null,"Error ");var f,h,k;return i.createElement(e,{validate:(f=c,h=d,f||(h?(k=h,function(o){return k.reduce((function(t,i){return("object"==typeof o?o:{})[i]||(t[i]=s.t("validationErrors:Required")),t}),{})}):void 0)),initialValues:u,enableReinitialize:p,onSubmit:j},(function(o){return i.createElement(r,t({loading:a},o,s))}))}export{n as RestForm};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__rest as e,__assign as d}from"tslib";import l from"react";import a from"classnames";var s={component:"index-
|
|
1
|
+
import{__rest as e,__assign as d}from"tslib";import l from"react";import a from"classnames";var s={component:"index-module_component__3tlVs",inner:"index-module_inner__pSH0W",inputWrapper:"index-module_inputWrapper__JbZMU",input:"index-module_input__3avDJ",label:"index-module_label__3Xqxs",labelInner:"index-module_labelInner__16eLo",addons:"index-module_addons__JTuuA",leftAddons:"index-module_leftAddons__qVHwS",rightAddons:"index-module_rightAddons__17UmI",sub:"index-module_sub__QrA1g",hint:"index-module_hint__3jUwU",block:"index-module_block__uxEL1",s:"index-module_s__3jjVa",hasLabel:"index-module_hasLabel__1bQX4",m:"index-module_m__1XLCq",l:"index-module_l__DgrRo",hasLeftAddons:"index-module_hasLeftAddons__1rq97",hasRightAddons:"index-module_hasRightAddons__1FSGe",disabled:"index-module_disabled__3UP5h",focused:"index-module_focused__oVHl9",hasError:"index-module_hasError__2E_Qj",filled:"index-module_filled__3eIMD",error:"index-module_error__NqT31"},n=l.forwardRef((function(n,o){var r,i,t=n.block,_=void 0!==t&&t,m=n.size,u=void 0===m?"s":m,c=n.className,b=n.required,f=n.fieldClassName,h=n.labelClassName,x=n.addonsClassName,p=n.disabled,A=n.focused,N=n.filled,E=n.error,v=n.hint,g=n.label,L=n.leftAddons,q=n.rightAddons,C=n.bottomAddons,I=n.children,k=n.dataTestId,R=e(n,["block","size","className","required","fieldClassName","labelClassName","addonsClassName","disabled","focused","filled","error","hint","label","leftAddons","rightAddons","bottomAddons","children","dataTestId"]),U="string"==typeof E?E:"";return l.createElement("div",{"data-test-id":k,className:a(s.component,c,s[u],(r={},r[s.block]=_,r[s.hasLeftAddons]=L,r[s.hasRightAddons]=q||E,r))},l.createElement("div",d({},R,{className:a(f,s.inner,(i={},i[s.focused]=A,i[s.disabled]=p,i[s.filled]=N,i[s.hasError]=E,i[s.hasLabel]=g,i)),ref:o}),L&&l.createElement("div",{className:a(s.addons,s.leftAddons,x)},L),l.createElement("div",{className:s.inputWrapper},g&&l.createElement("div",{className:a(s.label,h)},l.createElement("span",{className:s.labelInner},b?g+" *":g)),l.createElement("div",{className:s.input},I)),q&&l.createElement("div",{className:a(s.addons,s.rightAddons,x)},q)),C,U&&l.createElement("span",{"data-attribute":"form-error",className:a(s.sub,s.error)},U),v&&!U&&l.createElement("span",{className:a(s.sub,s.hint)},v))}));export{n as FormControl};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__spreadArray as e}from"tslib";import d,{useMemo as o}from"react";import t from"classnames";import{createClassNames as _}from"../utils/index.js";import{g as l}from"../../gutters.module-40c240ff.js";var i={component:"index-module_component__-XQFp","width-auto":"index-module_width-auto__JyCVC","width-available":"index-module_width-available__LKvcS","width-1":"index-module_width-1__CFlzj","width-2":"index-module_width-2__m6av3","width-3":"index-module_width-3__rchJQ","width-4":"index-module_width-4__5A5vh","width-5":"index-module_width-5__anXLv","width-6":"index-module_width-6__8D42f","width-7":"index-module_width-7__yE0BA","width-8":"index-module_width-8__XOAgc","width-9":"index-module_width-9__eLTzr","width-10":"index-module_width-10__r0U7E","width-11":"index-module_width-11__jZHvx","width-12":"index-module_width-12__ILXpg","align-top":"index-module_align-top__6PzoW","align-middle":"index-module_align-middle__-vUMC","align-bottom":"index-module_align-bottom__aj1Pt","offset-1":"index-module_offset-1__lEeUp","offset-2":"index-module_offset-2__biKbg","offset-3":"index-module_offset-3__epTUv","offset-4":"index-module_offset-4__wVOyN","offset-5":"index-module_offset-5__Ownzg","offset-6":"index-module_offset-6__bYUhn","offset-7":"index-module_offset-7__fQjIH","offset-8":"index-module_offset-8__-Nv4c","offset-9":"index-module_offset-9__-G5aU","offset-10":"index-module_offset-10__GC-Ky","offset-11":"index-module_offset-11__g9ekA","order-first":"index-module_order-first__JqKoR","order-last":"index-module_order-last__ikmYk","order-1":"index-module_order-1__ygBXC","order-2":"index-module_order-2__1szAh","order-3":"index-module_order-3__yrgee","order-4":"index-module_order-4__Cqb21","order-5":"index-module_order-5__Sh1UQ","order-6":"index-module_order-6__x8uKn","order-7":"index-module_order-7__e1giB","order-8":"index-module_order-8__jSGMg","order-9":"index-module_order-9__DFfy3","order-10":"index-module_order-10__PbCHS","order-11":"index-module_order-11__1ztfh","order-12":"index-module_order-12__WUXvt","width-mobile-auto":"index-module_width-mobile-auto__1Ci-V","width-mobile-available":"index-module_width-mobile-available__wkhRt","width-mobile-1":"index-module_width-mobile-1__wLCd4","width-mobile-2":"index-module_width-mobile-2__1zmyG","width-mobile-3":"index-module_width-mobile-3__TPuhJ","width-mobile-4":"index-module_width-mobile-4__izNFH","width-mobile-5":"index-module_width-mobile-5__kPpJ4","width-mobile-6":"index-module_width-mobile-6__6lp4a","width-mobile-7":"index-module_width-mobile-7__d7Rl2","width-mobile-8":"index-module_width-mobile-8__k3opS","width-mobile-9":"index-module_width-mobile-9__E-AqA","width-mobile-10":"index-module_width-mobile-10__-3EOv","width-mobile-11":"index-module_width-mobile-11__qfi4X","width-mobile-12":"index-module_width-mobile-12__00S53","offset-mobile-1":"index-module_offset-mobile-1__QkCcg","offset-mobile-2":"index-module_offset-mobile-2__5WNsY","offset-mobile-3":"index-module_offset-mobile-3__ybmlb","offset-mobile-4":"index-module_offset-mobile-4__HBkfe","offset-mobile-5":"index-module_offset-mobile-5__OKm32","offset-mobile-6":"index-module_offset-mobile-6__knIaa","offset-mobile-7":"index-module_offset-mobile-7__OrRET","offset-mobile-8":"index-module_offset-mobile-8__ByQKR","offset-mobile-9":"index-module_offset-mobile-9__r-Kbe","offset-mobile-10":"index-module_offset-mobile-10__UPMhP","offset-mobile-11":"index-module_offset-mobile-11__a41jc","order-mobile-first":"index-module_order-mobile-first__nAS5Z","order-mobile-last":"index-module_order-mobile-last__YTHY-","order-mobile-1":"index-module_order-mobile-1__pFftE","order-mobile-2":"index-module_order-mobile-2__OL0Ca","order-mobile-3":"index-module_order-mobile-3__JKgrs","order-mobile-4":"index-module_order-mobile-4__v-Wh2","order-mobile-5":"index-module_order-mobile-5__i5IRf","order-mobile-6":"index-module_order-mobile-6__79qQz","order-mobile-7":"index-module_order-mobile-7__KtN76","order-mobile-8":"index-module_order-mobile-8__Ys3UJ","order-mobile-9":"index-module_order-mobile-9__2DcaN","order-mobile-10":"index-module_order-mobile-10__agKAv","order-mobile-11":"index-module_order-mobile-11__QwbVf","order-mobile-12":"index-module_order-mobile-12__JLZtZ","width-mobile-s-auto":"index-module_width-mobile-s-auto__1cPCV","width-mobile-s-available":"index-module_width-mobile-s-available__C2CPT","width-mobile-s-1":"index-module_width-mobile-s-1__b5phQ","width-mobile-s-2":"index-module_width-mobile-s-2__2euqO","width-mobile-s-3":"index-module_width-mobile-s-3__XJprn","width-mobile-s-4":"index-module_width-mobile-s-4__RoRQV","width-mobile-s-5":"index-module_width-mobile-s-5__BPI6j","width-mobile-s-6":"index-module_width-mobile-s-6__UxuUo","width-mobile-s-7":"index-module_width-mobile-s-7__zve1D","width-mobile-s-8":"index-module_width-mobile-s-8__EasTp","width-mobile-s-9":"index-module_width-mobile-s-9__xehWi","width-mobile-s-10":"index-module_width-mobile-s-10__m31tv","width-mobile-s-11":"index-module_width-mobile-s-11__Ya-D-","width-mobile-s-12":"index-module_width-mobile-s-12__JsExy","offset-mobile-s-1":"index-module_offset-mobile-s-1__bv7gL","offset-mobile-s-2":"index-module_offset-mobile-s-2__zUHJg","offset-mobile-s-3":"index-module_offset-mobile-s-3__lS5iH","offset-mobile-s-4":"index-module_offset-mobile-s-4__6zOsy","offset-mobile-s-5":"index-module_offset-mobile-s-5__aN47X","offset-mobile-s-6":"index-module_offset-mobile-s-6__exMc4","offset-mobile-s-7":"index-module_offset-mobile-s-7__BI7tW","offset-mobile-s-8":"index-module_offset-mobile-s-8__juRAr","offset-mobile-s-9":"index-module_offset-mobile-s-9__uqz9-","offset-mobile-s-10":"index-module_offset-mobile-s-10__VaLPT","offset-mobile-s-11":"index-module_offset-mobile-s-11__DtDHS","order-mobile-s-first":"index-module_order-mobile-s-first__fHyfl","order-mobile-s-last":"index-module_order-mobile-s-last__3oaH-","order-mobile-s-1":"index-module_order-mobile-s-1__VHFlR","order-mobile-s-2":"index-module_order-mobile-s-2__4aW-q","order-mobile-s-3":"index-module_order-mobile-s-3__--br-","order-mobile-s-4":"index-module_order-mobile-s-4__Q69PE","order-mobile-s-5":"index-module_order-mobile-s-5__WGafy","order-mobile-s-6":"index-module_order-mobile-s-6__xo0nk","order-mobile-s-7":"index-module_order-mobile-s-7__E7Tu8","order-mobile-s-8":"index-module_order-mobile-s-8__pWI8L","order-mobile-s-9":"index-module_order-mobile-s-9__GQFVM","order-mobile-s-10":"index-module_order-mobile-s-10__QSoAf","order-mobile-s-11":"index-module_order-mobile-s-11__Mh2Z6","order-mobile-s-12":"index-module_order-mobile-s-12__i67uU","width-mobile-m-auto":"index-module_width-mobile-m-auto__FnUn7","width-mobile-m-available":"index-module_width-mobile-m-available__9BGvB","width-mobile-m-1":"index-module_width-mobile-m-1__hdmh2","width-mobile-m-2":"index-module_width-mobile-m-2__lXQdm","width-mobile-m-3":"index-module_width-mobile-m-3__w5ita","width-mobile-m-4":"index-module_width-mobile-m-4__CRZ3i","width-mobile-m-5":"index-module_width-mobile-m-5__1g8so","width-mobile-m-6":"index-module_width-mobile-m-6__vvlby","width-mobile-m-7":"index-module_width-mobile-m-7__vmUHI","width-mobile-m-8":"index-module_width-mobile-m-8__WB7MB","width-mobile-m-9":"index-module_width-mobile-m-9__BH2Kd","width-mobile-m-10":"index-module_width-mobile-m-10__3jOaa","width-mobile-m-11":"index-module_width-mobile-m-11__48Djb","width-mobile-m-12":"index-module_width-mobile-m-12__RBTOp","offset-mobile-m-1":"index-module_offset-mobile-m-1__8siqN","offset-mobile-m-2":"index-module_offset-mobile-m-2__yPKuD","offset-mobile-m-3":"index-module_offset-mobile-m-3__fUBHZ","offset-mobile-m-4":"index-module_offset-mobile-m-4__9PILK","offset-mobile-m-5":"index-module_offset-mobile-m-5__mc24-","offset-mobile-m-6":"index-module_offset-mobile-m-6__9vgxH","offset-mobile-m-7":"index-module_offset-mobile-m-7__-ABtB","offset-mobile-m-8":"index-module_offset-mobile-m-8__5ZJSB","offset-mobile-m-9":"index-module_offset-mobile-m-9__sqlaj","offset-mobile-m-10":"index-module_offset-mobile-m-10__lTaeF","offset-mobile-m-11":"index-module_offset-mobile-m-11__1XAl4","order-mobile-m-first":"index-module_order-mobile-m-first__2WUvr","order-mobile-m-last":"index-module_order-mobile-m-last__ADXW2","order-mobile-m-1":"index-module_order-mobile-m-1__LkJ2p","order-mobile-m-2":"index-module_order-mobile-m-2__QK5xt","order-mobile-m-3":"index-module_order-mobile-m-3__-MdJY","order-mobile-m-4":"index-module_order-mobile-m-4__ZDZoc","order-mobile-m-5":"index-module_order-mobile-m-5__vy0vU","order-mobile-m-6":"index-module_order-mobile-m-6__a-75h","order-mobile-m-7":"index-module_order-mobile-m-7__QXVLz","order-mobile-m-8":"index-module_order-mobile-m-8__q-gVi","order-mobile-m-9":"index-module_order-mobile-m-9__lFNj-","order-mobile-m-10":"index-module_order-mobile-m-10__7rdGJ","order-mobile-m-11":"index-module_order-mobile-m-11__q1qPo","order-mobile-m-12":"index-module_order-mobile-m-12__jhoIw","width-mobile-l-auto":"index-module_width-mobile-l-auto__OQK73","width-mobile-l-available":"index-module_width-mobile-l-available__hEQT4","width-mobile-l-1":"index-module_width-mobile-l-1__-pMQW","width-mobile-l-2":"index-module_width-mobile-l-2__R3xeF","width-mobile-l-3":"index-module_width-mobile-l-3__YbrGe","width-mobile-l-4":"index-module_width-mobile-l-4__yxjMQ","width-mobile-l-5":"index-module_width-mobile-l-5__dDWyp","width-mobile-l-6":"index-module_width-mobile-l-6__PlFMa","width-mobile-l-7":"index-module_width-mobile-l-7__YwFf6","width-mobile-l-8":"index-module_width-mobile-l-8__5c1pV","width-mobile-l-9":"index-module_width-mobile-l-9__-Kl5n","width-mobile-l-10":"index-module_width-mobile-l-10__4lRSQ","width-mobile-l-11":"index-module_width-mobile-l-11__Cvc4N","width-mobile-l-12":"index-module_width-mobile-l-12__1DKHo","offset-mobile-l-1":"index-module_offset-mobile-l-1__oLSSc","offset-mobile-l-2":"index-module_offset-mobile-l-2__ExsOc","offset-mobile-l-3":"index-module_offset-mobile-l-3__N3Suj","offset-mobile-l-4":"index-module_offset-mobile-l-4__xRQQx","offset-mobile-l-5":"index-module_offset-mobile-l-5__UnWeK","offset-mobile-l-6":"index-module_offset-mobile-l-6__X8hLH","offset-mobile-l-7":"index-module_offset-mobile-l-7__hzOV6","offset-mobile-l-8":"index-module_offset-mobile-l-8__dl-rL","offset-mobile-l-9":"index-module_offset-mobile-l-9__d-SQj","offset-mobile-l-10":"index-module_offset-mobile-l-10__iMtmZ","offset-mobile-l-11":"index-module_offset-mobile-l-11__sth88","order-mobile-l-first":"index-module_order-mobile-l-first__3pYmL","order-mobile-l-last":"index-module_order-mobile-l-last__E5eV5","order-mobile-l-1":"index-module_order-mobile-l-1__wUNRS","order-mobile-l-2":"index-module_order-mobile-l-2__eieMJ","order-mobile-l-3":"index-module_order-mobile-l-3__Enjk4","order-mobile-l-4":"index-module_order-mobile-l-4__MFIj2","order-mobile-l-5":"index-module_order-mobile-l-5__KRPz4","order-mobile-l-6":"index-module_order-mobile-l-6__nIkw6","order-mobile-l-7":"index-module_order-mobile-l-7__PlyYs","order-mobile-l-8":"index-module_order-mobile-l-8__sXhiD","order-mobile-l-9":"index-module_order-mobile-l-9__XXSwd","order-mobile-l-10":"index-module_order-mobile-l-10__pWEHS","order-mobile-l-11":"index-module_order-mobile-l-11__-qa0e","order-mobile-l-12":"index-module_order-mobile-l-12__l-ZsX","width-tablet-auto":"index-module_width-tablet-auto__zhdi5","width-tablet-available":"index-module_width-tablet-available__z6BiC","width-tablet-1":"index-module_width-tablet-1__nFVTW","width-tablet-2":"index-module_width-tablet-2__-POd8","width-tablet-3":"index-module_width-tablet-3__DtDE2","width-tablet-4":"index-module_width-tablet-4__VLR-V","width-tablet-5":"index-module_width-tablet-5__l-3M6","width-tablet-6":"index-module_width-tablet-6__790Mv","width-tablet-7":"index-module_width-tablet-7__7sUX-","width-tablet-8":"index-module_width-tablet-8__dEjsr","width-tablet-9":"index-module_width-tablet-9__iyCi-","width-tablet-10":"index-module_width-tablet-10__-RzW-","width-tablet-11":"index-module_width-tablet-11__Y3m5i","width-tablet-12":"index-module_width-tablet-12__tJPr6","offset-tablet-1":"index-module_offset-tablet-1__JWANO","offset-tablet-2":"index-module_offset-tablet-2__-rYtX","offset-tablet-3":"index-module_offset-tablet-3__z-qqE","offset-tablet-4":"index-module_offset-tablet-4__6QCWR","offset-tablet-5":"index-module_offset-tablet-5__KDXfF","offset-tablet-6":"index-module_offset-tablet-6__HZp-U","offset-tablet-7":"index-module_offset-tablet-7__ERGDo","offset-tablet-8":"index-module_offset-tablet-8__fm9XR","offset-tablet-9":"index-module_offset-tablet-9__H6q9F","offset-tablet-10":"index-module_offset-tablet-10__155AS","offset-tablet-11":"index-module_offset-tablet-11__i9fpI","order-tablet-first":"index-module_order-tablet-first__hbs-S","order-tablet-last":"index-module_order-tablet-last__FsIr4","order-tablet-1":"index-module_order-tablet-1__rHWlT","order-tablet-2":"index-module_order-tablet-2__sAmGe","order-tablet-3":"index-module_order-tablet-3__66g-l","order-tablet-4":"index-module_order-tablet-4__S-5jn","order-tablet-5":"index-module_order-tablet-5__vqtXw","order-tablet-6":"index-module_order-tablet-6__wQCdm","order-tablet-7":"index-module_order-tablet-7__liP7z","order-tablet-8":"index-module_order-tablet-8__0lIUp","order-tablet-9":"index-module_order-tablet-9__aHQyi","order-tablet-10":"index-module_order-tablet-10__PenPc","order-tablet-11":"index-module_order-tablet-11__Kw40j","order-tablet-12":"index-module_order-tablet-12__EYUBA","width-tablet-s-auto":"index-module_width-tablet-s-auto__-iEER","width-tablet-s-available":"index-module_width-tablet-s-available__NWS1N","width-tablet-s-1":"index-module_width-tablet-s-1__g-ANG","width-tablet-s-2":"index-module_width-tablet-s-2__VJmLw","width-tablet-s-3":"index-module_width-tablet-s-3__29Plj","width-tablet-s-4":"index-module_width-tablet-s-4__zXK-w","width-tablet-s-5":"index-module_width-tablet-s-5__cEPfI","width-tablet-s-6":"index-module_width-tablet-s-6__aG8uz","width-tablet-s-7":"index-module_width-tablet-s-7__dxA0M","width-tablet-s-8":"index-module_width-tablet-s-8__y9Vgh","width-tablet-s-9":"index-module_width-tablet-s-9__miSjX","width-tablet-s-10":"index-module_width-tablet-s-10__hjEaA","width-tablet-s-11":"index-module_width-tablet-s-11__w6dYj","width-tablet-s-12":"index-module_width-tablet-s-12__TeHJc","offset-tablet-s-1":"index-module_offset-tablet-s-1__4s6Nh","offset-tablet-s-2":"index-module_offset-tablet-s-2__qTIYa","offset-tablet-s-3":"index-module_offset-tablet-s-3__CUImk","offset-tablet-s-4":"index-module_offset-tablet-s-4__LPxRh","offset-tablet-s-5":"index-module_offset-tablet-s-5__-gR9-","offset-tablet-s-6":"index-module_offset-tablet-s-6__9LlMJ","offset-tablet-s-7":"index-module_offset-tablet-s-7__Y-Fcv","offset-tablet-s-8":"index-module_offset-tablet-s-8__SIWYo","offset-tablet-s-9":"index-module_offset-tablet-s-9__MJ3de","offset-tablet-s-10":"index-module_offset-tablet-s-10__rDdFf","offset-tablet-s-11":"index-module_offset-tablet-s-11__4FNUw","order-tablet-s-first":"index-module_order-tablet-s-first__P7NxB","order-tablet-s-last":"index-module_order-tablet-s-last__sDGHa","order-tablet-s-1":"index-module_order-tablet-s-1__Z40bs","order-tablet-s-2":"index-module_order-tablet-s-2__o8eq5","order-tablet-s-3":"index-module_order-tablet-s-3__0wfCx","order-tablet-s-4":"index-module_order-tablet-s-4__1ywA1","order-tablet-s-5":"index-module_order-tablet-s-5__DBlTZ","order-tablet-s-6":"index-module_order-tablet-s-6__gSIKy","order-tablet-s-7":"index-module_order-tablet-s-7__d1nIr","order-tablet-s-8":"index-module_order-tablet-s-8__AKVKj","order-tablet-s-9":"index-module_order-tablet-s-9__Lgnik","order-tablet-s-10":"index-module_order-tablet-s-10__Pyc1t","order-tablet-s-11":"index-module_order-tablet-s-11__lNoyh","order-tablet-s-12":"index-module_order-tablet-s-12__lgK2u","width-tablet-m-auto":"index-module_width-tablet-m-auto__wQd8j","width-tablet-m-available":"index-module_width-tablet-m-available__w0FeB","width-tablet-m-1":"index-module_width-tablet-m-1__0-5BX","width-tablet-m-2":"index-module_width-tablet-m-2__iL8IR","width-tablet-m-3":"index-module_width-tablet-m-3__xAkV7","width-tablet-m-4":"index-module_width-tablet-m-4__ZmRp-","width-tablet-m-5":"index-module_width-tablet-m-5__nXchw","width-tablet-m-6":"index-module_width-tablet-m-6__ZqF41","width-tablet-m-7":"index-module_width-tablet-m-7__Hj-qW","width-tablet-m-8":"index-module_width-tablet-m-8__TW35k","width-tablet-m-9":"index-module_width-tablet-m-9__bVXsD","width-tablet-m-10":"index-module_width-tablet-m-10__PUaPq","width-tablet-m-11":"index-module_width-tablet-m-11__OLlLo","width-tablet-m-12":"index-module_width-tablet-m-12__B-ysY","offset-tablet-m-1":"index-module_offset-tablet-m-1__6b5Ex","offset-tablet-m-2":"index-module_offset-tablet-m-2__YvyML","offset-tablet-m-3":"index-module_offset-tablet-m-3__9DfYu","offset-tablet-m-4":"index-module_offset-tablet-m-4__ff7nE","offset-tablet-m-5":"index-module_offset-tablet-m-5__VWhG-","offset-tablet-m-6":"index-module_offset-tablet-m-6__XnoET","offset-tablet-m-7":"index-module_offset-tablet-m-7__vXe-v","offset-tablet-m-8":"index-module_offset-tablet-m-8__3O32u","offset-tablet-m-9":"index-module_offset-tablet-m-9__I2cr1","offset-tablet-m-10":"index-module_offset-tablet-m-10__OzOYg","offset-tablet-m-11":"index-module_offset-tablet-m-11__zAaqS","order-tablet-m-first":"index-module_order-tablet-m-first__xjTjl","order-tablet-m-last":"index-module_order-tablet-m-last__lioY6","order-tablet-m-1":"index-module_order-tablet-m-1__vd3jQ","order-tablet-m-2":"index-module_order-tablet-m-2__FiG3f","order-tablet-m-3":"index-module_order-tablet-m-3__RH-rq","order-tablet-m-4":"index-module_order-tablet-m-4__91hfX","order-tablet-m-5":"index-module_order-tablet-m-5__IM39b","order-tablet-m-6":"index-module_order-tablet-m-6__d-Qos","order-tablet-m-7":"index-module_order-tablet-m-7__lemwE","order-tablet-m-8":"index-module_order-tablet-m-8__-TTav","order-tablet-m-9":"index-module_order-tablet-m-9__4MNGN","order-tablet-m-10":"index-module_order-tablet-m-10__AC6vg","order-tablet-m-11":"index-module_order-tablet-m-11__DOkWA","order-tablet-m-12":"index-module_order-tablet-m-12__dVEoL","width-desktop-auto":"index-module_width-desktop-auto__nkamo","width-desktop-available":"index-module_width-desktop-available__4KM0R","width-desktop-1":"index-module_width-desktop-1__CYJyJ","width-desktop-2":"index-module_width-desktop-2__s1NmS","width-desktop-3":"index-module_width-desktop-3__WgsdN","width-desktop-4":"index-module_width-desktop-4__-boq7","width-desktop-5":"index-module_width-desktop-5__Dw8xm","width-desktop-6":"index-module_width-desktop-6__VDJI-","width-desktop-7":"index-module_width-desktop-7__7zPEg","width-desktop-8":"index-module_width-desktop-8__LZvTD","width-desktop-9":"index-module_width-desktop-9__Cahdi","width-desktop-10":"index-module_width-desktop-10__sNfdH","width-desktop-11":"index-module_width-desktop-11__Bb8xn","width-desktop-12":"index-module_width-desktop-12__5YntG","offset-desktop-1":"index-module_offset-desktop-1__YBi6I","offset-desktop-2":"index-module_offset-desktop-2__6JZ9l","offset-desktop-3":"index-module_offset-desktop-3__Yg0wN","offset-desktop-4":"index-module_offset-desktop-4__uPmLE","offset-desktop-5":"index-module_offset-desktop-5__QsDAm","offset-desktop-6":"index-module_offset-desktop-6__Z-e3V","offset-desktop-7":"index-module_offset-desktop-7__0c4-m","offset-desktop-8":"index-module_offset-desktop-8__5NVjM","offset-desktop-9":"index-module_offset-desktop-9__hi2o9","offset-desktop-10":"index-module_offset-desktop-10__VFNaH","offset-desktop-11":"index-module_offset-desktop-11__shWB5","order-desktop-first":"index-module_order-desktop-first__Wu-2-","order-desktop-last":"index-module_order-desktop-last__8cEFc","order-desktop-1":"index-module_order-desktop-1__cuA65","order-desktop-2":"index-module_order-desktop-2__V4yVx","order-desktop-3":"index-module_order-desktop-3__wO5yd","order-desktop-4":"index-module_order-desktop-4__-hLYp","order-desktop-5":"index-module_order-desktop-5__c06iR","order-desktop-6":"index-module_order-desktop-6__bPP--","order-desktop-7":"index-module_order-desktop-7__r32MO","order-desktop-8":"index-module_order-desktop-8__9Xxv3","order-desktop-9":"index-module_order-desktop-9__3UwGi","order-desktop-10":"index-module_order-desktop-10__UbBMr","order-desktop-11":"index-module_order-desktop-11__2LE8H","order-desktop-12":"index-module_order-desktop-12__pmzs-","width-desktop-s-auto":"index-module_width-desktop-s-auto__mKcDZ","width-desktop-s-available":"index-module_width-desktop-s-available__ofpQj","width-desktop-s-1":"index-module_width-desktop-s-1__Gg5Dw","width-desktop-s-2":"index-module_width-desktop-s-2__Kwpcx","width-desktop-s-3":"index-module_width-desktop-s-3__pwhcH","width-desktop-s-4":"index-module_width-desktop-s-4__mavAW","width-desktop-s-5":"index-module_width-desktop-s-5__nT1EB","width-desktop-s-6":"index-module_width-desktop-s-6__1-PFb","width-desktop-s-7":"index-module_width-desktop-s-7__1orDx","width-desktop-s-8":"index-module_width-desktop-s-8__3OZxu","width-desktop-s-9":"index-module_width-desktop-s-9__1RFzs","width-desktop-s-10":"index-module_width-desktop-s-10__kEGvp","width-desktop-s-11":"index-module_width-desktop-s-11__R7SU2","width-desktop-s-12":"index-module_width-desktop-s-12__dC1Ku","offset-desktop-s-1":"index-module_offset-desktop-s-1__UbRiy","offset-desktop-s-2":"index-module_offset-desktop-s-2__1tSHu","offset-desktop-s-3":"index-module_offset-desktop-s-3__pG9-v","offset-desktop-s-4":"index-module_offset-desktop-s-4__b4vGC","offset-desktop-s-5":"index-module_offset-desktop-s-5__4Djlr","offset-desktop-s-6":"index-module_offset-desktop-s-6__s4UMx","offset-desktop-s-7":"index-module_offset-desktop-s-7__1JSBI","offset-desktop-s-8":"index-module_offset-desktop-s-8__OwbaK","offset-desktop-s-9":"index-module_offset-desktop-s-9__2WREM","offset-desktop-s-10":"index-module_offset-desktop-s-10__EmZIR","offset-desktop-s-11":"index-module_offset-desktop-s-11__3vb5Q","order-desktop-s-first":"index-module_order-desktop-s-first__xTPnB","order-desktop-s-last":"index-module_order-desktop-s-last__l8ePH","order-desktop-s-1":"index-module_order-desktop-s-1__jm5pf","order-desktop-s-2":"index-module_order-desktop-s-2__djyFs","order-desktop-s-3":"index-module_order-desktop-s-3__joQq2","order-desktop-s-4":"index-module_order-desktop-s-4__Ur2W2","order-desktop-s-5":"index-module_order-desktop-s-5__LRwoy","order-desktop-s-6":"index-module_order-desktop-s-6__58azp","order-desktop-s-7":"index-module_order-desktop-s-7__MwyFF","order-desktop-s-8":"index-module_order-desktop-s-8__RN86Q","order-desktop-s-9":"index-module_order-desktop-s-9__1pBr4","order-desktop-s-10":"index-module_order-desktop-s-10__klLb3","order-desktop-s-11":"index-module_order-desktop-s-11__ihqI0","order-desktop-s-12":"index-module_order-desktop-s-12__AtHIF","width-desktop-m-auto":"index-module_width-desktop-m-auto__bD3v7","width-desktop-m-available":"index-module_width-desktop-m-available__-scqQ","width-desktop-m-1":"index-module_width-desktop-m-1__fHhsT","width-desktop-m-2":"index-module_width-desktop-m-2__YiWdp","width-desktop-m-3":"index-module_width-desktop-m-3__mbLJ0","width-desktop-m-4":"index-module_width-desktop-m-4__cbin-","width-desktop-m-5":"index-module_width-desktop-m-5__iyLm4","width-desktop-m-6":"index-module_width-desktop-m-6__ShC-N","width-desktop-m-7":"index-module_width-desktop-m-7__FtcVG","width-desktop-m-8":"index-module_width-desktop-m-8__Mz3oP","width-desktop-m-9":"index-module_width-desktop-m-9__WZ8K5","width-desktop-m-10":"index-module_width-desktop-m-10__aqmOC","width-desktop-m-11":"index-module_width-desktop-m-11__S6Sga","width-desktop-m-12":"index-module_width-desktop-m-12__Lgajg","offset-desktop-m-1":"index-module_offset-desktop-m-1__FN4Mc","offset-desktop-m-2":"index-module_offset-desktop-m-2__kWCTq","offset-desktop-m-3":"index-module_offset-desktop-m-3__OlWes","offset-desktop-m-4":"index-module_offset-desktop-m-4__uGvRQ","offset-desktop-m-5":"index-module_offset-desktop-m-5__5Y4Bl","offset-desktop-m-6":"index-module_offset-desktop-m-6__NNo-j","offset-desktop-m-7":"index-module_offset-desktop-m-7__aUcs1","offset-desktop-m-8":"index-module_offset-desktop-m-8__daIhp","offset-desktop-m-9":"index-module_offset-desktop-m-9__eY-rf","offset-desktop-m-10":"index-module_offset-desktop-m-10__olXc5","offset-desktop-m-11":"index-module_offset-desktop-m-11__aARkp","order-desktop-m-first":"index-module_order-desktop-m-first__PK3bD","order-desktop-m-last":"index-module_order-desktop-m-last__ohhXa","order-desktop-m-1":"index-module_order-desktop-m-1__Q9J9C","order-desktop-m-2":"index-module_order-desktop-m-2__2kNCI","order-desktop-m-3":"index-module_order-desktop-m-3__dhaiF","order-desktop-m-4":"index-module_order-desktop-m-4__VHBOu","order-desktop-m-5":"index-module_order-desktop-m-5__VdmIG","order-desktop-m-6":"index-module_order-desktop-m-6__rnVtT","order-desktop-m-7":"index-module_order-desktop-m-7__27TvK","order-desktop-m-8":"index-module_order-desktop-m-8__yGPHG","order-desktop-m-9":"index-module_order-desktop-m-9__F2iHy","order-desktop-m-10":"index-module_order-desktop-m-10__drEwO","order-desktop-m-11":"index-module_order-desktop-m-11__J39yk","order-desktop-m-12":"index-module_order-desktop-m-12__2GMYs","width-desktop-l-auto":"index-module_width-desktop-l-auto__meKGQ","width-desktop-l-available":"index-module_width-desktop-l-available__Oui0g","width-desktop-l-1":"index-module_width-desktop-l-1__uDcRt","width-desktop-l-2":"index-module_width-desktop-l-2__HVz4a","width-desktop-l-3":"index-module_width-desktop-l-3__9EKlZ","width-desktop-l-4":"index-module_width-desktop-l-4__-UUbm","width-desktop-l-5":"index-module_width-desktop-l-5__cnclr","width-desktop-l-6":"index-module_width-desktop-l-6__b5Qgt","width-desktop-l-7":"index-module_width-desktop-l-7__PXY1l","width-desktop-l-8":"index-module_width-desktop-l-8__X7dFc","width-desktop-l-9":"index-module_width-desktop-l-9__eaW2H","width-desktop-l-10":"index-module_width-desktop-l-10__he55X","width-desktop-l-11":"index-module_width-desktop-l-11__4CJxO","width-desktop-l-12":"index-module_width-desktop-l-12__ZAqfA","offset-desktop-l-1":"index-module_offset-desktop-l-1__PvO6H","offset-desktop-l-2":"index-module_offset-desktop-l-2__4O7RQ","offset-desktop-l-3":"index-module_offset-desktop-l-3__fZxC6","offset-desktop-l-4":"index-module_offset-desktop-l-4__53T2G","offset-desktop-l-5":"index-module_offset-desktop-l-5__O-fhM","offset-desktop-l-6":"index-module_offset-desktop-l-6__O51EW","offset-desktop-l-7":"index-module_offset-desktop-l-7__1n-Ft","offset-desktop-l-8":"index-module_offset-desktop-l-8__id3XQ","offset-desktop-l-9":"index-module_offset-desktop-l-9__ssNTi","offset-desktop-l-10":"index-module_offset-desktop-l-10__Njne9","offset-desktop-l-11":"index-module_offset-desktop-l-11__edywa","order-desktop-l-first":"index-module_order-desktop-l-first__tdv2a","order-desktop-l-last":"index-module_order-desktop-l-last__CA8zv","order-desktop-l-1":"index-module_order-desktop-l-1__64lHt","order-desktop-l-2":"index-module_order-desktop-l-2__vDBwU","order-desktop-l-3":"index-module_order-desktop-l-3__VVqIF","order-desktop-l-4":"index-module_order-desktop-l-4__7AEiT","order-desktop-l-5":"index-module_order-desktop-l-5__-w-5c","order-desktop-l-6":"index-module_order-desktop-l-6__ZzINF","order-desktop-l-7":"index-module_order-desktop-l-7__7dcS4","order-desktop-l-8":"index-module_order-desktop-l-8__eJPqD","order-desktop-l-9":"index-module_order-desktop-l-9__uNC-S","order-desktop-l-10":"index-module_order-desktop-l-10__Zmth3","order-desktop-l-11":"index-module_order-desktop-l-11__5wuqJ","order-desktop-l-12":"index-module_order-desktop-l-12__Q0yBM","width-desktop-xl-auto":"index-module_width-desktop-xl-auto__lYJBO","width-desktop-xl-available":"index-module_width-desktop-xl-available__Tx3da","width-desktop-xl-1":"index-module_width-desktop-xl-1__TEJXA","width-desktop-xl-2":"index-module_width-desktop-xl-2__stnpq","width-desktop-xl-3":"index-module_width-desktop-xl-3__AYfqN","width-desktop-xl-4":"index-module_width-desktop-xl-4__uqklV","width-desktop-xl-5":"index-module_width-desktop-xl-5__cz40q","width-desktop-xl-6":"index-module_width-desktop-xl-6__CYrFZ","width-desktop-xl-7":"index-module_width-desktop-xl-7__wqYwW","width-desktop-xl-8":"index-module_width-desktop-xl-8__0iiyc","width-desktop-xl-9":"index-module_width-desktop-xl-9__MYrcR","width-desktop-xl-10":"index-module_width-desktop-xl-10__MRZQt","width-desktop-xl-11":"index-module_width-desktop-xl-11__aOO8j","width-desktop-xl-12":"index-module_width-desktop-xl-12__hxHid","offset-desktop-xl-1":"index-module_offset-desktop-xl-1__E8h--","offset-desktop-xl-2":"index-module_offset-desktop-xl-2__Q2Bkz","offset-desktop-xl-3":"index-module_offset-desktop-xl-3__OmSyQ","offset-desktop-xl-4":"index-module_offset-desktop-xl-4__psEr9","offset-desktop-xl-5":"index-module_offset-desktop-xl-5__TfixZ","offset-desktop-xl-6":"index-module_offset-desktop-xl-6__5vmWc","offset-desktop-xl-7":"index-module_offset-desktop-xl-7__ya2GK","offset-desktop-xl-8":"index-module_offset-desktop-xl-8__KJ2Gw","offset-desktop-xl-9":"index-module_offset-desktop-xl-9__jvFnX","offset-desktop-xl-10":"index-module_offset-desktop-xl-10__2z8s-","offset-desktop-xl-11":"index-module_offset-desktop-xl-11__spg3M","order-desktop-xl-first":"index-module_order-desktop-xl-first__BWzk4","order-desktop-xl-last":"index-module_order-desktop-xl-last__XrX0T","order-desktop-xl-1":"index-module_order-desktop-xl-1__lhOag","order-desktop-xl-2":"index-module_order-desktop-xl-2__xQRQm","order-desktop-xl-3":"index-module_order-desktop-xl-3__J8v7D","order-desktop-xl-4":"index-module_order-desktop-xl-4__Pg-Pd","order-desktop-xl-5":"index-module_order-desktop-xl-5__J6DRi","order-desktop-xl-6":"index-module_order-desktop-xl-6__5sJYg","order-desktop-xl-7":"index-module_order-desktop-xl-7__BpYHS","order-desktop-xl-8":"index-module_order-desktop-xl-8__PPvBT","order-desktop-xl-9":"index-module_order-desktop-xl-9__1D1-m","order-desktop-xl-10":"index-module_order-desktop-xl-10__RWg-D","order-desktop-xl-11":"index-module_order-desktop-xl-11__J74m6","order-desktop-xl-12":"index-module_order-desktop-xl-12__d4hh6"},m=function(m){var s=m.tag,r=void 0===s?"div":s,f=m.className,x=m.align,b=m.order,u=m.offset,n=m.width,a=m.children,p=m.dataTestId,h=o((function(){return _({order:b,offset:u,width:n},i)}),[b,u,n]);return d.createElement(r,{className:t.apply(void 0,e(e([l.col,i.component,x&&i["align-"+x]],h),[f])),"data-test-id":p},a)};export{m as Col};
|
|
1
|
+
import{__spreadArray as e}from"tslib";import o,{useMemo as d}from"react";import t from"classnames";import{createClassNames as i}from"../utils/index.js";import{g as r}from"../../gutters.module-8ae90e74.js";var l={component:"index-module_component__3zsDE","width-auto":"index-module_width-auto__2dsst","width-available":"index-module_width-available__1wbRK","width-":"index-module_width-__7yG3C","align-top":"index-module_align-top__1fDlN","align-middle":"index-module_align-middle__319PI","align-bottom":"index-module_align-bottom__xTcSD","offset-":"index-module_offset-__2268z","order-first":"index-module_order-first__3EDEm","order-last":"index-module_order-last__3xG3b","order-":"index-module_order-__1CSKI"},a=function(a){var n=a.tag,m=void 0===n?"div":n,_=a.className,s=a.align,u=a.order,f=a.offset,x=a.width,c=a.children,p=a.dataTestId,g=d((function(){return i({order:u,offset:f,width:x},l)}),[u,f,x]);return o.createElement(m,{className:t.apply(void 0,e(e([r.col,l.component,s&&l["align-"+s]],g),[_])),"data-test-id":p},c)};export{a as Col};
|
package/dist/grid/col/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{Col}from"./component.js";import"tslib";import"react";import"classnames";import"../utils/index.js";import"../../gutters.module-
|
|
1
|
+
export{Col}from"./component.js";import"tslib";import"react";import"classnames";import"../utils/index.js";import"../../gutters.module-8ae90e74.js";
|
package/dist/grid/component.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Col as o}from"./col/component.js";import{Row as t}from"./row/component.js";import"tslib";import"react";import"classnames";import"./utils/index.js";import"../gutters.module-
|
|
1
|
+
import{Col as o}from"./col/component.js";import{Row as t}from"./row/component.js";import"tslib";import"react";import"classnames";import"./utils/index.js";import"../gutters.module-8ae90e74.js";var r={Row:t,Col:o};export{r as Grid};
|
package/dist/grid/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{Grid}from"./component.js";import"./col/component.js";import"tslib";import"react";import"classnames";import"./utils/index.js";import"../gutters.module-
|
|
1
|
+
export{Grid}from"./component.js";import"./col/component.js";import"tslib";import"react";import"classnames";import"./utils/index.js";import"../gutters.module-8ae90e74.js";import"./row/component.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__spreadArray as e}from"tslib";import t,{useMemo as o}from"react";import d from"classnames";import{createClassNames as m}from"../utils/index.js";import{g as n}from"../../gutters.module-
|
|
1
|
+
import{__spreadArray as e}from"tslib";import t,{useMemo as o}from"react";import d from"classnames";import{createClassNames as m}from"../utils/index.js";import{g as n}from"../../gutters.module-8ae90e74.js";var i={component:"index-module_component__2X6Ca",top:"index-module_top__3KNq1",middle:"index-module_middle__1D05u",bottom:"index-module_bottom__DcD7P",left:"index-module_left__3cmBO",center:"index-module_center__njMLy",right:"index-module_right__1KVdE",around:"index-module_around__jIXJN",between:"index-module_between__xSGsv"},r=function(r){var _=r.tag,l=void 0===_?"div":_,a=r.className,u=r.gutter,s=void 0===u?{mobile:{s:16},desktop:{m:24}}:u,c=r.align,p=r.justify,x=void 0===p?"between":p,f=r.children,g=r.dataTestId,v=o((function(){return m({gutter:s},n)}),[s]);return t.createElement(l,{className:d.apply(void 0,e(e([n.row,i.component,c&&i[c],i[x]],v),[a])),"data-test-id":g},f)};export{r as Row};
|
package/dist/grid/row/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{Row}from"./component.js";import"tslib";import"react";import"classnames";import"../utils/index.js";import"../../gutters.module-
|
|
1
|
+
export{Row}from"./component.js";import"tslib";import"react";import"classnames";import"../utils/index.js";import"../../gutters.module-8ae90e74.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var t={row:"gutters-module_row__K864x","gutter-":"gutters-module_gutter-__3Vm69",col:"gutters-module_col__9H9i5"};export{t as g};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"react";import t from"@alphakits/icons/dist/CloseS";import o from"@alphakits/icons/dist/SearchM";import{Button as n}from"../button/component.js";import"tslib";import"react-merge-refs";import"classnames";import"../hooks/useFocus/index.js";import"../loader/component.js";var r="index-
|
|
1
|
+
import e from"react";import t from"@alphakits/icons/dist/CloseS";import o from"@alphakits/icons/dist/SearchM";import{Button as n}from"../button/component.js";import"tslib";import"react-merge-refs";import"classnames";import"../hooks/useFocus/index.js";import"../loader/component.js";var r="index-module_input__ysk2B",l="index-module_input_clear_btn__flCbF",a=function(a){var i=a.value,m=a.placeholder,s=a.onChange,c=a.onClear;return e.createElement("div",{className:r},e.createElement(o,null),e.createElement("input",{autoComplete:"none",value:i,onChange:function(e){return s(e.target.value)},placeholder:m,type:"text"}),!!(null==i?void 0:i.length)&&e.createElement(n,{className:l,leftAddons:e.createElement(t,null),view:"ghost",onClick:function(){return c()}}))};export{a as HeaderSearch};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__rest as e,__assign as o}from"tslib";import s,{forwardRef as i}from"react";import n from"classnames";import{Button as r}from"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";var m={iconWrapper:"index-
|
|
1
|
+
import{__rest as e,__assign as o}from"tslib";import s,{forwardRef as i}from"react";import n from"classnames";import{Button as r}from"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";var m={iconWrapper:"index-module_iconWrapper__2YDRR",ghost:"index-module_ghost__3nxH9",secondary:"index-module_secondary__3RrCZ",s:"index-module_s__1deSC",m:"index-module_m__SpDQj",l:"index-module_l__1WjS2",icon:"index-module_icon__1gs33"},a=i((function(i,a){var d,t=i.className,c=i.icon,l=i.view,_=void 0===l?"ghost":l,p=i.size,u=void 0===p?"s":p,x=e(i,["className","icon","view","size"]),f=x.disabled,g=x.loading;return s.createElement(r,o({},x,{ref:a,view:"ghost",loading:g,className:n(t,m[_],(d={},d[m.disabled]=f,d)),size:"s",leftAddons:s.createElement("span",{className:n(m.iconWrapper,m[u])},s.createElement(c,{className:m.icon}))}))}));export{a as IconButton};
|
package/dist/image/component.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"react";import t from"classnames";import{Skeleton as o}from"../skeleton/component.js";import{Typography as i}from"../typography/component.js";import{u as r,s}from"../use-image-render-component-
|
|
1
|
+
import e from"react";import t from"classnames";import{Skeleton as o}from"../skeleton/component.js";import{Typography as i}from"../typography/component.js";import{u as r,s}from"../use-image-render-component-91131dbc.js";import"../typography/text/component.js";import"../colors.module-a7d0efb0.js";import"../typography/title/index.js";import"tslib";import"../typography/title/component.js";import"@alphakits/icons/dist/PhotoM";import"@alphakits/icons/dist/PhotoS";import"../spinner/component.js";import"./types.js";import"./utils.js";var a=function(a){var n,l,m=a.className,c=a.src,p=a.alt,d=a.hint,h=a.addon,f=a.border,v=a.size,j=void 0===v?"m":v,u=a.color,g=a.children,y=a.loading,E=a.view,b=void 0===E?"default":E,x=a.text,N=a.icon,P=a.bgColor,k=void 0===P?"secondary":P,w=r({size:j,src:c,color:u,alt:p,text:x,icon:N});return e.createElement("div",{className:t(s.container,m,s[j])},e.createElement("div",{className:t(s.component,s[b],s[k],(n={},n[s.border]=f,n))},e.createElement(o,{className:s[j],visible:y},"ellipse"===b&&e.createElement("svg",{className:s.defs},e.createElement("defs",null,e.createElement("clipPath",{id:"squircle",clipPathUnits:"objectBoundingBox"},e.createElement("path",{d:"M .5 0 C .1 0 0 .1 0 .5 0 .9 .1 1 .5 1 .9 1 1 .9 1 .5 1 .1 .9 0 .5 0 Z",fill:"#f00"})))),w,g,!!d&&e.createElement("div",{className:s.hint},e.createElement(i.Text,{className:s.hint_text,view:"caps",weight:"medium"},d)))),h&&e.createElement("div",{className:t(s["addon-"+h.color],s.addon,(l={},l[s.filled]=h.filled,l))},h.icon))};export{a as Image};
|
package/dist/image/image-base.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import t from"react";import{u as o}from"../use-image-render-component-
|
|
1
|
+
import t from"react";import{u as o}from"../use-image-render-component-91131dbc.js";import"@alphakits/icons/dist/PhotoM";import"@alphakits/icons/dist/PhotoS";import"classnames";import"../spinner/component.js";import"../typography/component.js";import"../typography/text/component.js";import"../colors.module-a7d0efb0.js";import"../typography/title/index.js";import"tslib";import"../typography/title/component.js";import"./types.js";import"./utils.js";var r=function(r){var i=r.src,p=r.alt,e=r.size,s=void 0===e?"m":e,m=r.text,n=r.icon,a=o({size:s,src:i,alt:p,text:m,icon:n});return a?t.createElement(t.Fragment,null,a):null};export{r as ImageBase};
|
package/dist/image/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{Image}from"./component.js";export{textSizes}from"./types.js";import"react";import"classnames";import"../skeleton/component.js";import"../typography/component.js";import"../typography/text/component.js";import"../colors.module-
|
|
1
|
+
export{Image}from"./component.js";export{textSizes}from"./types.js";import"react";import"classnames";import"../skeleton/component.js";import"../typography/component.js";import"../typography/text/component.js";import"../colors.module-a7d0efb0.js";import"../typography/title/index.js";import"tslib";import"../typography/title/component.js";import"../use-image-render-component-91131dbc.js";import"@alphakits/icons/dist/PhotoM";import"@alphakits/icons/dist/PhotoS";import"../spinner/component.js";import"./utils.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"react";import"@alphakits/icons/dist/PhotoM";import"@alphakits/icons/dist/PhotoS";import"classnames";import"../spinner/component.js";import"../typography/component.js";import"./types.js";import"./utils.js";export{u as useImageRenderComponent}from"../use-image-render-component-
|
|
1
|
+
import"react";import"@alphakits/icons/dist/PhotoM";import"@alphakits/icons/dist/PhotoS";import"classnames";import"../spinner/component.js";import"../typography/component.js";import"./types.js";import"./utils.js";export{u as useImageRenderComponent}from"../use-image-render-component-91131dbc.js";import"../typography/text/component.js";import"../colors.module-a7d0efb0.js";import"../typography/title/index.js";import"tslib";import"../typography/title/component.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__awaiter as e,__generator as t,__spreadArray as o}from"tslib";import i,{forwardRef as r,useState as n,useRef as s}from"react";import a from"@alphakits/icons/dist/EyeM";import m from"@alphakits/icons/dist/HeartStrokeM";import c from"@alphakits/icons/dist/PlusS";import l from"@alphakits/icons/dist/TrashM";import{Button as p}from"../button/component.js";import{FlexColumns as u}from"../flex-columns/component.js";import{IconButton as d}from"../icon-button/component.js";import{Image as f}from"../image/component.js";import{ImageGallery as h}from"../image-gallery/component.js";import{Padding as v}from"../padding/component.js";import{SuperListHeader as g}from"../super-list-header/component.js";import{Typography as j}from"../typography/component.js";import{getServiceError as k}from"../utils/get-service-error/index.js";import{showError as y}from"../utils/show-toast/index.js";import"react-merge-refs";import"classnames";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../skeleton/component.js";import"../use-image-render-component-
|
|
1
|
+
import{__awaiter as e,__generator as t,__spreadArray as o}from"tslib";import i,{forwardRef as r,useState as n,useRef as s}from"react";import a from"@alphakits/icons/dist/EyeM";import m from"@alphakits/icons/dist/HeartStrokeM";import c from"@alphakits/icons/dist/PlusS";import l from"@alphakits/icons/dist/TrashM";import{Button as p}from"../button/component.js";import{FlexColumns as u}from"../flex-columns/component.js";import{IconButton as d}from"../icon-button/component.js";import{Image as f}from"../image/component.js";import{ImageGallery as h}from"../image-gallery/component.js";import{Padding as v}from"../padding/component.js";import{SuperListHeader as g}from"../super-list-header/component.js";import{Typography as j}from"../typography/component.js";import{getServiceError as k}from"../utils/get-service-error/index.js";import{showError as y}from"../utils/show-toast/index.js";import"react-merge-refs";import"classnames";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../skeleton/component.js";import"../use-image-render-component-91131dbc.js";import"@alphakits/icons/dist/PhotoM";import"@alphakits/icons/dist/PhotoS";import"../spinner/component.js";import"../image/types.js";import"../image/utils.js";import"../typography/text/component.js";import"../colors.module-a7d0efb0.js";import"../typography/title/index.js";import"../typography/title/component.js";import"react-images-viewer";import"../utils/get-service-error/is-axios-error.js";import"../utils/get-service-error/is-network-error.js";import"../toast-notifier/component.js";import"react-dom";import"../toast-plate/component.js";import"@alphakits/icons/dist/AlertCircleM";import"@alphakits/icons/dist/CheckmarkCircleM";import"@alphakits/icons/dist/ClockCircleM";import"@alphakits/icons/dist/CloseS";import"../toast-notifier/use-timer.js";var E="index-module_image__1Jp6f",x="index-module_icon__2LV-G",w="index-module_controls__dPriw",C="index-module_main__XGkSj",_=r((function(r,_){var b=r.value,M=void 0===b?[]:b,N=r.title,S=r.subtitle,P=r.columns,z=void 0===P?3:P,A=r.onUpdate,F=r.uploadRequest,T=r.setMain,G=r.type,q=r.main,D=r.multiple,H=r.error,I=r.className,J=r.children,L=n(!1),R=L[0],U=L[1],V=n(),X=V[0],B=V[1],K=n(!1),O=K[0],Q=K[1],W=s(null),Y=function(i){var r=i.target.files;return e(void 0,void 0,void 0,(function(){var e,i,n,s,a;return t(this,(function(t){switch(t.label){case 0:if(!r)return[2];e=Array.from(r).map((function(e){var t=new FormData;return t.append("file",e),t.append("type",G),F({data:t})})),Q(!0),t.label=1;case 1:return t.trys.push([1,3,4,5]),[4,Promise.all(e)];case 2:return i=t.sent(),n=i.map((function(e){return e.data.url})),A(D?o(o([],M),n):n),[3,5];case 3:return s=t.sent(),a=k(s).message,y(a),[3,5];case 4:return W.current&&(W.current.value=""),Q(!1),[7];case 5:return[2]}}))}))};return i.createElement("div",{className:I},i.createElement("input",{type:"file",style:{height:0,position:"absolute"},ref:_,onChange:Y,multiple:D,accept:"image/*, .heic"}),i.createElement("input",{type:"file",style:{height:0,position:"absolute"},ref:W,onChange:Y,multiple:D,accept:"image/*, .heic"}),J?i.createElement(p,{view:"ghost",onClick:function(){var e;return null===(e=W.current)||void 0===e?void 0:e.click()}},J({value:M,loading:O})):i.createElement(i.Fragment,null,i.createElement(g,{text:N,leftAddons:i.createElement(d,{onClick:function(){var e;return null===(e=W.current)||void 0===e?void 0:e.click()},icon:c,loading:O})}),S&&i.createElement(j.Text,{view:"primary-small",color:"secondary",weight:"medium"},S),i.createElement(v,{padding:"4px 0"},H&&i.createElement(j.Text,{view:"caps",color:"negative",weight:"medium"},H)),i.createElement(u,{columns:z},M.map((function(e,t){return i.createElement(f,{key:e,className:E,src:e,size:"xl",view:"default"},i.createElement("div",{className:w},!!T&&q!==e&&i.createElement(d,{onClick:function(){return T(e)},icon:m,size:"m",view:"secondary",className:x}),i.createElement(d,{onClick:function(){B(t),U(!0)},icon:a,size:"m",view:"secondary",className:x}),i.createElement(d,{onClick:function(){return t=e,void A(M.filter((function(e){return e!==t})));var t},icon:l,size:"m",view:"secondary",className:x})),q===e&&i.createElement("div",{className:C},"MAIN"))}))),i.createElement(h,{photos:M.map((function(e){return{src:e}})),initialSlide:X||0,open:R,onClose:function(){return U(!1)}})))}));export{_ as ImageUploader};
|