react-luminus-components 2.0.5-beta.r19-19 → 2.0.5-beta.r19-21

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.
@@ -86,7 +86,7 @@ export type { default as OnlyAttrExtending } from './types/common/OnlyAttrExtend
86
86
  export type { default as KeysExtendingType } from './types/common/KeysExtendingType';
87
87
  export type { default as ILocalizationContext } from './luminus-context-types/ILocalizationContext';
88
88
  export type { default as CommonLuminusIcons } from './luminus-context-types/CommonLuminusIcons';
89
- export type { DynamicFormFilters, DynamicFormIndexModel, SettingsFormItem, SettingsFormItemWithGroup, SettingsFormGroup, } from './types/dynamicForms';
89
+ export type { DynamicFormFilters, DynamicFormIndexModel, SettingsFormItem, SettingsFormItemWithGroup, SettingsFormGroup, DynamicFormModifyResult, } from './types/dynamicForms';
90
90
  export type { default as DocType } from './api/documents/DocType';
91
91
  export type { default as DocumentFileModel } from './api/documents/DocumentFileModel';
92
92
  export type { default as DocumentFolderModel } from './api/documents/DocumentFolderModel';
@@ -26,9 +26,14 @@ type ReportsTexts = {
26
26
  addSharing: string;
27
27
  shareWith: string;
28
28
  add: string;
29
+ emptyReportDataSource: string;
29
30
  index: {
30
31
  search: string;
31
32
  lastUsedReports: string;
32
33
  };
34
+ renameSuccessful: string;
35
+ rename: string;
36
+ enterNewName: string;
37
+ noReportVersionSelected: string;
33
38
  };
34
39
  export default ReportsTexts;
@@ -3,6 +3,7 @@ export type { default as DynamicFormColumnSchemaModel } from './types/DynamicFor
3
3
  export type { default as DynamicFormFilters } from './types/DynamicFormFilters';
4
4
  export type { default as DynamicFormIndexModel } from './types/DynamicFormIndexModel';
5
5
  export type { default as DynamicFormSchemaModel } from './types/DynamicFormSchemaModel';
6
+ export type { default as DynamicFormModifyResult } from './types/DynamicFormModifyResult';
6
7
  export type { ApiDataItemType, DataItemType, ItemValueType, ValueType, KnownDataType, } from './types/DynamicFormValueTypes';
7
8
  export type { default as SettingsFormItem } from './formPickerTypes/SettingsFormItem';
8
9
  export type { default as SettingsFormItemWithGroup } from './formPickerTypes/SettingsFormItemWithGroup';
