@dartcom/ui-kit 10.1.20 → 10.1.23

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 (126) hide show
  1. package/dist/components/buttons/button/index.d.ts +1 -1
  2. package/dist/components/buttons/button/index.d.ts.map +1 -1
  3. package/dist/components/buttons/icon/constants.d.ts +12 -0
  4. package/dist/components/buttons/icon/constants.d.ts.map +1 -0
  5. package/dist/components/buttons/icon/icon.d.ts +5 -0
  6. package/dist/components/buttons/icon/icon.d.ts.map +1 -0
  7. package/dist/components/buttons/icon/index.d.ts +2 -0
  8. package/dist/components/buttons/icon/index.d.ts.map +1 -0
  9. package/dist/components/buttons/icon/types.d.ts +10 -0
  10. package/dist/components/buttons/icon/types.d.ts.map +1 -0
  11. package/dist/components/buttons/index.d.ts +2 -3
  12. package/dist/components/buttons/index.d.ts.map +1 -1
  13. package/dist/components/date-field/date-field.d.ts.map +1 -1
  14. package/dist/components/form/error-message/error-message.d.ts +4 -0
  15. package/dist/components/form/error-message/error-message.d.ts.map +1 -0
  16. package/dist/components/form/error-message/index.d.ts +2 -0
  17. package/dist/components/form/error-message/index.d.ts.map +1 -0
  18. package/dist/components/form/error-message/types.d.ts +5 -0
  19. package/dist/components/form/error-message/types.d.ts.map +1 -0
  20. package/dist/components/form/index.d.ts +1 -0
  21. package/dist/components/form/index.d.ts.map +1 -1
  22. package/dist/components/index.d.ts +10 -9
  23. package/dist/components/index.d.ts.map +1 -1
  24. package/dist/components/input/index.d.ts +1 -1
  25. package/dist/components/input/index.d.ts.map +1 -1
  26. package/dist/components/input/input.d.ts.map +1 -1
  27. package/dist/components/layers/leaflet/config/index.d.ts.map +1 -1
  28. package/dist/components/layers/leaflet/config/schema.d.ts +7 -8
  29. package/dist/components/layers/leaflet/config/schema.d.ts.map +1 -1
  30. package/dist/components/layers/leaflet/index.d.ts +1 -1
  31. package/dist/components/layers/leaflet/index.d.ts.map +1 -1
  32. package/dist/components/layers/leaflet/layers/POI/index.d.ts +1 -1
  33. package/dist/components/layers/leaflet/layers/POI/index.d.ts.map +1 -1
  34. package/dist/components/layers/leaflet/layers/camera/config/constants.d.ts +1 -0
  35. package/dist/components/layers/leaflet/layers/camera/config/constants.d.ts.map +1 -1
  36. package/dist/components/layers/leaflet/layers/camera/index.d.ts.map +1 -1
  37. package/dist/components/layers/leaflet/layers/camera/lib/index.d.ts +1 -1
  38. package/dist/components/layers/leaflet/layers/camera/lib/index.d.ts.map +1 -1
  39. package/dist/components/layers/leaflet/layers/camera/lib/types.d.ts +6 -2
  40. package/dist/components/layers/leaflet/layers/camera/lib/types.d.ts.map +1 -1
  41. package/dist/components/layers/leaflet/layers/camera/lib/utils.d.ts +3 -0
  42. package/dist/components/layers/leaflet/layers/camera/lib/utils.d.ts.map +1 -1
  43. package/dist/components/layers/leaflet/layers/camera/ui/forms/create/create.d.ts.map +1 -1
  44. package/dist/components/layers/leaflet/layers/camera/ui/forms/create/index.d.ts +1 -1
  45. package/dist/components/layers/leaflet/layers/camera/ui/forms/create/index.d.ts.map +1 -1
  46. package/dist/components/layers/leaflet/layers/camera/ui/forms/create/types.d.ts +4 -2
  47. package/dist/components/layers/leaflet/layers/camera/ui/forms/create/types.d.ts.map +1 -1
  48. package/dist/components/layers/leaflet/layers/camera/ui/forms/fixing-types/fixing-types.d.ts +5 -0
  49. package/dist/components/layers/leaflet/layers/camera/ui/forms/fixing-types/fixing-types.d.ts.map +1 -0
  50. package/dist/components/layers/leaflet/layers/camera/ui/forms/fixing-types/index.d.ts +2 -0
  51. package/dist/components/layers/leaflet/layers/camera/ui/forms/fixing-types/index.d.ts.map +1 -0
  52. package/dist/components/layers/leaflet/layers/camera/ui/forms/fixing-types/types.d.ts +2 -0
  53. package/dist/components/layers/leaflet/layers/camera/ui/forms/fixing-types/types.d.ts.map +1 -0
  54. package/dist/components/layers/leaflet/layers/camera/ui/forms/index.d.ts +1 -1
  55. package/dist/components/layers/leaflet/layers/camera/ui/forms/schema.d.ts +9 -2
  56. package/dist/components/layers/leaflet/layers/camera/ui/forms/schema.d.ts.map +1 -1
  57. package/dist/components/layers/leaflet/layers/camera/ui/forms/update/index.d.ts +1 -1
  58. package/dist/components/layers/leaflet/layers/camera/ui/forms/update/index.d.ts.map +1 -1
  59. package/dist/components/layers/leaflet/layers/camera/ui/forms/update/types.d.ts +5 -3
  60. package/dist/components/layers/leaflet/layers/camera/ui/forms/update/types.d.ts.map +1 -1
  61. package/dist/components/layers/leaflet/layers/camera/ui/forms/update/update.d.ts.map +1 -1
  62. package/dist/components/layers/leaflet/layers/camera/ui/forms/update/update.stories.d.ts.map +1 -1
  63. package/dist/components/layers/leaflet/layers/index.d.ts +13 -13
  64. package/dist/components/layers/leaflet/layers/index.d.ts.map +1 -1
  65. package/dist/components/layers/leaflet/layers/pillar/index.d.ts.map +1 -1
  66. package/dist/components/layers/leaflet/layers/pillar/lib/index.d.ts.map +1 -1
  67. package/dist/components/layers/leaflet/layers/traffic-sign/config/constants.d.ts +9 -6
  68. package/dist/components/layers/leaflet/layers/traffic-sign/config/constants.d.ts.map +1 -1
  69. package/dist/components/layers/leaflet/layers/traffic-sign/index.d.ts.map +1 -1
  70. package/dist/components/layers/leaflet/layers/traffic-sign/lib/index.d.ts.map +1 -1
  71. package/dist/components/layers/leaflet/layers/traffic-sign/lib/utils.d.ts +2 -2
  72. package/dist/components/layers/leaflet/layers/traffic-sign/lib/utils.d.ts.map +1 -1
  73. package/dist/components/layers/leaflet/layers/traffic-sign/traffic-sign-dop/ui/forms/index.d.ts +1 -1
  74. package/dist/components/layers/leaflet/layers/traffic-sign/ui/forms/create/create.d.ts.map +1 -1
  75. package/dist/components/layers/leaflet/layers/traffic-sign/ui/forms/create/index.d.ts +1 -1
  76. package/dist/components/layers/leaflet/layers/traffic-sign/ui/forms/create/index.d.ts.map +1 -1
  77. package/dist/components/layers/leaflet/layers/traffic-sign/ui/forms/create/schema.d.ts.map +1 -1
  78. package/dist/components/layers/leaflet/layers/traffic-sign/ui/forms/index.d.ts +1 -1
  79. package/dist/components/layers/leaflet/layers/traffic-sign/ui/forms/schema.d.ts +4 -3
  80. package/dist/components/layers/leaflet/layers/traffic-sign/ui/forms/schema.d.ts.map +1 -1
  81. package/dist/components/layers/leaflet/layers/traffic-sign/ui/forms/update/index.d.ts +1 -1
  82. package/dist/components/layers/leaflet/layers/traffic-sign/ui/forms/update/index.d.ts.map +1 -1
  83. package/dist/components/layers/leaflet/layers/traffic-sign/ui/forms/update/update.d.ts.map +1 -1
  84. package/dist/components/layers/leaflet/layers/traffic-sign/ui/index.d.ts +3 -3
  85. package/dist/components/layers/leaflet/layers/traffic-sign/ui/index.d.ts.map +1 -1
  86. package/dist/components/layers/leaflet/layers/traffic-sign/ui/table/styles.d.ts +1 -1
  87. package/dist/components/layers/leaflet/layers/traffic-signal/config/constants.d.ts +5 -2
  88. package/dist/components/layers/leaflet/layers/traffic-signal/config/constants.d.ts.map +1 -1
  89. package/dist/components/layers/leaflet/layers/traffic-signal/index.d.ts.map +1 -1
  90. package/dist/components/layers/leaflet/layers/traffic-signal/lib/index.d.ts.map +1 -1
  91. package/dist/components/layers/leaflet/layers/traffic-signal/ui/forms/create/index.d.ts +1 -1
  92. package/dist/components/layers/leaflet/layers/traffic-signal/ui/forms/create/index.d.ts.map +1 -1
  93. package/dist/components/layers/leaflet/layers/traffic-signal/ui/forms/index.d.ts +1 -1
  94. package/dist/components/layers/leaflet/layers/traffic-signal/ui/forms/schema.d.ts +8 -9
  95. package/dist/components/layers/leaflet/layers/traffic-signal/ui/forms/schema.d.ts.map +1 -1
  96. package/dist/components/layers/leaflet/layers/traffic-signal/ui/forms/update/index.d.ts +1 -1
  97. package/dist/components/layers/leaflet/layers/traffic-signal/ui/forms/update/index.d.ts.map +1 -1
  98. package/dist/components/layers/leaflet/lib/index.d.ts +1 -1
  99. package/dist/components/layers/leaflet/lib/index.d.ts.map +1 -1
  100. package/dist/components/select/index.d.ts +1 -1
  101. package/dist/components/select/index.d.ts.map +1 -1
  102. package/dist/components/text-field/index.d.ts +1 -1
  103. package/dist/components/text-field/index.d.ts.map +1 -1
  104. package/dist/components/uploader/index.d.ts +1 -1
  105. package/dist/components/uploader/index.d.ts.map +1 -1
  106. package/dist/configs/global/index.d.ts +1 -1
  107. package/dist/configs/global/index.d.ts.map +1 -1
  108. package/dist/constants/schema.d.ts +9 -0
  109. package/dist/constants/schema.d.ts.map +1 -0
  110. package/dist/index.cjs +22752 -22645
  111. package/dist/index.cjs.map +1 -1
  112. package/dist/index.d.ts +4 -4
  113. package/dist/index.d.ts.map +1 -1
  114. package/dist/index.esm.js +13 -9
  115. package/dist/index.esm.js.map +1 -1
  116. package/dist/lib/hooks/index.d.ts +2 -2
  117. package/dist/lib/hooks/index.d.ts.map +1 -1
  118. package/dist/lib/index.d.ts +1 -1
  119. package/dist/lib/index.d.ts.map +1 -1
  120. package/dist/providers/index.d.ts +2 -2
  121. package/dist/providers/index.d.ts.map +1 -1
  122. package/dist/providers/mobx/index.d.ts +1 -1
  123. package/dist/providers/mobx/index.d.ts.map +1 -1
  124. package/dist/services/api/index.d.ts +1 -1
  125. package/dist/services/api/index.d.ts.map +1 -1
  126. package/package.json +3 -1
