@crystaldesign/diva-backoffice 25.16.0-beta.24 → 25.16.0-beta.25

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.
@@ -8701,6 +8701,25 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
8701
8701
  label: t('backoffice.form.organizationdetails.items.nein'),
8702
8702
  value: false
8703
8703
  }]
8704
+ }, {
8705
+ name: ['settings', 'automaticPublishing'],
8706
+ label: t('backoffice.form.organizationdetails.items.automaticpublishing'),
8707
+ permission: 'backoffice_admin_organizations',
8708
+ hidden: function hidden(data) {
8709
+ return (data === null || data === void 0 ? void 0 : data.type) !== 'RETAILER' && (data === null || data === void 0 ? void 0 : data.parentType) !== 'ASSOCIATION';
8710
+ },
8711
+ type: 'radio',
8712
+ optionType: 'button',
8713
+ options: [{
8714
+ label: t('backoffice.form.organizationdetails.items.na'),
8715
+ value: undefined
8716
+ }, {
8717
+ label: t('backoffice.form.organizationdetails.items.ja'),
8718
+ value: true
8719
+ }, {
8720
+ label: t('backoffice.form.organizationdetails.items.nein'),
8721
+ value: false
8722
+ }]
8704
8723
  }, {
8705
8724
  name: ['settings', 'versioningToIDMService'],
8706
8725
  label: t('backoffice.form.organizationdetails.items.versioningToIDMService'),
@@ -33145,10 +33164,27 @@ function PublishCustomCell (_ref) {
33145
33164
  organizationId = _ref.organizationId;
33146
33165
  var _useTranslation = useTranslation(),
33147
33166
  t = _useTranslation.t;
33167
+ var root = useStore();
33148
33168
  var _React$useState = React.useState(false),
33149
33169
  _React$useState2 = _slicedToArray(_React$useState, 2),
33150
33170
  loading = _React$useState2[0],
33151
33171
  isLoading = _React$useState2[1];
33172
+ var _React$useState3 = React.useState(false),
33173
+ _React$useState4 = _slicedToArray(_React$useState3, 2),
33174
+ organizationModalVisible = _React$useState4[0],
33175
+ setOrganizationModalVisible = _React$useState4[1];
33176
+ var _React$useState5 = React.useState([]),
33177
+ _React$useState6 = _slicedToArray(_React$useState5, 2),
33178
+ availableOrganizations = _React$useState6[0],
33179
+ setAvailableOrganizations = _React$useState6[1];
33180
+ var _React$useState7 = React.useState([]),
33181
+ _React$useState8 = _slicedToArray(_React$useState7, 2),
33182
+ selectedOrganizationIds = _React$useState8[0],
33183
+ setSelectedOrganizationIds = _React$useState8[1];
33184
+ var _React$useState9 = React.useState(false),
33185
+ _React$useState10 = _slicedToArray(_React$useState9, 2),
33186
+ loadingOrganizations = _React$useState10[0],
33187
+ setLoadingOrganizations = _React$useState10[1];
33152
33188
  var publishedData = (_data$published = data.published) === null || _data$published === void 0 ? void 0 : _data$published[organizationId];
33153
33189
  var isPublishing = (publishedData === null || publishedData === void 0 ? void 0 : publishedData.publishing) || loading;
33154
33190
  var isPublished = publishedData && !isPublishing;
@@ -33157,130 +33193,347 @@ function PublishCustomCell (_ref) {
33157
33193
  }));
33158
33194
  var unpublishedChanges = hasUnpublishedChanges(publishedData === null || publishedData === void 0 ? void 0 : publishedData.publishDate, data === null || data === void 0 ? void 0 : data.lastUpdatedDate);
33159
33195
  var disabled = isPublishing || !(data !== null && data !== void 0 && data.basedCatalogId) && !(data !== null && data !== void 0 && data.basedPackageId) || !(data !== null && data !== void 0 && data.name);
