@alphakits/ui 1.28.13 → 1.28.15

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 (326) hide show
  1. package/dist/amount/component.js +1 -1
  2. package/dist/amount/index.js +1 -1
  3. package/dist/amount-input/component.js +1 -1
  4. package/dist/amount-input/index.js +1 -1
  5. package/dist/avatar/component.js +1 -1
  6. package/dist/avatar/index.js +1 -1
  7. package/dist/back-button/component.js +1 -1
  8. package/dist/back-button/index.js +1 -1
  9. package/dist/base-card/component.js +1 -1
  10. package/dist/base-card/index.js +1 -1
  11. package/dist/bottom-sheet/component.js +1 -6
  12. package/dist/bottom-sheet/index.js +1 -1
  13. package/dist/button/component.js +1 -1
  14. package/dist/button/index.js +1 -1
  15. package/dist/button-arrow/component.js +1 -1
  16. package/dist/button-arrow/index.js +1 -1
  17. package/dist/calendar/component.js +1 -1
  18. package/dist/calendar/components/days-table/component.js +1 -1
  19. package/dist/calendar/components/days-table/index.js +1 -1
  20. package/dist/calendar/components/header/index.js +1 -1
  21. package/dist/calendar/components/header//321/201omponent.js +1 -1
  22. package/dist/calendar/components/months-table/index.js +1 -1
  23. package/dist/calendar/components/months-table//321/201omponent.js +1 -1
  24. package/dist/calendar/components/select-button/index.js +1 -1
  25. package/dist/calendar/components/select-button//321/201omponent.js +1 -1
  26. package/dist/calendar/components/years-table/index.js +1 -1
  27. package/dist/calendar/components/years-table//321/201omponent.js +1 -1
  28. package/dist/calendar/index.js +1 -1
  29. package/dist/calendar/use-calendar.js +1 -1
  30. package/dist/calendar/use-period.js +1 -1
  31. package/dist/calendar/utils.js +1 -1
  32. package/dist/calendar-input/component.js +1 -1
  33. package/dist/calendar-input/index.js +1 -1
  34. package/dist/calendar-input/utils.js +1 -1
  35. package/dist/{capitalize-18078eb5.js → capitalize-1b9b6924.js} +1 -1
  36. package/dist/card/component.js +1 -1
  37. package/dist/card/images/index.js +1 -1
  38. package/dist/card/index.js +1 -1
  39. package/dist/cell/base/component.d.ts +13 -0
  40. package/dist/cell/base/component.js +1 -1
  41. package/dist/cell/component.d.ts +7 -0
  42. package/dist/cell/component.js +1 -1
  43. package/dist/cell/index.d.ts +1 -1
  44. package/dist/cell/index.js +1 -1
  45. package/dist/cell/pure/component.js +1 -1
  46. package/dist/checkbox/component.js +1 -1
  47. package/dist/checkbox/index.js +1 -1
  48. package/dist/checkbox-group/component.js +1 -1
  49. package/dist/checkbox-group/index.js +1 -1
  50. package/dist/checkbox-lists/component.js +1 -1
  51. package/dist/checkbox-lists/index.js +1 -1
  52. package/dist/collapsable-row/addons.js +1 -1
  53. package/dist/collapsable-row/component.js +1 -1
  54. package/dist/collapsable-row/index.js +1 -1
  55. package/dist/collapse/component.js +1 -1
  56. package/dist/collapse/index.js +1 -1
  57. package/dist/copy-button/component.js +1 -1
  58. package/dist/copy-button/index.js +1 -1
  59. package/dist/date/component.js +1 -1
  60. package/dist/date/index.js +1 -1
  61. package/dist/date-switcher/component.js +1 -1
  62. package/dist/date-switcher/index.js +1 -1
  63. package/dist/empty-page/component.js +1 -1
  64. package/dist/empty-page/index.js +1 -1
  65. package/dist/footer/component.js +1 -1
  66. package/dist/footer/contact-block.js +1 -1
  67. package/dist/footer/index.js +1 -1
  68. package/dist/form/component.js +1 -1
  69. package/dist/form/index.js +1 -1
  70. package/dist/form/templates/base-form/index.js +1 -1
  71. package/dist/form/templates/filters-form/index.js +1 -1
  72. package/dist/form/templates/rest-form/form.js +1 -1
  73. package/dist/form/templates/rest-form/index.js +1 -1
  74. package/dist/form/utils/get-default-values.js +1 -1
  75. package/dist/form-control/component.js +1 -1
  76. package/dist/form-control/index.js +1 -1
  77. package/dist/grid/col/component.js +1 -1
  78. package/dist/grid/col/index.js +1 -1
  79. package/dist/grid/component.js +1 -1
  80. package/dist/grid/index.js +1 -1
  81. package/dist/grid/row/component.js +1 -1
  82. package/dist/grid/row/index.js +1 -1
  83. package/dist/header-search/component.js +1 -1
  84. package/dist/header-search/index.js +1 -1
  85. package/dist/hooks/index.js +1 -1
  86. package/dist/hooks/use-crud-form-requests/index.js +1 -1
  87. package/dist/hooks/use-get-one/index.js +1 -1
  88. package/dist/icon-button/component.js +1 -1
  89. package/dist/icon-button/index.js +1 -1
  90. package/dist/image/component.js +1 -1
  91. package/dist/image/image-base.js +1 -1
  92. package/dist/image/index.js +1 -1
  93. package/dist/image/use-image-render-component.js +1 -1
  94. package/dist/image-gallery/component.d.ts +13 -2
  95. package/dist/image-gallery/component.js +1 -1
  96. package/dist/image-gallery/components/header/index.js +1 -1
  97. package/dist/image-gallery/components/header-info-block/index.js +1 -1
  98. package/dist/image-gallery/components/image-preview/index.d.ts +1 -1
  99. package/dist/image-gallery/components/image-viewer/index.js +1 -1
  100. package/dist/image-gallery/components/image-viewer/slide.js +1 -1
  101. package/dist/image-gallery/components/index.js +1 -1
  102. package/dist/image-gallery/context.d.ts +1 -1
  103. package/dist/image-gallery/index.js +1 -1
  104. package/dist/image-gallery/utils/utils.d.ts +1 -1
  105. package/dist/image-uploader/component.js +1 -1
  106. package/dist/image-uploader/index.js +1 -1
  107. package/dist/index.css +1 -1
  108. package/dist/info-block-header/component.js +1 -1
  109. package/dist/info-block-header/index.js +1 -1
  110. package/dist/info-block-item/component.js +1 -1
  111. package/dist/info-block-item/index.js +1 -1
  112. package/dist/input/component.js +1 -1
  113. package/dist/input/index.js +1 -1
  114. package/dist/input-autocomplete/autocomplete-field/index.js +1 -1
  115. package/dist/input-autocomplete/component.js +1 -1
  116. package/dist/input-autocomplete/index.js +1 -1
  117. package/dist/input-ghost/component.js +1 -1
  118. package/dist/input-ghost/index.js +1 -1
  119. package/dist/isSymbol-3e3833dc.js +1 -0
  120. package/dist/link/component.js +1 -1
  121. package/dist/link/index.js +1 -1
  122. package/dist/list-allert/component.js +1 -1
  123. package/dist/list-allert/index.js +1 -1
  124. package/dist/masked-input/component.js +1 -1
  125. package/dist/masked-input/index.js +1 -1
  126. package/dist/menu/component.js +1 -1
  127. package/dist/menu/components/content-header/index.js +1 -1
  128. package/dist/menu/components/index.js +1 -1
  129. package/dist/menu/components/menu-avatar/index.js +1 -1
  130. package/dist/menu/components/menu-back-button/index.js +1 -1
  131. package/dist/menu/components/menu-button/index.js +1 -1
  132. package/dist/menu/components/menu-buttons-list/index.js +1 -1
  133. package/dist/menu/components/user-button/index.js +1 -1
  134. package/dist/menu/index.js +1 -1
  135. package/dist/message/component.js +1 -1
  136. package/dist/message/index.js +1 -1
  137. package/dist/modal/components/modals/index.js +1 -1
  138. package/dist/modal/components/modals/modal.js +1 -1
  139. package/dist/modal/context.d.ts +1 -0
  140. package/dist/modal/context.js +1 -1
  141. package/dist/modal/hooks/use-modal.js +1 -1
  142. package/dist/modal/index.js +1 -1
  143. package/dist/modal/utils/delete-property-by-id.js +1 -1
  144. package/dist/notification/component.js +1 -1
  145. package/dist/notification/index.js +1 -1
  146. package/dist/page-with-controls/component.js +1 -1
  147. package/dist/page-with-controls/index.js +1 -1
  148. package/dist/picker-button/common/index.js +1 -1
  149. package/dist/picker-button/common/labeled-button/index.js +1 -1
  150. package/dist/picker-button/component.js +1 -1
  151. package/dist/picker-button/field/Component.js +1 -1
  152. package/dist/picker-button/field/index.js +1 -1
  153. package/dist/picker-button/index.js +1 -1
  154. package/dist/popover/component.js +1 -1
  155. package/dist/popover/index.js +1 -1
  156. package/dist/portal/utils.d.ts +1 -1
  157. package/dist/portal/utils.js +1 -1
  158. package/dist/progress-bar/component.js +1 -1
  159. package/dist/progress-bar/index.js +1 -1
  160. package/dist/progress-index/component.js +1 -1
  161. package/dist/progress-index/index.js +1 -1
  162. package/dist/radio/component.js +1 -1
  163. package/dist/radio/index.js +1 -1
  164. package/dist/radio-group/component.js +1 -1
  165. package/dist/radio-group/index.js +1 -1
  166. package/dist/radio-groups/component.js +1 -1
  167. package/dist/radio-groups/index.js +1 -1
  168. package/dist/select/component.js +1 -1
  169. package/dist/select/components/base-select/component.js +1 -1
  170. package/dist/select/components/base-select/index.js +1 -1
  171. package/dist/select/components/field/component.js +1 -1
  172. package/dist/select/components/field/index.js +1 -1
  173. package/dist/select/components/index.js +1 -1
  174. package/dist/select/components/native-select/component.js +1 -1
  175. package/dist/select/components/native-select/index.js +1 -1
  176. package/dist/select/components/option/component.js +1 -1
  177. package/dist/select/components/option/index.js +1 -1
  178. package/dist/select/components/options-list/component.js +1 -1
  179. package/dist/select/components/options-list/index.js +1 -1
  180. package/dist/select/components/virtual-options-list/component.js +1 -1
  181. package/dist/select/components/virtual-options-list/index.js +1 -1
  182. package/dist/select/index.js +1 -1
  183. package/dist/select/presets/index.js +1 -1
  184. package/dist/select/presets/use-lazy-loading/index.js +1 -1
  185. package/dist/select/presets/use-select-with-loading/hook.js +1 -1
  186. package/dist/sidepanel/component.js +1 -1
  187. package/dist/sidepanel/index.js +1 -1
  188. package/dist/sidepanel-header/component.js +1 -1
  189. package/dist/sidepanel-header/index.js +1 -1
  190. package/dist/{slide-c577cf1d.d.ts → slide-24a95239.d.ts} +1 -1
  191. package/dist/space/Item.js +1 -1
  192. package/dist/space/component.js +1 -1
  193. package/dist/space/index.js +1 -1
  194. package/dist/step-bar-1e3290e5.d.ts +8 -0
  195. package/dist/stepped-progress-bar/components/step-bar.js +1 -0
  196. package/dist/stepped-progress-bar/index.d.ts +2 -2
  197. package/dist/stepped-progress-bar/index.js +1 -1
  198. package/dist/suffix-input/component.js +1 -1
  199. package/dist/suffix-input/index.js +1 -1
  200. package/dist/super-list-header/component.js +1 -1
  201. package/dist/super-list-header/index.js +1 -1
  202. package/dist/super-list-item/component.js +1 -1
  203. package/dist/super-list-item/index.js +1 -1
  204. package/dist/swiper-slide-2d7bd148.js +1 -0
  205. package/dist/switch/component.js +1 -1
  206. package/dist/switch/index.js +1 -1
  207. package/dist/table/columns.js +1 -1
  208. package/dist/table/component.d.ts +7 -0
  209. package/dist/table/component.js +1 -1
  210. package/dist/table/components/cell/component.d.ts +1 -1
  211. package/dist/table/components/cell/component.js +1 -1
  212. package/dist/table/components/cell/index.js +1 -1
  213. package/dist/table/components/cells/index.js +1 -1
  214. package/dist/table/components/empty-list/index.js +1 -1
  215. package/dist/table/components/error/index.js +1 -1
  216. package/dist/table/components/loading/index.js +1 -1
  217. package/dist/table/components/pagination/index.js +1 -1
  218. package/dist/table/components/table-header/index.js +1 -1
  219. package/dist/table/hooks/use-table-data.d.ts +1 -1
  220. package/dist/table/hooks/use-table-data.js +1 -1
  221. package/dist/table/index.d.ts +1 -1
  222. package/dist/table/index.js +1 -1
  223. package/dist/table/table.d.ts +38 -0
  224. package/dist/table/table.js +1 -1
  225. package/dist/table/utils/add-query-param.js +1 -1
  226. package/dist/table/utils/get-query-from-url.js +1 -1
  227. package/dist/table/utils/index.d.ts +1 -1
  228. package/dist/table/utils/index.js +1 -1
  229. package/dist/table/utils/parse-query-params.d.ts +2 -0
  230. package/dist/table/utils/parse-query-params.js +1 -1
  231. package/dist/table/utils/prepare-rows.d.ts +12 -0
  232. package/dist/table/utils/prepare-rows.js +1 -1
  233. package/dist/table/utils/query-adapter.js +1 -1
  234. package/dist/table/utils/remove-query-param.js +1 -1
  235. package/dist/table/utils/reset-query-param.js +1 -1
  236. package/dist/table-status/component.js +1 -1
  237. package/dist/table-status/index.js +1 -1
  238. package/dist/tag/component.js +1 -1
  239. package/dist/tag/index.js +1 -1
  240. package/dist/tags-list/component.js +1 -1
  241. package/dist/tags-list/index.js +1 -1
  242. package/dist/textarea/component.js +1 -1
  243. package/dist/textarea/index.js +1 -1
  244. package/dist/toast/component.js +1 -1
  245. package/dist/toast/index.js +1 -1
  246. package/dist/toast-notifier/component.js +1 -1
  247. package/dist/toast-notifier/index.js +1 -1
  248. package/dist/toast-plate/component.js +1 -1
  249. package/dist/toast-plate/index.js +1 -1
  250. package/dist/tooltip/component.js +1 -1
  251. package/dist/tooltip/index.js +1 -1
  252. package/dist/typography/component.js +1 -1
  253. package/dist/typography/index.js +1 -1
  254. package/dist/typography/text/component.js +1 -1
  255. package/dist/typography/text/index.js +1 -1
  256. package/dist/typography/title/component.js +1 -1
  257. package/dist/typography/title/index.js +1 -1
  258. package/dist/use-image-render-component-ca144fdd.js +1 -0
  259. package/dist/utils/format-date/index.js +1 -1
  260. package/dist/utils/index.js +1 -1
  261. package/dist/utils/show-toast/index.js +1 -1
  262. package/dist/with-suffix/component.js +1 -1
  263. package/dist/with-suffix/index.js +1 -1
  264. package/package.json +16 -11
  265. package/dist/ActionCopyM-70898595.js +0 -1
  266. package/dist/CancelM-088e6940.js +0 -1
  267. package/dist/CheckmarkCircleM-f684cf46.js +0 -1
  268. package/dist/ChevronBackM-aee18038.js +0 -1
  269. package/dist/ChevronBackS-299d7d1e.js +0 -1
  270. package/dist/ChevronDownS-bd371173.js +0 -1
  271. package/dist/ChevronForwardM-a3a04aa8.js +0 -1
  272. package/dist/ChevronForwardS-c493a1a1.js +0 -1
  273. package/dist/ClockCircleM-d218e835.js +0 -1
  274. package/dist/CloseS-e1864257.js +0 -1
  275. package/dist/ControllerS-7a9ecca0.js +0 -1
  276. package/dist/EditS-9cde0683.js +0 -1
  277. package/dist/MinusM-af938dd8.js +0 -1
  278. package/dist/MoverS-a1889978.js +0 -1
  279. package/dist/NextS-4109921c.js +0 -1
  280. package/dist/PhotoS-b296cb33.js +0 -1
  281. package/dist/PlusS-15110f9d.js +0 -1
  282. package/dist/SearchM-ad181eb5.js +0 -1
  283. package/dist/TrashM-1258ddef.js +0 -1
  284. package/dist/YoutubeM-d17dbfe8.js +0 -1
  285. package/dist/_commonjsHelpers-e9fa40dd.js +0 -1
  286. package/dist/component-4b3baef3.d.ts +0 -7
  287. package/dist/component-4b3baef3.js +0 -1
  288. package/dist/component-523d39f3.d.ts +0 -17
  289. package/dist/component-523d39f3.js +0 -1
  290. package/dist/component-7fdb3434.d.ts +0 -13
  291. package/dist/date-functions.d.ts +0 -37
  292. package/dist/date-functions.js +0 -1
  293. package/dist/formik.esm-ce308774.js +0 -1
  294. package/dist/image-gallery/types.d.ts +0 -13
  295. package/dist/image-gallery/types.js +0 -1
  296. package/dist/index-056471fd.js +0 -1
  297. package/dist/index-2fa7de8d.js +0 -1
  298. package/dist/index-4f62c122.js +0 -1
  299. package/dist/index-5365bc15.js +0 -1
  300. package/dist/index-5f244101.js +0 -1
  301. package/dist/index-73750f1c.js +0 -1
  302. package/dist/index-820ddb0e.js +0 -9
  303. package/dist/index-89bc7be5.js +0 -1
  304. package/dist/index-9943a288.js +0 -1
  305. package/dist/index-9e297c3c.js +0 -1
  306. package/dist/index-aa8c3564.js +0 -1
  307. package/dist/index-e6f864d9.js +0 -1
  308. package/dist/index-e97180cd.js +0 -1
  309. package/dist/index-f3950f98.js +0 -1
  310. package/dist/intersection-observer-e15e78dd.js +0 -1
  311. package/dist/isSymbol-faa23a32.js +0 -1
  312. package/dist/parse-query-params-c07afed3.d.ts +0 -2
  313. package/dist/parse-query-params-c07afed3.js +0 -1
  314. package/dist/step-bar-a5486816.d.ts +0 -8
  315. package/dist/stepped-progress-bar/step-bar.js +0 -1
  316. package/dist/table-fa12db74.d.ts +0 -38
  317. package/dist/tslib.es6-037db755.js +0 -1
  318. package/dist/use-image-render-component-5a81ce40.js +0 -1
  319. /package/dist/{colors.module-0071a3ac.js → colors.module-c9f97d8d.js} +0 -0
  320. /package/dist/{contact-block-029bb051.d.ts → contact-block-40af9a2b.d.ts} +0 -0
  321. /package/dist/{contact-block-029bb051.js → contact-block-40af9a2b.js} +0 -0
  322. /package/dist/{gutters.module-9fbea122.js → gutters.module-3c3e349d.js} +0 -0
  323. /package/dist/{slide-c577cf1d.js → slide-24a95239.js} +0 -0
  324. /package/dist/{step-bar-a5486816.js → step-bar-1e3290e5.js} +0 -0
  325. /package/dist/stepped-progress-bar/{step-bar.d.ts → components/step-bar.d.ts} +0 -0
  326. /package/dist/{use-image-render-component-5a81ce40.d.ts → use-image-render-component-ca144fdd.d.ts} +0 -0