@@ -1,3 +1,3 @@
1
- export { default as Button } from './button';
2
1
  export * from './types';
2
+ export { default as Button } from './button';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/button/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/button/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AAExB,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC"}
@@ -0,0 +1,12 @@
1
+ export declare const icons: {
2
+ reset: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
3
+ muiName: string;
4
+ };
5
+ edit: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
6
+ muiName: string;
7
+ };
8
+ move: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
9
+ muiName: string;
10
+ };
11
+ };
12
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/icon/constants.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,KAAK;;;;;;;;;;CAIjB,CAAC"}
@@ -0,0 +1,5 @@
1
+ import * as React from 'react';
2
+ import { IconButtonProps } from './types';
3
+ declare const IconButton: React.FC<IconButtonProps>;
4
+ export default IconButton;
5
+ //# sourceMappingURL=icon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/icon/icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1C,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAwBzC,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { default as IconButton } from './icon';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/icon/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,QAAQ,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { IconButton, IconProps } from '@mui/material';
2
+ import { icons } from './constants';
3
+ export type IconButtonProps = React.ComponentProps<typeof IconButton> & {
4
+ iconProps: {
5
+ name: keyof typeof icons;
6
+ color?: IconProps['color'];
7
+ };
8
+ title?: React.ReactNode;
9
+ };
10
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/icon/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAEtD,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEpC,MAAM,MAAM,eAAe,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,UAAU,CAAC,GAAG;IACtE,SAAS,EAAE;QACT,IAAI,EAAE,MAAM,OAAO,KAAK,CAAC;QACzB,KAAK,CAAC,EAAE,SAAS,CAAC,OAAO,CAAC,CAAC;KAC5B,CAAC;IACF,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACzB,CAAC"}
@@ -1,6 +1,5 @@
1
- export * from './delete';
2
- export * from './edit';
3
1
  export * from './button';
