@crystaldesign/diva-backoffice 24.14.0-beta.13 → 24.14.0-beta.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/esm/index.js +122 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableFeatureClasses/index.d.ts +3 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableFeatureClasses/index.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/useModule.d.ts.map +1 -1
- package/package.json +9 -9
package/build/esm/index.js
CHANGED
|
@@ -32290,6 +32290,16 @@ function useModule (currentModules) {
|
|
|
32290
32290
|
to: 'catalogs/idmeditor/catalogs/' + catalogId + '/options' + (searchParams ? '?' + searchParams.toString() : ''),
|
|
32291
32291
|
children: t('backoffice.menu.items.label.IDMCatalogEditorTableOptions')
|
|
32292
32292
|
})
|
|
32293
|
+
}, {
|
|
32294
|
+
key: 'featureclasses',
|
|
32295
|
+
style: {
|
|
32296
|
+
margin: 0
|
|
32297
|
+
},
|
|
32298
|
+
icon: /*#__PURE__*/jsx(ApartmentOutlined, {}),
|
|
32299
|
+
label: /*#__PURE__*/jsx(Link, {
|
|
32300
|
+
to: 'catalogs/idmeditor/catalogs/' + catalogId + '/featureclasses' + (searchParams ? '?' + searchParams.toString() : ''),
|
|
32301
|
+
children: t('backoffice.menu.items.label.IDMCatalogEditorTableFeatureClasses')
|
|
32302
|
+
})
|
|
32293
32303
|
}];
|
|
32294
32304
|
}, [catalogId]);
|
|
32295
32305
|
if (!catalogId) throw new Error('catalogId is required');
|
|
@@ -33167,6 +33177,115 @@ function TableOptions () {
|
|
|
33167
33177
|
});
|
|
33168
33178
|
}
|
|
33169
33179
|
|
|
33180
|
+
function TableFeatureClasses () {
|
|
33181
|
+
var _useTranslation = useTranslation(),
|
|
33182
|
+
t = _useTranslation.t;
|
|
33183
|
+
var _useModule = useModule(['featureclasses']),
|
|
33184
|
+
catalogId = _useModule.catalogId,
|
|
33185
|
+
organizationId = _useModule.organizationId,
|
|
33186
|
+
updateNavigation = _useModule.updateNavigation,
|
|
33187
|
+
apiConfig = _useModule.apiConfig;
|
|
33188
|
+
var applicationData = useMemo(function () {
|
|
33189
|
+
return {
|
|
33190
|
+
catalogId: catalogId,
|
|
33191
|
+
organizationId: organizationId
|
|
33192
|
+
};
|
|
33193
|
+
}, [catalogId]);
|
|
33194
|
+
return /*#__PURE__*/jsxs(Fragment, {
|
|
33195
|
+
children: [/*#__PURE__*/jsx(Descriptions$1, {
|
|
33196
|
+
title: /*#__PURE__*/jsxs("div", {
|
|
33197
|
+
children: [t('backoffice.menu.items.label.IDMCatalogEditorTableFeatureClasses'), /*#__PURE__*/jsx(Space$1, {
|
|
33198
|
+
style: {
|
|
33199
|
+
"float": 'right'
|
|
33200
|
+
},
|
|
33201
|
+
children: /*#__PURE__*/jsx(CatalogSelector, {
|
|
33202
|
+
selectedCatalog: catalogId,
|
|
33203
|
+
setSelectedCatalog: function setSelectedCatalog(id) {
|
|
33204
|
+
return updateNavigation(id);
|
|
33205
|
+
},
|
|
33206
|
+
idmService: apiConfig.idmService
|
|
33207
|
+
})
|
|
33208
|
+
})]
|
|
33209
|
+
})
|
|
33210
|
+
}), /*#__PURE__*/jsx(Spreadsheet, {
|
|
33211
|
+
gridId: 'crud-grid_featureclasses',
|
|
33212
|
+
applicationData: applicationData,
|
|
33213
|
+
configuration: {
|
|
33214
|
+
type: 'dotnetSSM',
|
|
33215
|
+
apiInterface: {
|
|
33216
|
+
read: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/featureclasses',
|
|
33217
|
+
create: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/featureclasses',
|
|
33218
|
+
restore: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/featureclasses/${_id}',
|
|
33219
|
+
"delete": apiConfig.idmService + '/v3.0/catalogs/${catalogId}/featureclasses/${_id}',
|
|
33220
|
+
update: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/featureclasses/${_id}'
|
|
33221
|
+
},
|
|
33222
|
+
dateFormat: 'LL',
|
|
33223
|
+
colDef: [{
|
|
33224
|
+
field: 'featureClassNo',
|
|
33225
|
+
headerName: 'backoffice.idmCatalog.featureclasses.label.featureClassNo',
|
|
33226
|
+
required: true
|
|
33227
|
+
}, {
|
|
33228
|
+
headerName: 'backoffice.idmCatalog.featureclasses.label.featureClassName',
|
|
33229
|
+
marryChildren: true,
|
|
33230
|
+
children: [{
|
|
33231
|
+
field: 'featureClassName.DE',
|
|
33232
|
+
headerName: 'backoffice.idmEnricher.general.label.DE',
|
|
33233
|
+
isDictionary: true
|
|
33234
|
+
}, {
|
|
33235
|
+
field: 'featureClassName.EN',
|
|
33236
|
+
headerName: 'backoffice.idmEnricher.general.label.EN',
|
|
33237
|
+
isDictionary: true
|
|
33238
|
+
}, {
|
|
33239
|
+
field: 'featureClassName.FR',
|
|
33240
|
+
headerName: 'backoffice.idmEnricher.general.label.FR',
|
|
33241
|
+
isDictionary: true
|
|
33242
|
+
}, {
|
|
33243
|
+
field: 'featureClassName.IT',
|
|
33244
|
+
headerName: 'backoffice.idmEnricher.general.label.IT',
|
|
33245
|
+
isDictionary: true
|
|
33246
|
+
}]
|
|
33247
|
+
}, {
|
|
33248
|
+
headerName: 'backoffice.idmCatalog.general.label.lastUpdatedDate',
|
|
33249
|
+
field: 'lastUpdatedDate',
|
|
33250
|
+
cellDataType: 'dateString',
|
|
33251
|
+
editable: false
|
|
33252
|
+
}, {
|
|
33253
|
+
headerName: 'backoffice.idmCatalog.general.label.createdDate',
|
|
33254
|
+
field: 'createdDate',
|
|
33255
|
+
cellDataType: 'dateString',
|
|
33256
|
+
editable: false
|
|
33257
|
+
}, {
|
|
33258
|
+
headerName: 'backoffice.idmCatalog.general.label.createdByDisplayText',
|
|
33259
|
+
field: 'createdByDisplayText',
|
|
33260
|
+
editable: false
|
|
33261
|
+
}, {
|
|
33262
|
+
headerName: 'backoffice.idmCatalog.general.label.lastUpdatedByDisplayText',
|
|
33263
|
+
field: 'lastUpdatedByDisplayText',
|
|
33264
|
+
editable: false
|
|
33265
|
+
}, {
|
|
33266
|
+
headerName: 'backoffice.idmCatalog.general.label._id',
|
|
33267
|
+
field: '_id',
|
|
33268
|
+
editable: false
|
|
33269
|
+
}, {
|
|
33270
|
+
field: 'organizationId',
|
|
33271
|
+
editable: false,
|
|
33272
|
+
hide: true,
|
|
33273
|
+
lockVisible: true,
|
|
33274
|
+
suppressColumnsToolPanel: true,
|
|
33275
|
+
defaultValue: '${organizationId}'
|
|
33276
|
+
}, {
|
|
33277
|
+
field: 'catalogId',
|
|
33278
|
+
editable: false,
|
|
33279
|
+
hide: true,
|
|
33280
|
+
lockVisible: true,
|
|
33281
|
+
suppressColumnsToolPanel: true,
|
|
33282
|
+
defaultValue: '${catalogId}'
|
|
33283
|
+
}]
|
|
33284
|
+
}
|
|
33285
|
+
})]
|
|
33286
|
+
});
|
|
33287
|
+
}
|
|
33288
|
+
|
|
33170
33289
|
function IDMCatalogEditor (_ref) {
|
|
33171
33290
|
_objectDestructuringEmpty(_ref);
|
|
33172
33291
|
return /*#__PURE__*/jsx("div", {
|
|
@@ -33196,6 +33315,9 @@ function Content$1() {
|
|
|
33196
33315
|
}), /*#__PURE__*/jsx(Route, {
|
|
33197
33316
|
path: ":catalogId/options",
|
|
33198
33317
|
element: /*#__PURE__*/jsx(TableOptions, {})
|
|
33318
|
+
}), /*#__PURE__*/jsx(Route, {
|
|
33319
|
+
path: ":catalogId/featureclasses",
|
|
33320
|
+
element: /*#__PURE__*/jsx(TableFeatureClasses, {})
|
|
33199
33321
|
})]
|
|
33200
33322
|
});
|
|
33201
33323
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/IDMCatalogEditor/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,6BAA6B,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/IDMCatalogEditor/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,6BAA6B,EAAE,MAAM,SAAS,CAAC;AAOxD,UAAU,KAAK;IACb,aAAa,EAAE,6BAA6B,CAAC;IAC7C,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,CAAC,OAAO,WAAW,EAAE,EAAE,KAAK,qBAMjC"}
|
package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableFeatureClasses/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TableFeatureClasses/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAQvC,MAAM,CAAC,OAAO,gCAuHb"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useModule.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/IDMCatalogEditor/useModule.tsx"],"names":[],"mappings":"AAUA,MAAM,CAAC,OAAO,WAAW,cAAc,EAAE,MAAM,EAAE;
|
|
1
|
+
{"version":3,"file":"useModule.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/IDMCatalogEditor/useModule.tsx"],"names":[],"mappings":"AAUA,MAAM,CAAC,OAAO,WAAW,cAAc,EAAE,MAAM,EAAE;uCAiE5B,MAAM,YAAW,MAAM,EAAE;;;;EAmC7C"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crystaldesign/diva-backoffice",
|
|
3
|
-
"version": "24.14.0-beta.
|
|
3
|
+
"version": "24.14.0-beta.15",
|
|
4
4
|
"license": "COMMERCIAL",
|
|
5
5
|
"devDependencies": {
|
|
6
6
|
"@testing-library/jest-dom": "^6.5.0",
|
|
@@ -15,13 +15,13 @@
|
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@ant-design/icons": "5.4.0",
|
|
17
17
|
"@babel/runtime": "7.24.7",
|
|
18
|
-
"@crystaldesign/content-box": "24.14.0-beta.
|
|
19
|
-
"@crystaldesign/content-item": "24.14.0-beta.
|
|
20
|
-
"@crystaldesign/diva-core": "24.14.0-beta.
|
|
21
|
-
"@crystaldesign/diva-utils": "24.14.0-beta.
|
|
22
|
-
"@crystaldesign/media-upload": "24.14.0-beta.
|
|
23
|
-
"@crystaldesign/rtf-editor": "24.14.0-beta.
|
|
24
|
-
"@crystaldesign/spreadsheet": "24.14.0-beta.
|
|
18
|
+
"@crystaldesign/content-box": "24.14.0-beta.15",
|
|
19
|
+
"@crystaldesign/content-item": "24.14.0-beta.15",
|
|
20
|
+
"@crystaldesign/diva-core": "24.14.0-beta.15",
|
|
21
|
+
"@crystaldesign/diva-utils": "24.14.0-beta.15",
|
|
22
|
+
"@crystaldesign/media-upload": "24.14.0-beta.15",
|
|
23
|
+
"@crystaldesign/rtf-editor": "24.14.0-beta.15",
|
|
24
|
+
"@crystaldesign/spreadsheet": "24.14.0-beta.15",
|
|
25
25
|
"@google/model-viewer": "3.5.0",
|
|
26
26
|
"ag-charts-community": "^10.1.0",
|
|
27
27
|
"ag-charts-react": "^10.1.0",
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
},
|
|
52
52
|
"module": "build/esm/index.js",
|
|
53
53
|
"types": "./build/types/backoffice/src/index.d.ts",
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "8bfcf483a7be19a663e5ffa8824349e3d5b85f37"
|
|
55
55
|
}
|