33160
- var _onChange = /*#__PURE__*/function () {
33161
- var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(publish) {
33162
- var response, _errorText, errorText, _json$error, json;
33163
- return _regeneratorRuntime.wrap(function _callee$(_context) {
33164
- while (1) switch (_context.prev = _context.next) {
33196
+ var fetchOrganizationsWithAutomaticPublishing = React.useCallback(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
33197
+ var fields, url, response, result, allowedOrgIds, filtered, allOrgIds;
33198
+ return _regeneratorRuntime.wrap(function _callee$(_context) {
33199
+ while (1) switch (_context.prev = _context.next) {
33200
+ case 0:
33201
+ setLoadingOrganizations(true);
33202
+ _context.prev = 1;
33203
+ // Request organizations with automaticPublishing field from their settings
33204
+ fields = encodeURIComponent('{_id,displayName,automaticPublishing}');
33205
+ url = apiConfig.authService + "/organizations/".concat(organizationId, "/related?fields=").concat(fields);
33206
+ _context.next = 6;
33207
+ return fetch(url, {
33208
+ headers: {
33209
+ Authorization: "Bearer ".concat(root.dataStore.jwt),
33210
+ 'Content-Type': 'application/json'
33211
+ }
33212
+ });
33213
+ case 6:
33214
+ response = _context.sent;
33215
+ if (response.ok) {
33216
+ _context.next = 9;
33217
+ break;
33218
+ }
33219
+ throw new Error("Failed to fetch organizations: ".concat(response.status));
33220
+ case 9:
33221
+ _context.next = 11;
33222
+ return response.json();
33223
+ case 11:
33224
+ result = _context.sent;
33225
+ // Get allowed organization IDs from the package
33226
+ allowedOrgIds = data.allowedOrganizationIds || []; // Show organizations that are:
33227
+ // 1. In package settings with AutomaticPublishing === true, OR
33228
+ // 2. In allowedOrganizationIds AND have automaticPublishing === true in their own organization settings
33229
+ filtered = (result.data || []).filter(function (org) {
33230
+ var _data$settings;
33231
+ // Check if organization is in package settings with AutomaticPublishing === true
33232
+ var isInPackageSettingsWithAutomaticPublishing = ((_data$settings = data.settings) === null || _data$settings === void 0 || (_data$settings = _data$settings[org._id]) === null || _data$settings === void 0 ? void 0 : _data$settings.automaticPublishing) === true;
33233
+
33234
+ // Check if organization is in allowedOrganizationIds AND has automaticPublishing === true in their own settings
33235
+ var isInAllowedAndHasAutomaticPublishing = allowedOrgIds.includes(org._id) && org.automaticPublishing === true;
33236
+ return isInPackageSettingsWithAutomaticPublishing || isInAllowedAndHasAutomaticPublishing;
33237
+ });
33238
+ setAvailableOrganizations(filtered);
33239
+ // Set all organizations as selected by default
33240
+ allOrgIds = filtered.map(function (org) {
33241
+ return org._id;
33242
+ });
33243
+ setSelectedOrganizationIds(allOrgIds);
33244
+ _context.next = 23;
33245
+ break;
33246
+ case 19:
33247
+ _context.prev = 19;
33248
+ _context.t0 = _context["catch"](1);
33249
+ modalState.showErrorModal("Error fetching organizations: ".concat(_context.t0 instanceof Error ? _context.t0.message : String(_context.t0)));
33250
+ setAvailableOrganizations([]);
33251
+ case 23:
33252
+ _context.prev = 23;
33253
+ setLoadingOrganizations(false);
33254
+ return _context.finish(23);
33255
+ case 26:
33256
+ case "end":
33257
+ return _context.stop();
33258
+ }
33259
+ }, _callee, null, [[1, 19, 23, 26]]);
33260
+ })), [apiConfig.authService, organizationId, root.dataStore.jwt, modalState]);
33261
+ var performPublish = React.useCallback(/*#__PURE__*/function () {
33262
+ var _ref3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(publish) {
33263
+ var automaticPublishingOrgIds,
33264
+ response,
33265
+ url,
33266
+ _errorText,
33267
+ errorText,
33268
+ _json$error,
33269
+ json,
33270
+ _args2 = arguments;
33271
+ return _regeneratorRuntime.wrap(function _callee2$(_context2) {
33272
+ while (1) switch (_context2.prev = _context2.next) {
33165
33273
  case 0:
33274
+ automaticPublishingOrgIds = _args2.length > 1 && _args2[1] !== undefined ? _args2[1] : [];
33166
33275
  isLoading(true);
33167
- _context.prev = 1;
33276
+ _context2.prev = 2;
33168
33277
  if (!publish) {
33169
- _context.next = 8;
33278
+ _context2.next = 11;
33170
33279
  break;
33171
33280
  }
33172
- _context.next = 5;
33281
+ url = apiConfig.enricherService + '/packages/${_id}/publish?organizationId=' + organizationId;
33282
+ if (automaticPublishingOrgIds.length > 0) {
33283
+ url += '&automaticPublishingOrganizationIds=' + automaticPublishingOrgIds.join(',');
33284
+ }
33285
+ _context2.next = 8;
33173
33286
  return context === null || context === void 0 ? void 0 : context.updateServerData(data, {
33174
- update: apiConfig.enricherService + '/packages/${_id}/publish?organizationId=' + organizationId,
33287
+ update: url,
33175
33288
  usePut: true
33176
33289
  }, undefined, true);
33177
- case 5:
33178
- response = _context.sent;
33179
- _context.next = 11;
33180
- break;
33181
33290
  case 8:
33182
- _context.next = 10;
33291
+ response = _context2.sent;
33292
+ _context2.next = 14;
33293
+ break;
33294
+ case 11:
33295
+ _context2.next = 13;
33183
33296
  return context === null || context === void 0 ? void 0 : context.updateServerData(data, {
33184
33297
  update: apiConfig.enricherService + '/packages/${_id}/unpublish?organizationId=' + organizationId,
33185
33298
  usePut: true
33186
33299
  }, undefined, true);
33187
- case 10:
33188
- response = _context.sent;
33189
- case 11:
33300
+ case 13:
33301
+ response = _context2.sent;
33302
+ case 14:
33190
33303
  if (!(response.status == 202)) {
33191
- _context.next = 15;
33304
+ _context2.next = 18;
33192
33305
  break;
33193
33306
  }
33194
33307
  modalState.showWarningModal(t("backoffice.idmEnricher.packages.label.warning.".concat(publish ? 'publishing' : 'unpublishing')));
33195
- _context.next = 32;
33308
+ _context2.next = 35;
33196
33309
  break;
33197
- case 15:
33310
+ case 18:
33198
33311
  if (!(response.status == 200)) {
33199
- _context.next = 19;
33312
+ _context2.next = 22;
33200
33313
  break;
33201
33314
  }
33202
33315
  modalState.closeModal();
33203
- _context.next = 32;
33316
+ _context2.next = 35;
33204
33317
  break;
33205
- case 19:
33206
- _context.prev = 19;
33207
- _context.next = 22;
33208
- return response.json();
33209
33318
  case 22:
33210
- json = _context.sent;
33319
+ _context2.prev = 22;
33320
+ _context2.next = 25;
33321
+ return response.json();
33322
+ case 25:
33323
+ json = _context2.sent;
33211
33324
  errorText = (_json$error = json.error) !== null && _json$error !== void 0 ? _json$error : json.Error;
33212
- _context.next = 31;
33325
+ _context2.next = 34;
33213
33326
  break;
33214
- case 26:
33215
- _context.prev = 26;
33216
- _context.t0 = _context["catch"](19);
33217
- _context.next = 30;
33327
+ case 29:
33328
+ _context2.prev = 29;
33329
+ _context2.t0 = _context2["catch"](22);
33330
+ _context2.next = 33;
33218
33331
  return response.text();
33219
- case 30:
33220
- errorText = _context.sent;
33221
- case 31:
33332
+ case 33:
33333
+ errorText = _context2.sent;
33334
+ case 34:
33222
33335
  throw new Error((_errorText = errorText) !== null && _errorText !== void 0 ? _errorText : "Server error (".concat(response.status, ")"));
33223
- case 32:
33336
+ case 35:
33224
33337
  context === null || context === void 0 || context.reset({
33225
33338
  context: context,
33226
33339
  api: api
33227
33340
  });
33228
- _context.next = 38;
33341
+ _context2.next = 41;
33229
33342
  break;
33230
- case 35:
33231
- _context.prev = 35;
33232
- _context.t1 = _context["catch"](1);
33233
- modalState.showErrorModal("Error on ".concat(publish ? 'publish' : 'unpublish', ": ").concat(_context.t1 instanceof Error ? _context.t1.message : String(_context.t1)));
33234
33343
  case 38:
33235
- _context.prev = 38;
33236
- isLoading(false);
33237
- return _context.finish(38);
33344
+ _context2.prev = 38;
33345
+ _context2.t1 = _context2["catch"](2);
33346
+ modalState.showErrorModal("Error on ".concat(publish ? 'publish' : 'unpublish', ": ").concat(_context2.t1 instanceof Error ? _context2.t1.message : String(_context2.t1)));
33238
33347
  case 41:
33348
+ _context2.prev = 41;
33349
+ isLoading(false);
33350
+ return _context2.finish(41);
33351
+ case 44:
33239
33352
  case "end":
33240
- return _context.stop();
33353
+ return _context2.stop();
33241
33354
  }
33242
- }, _callee, null, [[1, 35, 38, 41], [19, 26]]);
33355
+ }, _callee2, null, [[2, 38, 41, 44], [22, 29]]);
33243
33356
  }));