2
+ export * from './delete';
3
+ export * from './icon';
4
4
  export * from './upload';
5
- export * from './move';
6
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +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;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/buttons/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"date-field.d.ts","sourceRoot":"","sources":["../../../src/components/date-field/date-field.tsx"],"names":[],"mappings":"AACA,OAAO,EAAc,IAAI,EAAkB,MAAM,iBAAiB,CAAC;AAEnE,OAAO,EAEL,cAAc,IAAI,kBAAkB,EACrC,MAAM,+BAA+B,CAAC;AAIvC,KAAK,cAAc,CAAC,CAAC,IAAI,IAAI,CAAC,kBAAkB,EAAE,OAAO,GAAG,QAAQ,CAAC,GAAG;IACtE,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC;CACf,CAAC;AAEF,iBAAS,SAAS,CAAC,CAAC,EAAE,EAAE,IAAI,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,CAAC,CAAC,CAAC,2CAyB1D;AAED,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"date-field.d.ts","sourceRoot":"","sources":["../../../src/components/date-field/date-field.tsx"],"names":[],"mappings":"AACA,OAAO,EAAc,IAAI,EAAkB,MAAM,iBAAiB,CAAC;AAGnE,OAAO,EAEL,cAAc,IAAI,kBAAkB,EACrC,MAAM,+BAA+B,CAAC;AAKvC,KAAK,cAAc,CAAC,CAAC,IAAI,IAAI,CAAC,kBAAkB,EAAE,OAAO,GAAG,QAAQ,CAAC,GAAG;IACtE,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC;CACf,CAAC;AAEF,iBAAS,SAAS,CAAC,CAAC,EAAE,EAAE,IAAI,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,CAAC,CAAC,CAAC,2CAoC1D;AAED,eAAe,SAAS,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { FormErrorMessageProps } from './types';
2
+ declare function FormErrorMessage<T>({ name }: FormErrorMessageProps<T>): import("react/jsx-runtime").JSX.Element;
3
+ export default FormErrorMessage;
4
+ //# sourceMappingURL=error-message.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"error-message.d.ts","sourceRoot":"","sources":["../../../../src/components/form/error-message/error-message.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAIhD,iBAAS,gBAAgB,CAAC,CAAC,EAAE,EAAE,IAAI,EAAE,EAAE,qBAAqB,CAAC,CAAC,CAAC,2CAwB9D;AAED,eAAe,gBAAgB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { default as FormErrorMessage } from './error-message';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/form/error-message/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,iBAAiB,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { Path } from 'react-hook-form';
2
+ export type FormErrorMessageProps<T> = {
3
+ name: Path<T>;
4
+ };
5
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/form/error-message/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAEvC,MAAM,MAAM,qBAAqB,CAAC,CAAC,IAAI;IACrC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC;CACf,CAAC"}
@@ -1,3 +1,4 @@
1
+ export * from './error-message';
1
2
  export { default as Form } from './form';