@@ -0,0 +1,5 @@
1
+ export default interface DynamicFormModifyResult {
2
+ primaryKey: number | string | null;
3
+ rowsAffected: number | null;
4
+ affectedOtherRowsByTrigger: boolean | null;
5
+ }
@@ -41726,12 +41726,12 @@ export {
41726
41726
  _P as a7,
41727
41727
  xP as a8,
41728
41728
  $P as a9,
41729
- b6 as aA,
41730
- x6 as aB,
41731
- Tbe as aC,
41732
- Xv as aD,
41733
- k$ as aE,
41734
- PS as aF,
41729
+ w6 as aA,
41730
+ b6 as aB,
41731
+ x6 as aC,
41732
+ Tbe as aD,
41733
+ Xv as aE,
41734
+ k$ as aF,
41735
41735
  uh as aG,
41736
41736
  Obe as aH,
41737
41737
  wP as aI,
@@ -41775,10 +41775,10 @@ export {
41775
41775
  cA as at,
41776
41776
  I0 as au,
41777
41777
  hs as av,
41778
- K3 as aw,
41779
- oye as ax,
41780
- iye as ay,
41781
- w6 as az,
41778
+ PS as aw,
41779
+ K3 as ax,
41780
+ oye as ay,
41781
+ iye as az,
41782
41782
  bo as b,
41783
41783
  Pye as b$,
41784
41784
  Oe as b0,
@@ -1,4 +1,4 @@
1
- import { c as D } from "./nivo-bar-B0DQaqgI.js";
1
+ import { c as D } from "./nivo-bar-eqo8TGxR.js";
2
2
  import { useSearchParams as j } from "react-router";
3
3
  import { useFormState as p } from "react-hook-form";
4
4
  const y = () => {
@@ -1,4 +1,4 @@
1
- import { ao as E, aq as F, bd as G, c as J } from "./nivo-bar-B0DQaqgI.js";
1
+ import { ao as E, aq as F, bd as G, c as J } from "./nivo-bar-eqo8TGxR.js";
2
2
  import "react/jsx-runtime";
3
3
  import { useState as C, useContext as N, useRef as O, useCallback as L, useEffect as R } from "react";
4
4
  import "react-router";
package/dist/utils.es.js CHANGED
@@ -1,5 +1,5 @@
1
- import { aE as f, X as p } from "./nivo-bar-B0DQaqgI.js";
2
- import { ci as z, cg as A, ch as U, cf as $, ce as W, bZ as G, b_ as J, bV as Q, bp as X, c5 as Y, bW as q, bD as Z, aX as H, cd as K, ck as _, c4 as ee, b$ as te, bh as re, c1 as se, bi as ae, c0 as oe, c2 as ne, c3 as ie, c9 as le, bB as ce, c7 as me, c6 as ue, bX as ge, c8 as de, bY as fe, a0 as pe, bP as he, ca as Se, bk as be, bo as ye, cm as Oe, cb as Fe, ak as we, cc as De, bg as xe, cj as ve, cl as Te } from "./nivo-bar-B0DQaqgI.js";
1
+ import { aF as f, X as p } from "./nivo-bar-eqo8TGxR.js";
2
+ import { ci as z, cg as A, ch as U, cf as $, ce as W, bZ as G, b_ as J, bV as Q, bp as X, c5 as Y, bW as q, bD as Z, aX as H, cd as K, ck as _, c4 as ee, b$ as te, bh as re, c1 as se, bi as ae, c0 as oe, c2 as ne, c3 as ie, c9 as le, bB as ce, c7 as me, c6 as ue, bX as ge, c8 as de, bY as fe, a0 as pe, bP as he, ca as Se, bk as be, bo as ye, cm as Oe, cb as Fe, ak as we, cc as De, bg as xe, cj as ve, cl as Te } from "./nivo-bar-eqo8TGxR.js";
3
3
  import { jsx as c, Fragment as u } from "react/jsx-runtime";
4
4
  import "react";
5
5
  import "@azure/msal-browser";
@@ -79,7 +79,7 @@ const T = (e) => {
79
79
  return Object.keys(e).forEach((a) => {
80
80
  r.append(`BnfTable-${t || "Universal"}.${a}`, JSON.stringify(e[a]));
81
81
  }), r.toString();
82
- }, E = (e, t) => {
82
+ }, L = (e, t) => {
83
83
  const r = localStorage.getItem("BnfTable-SettingsMigration");
84
84
  if (r) {
85
85
  const a = JSON.parse(r);
@@ -102,7 +102,7 @@ const T = (e) => {
102
102
  }, i = () => new URLSearchParams(window.location.search), m = (e) => {
103
103
  const t = window.location.pathname + (e.toString() ? `?${e.toString()}` : "") + window.location.hash;
104
104
  window.history.replaceState(null, "", t);
105
- }, L = {
105
+ }, V = {
106
106
  get length() {
107
107
  return Array.from(i().keys()).length;
108
108
  },
@@ -125,9 +125,9 @@ const T = (e) => {
125
125
  clear() {
126
126
  m(new URLSearchParams());
127
127
  }
128
- }, V = ["edit", "delete", "info", "warning", "check", "check-simple", "add", "cancel", "cancel-simple", "danger", "chevron-left", "chevron-right", "chevron-up", "chevron-down", "chevron-double-left", "chevron-double-right", "folder", "folder-filled", "file-download", "file-upload", "star-outline", "save", "link", "pending", "resizer-horizontal", "qr-code", "phone", "mail", "mail-envelope", "dashboard", "user", "role", "close", "search", "plus", "minus", "menu", "arrow-right"];
128
+ }, E = ["edit", "delete", "info", "warning", "check", "check-simple", "add", "cancel", "cancel-simple", "danger", "chevron-left", "chevron-right", "chevron-up", "chevron-down", "chevron-double-left", "chevron-double-right", "folder", "folder-filled", "file-download", "file-upload", "star-outline", "save", "link", "pending", "resizer-horizontal", "qr-code", "phone", "mail", "mail-envelope", "dashboard", "user", "role", "close", "search", "plus", "minus", "menu", "arrow-right"];
129
129
  export {
130
- V as CommonLuminusIconsArray,
130
+ E as CommonLuminusIconsArray,
131
131
  C as adjustBrightness,
132
132
  z as atobUtf8,
133
133
  A as buildEmployeeNameString,
@@ -169,10 +169,10 @@ export {
169
169
  fe as isValidDate,
170
170
  pe as joinStrings,
171
171
  Me as limitNumber,
172
- E as migrateBnfTableSettings,
172
+ L as migrateBnfTableSettings,
173
173
  he as msToStartOfNextDay,
174
174
  N as numFormat,
175
- L as queryStorage,
175
+ V as queryStorage,
176
176
  Se as replaceNullValuesOnlyObjectsWithNulls,
177
177
  M as responsePromiseWrapper,
178
178
  Be as restoreLocalStorage,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-luminus-components",
3
- "version": "2.0.5-beta.r19-19",
3
+ "version": "2.0.5-beta.r19-21",
4
4
  "description": "Library of React Components reusable in Luminus projects (Fleetman, CAFM)",
5
5
  "type": "module",
6
6
  "repository": {
@@ -69,7 +69,7 @@
69
69
  "react-qrcode-logo": "^3.0.0",
70
70
  "react-responsive": "^10.0.0",
71
71
  "react-router": "7.x",
72
- "tanstack-bnf-table": "^0.3.0-beta.r19-2",
72
+ "tanstack-bnf-table": "^0.4.0",
73
73
  "zod": "^3.25.76"
74
74
  },
75
75
  "dependencies": {