@dartcom/ui-kit 10.2.0 → 10.2.2
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.
- package/dist/components/buttons/icon/constants.d.ts +3 -0
- package/dist/components/buttons/icon/constants.d.ts.map +1 -1
- package/dist/components/form/hooks/useFormContext.d.ts +2 -1
- package/dist/components/form/hooks/useFormContext.d.ts.map +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/layers/leaflet/config/index.d.ts +0 -1
- package/dist/components/layers/leaflet/config/index.d.ts.map +1 -1
- package/dist/index.cjs +3 -19
- package/dist/index.cjs.map +1 -1
- package/dist/index.esm.js +3 -3
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
|
@@ -8,5 +8,8 @@ export declare const icons: {
|
|
|
8
8
|
move: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
9
9
|
muiName: string;
|
|
10
10
|
};
|
|
11
|
+
save: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
12
|
+
muiName: string;
|
|
13
|
+
};
|
|
11
14
|
};
|
|
12
15
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/icon/constants.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/icon/constants.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,KAAK;;;;;;;;;;;;;CAKjB,CAAC"}
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import { FieldValues } from 'react-hook-form';
|
|
2
|
+
export declare const useFormContext: <T extends FieldValues>() => import("react-hook-form").UseFormReturn<T, any, T>;
|
|
2
3
|
//# sourceMappingURL=useFormContext.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFormContext.d.ts","sourceRoot":"","sources":["../../../../src/components/form/hooks/useFormContext.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useFormContext.d.ts","sourceRoot":"","sources":["../../../../src/components/form/hooks/useFormContext.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EAEZ,MAAM,iBAAiB,CAAC;AAEzB,eAAO,MAAM,cAAc,GAAI,CAAC,SAAS,WAAW,yDAInD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
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
|
+
{"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,cAAc,CAAC;AAC7B,cAAc,YAAY,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
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/layers/leaflet/config/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC"}
|
package/dist/index.cjs
CHANGED
|
@@ -13,6 +13,7 @@ var DeleteIcon = require('@mui/icons-material/Delete');
|
|
|
13
13
|
var EditIcon = require('@mui/icons-material/Edit');
|
|
14
14
|
var MovingIcon = require('@mui/icons-material/Moving');
|
|
15
15
|
var RestartAltIcon = require('@mui/icons-material/RestartAlt');
|
|
16
|
+
var SaveIcon = require('@mui/icons-material/Save');
|
|
16
17
|
var CloudUploadIcon = require('@mui/icons-material/CloudUpload');
|
|
17
18
|
var Checkbox = require('@mui/material/Checkbox');
|
|
18
19
|
var FormControlLabel = require('@mui/material/FormControlLabel');
|
|
@@ -12036,6 +12037,7 @@ const icons = {
|
|
|
12036
12037
|
reset: RestartAltIcon,
|
|
12037
12038
|
edit: EditIcon,
|
|
12038
12039
|
move: MovingIcon,
|
|
12040
|
+
save: SaveIcon,
|
|
12039
12041
|
};
|
|
12040
12042
|
|
|
12041
12043
|
const IconButton = ({ title, iconProps, ...props }) => {
|
|
@@ -22318,22 +22320,6 @@ const getParkingLineLayers = (source) => {
|
|
|
22318
22320
|
return layers;
|
|
22319
22321
|
};
|
|
22320
22322
|
|
|
22321
|
-
const layerDatesFieldsSchema = {
|
|
22322
|
-
future_maintanance_date: dateRequiredSchema,
|
|
22323
|
-
placement_date: dateRequiredSchema,
|
|
22324
|
-
rapair_performed_date: dateRequiredSchema,
|
|
22325
|
-
verification_date: dateRequiredSchema,
|
|
22326
|
-
warranty_expr_date: dateRequiredSchema,
|
|
22327
|
-
};
|
|
22328
|
-
const layerCoordinateSchema = {
|
|
22329
|
-
lat: numberRequiredSchema,
|
|
22330
|
-
lon: numberRequiredSchema,
|
|
22331
|
-
};
|
|
22332
|
-
const layerServiceIdsSchema = {
|
|
22333
|
-
dit_id: numberRequiredSchema,
|
|
22334
|
-
tsodd_id: numberRequiredSchema,
|
|
22335
|
-
};
|
|
22336
|
-
|
|
22337
22323
|
var data = { global:{ links:{ getIsConstruction:"function (feature) {\n const { construction } = feature;\n\n return construction;\n}\n",
|
|
22338
22324
|
getIsFunctionalClass:"function (feature) {\n const { functional_class, access_id } = feature;\n\n return functional_class === 5 && access_id === 32;\n}\n",
|
|
22339
22325
|
getIsLowMobility:"function (feature) {\n const { functional_class, low_mobility } = feature;\n\n return functional_class === 5 && low_mobility === 1;\n}\n" } },
|
|
@@ -29106,6 +29092,7 @@ exports.RootStore = RootStore;
|
|
|
29106
29092
|
exports.Select = FormSelect;
|
|
29107
29093
|
exports.StoreContext = StoreContext;
|
|
29108
29094
|
exports.Tabs = Tabs;
|
|
29095
|
+
exports.TextField = TextField;
|
|
29109
29096
|
exports.UploadButton = UploadButton;
|
|
29110
29097
|
exports._backendUrl = _backendUrl;
|
|
29111
29098
|
exports._testApiKeys = _testApiKeys;
|
|
@@ -29161,9 +29148,6 @@ exports.getValidLayer = getValidLayer;
|
|
|
29161
29148
|
exports.getWaterAreaLayers = getWaterAreaLayers;
|
|
29162
29149
|
exports.getWaterLinkLayers = getWaterLinkLayers;
|
|
29163
29150
|
exports.imagesPath = imagesPath;
|
|
29164
|
-
exports.layerCoordinateSchema = layerCoordinateSchema;
|
|
29165
|
-
exports.layerDatesFieldsSchema = layerDatesFieldsSchema;
|
|
29166
|
-
exports.layerServiceIdsSchema = layerServiceIdsSchema;
|
|
29167
29151
|
exports.loggerService = loggerService;
|
|
29168
29152
|
exports.modalStore = modalStore;
|
|
29169
29153
|
exports.modalStyle = modalStyle;
|