@dartcom/ui-kit 3.5.2 → 3.6.0

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 (231) hide show
  1. package/dist/components/buttons/delete/delete.d.ts +5 -0
  2. package/dist/components/buttons/delete/delete.d.ts.map +1 -0
  3. package/dist/components/buttons/delete/delete.stories.d.ts +8 -0
  4. package/dist/components/buttons/delete/delete.stories.d.ts.map +1 -0
  5. package/dist/components/buttons/delete/index.d.ts +2 -0
  6. package/dist/components/buttons/delete/index.d.ts.map +1 -0
  7. package/dist/components/buttons/delete/types.d.ts +8 -0
  8. package/dist/components/buttons/delete/types.d.ts.map +1 -0
  9. package/dist/components/buttons/edit/edit.d.ts +5 -0
  10. package/dist/components/buttons/edit/edit.d.ts.map +1 -0
  11. package/dist/components/buttons/edit/edit.stories.d.ts +7 -0
  12. package/dist/components/buttons/edit/edit.stories.d.ts.map +1 -0
  13. package/dist/components/buttons/edit/index.d.ts +2 -0
  14. package/dist/components/buttons/edit/index.d.ts.map +1 -0
  15. package/dist/components/buttons/edit/types.d.ts +3 -0
  16. package/dist/components/buttons/edit/types.d.ts.map +1 -0
  17. package/dist/components/buttons/index.d.ts +3 -0
  18. package/dist/components/buttons/index.d.ts.map +1 -0
  19. package/dist/components/checkbox/checkbox.d.ts +16 -0
  20. package/dist/components/checkbox/checkbox.d.ts.map +1 -0
  21. package/dist/components/checkbox/checkbox.stories.d.ts +8 -0
  22. package/dist/components/checkbox/checkbox.stories.d.ts.map +1 -0
  23. package/dist/components/checkbox/index.d.ts +2 -0
  24. package/dist/components/checkbox/index.d.ts.map +1 -0
  25. package/dist/components/dialog/dialog.d.ts +5 -0
  26. package/dist/components/dialog/dialog.d.ts.map +1 -0
  27. package/dist/components/dialog/index.d.ts +2 -0
  28. package/dist/components/dialog/index.d.ts.map +1 -0
  29. package/dist/components/dialog/types.d.ts +5 -0
  30. package/dist/components/dialog/types.d.ts.map +1 -0
  31. package/dist/components/drag-list/drag-list.d.ts +4 -0
  32. package/dist/components/drag-list/drag-list.d.ts.map +1 -0
  33. package/dist/components/drag-list/drag-list.stories.d.ts +8 -0
  34. package/dist/components/drag-list/drag-list.stories.d.ts.map +1 -0
  35. package/dist/components/drag-list/draggable/draggable.d.ts +5 -0
  36. package/dist/components/drag-list/draggable/draggable.d.ts.map +1 -0
  37. package/dist/components/drag-list/draggable/index.d.ts +2 -0
  38. package/dist/components/drag-list/draggable/index.d.ts.map +1 -0
  39. package/dist/components/drag-list/draggable/types.d.ts +10 -0
  40. package/dist/components/drag-list/draggable/types.d.ts.map +1 -0
  41. package/dist/components/drag-list/droppable/droppable.d.ts +5 -0
  42. package/dist/components/drag-list/droppable/droppable.d.ts.map +1 -0
  43. package/dist/components/drag-list/droppable/index.d.ts +2 -0
  44. package/dist/components/drag-list/droppable/index.d.ts.map +1 -0
  45. package/dist/components/drag-list/droppable/types.d.ts +5 -0
  46. package/dist/components/drag-list/droppable/types.d.ts.map +1 -0
  47. package/dist/components/drag-list/index.d.ts +2 -0
  48. package/dist/components/drag-list/index.d.ts.map +1 -0
  49. package/dist/components/drag-list/types.d.ts +11 -0
  50. package/dist/components/drag-list/types.d.ts.map +1 -0
  51. package/dist/components/form/form.d.ts +21 -0
  52. package/dist/components/form/form.d.ts.map +1 -0
  53. package/dist/components/form/form.stories.d.ts +8 -0
  54. package/dist/components/form/form.stories.d.ts.map +1 -0
  55. package/dist/components/form/hooks/index.d.ts +2 -0
  56. package/dist/components/form/hooks/index.d.ts.map +1 -0
  57. package/dist/components/form/hooks/useFormContext.d.ts +2 -0
  58. package/dist/components/form/hooks/useFormContext.d.ts.map +1 -0
  59. package/dist/components/form/index.d.ts +3 -0
  60. package/dist/components/form/index.d.ts.map +1 -0
  61. package/dist/components/index.d.ts +10 -0
  62. package/dist/components/index.d.ts.map +1 -0
  63. package/dist/components/input/index.d.ts +3 -0
  64. package/dist/components/input/index.d.ts.map +1 -0
  65. package/dist/components/input/input.d.ts +4 -0
  66. package/dist/components/input/input.d.ts.map +1 -0
  67. package/dist/components/input/types.d.ts +6 -0
  68. package/dist/components/input/types.d.ts.map +1 -0
  69. package/dist/components/layers/index.d.ts +2 -0
  70. package/dist/components/layers/index.d.ts.map +1 -0
  71. package/dist/components/layers/leaflet/constants.d.ts +11 -0
  72. package/dist/components/layers/leaflet/constants.d.ts.map +1 -0
  73. package/dist/components/layers/leaflet/hooks/index.d.ts +2 -0
  74. package/dist/components/layers/leaflet/hooks/index.d.ts.map +1 -0
  75. package/dist/components/layers/leaflet/hooks/useGetLeafletLayer.d.ts +29 -0
  76. package/dist/components/layers/leaflet/hooks/useGetLeafletLayer.d.ts.map +1 -0
  77. package/dist/components/layers/leaflet/index.d.ts +5 -0
  78. package/dist/components/layers/leaflet/index.d.ts.map +1 -0
  79. package/dist/components/layers/leaflet/layers/POI/constants.d.ts +3 -0
  80. package/dist/components/layers/leaflet/layers/POI/constants.d.ts.map +1 -0
  81. package/dist/components/layers/leaflet/layers/POI/index.d.ts +3 -0
  82. package/dist/components/layers/leaflet/layers/POI/index.d.ts.map +1 -0
  83. package/dist/components/layers/leaflet/layers/POI/utils.d.ts +7 -0
  84. package/dist/components/layers/leaflet/layers/POI/utils.d.ts.map +1 -0
  85. package/dist/components/layers/leaflet/layers/admin-area/constants.d.ts +2 -0
  86. package/dist/components/layers/leaflet/layers/admin-area/constants.d.ts.map +1 -0
  87. package/dist/components/layers/leaflet/layers/admin-area/index.d.ts +2 -0
  88. package/dist/components/layers/leaflet/layers/admin-area/index.d.ts.map +1 -0
  89. package/dist/components/layers/leaflet/layers/admin-area/utils.d.ts +3 -0
  90. package/dist/components/layers/leaflet/layers/admin-area/utils.d.ts.map +1 -0
  91. package/dist/components/layers/leaflet/layers/building/index.d.ts +2 -0
  92. package/dist/components/layers/leaflet/layers/building/index.d.ts.map +1 -0
  93. package/dist/components/layers/leaflet/layers/building/utils.d.ts +3 -0
  94. package/dist/components/layers/leaflet/layers/building/utils.d.ts.map +1 -0
  95. package/dist/components/layers/leaflet/layers/builtup-area/index.d.ts +2 -0
  96. package/dist/components/layers/leaflet/layers/builtup-area/index.d.ts.map +1 -0
  97. package/dist/components/layers/leaflet/layers/builtup-area/utils.d.ts +3 -0
  98. package/dist/components/layers/leaflet/layers/builtup-area/utils.d.ts.map +1 -0
  99. package/dist/components/layers/leaflet/layers/city-POI/index.d.ts +2 -0
  100. package/dist/components/layers/leaflet/layers/city-POI/index.d.ts.map +1 -0
  101. package/dist/components/layers/leaflet/layers/city-POI/utils.d.ts +3 -0
  102. package/dist/components/layers/leaflet/layers/city-POI/utils.d.ts.map +1 -0
  103. package/dist/components/layers/leaflet/layers/condition/index.d.ts +2 -0
  104. package/dist/components/layers/leaflet/layers/condition/index.d.ts.map +1 -0
  105. package/dist/components/layers/leaflet/layers/condition/types.d.ts +7 -0
  106. package/dist/components/layers/leaflet/layers/condition/types.d.ts.map +1 -0
  107. package/dist/components/layers/leaflet/layers/condition/utils.d.ts +3 -0
  108. package/dist/components/layers/leaflet/layers/condition/utils.d.ts.map +1 -0
  109. package/dist/components/layers/leaflet/layers/facility-area/index.d.ts +2 -0
  110. package/dist/components/layers/leaflet/layers/facility-area/index.d.ts.map +1 -0
  111. package/dist/components/layers/leaflet/layers/facility-area/utils.d.ts +3 -0
  112. package/dist/components/layers/leaflet/layers/facility-area/utils.d.ts.map +1 -0
  113. package/dist/components/layers/leaflet/layers/index.d.ts +17 -0
  114. package/dist/components/layers/leaflet/layers/index.d.ts.map +1 -0
  115. package/dist/components/layers/leaflet/layers/landuse-area/index.d.ts +2 -0
  116. package/dist/components/layers/leaflet/layers/landuse-area/index.d.ts.map +1 -0
  117. package/dist/components/layers/leaflet/layers/landuse-area/utils.d.ts +3 -0
  118. package/dist/components/layers/leaflet/layers/landuse-area/utils.d.ts.map +1 -0
  119. package/dist/components/layers/leaflet/layers/link/constants.d.ts +8 -0
  120. package/dist/components/layers/leaflet/layers/link/constants.d.ts.map +1 -0
  121. package/dist/components/layers/leaflet/layers/link/index.d.ts +2 -0
  122. package/dist/components/layers/leaflet/layers/link/index.d.ts.map +1 -0
  123. package/dist/components/layers/leaflet/layers/link/utils.d.ts +3 -0
  124. package/dist/components/layers/leaflet/layers/link/utils.d.ts.map +1 -0
  125. package/dist/components/layers/leaflet/layers/nature-field/index.d.ts +2 -0
  126. package/dist/components/layers/leaflet/layers/nature-field/index.d.ts.map +1 -0
  127. package/dist/components/layers/leaflet/layers/nature-field/utils.d.ts +3 -0
  128. package/dist/components/layers/leaflet/layers/nature-field/utils.d.ts.map +1 -0
  129. package/dist/components/layers/leaflet/layers/ocean-area/index.d.ts +2 -0
  130. package/dist/components/layers/leaflet/layers/ocean-area/index.d.ts.map +1 -0
  131. package/dist/components/layers/leaflet/layers/ocean-area/utils.d.ts +3 -0
  132. package/dist/components/layers/leaflet/layers/ocean-area/utils.d.ts.map +1 -0
  133. package/dist/components/layers/leaflet/layers/one-way/index.d.ts +2 -0
  134. package/dist/components/layers/leaflet/layers/one-way/index.d.ts.map +1 -0
  135. package/dist/components/layers/leaflet/layers/one-way/utils.d.ts +3 -0
  136. package/dist/components/layers/leaflet/layers/one-way/utils.d.ts.map +1 -0
  137. package/dist/components/layers/leaflet/layers/point-address/index.d.ts +2 -0
  138. package/dist/components/layers/leaflet/layers/point-address/index.d.ts.map +1 -0
  139. package/dist/components/layers/leaflet/layers/point-address/utils.d.ts +3 -0
  140. package/dist/components/layers/leaflet/layers/point-address/utils.d.ts.map +1 -0
  141. package/dist/components/layers/leaflet/layers/railroad/index.d.ts +2 -0
  142. package/dist/components/layers/leaflet/layers/railroad/index.d.ts.map +1 -0
  143. package/dist/components/layers/leaflet/layers/railroad/utils.d.ts +3 -0
  144. package/dist/components/layers/leaflet/layers/railroad/utils.d.ts.map +1 -0
  145. package/dist/components/layers/leaflet/layers/water-area/index.d.ts +2 -0
  146. package/dist/components/layers/leaflet/layers/water-area/index.d.ts.map +1 -0
  147. package/dist/components/layers/leaflet/layers/water-area/utils.d.ts +3 -0
  148. package/dist/components/layers/leaflet/layers/water-area/utils.d.ts.map +1 -0
  149. package/dist/components/layers/leaflet/layers/water-link/index.d.ts +2 -0
  150. package/dist/components/layers/leaflet/layers/water-link/index.d.ts.map +1 -0
  151. package/dist/components/layers/leaflet/layers/water-link/utils.d.ts +3 -0
  152. package/dist/components/layers/leaflet/layers/water-link/utils.d.ts.map +1 -0
  153. package/dist/components/layers/leaflet/leaflet.d.ts +4 -0
  154. package/dist/components/layers/leaflet/leaflet.d.ts.map +1 -0
  155. package/dist/components/layers/leaflet/leaflet.stories.d.ts +8 -0
  156. package/dist/components/layers/leaflet/leaflet.stories.d.ts.map +1 -0
  157. package/dist/components/layers/leaflet/types.d.ts +148 -0
  158. package/dist/components/layers/leaflet/types.d.ts.map +1 -0
  159. package/dist/components/layers/leaflet/utils.d.ts +7 -0
  160. package/dist/components/layers/leaflet/utils.d.ts.map +1 -0
  161. package/dist/components/list/index.d.ts +2 -0
  162. package/dist/components/list/index.d.ts.map +1 -0
  163. package/dist/components/list/list.d.ts +21 -0
  164. package/dist/components/list/list.d.ts.map +1 -0
  165. package/dist/components/list/list.stories.d.ts +11 -0
  166. package/dist/components/list/list.stories.d.ts.map +1 -0
  167. package/dist/components/list/stories/constants.d.ts +4 -0
  168. package/dist/components/list/stories/constants.d.ts.map +1 -0
  169. package/dist/components/list/stories/types.d.ts +5 -0
  170. package/dist/components/list/stories/types.d.ts.map +1 -0
  171. package/dist/components/no-data/index.d.ts +2 -0
  172. package/dist/components/no-data/index.d.ts.map +1 -0
  173. package/dist/components/no-data/no-data.d.ts +7 -0
  174. package/dist/components/no-data/no-data.d.ts.map +1 -0
  175. package/dist/components/paragraph/index.d.ts +2 -0
  176. package/dist/components/paragraph/index.d.ts.map +1 -0
  177. package/dist/components/paragraph/paragraph.d.ts +5 -0
  178. package/dist/components/paragraph/paragraph.d.ts.map +1 -0
  179. package/dist/components/select/index.d.ts +2 -0
  180. package/dist/components/select/index.d.ts.map +1 -0
  181. package/dist/components/select/select.d.ts +16 -0
  182. package/dist/components/select/select.d.ts.map +1 -0
  183. package/dist/components/select/select.stories.d.ts +8 -0
  184. package/dist/components/select/select.stories.d.ts.map +1 -0
  185. package/dist/components/text-field/index.d.ts +3 -0
  186. package/dist/components/text-field/index.d.ts.map +1 -0
  187. package/dist/components/text-field/text-field.d.ts +5 -0
  188. package/dist/components/text-field/text-field.d.ts.map +1 -0
  189. package/dist/components/text-field/types.d.ts +3 -0
  190. package/dist/components/text-field/types.d.ts.map +1 -0
  191. package/dist/configs/global/constants.d.ts +7 -0
  192. package/dist/configs/global/constants.d.ts.map +1 -0
  193. package/dist/configs/global/global.d.ts +18 -0
  194. package/dist/configs/global/global.d.ts.map +1 -0
  195. package/dist/configs/global/global.spec.d.ts +2 -0
  196. package/dist/configs/global/global.spec.d.ts.map +1 -0
  197. package/dist/configs/global/index.d.ts +3 -0
  198. package/dist/configs/global/index.d.ts.map +1 -0
  199. package/dist/configs/global/types.d.ts +5 -0
  200. package/dist/configs/global/types.d.ts.map +1 -0
  201. package/dist/configs/index.d.ts +2 -0
  202. package/dist/configs/index.d.ts.map +1 -0
  203. package/dist/constants/api.d.ts +7 -0
  204. package/dist/constants/api.d.ts.map +1 -0
  205. package/dist/constants/index.d.ts +4 -0
  206. package/dist/constants/index.d.ts.map +1 -0
  207. package/dist/constants/map.d.ts +7 -0
  208. package/dist/constants/map.d.ts.map +1 -0
  209. package/dist/constants/url.d.ts +2 -0
  210. package/dist/constants/url.d.ts.map +1 -0
  211. package/dist/index.cjs +661 -17
  212. package/dist/index.cjs.map +1 -1
  213. package/dist/index.d.ts +5 -0
  214. package/dist/index.d.ts.map +1 -0
  215. package/dist/index.esm.js +13 -13
  216. package/dist/index.esm.js.map +1 -1
  217. package/dist/services/api/api.service.d.ts +27 -0
  218. package/dist/services/api/api.service.d.ts.map +1 -0
  219. package/dist/services/api/index.d.ts +2 -0
  220. package/dist/services/api/index.d.ts.map +1 -0
  221. package/dist/services/index.d.ts +2 -0
  222. package/dist/services/index.d.ts.map +1 -0
  223. package/dist/setupTests.d.ts +1 -0
  224. package/dist/setupTests.d.ts.map +1 -0
  225. package/dist/types/__test__.d.ts +5 -0
  226. package/dist/types/__test__.d.ts.map +1 -0
  227. package/dist/types/global.d.ts +4 -0
  228. package/dist/types/global.d.ts.map +1 -0
  229. package/dist/types/index.d.ts +2 -0
  230. package/dist/types/index.d.ts.map +1 -0
  231. package/package.json +2 -1
