@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 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layers/leaflet/layers/city-POI/utils.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,6BAA6B,CAAC;AAErC,eAAO,MAAM,gBAAgB,GAAI,QAAQ,kBAAkB,yBAyE1D,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/condition/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
@@ -0,0 +1,7 @@
1
+ export declare enum ConditionTypes {
2
+ traffic_signal = "traffic_signal",
3
+ pedestrian_crossing = "pedestrian_crossing",
4
+ physical = "physical",
5
+ gate = "gate"
6
+ }
7
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layers/leaflet/layers/condition/types.ts"],"names":[],"mappings":"AAAA,oBAAY,cAAc;IACxB,cAAc,mBAAmB;IACjC,mBAAmB,wBAAwB;IAC3C,QAAQ,aAAa;IACrB,IAAI,SAAS;CACd"}
@@ -0,0 +1,3 @@
1
+ import { TangramCustomLayer, TangramSourceNames } from '@/components/layers/leaflet';
2
+ export declare const getConditionLayers: (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/condition/utils.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,6BAA6B,CAAC;AAIrC,eAAO,MAAM,kBAAkB,GAAI,QAAQ,kBAAkB,yBAmC5D,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/facility-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 getFacilityAreaLayers: (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/facility-area/utils.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,6BAA6B,CAAC;AAErC,eAAO,MAAM,qBAAqB,GAAI,QAAQ,kBAAkB,yBA6J/D,CAAC"}
@@ -0,0 +1,17 @@
1
+ export * from './builtup-area';
2
+ export * from './point-address';
3
+ export * from './POI';
4
+ export * from './city-POI';
5
+ export * from './one-way';
6
+ export * from './condition';
7
+ export * from './railroad';
8
+ export * from './water-area';
9
+ export * from './water-link';
10
+ export * from './ocean-area';
11
+ export * from './landuse-area';
12
+ export * from './building';
13
+ export * from './facility-area';
14
+ export * from './admin-area';
15
+ export * from './nature-field';
16
+ export * from './link';
17
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/layers/leaflet/layers/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,OAAO,CAAC;AACtB,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,QAAQ,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/landuse-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 getLanduseAreaLayers: (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/landuse-area/utils.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,6BAA6B,CAAC;AAErC,eAAO,MAAM,oBAAoB,GAAI,QAAQ,kBAAkB,yBAyI9D,CAAC"}
@@ -0,0 +1,8 @@
1
+ export declare const linkLayerName = "\"Link\"";
2
+ export declare const zLvlOrders: string[];
3
+ export declare const functionInterval: number[][];
4
+ export declare const colorFunction = "function() {\n const { functional_class, tunnel, tollway } = feature;\n\n const alpha = tunnel ? 0.89 : 1;\n\n const getRGB = (hex, alpha) => {\n const r = +(parseInt(hex.slice(1, 3), 16) / 255).toFixed(2);\n const g = +(parseInt(hex.slice(3, 5), 16) / 255).toFixed(2);\n const b = +(parseInt(hex.slice(5, 7), 16) / 255).toFixed(2);\n\n return [r, g, b, alpha];\n }\n\n if (tollway) {\n return '#D72740';\n }\n\n switch (functional_class) {\n case 1:\n case 2: {\n const color = getRGB('#D1747F', alpha);\n\n return color;\n }\n\n case 3:\n case 4: {\n const color = getRGB('#B1A7AA', alpha);\n\n return color;\n }\n\n case 5: {\n const color = getRGB('#D5CEC3', alpha);\n\n return color;\n }\n }\n}";
5
+ export declare const widthFunction = "function() {\n const { functional_class, road_number } = feature;\n\n const getScale = () => {\n if ($zoom <= 15 && $zoom >= 14) { return 7; }\n\n if ($zoom <= 13 && $zoom >= 12) { return 9; }\n\n if ($zoom <= 5) { return 400; }\n\n if ($zoom <= 7) { return 200; }\n\n if ($zoom < 12) { return 50; }\n\n return 1;\n }\n\n const scale = getScale();\n\n switch(functional_class) {\n case 1:\n case 2: {\n return 8 * scale;\n }\n\n case 3:\n case 4: {\n return 7 * scale;\n }\n\n case 5: {\n if (Boolean(road_number)) {\n return 7 * scale;\n }\n\n return 6;\n }\n }\n}";
6
+ export declare const outlineColorFunction = "function() {\n const { functional_class, access_id, tollway } = feature;\n\n if (tollway) {\n return '#B9263B';\n }\n\n switch(functional_class) {\n case 5: {\n return '#989898';\n }\n\n case 3:\n case 4: {\n return '#8F6E78';\n }\n\n case 1:\n case 2: {\n return '#9A414B';\n }\n }\n}";
7
+ export declare const outlineWidthFunction = "function() {\n const { functional_class, access_id } = feature;\n\n switch(functional_class) {\n case 5: {\n switch (access_id) {\n case 32: {\n return 0;\n }\n\n default: {\n return 1;\n }\n }\n }\n\n default: {\n return 1;\n }\n }\n}";
8
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layers/leaflet/layers/link/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,aAAW,CAAC;AAEtC,eAAO,MAAM,UAAU,UAWtB,CAAC;AAEF,eAAO,MAAM,gBAAgB,YAAwB,CAAC;AAEtD,eAAO,MAAM,aAAa,6wBAsCxB,CAAC;AAEH,eAAO,MAAM,aAAa,0oBAsCxB,CAAC;AAEH,eAAO,MAAM,oBAAoB,iVAsB/B,CAAC;AAEH,eAAO,MAAM,oBAAoB,4TAoB/B,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/link/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { TangramCustomLayer, TangramSourceNames } from '@/components/layers/leaflet';
2
+ export declare const getLinkLayers: (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/link/utils.ts"],"names":[],"mappings":"AAEA,OAAO,EAEL,kBAAkB,EAElB,kBAAkB,EACnB,MAAM,6BAA6B,CAAC;AAYrC,eAAO,MAAM,aAAa,GAAI,QAAQ,kBAAkB,yBA+MvD,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/nature-field/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { TangramCustomLayer, TangramSourceNames } from '@/components/layers/leaflet';
2
+ export declare const getNatureFieldLayers: (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/nature-field/utils.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,6BAA6B,CAAC;AAErC,eAAO,MAAM,oBAAoB,GAAI,QAAQ,kBAAkB,yBAkB9D,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/ocean-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 getOceanAreaLayers: (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/ocean-area/utils.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,6BAA6B,CAAC;AAErC,eAAO,MAAM,kBAAkB,GAAI,QAAQ,kBAAkB,yBAuC5D,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/one-way/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { TangramCustomLayer, TangramSourceNames } from '@/components/layers/leaflet';
2
+ export declare const getOneWayLayers: (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/one-way/utils.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,6BAA6B,CAAC;AAErC,eAAO,MAAM,eAAe,GAAI,QAAQ,kBAAkB,yBAwBzD,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/point-address/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { TangramCustomLayer, TangramSourceNames } from '@/components/layers/leaflet';
2
+ export declare const getPointAddressLayers: (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/point-address/utils.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,6BAA6B,CAAC;AAErC,eAAO,MAAM,qBAAqB,GAAI,QAAQ,kBAAkB,yBAuB/D,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/railroad/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { TangramCustomLayer, TangramSourceNames } from '@/components/layers/leaflet';
2
+ export declare const getRailroadLayers: (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/railroad/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/water-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 getWaterAreaLayers: (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/water-area/utils.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,6BAA6B,CAAC;AAErC,eAAO,MAAM,kBAAkB,GAAI,QAAQ,kBAAkB,yBAyF5D,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/water-link/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { TangramCustomLayer, TangramSourceNames } from '@/components/layers/leaflet';
2
+ export declare const getWaterLinkLayers: (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/water-link/utils.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,6BAA6B,CAAC;AAErC,eAAO,MAAM,kBAAkB,GAAI,QAAQ,kBAAkB,yBA+C5D,CAAC"}
@@ -0,0 +1,4 @@
1
+ import * as React from 'react';
2
+ declare const LeafletLayer: React.FC;
3
+ export default LeafletLayer;
4
+ //# sourceMappingURL=leaflet.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"leaflet.d.ts","sourceRoot":"","sources":["../../../../src/components/layers/leaflet/leaflet.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAYzB,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -0,0 +1,8 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import 'leaflet/dist/leaflet.css';
3
+ import { LeafletLayer } from '.';
4
+ declare const meta: Meta<typeof LeafletLayer>;
5
+ export default meta;
6
+ type Story = StoryObj<typeof meta>;
7
+ export declare const Primary: Story;
8
+ //# sourceMappingURL=leaflet.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"leaflet.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/layers/leaflet/leaflet.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAMvD,OAAO,0BAA0B,CAAC;AAElC,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,KAoBrB,CAAC"}
@@ -0,0 +1,148 @@
1
+ import { StringOrNumber } from '@/types';
2
+ export type TangramLeafletLayerEvent = {
3
+ leaflet_event: {
4
+ latlng: L.LatLng;
5
+ };
6
+ feature?: {
7
+ source_layer: '"PointAddress"' | '"MapBuildingECArea"';
8
+ properties: {
9
+ address: string;
10
+ point_address_id: string;
11
+ link_id: string;
12
+ arrival_link_id: string;
13
+ street_address_id: string;
14
+ };
15
+ };
16
+ };
17
+ export type LayerText = {
18
+ order?: number;
19
+ interactive?: boolean;
20
+ text_source: string;
21
+ priority?: string;
22
+ font?: {
23
+ fill?: string;
24
+ size?: StringOrNumber;
25
+ weight?: StringOrNumber;
26
+ underline?: boolean;
27
+ stroke?: {
28
+ color?: string;
29
+ width?: StringOrNumber;
30
+ };
31
+ background?: {
32
+ color?: string;
33
+ };
34
+ };
35
+ };
36
+ export type TangramPointLayer = {
37
+ texture?: string;
38
+ sprite?: 'base';
39
+ placement?: 'midpoint';
40
+ angle?: string;
41
+ size?: StringOrNumber | [number, number];
42
+ order?: number;
43
+ text?: LayerText;
44
+ };
45
+ export type TangramLayerDraw = {
46
+ polygons?: {
47
+ color?: string;
48
+ order?: StringOrNumber;
49
+ height?: {
50
+ property: 'height';
51
+ };
52
+ interactive?: boolean;
53
+ };
54
+ lines?: {
55
+ dash?: number[];
56
+ color?: string;
57
+ width?: StringOrNumber;
58
+ cap?: 'round';
59
+ join?: 'round';
60
+ order?: number;
61
+ interactive?: boolean;
62
+ outline?: {
63
+ color?: string;
64
+ width?: StringOrNumber;
65
+ };
66
+ };
67
+ points?: TangramPointLayer;
68
+ text?: LayerText;
69
+ styles?: {
70
+ [K in string]: {
71
+ color?: string;
72
+ order?: number;
73
+ };
74
+ };
75
+ };
76
+ export type LayerProps = {
77
+ visible?: boolean;
78
+ filter?: string;
79
+ extruded?: {
80
+ draw?: {
81
+ polygons?: {
82
+ interactive?: boolean;
83
+ style?: string;
84
+ extrude?: string;
85
+ };
86
+ };
87
+ };
88
+ draw?: TangramLayerDraw;
89
+ };
90
+ export type LayerData = {
91
+ source: string;
92
+ layer: string;
93
+ minzoom?: number;
94
+ };
95
+ export type TangramCustomLayer = LayerProps & {
96
+ readonly id: string;
97
+ data: LayerData;
98
+ sublayers?: {
99
+ [K in string]?: LayerProps;
100
+ };
101
+ };
102
+ export type TangramEventConfig = {
103
+ layers: {
104
+ [K in string]: TangramCustomLayer;
105
+ };
106
+ sources: {
107
+ [K in string]: {
108
+ tile_size: number;
109
+ type: string;
110
+ url: string;
111
+ };
112
+ };
113
+ styles: {
114
+ [K in string]: object;
115
+ };
116
+ };
117
+ export type TangramEvent = {
118
+ config: TangramEventConfig;
119
+ };
120
+ export interface TangramSourceConfig {
121
+ name: TangramSourceNames;
122
+ tile_size: number;
123
+ type: 'MVT' | 'GeoJSON' | 'TopoJSON' | 'Raster';
124
+ url: string;
125
+ }
126
+ export type TangramScene = {
127
+ updateConfig: (props?: {
128
+ rebuild: boolean;
129
+ }) => void;
130
+ subscribe: (props: {
131
+ load: (event: TangramEvent) => void;
132
+ }) => void;
133
+ setDataSource: (name: string, source: TangramSourceConfig) => Promise<void>;
134
+ };
135
+ export type TangramLeafletLayer = L.Layer & {
136
+ setSelectionEvents: (props: {
137
+ click?: (event: TangramLeafletLayerEvent) => void;
138
+ hover?: (event: TangramLeafletLayerEvent) => void;
139
+ }) => void;
140
+ scene: TangramScene;
141
+ };
142
+ export declare enum TangramSourceNames {
143
+ TILE = "tile",
144
+ NATURE_TILE = "nature_tile",
145
+ MSK = "msk"
146
+ }
147
+ export type GetLayersFunction = (source: TangramSourceNames) => TangramCustomLayer[];
148
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/layers/leaflet/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAEzC,MAAM,MAAM,wBAAwB,GAAG;IACrC,aAAa,EAAE;QACb,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC;KAClB,CAAC;IACF,OAAO,CAAC,EAAE;QACR,YAAY,EAAE,gBAAgB,GAAG,qBAAqB,CAAC;QACvD,UAAU,EAAE;YACV,OAAO,EAAE,MAA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1B,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,wBAAwB,KAAK,IAAI,CAAC;QAClD,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,wBAAwB,KAAK,IAAI,CAAC;KACnD,KAAK,IAAI,CAAC;IACX,KAAK,EAAE,YAAY,CAAC;CACrB,CAAC;AAEF,oBAAY,kBAAkB;IAC5B,IAAI,SAAS;IACb,WAAW,gBAAgB;IAC3B,GAAG,QAAQ;CACZ;AAED,MAAM,MAAM,iBAAiB,GAAG,CAC9B,MAAM,EAAE,kBAAkB,KACvB,kBAAkB,EAAE,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { TangramCustomLayer } from './types';
2
+ export declare const getLayerName: ({ id, data: { source, layer }, }: TangramCustomLayer) => string;
3
+ export declare const setLayerOrder: ({ layer, order, }: {
4
+ layer: TangramCustomLayer;
5
+ order: number;
6
+ }) => TangramCustomLayer;
7
+ //# sourceMappingURL=utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/components/layers/leaflet/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAE7C,eAAO,MAAM,YAAY,GAAI,kCAG1B,kBAAkB,WAIpB,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,mBAG3B;IACD,KAAK,EAAE,kBAAkB,CAAC;IAC1B,KAAK,EAAE,MAAM,CAAC;CACf,uBA0FA,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { default as List } from './list';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/list/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAC"}
@@ -0,0 +1,21 @@
1
+ import * as React from 'react';
2
+ import { SxProps } from '@mui/material';
3
+ import { StringOrNumber } from '@/types';
4
+ interface CustomListProps<T> {
5
+ items: T[];
6
+ columnsCount?: number;
7
+ title?: string;
8
+ getContent: (item: T, index: number) => React.JSX.Element;
9
+ getKey: (item: T, index: number) => StringOrNumber;
10
+ onClick?: (item: T, index: number) => void;
11
+ sx?: {
12
+ root?: SxProps;
13
+ list?: SxProps;
14
+ title?: SxProps;
15
+ item?: SxProps;
16
+ };
17
+ isShowNoData?: boolean;
18
+ }
19
+ declare function CustomList<T>({ items, columnsCount, getContent, title, getKey, onClick, sx, isShowNoData, }: CustomListProps<T>): import("react/jsx-runtime").JSX.Element;
20
+ export default CustomList;
21
+ //# sourceMappingURL=list.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/components/list/list.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAuB,OAAO,EAAc,MAAM,eAAe,CAAC;AAEzE,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAIzC,UAAU,eAAe,CAAC,CAAC;IACzB,KAAK,EAAE,CAAC,EAAE,CAAC;IACX,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,UAAU,EAAE,CAAC,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,KAAK,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC;IAC1D,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,KAAK,cAAc,CAAC;IACnD,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAE3C,EAAE,CAAC,EAAE;QACH,IAAI,CAAC,EAAE,OAAO,CAAC;QACf,IAAI,CAAC,EAAE,OAAO,CAAC;QACf,KAAK,CAAC,EAAE,OAAO,CAAC;QAChB,IAAI,CAAC,EAAE,OAAO,CAAC;KAChB,CAAC;IAEF,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,iBAAS,UAAU,CAAC,CAAC,EAAE,EACrB,KAAK,EACL,YAAgB,EAChB,UAAU,EACV,KAAK,EACL,MAAM,EACN,OAAO,EACP,EAAE,EAEF,YAAmB,GACpB,EAAE,eAAe,CAAC,CAAC,CAAC,2CA0DpB;AAED,eAAe,UAAU,CAAC"}
@@ -0,0 +1,11 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import { List } from '.';
3
+ declare const meta: Meta<typeof List>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Primary: Story;
7
+ export declare const Empty: Story;
8
+ export declare const EmptyAndTitle: Story;
9
+ export declare const EmptyNoShow: Story;
10
+ export declare const WithTitle: Story;
11
+ //# sourceMappingURL=list.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list.stories.d.ts","sourceRoot":"","sources":["../../../src/components/list/list.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAIvD,OAAO,EAAE,IAAI,EAAE,MAAM,GAAG,CAAC;AAEzB,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,IAAI,CAO3B,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAWrB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAWnB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAY3B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAYzB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAYvB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { _TestItem } from './types';
2
+ export declare const emptyItems: _TestItem[];
3
+ export declare const defaultItems: _TestItem[];
4
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/components/list/stories/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,eAAO,MAAM,UAAU,EAAE,SAAS,EAAO,CAAC;AAE1C,eAAO,MAAM,YAAY,EAAE,SAAS,EAenC,CAAC"}
@@ -0,0 +1,5 @@
1
+ export type _TestItem = {
2
+ id: number;
3
+ name: string;
4
+ };
5
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/list/stories/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG;IACtB,EAAE,EAAE,MAAM,CAAC;IAEX,IAAI,EAAE,MAAM,CAAC;CACd,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { default as NoData } from './no-data';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/no-data/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,WAAW,CAAC"}
@@ -0,0 +1,7 @@
1
+ import * as React from 'react';
2
+ interface NoDataProps {
3
+ text?: string;
4
+ }
5
+ declare const NoData: React.FC<NoDataProps>;
6
+ export default NoData;
7
+ //# sourceMappingURL=no-data.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"no-data.d.ts","sourceRoot":"","sources":["../../../src/components/no-data/no-data.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,UAAU,WAAW;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,QAAA,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAWjC,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { default as Paragraph } from './paragraph';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/paragraph/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC"}
@@ -0,0 +1,5 @@
1
+ import * as React from 'react';
2
+ import { TypographyProps } from '@mui/material/Typography';
3
+ declare const Paragraph: React.FC<React.PropsWithChildren<TypographyProps>>;
4
+ export default Paragraph;
5
+ //# sourceMappingURL=paragraph.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"paragraph.d.ts","sourceRoot":"","sources":["../../../src/components/paragraph/paragraph.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAmB,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAEvE,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,iBAAiB,CAAC,eAAe,CAAC,CAejE,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { default as Select } from './select';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/select/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC"}
@@ -0,0 +1,16 @@
1
+ import * as React from 'react';
2
+ import { SxProps } from '@mui/material';
3
+ import { FieldValues, Path, PathValue } from 'react-hook-form';
4
+ import { StringOrNumber } from '@/types';
5
+ interface SelectProps<V, O> {
6
+ name: Path<V>;
7
+ items: O[];
8
+ label: string;
9
+ sx?: SxProps;
10
+ getLabel: (item: O) => string;
11
+ getKey: (item: O) => StringOrNumber;
12
+ getValue: (item: O) => PathValue<V, Path<V>>;
13
+ }
14
+ declare function CustomSelect<V extends FieldValues, O>({ name, items, label, sx, getLabel, getValue, getKey, }: SelectProps<V, O>): React.ReactNode;
15
+ export default CustomSelect;
16
+ //# sourceMappingURL=select.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../src/components/select/select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,SAAS,EAAkB,MAAM,iBAAiB,CAAC;AAE/E,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAIzC,UAAU,WAAW,CAAC,CAAC,EAAE,CAAC;IACxB,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC;IACd,KAAK,EAAE,CAAC,EAAE,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IAEd,EAAE,CAAC,EAAE,OAAO,CAAC;IAEb,QAAQ,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,MAAM,CAAC;IAC9B,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,cAAc,CAAC;IACpC,QAAQ,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;CAC9C;AAED,iBAAS,YAAY,CAAC,CAAC,SAAS,WAAW,EAAE,CAAC,EAAE,EAC9C,IAAI,EACJ,KAAK,EACL,KAAK,EAEL,EAAE,EAEF,QAAQ,EACR,QAAQ,EACR,MAAM,GACP,EAAE,WAAW,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,KAAK,CAAC,SAAS,CA4BrC;AAED,eAAe,YAAY,CAAC"}
@@ -0,0 +1,8 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import { Select } from '.';
3
+ declare const meta: Meta<typeof Select>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Primary: Story;
7
+ export declare const WithDefaultValue: Story;
8
+ //# sourceMappingURL=select.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"select.stories.d.ts","sourceRoot":"","sources":["../../../src/components/select/select.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAKvD,OAAO,EAAE,MAAM,EAAE,MAAM,GAAG,CAAC;AAE3B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,MAAM,CAO7B,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAsBnC,eAAO,MAAM,OAAO,EAAE,KA2BrB,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,KA+B9B,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { default as TextField } from './text-field';
2
+ export * from './types';
3
+ //# sourceMappingURL=index.d.ts.map