33244
- return function onChange(_x) {
33245
- return _ref2.apply(this, arguments);
33357
+ return function (_x) {
33358
+ return _ref3.apply(this, arguments);
33359
+ };
33360
+ }(), [data, context, api, apiConfig.enricherService, organizationId, modalState, t]);
33361
+ var handlePublishClick = React.useCallback(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3() {
33362
+ var hasOrganizationsInSettings, automaticPublishingOrgIdsFromSettings;
33363
+ return _regeneratorRuntime.wrap(function _callee3$(_context3) {
33364
+ while (1) switch (_context3.prev = _context3.next) {
33365
+ case 0:
33366
+ // Check if package has any organizations in settings
33367
+ hasOrganizationsInSettings = data.settings && Object.keys(data.settings).length > 0;
33368
+ if (hasOrganizationsInSettings) {
33369
+ _context3.next = 5;
33370
+ break;
33371
+ }
33372
+ _context3.next = 4;
33373
+ return performPublish(true, []);
33374
+ case 4:
33375
+ return _context3.abrupt("return");
33376
+ case 5:
33377
+ // Reset selected organizations before fetching
33378
+ setSelectedOrganizationIds([]);
33379
+ // Fetch organizations with automaticPublishing enabled
33380
+ _context3.next = 8;
33381
+ return fetchOrganizationsWithAutomaticPublishing();
33382
+ case 8:
33383
+ // After fetching, check if any organizations actually have automatic publishing enabled.
33384
+ // If none are found, avoid showing an empty modal and publish directly instead.
33385
+ automaticPublishingOrgIdsFromSettings = Object.keys(data.settings).filter(function (orgId) {
33386
+ var orgSettings = data.settings[orgId];
33387
+ return orgSettings && orgSettings.automaticPublishing === true;
33388
+ });
33389
+ if (!(automaticPublishingOrgIdsFromSettings.length === 0)) {
33390
+ _context3.next = 13;
33391
+ break;
33392
+ }
33393
+ _context3.next = 12;
33394
+ return performPublish(true, []);
33395
+ case 12:
33396
+ return _context3.abrupt("return");
33397
+ case 13:
33398
+ setOrganizationModalVisible(true);
33399
+ case 14:
33400
+ case "end":
33401
+ return _context3.stop();
33402
+ }
33403
+ }, _callee3);
33404
+ })), [fetchOrganizationsWithAutomaticPublishing, data.settings, performPublish]);
33405
+ var handleConfirmPublish = React.useCallback(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee4() {
33406
+ return _regeneratorRuntime.wrap(function _callee4$(_context4) {
33407
+ while (1) switch (_context4.prev = _context4.next) {
33408
+ case 0:
33409
+ setOrganizationModalVisible(false);
33410
+ _context4.next = 3;
33411
+ return performPublish(true, selectedOrganizationIds);
33412
+ case 3:
33413
+ case "end":
33414
+ return _context4.stop();
33415
+ }
33416
+ }, _callee4);
33417
+ })), [selectedOrganizationIds, performPublish]);
33418
+ var _onChange = /*#__PURE__*/function () {
33419
+ var _ref6 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee5(publish) {
33420
+ return _regeneratorRuntime.wrap(function _callee5$(_context5) {
33421
+ while (1) switch (_context5.prev = _context5.next) {
33422
+ case 0:
33423
+ if (!publish) {
33424
+ _context5.next = 5;
33425
+ break;
33426
+ }
33427
+ _context5.next = 3;
33428
+ return handlePublishClick();
33429
+ case 3:
33430
+ _context5.next = 7;
33431
+ break;
33432
+ case 5:
33433
+ _context5.next = 7;
33434
+ return performPublish(false);
33435
+ case 7:
33436
+ case "end":
33437
+ return _context5.stop();
33438
+ }
33439
+ }, _callee5);
33440
+ }));
33441
+ return function onChange(_x2) {
33442
+ return _ref6.apply(this, arguments);
33246
33443
  };