@@ -0,0 +1,5 @@
1
+ import * as React from 'react';
2
+ import { DeleteButtonProps } from './types';
3
+ declare const DeleteButton: React.FC<DeleteButtonProps>;
4
+ export default DeleteButton;
5
+ //# sourceMappingURL=delete.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/delete/delete.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAc/B,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAW5C,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CA0E7C,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -0,0 +1,8 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import { DeleteButton } from '.';
3
+ declare const meta: Meta<typeof DeleteButton>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Primary: Story;
7
+ export declare const WithNotification: Story;
8
+ //# sourceMappingURL=delete.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/delete/delete.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,EAAE,YAAY,EAAE,MAAM,GAAG,CAAC;AAEjC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,YAAY,CAYnC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,KAS9B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { default as DeleteButton } from './delete';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/delete/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,UAAU,CAAC"}
@@ -0,0 +1,8 @@
1
+ export type DeleteButtonProps = {
2
+ onDelete: () => void;
3
+ notification?: {
4
+ title: string;
5
+ description: string;
6
+ };
7
+ };
8
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/delete/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,iBAAiB,GAAG;IAC9B,QAAQ,EAAE,MAAM,IAAI,CAAC;IAErB,YAAY,CAAC,EAAE;QACb,KAAK,EAAE,MAAM,CAAC;QACd,WAAW,EAAE,MAAM,CAAC;KACrB,CAAC;CACH,CAAC"}
@@ -0,0 +1,5 @@
1
+ import * as React from 'react';
2
+ import { EditButtonProps } from './types';
3
+ declare const EditButton: React.FC<EditButtonProps>;
4
+ export default EditButton;
5
+ //# sourceMappingURL=edit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"edit.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/edit/edit.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1C,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAUzC,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -0,0 +1,7 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import { EditButton } from '.';
3
+ declare const meta: Meta<typeof EditButton>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Primary: Story;
7
+ //# sourceMappingURL=edit.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"edit.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/edit/edit.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,UAAU,EAAE,MAAM,GAAG,CAAC;AAE/B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,UAAU,CAUjC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { default as EditButton } from './edit';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/edit/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,QAAQ,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { IconButton } from '@mui/material';
2
+ export type EditButtonProps = React.ComponentProps<typeof IconButton> & {};
3
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/edit/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,MAAM,MAAM,eAAe,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,UAAU,CAAC,GAAG,EAAE,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from './delete';
2
+ export * from './edit';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/buttons/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC"}
@@ -0,0 +1,16 @@
1
+ import { CheckboxProps } from '@mui/material/Checkbox';
2
+ import { Path } from 'react-hook-form';
3
+ type Props<T> = CheckboxProps & {
4
+ name: Path<T>;
5
+ label?: string;
6
+ };
7
+ /**
8
+ * Основной компонент для boolean полей в приложениях.
9
+ *
10
+ * @param {Path<T>} name Название поле в форме
11
+ * @param {string} label Заголовок поля
12
+ * @param {CheckboxProps} props Additional props to pass to the checkbox component.
13
+ */
14
+ declare function CustomCheckbox<T extends object>({ label, name, ...props }: Props<T>): import("react/jsx-runtime").JSX.Element;
15
+ export default CustomCheckbox;
16
+ //# sourceMappingURL=checkbox.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../src/components/checkbox/checkbox.tsx"],"names":[],"mappings":"AACA,OAAiB,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAGjE,OAAO,EAAc,IAAI,EAA6B,MAAM,iBAAiB,CAAC;AAe9E,KAAK,KAAK,CAAC,CAAC,IAAI,aAAa,GAAG;IAC9B,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF;;;;;;GAMG;AACH,iBAAS,cAAc,CAAC,CAAC,SAAS,MAAM,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,CAAC,CAAC,2CAmD5E;AAED,eAAe,cAAc,CAAC"}
@@ -0,0 +1,8 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import { Checkbox } from '.';
3
+ declare const meta: Meta<typeof Checkbox>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Primary: Story;
7
+ export declare const WithNoLabel: Story;
8
+ //# sourceMappingURL=checkbox.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checkbox.stories.d.ts","sourceRoot":"","sources":["../../../src/components/checkbox/checkbox.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAKvD,OAAO,EAAE,QAAQ,EAAE,MAAM,GAAG,CAAC;AAE7B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,QAAQ,CAO/B,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAgBrB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAgBzB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { default as Checkbox } from './checkbox';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/checkbox/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC"}
@@ -0,0 +1,5 @@
1
+ import * as React from 'react';
2
+ import { CustomDialogProps } from './types';
3
+ declare const CustomDialog: React.FC<CustomDialogProps>;
4
+ export default CustomDialog;
5
+ //# sourceMappingURL=dialog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dialog.d.ts","sourceRoot":"","sources":["../../../src/components/dialog/dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAE5C,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAE7C,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { default as Dialog } from './dialog';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/dialog/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC"}
@@ -0,0 +1,5 @@
1
+ export type CustomDialogProps = {
2
+ title: string;
3
+ description: string;
4
+ };
5
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/dialog/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,iBAAiB,GAAG;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { DragListProps } from './types';
2
+ declare function DragList<T>({ items, getItem, getId, onDragEnd, sx, title, draggableSx, }: DragListProps<T>): import("react/jsx-runtime").JSX.Element;
3
+ export default DragList;
4
+ //# sourceMappingURL=drag-list.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"drag-list.d.ts","sourceRoot":"","sources":["../../../src/components/drag-list/drag-list.tsx"],"names":[],"mappings":"AAgBA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAExC,iBAAS,QAAQ,CAAC,CAAC,EAAE,EACnB,KAAK,EACL,OAAO,EACP,KAAK,EACL,SAAS,EACT,EAAE,EACF,KAAK,EACL,WAAW,GACZ,EAAE,aAAa,CAAC,CAAC,CAAC,2CA4ClB;AAED,eAAe,QAAQ,CAAC"}
@@ -0,0 +1,8 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import { DragList } from '.';
3
+ type ComponentType = typeof DragList;
4
+ declare const meta: Meta<ComponentType>;
5
+ type Story = StoryObj<ComponentType>;
6
+ export declare const Base: Story;
7
+ export default meta;
8
+ //# sourceMappingURL=drag-list.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"drag-list.stories.d.ts","sourceRoot":"","sources":["../../../src/components/drag-list/drag-list.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAOvD,OAAO,EAAE,QAAQ,EAAE,MAAM,GAAG,CAAC;AAE7B,KAAK,aAAa,GAAG,OAAO,QAAQ,CAAC;AAErC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,aAAa,CAG7B,CAAC;AAEF,KAAK,KAAK,GAAG,QAAQ,CAAC,aAAa,CAAC,CAAC;AAmBrC,eAAO,MAAM,IAAI,EAAE,KAmClB,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -0,0 +1,5 @@
1
+ import * as React from 'react';
2
+ import { DraggableProps } from './types';
3
+ declare const Draggable: React.FC<React.PropsWithChildren<DraggableProps>>;
4
+ export default Draggable;
5
+ //# sourceMappingURL=draggable.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"draggable.d.ts","sourceRoot":"","sources":["../../../../src/components/drag-list/draggable/draggable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAEzC,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,iBAAiB,CAAC,cAAc,CAAC,CAgChE,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { default } from './draggable';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/drag-list/draggable/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { SxProps } from '@mui/material';
2
+ import { StringOrNumber } from '@/types';
3
+ export type DraggableProps = {
4
+ id: StringOrNumber;
5
+ sx?: {
6
+ default?: SxProps;
7
+ dragging?: SxProps;
8
+ };
9
+ };
10
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/drag-list/draggable/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAEzC,MAAM,MAAM,cAAc,GAAG;IAC3B,EAAE,EAAE,cAAc,CAAC;IAEnB,EAAE,CAAC,EAAE;QACH,OAAO,CAAC,EAAE,OAAO,CAAC;QAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;KACpB,CAAC;CACH,CAAC"}
@@ -0,0 +1,5 @@
1
+ import * as React from 'react';
2
+ import { DroppableProps } from './types';
3
+ declare const Droppable: React.FC<React.PropsWithChildren<DroppableProps>>;
4
+ export default Droppable;
5
+ //# sourceMappingURL=droppable.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"droppable.d.ts","sourceRoot":"","sources":["../../../../src/components/drag-list/droppable/droppable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAEzC,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,iBAAiB,CAAC,cAAc,CAAC,CAiBhE,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { default } from './droppable';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/drag-list/droppable/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { StringOrNumber } from '@/types';
2
+ export type DroppableProps = {
3
+ id: StringOrNumber;
4
+ };
5
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/drag-list/droppable/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAEzC,MAAM,MAAM,cAAc,GAAG;IAC3B,EAAE,EAAE,cAAc,CAAC;CACpB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { default as DragList } from './drag-list';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/drag-list/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,aAAa,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { StringOrNumber } from '@/types';
2
+ import { List } from '../list';
3
+ import Draggable from './draggable';
4
+ export type DragListProps<T> = Pick<React.ComponentProps<typeof List>, 'sx' | 'title'> & {
5
+ items: T[];
6
+ getItem: (item: T, index: number) => React.ReactNode;
7
+ getId: (item: T) => StringOrNumber;
8
+ onDragEnd: (items: T[]) => void;
9
+ draggableSx?: React.ComponentProps<typeof Draggable>['sx'];
10
+ };
11
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/drag-list/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAEzC,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAE/B,OAAO,SAAS,MAAM,aAAa,CAAC;AAEpC,MAAM,MAAM,aAAa,CAAC,CAAC,IAAI,IAAI,CACjC,KAAK,CAAC,cAAc,CAAC,OAAO,IAAI,CAAC,EACjC,IAAI,GAAG,OAAO,CACf,GAAG;IACF,KAAK,EAAE,CAAC,EAAE,CAAC;IACX,OAAO,EAAE,CAAC,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,KAAK,KAAK,CAAC,SAAS,CAAC;IAErD,KAAK,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,cAAc,CAAC;IACnC,SAAS,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,KAAK,IAAI,CAAC;IAEhC,WAAW,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,CAAC,IAAI,CAAC,CAAC;CAC5D,CAAC"}
@@ -0,0 +1,21 @@
1
+ import { SxProps } from '@mui/material';
2
+ import { FieldValues, SubmitHandler, UseFormReturn } from 'react-hook-form';
3
+ interface CustomFormProp<T extends FieldValues> {
4
+ form: UseFormReturn<T>;
5
+ onSubmit: SubmitHandler<T>;
6
+ sx?: SxProps;
7
+ }
8
+ /**
9
+ * Используем этот компонент как основную обертку для формы
10
+ * Все поля должны хранится при инициализации формы и быть доступны через контекст формы
11
+ * @template T - Интрефейс данных формы.
12
+ * @param {React.ReactNode} children - Все компоненты, которым нужен контекст фор.
13
+ * @param {UseFormReturn<T>} form - Форма useForm, которая содержит все поля.
14
+ * @param {SxProps} [sx={}] - Опциональные стили самой формы.
15
+ * @param {SubmitHandler<T>} onSubmit - Функция обработки отправки формы.
16
+ *
17
+ * @returns {JSX.Element} The rendered form component with form context.
18
+ */
19
+ declare function CustomForm<T extends FieldValues>({ form, sx, onSubmit, children, }: React.PropsWithChildren<CustomFormProp<T>>): import("react/jsx-runtime").JSX.Element;
20
+ export default CustomForm;
21
+ //# sourceMappingURL=form.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form.d.ts","sourceRoot":"","sources":["../../../src/components/form/form.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,OAAO,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EACL,WAAW,EAEX,aAAa,EACb,aAAa,EACd,MAAM,iBAAiB,CAAC;AAEzB,UAAU,cAAc,CAAC,CAAC,SAAS,WAAW;IAC5C,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;IAEvB,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;IAE3B,EAAE,CAAC,EAAE,OAAO,CAAC;CACd;AAED;;;;;;;;;;GAUG;AACH,iBAAS,UAAU,CAAC,CAAC,SAAS,WAAW,EAAE,EACzC,IAAI,EACJ,EAAO,EACP,QAAQ,EACR,QAAQ,GACT,EAAE,KAAK,CAAC,iBAAiB,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,2CAmB5C;AAED,eAAe,UAAU,CAAC"}
@@ -0,0 +1,8 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import { Form } from '.';
3
+ type FormType = typeof Form;
4
+ declare const meta: Meta<FormType>;
5
+ type Story = StoryObj<FormType>;
6
+ export declare const Base: Story;
7
+ export default meta;
8
+ //# sourceMappingURL=form.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form.stories.d.ts","sourceRoot":"","sources":["../../../src/components/form/form.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAMvD,OAAO,EAAE,IAAI,EAAE,MAAM,GAAG,CAAC;AAEzB,KAAK,QAAQ,GAAG,OAAO,IAAI,CAAC;AAE5B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,QAAQ,CAGxB,CAAC;AAOF,KAAK,KAAK,GAAG,QAAQ,CAAC,QAAQ,CAAC,CAAC;AAEhC,eAAO,MAAM,IAAI,EAAE,KAwDlB,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './useFormContext';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/form/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const useFormContext: () => import("react-hook-form").UseFormReturn<import("react-hook-form").FieldValues, any, import("react-hook-form").FieldValues>;
2
+ //# sourceMappingURL=useFormContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useFormContext.d.ts","sourceRoot":"","sources":["../../../../src/components/form/hooks/useFormContext.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,kIAI1B,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { default as Form } from './form';
2
+ export * from './hooks';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/form/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAC;AACzC,cAAc,SAAS,CAAC"}
@@ -0,0 +1,10 @@
1
+ export * from './list';
2
+ export * from './no-data';
3
+ export * from './buttons';
4
+ export * from './checkbox';
5
+ export * from './form';
6
+ export * from './select';
7
+ export * from './input';
8
+ export * from './drag-list';
9
+ export * from './layers';
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { default as Input } from './input';
2
+ export * from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/input/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAC;AAC3C,cAAc,SAAS,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { CustomInputProps } from './types';
2
+ declare function CustomInput<T>(props: CustomInputProps<T>): import("react/jsx-runtime").JSX.Element;
3
+ export default CustomInput;
4
+ //# sourceMappingURL=input.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../src/components/input/input.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAE3C,iBAAS,WAAW,CAAC,CAAC,EAAE,KAAK,EAAE,gBAAgB,CAAC,CAAC,CAAC,2CAyCjD;AAED,eAAe,WAAW,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { Path } from 'react-hook-form';
2
+ import { CustomTextFieldProps } from '../text-field';
3
+ export type CustomInputProps<T> = CustomTextFieldProps & {
4
+ name: Path<T>;
5
+ };
6
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/input/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAEvC,OAAO,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAErD,MAAM,MAAM,gBAAgB,CAAC,CAAC,IAAI,oBAAoB,GAAG;IACvD,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC;CACf,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './leaflet';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/layers/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { TangramCustomLayer, TangramSourceNames } from './types';
2
+ export declare const tile_size = 256;
3
+ export declare const sourceUrl: {
4
+ [K in TangramSourceNames]: string;
5
+ };
6
+ export declare const getRoadPolyLayers: (source: TangramSourceNames) => TangramCustomLayer[];
7
+ export declare const getLaneMarkingPolyLayers: (source: TangramSourceNames) => TangramCustomLayer[];
8
+ export declare const getLaneMarkingLineLayers: (source: TangramSourceNames) => TangramCustomLayer[];
9
+ export declare const getLaneMarkingPointLayers: (source: TangramSourceNames) => TangramCustomLayer[];
10
+ export declare const getParkingLineLayers: (source: TangramSourceNames) => TangramCustomLayer[];
11
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/components/layers/leaflet/constants.ts"],"names":[],"mappings":"AAIA,OAAO,EAAa,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAE5E,eAAO,MAAM,SAAS,MAAM,CAAC;AAE7B,eAAO,MAAM,SAAS,EAAE;KACrB,CAAC,IAAI,kBAAkB,GAAG,MAAM;CAMlC,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,QAAQ,kBAAkB,yBA2F3D,CAAC;AAEF,eAAO,MAAM,wBAAwB,GAAI,QAAQ,kBAAkB,yBAiClE,CAAC;AAEF,eAAO,MAAM,wBAAwB,GAAI,QAAQ,kBAAkB,yBA8HlE,CAAC;AAEF,eAAO,MAAM,yBAAyB,GAAI,QAAQ,kBAAkB,yBA+BnE,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,QAAQ,kBAAkB,yBAwB9D,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './useGetLeafletLayer';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/layers/leaflet/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC"}
@@ -0,0 +1,29 @@
1
+ import { Nullable } from '@/types';
2
+ import { TangramCustomLayer, TangramEventConfig, TangramLeafletLayer, TangramScene, TangramSourceConfig } from '../types';
3
+ export declare const useGetLeafletLayer: () => {
4
+ layer: Nullable<TangramLeafletLayer>;
5
+ scene: Nullable<TangramScene>;
6
+ config: Nullable<TangramEventConfig>;
7
+ addSource: (sourceConfig: TangramSourceConfig) => string[] | undefined;
8
+ getSource: (sourceName: TangramSourceConfig["name"]) => {
9
+ tile_size: number;
10
+ type: string;
11
+ url: string;
12
+ } | undefined;
13
+ updateSource: (sourceName: TangramSourceConfig["name"], newUrl: TangramSourceConfig["url"]) => string[] | undefined;
14
+ addLayer: (layer: TangramCustomLayer) => string[] | undefined;
15
+ removeLayer: (layer: TangramCustomLayer) => string[] | undefined;
16
+ addStyle: ({ name, style }: {
17
+ name: string;
18
+ style: object;
19
+ }) => void;
20
+ getLayerVisibility: (layer: TangramCustomLayer) => boolean | undefined;
21
+ toggleLayerVisibility: ({ layer, visible }: {
22
+ layer: TangramCustomLayer;
23
+ visible: boolean;
24
+ }) => boolean | undefined;
25
+ getSources: () => string[];
26
+ getLayers: () => string[];
27
+ removeLayers: () => never[] | undefined;
28
+ };
29
+ //# sourceMappingURL=useGetLeafletLayer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useGetLeafletLayer.d.ts","sourceRoot":"","sources":["../../../../../src/components/layers/leaflet/hooks/useGetLeafletLayer.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAGnC,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EAClB,mBAAmB,EACnB,YAAY,EACZ,mBAAmB,EAEpB,MAAM,UAAU,CAAC;AAGlB,eAAO,MAAM,kBAAkB;;;;8BA0BZ,mBAAmB;4BAwBrB,mBAAmB,CAAC,MAAM,CAAC;;;;;+BAa1B,mBAAmB,CAAC,MAAM,CAAC,UAC/B,mBAAmB,CAAC,KAAK,CAAC;sBAwB5B,kBAAkB;yBA+ClB,kBAAkB;gCA2BR;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE;gCAqBzC,kBAAkB;gDAgBL;QAAE,KAAK,EAAE,kBAAkB,CAAC;QAAC,OAAO,EAAE,OAAO,CAAA;KAAE;;;;CA4MvE,CAAC"}
@@ -0,0 +1,5 @@
1
+ export { default as LeafletLayer } from './leaflet';
2
+ export * from './hooks';
3
+ export * from './types';
4
+ export * from './constants';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/layers/leaflet/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,WAAW,CAAC;AACpD,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC"}
@@ -0,0 +1,3 @@
1
+ export declare const text_source = "function() {\n const { poi_name, cat_id } = feature;\n\n switch (+cat_id) {\n case 4100: {\n const text = poi_name.replaceAll(/(\u041C\u0435\u0442\u0440\u043E-|\u0421\u0442\u0430\u043D\u0446\u0438\u044F-|\u041C\u0426\u0414-)/g, \"\");\n\n return text;\n }\n\n default: {\n return poi_name;\n }\n }\n}";
2
+ export declare const catIds: number[];
3
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layers/leaflet/layers/POI/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,+UActB,CAAC;AAEH,eAAO,MAAM,MAAM,UAGlB,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from './utils';
2
+ export * from './constants';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layers/leaflet/layers/POI/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { LayerProps, TangramCustomLayer, TangramPointLayer, TangramSourceNames } from '@/components/layers/leaflet';
2
+ export declare const getDefaultPOI: (cat_id: number) => {
3
+ [x: string]: LayerProps;
4
+ };
5
+ export declare const getPOITypeLayer: (texture: string) => TangramPointLayer;
6
+ export declare const getPOILayers: (source: TangramSourceNames) => TangramCustomLayer[];
7
+ //# sourceMappingURL=utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layers/leaflet/layers/POI/utils.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,UAAU,EACV,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EACnB,MAAM,6BAA6B,CAAC;AAIrC,eAAO,MAAM,aAAa,GAAI,QAAQ,MAAM;;CAsI3C,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,SAAS,MAAM,sBAS9C,CAAC;AAUF,eAAO,MAAM,YAAY,GAAI,QAAQ,kBAAkB,yBA8BtD,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const adminAreaLayerName = "\"MapAdminArea\"";
2
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layers/leaflet/layers/admin-area/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,qBAAmB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './utils';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layers/leaflet/layers/admin-area/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { TangramCustomLayer, TangramSourceNames } from '@/components/layers/leaflet';
2
+ export declare const getAdminAreaLayers: (source: TangramSourceNames) => TangramCustomLayer[];
3
+ //# sourceMappingURL=utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layers/leaflet/layers/admin-area/utils.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,6BAA6B,CAAC;AAIrC,eAAO,MAAM,kBAAkB,GAAI,QAAQ,kBAAkB,yBAwE5D,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './utils';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layers/leaflet/layers/building/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { TangramCustomLayer, TangramSourceNames } from '@/components/layers/leaflet';
2
+ export declare const getBuildingLayers: (source: TangramSourceNames) => TangramCustomLayer[];
3
+ //# sourceMappingURL=utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layers/leaflet/layers/building/utils.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,6BAA6B,CAAC;AAErC,eAAO,MAAM,iBAAiB,GAAI,QAAQ,kBAAkB,yBA+C3D,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './utils';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layers/leaflet/layers/builtup-area/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { TangramCustomLayer, TangramSourceNames } from '@/components/layers/leaflet';
2
+ export declare const getBuiltupAreaLayers: (source: TangramSourceNames) => TangramCustomLayer[];
3
+ //# sourceMappingURL=utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layers/leaflet/layers/builtup-area/utils.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,6BAA6B,CAAC;AAErC,eAAO,MAAM,oBAAoB,GAAI,QAAQ,kBAAkB,yBAuB9D,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './utils';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layers/leaflet/layers/city-POI/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { TangramCustomLayer, TangramSourceNames } from '@/components/layers/leaflet';
2
+ export declare const getCityPOILayers: (source: TangramSourceNames) => TangramCustomLayer[];
3
+ //# sourceMappingURL=utils.d.ts.map