2
3
  export * from './hooks';
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +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"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/form/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAC;AACzC,cAAc,SAAS,CAAC"}
@@ -1,18 +1,19 @@
1
- export * from './list';
2
- export * from './no-data';
1
+ export * from './accordion';
3
2
  export * from './buttons';
3
+ export * from './card';
4
4
  export * from './checkbox';
5
+ export * from './date-field';
6
+ export * from './drag-list';
7
+ export * from './error-boundary';
5
8
  export * from './form';
6
- export * from './select';
7
9
  export * from './input';
8
- export * from './drag-list';
9
10
  export * from './layers';
10
- export * from './card';
11
+ export * from './list';
11
12
  export * from './loader';
12
- export * from './error-boundary';
13
13
  export * from './modal';
14
- export * from './date-field';
15
- export * from './uploader';
14
+ export * from './no-data';
15
+ export * from './paragraph';
16
+ export * from './select';
16
17
  export * from './tabs';
17
- export * from './accordion';
18
+ export * from './uploader';
18
19
  //# sourceMappingURL=index.d.ts.map
@@ -1 +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;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,kBAAkB,CAAC;AACjC,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC"}
@@ -1,3 +1,3 @@
1
- export { default as Input } from './input';
2
1
  export * from './types';
2
+ export { default as Input } from './input';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +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"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/input/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AAExB,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAC"}
@@ -1 +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,2CA0CjD;AAED,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../src/components/input/input.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAE3C,iBAAS,WAAW,CAAC,CAAC,EAAE,KAAK,EAAE,gBAAgB,CAAC,CAAC,CAAC,2CAqDjD;AAED,eAAe,WAAW,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/layers/leaflet/config/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/layers/leaflet/config/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAE5B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC"}
@@ -1,13 +1,12 @@
1
- import * as yup from 'yup';
2
1
  export declare const layerDatesFieldsSchema: {
3
- future_maintanance_date: yup.DateSchema<Date, yup.AnyObject, undefined, "">;
4
- placement_date: yup.DateSchema<Date, yup.AnyObject, undefined, "">;
5
- rapair_performed_date: yup.DateSchema<Date, yup.AnyObject, undefined, "">;
6
- verification_date: yup.DateSchema<Date, yup.AnyObject, undefined, "">;
7
- warranty_expr_date: yup.DateSchema<Date, yup.AnyObject, undefined, "">;
2
+ future_maintanance_date: import("yup").DateSchema<Date, import("yup").AnyObject, undefined, "">;
3
+ placement_date: import("yup").DateSchema<Date, import("yup").AnyObject, undefined, "">;
4
+ rapair_performed_date: import("yup").DateSchema<Date, import("yup").AnyObject, undefined, "">;
5
+ verification_date: import("yup").DateSchema<Date, import("yup").AnyObject, undefined, "">;
6
+ warranty_expr_date: import("yup").DateSchema<Date, import("yup").AnyObject, undefined, "">;
8
7
  };
9
8
  export declare const layerCoordinateSchema: {
10
- lat: yup.NumberSchema<number, yup.AnyObject, undefined, "">;
11
- lon: yup.NumberSchema<number, yup.AnyObject, undefined, "">;
9
+ lat: import("yup").NumberSchema<number, import("yup").AnyObject, undefined, "">;
10
+ lon: import("yup").NumberSchema<number, import("yup").AnyObject, undefined, "">;
12
11
  };
13
12
  //# sourceMappingURL=schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../src/components/layers/leaflet/config/schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAE3B,eAAO,MAAM,sBAAsB;;;;;;CAMlC,CAAC;AAEF,eAAO,MAAM,qBAAqB;;;CAGjC,CAAC"}
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../src/components/layers/leaflet/config/schema.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,sBAAsB;;;;;;CAMlC,CAAC;AAEF,eAAO,MAAM,qBAAqB;;;CAGjC,CAAC"}
@@ -1,5 +1,5 @@
1
- export { default as LeafletLayer } from './leaflet';
2
1
  export * from './lib';
3
2
  export * from './config';
4
3
  export * from './layers';
4
+ export { default as LeafletLayer } from './leaflet';
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +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,OAAO,CAAC;AACtB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/layers/leaflet/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AAEtB,cAAc,UAAU,CAAC;AAEzB,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,WAAW,CAAC"}
@@ -1,3 +1,3 @@
1
- export * from './utils';
2
1
  export * from './constants';
2
+ export * from './utils';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +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"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layers/leaflet/layers/POI/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAE5B,cAAc,SAAS,CAAC"}
@@ -2,6 +2,7 @@ import { CameraMainFields, CreatedCamera } from '../lib';
2
2
  export declare const cameraConfig: {
3
3
  size: number;
4
4
  extension: string;
5
+ apiName: string;
5
6
  };
6
7
  export declare const cameraMainFields: CameraMainFields;
7
8
  export declare const defaultCamera: CreatedCamera;
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/layers/leaflet/layers/camera/config/constants.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAEzD,eAAO,MAAM,YAAY;;;CAGxB,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,gBAQ9B,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,aAI3B,CAAC"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/layers/leaflet/layers/camera/config/constants.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAEzD,eAAO,MAAM,YAAY;;;;CAMxB,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,gBAQ9B,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,aAI3B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layers/leaflet/layers/camera/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AACtB,cAAc,UAAU,CAAC;AACzB,cAAc,MAAM,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layers/leaflet/layers/camera/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AAEtB,cAAc,UAAU,CAAC;AAEzB,cAAc,MAAM,CAAC"}
@@ -1,3 +1,3 @@
1
- export * from './utils';
2
1
  export * from './types';
