@alphakits/ui 1.27.23 → 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.
Files changed (331) hide show
  1. package/dist/ActionCopyM-f1ec6baf.js +1 -0
  2. package/dist/CheckmarkCircleM-9fee95d7.js +1 -0
  3. package/dist/ChevronBackM-b680a2bf.js +1 -0
  4. package/dist/ChevronDownS-1d0cd0b8.js +1 -0
  5. package/dist/ChevronForwardS-fbada9a5.js +1 -0
  6. package/dist/ClockCircleM-5a65944a.js +1 -0
  7. package/dist/CloseS-e3bf07e5.js +1 -0
  8. package/dist/NextS-f557c3aa.js +1 -0
  9. package/dist/PlusS-fe985248.js +1 -0
  10. package/dist/SearchM-bf3ee83e.js +1 -0
  11. package/dist/TrashM-0c9bc3f1.js +1 -0
  12. package/dist/amount/component.js +1 -1
  13. package/dist/amount/index.js +1 -1
  14. package/dist/amount-input/component.js +1 -1
  15. package/dist/amount-input/index.js +1 -1
  16. package/dist/avatar/component.js +1 -1
  17. package/dist/avatar/index.js +1 -1
  18. package/dist/base-card/component.js +1 -1
  19. package/dist/base-card/index.js +1 -1
  20. package/dist/bottom-sheet/component.js +1 -1
  21. package/dist/bottom-sheet/index.js +1 -1
  22. package/dist/button/component.js +1 -1
  23. package/dist/button/index.js +1 -1
  24. package/dist/calendar/component.js +1 -1
  25. package/dist/calendar/components/days-table/component.js +1 -1
  26. package/dist/calendar/components/days-table/index.js +1 -1
  27. package/dist/calendar/components/header/index.js +1 -1
  28. package/dist/calendar/components/header//321/201omponent.js +1 -1
  29. package/dist/calendar/components/months-table/index.js +1 -1
  30. package/dist/calendar/components/months-table//321/201omponent.js +1 -1
  31. package/dist/calendar/components/select-button/index.js +1 -1
  32. package/dist/calendar/components/select-button//321/201omponent.js +1 -1
  33. package/dist/calendar/components/years-table/index.js +1 -1
  34. package/dist/calendar/components/years-table//321/201omponent.js +1 -1
  35. package/dist/calendar/index.js +1 -1
  36. package/dist/calendar/use-calendar.js +1 -1
  37. package/dist/calendar/use-period.js +1 -1
  38. package/dist/calendar/utils.js +1 -1
  39. package/dist/calendar-input/component.js +1 -1
  40. package/dist/calendar-input/index.js +1 -1
  41. package/dist/calendar-input/utils.js +1 -1
  42. package/dist/{capitalize-30da24f6.js → capitalize-384f979c.js} +1 -1
  43. package/dist/card/component.js +1 -1
  44. package/dist/card/images/index.js +1 -1
  45. package/dist/card/index.js +1 -1
  46. package/dist/cell/base/component.js +1 -1
  47. package/dist/cell/component.js +1 -1
  48. package/dist/cell/index.d.ts +1 -1
  49. package/dist/cell/index.js +1 -1
  50. package/dist/cell/pure/component.js +1 -1
  51. package/dist/cell/pure/index.d.ts +1 -1
  52. package/dist/cell/pure/index.js +1 -1
  53. package/dist/checkbox/component.js +1 -1
  54. package/dist/checkbox/index.js +1 -1
  55. package/dist/checkbox-group/component.js +1 -1
  56. package/dist/checkbox-group/index.js +1 -1
  57. package/dist/checkbox-lists/component.js +1 -1
  58. package/dist/checkbox-lists/index.js +1 -1
  59. package/dist/collapsable-row/addons.js +1 -1
  60. package/dist/collapsable-row/component.js +1 -1
  61. package/dist/collapsable-row/index.js +1 -1
  62. package/dist/collapse/component.js +1 -1
  63. package/dist/collapse/index.js +1 -1
  64. package/dist/component-2ec0ce7d.d.ts +7 -0
  65. package/dist/{image/typings.d.ts → component-51c8ea13.d.ts} +3 -1
  66. package/dist/component-55e0096f.js +1 -0
  67. package/dist/component-d41e8fc0.d.ts +27 -0
  68. package/dist/component-d41e8fc0.js +1 -0
  69. package/dist/copy-button/component.js +1 -1
  70. package/dist/copy-button/index.js +1 -1
  71. package/dist/date/component.js +1 -1
  72. package/dist/date/index.js +1 -1
  73. package/dist/date-functions.js +1 -1
  74. package/dist/date-switcher/component.js +1 -1
  75. package/dist/date-switcher/index.js +1 -1
  76. package/dist/footer/component.js +1 -1
  77. package/dist/footer/contact-block.js +1 -1
  78. package/dist/footer/index.js +1 -1
  79. package/dist/form/component.js +1 -1
  80. package/dist/form/components/form-footer/index.js +1 -1
  81. package/dist/form/components/form-loading/index.js +1 -1
  82. package/dist/form/components/form-wrapper/index.js +1 -1
  83. package/dist/form/components/index.d.ts +1 -1
  84. package/dist/form/components/index.js +1 -1
  85. package/dist/form/index.js +1 -1
  86. package/dist/form/templates/base-form/index.js +1 -1
  87. package/dist/form/templates/filters-form/index.js +1 -1
  88. package/dist/form/templates/rest-form/form.js +1 -1
  89. package/dist/form/templates/rest-form/index.js +1 -1
  90. package/dist/form/utils/get-default-values.js +1 -1
  91. package/dist/form-control/component.js +1 -1
  92. package/dist/form-control/index.js +1 -1
  93. package/dist/grid/col/component.js +1 -1
  94. package/dist/grid/col/index.js +1 -1
  95. package/dist/grid/component.js +1 -1
  96. package/dist/grid/index.js +1 -1
  97. package/dist/grid/row/component.js +1 -1
  98. package/dist/grid/row/index.js +1 -1
  99. package/dist/header-search/component.js +1 -1
  100. package/dist/header-search/index.js +1 -1
  101. package/dist/hooks/index.js +1 -1
  102. package/dist/hooks/use-crud-form-requests/index.js +1 -1
  103. package/dist/hooks/use-get-one/index.js +1 -1
  104. package/dist/icon-button/component.js +1 -1
  105. package/dist/icon-button/index.js +1 -1
  106. package/dist/image/component.d.ts +0 -5
  107. package/dist/image/component.js +1 -1
  108. package/dist/image/constants.d.ts +0 -14
  109. package/dist/image/constants.js +1 -1
  110. package/dist/image/image-base.d.ts +1 -1
  111. package/dist/image/image-base.js +1 -1
  112. package/dist/image/index.d.ts +1 -4
  113. package/dist/image/index.js +1 -1
  114. package/dist/image/use-image-render-component.js +1 -1
  115. package/dist/image/utils.d.ts +0 -4
  116. package/dist/image/utils.js +1 -1
  117. package/dist/image-gallery/component.js +1 -1
  118. package/dist/image-gallery/components/header/index.js +1 -1
  119. package/dist/image-gallery/components/header-info-block/index.js +1 -1
  120. package/dist/image-gallery/components/image-viewer/index.js +1 -1
  121. package/dist/image-gallery/components/image-viewer/slide.js +1 -1
  122. package/dist/image-gallery/components/index.js +1 -1
  123. package/dist/image-gallery/index.js +1 -1
  124. package/dist/image-uploader/component.js +1 -1
  125. package/dist/image-uploader/index.js +1 -1
  126. package/dist/{index-b9b21a31.js → index-1b2b7d3c.js} +1 -1
  127. package/dist/index-26e7253e.js +1 -0
  128. package/dist/{index-0adcb370.js → index-2a108426.js} +1 -1
  129. package/dist/index-3910a960.js +1 -0
  130. package/dist/{index-74de9487.js → index-520e77a1.js} +1 -1
  131. package/dist/{index-9408012a.js → index-5755b61f.js} +1 -1
  132. package/dist/index-75e350b3.js +1 -0
  133. package/dist/{index-18c2f899.js → index-8539f504.js} +2 -2
  134. package/dist/{index-b800ddc9.js → index-91292492.js} +1 -1
  135. package/dist/{index-96095cf1.js → index-ac8f923e.js} +1 -1
  136. package/dist/{index-07b3763a.js → index-b9ed46c7.js} +1 -1
  137. package/dist/index-bbf57729.js +1 -0
  138. package/dist/{index-fb516a15.js → index-f8a1eba5.js} +1 -1
  139. package/dist/index.css +1 -1
  140. package/dist/index.ts +0 -1
  141. package/dist/info-block-header/component.js +1 -1
  142. package/dist/info-block-header/index.js +1 -1
  143. package/dist/info-block-item/component.js +1 -1
  144. package/dist/info-block-item/index.js +1 -1
  145. package/dist/input/component.js +1 -1
  146. package/dist/input/index.js +1 -1
  147. package/dist/input-autocomplete/autocomplete-field/index.js +1 -1
  148. package/dist/input-autocomplete/component.js +1 -1
  149. package/dist/input-autocomplete/index.js +1 -1
  150. package/dist/input-ghost/component.js +1 -1
  151. package/dist/input-ghost/index.js +1 -1
  152. package/dist/{isSymbol-50aee0c3.js → isSymbol-b88a0de4.js} +1 -1
  153. package/dist/link/component.js +1 -1
  154. package/dist/link/index.js +1 -1
  155. package/dist/list-allert/component.js +1 -1
  156. package/dist/list-allert/index.js +1 -1
  157. package/dist/masked-input/component.js +1 -1
  158. package/dist/masked-input/index.js +1 -1
  159. package/dist/menu/component.js +1 -1
  160. package/dist/menu/components/content-header/index.js +1 -1
  161. package/dist/menu/components/index.js +1 -1
  162. package/dist/menu/components/menu-avatar/index.js +1 -1
  163. package/dist/menu/components/menu-back-button/index.js +1 -1
  164. package/dist/menu/components/menu-button/index.js +1 -1
  165. package/dist/menu/components/menu-buttons-list/index.js +1 -1
  166. package/dist/menu/components/user-button/index.js +1 -1
  167. package/dist/menu/index.js +1 -1
  168. package/dist/message/component.js +1 -1
  169. package/dist/message/index.js +1 -1
  170. package/dist/modal/components/modals/index.js +1 -1
  171. package/dist/modal/components/modals/modal.js +1 -1
  172. package/dist/modal/context.js +1 -1
  173. package/dist/modal/hooks/use-modal.js +1 -1
  174. package/dist/modal/index.js +1 -1
  175. package/dist/modal/utils/delete-property-by-id.js +1 -1
  176. package/dist/not-found/component.js +1 -1
  177. package/dist/not-found/index.js +1 -1
  178. package/dist/notification/component.js +1 -1
  179. package/dist/notification/index.js +1 -1
  180. package/dist/{parse-query-params-ad4d04bb.js → parse-query-params-6e3e63f6.js} +1 -1
  181. package/dist/picker-button/common/index.js +1 -1
  182. package/dist/picker-button/common/labeled-button/index.js +1 -1
  183. package/dist/picker-button/component.js +1 -1
  184. package/dist/picker-button/field/Component.js +1 -1
  185. package/dist/picker-button/field/index.js +1 -1
  186. package/dist/picker-button/index.js +1 -1
  187. package/dist/popover/component.js +1 -1
  188. package/dist/popover/index.js +1 -1
  189. package/dist/progress-bar/component.js +1 -1
  190. package/dist/progress-bar/index.js +1 -1
  191. package/dist/progress-index/component.js +1 -1
  192. package/dist/progress-index/index.js +1 -1
  193. package/dist/radio/component.js +1 -1
  194. package/dist/radio/index.js +1 -1
  195. package/dist/radio-group/component.js +1 -1
  196. package/dist/radio-group/index.js +1 -1
  197. package/dist/radio-groups/component.js +1 -1
  198. package/dist/radio-groups/index.js +1 -1
  199. package/dist/select/component.js +1 -1
  200. package/dist/select/components/base-select/component.js +1 -1
  201. package/dist/select/components/base-select/index.js +1 -1
  202. package/dist/select/components/field/component.js +1 -1
  203. package/dist/select/components/field/index.js +1 -1
  204. package/dist/select/components/index.js +1 -1
  205. package/dist/select/components/native-select/component.js +1 -1
  206. package/dist/select/components/native-select/index.js +1 -1
  207. package/dist/select/components/option/component.js +1 -1
  208. package/dist/select/components/option/index.js +1 -1
  209. package/dist/select/components/options-list/component.js +1 -1
  210. package/dist/select/components/options-list/index.js +1 -1
  211. package/dist/select/components/virtual-options-list/component.js +1 -1
  212. package/dist/select/components/virtual-options-list/index.js +1 -1
  213. package/dist/select/index.js +1 -1
  214. package/dist/select/presets/index.js +1 -1
  215. package/dist/select/presets/use-lazy-loading/index.js +1 -1
  216. package/dist/select/presets/use-select-with-loading/hook.js +1 -1
  217. package/dist/sidepanel-header/component.js +1 -1
  218. package/dist/sidepanel-header/index.js +1 -1
  219. package/dist/space/Item.js +1 -1
  220. package/dist/space/component.js +1 -1
  221. package/dist/space/index.js +1 -1
  222. package/dist/stepped-progress-bar/index.js +1 -1
  223. package/dist/stepped-progress-bar/step-bar.js +1 -1
  224. package/dist/suffix-input/component.js +1 -1
  225. package/dist/suffix-input/index.js +1 -1
  226. package/dist/super-list-header/component.js +1 -1
  227. package/dist/super-list-header/index.js +1 -1
  228. package/dist/super-list-item/component.js +1 -1
  229. package/dist/super-list-item/index.js +1 -1
  230. package/dist/switch/component.js +1 -1
  231. package/dist/switch/index.js +1 -1
  232. package/dist/table/columns.js +1 -1
  233. package/dist/table/component.js +1 -1
  234. package/dist/table/components/cell/component.d.ts +1 -1
  235. package/dist/table/components/cell/component.js +1 -1
  236. package/dist/table/components/cell/index.js +1 -1
  237. package/dist/table/components/cells/index.js +1 -1
  238. package/dist/table/components/empty-list/index.js +1 -1
  239. package/dist/table/components/error/index.js +1 -1
  240. package/dist/table/components/loading/index.js +1 -1
  241. package/dist/table/components/pagination/index.js +1 -1
  242. package/dist/table/components/table-header/index.js +1 -1
  243. package/dist/table/hooks/use-table-data.js +1 -1
  244. package/dist/table/index.d.ts +1 -1
  245. package/dist/table/index.js +1 -1
  246. package/dist/table/table.js +1 -1
  247. package/dist/table/utils/add-query-param.js +1 -1
  248. package/dist/table/utils/get-query-from-url.js +1 -1
  249. package/dist/table/utils/index.d.ts +1 -1
  250. package/dist/table/utils/index.js +1 -1
  251. package/dist/table/utils/parse-query-params.js +1 -1
  252. package/dist/table/utils/prepare-rows.js +1 -1
  253. package/dist/table/utils/query-adapter.js +1 -1
  254. package/dist/table/utils/remove-query-param.js +1 -1
  255. package/dist/table/utils/reset-query-param.js +1 -1
  256. package/dist/table-status/component.js +1 -1
  257. package/dist/table-status/index.js +1 -1
  258. package/dist/tag/component.js +1 -1
  259. package/dist/tag/index.js +1 -1
  260. package/dist/tags-list/component.js +1 -1
  261. package/dist/tags-list/index.js +1 -1
  262. package/dist/textarea/component.js +1 -1
  263. package/dist/textarea/index.js +1 -1
  264. package/dist/toast/component.js +1 -1
  265. package/dist/toast/index.js +1 -1
  266. package/dist/toast-notifier/component.js +1 -1
  267. package/dist/toast-notifier/index.js +1 -1
  268. package/dist/toast-plate/component.js +1 -1
  269. package/dist/toast-plate/index.js +1 -1
  270. package/dist/tooltip/component.js +1 -1
  271. package/dist/tooltip/index.js +1 -1
  272. package/dist/typography/component.js +1 -1
  273. package/dist/typography/index.js +1 -1
  274. package/dist/typography/text/component.js +1 -1
  275. package/dist/typography/text/index.js +1 -1
  276. package/dist/typography/title/component.js +1 -1
  277. package/dist/typography/title/index.js +1 -1
  278. package/dist/typography/title-responsive/component.js +1 -1
  279. package/dist/typography/title-responsive/index.js +1 -1
  280. package/dist/utils/format-date/index.js +1 -1
  281. package/dist/utils/index.js +1 -1
  282. package/dist/utils/show-toast/index.js +1 -1
  283. package/dist/with-suffix/component.js +1 -1
  284. package/dist/with-suffix/index.js +1 -1
  285. package/package.json +3 -9
  286. package/dist/ActionCopyM-f2576506.js +0 -1
  287. package/dist/AlertCircleM-aa8d3643.js +0 -1
  288. package/dist/ChevronBackM-caa4134b.js +0 -1
  289. package/dist/ChevronDownS-d4df6d2f.js +0 -1
  290. package/dist/ChevronForwardS-a3435316.js +0 -1
  291. package/dist/ClockCircleM-fc4d8fea.js +0 -1
  292. package/dist/CloseS-85ec60fd.js +0 -1
  293. package/dist/NextS-249ca967.js +0 -1
  294. package/dist/PlusS-cbf74ce8.js +0 -1
  295. package/dist/SearchM-a0489a1d.js +0 -1
  296. package/dist/TrashM-ea11b940.js +0 -1
  297. package/dist/_tslib-531dfe1b-670fff5c.js +0 -1
  298. package/dist/cell/base/index.d.ts +0 -1
  299. package/dist/cell/base/index.js +0 -1
  300. package/dist/component-e405ca9e.js +0 -1
  301. package/dist/component-e71445f5.d.ts +0 -7
  302. package/dist/heading/component.d.ts +0 -15
  303. package/dist/heading/component.js +0 -1
  304. package/dist/heading/index.d.ts +0 -1
  305. package/dist/heading/index.js +0 -1
  306. package/dist/image/typings.js +0 -1
  307. package/dist/index-2104b331.js +0 -1
  308. package/dist/index-b6978928.js +0 -1
  309. package/dist/index-bc1b8096.js +0 -1
  310. package/dist/index-e7a614a3.js +0 -1
  311. package/dist/use-image-render-component-4767851d.d.ts +0 -13
  312. package/dist/use-image-render-component-4767851d.js +0 -1
  313. /package/dist/{_commonjsHelpers-bdb17080.js → _commonjsHelpers-cbd5d6a0.js} +0 -0
  314. /package/dist/{colors.module-e800ffc2.js → colors.module-2decc275.js} +0 -0
  315. /package/dist/{common.module-75b344ac.js → common.module-338f6899.js} +0 -0
  316. /package/dist/{component-49d14bb7.js → component-2ec0ce7d.js} +0 -0
  317. /package/dist/{component-e405ca9e.d.ts → component-55e0096f.d.ts} +0 -0
  318. /package/dist/{component-49d14bb7.d.ts → component-7fdb3434.d.ts} +0 -0
  319. /package/dist/{contact-block-47202e13.d.ts → contact-block-b175ecda.d.ts} +0 -0
  320. /package/dist/{contact-block-47202e13.js → contact-block-b175ecda.js} +0 -0
  321. /package/dist/{gutters.module-986f3bcd.js → gutters.module-8921e4e8.js} +0 -0
  322. /package/dist/{index-ed516b63.js → index-2ef8f7b7.js} +0 -0
  323. /package/dist/{index-96095cf1.d.ts → index-ac8f923e.d.ts} +0 -0
  324. /package/dist/{index-40d06abc.js → index-d2ad1ddb.js} +0 -0
  325. /package/dist/{intersection-observer-18c3367f.js → intersection-observer-6b2fdc2d.js} +0 -0
  326. /package/dist/{parse-query-params-ad4d04bb.d.ts → parse-query-params-6e3e63f6.d.ts} +0 -0
  327. /package/dist/{slide-63e91c7f.d.ts → slide-cf5f5962.d.ts} +0 -0
  328. /package/dist/{slide-63e91c7f.js → slide-cf5f5962.js} +0 -0
  329. /package/dist/{step-bar-c8764ad6.d.ts → step-bar-82f811db.d.ts} +0 -0
  330. /package/dist/{step-bar-c8764ad6.js → step-bar-82f811db.js} +0 -0
  331. /package/dist/{tslib.es6-d0af7668.js → tslib.es6-e42882d6.js} +0 -0
