@alphakits/ui 1.27.24 → 1.27.25
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-f1ec6baf.js +1 -0
- package/dist/CheckmarkCircleM-9fee95d7.js +1 -0
- package/dist/ChevronBackM-b680a2bf.js +1 -0
- package/dist/ChevronDownS-1d0cd0b8.js +1 -0
- package/dist/ChevronForwardS-fbada9a5.js +1 -0
- package/dist/ClockCircleM-5a65944a.js +1 -0
- package/dist/CloseS-e3bf07e5.js +1 -0
- package/dist/NextS-f557c3aa.js +1 -0
- package/dist/PlusS-fe985248.js +1 -0
- package/dist/SearchM-bf3ee83e.js +1 -0
- package/dist/TrashM-0c9bc3f1.js +1 -0
- 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-384f979c.js +1 -0
- 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.d.ts +1 -1
- package/dist/cell/index.js +1 -1
- package/dist/cell/pure/component.js +1 -1
- package/dist/cell/pure/index.d.ts +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-2ec0ce7d.d.ts +7 -0
- package/dist/{image/typings.d.ts → component-51c8ea13.d.ts} +3 -1
- package/dist/component-55e0096f.js +1 -0
- package/dist/component-d41e8fc0.d.ts +27 -0
- package/dist/component-d41e8fc0.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/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.d.ts +0 -5
- package/dist/image/component.js +1 -1
- package/dist/image/constants.d.ts +0 -14
- package/dist/image/constants.js +1 -1
- package/dist/image/image-base.d.ts +1 -1
- package/dist/image/image-base.js +1 -1
- package/dist/image/index.d.ts +1 -4
- package/dist/image/index.js +1 -1
- package/dist/image/use-image-render-component.js +1 -1
- package/dist/image/utils.d.ts +0 -4
- 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-b35b05b0.js → index-1b2b7d3c.js} +1 -1
- package/dist/index-26e7253e.js +1 -0
- package/dist/{index-3714576c.js → index-2a108426.js} +1 -1
- package/dist/index-3910a960.js +1 -0
- package/dist/{index-0853e7f9.js → index-520e77a1.js} +1 -1
- package/dist/{index-fbcb559d.js → index-5755b61f.js} +1 -1
- package/dist/{index-f54a0baf.js → index-75e350b3.js} +1 -1
- package/dist/{index-8679ba42.js → index-8539f504.js} +1 -1
- package/dist/index-91292492.js +1 -0
- package/dist/{index-2b7a5be4.js → index-ac8f923e.js} +1 -1
- package/dist/{index-ecb471e8.js → index-b9ed46c7.js} +1 -1
- package/dist/index-bbf57729.js +1 -0
- package/dist/index-f8a1eba5.js +1 -0
- package/dist/index.css +1 -1
- package/dist/index.ts +0 -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-98e66ec4.js → isSymbol-b88a0de4.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-07e62304.js → parse-query-params-6e3e63f6.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.d.ts +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.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/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 +3 -9
- package/dist/ActionCopyM-fe800fa7.js +0 -1
- package/dist/AlertCircleM-5ede7771.js +0 -1
- package/dist/ChevronBackM-d6a7e8b0.js +0 -1
- package/dist/ChevronDownS-bfce4c57.js +0 -1
- package/dist/ChevronForwardS-95664955.js +0 -1
- package/dist/ClockCircleM-757b3d11.js +0 -1
- package/dist/CloseS-1eb38f08.js +0 -1
- package/dist/NextS-38246bf1.js +0 -1
- package/dist/PlusS-cdb6f341.js +0 -1
- package/dist/SearchM-56395caa.js +0 -1
- package/dist/TrashM-a06d6316.js +0 -1
- package/dist/_tslib-531dfe1b-c8741cf9.js +0 -1
- package/dist/capitalize-520b4392.js +0 -1
- package/dist/cell/base/index.d.ts +0 -1
- package/dist/cell/base/index.js +0 -1
- package/dist/component-baaffec8.js +0 -1
- package/dist/component-e71445f5.d.ts +0 -7
- package/dist/heading/component.d.ts +0 -15
- package/dist/heading/component.js +0 -1
- package/dist/heading/index.d.ts +0 -1
- package/dist/heading/index.js +0 -1
- package/dist/image/typings.js +0 -1
- package/dist/index-2296d372.js +0 -1
- package/dist/index-26b2ee13.js +0 -1
- package/dist/index-54c04356.js +0 -1
- package/dist/index-578374d0.js +0 -1
- package/dist/index-8106ec64.js +0 -1
- package/dist/use-image-render-component-2414d016.d.ts +0 -13
- package/dist/use-image-render-component-2414d016.js +0 -1
- /package/dist/{_commonjsHelpers-3bd62cc9.js → _commonjsHelpers-cbd5d6a0.js} +0 -0
- /package/dist/{colors.module-d3621fdd.js → colors.module-2decc275.js} +0 -0
- /package/dist/{common.module-ea9feefe.js → common.module-338f6899.js} +0 -0
- /package/dist/{component-33cfecbd.js → component-2ec0ce7d.js} +0 -0
- /package/dist/{component-baaffec8.d.ts → component-55e0096f.d.ts} +0 -0
- /package/dist/{component-33cfecbd.d.ts → component-7fdb3434.d.ts} +0 -0
- /package/dist/{contact-block-c32da14b.d.ts → contact-block-b175ecda.d.ts} +0 -0
- /package/dist/{contact-block-c32da14b.js → contact-block-b175ecda.js} +0 -0
- /package/dist/{gutters.module-8c891bb1.js → gutters.module-8921e4e8.js} +0 -0
- /package/dist/{index-2961eae2.js → index-2ef8f7b7.js} +0 -0
- /package/dist/{index-2b7a5be4.d.ts → index-ac8f923e.d.ts} +0 -0
- /package/dist/{index-73e17899.js → index-d2ad1ddb.js} +0 -0
- /package/dist/{intersection-observer-1a416908.js → intersection-observer-6b2fdc2d.js} +0 -0
- /package/dist/{parse-query-params-07e62304.d.ts → parse-query-params-6e3e63f6.d.ts} +0 -0
- /package/dist/{slide-2b312918.d.ts → slide-cf5f5962.d.ts} +0 -0
- /package/dist/{slide-2b312918.js → slide-cf5f5962.js} +0 -0
- /package/dist/{step-bar-ad5c92b8.d.ts → step-bar-82f811db.d.ts} +0 -0
- /package/dist/{step-bar-ad5c92b8.js → step-bar-82f811db.js} +0 -0
- /package/dist/{tslib.es6-e289151c.js → tslib.es6-e42882d6.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
export{withSuffix}from"./component.js";import"../tslib.es6-
|
|
1
|
+
export{withSuffix}from"./component.js";import"../tslib.es6-e42882d6.js";import"react";import"react-merge-refs";import"classnames";import"../portal/component.js";import"react-dom";import"../portal/utils.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alphakits/ui",
|
|
3
|
-
"version": "1.27.
|
|
3
|
+
"version": "1.27.25",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist"
|
|
6
6
|
],
|
|
@@ -31,10 +31,8 @@
|
|
|
31
31
|
"not op_mini all"
|
|
32
32
|
],
|
|
33
33
|
"dependencies": {
|
|
34
|
+
"@alphakits/icons": "^1.18.0",
|
|
34
35
|
"@popperjs/core": "^2.3.3",
|
|
35
|
-
"@types/lodash": "^4.14.173",
|
|
36
|
-
"alpha-cli-icons": "2.0.37",
|
|
37
|
-
"autosize": "4.0.2",
|
|
38
36
|
"axios": "^0.21.4",
|
|
39
37
|
"classnames": "^2.2.6",
|
|
40
38
|
"date-fns": "^2.19.0",
|
|
@@ -49,14 +47,11 @@
|
|
|
49
47
|
"query-string": "^7.0.1",
|
|
50
48
|
"react": "17.0.2",
|
|
51
49
|
"react-avatar-editor": "^13.0.0",
|
|
52
|
-
"react-dropzone": "^14.2.3",
|
|
53
50
|
"react-merge-refs": "1.1.0",
|
|
54
51
|
"react-node-resolver": "^2.0.1",
|
|
55
52
|
"react-popper": "^2.2.2",
|
|
56
53
|
"react-swipeable": "^6.1.0",
|
|
57
54
|
"react-swipeable-bottom-sheet": "^1.1.2",
|
|
58
|
-
"react-table": "^7.7.0",
|
|
59
|
-
"react-telephone-input": "^5.0.0",
|
|
60
55
|
"react-text-mask": "^5.4.3",
|
|
61
56
|
"react-textarea-autosize": "^8.3.2",
|
|
62
57
|
"react-transition-group": "^4.4.1",
|
|
@@ -67,11 +62,11 @@
|
|
|
67
62
|
"sass": "^1.71.1",
|
|
68
63
|
"swiper": "^6.8.4",
|
|
69
64
|
"text-mask-core": "^5.1.2",
|
|
70
|
-
"ts-keycode-enum": "1.0.6",
|
|
71
65
|
"tslib": "^2.4.1",
|
|
72
66
|
"uuid": "8.3.2"
|
|
73
67
|
},
|
|
74
68
|
"devDependencies": {
|
|
69
|
+
"@types/lodash": "^4.14.173",
|
|
75
70
|
"@babel/preset-env": "^7.14.0",
|
|
76
71
|
"@babel/preset-typescript": "7.8.3",
|
|
77
72
|
"@commitlint/cli": "8.3.5",
|
|
@@ -105,7 +100,6 @@
|
|
|
105
100
|
"@types/react": "16.9.23",
|
|
106
101
|
"@types/react-dom": "16.9.5",
|
|
107
102
|
"@types/react-node-resolver": "^2.0.0",
|
|
108
|
-
"@types/react-table": "^7.7.6",
|
|
109
103
|
"@types/react-transition-group": "^4.4.1",
|
|
110
104
|
"@types/react-window": "1.8.2",
|
|
111
105
|
"@types/uuid": "8.3.0",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as e}from"./_tslib-531dfe1b-c8741cf9.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 +0,0 @@
|
|
|
1
|
-
import{_ as e}from"./_tslib-531dfe1b-c8741cf9.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",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.005 22c5.523 0 10-4.477 10-10s-4.477-10-10-10-10 4.477-10 10 4.477 10 10 10zm-1-9V7h2v6h-2zm0 4v-2h2v2h-2z",fill:"currentColor"}))};export{r as A};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as e}from"./_tslib-531dfe1b-c8741cf9.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 +0,0 @@
|
|
|
1
|
-
import{_ as e}from"./_tslib-531dfe1b-c8741cf9.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 +0,0 @@
|
|
|
1
|
-
import{_ as e}from"./_tslib-531dfe1b-c8741cf9.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 +0,0 @@
|
|
|
1
|
-
import{_ as e}from"./_tslib-531dfe1b-c8741cf9.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:"M12.005 22c5.523 0 10-4.477 10-10s-4.477-10-10-10-10 4.477-10 10 4.477 10 10 10zm-1-15v5a3 3 0 001.2 2.4l2.6 1.7 1.2-1.6-2.6-1.7a1 1 0 01-.4-.8V7h-2z",fill:"currentColor"}))};export{l as C};
|
package/dist/CloseS-1eb38f08.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as e}from"./_tslib-531dfe1b-c8741cf9.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};
|
package/dist/NextS-38246bf1.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as e}from"./_tslib-531dfe1b-c8741cf9.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};
|
package/dist/PlusS-cdb6f341.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as e}from"./_tslib-531dfe1b-c8741cf9.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};
|
package/dist/SearchM-56395caa.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as e}from"./_tslib-531dfe1b-c8741cf9.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};
|
package/dist/TrashM-a06d6316.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as e}from"./_tslib-531dfe1b-c8741cf9.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};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var r=function(){return r=Object.assign||function(r){for(var t,e=1,n=arguments.length;e<n;e++)for(var o in t=arguments[e])Object.prototype.hasOwnProperty.call(t,o)&&(r[o]=t[o]);return r},r.apply(this,arguments)};"function"==typeof SuppressedError&&SuppressedError;export{r as _};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as r,i as u}from"./isSymbol-98e66ec4.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 i=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 i=e+"";return"0"==i&&1/e==-t?"-0":i};var a=function(r){return null==r?"":i(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 c=function(r,u,f){var n=r.length;return f=void 0===f?n:f,!u&&f>=n?r:d(r,u,f)},v=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");var l=function(r){return v.test(r)};var s=function(r){return r.split("")},p="\\ud800-\\udfff",g="["+p+"]",y="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",h="\\ud83c[\\udffb-\\udfff]",A="[^"+p+"]",j="(?:\\ud83c[\\udde6-\\uddff]){2}",m="[\\ud800-\\udbff][\\udc00-\\udfff]",b="(?:"+y+"|"+h+")"+"?",x="[\\ufe0e\\ufe0f]?",C=x+b+("(?:\\u200d(?:"+[A,j,m].join("|")+")"+x+b+")*"),E="(?:"+[A+y+"?",y,j,m,g].join("|")+")",R=RegExp(h+"(?="+h+")|"+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=a(u);var f=l(u)?w(u):void 0,n=f?f[0]:u.charAt(0),t=f?c(f,1).join(""):u.slice(1);return n[r]()+t}}("toUpperCase");var U=function(r){return L(a(r).toLowerCase())};export{U as c};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "../../component-33cfecbd";
|
package/dist/cell/base/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{B as Base}from"../../component-33cfecbd.js";import"react";import"classnames";import"../../__internal/utils/getDataTestId.js";import"../../hooks/useFocus/index.js";import"../../typography/component.js";import"../../typography/text/component.js";import"../../colors.module-d3621fdd.js";import"../../typography/title/index.js";import"../../tslib.es6-e289151c.js";import"../../typography/title/component.js";import"../../common.module-ea9feefe.js";import"../../typography/title-responsive/component.js";import"../pure/component.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{TableCell as e}from"./table/components/cell/component.js";import t,{useCallback as l,useEffect as o,useMemo as r}from"react";import n from"classnames";import{Cells as a}from"./table/components/cells/index.js";import{EmptyList as i}from"./table/components/empty-list/index.js";import{Error as c}from"./table/components/error/index.js";import{Loading as s}from"./table/components/loading/index.js";import{Pagination as m}from"./table/components/pagination/index.js";import{TableHeader as d}from"./table/components/table-header/index.js";import{useTableData as u}from"./table/hooks/use-table-data.js";import{addQueryParam as p}from"./table/utils/add-query-param.js";import{getTags as f}from"./table/utils/get-tags.js";import{P as g}from"./use-image-render-component-2414d016.js";import{Image as v}from"./image/component.js";import"./image/typings.js";import"./image/constants.js";import"./cell/pure/component.js";import{removeQueryParam as b}from"./table/utils/remove-query-param.js";import{resetQueryParam as h}from"./table/utils/reset-query-param.js";function w(e,t,l){return e?"string"==typeof e?t[e]:"function"==typeof e?e({row:t,refetch:l}):null:null}function j(e,t,l){return e?"string"==typeof e?t[e]:"function"==typeof e?e({row:t,refetch:l}):null:null}function C(e){var l=e.columns,o=e.data,r=e.refetch,n=o.map((function(e){return{row:e,cells:l.map((function(l){var o,n,a,i,c,s,m,d,u,p,f=j((null===(o=l.row)||void 0===o?void 0:o.title)||l.accessor,e,r);if(null===(n=l.row)||void 0===n?void 0:n.image){var b=w(null===(a=l.row)||void 0===a?void 0:a.image,e,r);p=b?t.createElement(v,{bgColor:"secondary",src:b,text:null==f?void 0:f.toString(),view:"ellipse"}):t.createElement(v,{bgColor:"secondary",icon:t.createElement(g,null),text:null==f?void 0:f.toString(),view:"ellipse"})}else if(null===(i=l.row)||void 0===i?void 0:i.icon){var h=w(null===(c=l.row)||void 0===c?void 0:c.icon,e,r);p=t.createElement(v,{icon:h||t.createElement(g,null),text:null==f?void 0:f.toString(),view:"ellipse"})}else(null===(s=l.row)||void 0===s?void 0:s.customAddon)&&(p=w(null===(m=l.row)||void 0===m?void 0:m.customAddon,e,r));return t.createElement(_.Cell,{title:f,align:l.align,subtitle:(null===(d=l.row)||void 0===d?void 0:d.subtitle)&&j(null===(u=l.row)||void 0===u?void 0:u.subtitle,e,r),addon:p})}))}}));return n}var E={table_wrapper:"index-module_table_wrapper__SeB5n",table:"index-module_table__9sbda",fill:"index-module_fill__Q-icF",clickable:"index-module_clickable__k4S8g"};function x(e){var g=e.columns,v=e.searchPlaceholder,w=void 0===v?"Поиск по таблице":v,j=e.records,x=e.hideSearch,_=e.rightHeaderAddons,y=e.leftHeaderAddons,k=e.filtersButtonLabel,P=e.createButtonLabel,B=e.loading,S=e.height,A=void 0===S?"fill":S,L=e.tagsBuilder,F=e.promise,H=e.onRowClick,T=e.onCreateClick,q=e.onFiltersClick,N=e.refetch,D=e.language,Q=u({promise:F,records:j}),R=Q.loading,V=Q.error,z=Q.data,G=Q.total,I=Q.params,J=Q.pagesCount,K=Q.updateData,M=T?function(){return T(K)}:void 0,O=l((function(e){h(e),K()}),[]);o((function(){K()}),[]);var U=function(){return q?q({submitCallback:function(e){return O(e)},initialValues:I}):null},W=function(e){p(e),K()},X=f({params:(null==I?void 0:I.where)||{},onDelete:function(e,t){b(e,t),K()},tagsBuilder:L,onClick:U}),Y=r((function(){return C({columns:g,data:z,refetch:N||K})}),[z,g]),Z=R||B;return t.createElement("div",{className:n(E.table_wrapper,E[A])},(!x||_||y||T||q)&&t.createElement(d,{language:D,hideSearch:x,rightHeaderAddons:_,leftHeaderAddons:y,searchText:(null==I?void 0:I.searchText)||"",addParam:W,searchPlaceholder:w,filtersButtonLabel:k,tags:X,onCreateClick:M,createButtonLabel:P,onFiltersClick:U,showFiltersButton:!!q}),t.createElement("div",{className:E.table},t.createElement("table",{cellSpacing:"0",cellPadding:"0"},t.createElement(a,{sort:null==I?void 0:I.sort,order:null==I?void 0:I.order,addParam:W,columns:g}),t.createElement("tbody",null,V&&t.createElement(c,{language:D}),!Y.length&&!Z&&!V&&t.createElement(i,{language:D}),Z&&t.createElement(s,{columnsLength:g.length}),Y.map((function(e){var l,o=e.row,r=e.cells;return t.createElement("tr",{onClick:function(){return e=o,null==H?void 0:H(e,K);var e},className:n((l={},l[E.clickable]=!!H,l)),style:{visibility:Z?"collapse":"visible"}},r.map((function(e){return e})))}))))),!!F&&t.createElement(m,{language:D,currentPage:I?+I.page:1,recordsPerPage:I?+I.limit:10,pagesCount:+J,addParam:W,total:+G}))}var _={Cell:e,TableComponent:x};export{_ as T,x as a,C as p};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { AnchorHTMLAttributes } from "react";
|
|
4
|
-
type HeadingProps = {
|
|
5
|
-
addons?: React.ReactNode;
|
|
6
|
-
addonsDirection?: 'left' | 'right';
|
|
7
|
-
href?: AnchorHTMLAttributes<HTMLAnchorElement>['href'];
|
|
8
|
-
target?: AnchorHTMLAttributes<HTMLAnchorElement>['target'];
|
|
9
|
-
className?: string;
|
|
10
|
-
dataTestId?: string;
|
|
11
|
-
children?: React.ReactNode;
|
|
12
|
-
onClick?: () => void;
|
|
13
|
-
};
|
|
14
|
-
declare const Heading: React.FC<HeadingProps>;
|
|
15
|
-
export { HeadingProps, Heading };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as e}from"../tslib.es6-e289151c.js";import t from"classnames";import{Key as a}from"ts-keycode-enum";import n,{useRef as r}from"react";var d="index-module_component__2Ni5F",o="index-module_link__wFG7m",i="index-module_addon__AOlk3",l="index-module_directionRight__mFhcN",m="index-module_focused__xFRlG",s=function(s){var c,_=s.addons,u=s.addonsDirection,f=void 0===u?"left":u,x=s.href,N=s.className,h=s.dataTestId,k=s.children,p=s.target,v=s.onClick,g=r(null),E=n.createElement(n.Fragment,null,_&&n.createElement("div",{className:i,"data-test-id":h},_),k),F=t(d,((c={})[l]="right"===f,c[m]=!1,c),N);if(x)return n.createElement("a",{ref:g,href:x,className:t(o,F),target:p,"data-test-id":h},E);var b={};return v&&(b.className=t(o,F),b.role="button",b.tabIndex=0,b.onClick=v,b.onKeyDown=function(e){e.keyCode===a.Enter&&v()}),n.createElement("div",e({ref:g,className:F,"data-test-id":h},b),E)};export{s as Heading};
|
package/dist/heading/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./component";
|
package/dist/heading/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{Heading}from"./component.js";import"../tslib.es6-e289151c.js";import"classnames";import"ts-keycode-enum";import"react";
|
package/dist/image/typings.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var x;!function(x){x.xs="_100x100",x.s="_200x200",x.m="_640x430",x.l="_1200x800",x.xl="_2400x1600"}(x||(x={}));export{x as ImageSizes};
|
package/dist/index-2296d372.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r,t as e}from"./index-73e17899.js";function t(t,a){r(2,arguments);var n=e(t),o=e(a);return n.getFullYear()===o.getFullYear()}function a(e){return r(1,arguments),t(e,Date.now())}export{a,t as i};
|
package/dist/index-26b2ee13.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,t}from"./index-73e17899.js";function r(r,n){e(2,arguments);var i=t(r),a=t(n);return i.getTime()===a.getTime()}function n(r){e(1,arguments);var n=t(r);return function(r){e(1,arguments);var n=t(r);return n.setHours(23,59,59,999),n}(n).getTime()===function(r){e(1,arguments);var n=t(r),i=n.getMonth();return n.setFullYear(n.getFullYear(),i+1,0),n.setHours(23,59,59,999),n}(n).getTime()}function i(r,n){e(2,arguments);var i=t(r).getTime(),a=t(n.start).getTime(),u=t(n.end).getTime();if(!(a<=u))throw new RangeError("Invalid interval");return i>=a&&i<=u}export{n as a,i as b,r as i};
|
package/dist/index-54c04356.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as r}from"./index-ecb471e8.js";import{b as a}from"./index-f54a0baf.js";import{r as e}from"./index-73e17899.js";function n(n,o){e(2,arguments);var s=r(o);return a(n,12*s)}function o(a,o){return e(2,arguments),n(a,-r(o))}export{n as a,o as s};
|
package/dist/index-578374d0.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as r}from"./index-f54a0baf.js";import{r as o}from"./index-73e17899.js";function a(a){return o(1,arguments),r(a,Date.now())}export{a as i};
|
package/dist/index-8106ec64.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{i as r}from"./index-3714576c.js";import{r as i}from"./index-73e17899.js";function o(o){return i(1,arguments),r(Date.now(),o)}export{o as i};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { ComponentSizes, ImageSizes } from "./image/index";
|
|
4
|
-
type UseImageRenderComponent = {
|
|
5
|
-
src?: string;
|
|
6
|
-
resolution?: ImageSizes;
|
|
7
|
-
size: ComponentSizes;
|
|
8
|
-
alt?: string;
|
|
9
|
-
text?: string;
|
|
10
|
-
icon?: React.ReactNode;
|
|
11
|
-
};
|
|
12
|
-
declare const useImageRenderComponent: ({ src, resolution, size, alt, text, icon, }: UseImageRenderComponent) => {};
|
|
13
|
-
export { UseImageRenderComponent, useImageRenderComponent };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e,{useRef as t,useMemo as n,useEffect as o}from"react";import{_ as r}from"./_tslib-531dfe1b-c8741cf9.js";import i from"classnames";import{Spinner as l}from"./spinner/component.js";import{Typography as d}from"./typography/component.js";import"./image/typings.js";import{sizes as _,textSizes as m}from"./image/constants.js";import{getSrc as a,getCharsFromText as c}from"./image/utils.js";var s=function(t){return e.createElement("svg",r({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24"},t),e.createElement("path",{d:"M0 0h25v24H0z"}),e.createElement("path",{d:"M7.005 2a5 5 0 00-5 5v7.117l6.213-6.079 6.26 6.126 3.124-3.047 4.403 4.296V7a5 5 0 00-5-5h-10z",fill:"currentColor"}),e.createElement("path",{d:"M21.777 18.495l-4.175-4.074-1.432 1.397 4.586 4.488c.458-.52.81-1.134 1.021-1.81zM18.776 21.677L8.218 11.347 2.02 17.409A5 5 0 007.005 22h10a4.99 4.99 0 001.771-.323z",fill:"currentColor"}))},x=function(t){return e.createElement("svg",r({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},t),e.createElement("path",{d:"M0 0h17v17H0z"}),e.createElement("path",{d:"M4.678 1.34a3.333 3.333 0 00-3.333 3.333v4.745l4.142-4.053L9.66 9.45l2.082-2.032 2.935 2.864V4.673a3.333 3.333 0 00-3.333-3.333H4.678z",fill:"currentColor"}),e.createElement("path",{d:"M14.527 12.337L11.742 9.62l-.955.931 3.057 2.992a3.33 3.33 0 00.681-1.207zM12.525 14.458L5.487 7.571l-4.131 4.042a3.334 3.334 0 003.322 3.06h6.667c.415 0 .813-.076 1.18-.215z",fill:"currentColor"}))},u={container:"index-module_container__bgmJ2",component:"index-module_component__Jf39Y",addon:"index-module_addon__fLNNt",default:"index-module_default__7yCk8",primary:"index-module_primary__NmfOf","primary-inverted":"index-module_primary-inverted__LgfAy",secondary:"index-module_secondary__mFC44","secondary-inverted":"index-module_secondary-inverted__A3WWS",positive:"index-module_positive__KObTG",negative:"index-module_negative__JSntK",attention:"index-module_attention__xn0w7",accent:"index-module_accent__OKgO0",broken:"index-module_broken__U-IUD",image:"index-module_image__m6QQ3",hint:"index-module_hint__U93qq",hint_text:"index-module_hint_text__iACDk",textContent:"index-module_textContent__zwpfH",xs:"index-module_xs__WMoNb",s:"index-module_s__Hg5M9",m:"index-module_m__C8KqW",l:"index-module_l__bAVTF",xl:"index-module_xl__4V4rQ",xxl:"index-module_xxl__CbPtC",circle:"index-module_circle__a7zSR",ellipse:"index-module_ellipse__omc91",defs:"index-module_defs__-U1g-",textS:"index-module_textS__rn-Mq",textXs:"index-module_textXs__qpkPR",textM:"index-module_textM__mXb7s",textL:"index-module_textL__jV-69"},p=function(r){var p=r.src,f=void 0===p?"":p,g=r.resolution,h=r.size,v=r.alt,w=r.text,y=r.icon,C=e.useState("loading"),E=C[0],b=C[1],M=t(0),z=g||_[h],L=n((function(){return a(f,z)}),[z,f]);return o((function(){if(L){M.current=Date.now(),b("loading");var e=new Image;e.src=L,e.onload=function(){b("loaded")},e.onerror=function(){Date.now()-M.current<15e3?setTimeout((function(){e.src=L}),1e3):b("error")}}else b("error")}),[L]),y||("loading"===E?e.createElement(l,{className:u.spinner,size:"s",view:"dark"}):"error"===E&&w?e.createElement(d.Text,{className:i(u.textContent,u[m[h]]),view:"component",color:"tertiary",weight:"bold"},c(w.toUpperCase())):"error"===E?e.createElement(d.Text,{className:u.broken,tag:"div",color:"tertiary",view:"component",weight:"bold"},"xs"===h?e.createElement(x,null):e.createElement(s,null)):e.createElement("img",{className:u.image,src:f,alt:v}))};export{s as P,u as s,p as u};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|