2
+ export * from './utils';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/layers/leaflet/layers/camera/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/layers/leaflet/layers/camera/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AAExB,cAAc,SAAS,CAAC"}
@@ -6,12 +6,16 @@ export type CameraIds = {
6
6
  readonly camera_id: string;
7
7
  readonly pillar_id?: Nullable<Pillar['pillar_id']>;
8
8
  };
9
+ export type CameraBackendFixingType = string;
10
+ export type CameraFrontendFixingType = {
11
+ value: string;
12
+ };
9
13
  export type CameraMainFields = {
14
+ status: TrafficStatus;
15
+ fixing_type: CameraBackendFixingType[];
10
16
  camera_model?: Nullable<string>;
11
17
  comment?: Nullable<string>;
12
- status: TrafficStatus;
13
18
  direction?: Nullable<number>;
14
- fixing_type?: Nullable<string>;
15
19
  };
16
20
  export type Camera = BackendLayerTemplate<CameraIds & CameraMainFields>;
17
21
  export type CreatedCamera = CreatedLayerTemplate<CameraMainFields>;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/layers/leaflet/layers/camera/lib/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAEnC,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EACL,oBAAoB,EACpB,oBAAoB,EACpB,oBAAoB,EACrB,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAEnC,MAAM,MAAM,SAAS,GAAG;IACtB,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,SAAS,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC;CACpD,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,YAAY,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;IAChC,OAAO,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;IAC3B,MAAM,EAAE,aAAa,CAAC;IACtB,SAAS,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;IAC7B,WAAW,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;CAChC,CAAC;AAEF,MAAM,MAAM,MAAM,GAAG,oBAAoB,CAAC,SAAS,GAAG,gBAAgB,CAAC,CAAC;AAExE,MAAM,MAAM,aAAa,GAAG,oBAAoB,CAAC,gBAAgB,CAAC,CAAC;AAEnE,MAAM,MAAM,aAAa,GAAG,oBAAoB,CAAC,SAAS,GAAG,gBAAgB,CAAC,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/layers/leaflet/layers/camera/lib/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAEnC,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EACL,oBAAoB,EACpB,oBAAoB,EACpB,oBAAoB,EACrB,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAEnC,MAAM,MAAM,SAAS,GAAG;IACtB,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,SAAS,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC;CACpD,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,MAAM,CAAC;AAE7C,MAAM,MAAM,wBAAwB,GAAG;IACrC,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,MAAM,EAAE,aAAa,CAAC;IACtB,WAAW,EAAE,uBAAuB,EAAE,CAAC;IAEvC,YAAY,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;IAChC,OAAO,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;IAC3B,SAAS,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,MAAM,GAAG,oBAAoB,CAAC,SAAS,GAAG,gBAAgB,CAAC,CAAC;AAExE,MAAM,MAAM,aAAa,GAAG,oBAAoB,CAAC,gBAAgB,CAAC,CAAC;AAEnE,MAAM,MAAM,aAAa,GAAG,oBAAoB,CAAC,SAAS,GAAG,gBAAgB,CAAC,CAAC"}
@@ -1,3 +1,6 @@
1
1
  import { TangramCustomLayer, TangramSourceNames } from '../../../lib';
2
+ import { CameraBackendFixingType, CameraFrontendFixingType } from './types';
2
3
  export declare const getCameraLayers: (source: TangramSourceNames) => TangramCustomLayer[];
4
+ export declare const getFrontendFixingType: (backendFixingTypes: CameraBackendFixingType[]) => CameraFrontendFixingType[];
5
+ export declare const getBackendFixingType: (frontendFixingTypes: CameraFrontendFixingType[]) => CameraBackendFixingType[];
3
6
  //# sourceMappingURL=utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/layers/leaflet/layers/camera/lib/utils.ts"],"names":[],"mappings":"AAGA,OAAO,EAEL,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,WAAW,CAAC;AAInB,eAAO,MAAM,eAAe,GAAI,QAAQ,kBAAkB,yBA2CzD,CAAC"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/layers/leaflet/layers/camera/lib/utils.ts"],"names":[],"mappings":"AAGA,OAAO,EAEL,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,WAAW,CAAC;AAInB,OAAO,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AAE5E,eAAO,MAAM,eAAe,GAAI,QAAQ,kBAAkB,yBA2CzD,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAChC,oBAAoB,uBAAuB,EAAE,KAC5C,wBAAwB,EAI1B,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAC/B,qBAAqB,wBAAwB,EAAE,KAC9C,uBAAuB,EAEzB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/layers/leaflet/layers/camera/ui/forms/create/create.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAsB/B,OAAO,EAAE,qBAAqB,EAA0B,MAAM,SAAS,CAAC;;AAqExE,wBAA0C"}
1
+ {"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/layers/leaflet/layers/camera/ui/forms/create/create.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAwB/B,OAAO,EAAE,qBAAqB,EAA0B,MAAM,SAAS,CAAC;;AAmFxE,wBAA0C"}
@@ -1,3 +1,3 @@
1
- export { default as CameraCreateForm } from './create';
2
1
  export * from './types';