33247
33444
  }();
33248
33445
  if (data.__isEmpty) return '';
33249
- return /*#__PURE__*/jsxs(Space$1, {
33250
- size: "middle",
33251
- children: [/*#__PURE__*/jsx(Tooltip, {
33252
- title: disabled ? '' : !!isPublished ? t('backoffice.idmEnricher.packages.label.unpublish') : t('backoffice.idmEnricher.packages.label.publish'),
33253
- children: /*#__PURE__*/jsx(Checkbox$2, {
33254
- checked: !!isPublished,
33255
- disabled: disabled,
33256
- indeterminate: unpublishedChanges,
33257
- onChange: function onChange(e) {
33258
- return _onChange(e.target.checked);
33259
- }
33260
- })
33261
- }), isPublishing && /*#__PURE__*/jsx(Tooltip, {
33262
- title: t('backoffice.idmEnricher.packages.label.currentlyPublishing'),
33263
- children: /*#__PURE__*/jsx(Button$1, {
33264
- shape: "circle",
33265
- icon: /*#__PURE__*/jsx(SyncOutlined, {
33266
- spin: true
33446
+ return /*#__PURE__*/jsxs(Fragment, {
33447
+ children: [/*#__PURE__*/jsxs(Space$1, {
33448
+ size: "middle",
33449
+ children: [/*#__PURE__*/jsx(Tooltip, {
33450
+ title: disabled ? '' : !!isPublished ? t('backoffice.idmEnricher.packages.label.unpublish') : t('backoffice.idmEnricher.packages.label.publish'),
33451
+ children: /*#__PURE__*/jsx(Checkbox$2, {
33452
+ checked: !!isPublished,
33453
+ disabled: disabled,
33454
+ indeterminate: unpublishedChanges,
33455
+ onChange: function onChange(e) {
33456
+ return _onChange(e.target.checked);
33457
+ }
33267
33458
  })
33268
- })
33269
- }), unpublishedChanges && !isPublishing && /*#__PURE__*/jsx(Tooltip, {
33270
- title: t('backoffice.idmEnricher.packages.label.unpublishedChanges'),
33271
- children: /*#__PURE__*/jsx(Button$1, {
33272
- shape: "circle",
33273
- icon: /*#__PURE__*/jsx(ReloadOutlined, {}),
33274
- onClick: function onClick() {
33275
- return _onChange(true);
33276
- }
33277
- })
33278
- }), isReleaseWithdrawn && !isPublishing && /*#__PURE__*/jsx(Tooltip, {
33279
- title: t('backoffice.idmEnricher.packages.label.releaseWithdrawn'),
33280
- children: /*#__PURE__*/jsx(Button$1, {
33281
- shape: "circle",
33282
- icon: /*#__PURE__*/jsx(WarningOutlined, {})
33283
- })
33459
+ }), isPublishing && /*#__PURE__*/jsx(Tooltip, {
33460
+ title: t('backoffice.idmEnricher.packages.label.currentlyPublishing'),
33461
+ children: /*#__PURE__*/jsx(Button$1, {
33462
+ shape: "circle",
33463
+ icon: /*#__PURE__*/jsx(SyncOutlined, {
33464
+ spin: true
33465
+ })
33466
+ })
33467
+ }), unpublishedChanges && !isPublishing && /*#__PURE__*/jsx(Tooltip, {
33468
+ title: t('backoffice.idmEnricher.packages.label.unpublishedChanges'),
33469
+ children: /*#__PURE__*/jsx(Button$1, {
33470
+ shape: "circle",
33471
+ icon: /*#__PURE__*/jsx(ReloadOutlined, {}),
33472
+ onClick: function onClick() {
33473
+ return _onChange(true);
33474
+ }
33475
+ })
33476
+ }), isReleaseWithdrawn && !isPublishing && /*#__PURE__*/jsx(Tooltip, {
33477
+ title: t('backoffice.idmEnricher.packages.label.releaseWithdrawn'),
33478
+ children: /*#__PURE__*/jsx(Button$1, {
33479
+ shape: "circle",
33480
+ icon: /*#__PURE__*/jsx(WarningOutlined, {})
33481
+ })
33482
+ })]
33483
+ }), /*#__PURE__*/jsxs(Modal$3, {
33484
+ title: t('backoffice.idmEnricher.packages.label.selectAutomaticPublishingOrganizations'),
33485
+ open: organizationModalVisible,
33486
+ onOk: handleConfirmPublish,
33487
+ onCancel: function onCancel() {
33488
+ return setOrganizationModalVisible(false);
33489
+ },
33490
+ okText: t('backoffice.idmEnricher.packages.label.publish'),
33491
+ cancelText: t('backoffice.idmEnricher.packages.label.cancel'),
33492
+ confirmLoading: loading,
33493
+ children: [/*#__PURE__*/jsx("div", {
33494
+ style: {
33495
+ marginBottom: 16
33496
+ },
33497
+ children: t('backoffice.idmEnricher.packages.label.selectAutomaticPublishingOrganizationsDescription')
33498
+ }), loadingOrganizations ? /*#__PURE__*/jsx("div", {
33499
+ style: {
33500
+ textAlign: 'center',
33501
+ padding: '20px'
33502
+ },
33503
+ children: t('backoffice.idmEnricher.packages.label.loading')
33504
+ }) : availableOrganizations.length === 0 ? /*#__PURE__*/jsx("div", {
33505
+ style: {
33506
+ textAlign: 'center',
33507
+ padding: '20px'
33508
+ },
33509
+ children: t('backoffice.idmEnricher.packages.label.noOrganizationsFound')
33510
+ }) : /*#__PURE__*/jsx("div", {
33511
+ style: {
33512
+ maxHeight: '400px',
33513
+ overflowY: 'auto'
33514
+ },
33515
+ children: /*#__PURE__*/jsx(Space$1, {
33516
+ direction: "vertical",
33517
+ style: {
33518
+ width: '100%'
33519
+ },
33520
+ children: availableOrganizations.map(function (org) {
33521
+ return /*#__PURE__*/jsx(Checkbox$2, {
33522
+ checked: selectedOrganizationIds.includes(org._id),
33523
+ onChange: function onChange(e) {
33524
+ if (e.target.checked) {
33525
+ setSelectedOrganizationIds([].concat(_toConsumableArray(selectedOrganizationIds), [org._id]));
33526
+ } else {
33527
+ setSelectedOrganizationIds(selectedOrganizationIds.filter(function (id) {
33528
+ return id !== org._id;
33529
+ }));
33530
+ }
33531
+ },
33532
+ children: org.displayName
33533
+ }, org._id);
33534
+ })
33535
+ })
33536
+ })]
33284
33537
  })]
33285
33538
  });
33286
33539
  }
@@ -33935,6 +34188,12 @@ var TablePackages = observer(function () {
33935
34188
  multiple: true
33936
34189
  },
33937
34190
  additionalFields: ['allowedOrganizationsDisplayTexts']
34191
+ }, {
34192
+ headerName: 'backoffice.idmEnricher.packages.label.automaticPublishing',
34193
+ field: "settings.".concat(organizationId, ".automaticPublishing"),
34194
+ cellDataType: 'boolean',
34195
+ editable: true,
34196
+ isDictionary: true
33938
34197
  }, {
33939
34198
  headerName: 'backoffice.idmEnricher.packages.label.isApi2',
33940
34199
  field: 'isApi',
@@ -1 +1 @@
1
- {"version":3,"file":"PublishCustomCell.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TablePackages/PublishCustomCell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,2BAA2B,EAAE,MAAM,4BAA4B,CAAC;AAOzE,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAG9E,MAAM,CAAC,OAAO,WAAW,EACvB,IAAI,EACJ,SAAS,EACT,OAAO,EACP,GAAG,EACH,UAAU,EACV,cAAc,GACf,EAAE,2BAA2B,CAAC,GAAG,EAAE,GAAG,EAAE;IAAE,SAAS,EAAE,SAAS,CAAC;IAAC,UAAU,EAAE,iBAAiB,CAAC;IAAC,cAAc,EAAE,MAAM,CAAA;CAAE,CAAC,0BAoFxH"}
1
+ {"version":3,"file":"PublishCustomCell.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TablePackages/PublishCustomCell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,2BAA2B,EAAE,MAAM,4BAA4B,CAAC;AAOzE,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAK9E,MAAM,CAAC,OAAO,WAAW,EACvB,IAAI,EACJ,SAAS,EACT,OAAO,EACP,GAAG,EACH,UAAU,EACV,cAAc,GACf,EAAE,2BAA2B,CAAC,GAAG,EAAE,GAAG,EAAE;IAAE,SAAS,EAAE,SAAS,CAAC;IAAC,UAAU,EAAE,iBAAiB,CAAC;IAAC,cAAc,EAAE,MAAM,CAAA;CAAE,CAAC,0BAkOxH"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TablePackages/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AA4BpD,eAAO,MAAM,aAAa;;CAmWxB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TablePackages/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AA4BpD,eAAO,MAAM,aAAa;;CA0WxB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crystaldesign/diva-backoffice",
3
- "version": "25.16.0-beta.24",
3
+ "version": "25.16.0-beta.25",
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": "25.16.0-beta.24",
19
- "@crystaldesign/content-item": "25.16.0-beta.24",
20
- "@crystaldesign/diva-core": "25.16.0-beta.24",
21
- "@crystaldesign/diva-utils": "25.16.0-beta.24",
22
- "@crystaldesign/media-upload": "25.16.0-beta.24",
23
- "@crystaldesign/rtf-editor": "25.16.0-beta.24",
24
- "@crystaldesign/spreadsheet": "25.16.0-beta.24",
18
+ "@crystaldesign/content-box": "25.16.0-beta.25",
19
+ "@crystaldesign/content-item": "25.16.0-beta.25",
20
+ "@crystaldesign/diva-core": "25.16.0-beta.25",
21
+ "@crystaldesign/diva-utils": "25.16.0-beta.25",
22
+ "@crystaldesign/media-upload": "25.16.0-beta.25",
23
+ "@crystaldesign/rtf-editor": "25.16.0-beta.25",
24
+ "@crystaldesign/spreadsheet": "25.16.0-beta.25",
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": "b489ebfb39c44bbd1a40c28b11f3be0366c60f35"
54
+ "gitHead": "e37ef1871e46e1db540f0222df001cefb0886ce1"
55
55
  }