@alphakits/ui 1.27.3 → 1.27.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ActionCopyM-9baf4926.js → ActionCopyM-aa4b85a4.js} +1 -1
- package/dist/{ChevronBackM-27f23d40.js → ChevronBackM-17d32e3d.js} +1 -1
- package/dist/{ChevronDownS-42a0f386.js → ChevronDownS-a3643184.js} +1 -1
- package/dist/{ChevronForwardS-1a7f2346.js → ChevronForwardS-85910d55.js} +1 -1
- package/dist/{CloseS-56345d2d.js → CloseS-54a65af2.js} +1 -1
- package/dist/{NextS-2c33767c.js → NextS-a7f73397.js} +1 -1
- package/dist/{PlusS-623d9aac.js → PlusS-d28817b2.js} +1 -1
- package/dist/{SearchM-38f2f3ba.js → SearchM-039fd203.js} +1 -1
- package/dist/{TrashM-acffc128.js → TrashM-0b97da1d.js} +1 -1
- package/dist/amount/component.js +1 -1
- package/dist/amount/index.js +1 -1
- package/dist/amount-input/component.js +1 -1
- package/dist/amount-input/index.js +1 -1
- package/dist/avatar/component.js +1 -1
- package/dist/avatar/index.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/bottom-sheet/index.js +1 -1
- package/dist/button/component.js +1 -1
- package/dist/button/index.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/index.js +1 -1
- package/dist/calendar/components/select-button//321/201omponent.js +1 -1
- package/dist/calendar/components/years-table/index.js +1 -1
- package/dist/calendar/components/years-table//321/201omponent.js +1 -1
- package/dist/calendar/index.js +1 -1
- package/dist/calendar/use-calendar.js +1 -1
- package/dist/calendar/use-period.js +1 -1
- package/dist/calendar/utils.js +1 -1
- package/dist/calendar-input/component.js +1 -1
- package/dist/calendar-input/index.js +1 -1
- package/dist/calendar-input/utils.js +1 -1
- package/dist/{capitalize-ae9c78ee.js → capitalize-86c29373.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/base/index.d.ts +1 -1
- package/dist/cell/base/index.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/cell/pure/index.js +1 -1
- package/dist/checkbox/component.js +1 -1
- package/dist/checkbox/index.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/{component-e5651b3c.d.ts → component-9c9ec4c3.d.ts} +2 -2
- package/dist/component-9c9ec4c3.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-functions.js +1 -1
- package/dist/date-switcher/component.js +1 -1
- package/dist/date-switcher/index.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-footer/index.js +1 -1
- package/dist/form/components/form-loading/index.js +1 -1
- package/dist/form/components/form-wrapper/index.js +1 -1
- package/dist/form/components/index.d.ts +1 -1
- package/dist/form/components/index.js +1 -1
- package/dist/form/index.js +1 -1
- package/dist/form/templates/base-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/utils/get-default-values.js +1 -1
- package/dist/form-control/component.js +1 -1
- package/dist/form-control/index.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/header-search/component.js +1 -1
- package/dist/header-search/index.js +1 -1
- package/dist/heading/component.js +1 -1
- package/dist/heading/index.js +1 -1
- package/dist/hooks/index.js +1 -1
- package/dist/hooks/use-crud-form-requests/index.js +1 -1
- package/dist/hooks/use-get-one/index.js +1 -1
- package/dist/icon-button/component.js +1 -1
- package/dist/icon-button/index.js +1 -1
- package/dist/image/component.js +1 -1
- package/dist/image/constants.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/utils.js +1 -1
- package/dist/image-gallery/component.js +1 -1
- package/dist/image-gallery/components/header/index.js +1 -1
- package/dist/image-gallery/components/header-info-block/index.js +1 -1
- package/dist/image-gallery/components/image-viewer/index.js +1 -1
- package/dist/image-gallery/components/image-viewer/slide.js +1 -1
- package/dist/image-gallery/components/index.js +1 -1
- package/dist/image-gallery/index.js +1 -1
- package/dist/image-uploader/component.js +1 -1
- package/dist/image-uploader/index.js +1 -1
- package/dist/{index-387a669f.js → index-0ce93775.js} +1 -1
- package/dist/index-309023f9.js +1 -0
- package/dist/{index-37b2f88c.js → index-6e63e97d.js} +1 -1
- package/dist/{index-f3f28dec.js → index-774c00bd.js} +1 -1
- package/dist/{index-ea59f148.js → index-830c3d99.js} +1 -1
- package/dist/index-87e782a6.js +1 -0
- package/dist/{index-26e35a2c.js → index-919aca27.js} +1 -1
- package/dist/index-921629e8.js +1 -0
- package/dist/{index-3827f250.js → index-c312f5c7.js} +1 -1
- package/dist/{index-d86fba61.js → index-c62b248d.js} +1 -1
- package/dist/{index-ec523c29.js → index-ec01bf34.js} +1 -1
- package/dist/{index-09201d93.js → index-f6974649.js} +1 -1
- package/dist/index-ffae730f.js +1 -0
- 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/input/component.js +1 -1
- package/dist/input/index.js +1 -1
- package/dist/input-autocomplete/autocomplete-field/index.js +1 -1
- package/dist/input-autocomplete/component.js +1 -1
- package/dist/input-autocomplete/index.js +1 -1
- package/dist/input-ghost/component.js +1 -1
- package/dist/input-ghost/index.js +1 -1
- package/dist/{isSymbol-11420429.js → isSymbol-3aeb0bfb.js} +1 -1
- package/dist/link/component.js +1 -1
- package/dist/link/index.js +1 -1
- package/dist/list-allert/component.js +1 -1
- package/dist/list-allert/index.js +1 -1
- package/dist/masked-input/component.js +1 -1
- package/dist/masked-input/index.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/index.js +1 -1
- package/dist/modal/components/modals/modal.js +1 -1
- package/dist/modal/context.js +1 -1
- package/dist/modal/hooks/use-modal.js +1 -1
- package/dist/modal/index.js +1 -1
- package/dist/modal/utils/delete-property-by-id.js +1 -1
- package/dist/not-found/component.js +1 -1
- package/dist/not-found/index.js +1 -1
- package/dist/notification/component.js +1 -1
- package/dist/notification/index.js +1 -1
- package/dist/{parse-query-params-da2f7fbd.js → parse-query-params-423c3dc4.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.js +1 -1
- package/dist/picker-button/field/Component.js +1 -1
- package/dist/picker-button/field/index.js +1 -1
- package/dist/picker-button/index.js +1 -1
- package/dist/popover/component.js +1 -1
- package/dist/popover/index.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/index.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/select/component.js +1 -1
- package/dist/select/components/base-select/component.js +1 -1
- package/dist/select/components/base-select/index.js +1 -1
- package/dist/select/components/field/component.js +1 -1
- package/dist/select/components/field/index.js +1 -1
- package/dist/select/components/index.js +1 -1
- package/dist/select/components/native-select/component.js +1 -1
- package/dist/select/components/native-select/index.js +1 -1
- package/dist/select/components/option/component.js +1 -1
- package/dist/select/components/option/index.js +1 -1
- package/dist/select/components/options-list/component.js +1 -1
- package/dist/select/components/options-list/index.js +1 -1
- package/dist/select/components/virtual-options-list/component.js +1 -1
- package/dist/select/components/virtual-options-list/index.js +1 -1
- package/dist/select/index.js +1 -1
- package/dist/select/presets/index.js +1 -1
- package/dist/select/presets/use-lazy-loading/index.js +1 -1
- package/dist/select/presets/use-select-with-loading/hook.js +1 -1
- package/dist/sidepanel-header/component.js +1 -1
- package/dist/sidepanel-header/index.js +1 -1
- package/dist/space/Item.js +1 -1
- package/dist/space/component.js +1 -1
- package/dist/space/index.js +1 -1
- package/dist/stepped-progress-bar/index.js +1 -1
- package/dist/stepped-progress-bar/step-bar.js +1 -1
- package/dist/suffix-input/component.js +1 -1
- package/dist/suffix-input/index.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/switch/index.js +1 -1
- package/dist/table/columns.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/hooks/use-table-data.d.ts +1 -1
- package/dist/table/hooks/use-table-data.js +1 -1
- package/dist/table/index.d.ts +1 -1
- package/dist/table/index.js +1 -1
- package/dist/table/table.js +1 -1
- package/dist/table/utils/add-query-param.js +1 -1
- package/dist/table/utils/get-query-from-url.js +1 -1
- package/dist/table/utils/index.d.ts +1 -1
- package/dist/table/utils/index.js +1 -1
- package/dist/table/utils/parse-query-params.js +1 -1
- package/dist/table/utils/prepare-rows.js +1 -1
- package/dist/table/utils/query-adapter.js +1 -1
- package/dist/table/utils/remove-query-param.js +1 -1
- package/dist/table/utils/reset-query-param.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/textarea/index.js +1 -1
- package/dist/toast/component.js +1 -1
- package/dist/toast/index.js +1 -1
- package/dist/toast-notifier/component.js +1 -1
- package/dist/toast-notifier/index.js +1 -1
- package/dist/toast-plate/component.js +1 -1
- package/dist/toast-plate/index.js +1 -1
- package/dist/tooltip/component.js +1 -1
- package/dist/tooltip/index.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/typography/title-responsive/component.js +1 -1
- package/dist/typography/title-responsive/index.js +1 -1
- package/dist/{use-image-render-component-0abc3bd5.js → use-image-render-component-ca789f11.js} +1 -1
- package/dist/utils/format-date/index.js +1 -1
- package/dist/utils/index.js +1 -1
- package/dist/utils/show-toast/index.js +1 -1
- package/dist/with-suffix/component.js +1 -1
- package/dist/with-suffix/index.js +1 -1
- package/package.json +1 -1
- package/dist/component-e5651b3c.js +0 -1
- package/dist/index-04c65092.js +0 -1
- package/dist/index-7ac62241.js +0 -1
- package/dist/index-9e29178b.js +0 -1
- package/dist/index-a5a8936c.js +0 -1
- /package/dist/{_commonjsHelpers-41033dc1.js → _commonjsHelpers-bde83fdc.js} +0 -0
- /package/dist/{_tslib-531dfe1b-5ccfe0f1.js → _tslib-531dfe1b-2283800e.js} +0 -0
- /package/dist/{colors.module-eb1bd755.js → colors.module-7a4e1a90.js} +0 -0
- /package/dist/{common.module-788c1f1c.js → common.module-154dcf4f.js} +0 -0
- /package/dist/{component-137fff28.d.ts → component-98daca59.d.ts} +0 -0
- /package/dist/{component-137fff28.js → component-98daca59.js} +0 -0
- /package/dist/{contact-block-263f7083.d.ts → contact-block-0890a465.d.ts} +0 -0
- /package/dist/{contact-block-263f7083.js → contact-block-0890a465.js} +0 -0
- /package/dist/{gutters.module-6392af7b.js → gutters.module-63b206dd.js} +0 -0
- /package/dist/{index-3174bb6e.js → index-273a50a2.js} +0 -0
- /package/dist/{index-d86fba61.d.ts → index-c62b248d.d.ts} +0 -0
- /package/dist/{index-9619d472.js → index-f91e9e5f.js} +0 -0
- /package/dist/{intersection-observer-6238ec4d.js → intersection-observer-36083cbd.js} +0 -0
- /package/dist/{parse-query-params-da2f7fbd.d.ts → parse-query-params-423c3dc4.d.ts} +0 -0
- /package/dist/{slide-62403e1c.d.ts → slide-18855803.d.ts} +0 -0
- /package/dist/{slide-62403e1c.js → slide-18855803.js} +0 -0
- /package/dist/{step-bar-41259d2b.d.ts → step-bar-64130865.d.ts} +0 -0
- /package/dist/{step-bar-41259d2b.js → step-bar-64130865.js} +0 -0
- /package/dist/{table-47478827.d.ts → table-2f40de93.d.ts} +0 -0
- /package/dist/{tslib.es6-cef211a7.js → tslib.es6-e7101b9a.js} +0 -0
- /package/dist/{use-image-render-component-0abc3bd5.d.ts → use-image-render-component-ca789f11.d.ts} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as e}from"./_tslib-531dfe1b-
|
|
1
|
+
import{_ as e}from"./_tslib-531dfe1b-2283800e.js";import t from"react";var r=function(r){return t.createElement("svg",e({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24"},r),t.createElement("path",{d:"M0 0h24v24H0z"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 20H8V8h12M8 6a2 2 0 00-2 2v12a2 2 0 002 2h12a2 2 0 002-2V8a2 2 0 00-2-2H8zm6-4H4a2 2 0 00-2 2v10h2V4h10V2z",fill:"currentColor"}))};export{r as A};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as e}from"./_tslib-531dfe1b-
|
|
1
|
+
import{_ as e}from"./_tslib-531dfe1b-2283800e.js";import t from"react";var r=function(r){return t.createElement("svg",e({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24"},r),t.createElement("path",{d:"M0 0h25v24H0z"}),t.createElement("path",{d:"M10.355 12l5.5-5.5-1.5-1.5-7 7 7 7 1.5-1.5-5.5-5.5z",fill:"currentColor"}))};export{r as C};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as e}from"./_tslib-531dfe1b-
|
|
1
|
+
import{_ as e}from"./_tslib-531dfe1b-2283800e.js";import t from"react";var r=function(r){return t.createElement("svg",e({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},r),t.createElement("path",{d:"M0 0h17v16H0z"}),t.createElement("path",{d:"M8.008 9.266L3.294 4.552 2.008 5.838l6 6 6-6-1.286-1.286-4.714 4.714z",fill:"currentColor"}))};export{r as C};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as e}from"./_tslib-531dfe1b-
|
|
1
|
+
import{_ as e}from"./_tslib-531dfe1b-2283800e.js";import t from"react";var r=function(r){return t.createElement("svg",e({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},r),t.createElement("path",{d:"M0 0h17v16H0z"}),t.createElement("path",{d:"M9.274 8L4.56 12.714 5.845 14l6-6-6-6L4.56 3.286 9.274 8z",fill:"currentColor"}))};export{r as C};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as e}from"./_tslib-531dfe1b-
|
|
1
|
+
import{_ as e}from"./_tslib-531dfe1b-2283800e.js";import t from"react";var r=function(r){return t.createElement("svg",e({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},r),t.createElement("path",{d:"M0 0h17v17H0z"}),t.createElement("path",{d:"M4.336 3.413l-.926.926 3.67 3.67-3.67 3.671.926.926 3.67-3.67 3.67 3.67.926-.926-3.67-3.67 3.67-3.67-.925-.927-3.67 3.67-3.671-3.67z",fill:"currentColor"}))};export{r as C};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as e}from"./_tslib-531dfe1b-
|
|
1
|
+
import{_ as e}from"./_tslib-531dfe1b-2283800e.js";import t from"react";var l=function(l){return t.createElement("svg",e({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},l),t.createElement("path",{d:"M0 0h17v16H0z"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.432 3.524a.828.828 0 011.166.102l3.196 3.808c.137.164.2.365.193.564a.824.824 0 01-.193.564l-3.196 3.809a.828.828 0 01-1.268-1.064L11.432 8.8H2.848a.828.828 0 010-1.655h8.543L9.33 4.69a.828.828 0 01.102-1.166z",fill:"currentColor"}))};export{l as N};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as e}from"./_tslib-531dfe1b-
|
|
1
|
+
import{_ as e}from"./_tslib-531dfe1b-2283800e.js";import t from"react";var r=function(r){return t.createElement("svg",e({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},r),t.createElement("path",{d:"M0 0h17v16H0z"}),t.createElement("path",{d:"M8.664 2.155H7.355v5.19h-5.19v1.31h5.19v5.19h1.31v-5.19h5.19v-1.31h-5.19v-5.19z",fill:"currentColor"}))};export{r as P};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as e}from"./_tslib-531dfe1b-
|
|
1
|
+
import{_ as e}from"./_tslib-531dfe1b-2283800e.js";import t from"react";var l=function(l){return t.createElement("svg",e({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24"},l),t.createElement("path",{d:"M0 0h25v24H0z"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.383 17.898a8.822 8.822 0 111.754-1.805l3.793 3.793a.832.832 0 010 1.176l-.604.603a.832.832 0 01-1.176 0l-3.767-3.767zm.914-6.986a6.301 6.301 0 11-12.603 0 6.301 6.301 0 0112.603 0z",fill:"currentColor"}))};export{l as S};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as e}from"./_tslib-531dfe1b-
|
|
1
|
+
import{_ as e}from"./_tslib-531dfe1b-2283800e.js";import t from"react";var a=function(a){return t.createElement("svg",e({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24"},a),t.createElement("path",{d:"M0 0h25v24H0z"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.595 4a2 2 0 012-2h4.823a2 2 0 012 2v.843h4.03a.726.726 0 010 1.451h-.814V19a3 3 0 01-3 3H7.39a3 3 0 01-3-3V6.294h-.823a.725.725 0 010-1.45h4.029v-.844zm1.562.843h5.882v-.667a1 1 0 00-1-1h-3.882a1 1 0 00-1 1v.667zM5.928 6.294h12.167V18.81a1.7 1.7 0 01-1.7 1.7H7.628a1.7 1.7 0 01-1.7-1.7V6.294z",fill:"currentColor"}))};export{a as T};
|
package/dist/amount/component.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as o,a as t}from"../tslib.es6-
|
|
1
|
+
import{_ as o,a as t}from"../tslib.es6-e7101b9a.js";import r from"react";import e from"classnames";import{Typography as i}from"../typography/component.js";import{formatAmount as m,AMOUNT_MAJOR_MINOR_PARTS_SEPARATOR as a,THINSP as s}from"../utils/format-amount/util.js";import"../typography/title/index.js";import"../typography/title/component.js";import"../colors.module-7a4e1a90.js";import"../common.module-154dcf4f.js";import"../typography/text/component.js";import"../typography/title-responsive/component.js";import"../utils/get-currency-symbol/util.js";import"../utils/data/currency-codes.js";import"../utils/split-amount/util.js";var n="index-module_component__B2c28",c="index-module_canceled__q9BBN",l=function(l){var p,u=l.value,d=l.currency,y=l.showMinorPart,j=void 0!==y&&y,v=l.isCanceled,h=void 0!==v&&v,f=o(l,["value","currency","showMinorPart","isCanceled"]),g=m({value:u,currency:d,showMinorPart:j}),w=g.majorPart,_=g.minorPart,x=g.currencySymbol,P=f,b=P.className,B=P.color,M=void 0===B?"secondary":B,N=P.view,C=void 0===N?"title":N,q=P.weight,E=void 0===q?"medium":q;return r.createElement(i.Text,t({},f,{view:C,weight:E,color:M,className:e(n,b,(p={},p[c]=h,p))}),w,_&&a,_,!!x&&""+s+x)};export{l as Amount};
|
package/dist/amount/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{Amount}from"./component.js";import"../tslib.es6-
|
|
1
|
+
export{Amount}from"./component.js";import"../tslib.es6-e7101b9a.js";import"react";import"classnames";import"../typography/component.js";import"../typography/title/index.js";import"../typography/title/component.js";import"../colors.module-7a4e1a90.js";import"../common.module-154dcf4f.js";import"../typography/text/component.js";import"../typography/title-responsive/component.js";import"../utils/format-amount/util.js";import"../utils/get-currency-symbol/util.js";import"../utils/data/currency-codes.js";import"../utils/split-amount/util.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as e,a as t}from"../tslib.es6-
|
|
1
|
+
import{_ as e,a as t}from"../tslib.es6-e7101b9a.js";import n,{forwardRef as o,useState as r,useEffect as i,useCallback as a,Fragment as s}from"react";import l from"classnames";import{Input as m}from"../input/component.js";import{formatAmount as u,THINSP as c}from"../utils/format-amount/util.js";import{withSuffix as d}from"../with-suffix/component.js";import{getAmountValueFromStr as f,getFormattedValue as p}from"./utils/index.js";import"react-merge-refs";import"../button/component.js";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../form-control/component.js";import"../utils/get-currency-symbol/util.js";import"../utils/data/currency-codes.js";import"../utils/split-amount/util.js";import"../portal/component.js";import"react-dom";import"../portal/utils.js";var v={container:"index-module_container__AHkdg",minorPartAndCurrency:"index-module_minorPartAndCurrency__QJKHy",suffixContainer:"index-module_suffixContainer__J46vs",filled:"index-module_filled__GrmG4",input:"index-module_input__Ims09"},g=d(m),C=o((function(o,m){var d,C=o.value,x=void 0===C?null:C,_=o.integerLength,j=void 0===_?9:_,h=o.suffix,N=void 0===h?"RUR":h,y=o.placeholder,E=void 0===y?"":y,b=o.bold,w=void 0===b||b,A=o.className,R=o.focusedClassName,S=o.required,q=o.dataTestId,F=o.clear,I=void 0!==F&&F,P=o.integer,T=void 0!==P&&P,U=o.onChange,k=o.onClear,G=e(o,["value","integerLength","suffix","placeholder","bold","className","focusedClassName","required","dataTestId","clear","integer","onChange","onClear"]),H=r(u({value:x,currency:"RUR"}).formatted),J=H[0],L=H[1];i((function(){return f(J,T)!==x?L(u({value:x,currency:"RUR"}).formatted):function(){}}),[x]);var $=a((function(e){L(""),k&&k(e)}),[k]),B=J.split(","),K=B[0],Q=B[1];return n.createElement("div",{className:l(v.container,(d={},d[v.bold]=w,d[v.filled]=Boolean(J),d))},n.createElement(g,t({},G,{suffix:n.createElement(s,null,K,n.createElement("span",{className:v.minorPartAndCurrency},void 0!==Q&&","+Q,c,N)),suffixContainerClassName:v.suffixContainer,clear:I,required:S,placeholder:E,value:J,className:l(v.component,A),focusedClassName:R,inputClassName:v.input,onChange:function(e){var t=e.target,n=t.value.replace(/\s/g,"").replace(".",",");if(RegExp("(^[0-9]{1,"+j+"}(,([0-9]+)?)?$|^\\s*$)").test(n)){var o=p(n,T);if(o===J){var r=t.selectionStart;window.requestAnimationFrame((function(){t.selectionStart=r,t.selectionEnd=r}))}else{var i=t.value.split(/\.|,/),a=i[0],s=i[1],l=a.length;s&&(l+=1,l+=s.slice(0,2).length);var m=o.length-l,u=t.selectionStart+m;window.requestAnimationFrame((function(){t.selectionStart=u,t.selectionEnd=u}))}L(o),U&&U(e,{value:f(o,T),valueString:o})}else{var c=t.selectionStart-1;window.requestAnimationFrame((function(){t.selectionStart=c,t.selectionEnd=c}))}},onClear:$,dataTestId:q,ref:m})))}));export{C as AmountInput};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{AmountInput}from"./component.js";import"../tslib.es6-
|
|
1
|
+
export{AmountInput}from"./component.js";import"../tslib.es6-e7101b9a.js";import"react";import"classnames";import"../input/component.js";import"react-merge-refs";import"../button/component.js";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../form-control/component.js";import"../utils/format-amount/util.js";import"../utils/get-currency-symbol/util.js";import"../utils/data/currency-codes.js";import"../utils/split-amount/util.js";import"../with-suffix/component.js";import"../portal/component.js";import"react-dom";import"../portal/utils.js";import"./utils/index.js";
|
package/dist/avatar/component.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import o from"react";import e from"classnames";import{Button as t}from"../button/component.js";import{Image as r}from"../image/component.js";import{ImageSizes as s}from"../image/typings.js";import"../image/constants.js";import"../tslib.es6-e7101b9a.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../skeleton/component.js";import"../typography/component.js";import"../typography/title/index.js";import"../typography/title/component.js";import"../colors.module-7a4e1a90.js";import"../common.module-154dcf4f.js";import"../typography/text/component.js";import"../typography/title-responsive/component.js";import"../use-image-render-component-ca789f11.js";import"../_tslib-531dfe1b-2283800e.js";import"../spinner/component.js";import"../image/utils.js";var m={warpper:"index-module_warpper__snzzI",disabled:"index-module_disabled__gP76-",slot:"index-module_slot__Ndmo9"},i=function(i){var p,n=i.src,a=i.text,c=i.slot,l=i.ref,d=i.onClick;return o.createElement(t,{ref:l,onClick:d,className:e([m.wrapper,(p={},p[m.disabled]=!d,p)]),view:"ghost"},o.createElement(r,{resolution:s.xs,view:"circle",bgColor:"secondary",size:"s",src:n,text:a}),c&&o.createElement("div",{className:m.slot},c))};export{i as Avatar};
|
package/dist/avatar/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{Avatar}from"./component.js";import"react";import"classnames";import"../button/component.js";import"../tslib.es6-
|
|
1
|
+
export{Avatar}from"./component.js";import"react";import"classnames";import"../button/component.js";import"../tslib.es6-e7101b9a.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../image/component.js";import"../skeleton/component.js";import"../typography/component.js";import"../typography/title/index.js";import"../typography/title/component.js";import"../colors.module-7a4e1a90.js";import"../common.module-154dcf4f.js";import"../typography/text/component.js";import"../typography/title-responsive/component.js";import"../use-image-render-component-ca789f11.js";import"../_tslib-531dfe1b-2283800e.js";import"../spinner/component.js";import"../image/typings.js";import"../image/constants.js";import"../image/utils.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"react";import t from"classnames";import{Typography as o}from"../typography/component.js";import"../_tslib-531dfe1b-
|
|
1
|
+
import e from"react";import t from"classnames";import{Typography as o}from"../typography/component.js";import"../_tslib-531dfe1b-2283800e.js";import{ImageSizes as m}from"../image/typings.js";import"../image/constants.js";import{PureImage as i}from"../pure-image/component.js";import"../typography/title/index.js";import"../tslib.es6-e7101b9a.js";import"../typography/title/component.js";import"../colors.module-7a4e1a90.js";import"../common.module-154dcf4f.js";import"../typography/text/component.js";import"../typography/title-responsive/component.js";import"../skeleton/component.js";import"../pure-image/use-image-state.js";var a="index-module_component__4rFCR",s="index-module_bottomSpace__Di-8N",n="index-module_footer__kIafr",d="index-module_withBorder__r41KZ",r="index-module_scalable__-ZP65",l="index-module_topLeftAddons__2l75B",p="index-module_topRightAddons__aPgTC",c="index-module_bottomRightAddons__7Thsr",_="index-module_imageWrap__BLuEt",u="index-module_shadow__Cvjla",v="index-module_titleWrap__LxVjO",g="index-module_title__iGzO6",x="index-module_titleAddons__OJJpe",h=function(h){var j,f=h.className,E=h.bottomSpace,b=void 0===E||E,y=h.orientation,N=void 0===y?"vertical":y,A=h.title,L=h.subtitle,w=h.topLeftAddons,R=h.topRightAddons,T=h.bottomRightAddons,M=h.titleAddons,B=h.photo,C=h.href,O=h.scalable,k=void 0!==O&&O,I=h.border,J=void 0!==I&&I,P=h.dataTestId,S=h.onMouseEnter,W=h.onMouseLeave;return e.createElement("a",{href:C,onMouseEnter:S,onMouseLeave:W,"data-test-id":P,className:t(a,(j={},j[d]=J,j[r]=k,j[s]=!b,j),f)},!!B&&e.createElement("div",{className:_},e.createElement(i,{src:B,orientation:N,resolution:m.m}),!!w&&e.createElement("div",{className:l},w),!!R&&e.createElement("div",{className:p},R),!b&&e.createElement("div",{className:u})),e.createElement("div",{className:n},e.createElement("div",{className:v},e.createElement(o.Text,{tag:"div",weight:"bold",className:g,view:"component"},A),!!M&&e.createElement("div",{className:x},M)),e.createElement(o.Text,{tag:"div",view:"primary-medium"},L),!!T&&e.createElement("div",{className:c},T)))};export{h as BaseCard};
|
package/dist/base-card/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{BaseCard}from"./component.js";import"react";import"classnames";import"../typography/component.js";import"../typography/title/index.js";import"../tslib.es6-
|
|
1
|
+
export{BaseCard}from"./component.js";import"react";import"classnames";import"../typography/component.js";import"../typography/title/index.js";import"../tslib.es6-e7101b9a.js";import"../typography/title/component.js";import"../colors.module-7a4e1a90.js";import"../common.module-154dcf4f.js";import"../typography/text/component.js";import"../typography/title-responsive/component.js";import"../_tslib-531dfe1b-2283800e.js";import"../image/typings.js";import"../image/constants.js";import"../pure-image/component.js";import"../skeleton/component.js";import"../pure-image/use-image-state.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import e from"react";import{c as t,u as n}from"../_commonjsHelpers-
|
|
1
|
+
import e from"react";import{c as t,u as n}from"../_commonjsHelpers-bde83fdc.js";import{r}from"../index-830c3d99.js";import{C as o}from"../ChevronBackM-17d32e3d.js";import"../_tslib-531dfe1b-2283800e.js";
|
|
2
2
|
/*
|
|
3
3
|
object-assign
|
|
4
4
|
(c) Sindre Sorhus
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{BottomSheet}from"./component.js";import"react";import"../_commonjsHelpers-
|
|
1
|
+
export{BottomSheet}from"./component.js";import"react";import"../_commonjsHelpers-bde83fdc.js";import"../index-830c3d99.js";import"../ChevronBackM-17d32e3d.js";import"../_tslib-531dfe1b-2283800e.js";
|
package/dist/button/component.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as e,a as d}from"../tslib.es6-
|
|
1
|
+
import{_ as e,a as d}from"../tslib.es6-e7101b9a.js";import o,{useRef as n}from"react";import l from"react-merge-refs";import a from"classnames";import{useFocus as r}from"../hooks/useFocus/index.js";import{Loader as t}from"../loader/component.js";var i={component:"index-module_component__u-TUk",focused:"index-module_focused__eUuXy",loading:"index-module_loading__hiz4V",text:"index-module_text__r-s7T",addons:"index-module_addons__L1ZvJ",stretchText:"index-module_stretchText__NlLwS",loader:"index-module_loader__uNrku",xs:"index-module_xs__n9Pli",iconOnly:"index-module_iconOnly__-dDPG",s:"index-module_s__lru3T",m:"index-module_m__PgSTc",l:"index-module_l__wmoiI",primary:"index-module_primary__xJlhQ",secondary:"index-module_secondary__hsPYU",outlined:"index-module_outlined__bwbBZ","outlined-inverted":"index-module_outlined-inverted__Cwspj",filled:"index-module_filled__tjqby",transparent:"index-module_transparent__M6ZJW",black:"index-module_black__ah6BZ",link:"index-module_link__hQuMO",ghost:"index-module_ghost__RbRGE",block:"index-module_block__ubbI7",nowrap:"index-module_nowrap__dEJbn"},_=o.forwardRef((function(_,s){var m,u,c=_.children,x=_.view,p=void 0===x?"secondary":x,f=_.leftAddons,b=_.rightAddons,h=_.size,v=void 0===h?"m":h,k=_.block,g=void 0!==k&&k,w=_.className,y=_.dataTestId,E=_.href,N=_.loading,T=void 0!==N&&N,j=_.nowrap,A=void 0!==j&&j,I=e(_,["children","view","leftAddons","rightAddons","size","block","className","dataTestId","href","loading","nowrap"]),J=n(null),O=r(J,"keyboard")[0],P={className:a(i.component,i[p],i[v],(m={},m[i.focused]=O,m[i.block]=g,m[i.iconOnly]=!c,m[i.nowrap]=A,m[i.loading]=T,m),w),"data-test-id":y||null},Z=o.createElement(o.Fragment,null,f&&o.createElement("span",{className:i.addons},f),c&&o.createElement("span",{className:a(i.text,(u={},u[i.stretchText]=!(f||b),u))},c),T&&o.createElement(t,{className:i.loader}),b&&o.createElement("span",{className:i.addons},b));if(E){var z=I.target;return o.createElement("a",d({rel:"_blank"===z?"noreferrer noopener":void 0},P,I,{href:E,ref:l([J,s])}),Z)}var R=I,U=R.disabled,B=e(R,["disabled"]);return o.createElement("button",d({},P,B,{disabled:U||T,ref:l([J,s])}),Z)}));export{_ as Button};
|
package/dist/button/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{Button}from"./component.js";import"../tslib.es6-
|
|
1
|
+
export{Button}from"./component.js";import"../tslib.es6-e7101b9a.js";import"react";import"react-merge-refs";import"classnames";import"../hooks/useFocus/index.js";import"../loader/component.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e}from"../tslib.es6-
|
|
1
|
+
import{a as e}from"../tslib.es6-e7101b9a.js";import t,{forwardRef as o,useState as n,useMemo as i,useCallback as r}from"react";import s from"classnames";import{s as a}from"../index-c312f5c7.js";import{locales as m}from"../utils/format-date/index.js";import{DaysTable as c}from"./components/days-table/component.js";import{Header as d}from"./components/header/сomponent.js";import{MonthsTable as p}from"./components/months-table/сomponent.js";import{useCalendar as l}from"./use-calendar.js";import{useDidUpdateEffect as h,monthName as f}from"./utils.js";import"../index-f91e9e5f.js";import"../index-f6974649.js";import"../index-ec01bf34.js";import"../index-919aca27.js";import"../index-0ce93775.js";import"../index-273a50a2.js";import"react-transition-group";import"../capitalize-86c29373.js";import"../isSymbol-3aeb0bfb.js";import"../_commonjsHelpers-bde83fdc.js";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../index-6e63e97d.js";import"../index-921629e8.js";import"../flex/component.js";import"../hooks/usePrevious/index.js";import"../_tslib-531dfe1b-2283800e.js";import"./components/select-button/сomponent.js";import"../index-309023f9.js";import"../flex-columns/component.js";import"../index-87e782a6.js";var u="index-module_component__SJQwG",j="index-module_container__3PFvh",v="index-module_sixWeeks__NcW9R",x=m,g=o((function(o,m){var g,w=o.className,b=o.defaultView,M=void 0===b?"days":b,D=o.value,y=o.month,P=o.defaultMonth,_=void 0===P?+new Date:P,N=o.minDate,C=o.maxDate,k=o.selectedFrom,S=o.selectedTo,Y=o.offDays,E=o.events,F=o.onChange,T=o.onMonthChange,A=o.onYearChange,V=o.locale,R=void 0===V?"en":V,W=o.shortNames,z=void 0===W||W,B=o.dataTestId,G=n(M),H=G[0],I=G[1],J=n(!1),L=J[0],Q=J[1],q=x[R],K=i((function(){return D?new Date(D):void 0}),[D]),O=i((function(){return a(K||k||_)}),[]),U=i((function(){return y?new Date(y):void 0}),[y]),X=i((function(){return N?new Date(N):void 0}),[N]),Z=i((function(){return C?new Date(C):void 0}),[C]),$=l({month:U,defaultMonth:O,view:H,minDate:X,maxDate:Z,selected:K,offDays:Y,events:E,onChange:F,onMonthChange:T,onYearChange:A,setView:I}),ee=$.activeMonth,te=$.activeYear,oe=$.weeks,ne=$.months,ie=$.canSetPrevMonth,re=$.canSetNextMonth,se=$.setMonthByDate,ae=$.setPrevMonth,me=$.setNextMonth,ce=$.setNextYear,de=$.setPrevYear,pe=$.highlighted,le=$.getDayProps,he=$.getMonthProps,fe=$.getRootProps,ue=r((function(e){I(H===e?"days":e)}),[H]),je=r((function(){"days"===H?ae():de()}),[ae,H,de]),ve=r((function(){"days"===H?me():ce()}),[me,H,ce]),xe=r((function(){ue("months")}),[ue]);return h((function(){Q(!1)}),[H]),h((function(){var e=D&&a(D);e&&e.getTime()!==ee.getTime()&&se(e)}),[D]),t.createElement("div",e({},fe({ref:m}),{className:s(u,w,(g={},g[v]=6===oe.length,g)),"data-test-id":B}),t.createElement(d,{month:f(ee,q,!1),year:te.getFullYear().toString(),prevArrowVisible:ie,nextArrowVisible:re,onPrevArrowClick:je,onNextArrowClick:ve,onMonthClick:xe,view:H,withShadow:L}),t.createElement("div",{className:j},"days"===H&&t.createElement(c,{locale:q,weeks:oe,activeMonth:ee,selectedFrom:k,selectedTo:S,getDayProps:le,highlighted:pe}),"months"===H&&t.createElement(p,{selectedMonth:ee,selectedLocale:q,shortNames:z,months:ne,getMonthProps:he})))}));export{g as Calendar};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e}from"../../../tslib.es6-
|
|
1
|
+
import{a as e}from"../../../tslib.es6-e7101b9a.js";import t,{useRef as d,useCallback as a}from"react";import{TransitionGroup as i,CSSTransition as n}from"react-transition-group";import r from"classnames";import{c as o}from"../../../capitalize-86c29373.js";import{Button as s}from"../../../button/component.js";import{b as m,a as l,i as _}from"../../../index-6e63e97d.js";import{d as c}from"../../../index-ec01bf34.js";import{i as u}from"../../../index-921629e8.js";import{s as y}from"../../../index-c312f5c7.js";import{Flex as x}from"../../../flex/component.js";import{usePrevious as f}from"../../../hooks/usePrevious/index.js";import{getSelectionRange as p}from"../../utils.js";import"../../../isSymbol-3aeb0bfb.js";import"../../../_commonjsHelpers-bde83fdc.js";import"react-merge-refs";import"../../../hooks/useFocus/index.js";import"../../../loader/component.js";import"../../../index-f91e9e5f.js";import"../../../index-f6974649.js";import"../../../index-919aca27.js";var g={daysTable:"index-module_daysTable__rn902",daysBody:"index-module_daysBody__jxkTG",weekRow:"index-module_weekRow__RtmOy",daysRow:"index-module_daysRow__hDh-2",daysRowDay:"index-module_daysRowDay__B3Q4q",transitLeft:"index-module_transitLeft__bGP2q",transitRight:"index-module_transitRight__cZ-3a",dayName:"index-module_dayName__A3Z6w",day:"index-module_day__BdXjf",event:"index-module_event__BmkeM",today:"index-module_today__FjG9V",highlighted:"index-module_highlighted__fg6kr",muted:"index-module_muted__h4D7T",disabled:"index-module_disabled__CNZL7",range:"index-module_range__WYxl2",selected:"index-module_selected__BvMd5",rangeStart:"index-module_rangeStart__N8rLo",rangeEnd:"index-module_rangeEnd__z7AV7",firstDay:"index-module_firstDay__v7p4d",lastDay:"index-module_lastDay__KdLVO",left:"index-module_left__Hxlkl",daysEnter:"index-module_daysEnter__V89W-",daysEnterActive:"index-module_daysEnterActive__-BRlM",daysExit:"index-module_daysExit__7nlJ4",daysExitActive:"index-module_daysExitActive__i-vHK",right:"index-module_right__6H99E"},v=function(v){var h=v.weeks,E=void 0===h?[]:h,b=v.activeMonth,j=void 0===b?new Date:b,w=v.highlighted,D=v.selectedFrom,k=v.selectedTo,R=v.getDayProps,N=v.locale,A=d(j);A.current=j;var T=f(j),B=T&&(j<T?"right":"left"),L=p(D,k,w),z=Array(7).fill(1).map((function(e,t){var d,a=t+1;return null===(d=null==N?void 0:N.localize)||void 0===d?void 0:d.day(7===a?0:a,{width:"short"})})),H=a((function(){return z.map((function(e){return t.createElement("div",{className:g.dayName,key:e},o(e))}))}),[z]);return t.createElement("div",{className:r(g.daysTable,B&&g[B])},t.createElement("div",{className:g.daysRow},t.createElement(x,null,H())),t.createElement(i,{component:null},t.createElement(n,{key:j.getTime(),timeout:300,classNames:{enter:g.daysEnter,enterActive:g.daysEnterActive,exit:g.daysExit,exitActive:g.daysExitActive}},t.createElement("div",{className:g.daysBody},E.map((function(d,a){return t.createElement(x,{className:g.weekRow,key:a},d.map((function(d,a){return t.createElement("div",{className:g.daysRowDay,key:d?d.date.getTime():a},d&&function(d){var a,i=d.selected||D&&c(d.date,D)||k&&c(d.date,k),n=!i&&L&&m(d.date,L),o=1===d.date.getDate(),x=l(d.date),f=o&&n&&L&&d.date>L.start,p=x&&n&&L&&d.date<L.end,v=L&&c(d.date,L.start),h=L&&c(d.date,L.end),E=R(d);return t.createElement(s,e({},E,{ref:function(e){y(d.date).getTime()===A.current.getTime()&&E.ref(e)},type:"button",view:"ghost",size:"xs",disabled:d.disabled,className:r(g.day,(a={},a[g.selected]=i,a[g.range]=n,a[g.rangeStart]=v,a[g.rangeEnd]=h,a[g.transitLeft]=f,a[g.transitRight]=p,a[g.today]=u(d.date),a[g.firstDay]=o,a[g.lastDay]=x,a[g.event]=d.event,a[g.disabled]=d.disabled,a[g.muted]=d.muted,a[g.highlighted]=w&&_(d.date,w),a))}),d.date.getDate())}(d))})))}))))))};export{v as DaysTable};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{DaysTable}from"./component.js";import"../../../tslib.es6-
|
|
1
|
+
export{DaysTable}from"./component.js";import"../../../tslib.es6-e7101b9a.js";import"react";import"react-transition-group";import"classnames";import"../../../capitalize-86c29373.js";import"../../../isSymbol-3aeb0bfb.js";import"../../../_commonjsHelpers-bde83fdc.js";import"../../../button/component.js";import"react-merge-refs";import"../../../hooks/useFocus/index.js";import"../../../loader/component.js";import"../../../index-6e63e97d.js";import"../../../index-f91e9e5f.js";import"../../../index-ec01bf34.js";import"../../../index-f6974649.js";import"../../../index-921629e8.js";import"../../../index-c312f5c7.js";import"../../../flex/component.js";import"../../../hooks/usePrevious/index.js";import"../../utils.js";import"../../../index-919aca27.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{Header}from"./сomponent.js";import"react";import"../../../_tslib-531dfe1b-
|
|
1
|
+
export{Header}from"./сomponent.js";import"react";import"../../../_tslib-531dfe1b-2283800e.js";import"classnames";import"../../../capitalize-86c29373.js";import"../../../isSymbol-3aeb0bfb.js";import"../../../_commonjsHelpers-bde83fdc.js";import"../../../button/component.js";import"../../../tslib.es6-e7101b9a.js";import"react-merge-refs";import"../../../hooks/useFocus/index.js";import"../../../loader/component.js";import"../select-button/сomponent.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"react";import{_ as t}from"../../../_tslib-531dfe1b-
|
|
1
|
+
import e from"react";import{_ as t}from"../../../_tslib-531dfe1b-2283800e.js";import o from"classnames";import{c as r}from"../../../capitalize-86c29373.js";import{Button as l}from"../../../button/component.js";import{SelectButton as i}from"../select-button/сomponent.js";import"../../../isSymbol-3aeb0bfb.js";import"../../../_commonjsHelpers-bde83fdc.js";import"../../../tslib.es6-e7101b9a.js";import"react-merge-refs";import"../../../hooks/useFocus/index.js";import"../../../loader/component.js";var a=function(o){return e.createElement("svg",t({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},o),e.createElement("path",{d:"M0 0h17v16H0z"}),e.createElement("path",{d:"M6.741 8l4.715-4.714L10.17 2l-6 6 6 6 1.286-1.286L6.74 8z",fill:"currentColor"}))},n="index-module_header__-VKks",m="index-module_withShadow__m2PIV",s="index-module_disabled__9Dr54",c="index-module_buttonContent__xnYVf",d="index-module_selectors__RA1Pm",p="index-module_arrow__tCsej",_=function(t){var _,w,h=t.month,u=t.year,v=t.view,b=t.withShadow,f=t.prevArrowVisible,x=void 0===f||f,j=t.nextArrowVisible,E=void 0===j||j,C=t.onPrevArrowClick,k=t.onNextArrowClick,g=t.onMonthClick;return e.createElement("div",{className:o(n,(_={},_[m]=b,_)),"aria-live":"polite"},e.createElement(i,{view:"filled",className:o((w={},w[s]="months"===v,w)),onClick:"days"===v?g:void 0},e.createElement("span",{className:c},"days"===v?r(h)+" "+u:""+u)),e.createElement("div",{className:d},x&&e.createElement(l,{view:"ghost",className:p,onClick:C,"aria-label":"Предыдущий месяц"},e.createElement(a,null)),E&&e.createElement(l,{view:"ghost",className:p,onClick:k,"aria-label":"Следующий месяц"},e.createElement(a,null))))};export{_ as Header};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{MonthsTable}from"./сomponent.js";import"../../../tslib.es6-
|
|
1
|
+
export{MonthsTable}from"./сomponent.js";import"../../../tslib.es6-e7101b9a.js";import"react";import"../../../capitalize-86c29373.js";import"../../../isSymbol-3aeb0bfb.js";import"../../../_commonjsHelpers-bde83fdc.js";import"../../../index-c312f5c7.js";import"../../../index-f91e9e5f.js";import"../../../index-f6974649.js";import"../../../index-ec01bf34.js";import"../../../index-309023f9.js";import"../../../flex-columns/component.js";import"classnames";import"../../utils.js";import"../../../index-919aca27.js";import"../select-button/сomponent.js";import"../../../button/component.js";import"react-merge-refs";import"../../../hooks/useFocus/index.js";import"../../../loader/component.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e}from"../../../tslib.es6-
|
|
1
|
+
import{a as e}from"../../../tslib.es6-e7101b9a.js";import o,{useCallback as t}from"react";import{c as s}from"../../../capitalize-86c29373.js";import{i as m}from"../../../index-c312f5c7.js";import{i as r}from"../../../index-309023f9.js";import{FlexColumns as n}from"../../../flex-columns/component.js";import{monthName as i}from"../../utils.js";import{SelectButton as a}from"../select-button/сomponent.js";import"../../../isSymbol-3aeb0bfb.js";import"../../../_commonjsHelpers-bde83fdc.js";import"../../../index-f91e9e5f.js";import"../../../index-f6974649.js";import"../../../index-ec01bf34.js";import"classnames";import"../../../index-919aca27.js";import"../../../button/component.js";import"react-merge-refs";import"../../../hooks/useFocus/index.js";import"../../../loader/component.js";var c="index-module_monthsTable__Eq4Jn",p="index-module_button__XgrJs",d=function(d){var l=d.selectedMonth,f=d.months,u=void 0===f?[]:f,j=d.getMonthProps,b=d.selectedLocale,x=d.shortNames,h=t((function(e){return l&&m(l,e.date)?"selected":r(e.date)?"outlined":"default"}),[l]);return o.createElement(n,{columns:3,gc:0,gr:8,className:c},u.map((function(t){return o.createElement(a,e({},j(t),{key:t.date.getMonth(),className:p,view:h(t)}),s(i(t.date,b,x)))})))};export{d as MonthsTable};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{SelectButton}from"./сomponent.js";import"../../../tslib.es6-
|
|
1
|
+
export{SelectButton}from"./сomponent.js";import"../../../tslib.es6-e7101b9a.js";import"react";import"classnames";import"../../../button/component.js";import"react-merge-refs";import"../../../hooks/useFocus/index.js";import"../../../loader/component.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as e,a as d}from"../../../tslib.es6-
|
|
1
|
+
import{_ as e,a as d}from"../../../tslib.es6-e7101b9a.js";import o,{forwardRef as i}from"react";import s from"classnames";import{Button as t}from"../../../button/component.js";import"react-merge-refs";import"../../../hooks/useFocus/index.js";import"../../../loader/component.js";var l={button:"index-module_button__baxa-",disabled:"index-module_disabled__KuR4M",filled:"index-module_filled__bjlbk",outlined:"index-module_outlined__uO-jd",selected:"index-module_selected__iwjDb"},a=i((function(i,a){var r,m=i.className,n=i.children,u=i.disabled,b=i.view,_=void 0===b?"default":b,c=e(i,["className","children","disabled","view"]);return o.createElement(t,d({},c,{ref:a,view:"ghost",size:"xs",disabled:u,className:s(l.button,l[_],m,(r={},r[l.disabled]=u,r))}),n)}));export{a as SelectButton};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{YearsTable}from"./сomponent.js";import"../../../tslib.es6-
|
|
1
|
+
export{YearsTable}from"./сomponent.js";import"../../../tslib.es6-e7101b9a.js";import"react";import"../../../index-ffae730f.js";import"../../../index-f91e9e5f.js";import"../select-button/сomponent.js";import"classnames";import"../../../button/component.js";import"react-merge-refs";import"../../../hooks/useFocus/index.js";import"../../../loader/component.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e}from"../../../tslib.es6-
|
|
1
|
+
import{a as e}from"../../../tslib.es6-e7101b9a.js";import t,{useRef as r,useCallback as o,useLayoutEffect as n}from"react";import{i as l,a}from"../../../index-ffae730f.js";import{SelectButton as s}from"../select-button/сomponent.js";import"../../../index-f91e9e5f.js";import"classnames";import"../../../button/component.js";import"react-merge-refs";import"../../../hooks/useFocus/index.js";import"../../../loader/component.js";var i="index-module_yearsTable__7bRtn",c="index-module_inner__LF4VE",m="index-module_button__e9zeg",u=function(u){var f=u.selectedYear,p=u.years,d=void 0===p?[]:p,_=u.getYearProps,b=u.onScroll,g=r(null),v=o((function(e){return f&&l(f,e)?"selected":a(e)?"outlined":"default"}),[f]),x=o((function(e){b(e.currentTarget.scrollTop)}),[b]);return n((function(){var e=g.current,t="."+m+'[tabIndex="0"]',r=e&&e.querySelector(t);if(e&&r){var o=e.clientHeight/2-r.clientHeight/2;e.scrollTop=r.offsetTop-o,b(e.scrollTop)}}),[b,f]),t.createElement("div",{className:i,onScroll:x,ref:g},t.createElement("div",{className:c},d.map((function(r){return t.createElement(s,e({},_(r),{key:r.getFullYear(),view:v(r),className:m}),r.getFullYear())}))))};export{u as YearsTable};
|
package/dist/calendar/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{Calendar}from"./component.js";export{usePeriod}from"./use-period.js";export{useCalendar}from"./use-calendar.js";export{DAYS_IN_WEEK,MONTHS_IN_YEAR,SUNDAY_INDEX,dateInLimits,limitDate,monthName,russianWeekDay}from"./utils.js";import"../tslib.es6-
|
|
1
|
+
export{Calendar}from"./component.js";export{usePeriod}from"./use-period.js";export{useCalendar}from"./use-calendar.js";export{DAYS_IN_WEEK,MONTHS_IN_YEAR,SUNDAY_INDEX,dateInLimits,limitDate,monthName,russianWeekDay}from"./utils.js";import"../tslib.es6-e7101b9a.js";import"react";import"classnames";import"../index-c312f5c7.js";import"../index-f91e9e5f.js";import"../index-f6974649.js";import"../index-ec01bf34.js";import"../utils/format-date/index.js";import"../index-919aca27.js";import"../index-0ce93775.js";import"../index-273a50a2.js";import"./components/days-table/component.js";import"react-transition-group";import"../capitalize-86c29373.js";import"../isSymbol-3aeb0bfb.js";import"../_commonjsHelpers-bde83fdc.js";import"../button/component.js";import"react-merge-refs";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../index-6e63e97d.js";import"../index-921629e8.js";import"../flex/component.js";import"../hooks/usePrevious/index.js";import"./components/header/сomponent.js";import"../_tslib-531dfe1b-2283800e.js";import"./components/select-button/сomponent.js";import"./components/months-table/сomponent.js";import"../index-309023f9.js";import"../flex-columns/component.js";import"../index-87e782a6.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{useState as t,useRef as n,useMemo as e,useCallback as r}from"react";import o from"react-merge-refs";import{b as a,d as u}from"../index-
|
|
1
|
+
import{useState as t,useRef as n,useMemo as e,useCallback as r}from"react";import o from"react-merge-refs";import{b as a,d as u}from"../index-ec01bf34.js";import{s as i,a as f}from"../index-87e782a6.js";import{s as c,h as d,i as s}from"../index-c312f5c7.js";import{dateArrayToHashTable as h,generateWeeks as v,generateMonths as g,generateYears as m,limitDate as l,simulateTab as w,modifyDateByShift as p,MONTHS_IN_YEAR as D}from"./utils.js";import"../index-f6974649.js";import"../index-f91e9e5f.js";import"../index-919aca27.js";function M(M){var x=M.defaultMonth,A=M.month,y=M.minDate,b=M.view,k=void 0===b?"days":b,P=M.maxDate,T=M.selected,j=M.events,Y=M.offDays,C=M.onMonthChange,I=M.onYearChange,L=M.onChange,R=M.setView,U=t(x),W=U[0],E=U[1],N=t(x),F=N[0],O=N[1],S=t(),B=S[0],H=S[1],K=void 0===A,V=K?W:A,q=K?F:A,z=n([]),G=n(null),J=e((function(){return y&&c(y)}),[y]),Q=e((function(){return P&&c(P)}),[P]),X=e((function(){return y&&d(y)}),[y]),Z=e((function(){return P&&d(P)}),[P]),$=!J||V>J,_=!Q||V<Q,tt=e((function(){return h(j||[])}),[j]),nt=e((function(){return h(Y||[])}),[Y]),et=e((function(){return v(V,{minDate:y,maxDate:P,selected:T,eventsMap:tt,offDaysMap:nt})}),[P,y,T,V,tt,nt]),rt=e((function(){return g(q,{minMonth:J,maxMonth:Q})}),[J,Q,q]),ot=e((function(){return m(y||i(new Date,5),P||new Date)}),[y,P]),at=r((function(t){K&&(E(t),O(t)),C&&C(t.getTime())}),[C,K]),ut=r((function(t){K&&O(t),I&&I(t.getTime())}),[I,K]),it=r((function(t){at(l(a(V,t),J,Q))}),[at,V,J,Q]),ft=r((function(t){ut(l(f(q,t),X,Z))}),[ut,q,X,Z]),ct=r((function(t){at(l(t,J,Q))}),[Q,J,at]),dt=r((function(){it(1)}),[it]),st=r((function(){it(-1)}),[it]),ht=r((function(){ft(1)}),[ft]),vt=r((function(){ft(-1)}),[ft]),gt=r((function(){return z.current.find((function(t){return document.activeElement===t}))}),[]),mt=r((function(){return z.current.find((function(t){return t&&0===t.tabIndex}))}),[]),lt=r((function(t){t&&(w(t),t.focus())}),[]),wt=r((function(){return lt(mt())}),[lt,mt]),pt=r((function(t){var n=gt();if(n&&n.dataset.date){var e=new Date(+n.dataset.date),r=p(t,e,y,P,nt),o=!1;r<e&&r.getMonth()!==e.getMonth()&&(st(),o=!0),r>e&&r.getMonth()!==e.getMonth()&&(dt(),o=!0);var a=function(){return lt(z.current[r.getDate()-1])};o?setTimeout(a,0):a()}else wt()}),[lt,wt,gt,P,y,nt,dt,st]),Dt=r((function(t){var n=gt();if(n&&n.dataset.date){var e=new Date(+n.dataset.date).getMonth()+t;e>=0&&e<D&<(z.current[e])}else wt()}),[lt,wt,gt]),Mt=r((function(t){var n=gt();if(n&&n.dataset.date){var e=new Date(+n.dataset.date).getFullYear()+t,r=(new Date).getFullYear();e<=r&&e>r-ot.length&<(z.current[e])}else wt()}),[lt,wt,gt,ot.length]),xt=r((function(t){var n=t.currentTarget.dataset.date;n&&ct(new Date(+n)),G.current&&G.current.focus()}),[ct]),At=r((function(t,n){z.current[n]=t}),[]),yt=r((function(t){var n=t.currentTarget.dataset.date;H(n?+n:void 0)}),[]),bt=r((function(){H(void 0)}),[]),kt=r((function(t){var n=t.currentTarget.dataset.date;n&&L&&L(+n)}),[L]),Pt={days:e((function(){return{ArrowLeft:function(){return pt("prev")},ArrowRight:function(){return pt("next")},ArrowUp:function(){return pt("prevWeek")},ArrowDown:function(){return pt("nextWeek")},End:function(){return pt("endOfWeek")},Home:function(){return pt("startOfWeek")},PageUp:function(){return pt("prevMonth")},PageDown:function(){return pt("nextMonth")}}}),[pt]),months:e((function(){return{ArrowLeft:function(){return Dt(-1)},ArrowRight:function(){return Dt(1)},ArrowUp:function(){return Dt(-3)},ArrowDown:function(){return Dt(3)}}}),[Dt]),years:e((function(){return{ArrowLeft:function(){return Mt(1)},ArrowRight:function(){return Mt(-1)},ArrowUp:function(){return Mt(3)},ArrowDown:function(){return Mt(-3)}}}),[Mt])},Tt=r((function(t){var n=Pt[k];t.key in n&&(n[t.key](),t.preventDefault())}),[Pt,k]),jt=!1,Yt=r((function(t){var n=T&&u(T,t.date),e=n;return T&&s(T,V)||jt||t.disabled||(jt=!0,e=!0),{"data-date":t.date.getTime(),"aria-selected":n,ref:function(n){At(n,t.date.getDate()-1)},tabIndex:e?0:-1,onMouseEnter:yt,onMouseLeave:bt,onClick:kt}}),[kt,At,Tt,yt,bt,T]),Ct=r((function(t){var n=s(V,t.date);return{"data-date":t.date.getTime(),"aria-selected":n,ref:function(n){At(n,t.date.getMonth())},tabIndex:n?0:-1,disabled:t.disabled,onClick:function(t){xt(t),R("days")}}}),[V,At,xt,R]),It=r((function(t){var n=t.ref;return{onKeyDown:Tt,ref:o([void 0===n?null:n,G]),tabIndex:-1}}),[Tt]);return{activeMonth:V,activeYear:q,weeks:et,months:rt,canSetPrevMonth:$,canSetNextMonth:_,highlighted:B,setPrevMonth:st,setNextMonth:dt,setNextYear:ht,setPrevYear:vt,setMonthByDate:ct,getDayProps:Yt,getMonthProps:Ct,getRootProps:It}}export{M as useCalendar};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{useState as i,useCallback as e}from"react";import{useDidUpdateEffect as t}from"./utils.js";import"../index-
|
|
1
|
+
import{useState as i,useCallback as e}from"react";import{useDidUpdateEffect as t}from"./utils.js";import"../index-ec01bf34.js";import"../index-f6974649.js";import"../index-f91e9e5f.js";import"../index-c312f5c7.js";import"../index-919aca27.js";function o(o){var n=o.onPeriodChange,r=o.initialSelectedFrom,d=o.initialSelectedTo,c=i(r),f=c[0],m=c[1],s=i(d),a=s[0],u=s[1],p=e((function(){m(void 0),u(void 0)}),[]),l=e((function(i){m(i)}),[]),v=e((function(i){u(i)}),[]),x=e((function(i){if(void 0!==i){if(f)return a?void(i>f?u(i):i<f&&(u(void 0),m(i))):(m(Math.min(i,f)),void u(Math.max(i,f)));m(i)}else p()}),[p,f,a]);return t((function(){n&&n(f,a)}),[f,a]),{selectedFrom:f,selectedTo:a,setStart:l,setEnd:v,resetPeriod:p,updatePeriod:x}}export{o as usePeriod};
|
package/dist/calendar/utils.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{useRef as e,useEffect as n}from"react";import{e as t,d as r,c as a,i as u,s as i,a as o,g as
|
|
1
|
+
import{useRef as e,useEffect as n}from"react";import{e as t,d as r,c as a,i as u,s as i,a as o,g as f,b as s,f as c}from"../index-ec01bf34.js";import{s as d,c as v,l as m,e as p,a as l,h as b,f as x,b as k,g as w,m as g,i as h,j as y,d as L}from"../index-c312f5c7.js";import{f as T}from"../index-919aca27.js";import"../index-f6974649.js";import"../index-f91e9e5f.js";var j=7,D=12,M=6;function O(e){var n=e.getDay();return 0===n?j-1:n-1}function W(e,n){var a=function(){return Array(j).fill(null)},u=d(e),i=t(d(e)),o=v(m(e)),f=a();return p({start:i,end:o}).reduce((function(e,t){var i=O(t);return f[i]=S(t,u,n),(i===M||r(t,o))&&(e.push(f),f=a()),e}),[])}function E(e,n){return l({start:b(e),end:x(e)}).map((function(e){return A(e,n)}))}function K(e,n){return k({start:w([b(n),b(e)]),end:g([b(n),b(e)])}).reverse()}function S(e,n,t){var i=t.minDate,o=t.maxDate,f=t.selected,s=t.eventsMap,c=void 0===s?{}:s,d=t.offDaysMap,v=(void 0===d?{}:d)[e.getTime()];return{date:e,disabled:i&&a(e,i)||o&&u(e,o)||v,event:c[e.getTime()],selected:f&&r(e,f),muted:!h(e,n)}}function A(e,n){var t=n.minMonth,r=n.maxMonth;return{date:e,disabled:t&&a(e,t)||r&&u(e,r)}}function q(e,n,t){var r=e;return n&&(r=g([n,r])),t&&(r=w([t,r])),new Date(r)}function z(e,n,t){return e&&q(e,n,t).getTime()===new Date(e).getTime()}function B(e,n,t){return T(e,t?"LLL":"LLLL",{locale:n})}function C(e){return e.reduce((function(e,n){return e[i(n).getTime()]=!0,e}),{})}function F(e,n,t){var r=n||t;return e&&r&&e!==r?{start:w([e,r]),end:g([e,r])}:null}function G(e,n,t,r,a){void 0===a&&(a={});for(var u={prev:function(){return f(n,1)},prevWeek:function(){return f(n,7)},prevMonth:function(){return y(n,1)},next:function(){return o(n,1)},nextWeek:function(){return o(n,7)},nextMonth:function(){return s(n,1)},startOfWeek:function(){return c(n,{weekStartsOn:1})},endOfWeek:function(){return i(L(n,{weekStartsOn:1}))}}[e]();a[u.getTime()];){var d=u<n?-1:1;"endOfWeek"===e&&(d=-1),"startOfWeek"===e&&(d=1),u=o(u,d)}return q(u,t,r)}function H(e){if(window.KeyboardEvent){var n=new window.KeyboardEvent("keydown",{bubbles:!0,key:"Tab"});e.dispatchEvent(n)}}function I(t,r){var a=e(!1);n((function(){a.current?t():a.current=!0}),r)}export{j as DAYS_IN_WEEK,D as MONTHS_IN_YEAR,M as SUNDAY_INDEX,S as buildDay,A as buildMonth,C as dateArrayToHashTable,z as dateInLimits,E as generateMonths,W as generateWeeks,K as generateYears,F as getSelectionRange,q as limitDate,G as modifyDateByShift,B as monthName,O as russianWeekDay,H as simulateTab,I as useDidUpdateEffect};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as e,a as t}from"../tslib.es6-
|
|
1
|
+
import{_ as e,a as t}from"../tslib.es6-e7101b9a.js";import o,{forwardRef as n,useState as a,useRef as r,useCallback as i,useEffect as m}from"react";import p from"react-merge-refs";import s from"classnames";import{Calendar as l}from"../calendar/component.js";import{dateInLimits as d}from"../calendar/utils.js";import{MaskedInput as c}from"../masked-input/component.js";import{Popover as u}from"../popover/component.js";import"../toast-notifier/component.js";import{formatDate as f}from"../utils/format-date/index.js";import{parseDateString as j,isCompleteDateInput as v,DATE_MASK as x,SUPPORTS_INPUT_TYPE_DATE as b,NATIVE_DATE_FORMAT as g}from"./utils.js";import"../index-c312f5c7.js";import"../index-f91e9e5f.js";import"../index-f6974649.js";import"../index-ec01bf34.js";import"../calendar/components/days-table/component.js";import"react-transition-group";import"../capitalize-86c29373.js";import"../isSymbol-3aeb0bfb.js";import"../_commonjsHelpers-bde83fdc.js";import"../button/component.js";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../index-6e63e97d.js";import"../index-921629e8.js";import"../flex/component.js";import"../hooks/usePrevious/index.js";import"../index-919aca27.js";import"../calendar/components/header/сomponent.js";import"../_tslib-531dfe1b-2283800e.js";import"../calendar/components/select-button/сomponent.js";import"../calendar/components/months-table/сomponent.js";import"../index-309023f9.js";import"../flex-columns/component.js";import"../calendar/use-calendar.js";import"../index-87e782a6.js";import"../index-0ce93775.js";import"../index-273a50a2.js";import"../input/component.js";import"../form-control/component.js";import"react-popper";import"../portal/component.js";import"react-dom";import"../portal/utils.js";import"../stack/context.js";import"../stack/component.js";import"../toast-plate/component.js";import"../CloseS-54a65af2.js";import"../toast-notifier/use-timer.js";var h="index-module_component__pdVE2",y="index-module_block__wtVLz",_="index-module_calendarContainer__x7A2x",C="index-module_calendarIcon__muPk-",k="index-module_nativeInput__siME6",D=n((function(n,D){var w,E=n.block,M=void 0!==E&&E,N=n.className,I=n.inputClassName,P=n.defaultOpen,T=void 0!==P&&P,F=n.defaultMonth,V=n.defaultValue,O=void 0===V?"":V,A=n.calendarPosition,q=void 0===A?"popover":A,R=n.value,z=n.dataTestId,K=n.minDate,S=n.required,U=n.maxDate,B=n.calendarProps,H=void 0===B?{}:B,L=n.preventFlip,G=n.mobileMode,J=void 0===G?"popover":G,Q=n.wrapperRef,W=void 0===Q?null:Q,X=n.disabled,Y=n.onChange,Z=n.onInputChange,$=n.onCalendarChange,ee=n.readOnly,te=e(n,["block","className","inputClassName","defaultOpen","defaultMonth","defaultValue","calendarPosition","value","dataTestId","minDate","required","maxDate","calendarProps","preventFlip","mobileMode","wrapperRef","disabled","onChange","onInputChange","onCalendarChange","readOnly"]),oe=void 0===(R=R&&R.split("-").length?R.split("-").reverse().join("."):R),ne=b&&"native"===J,ae="input"===J,re="static"===q&&!ae,ie="popover"===q&&!ne&&!ae,me=a(!1),pe=me[0],se=me[1],le=a(O),de=le[0],ce=le[1],ue=oe?de:R,fe=ue?j(ue).getTime():void 0,je=d(fe,K,U),ve=X||ee,xe=r(null),be=r(null),ge=r(null),he=r(null),ye=i((function(e){"Escape"===e.key&&se(!1)}),[]),_e=i((function(){pe||se(!0)}),[pe]),Ce=i((function(e){se(!0),!pe&&"INPUT"!==e.target.tagName&&he.current&&he.current.focus()}),[pe]),ke=i((function(e){he.current&&!1===he.current.contains(e.relatedTarget)&&se(!1)}),[]),De=i((function(e){["ArrowDown","ArrowUp"].includes(e.key)&&he.current&&(e.preventDefault(),he.current.focus())}),[]),we=i((function(e,t,o,n,a){void 0===n&&(n="input"),void 0===a&&(a=!0),"input"===n&&e&&Z&&Z(e,{value:t,date:o}),"calendar"===n&&$&&$(o.getTime()),a&&(oe&&ce(t),Y&&Y(e,{date:o,value:t.split(".").reverse().join("-")}))}),[$,Y,Z,oe]),Ee=i((function(e){var t=e.target.value,o=j(t);we(e,t,o,"input",v(t))}),[we]),Me=i((function(e){var t=j(e.target.value,g),o=""===e.target.value?"":f(t,{format:"dd.MM.yyyy"});we(e,o,t)}),[we]),Ne=i((function(e){we(null,f(e,{format:"dd.MM.yyyy"}),new Date(e),"calendar"),se(!1)}),[we]),Ie=i((function(e){e.preventDefault()}),[]);m((function(){se(T)}),[T]);var Pe=i((function(){return o.createElement("div",{onMouseDown:Ie},o.createElement(l,t({},H,{ref:he,defaultMonth:F,value:je?fe:void 0,onChange:Ne,minDate:K,maxDate:U})))}),[H,fe,F,Ne,Ie,je,U,K]);return o.createElement("div",{ref:ge,className:s(h,N,(w={},w[y]=M,w)),tabIndex:-1,onKeyDown:ve?void 0:ye,onClick:ve?void 0:_e,onFocus:ve?void 0:Ce,onBlur:ke,"data-test-id":z},o.createElement(c,t({},te,{ref:p([D,xe]),wrapperRef:p([W,be]),className:I,value:ue,required:S,defaultValue:O,disabled:X,readOnly:ee,mask:x,rightAddons:o.createElement(o.Fragment,null,o.createElement("span",{className:C}),ne&&o.createElement("input",{type:"date",ref:p([D,xe]),defaultValue:O,onChange:Me,className:k})),onKeyDown:De,onChange:Ee,block:!0,inputMode:"numeric",pattern:"[0-9\\.]*"})),re&&Pe(),ie&&o.createElement(u,{open:pe,anchorElement:be.current,popperClassName:_,position:"bottom-start",offset:[0,8],withTransition:!1,preventFlip:L},Pe()))}));export{D as CalendarInput};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{CalendarInput}from"./component.js";export{DATE_FORMAT,DATE_MASK,IS_BROWSER,NATIVE_DATE_FORMAT,SUPPORTS_INPUT_TYPE_DATE,isCompleteDateInput,isInputDateSupported,parseDateString}from"./utils.js";import"../tslib.es6-
|
|
1
|
+
export{CalendarInput}from"./component.js";export{DATE_FORMAT,DATE_MASK,IS_BROWSER,NATIVE_DATE_FORMAT,SUPPORTS_INPUT_TYPE_DATE,isCompleteDateInput,isInputDateSupported,parseDateString}from"./utils.js";import"../tslib.es6-e7101b9a.js";import"react";import"react-merge-refs";import"classnames";import"../calendar/component.js";import"../index-c312f5c7.js";import"../index-f91e9e5f.js";import"../index-f6974649.js";import"../index-ec01bf34.js";import"../utils/format-date/index.js";import"../index-919aca27.js";import"../index-0ce93775.js";import"../index-273a50a2.js";import"../calendar/components/days-table/component.js";import"react-transition-group";import"../capitalize-86c29373.js";import"../isSymbol-3aeb0bfb.js";import"../_commonjsHelpers-bde83fdc.js";import"../button/component.js";import"../hooks/useFocus/index.js";import"../loader/component.js";import"../index-6e63e97d.js";import"../index-921629e8.js";import"../flex/component.js";import"../hooks/usePrevious/index.js";import"../calendar/utils.js";import"../calendar/components/header/сomponent.js";import"../_tslib-531dfe1b-2283800e.js";import"../calendar/components/select-button/сomponent.js";import"../calendar/components/months-table/сomponent.js";import"../index-309023f9.js";import"../flex-columns/component.js";import"../calendar/use-calendar.js";import"../index-87e782a6.js";import"../masked-input/component.js";import"../input/component.js";import"../form-control/component.js";import"../popover/component.js";import"react-popper";import"../portal/component.js";import"react-dom";import"../portal/utils.js";import"../stack/context.js";import"../stack/component.js";import"../toast-notifier/component.js";import"../toast-plate/component.js";import"../CloseS-54a65af2.js";import"../toast-notifier/use-timer.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e}from"../index-
|
|
1
|
+
import{p as e}from"../index-0ce93775.js";import"../index-f6974649.js";import"../index-f91e9e5f.js";import"../index-273a50a2.js";var t="dd.MM.yyyy",d="yyyy-MM-dd",n=[/\d/,/\d/,".",/\d/,/\d/,".",/\d/,/\d/,/\d/,/\d/],i="undefined"!=typeof window,r=i&&a(),o=function(e){return e.length===n.length},u=function(d,n){return void 0===n&&(n=t),e(d,n,new Date)};function a(){var e=document.createElement("input");return e.setAttribute("type","date"),e.setAttribute("value","a"),"a"!==e.value}export{t as DATE_FORMAT,n as DATE_MASK,i as IS_BROWSER,d as NATIVE_DATE_FORMAT,r as SUPPORTS_INPUT_TYPE_DATE,o as isCompleteDateInput,a as isInputDateSupported,u as parseDateString};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as r,i as u}from"./isSymbol-
|
|
1
|
+
import{_ as r,i as u}from"./isSymbol-3aeb0bfb.js";var f=function(r,u){for(var f=-1,n=null==r?0:r.length,t=Array(n);++f<n;)t[f]=u(r[f],f,r);return t},n=Array.isArray,t=1/0,e=r?r.prototype:void 0,o=e?e.toString:void 0;var a=function r(e){if("string"==typeof e)return e;if(n(e))return f(e,r)+"";if(u(e))return o?o.call(e):"";var a=e+"";return"0"==a&&1/e==-t?"-0":a};var i=function(r){return null==r?"":a(r)};var d=function(r,u,f){var n=-1,t=r.length;u<0&&(u=-u>t?0:t+u),(f=f>t?t:f)<0&&(f+=t),t=u>f?0:f-u>>>0,u>>>=0;for(var e=Array(t);++n<t;)e[n]=r[n+u];return e};var v=function(r,u,f){var n=r.length;return f=void 0===f?n:f,!u&&f>=n?r:d(r,u,f)},c=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");var l=function(r){return c.test(r)};var s=function(r){return r.split("")},p="\\ud800-\\udfff",g="["+p+"]",y="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",b="\\ud83c[\\udffb-\\udfff]",h="[^"+p+"]",A="(?:\\ud83c[\\udde6-\\uddff]){2}",j="[\\ud800-\\udbff][\\udc00-\\udfff]",m="(?:"+y+"|"+b+")"+"?",x="[\\ufe0e\\ufe0f]?",C=x+m+("(?:\\u200d(?:"+[h,A,j].join("|")+")"+x+m+")*"),E="(?:"+[h+y+"?",y,A,j,g].join("|")+")",R=RegExp(b+"(?="+b+")|"+E+C,"g");var S=function(r){return r.match(R)||[]};var w=function(r){return l(r)?S(r):s(r)};var L=function(r){return function(u){u=i(u);var f=l(u)?w(u):void 0,n=f?f[0]:u.charAt(0),t=f?v(f,1).join(""):u.slice(1);return n[r]()+t}}("toUpperCase");var U=function(r){return L(i(r).toLowerCase())};export{U as c};
|
package/dist/card/component.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"react";import t from"classnames";import{Typography as o}from"../typography/component.js";import{CardImages as i}from"./images/index.js";import"../typography/title/index.js";import"../tslib.es6-
|
|
1
|
+
import e from"react";import t from"classnames";import{Typography as o}from"../typography/component.js";import{CardImages as i}from"./images/index.js";import"../typography/title/index.js";import"../tslib.es6-e7101b9a.js";import"../typography/title/component.js";import"../colors.module-7a4e1a90.js";import"../common.module-154dcf4f.js";import"../typography/text/component.js";import"../typography/title-responsive/component.js";import"swiper/react";import"../_tslib-531dfe1b-2283800e.js";import"../image/typings.js";import"../image/constants.js";import"../image/image-base.js";import"../use-image-render-component-ca789f11.js";import"../spinner/component.js";import"../image/utils.js";import"swiper/swiper.min.css";var m={component:"index-module_component__ovb41",full:"index-module_full__mqhKr",titleWrap:"index-module_titleWrap__UsXkt",content:"index-module_content__taI9l"},r=function(r){var n=r.view,s=void 0===n?"default":n,a=r.bottomAddons,p=r.images,l=void 0===p?[]:p,c=r.orientation,d=void 0===c?"horizontal":c,g=r.title,u=r.subtitle,j=r.titleAddons;return e.createElement("div",{className:t([m.component,m[s]])},!!l.length&&e.createElement(i,{orientation:d,images:l,view:s}),e.createElement("div",{className:m.content},e.createElement("div",{className:m.titleWrap},e.createElement(o.Text,{view:"title",color:"primary",weight:"medium",tag:"div"},g),j),e.createElement(o.Text,{weight:"medium",view:"caps",tag:"div",className:m.subtitle,color:"secondary"},u),a))};export{r as Card};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"react";import t from"classnames";import{Swiper as o,SwiperSlide as i}from"swiper/react";import"../../_tslib-531dfe1b-
|
|
1
|
+
import e from"react";import t from"classnames";import{Swiper as o,SwiperSlide as i}from"swiper/react";import"../../_tslib-531dfe1b-2283800e.js";import{ImageSizes as r}from"../../image/typings.js";import"../../image/constants.js";import{ImageBase as n}from"../../image/image-base.js";import"swiper/swiper.min.css";import"../../use-image-render-component-ca789f11.js";import"../../spinner/component.js";import"../../typography/component.js";import"../../typography/title/index.js";import"../../tslib.es6-e7101b9a.js";import"../../typography/title/component.js";import"../../colors.module-7a4e1a90.js";import"../../common.module-154dcf4f.js";import"../../typography/text/component.js";import"../../typography/title-responsive/component.js";import"../../image/utils.js";var m={container:"index-module_container__Mgsi8",content:"index-module_content__kPkqx",full:"index-module_full__0jSVz",vertical:"index-module_vertical__dSwj7",horizontal:"index-module_horizontal__vc5Qw"},s=function(s){var a=s.images,p=void 0===a?[]:a,c=s.orientation,l=void 0===c?"horizontal":c,d=s.view,u=void 0===d?"default":d;return e.createElement("div",{className:t([m[l],m.container])},e.createElement("div",{className:t([m.content,m[u]])},p.length>1?e.createElement(o,{spaceBetween:0,slidesPerView:1},p.map((function(t){return e.createElement(i,{key:t},e.createElement(n,{src:t,resolution:r.m}))}))):e.createElement(n,{src:p[0],resolution:r.m})))};export{s as CardImages};
|
package/dist/card/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{Card}from"./component.js";import"react";import"classnames";import"../typography/component.js";import"../typography/title/index.js";import"../tslib.es6-
|
|
1
|
+
export{Card}from"./component.js";import"react";import"classnames";import"../typography/component.js";import"../typography/title/index.js";import"../tslib.es6-e7101b9a.js";import"../typography/title/component.js";import"../colors.module-7a4e1a90.js";import"../common.module-154dcf4f.js";import"../typography/text/component.js";import"../typography/title-responsive/component.js";import"./images/index.js";import"swiper/react";import"../_tslib-531dfe1b-2283800e.js";import"../image/typings.js";import"../image/constants.js";import"../image/image-base.js";import"../use-image-render-component-ca789f11.js";import"../spinner/component.js";import"../image/utils.js";import"swiper/swiper.min.css";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"react";import"classnames";import"../../__internal/utils/getDataTestId.js";import"../../hooks/useFocus/index.js";import"../../typography/component.js";export{B as Base}from"../../component-
|
|
1
|
+
import"react";import"classnames";import"../../__internal/utils/getDataTestId.js";import"../../hooks/useFocus/index.js";import"../../typography/component.js";export{B as Base}from"../../component-98daca59.js";import"../../typography/title/index.js";import"../../tslib.es6-e7101b9a.js";import"../../typography/title/component.js";import"../../colors.module-7a4e1a90.js";import"../../common.module-154dcf4f.js";import"../../typography/text/component.js";import"../../typography/title-responsive/component.js";import"../pure/component.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "../../component-
|
|
1
|
+
export * from "../../component-98daca59";
|
package/dist/cell/base/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{B as Base}from"../../component-
|
|
1
|
+
export{B as Base}from"../../component-98daca59.js";import"react";import"classnames";import"../../__internal/utils/getDataTestId.js";import"../../hooks/useFocus/index.js";import"../../typography/component.js";import"../../typography/title/index.js";import"../../tslib.es6-e7101b9a.js";import"../../typography/title/component.js";import"../../colors.module-7a4e1a90.js";import"../../common.module-154dcf4f.js";import"../../typography/text/component.js";import"../../typography/title-responsive/component.js";import"../pure/component.js";
|
package/dist/cell/component.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{C as Cell}from"../component-
|
|
1
|
+
export{C as Cell}from"../component-98daca59.js";import"./pure/component.js";import"react";import"classnames";import"../__internal/utils/getDataTestId.js";import"../hooks/useFocus/index.js";import"../typography/component.js";import"../typography/title/index.js";import"../tslib.es6-e7101b9a.js";import"../typography/title/component.js";import"../colors.module-7a4e1a90.js";import"../common.module-154dcf4f.js";import"../typography/text/component.js";import"../typography/title-responsive/component.js";
|
package/dist/cell/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{C as Cell}from"../component-
|
|
1
|
+
export{C as Cell}from"../component-98daca59.js";import"react";import"classnames";import"../__internal/utils/getDataTestId.js";import"../hooks/useFocus/index.js";import"../typography/component.js";import"../typography/title/index.js";import"../tslib.es6-e7101b9a.js";import"../typography/title/component.js";import"../colors.module-7a4e1a90.js";import"../common.module-154dcf4f.js";import"../typography/text/component.js";import"../typography/title-responsive/component.js";import"./pure/component.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as e,a as r}from"../../tslib.es6-
|
|
1
|
+
import{_ as e,a as r}from"../../tslib.es6-e7101b9a.js";import d,{forwardRef as o}from"react";import l from"classnames";import{getDataTestId as a}from"../../__internal/utils/getDataTestId.js";var i={component:"index-module_component__iR2UT",s:"index-module_s__GdoGW",m:"index-module_m__JynKE",l:"index-module_l__cl-vr",horizontal:"index-module_horizontal__4AlHR",normalOrder:"index-module_normalOrder__DKaDw",reverseOrder:"index-module_reverseOrder__1O-1g",vertical:"index-module_vertical__qSAhd",addon:"index-module_addon__BlWHe",child:"index-module_child__LJU5r"},n=o((function(o,n){var t,m=o.slot,s=o.size,_=void 0===s?"m":s,c=o.order,v=void 0===c?"normal":c,u=o.direction,x=void 0===u?"horizontal":u,h=o.children,p=o.className,O=o.dataTestId,f=e(o,["slot","size","order","direction","children","className","dataTestId"]),z=((t={})[i.normalOrder]="normal"===v&&m,t[i.reverseOrder]="reverse"===v&&m,t[i[x]]=!0,t);return d.createElement("div",r({ref:n,className:l(i.component,i[_],r({},z),p),"data-test-id":a("cell-pure",O,!0)},f),m&&d.createElement("div",{className:l(i.addon,r({},z))},m),d.createElement("div",{className:l(i.child,r({},z))},h))}));export{n as Pure};
|
package/dist/cell/pure/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{Pure}from"./component.js";import"../../tslib.es6-
|
|
1
|
+
export{Pure}from"./component.js";import"../../tslib.es6-e7101b9a.js";import"react";import"classnames";import"../../__internal/utils/getDataTestId.js";
|