2
+ export { default as CameraCreateForm } from './create';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/layers/leaflet/layers/camera/ui/forms/create/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,UAAU,CAAC;AACvD,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/layers/leaflet/layers/camera/ui/forms/create/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AAExB,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,UAAU,CAAC"}
@@ -1,5 +1,7 @@
1
- import { CreatedCamera } from '../../../../camera/lib';
2
- export type CameraCreateFormValues = CreatedCamera;
1
+ import { CameraFrontendFixingType, CreatedCamera } from '../../../../camera/lib';
2
+ export type CameraCreateFormValues = Omit<CreatedCamera, 'fixing_type'> & {
3
+ fixing_type: CameraFrontendFixingType[];
4
+ };
3
5
  export type CameraCreateFormProps = {
4
6
  onSubmit: (values: CreatedCamera) => void;
5
7
  };
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/layers/leaflet/layers/camera/ui/forms/create/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAE9C,MAAM,MAAM,sBAAsB,GAAG,aAAa,CAAC;AAEnD,MAAM,MAAM,qBAAqB,GAAG;IAClC,QAAQ,EAAE,CAAC,MAAM,EAAE,aAAa,KAAK,IAAI,CAAC;CAC3C,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/layers/leaflet/layers/camera/ui/forms/create/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAExE,MAAM,MAAM,sBAAsB,GAAG,IAAI,CAAC,aAAa,EAAE,aAAa,CAAC,GAAG;IACxE,WAAW,EAAE,wBAAwB,EAAE,CAAC;CACzC,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,QAAQ,EAAE,CAAC,MAAM,EAAE,aAAa,KAAK,IAAI,CAAC;CAC3C,CAAC"}
@@ -0,0 +1,5 @@
1
+ import * as React from 'react';
2
+ import { CameraFixingTypesFormProps } from './types';
3
+ declare const _default: React.FunctionComponent<CameraFixingTypesFormProps>;
4
+ export default _default;
5
+ //# sourceMappingURL=fixing-types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fixing-types.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/layers/leaflet/layers/camera/ui/forms/fixing-types/fixing-types.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAkB/B,OAAO,EAAE,0BAA0B,EAAE,MAAM,SAAS,CAAC;;AAqGrD,wBAA+C"}
@@ -0,0 +1,2 @@
1
+ export { default as CameraFixingTypesForm } from './fixing-types';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/layers/leaflet/layers/camera/ui/forms/fixing-types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,gBAAgB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export type CameraFixingTypesFormProps = {};
2
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/layers/leaflet/layers/camera/ui/forms/fixing-types/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,0BAA0B,GAAG,EAAE,CAAC"}
@@ -1,3 +1,3 @@
1
- export * from './update';
2
1
  export * from './create';
2
+ export * from './update';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1,9 +1,16 @@
1
1
  import { TrafficStatus } from '../../../../config';
2
2
  import * as yup from 'yup';
3
+ export declare const fixingTypeSchema: yup.ObjectSchema<{
4
+ value: string;
5
+ }, yup.AnyObject, {
6
+ value: undefined;
7
+ }, "">;
3
8
  export declare const mainFieldsSchema: {
4
9
  camera_model: yup.StringSchema<string | null | undefined, yup.AnyObject, undefined, "">;
5
- fixing_type: yup.StringSchema<string | null | undefined, yup.AnyObject, undefined, "">;
6
- status: yup.StringSchema<NonNullable<TrafficStatus | undefined>, yup.AnyObject, undefined, "">;
10
+ fixing_type: yup.ArraySchema<{
11
+ value: string;
12
+ }[], yup.AnyObject, "", "">;
13
+ status: yup.StringSchema<TrafficStatus, yup.AnyObject, undefined, "">;
7
14
  comment: yup.StringSchema<string | null | undefined, yup.AnyObject, undefined, "">;
8
15
  direction: yup.NumberSchema<number | null | undefined, yup.AnyObject, undefined, "">;
9
16
  };
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/layers/leaflet/layers/camera/ui/forms/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAE7C,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAE3B,eAAO,MAAM,gBAAgB;;;;;;CAM5B,CAAC;AAEF,eAAO,MAAM,eAAe;;;;;CAK3B,CAAC"}
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/layers/leaflet/layers/camera/ui/forms/schema.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAE7C,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAE3B,eAAO,MAAM,gBAAgB;;;;MAKhB,CAAC;AAEd,eAAO,MAAM,gBAAgB;;;;;;;;CAM5B,CAAC;AAEF,eAAO,MAAM,eAAe;;;;;CAK3B,CAAC"}
@@ -1,3 +1,3 @@
1
- export { default as CameraUpdateForm } from './update';
2
1
  export * from './types';
2
+ export { default as CameraUpdateForm } from './update';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/layers/leaflet/layers/camera/ui/forms/update/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,UAAU,CAAC;AACvD,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/layers/leaflet/layers/camera/ui/forms/update/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AAExB,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,UAAU,CAAC"}
@@ -1,9 +1,11 @@
1
- import { Camera, UpdatedCamera } from '../../../../camera/lib';
1
+ import { Camera, CameraFrontendFixingType, UpdatedCamera } from '../../../../camera/lib';
2
2
  export type CameraUpdateFormProps = {
3
3
  camera: Camera;
4
- onSubmit: (values: CameraUpdateFormValues) => void;
4
+ onSubmit: (values: UpdatedCamera) => void;
5
5
  onDelete: (value: Camera) => void;
6
6
  getButtons?: (camera: Camera) => React.ReactNode;
7
7
  };