@@ -1 +1 @@
1
- export{withSuffix}from"./component.js";import"../tslib.es6-d0af7668.js";import"react";import"react-merge-refs";import"classnames";import"../portal/component.js";import"react-dom";import"../portal/utils.js";
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.23",
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-670fff5c.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-670fff5c.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-670fff5c.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-670fff5c.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-670fff5c.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-670fff5c.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};
@@ -1 +0,0 @@
1
- import{_ as e}from"./_tslib-531dfe1b-670fff5c.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 +0,0 @@
1
- import{_ as e}from"./_tslib-531dfe1b-670fff5c.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 +0,0 @@
1
- import{_ as e}from"./_tslib-531dfe1b-670fff5c.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 +0,0 @@
1
- import{_ as e}from"./_tslib-531dfe1b-670fff5c.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 +0,0 @@
1
- import{_ as e}from"./_tslib-531dfe1b-670fff5c.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
- export * from "../../component-49d14bb7";
@@ -1 +0,0 @@
1
- export{B as Base}from"../../component-49d14bb7.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-e800ffc2.js";import"../../typography/title/index.js";import"../../tslib.es6-d0af7668.js";import"../../typography/title/component.js";import"../../common.module-75b344ac.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-4767851d.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,7 +0,0 @@
1
- import { Base } from "./cell/base/index";
2
- import { Pure } from "./cell/pure/index";
3
- declare const Cell: {
4
- Pure: typeof Pure;
5
- Base: typeof Base;
6
- };
7
- export { Cell };
@@ -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-d0af7668.js";import t from"classnames";import{Key as a}from"ts-keycode-enum";import n,{useRef as d}from"react";var r="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,f=s.addonsDirection,u=void 0===f?"left":f,x=s.href,N=s.className,h=s.dataTestId,k=s.children,p=s.target,v=s.onClick,g=d(null),E=n.createElement(n.Fragment,null,_&&n.createElement("div",{className:i,"data-test-id":h},_),k),F=t(r,((c={})[l]="right"===u,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};
@@ -1 +0,0 @@
1
- export * from "./component";
@@ -1 +0,0 @@
1
- export{Heading}from"./component.js";import"../tslib.es6-d0af7668.js";import"classnames";import"ts-keycode-enum";import"react";
@@ -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};
@@ -1 +0,0 @@
1
- import{t as r}from"./index-07b3763a.js";import{b as a}from"./index-e7a614a3.js";import{r as n}from"./index-40d06abc.js";function o(o,s){n(2,arguments);var t=r(s);return a(o,12*t)}function s(a,s){return n(2,arguments),o(a,-r(s))}export{o as a,s};
@@ -1 +0,0 @@
1
- import{i as r}from"./index-0adcb370.js";import{r as i}from"./index-40d06abc.js";function o(o){return i(1,arguments),r(Date.now(),o)}export{o as i};
@@ -1 +0,0 @@
1
- import{d as r}from"./index-e7a614a3.js";import{r as a}from"./index-40d06abc.js";function o(o){return a(1,arguments),r(o,Date.now())}export{o as i};
@@ -1 +0,0 @@
1
- import{t as e,g as t}from"./index-07b3763a.js";import{r as n,t as a}from"./index-40d06abc.js";function r(t,r){n(2,arguments);var i=a(t),o=e(r);return isNaN(o)?new Date(NaN):o?(i.setDate(i.getDate()+o),i):i}function i(t,r){n(2,arguments);var i=a(t),o=e(r);if(isNaN(o))return new Date(NaN);if(!o)return i;var s=i.getDate(),u=new Date(i.getTime());return u.setMonth(i.getMonth()+o+1,0),s>=u.getDate()?u:(i.setFullYear(u.getFullYear(),u.getMonth(),s),i)}function o(e,t){n(2,arguments);var r=a(e),i=a(t);return r.getTime()>i.getTime()}function s(e,t){n(2,arguments);var r=a(e),i=a(t);return r.getTime()<i.getTime()}function u(e){n(1,arguments);var t=a(e);return t.setHours(0,0,0,0),t}function l(e,t){n(2,arguments);var a=u(e),r=u(t);return a.getTime()===r.getTime()}function v(r,i){var o,s,u,l,v,g,d,f;n(1,arguments);var c=t(),m=e(null!==(o=null!==(s=null!==(u=null!==(l=null==i?void 0:i.weekStartsOn)&&void 0!==l?l:null==i||null===(v=i.locale)||void 0===v||null===(g=v.options)||void 0===g?void 0:g.weekStartsOn)&&void 0!==u?u:c.weekStartsOn)&&void 0!==s?s:null===(d=c.locale)||void 0===d||null===(f=d.options)||void 0===f?void 0:f.weekStartsOn)&&void 0!==o?o:0);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var w=a(r),D=w.getDay(),N=(D<m?7:0)+D-m;return w.setDate(w.getDate()-N),w.setHours(0,0,0,0),w}function g(e){return n(1,arguments),v(e,{weekStartsOn:1})}function d(t,a){return n(2,arguments),r(t,-e(a))}export{r as a,i as b,s as c,l as d,g as e,v as f,d as g,o as i,u as s};
@@ -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-670fff5c.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