@@ -1 +0,0 @@
1
- import{a as t}from"./_commonjsHelpers-e9fa40dd.js";var e="object"==typeof t&&t&&t.Object===Object&&t,o="object"==typeof self&&self&&self.Object===Object&&self,r=e||o||Function("return this")(),n=r.Symbol,c=Object.prototype,a=c.hasOwnProperty,l=c.toString,i=n?n.toStringTag:void 0;var b=function(t){var e=a.call(t,i),o=t[i];try{t[i]=void 0;var r=!0}catch(t){}var n=l.call(t);return r&&(e?t[i]=o:delete t[i]),n},f=Object.prototype.toString;var j=function(t){return f.call(t)},u="[object Null]",s="[object Undefined]",v=n?n.toStringTag:void 0;var p=function(t){return null==t?void 0===t?s:u:v&&v in Object(t)?b(t):j(t)};var y=function(t){return null!=t&&"object"==typeof t},d="[object Symbol]";var O=function(t){return"symbol"==typeof t||y(t)&&p(t)==d};export{n as _,r as a,O as i};
@@ -1,2 +0,0 @@
1
- declare function parseQueryParams(): import("query-string").ParsedQuery<string | number | boolean>;
2
- export { parseQueryParams };
@@ -1 +0,0 @@
1
- import{c as r}from"./_commonjsHelpers-e9fa40dd.js";var e=r=>encodeURIComponent(r).replace(/[!'()*]/g,(r=>`%${r.charCodeAt(0).toString(16).toUpperCase()}`)),t="%[a-f0-9]{2}",n=new RegExp("("+t+")|([^%]+?)","gi"),o=new RegExp("("+t+")+","gi");function a(r,e){try{return[decodeURIComponent(r.join(""))]}catch(r){}if(1===r.length)return r;e=e||1;var t=r.slice(0,e),n=r.slice(e);return Array.prototype.concat.call([],a(t),a(n))}function s(r){try{return decodeURIComponent(r)}catch(o){for(var e=r.match(n)||[],t=1;t<e.length;t++)e=(r=a(e,t).join("")).match(n)||[];return r}}var c=function(r){if("string"!=typeof r)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof r+"`");try{return r=r.replace(/\+/g," "),decodeURIComponent(r)}catch(e){return function(r){for(var e={"%FE%FF":"��","%FF%FE":"��"},t=o.exec(r);t;){try{e[t[0]]=decodeURIComponent(t[0])}catch(r){var n=s(t[0]);n!==t[0]&&(e[t[0]]=n)}t=o.exec(r)}e["%C2"]="�";for(var a=Object.keys(e),c=0;c<a.length;c++){var i=a[c];r=r.replace(new RegExp(i,"g"),e[i])}return r}(r)}},i=(r,e)=>{if("string"!=typeof r||"string"!=typeof e)throw new TypeError("Expected the arguments to be of type `string`");if(""===e)return[r];const t=r.indexOf(e);return-1===t?[r]:[r.slice(0,t),r.slice(t+e.length)]},l=function(r,e){for(var t={},n=Object.keys(r),o=Array.isArray(e),a=0;a<n.length;a++){var s=n[a],c=r[s];(o?-1!==e.indexOf(s):e(s,c,r))&&(t[s]=c)}return t},u=r((function(r,t){const n=Symbol("encodeFragmentIdentifier");function o(r){if("string"!=typeof r||1!==r.length)throw new TypeError("arrayFormatSeparator must be single character string")}function a(r,t){return t.encode?t.strict?e(r):encodeURIComponent(r):r}function s(r,e){return e.decode?c(r):r}function u(r){return Array.isArray(r)?r.sort():"object"==typeof r?u(Object.keys(r)).sort(((r,e)=>Number(r)-Number(e))).map((e=>r[e])):r}function p(r){const e=r.indexOf("#");return-1!==e&&(r=r.slice(0,e)),r}function f(r){const e=(r=p(r)).indexOf("?");return-1===e?"":r.slice(e+1)}function y(r,e){return e.parseNumbers&&!Number.isNaN(Number(r))&&"string"==typeof r&&""!==r.trim()?r=Number(r):!e.parseBooleans||null===r||"true"!==r.toLowerCase()&&"false"!==r.toLowerCase()||(r="true"===r.toLowerCase()),r}function d(r,e){o((e=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},e)).arrayFormatSeparator);const t=function(r){let e;switch(r.arrayFormat){case"index":return(r,t,n)=>{e=/\[(\d*)\]$/.exec(r),r=r.replace(/\[\d*\]$/,""),e?(void 0===n[r]&&(n[r]={}),n[r][e[1]]=t):n[r]=t};case"bracket":return(r,t,n)=>{e=/(\[\])$/.exec(r),r=r.replace(/\[\]$/,""),e?void 0!==n[r]?n[r]=[].concat(n[r],t):n[r]=[t]:n[r]=t};case"colon-list-separator":return(r,t,n)=>{e=/(:list)$/.exec(r),r=r.replace(/:list$/,""),e?void 0!==n[r]?n[r]=[].concat(n[r],t):n[r]=[t]:n[r]=t};case"comma":case"separator":return(e,t,n)=>{const o="string"==typeof t&&t.includes(r.arrayFormatSeparator),a="string"==typeof t&&!o&&s(t,r).includes(r.arrayFormatSeparator);t=a?s(t,r):t;const c=o||a?t.split(r.arrayFormatSeparator).map((e=>s(e,r))):null===t?t:s(t,r);n[e]=c};case"bracket-separator":return(e,t,n)=>{const o=/(\[\])$/.test(e);if(e=e.replace(/\[\]$/,""),!o)return void(n[e]=t?s(t,r):t);const a=null===t?[]:t.split(r.arrayFormatSeparator).map((e=>s(e,r)));void 0!==n[e]?n[e]=[].concat(n[e],a):n[e]=a};default:return(r,e,t)=>{void 0!==t[r]?t[r]=[].concat(t[r],e):t[r]=e}}}(e),n=Object.create(null);if("string"!=typeof r)return n;if(!(r=r.trim().replace(/^[?#&]/,"")))return n;for(const o of r.split("&")){if(""===o)continue;let[r,a]=i(e.decode?o.replace(/\+/g," "):o,"=");a=void 0===a?null:["comma","separator","bracket-separator"].includes(e.arrayFormat)?a:s(a,e),t(s(r,e),a,n)}for(const r of Object.keys(n)){const t=n[r];if("object"==typeof t&&null!==t)for(const r of Object.keys(t))t[r]=y(t[r],e);else n[r]=y(t,e)}return!1===e.sort?n:(!0===e.sort?Object.keys(n).sort():Object.keys(n).sort(e.sort)).reduce(((r,e)=>{const t=n[e];return Boolean(t)&&"object"==typeof t&&!Array.isArray(t)?r[e]=u(t):r[e]=t,r}),Object.create(null))}t.extract=f,t.parse=d,t.stringify=(r,e)=>{if(!r)return"";o((e=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},e)).arrayFormatSeparator);const t=t=>e.skipNull&&null==r[t]||e.skipEmptyString&&""===r[t],n=function(r){switch(r.arrayFormat){case"index":return e=>(t,n)=>{const o=t.length;return void 0===n||r.skipNull&&null===n||r.skipEmptyString&&""===n?t:null===n?[...t,[a(e,r),"[",o,"]"].join("")]:[...t,[a(e,r),"[",a(o,r),"]=",a(n,r)].join("")]};case"bracket":return e=>(t,n)=>void 0===n||r.skipNull&&null===n||r.skipEmptyString&&""===n?t:null===n?[...t,[a(e,r),"[]"].join("")]:[...t,[a(e,r),"[]=",a(n,r)].join("")];case"colon-list-separator":return e=>(t,n)=>void 0===n||r.skipNull&&null===n||r.skipEmptyString&&""===n?t:null===n?[...t,[a(e,r),":list="].join("")]:[...t,[a(e,r),":list=",a(n,r)].join("")];case"comma":case"separator":case"bracket-separator":{const e="bracket-separator"===r.arrayFormat?"[]=":"=";return t=>(n,o)=>void 0===o||r.skipNull&&null===o||r.skipEmptyString&&""===o?n:(o=null===o?"":o,0===n.length?[[a(t,r),e,a(o,r)].join("")]:[[n,a(o,r)].join(r.arrayFormatSeparator)])}default:return e=>(t,n)=>void 0===n||r.skipNull&&null===n||r.skipEmptyString&&""===n?t:null===n?[...t,a(e,r)]:[...t,[a(e,r),"=",a(n,r)].join("")]}}(e),s={};for(const e of Object.keys(r))t(e)||(s[e]=r[e]);const c=Object.keys(s);return!1!==e.sort&&c.sort(e.sort),c.map((t=>{const o=r[t];return void 0===o?"":null===o?a(t,e):Array.isArray(o)?0===o.length&&"bracket-separator"===e.arrayFormat?a(t,e)+"[]":o.reduce(n(t),[]).join("&"):a(t,e)+"="+a(o,e)})).filter((r=>r.length>0)).join("&")},t.parseUrl=(r,e)=>{e=Object.assign({decode:!0},e);const[t,n]=i(r,"#");return Object.assign({url:t.split("?")[0]||"",query:d(f(r),e)},e&&e.parseFragmentIdentifier&&n?{fragmentIdentifier:s(n,e)}:{})},t.stringifyUrl=(r,e)=>{e=Object.assign({encode:!0,strict:!0,[n]:!0},e);const o=p(r.url).split("?")[0]||"",s=t.extract(r.url),c=t.parse(s,{sort:!1}),i=Object.assign(c,r.query);let l=t.stringify(i,e);l&&(l=`?${l}`);let u=function(r){let e="";const t=r.indexOf("#");return-1!==t&&(e=r.slice(t)),e}(r.url);return r.fragmentIdentifier&&(u=`#${e[n]?a(r.fragmentIdentifier,e):r.fragmentIdentifier}`),`${o}${l}${u}`},t.pick=(r,e,o)=>{o=Object.assign({parseFragmentIdentifier:!0,[n]:!1},o);const{url:a,query:s,fragmentIdentifier:c}=t.parseUrl(r,o);return t.stringifyUrl({url:a,query:l(s,e),fragmentIdentifier:c},o)},t.exclude=(r,e,n)=>{const o=Array.isArray(e)?r=>!e.includes(r):(r,t)=>!e(r,t);return t.pick(r,o,n)}}));u.extract;var p=u.parse,f=u.stringify;function y(){return p(window.location.search,{arrayFormat:"comma",parseBooleans:!0,parseNumbers:!0})}u.parseUrl,u.stringifyUrl,u.pick,u.exclude;export{y as p,f as q};
@@ -1,8 +0,0 @@
1
- import { FC } from 'react';
2
- import { SteppedProgressBarView } from "./stepped-progress-bar/index";
3
- type StepBarProps = {
4
- isDone: boolean;
5
- view?: SteppedProgressBarView;
6
- };
7
- declare const StepBar: FC<StepBarProps>;
8
- export { StepBar };
@@ -1 +0,0 @@
1
- import"react";import"classnames";export{S as StepBar}from"../step-bar-a5486816.js";
@@ -1,38 +0,0 @@
1
- /// <reference types="react" />
2
- import React from 'react';
3
- import { ApiMethodDeclaration, MakeServiceFromServiceDeclaration } from "./typings/api";
4
- import { FiltersMapper, OnFiltersClickProps, TableColumns } from "./table/types";
5
- type Records<T> = {
6
- records: T[];
7
- promise?: never;
8
- } | {
9
- records?: never;
10
- promise: MakeServiceFromServiceDeclaration<ApiMethodDeclaration<any, {
11
- items: T[];
12
- meta: any;
13
- }>>;
14
- };
15
- type FiltersButton = {
16
- onFiltersClick: (props: OnFiltersClickProps) => void;
17
- filtersButtonLabel: string;
18
- } | {
19
- onFiltersClick?: never;
20
- filtersButtonLabel?: never;
21
- };
22
- type TableProps<T extends object> = Records<T> & {
23
- columns: TableColumns<T>;
24
- searchPlaceholder?: string;
25
- rightHeaderAddons?: React.ReactNode;
26
- leftHeaderAddons?: React.ReactNode;
27
- createButtonLabel?: string;
28
- hideSearch?: boolean;
29
- loading?: boolean;
30
- height?: 'fill' | 'default';
31
- tagsBuilder?: (props: FiltersMapper) => JSX.Element | null;
32
- onCreateClick?: (refech: () => void) => void;
33
- refetch?: () => void;
34
- onRowClick?: (params: T, refech: () => void) => void;
35
- language: 'de' | 'ru' | 'en';
36
- } & FiltersButton;
37
- declare function Table<T extends object>({ columns, searchPlaceholder, records, hideSearch, rightHeaderAddons, leftHeaderAddons, filtersButtonLabel, createButtonLabel, loading, height, tagsBuilder, promise, onRowClick, onCreateClick, onFiltersClick, refetch, language, }: TableProps<T>): JSX.Element;
38
- export { TableProps, Table };
@@ -1 +0,0 @@
1
- var t=function(){return t=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},t.apply(this,arguments)};function e(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]])}return n}function n(t,e,n,r){return new(n||(n=Promise))((function(o,a){function l(t){try{i(r.next(t))}catch(t){a(t)}}function c(t){try{i(r.throw(t))}catch(t){a(t)}}function i(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(l,c)}i((r=r.apply(t,e||[])).next())}))}function r(t,e){var n,r,o,a,l={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function c(c){return function(i){return function(c){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,c[0]&&(l=0)),l;)try{if(n=1,r&&(o=2&c[0]?r.return:c[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,c[1])).done)return o;switch(r=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return l.label++,{value:c[1],done:!1};case 5:l.label++,r=c[1],c=[0];continue;case 7:c=l.ops.pop(),l.trys.pop();continue;default:if(!(o=l.trys,(o=o.length>0&&o[o.length-1])||6!==c[0]&&2!==c[0])){l=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]<o[3])){l.label=c[1];break}if(6===c[0]&&l.label<o[1]){l.label=o[1],o=c;break}if(o&&l.label<o[2]){l.label=o[2],l.ops.push(c);break}o[2]&&l.ops.pop(),l.trys.pop();continue}c=e.call(t,l)}catch(t){c=[6,t],r=0}finally{n=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([c,i])}}}function o(t,e,n){if(n||2===arguments.length)for(var r,o=0,a=e.length;o<a;o++)!r&&o in e||(r||(r=Array.prototype.slice.call(e,0,o)),r[o]=e[o]);return t.concat(r||Array.prototype.slice.call(e))}export{e as _,t as a,o as b,n as c,r as d};
@@ -1 +0,0 @@
1
- import e,{useRef as n,useEffect as o}from"react";import{P as d,a as t}from"./PhotoS-b296cb33.js";import i from"classnames";import{Spinner as _}from"./spinner/component.js";import{Typography as a}from"./typography/component.js";import{textSizes as l}from"./image/types.js";import{getCharsFromText as r}from"./image/utils.js";var m={container:"index-module_container__bgmJ2",component:"index-module_component__Jf39Y",border:"index-module_border__3eTFR",addon:"index-module_addon__fLNNt",filled:"index-module_filled__-OKoH",default:"index-module_default__7yCk8",primary:"index-module_primary__NmfOf",secondary:"index-module_secondary__mFC44",thirdly:"index-module_thirdly__QoVoR",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",auto:"index-module_auto__UzBuJ",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","addon-positive":"index-module_addon-positive__YNhNe","addon-negative":"index-module_addon-negative__XjAPo","addon-attention":"index-module_addon-attention__zeb5R","addon-accent":"index-module_addon-accent__pBWXg","addon-primary":"index-module_addon-primary__p-a27","addon-secondary":"index-module_addon-secondary__PYOhn","addon-thirdly":"index-module_addon-thirdly__0zlRh"},x={xs:"300x300",s:"300x300",m:"300x300",l:"300x300",xl:"300x300",xxl:"640x640",auto:"640x640"},s=function(s){var u=s.src,c=void 0===u?"":u,p=s.size,f=s.color,g=s.alt,v=s.text,b=s.icon,y=e.useState("loading"),h=y[0],w=y[1],z=n(0),C=function(e){var n=e.src,o=e.size;if((null==n?void 0:n.includes("escapenavigator-images.s3"))&&o){var d=n.split("amazonaws.com/")[1];return"https://d2z3luly8bezbw.cloudfront.net/fit-in/"+x[o]+"/"+d}return n}({src:c,size:p});return o((function(){if(C){z.current=Date.now(),w("loading");var e=new Image;e.src=C,e.onload=function(){w("loaded")},e.onerror=function(){Date.now()-z.current<2e3?setTimeout((function(){e.src=C}),500):w("error")}}else w("error")}),[C,p]),b||("loading"===h?e.createElement(_,{className:m.spinner,size:"s",view:"dark"}):"error"===h&&v?e.createElement(a.Text,{className:i(m.textContent,m[l[p]]),view:"caps",color:f,weight:"bold"},r(v.toUpperCase())):"error"===h?e.createElement(a.Text,{className:m.broken,tag:"div",view:"caps",color:f,weight:"bold"},"xs"===p?e.createElement(d,null):e.createElement(t,null)):e.createElement("img",{className:m.image,src:C,alt:g}))};export{m as s,s as u};
File without changes