8
- export type CameraUpdateFormValues = UpdatedCamera;
8
+ export type CameraUpdateFormValues = Omit<UpdatedCamera, 'fixing_type'> & {
9
+ fixing_type: CameraFrontendFixingType[];
10
+ };
9
11
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/layers/leaflet/layers/camera/ui/forms/update/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAEtD,MAAM,MAAM,qBAAqB,GAAG;IAClC,MAAM,EAAE,MAAM,CAAC;IAEf,QAAQ,EAAE,CAAC,MAAM,EAAE,sBAAsB,KAAK,IAAI,CAAC;IACnD,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAElC,UAAU,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,KAAK,CAAC,SAAS,CAAC;CAClD,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG,aAAa,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/layers/leaflet/layers/camera/ui/forms/update/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,wBAAwB,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAEhF,MAAM,MAAM,qBAAqB,GAAG;IAClC,MAAM,EAAE,MAAM,CAAC;IAEf,QAAQ,EAAE,CAAC,MAAM,EAAE,aAAa,KAAK,IAAI,CAAC;IAC1C,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAElC,UAAU,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,KAAK,CAAC,SAAS,CAAC;CAClD,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG,IAAI,CAAC,aAAa,EAAE,aAAa,CAAC,GAAG;IACxE,WAAW,EAAE,wBAAwB,EAAE,CAAC;CACzC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"update.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/layers/leaflet/layers/camera/ui/forms/update/update.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAuB/B,OAAO,EAAE,qBAAqB,EAA0B,MAAM,SAAS,CAAC;;AA2GxE,wBAA0C"}
1
+ {"version":3,"file":"update.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/layers/leaflet/layers/camera/ui/forms/update/update.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AA0B/B,OAAO,EAAE,qBAAqB,EAA0B,MAAM,SAAS,CAAC;;AAyHxE,wBAA0C"}
@@ -1 +1 @@
1
- {"version":3,"file":"update.stories.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/layers/leaflet/layers/camera/ui/forms/update/update.stories.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,gBAAgB,EAAE,MAAM,GAAG,CAAC;AAErC,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAqB5D,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,gBAAgB,CA4CvC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
1
+ {"version":3,"file":"update.stories.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/layers/leaflet/layers/camera/ui/forms/update/update.stories.tsx"],"names":[],"mappings":"AASA,OAAO,EAAE,gBAAgB,EAAE,MAAM,GAAG,CAAC;AAErC,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AA2B5D,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,gBAAgB,CA6CvC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
@@ -1,22 +1,22 @@
1
+ export * from './building';
1
2
  export * from './builtup-area';
2
- export * from './point-address';
3
- export * from './POI';
3
+ export * from './admin-area';
4
+ export * from './camera';
4
5
  export * from './city-POI';
5
- export * from './one-way';
6
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
7
  export * from './facility-area';
14
- export * from './admin-area';
15
- export * from './nature-field';
8
+ export * from './landuse-area';
16
9
  export * from './link';
10
+ export * from './nature-field';
17
11
  export * from './nature-forest';
12
+ export * from './ocean-area';
13
+ export * from './one-way';
14
+ export * from './pillar';
15
+ export * from './POI';
16
+ export * from './point-address';
17
+ export * from './railroad';
18
18
  export * from './traffic-sign';
19
19
  export * from './traffic-signal';
20
- export * from './camera';
21
- export * from './pillar';
20
+ export * from './water-area';
21
+ export * from './water-link';
22
22
  //# sourceMappingURL=index.d.ts.map
@@ -1 +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;AACvB,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/layers/leaflet/layers/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAE/B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,QAAQ,CAAC;AACvB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,OAAO,CAAC;AACtB,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layers/leaflet/layers/pillar/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AACtB,cAAc,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layers/leaflet/layers/pillar/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AAEtB,cAAc,UAAU,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/layers/leaflet/layers/pillar/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/layers/leaflet/layers/pillar/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AAExB,cAAc,SAAS,CAAC"}
@@ -14,13 +14,16 @@ export declare const defaultTrafficSignDopIds: TrafficSignDopIds;
14
14
  export declare const trafficSignDopMainFields: TrafficSignDopMainFields;
15
15
  export declare const defaultTrafficSign: CreatedTrafficSign;
16
16
  export declare const defaultTrafficSignDop: CreatedTrafficSignDop;
17
- export declare const trafficSignWidths: {
18
- map: number;
19
- preview: number;
17
+ export declare const trafficSignConfig: {
18
+ fileName: string;
19
+ apiName: string;
20
+ extension: string;
21
+ dopsCount: number;
22
+ widths: {
23
+ map: number;
24
+ preview: number;
25
+ };
20
26
  };
21
- export declare const trafficSignLayerName = "traffic-sign";
22
- export declare const trafficSignExtension = "svg";
23
- export declare const maxTrafficSignDopsCount = 2;
24
27
  export declare const trafficSignWords: {
25
28
  title: string;
26
29
  };
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/layers/leaflet/layers/traffic-sign/config/constants.ts"],"names":[],"mappings":"AAOA,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,eAAe,EACf,iBAAiB,EACjB,wBAAwB,EACxB,cAAc,EACd,qBAAqB,EACtB,MAAM,qBAAqB,CAAC;AAE7B,eAAO,MAAM,YAAY,EAAE;IACzB,CAAC,CAAC,EAAE,MAAM,GAAG,eAAe,CAAC;CAm8C9B,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE;IAC5B,CAAC,CAAC,EAAE,MAAM,GAAG,eAAe,CAAC;CA+W9B,CAAC;AAEF,eAAO,MAAM,eAAe;;CAG3B,CAAC;AAKF,eAAO,MAAM,qBAAqB,EAAE,qBASnC,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,cAEnC,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,iBAGtC,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,wBAQtC,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,kBAMhC,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,qBAGnC,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;CAG7B,CAAC;AAEF,eAAO,MAAM,oBAAoB,iBAAiB,CAAC;AAEnD,eAAO,MAAM,oBAAoB,QAAQ,CAAC;AAE1C,eAAO,MAAM,uBAAuB,IAAI,CAAC;AAEzC,eAAO,MAAM,gBAAgB;;CAE5B,CAAC;AAEF,eAAO,MAAM,mBAAmB;;CAE/B,CAAC"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/layers/leaflet/layers/traffic-sign/config/constants.ts"],"names":[],"mappings":"AAOA,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,eAAe,EACf,iBAAiB,EACjB,wBAAwB,EACxB,cAAc,EACd,qBAAqB,EACtB,MAAM,qBAAqB,CAAC;AAE7B,eAAO,MAAM,YAAY,EAAE;IACzB,CAAC,CAAC,EAAE,MAAM,GAAG,eAAe,CAAC;CAm8C9B,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE;IAC5B,CAAC,CAAC,EAAE,MAAM,GAAG,eAAe,CAAC;CA+W9B,CAAC;AAEF,eAAO,MAAM,eAAe;;CAG3B,CAAC;AAKF,eAAO,MAAM,qBAAqB,EAAE,qBASnC,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,cAEnC,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,iBAGtC,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,wBAQtC,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,kBAMhC,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,qBAGnC,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;CAY7B,CAAC;AAEF,eAAO,MAAM,gBAAgB;;CAE5B,CAAC;AAEF,eAAO,MAAM,mBAAmB;;CAE/B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layers/leaflet/layers/traffic-sign/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AACtB,cAAc,UAAU,CAAC;AACzB,cAAc,MAAM,CAAC;AACrB,cAAc,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layers/leaflet/layers/traffic-sign/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AAEtB,cAAc,UAAU,CAAC;AAEzB,cAAc,MAAM,CAAC;AAErB,cAAc,oBAAoB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/layers/leaflet/layers/traffic-sign/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/layers/leaflet/layers/traffic-sign/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AAExB,cAAc,SAAS,CAAC"}
@@ -1,10 +1,10 @@
1
1
  import { SelectOptionItem } from '../../../../../../components/select';
