@erpsquad/common 1.10.8-test → 1.10.9-test
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/chunks/{ai-summary-D9QajB4_.js → ai-summary-4NVNEHfi.js} +2 -2
- package/dist/chunks/{ai-summary-D9QajB4_.js.map → ai-summary-4NVNEHfi.js.map} +1 -1
- package/dist/chunks/{ai-summary-FqAUpafL.esm.js → ai-summary-f8clWLbW.esm.js} +65 -44
- package/dist/chunks/{ai-summary-FqAUpafL.esm.js.map → ai-summary-f8clWLbW.esm.js.map} +1 -1
- package/dist/chunks/{android-12-switch-BVabRCje.esm.js → android-12-switch-BUbQYnRQ.esm.js} +53 -35
- package/dist/chunks/{android-12-switch-BVabRCje.esm.js.map → android-12-switch-BUbQYnRQ.esm.js.map} +1 -1
- package/dist/chunks/android-12-switch-CphTHRb8.js +2 -0
- package/dist/chunks/{android-12-switch-DMaoWQwq.js.map → android-12-switch-CphTHRb8.js.map} +1 -1
- package/dist/chunks/{appbar-6Ucw59ku.js → appbar-C6Es9HGk.js} +2 -2
- package/dist/chunks/{appbar-6Ucw59ku.js.map → appbar-C6Es9HGk.js.map} +1 -1
- package/dist/chunks/{appbar-mDf1LZ0u.esm.js → appbar-CKrHdx9n.esm.js} +2 -2
- package/dist/chunks/{appbar-mDf1LZ0u.esm.js.map → appbar-CKrHdx9n.esm.js.map} +1 -1
- package/dist/chunks/{default-data-CwLgBvlI.esm.js → default-data-BsZWgQGR.esm.js} +3 -3
- package/dist/chunks/{default-data-CwLgBvlI.esm.js.map → default-data-BsZWgQGR.esm.js.map} +1 -1
- package/dist/chunks/{default-data-D2cqOmp4.js → default-data-Dsjlvwev.js} +2 -2
- package/dist/chunks/{default-data-D2cqOmp4.js.map → default-data-Dsjlvwev.js.map} +1 -1
- package/dist/chunks/{fullScreen-VlXxoepU.js → fullScreen-BBpaDn-A.js} +2 -2
- package/dist/chunks/{fullScreen-VlXxoepU.js.map → fullScreen-BBpaDn-A.js.map} +1 -1
- package/dist/chunks/{fullScreen-B9d2_kak.esm.js → fullScreen-Dn-3Tkwm.esm.js} +2 -2
- package/dist/chunks/{fullScreen-B9d2_kak.esm.js.map → fullScreen-Dn-3Tkwm.esm.js.map} +1 -1
- package/dist/chunks/index-B9CFxEZ9.js +2 -0
- package/dist/chunks/index-B9CFxEZ9.js.map +1 -0
- package/dist/chunks/{index-iPYNYnNP.esm.js → index-wf5q5BST.esm.js} +73 -66
- package/dist/chunks/{index-iPYNYnNP.esm.js.map → index-wf5q5BST.esm.js.map} +1 -1
- package/dist/chunks/{migration-utils-TYitNMC7.js → migration-utils-9IXhe_fj.js} +2 -2
- package/dist/chunks/{migration-utils-TYitNMC7.js.map → migration-utils-9IXhe_fj.js.map} +1 -1
- package/dist/chunks/{migration-utils-BRjncD-b.esm.js → migration-utils-DGoEzQUj.esm.js} +2 -2
- package/dist/chunks/{migration-utils-BRjncD-b.esm.js.map → migration-utils-DGoEzQUj.esm.js.map} +1 -1
- package/dist/chunks/{sidebar-DJREtRnK.js → sidebar-B3SExDRU.js} +2 -2
- package/dist/chunks/{sidebar-DJREtRnK.js.map → sidebar-B3SExDRU.js.map} +1 -1
- package/dist/chunks/{sidebar-D_3INLNa.esm.js → sidebar-n9Y25HU-.esm.js} +2 -2
- package/dist/chunks/{sidebar-D_3INLNa.esm.js.map → sidebar-n9Y25HU-.esm.js.map} +1 -1
- package/dist/chunks/{sidebarScreen-CUf5Onkp.js → sidebarScreen-Dxb_e58p.js} +2 -2
- package/dist/chunks/{sidebarScreen-CUf5Onkp.js.map → sidebarScreen-Dxb_e58p.js.map} +1 -1
- package/dist/chunks/{sidebarScreen-CLjYZOzQ.esm.js → sidebarScreen-_Zt2pSOx.esm.js} +3 -3
- package/dist/chunks/{sidebarScreen-CLjYZOzQ.esm.js.map → sidebarScreen-_Zt2pSOx.esm.js.map} +1 -1
- package/dist/components/index.esm.js +121 -103
- package/dist/components/index.js +1 -1
- package/dist/index.esm.js +218 -200
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/layout/index.esm.js +2 -2
- package/dist/layout/index.js +1 -1
- package/dist/src/components/index.d.ts +18 -1
- package/dist/utils/index.esm.js +1 -1
- package/dist/utils/index.js +1 -1
- package/dist/views/index.esm.js +5 -5
- package/dist/views/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunks/android-12-switch-DMaoWQwq.js +0 -2
- package/dist/chunks/index-BQ2NBHDS.js +0 -2
- package/dist/chunks/index-BQ2NBHDS.js.map +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useFieldArray, Controller, useForm, useFormContext } from "react-hook-form";
|
|
3
|
-
import { P as PropTypes } from "./index-
|
|
3
|
+
import { P as PropTypes } from "./index-wf5q5BST.esm.js";
|
|
4
4
|
import Close from "@mui/icons-material/Close";
|
|
5
5
|
import AddIcon from "@mui/icons-material/Add";
|
|
6
|
-
import { w as DynamicSelect, i as DateTimePicker, D as DatePicker$1, A as Accordion, C as Checkbox, g as ChipOrPlaceholder$1, j as DropdownButton,
|
|
7
|
-
import { D as DynamicInput, b as Avatar, o, M as Modal, c as Select, B as Button, C as ConfirmPopUp, d as Toast, S as SearchBar, T as TextField$1, e as Tooltip$1 } from "./appbar-
|
|
6
|
+
import { w as DynamicSelect, i as DateTimePicker, D as DatePicker$1, A as Accordion, C as Checkbox, g as ChipOrPlaceholder$1, j as DropdownButton, af as TitleDropdownButton, T as HeaderCard, ac as TabBar, a7 as SearchableSelect, _ as ModalLoader, Z as MaterialTable, u as DynamicSearchSelect, n as DynamicDate, z as DynamicTime, f as ChipGenerator, l as DynamicCheckBox, M as Footer, F as Fallback, a as ActionBar, ae as TimePicker, aj as UploadMedia, a4 as PhoneInput } from "./android-12-switch-BUbQYnRQ.esm.js";
|
|
7
|
+
import { D as DynamicInput, b as Avatar, o, M as Modal, c as Select, B as Button, C as ConfirmPopUp, d as Toast, S as SearchBar, T as TextField$1, e as Tooltip$1 } from "./appbar-CKrHdx9n.esm.js";
|
|
8
8
|
import React__default, { useState, lazy, useMemo, useRef, useEffect, useCallback, cloneElement } from "react";
|
|
9
9
|
import DatePicker from "react-datepicker";
|
|
10
10
|
import "react-datepicker/dist/react-datepicker.css";
|
|
@@ -4433,6 +4433,25 @@ const ProtectedRoute = ({
|
|
|
4433
4433
|
}
|
|
4434
4434
|
return showError ? /* @__PURE__ */ jsx(ErrorComponent, {}) : /* @__PURE__ */ jsx(Navigate, { to: redirectTo, replace: true });
|
|
4435
4435
|
};
|
|
4436
|
+
const createPermissionConfig = {
|
|
4437
|
+
// Single module
|
|
4438
|
+
single: (module, action) => ({
|
|
4439
|
+
module,
|
|
4440
|
+
action
|
|
4441
|
+
}),
|
|
4442
|
+
// Multiple modules with same action
|
|
4443
|
+
multiModule: (modules, action, operator = "OR") => ({
|
|
4444
|
+
multiModule: { modules, action, operator }
|
|
4445
|
+
}),
|
|
4446
|
+
// Complex permissions
|
|
4447
|
+
complex: (permissions, operator = "AND") => ({
|
|
4448
|
+
complexPermissions: { permissions, operator }
|
|
4449
|
+
}),
|
|
4450
|
+
// Custom function
|
|
4451
|
+
custom: (checkFn) => ({
|
|
4452
|
+
customPermissionCheck: checkFn
|
|
4453
|
+
})
|
|
4454
|
+
};
|
|
4436
4455
|
const ReportButtons = ({ buttons, dropdownMenuButtonData = null, toggleCallback, className, zIndex = 999 }) => {
|
|
4437
4456
|
return /* @__PURE__ */ jsxs("div", { className, children: [
|
|
4438
4457
|
buttons == null ? void 0 : buttons.map((ele) => /* @__PURE__ */ jsx(
|
|
@@ -12487,52 +12506,54 @@ function AISummaryPanel(props = {}) {
|
|
|
12487
12506
|
] });
|
|
12488
12507
|
}
|
|
12489
12508
|
export {
|
|
12490
|
-
|
|
12509
|
+
PageLoader as $,
|
|
12491
12510
|
AISummaryPanel as A,
|
|
12492
12511
|
BarChart as B,
|
|
12493
12512
|
CalculationSummary as C,
|
|
12494
12513
|
DonutChart$1 as D,
|
|
12495
12514
|
ElementController as E,
|
|
12496
|
-
|
|
12515
|
+
EntityViewWrapper as F,
|
|
12497
12516
|
GridCard as G,
|
|
12498
|
-
|
|
12499
|
-
|
|
12500
|
-
|
|
12501
|
-
|
|
12502
|
-
|
|
12503
|
-
|
|
12504
|
-
|
|
12505
|
-
|
|
12506
|
-
|
|
12507
|
-
|
|
12508
|
-
|
|
12509
|
-
|
|
12510
|
-
|
|
12511
|
-
|
|
12512
|
-
|
|
12513
|
-
|
|
12514
|
-
|
|
12515
|
-
|
|
12516
|
-
|
|
12517
|
-
|
|
12517
|
+
ExpandableSummaryWrapper as H,
|
|
12518
|
+
FormData as I,
|
|
12519
|
+
FormLoader as J,
|
|
12520
|
+
Forms as K,
|
|
12521
|
+
GanttChart as L,
|
|
12522
|
+
GridCard$1 as M,
|
|
12523
|
+
GridFallback as N,
|
|
12524
|
+
GridWrapper as O,
|
|
12525
|
+
GroupedBarChart$1 as P,
|
|
12526
|
+
HrLine as Q,
|
|
12527
|
+
InventoryReportsTitleBar as R,
|
|
12528
|
+
ItemResponseDetails as S,
|
|
12529
|
+
LabelValue as T,
|
|
12530
|
+
LineChart as U,
|
|
12531
|
+
List as V,
|
|
12532
|
+
ListingComponent as W,
|
|
12533
|
+
MaterialEditableTable as X,
|
|
12534
|
+
MultiLine as Y,
|
|
12535
|
+
MultiLineChart as Z,
|
|
12536
|
+
MultiSelect as _,
|
|
12518
12537
|
ActivityTag as a,
|
|
12519
|
-
|
|
12520
|
-
|
|
12521
|
-
|
|
12522
|
-
|
|
12523
|
-
|
|
12524
|
-
|
|
12525
|
-
|
|
12526
|
-
|
|
12527
|
-
|
|
12528
|
-
|
|
12529
|
-
|
|
12530
|
-
|
|
12531
|
-
|
|
12532
|
-
|
|
12533
|
-
|
|
12534
|
-
|
|
12535
|
-
|
|
12538
|
+
ProtectedRoute as a0,
|
|
12539
|
+
QuickApprovalModal as a1,
|
|
12540
|
+
ReportButtons as a2,
|
|
12541
|
+
ReportTable as a3,
|
|
12542
|
+
ReportsTitleBar as a4,
|
|
12543
|
+
GeneralScheduleReport as a5,
|
|
12544
|
+
ScheduleReportModal as a6,
|
|
12545
|
+
Snackbar as a7,
|
|
12546
|
+
SubHeaderDoc as a8,
|
|
12547
|
+
TabBarUi as a9,
|
|
12548
|
+
TextArea as aa,
|
|
12549
|
+
TimeRangePicker as ab,
|
|
12550
|
+
UomFieldWrapper as ac,
|
|
12551
|
+
Upload as ad,
|
|
12552
|
+
UserDropdown as ae,
|
|
12553
|
+
createPermissionConfig as af,
|
|
12554
|
+
dynamicFields as ag,
|
|
12555
|
+
fields as ah,
|
|
12556
|
+
validator as ai,
|
|
12536
12557
|
ActivityTag$1 as b,
|
|
12537
12558
|
ApprovalWrapper as c,
|
|
12538
12559
|
AreaLineChart as d,
|
|
@@ -12557,6 +12578,6 @@ export {
|
|
|
12557
12578
|
DynamicDateTime as w,
|
|
12558
12579
|
DynamicLayoutWrapper as x,
|
|
12559
12580
|
DynamicModal as y,
|
|
12560
|
-
|
|
12581
|
+
DynamicRow as z
|
|
12561
12582
|
};
|
|
12562
|
-
//# sourceMappingURL=ai-summary-
|
|
12583
|
+
//# sourceMappingURL=ai-summary-f8clWLbW.esm.js.map
|