2
2
  import { TangramCustomLayer, TangramSourceNames } from '../../../lib/types';
3
- import { trafficSignWidths } from '../config';
3
+ import { trafficSignConfig } from '../config';
4
4
  import { TrafficSign } from './types';
5
5
  export declare const getTrafficSignLayers: (source: TangramSourceNames) => TangramCustomLayer[];
6
6
  export declare const getTrafficSignImgSrc: ({ type, number, }: {
7
- type: keyof typeof trafficSignWidths;
7
+ type: keyof typeof trafficSignConfig.widths;
8
8
  number: TrafficSign["traffic_sign_number"];
9
9
  }) => string;
10
10
  export declare const getTrafficSignTitlesOptions: () => SelectOptionItem[];
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/layers/leaflet/layers/traffic-sign/lib/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAKvD,OAAO,EAEL,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAKL,iBAAiB,EAClB,MAAM,WAAW,CAAC;AAEnB,OAAO,EAAE,WAAW,EAAoC,MAAM,SAAS,CAAC;AAExE,eAAO,MAAM,oBAAoB,GAAI,QAAQ,kBAAkB,yBA8D9D,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,mBAGlC;IACD,IAAI,EAAE,MAAM,OAAO,iBAAiB,CAAC;IACrC,MAAM,EAAE,WAAW,CAAC,qBAAqB,CAAC,CAAC;CAC5C,WAMA,CAAC;AAEF,eAAO,MAAM,2BAA2B,0BAiBvC,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAAI,MAAM,MAAM,SA4BnD,CAAC;AAEF,eAAO,MAAM,2BAA2B,GACtC,QAAQ,WAAW,CAAC,qBAAqB,CAAC,WAK3C,CAAC"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/layers/leaflet/layers/traffic-sign/lib/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAKvD,OAAO,EAEL,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAmB,iBAAiB,EAAgB,MAAM,WAAW,CAAC;AAE7E,OAAO,EAAE,WAAW,EAAoC,MAAM,SAAS,CAAC;AAExE,eAAO,MAAM,oBAAoB,GAAI,QAAQ,kBAAkB,yBA8D9D,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,mBAGlC;IACD,IAAI,EAAE,MAAM,OAAO,iBAAiB,CAAC,MAAM,CAAC;IAC5C,MAAM,EAAE,WAAW,CAAC,qBAAqB,CAAC,CAAC;CAC5C,WAMA,CAAC;AAEF,eAAO,MAAM,2BAA2B,0BAiBvC,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAAI,MAAM,MAAM,SA4BnD,CAAC;AAEF,eAAO,MAAM,2BAA2B,GACtC,QAAQ,WAAW,CAAC,qBAAqB,CAAC,WAK3C,CAAC"}