sccoreui 6.5.34 → 6.5.36
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/App.js +1 -1
- package/dist/components/ag-grid/advancedFeature/advanced-feature.js +4 -4
- package/dist/components/ag-grid/constants.js +2 -0
- package/dist/components/ag-grid/parent-for-grid.js +22 -14
- package/dist/components/menu/menu.js +12 -1
- package/dist/components/overlays/overlay-panel.js +12 -1
- package/dist/types/App.d.ts +1 -1
- package/dist/types/assets/svg/svg.d.ts +10 -10
- package/dist/types/components/accordion/accordion.d.ts +1 -1
- package/dist/types/components/ag-charts/AGCharts.d.ts +1 -1
- package/dist/types/components/ag-grid/AgGrid.d.ts +1 -1
- package/dist/types/components/ag-grid/advancedFeature/advanced-feature.d.ts +1 -1
- package/dist/types/components/ag-grid/advancedFeature/bulk-edit-action.d.ts +1 -1
- package/dist/types/components/ag-grid/advancedFeature/column-group.d.ts +1 -1
- package/dist/types/components/ag-grid/advancedFeature/custom-sort.d.ts +1 -1
- package/dist/types/components/ag-grid/advancedFeature/global-search.d.ts +1 -1
- package/dist/types/components/ag-grid/advancedFeature/gridS-search.d.ts +1 -1
- package/dist/types/components/ag-grid/advancedFeature/grouping.d.ts +1 -1
- package/dist/types/components/ag-grid/advancedFeature/hide-column.d.ts +1 -1
- package/dist/types/components/ag-grid/advancedFeature/new-filter/conditions/Conditions.d.ts +1 -1
- package/dist/types/components/ag-grid/advancedFeature/new-filter/table-filter.d.ts +1 -1
- package/dist/types/components/ag-grid/advancedFeature/record-detail.d.ts +1 -1
- package/dist/types/components/ag-grid/advancedFeature/refresh-grid.d.ts +1 -1
- package/dist/types/components/ag-grid/advancedFeature/remove-items.d.ts +1 -1
- package/dist/types/components/ag-grid/context-provider.d.ts +1 -1
- package/dist/types/components/ag-grid/custom-dropdown.d.ts +1 -1
- package/dist/types/components/ag-grid/loading-component.d.ts +1 -1
- package/dist/types/components/ag-grid/parent-for-grid.d.ts +1 -1
- package/dist/types/components/ag-grid/utilComponents.d.ts +2 -2
- package/dist/types/components/auto-complete/auto-complete.d.ts +1 -1
- package/dist/types/components/button/button.d.ts +1 -1
- package/dist/types/components/checkbox/checkbox.d.ts +1 -1
- package/dist/types/components/custom-color-picker/color-picker.d.ts +1 -1
- package/dist/types/components/date-picker/date-picker.d.ts +1 -1
- package/dist/types/components/dropdown/dropdown.d.ts +1 -1
- package/dist/types/components/form/form-fields/FieldLabel.d.ts +1 -1
- package/dist/types/components/form/form-fields/form-fields.d.ts +7 -7
- package/dist/types/components/form/form.d.ts +1 -1
- package/dist/types/components/formula-template/ExpressionRender.d.ts +1 -1
- package/dist/types/components/formula-template/FormulaComponent.d.ts +1 -1
- package/dist/types/components/formula-template/Tagify.d.ts +2 -1
- package/dist/types/components/froala-editor/FroalaEditor.d.ts +1 -1
- package/dist/types/components/froala-editor/FroalaEditorTextBox.d.ts +1 -1
- package/dist/types/components/list-box-dropdown/list-box-dropdown.d.ts +1 -1
- package/dist/types/components/list-box-dropdown/virtualization-component.d.ts +2 -1
- package/dist/types/components/loading-indicator/loading-indicator-custom.d.ts +1 -1
- package/dist/types/components/multi-select-dropdown/multi-select-dropdown.d.ts +1 -1
- package/dist/types/components/progress_bar_round/circle-progress-bar.d.ts +1 -1
- package/dist/types/components/progress_bar_round/half-circle-progres-bar.d.ts +1 -1
- package/dist/types/components/sc-multi-select/scMultiSelect.d.ts +1 -1
- package/dist/types/components/skeletons/FeatureSkeleton.d.ts +1 -1
- package/dist/types/components/treeDropdownSelect/treeDropdownSelect.d.ts +1 -1
- package/dist/types/components/virtual-scroll-drop-down/VirtualScrollDropDown.d.ts +1 -1
- package/dist/types/components/virtual-scroll-list-box/VirtualScrollListBox.d.ts +2 -1
- package/dist/types/directives/svg-component.d.ts +1 -1
- package/package.json +1 -1
package/dist/App.js
CHANGED
|
@@ -4,6 +4,6 @@ const jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
4
4
|
require("./App.scss");
|
|
5
5
|
// import Home from "./pages/home";
|
|
6
6
|
const App = () => {
|
|
7
|
-
return (0, jsx_runtime_1.jsx)("div", { className: "m-6" });
|
|
7
|
+
return ((0, jsx_runtime_1.jsx)("div", { className: "m-6" }));
|
|
8
8
|
};
|
|
9
9
|
exports.default = App;
|
|
@@ -17,7 +17,7 @@ const column_group_1 = tslib_1.__importDefault(require("./column-group"));
|
|
|
17
17
|
const type_1 = require("../../types/type");
|
|
18
18
|
const grid_view_list_view_1 = tslib_1.__importDefault(require("./grid-view-list-view"));
|
|
19
19
|
function AdvancedFeatures({ props }) {
|
|
20
|
-
const { featureDetails } = (0, react_1.useContext)(context_provider_1.FeatureContext);
|
|
20
|
+
const { featureDetails, gridView } = (0, react_1.useContext)(context_provider_1.FeatureContext);
|
|
21
21
|
const conditionsToDisplay = props === null || props === void 0 ? void 0 : props.conditionsToDisplay;
|
|
22
22
|
const { bulkActionComponent: BulkAction, BulkEditComponent: BulkEdit,
|
|
23
23
|
// discardEditComponent: DiscardEdit,
|
|
@@ -31,8 +31,8 @@ function AdvancedFeatures({ props }) {
|
|
|
31
31
|
};
|
|
32
32
|
return ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: (props === null || props === void 0 ? void 0 : props.editMode) ? ((0, jsx_runtime_1.jsxs)("div", Object.assign({ className: `flex align-items-center justify-content-between py-3 px-4 bg-white grid-header` }, { children: [(0, jsx_runtime_1.jsx)("div", Object.assign({ className: "flex align-items-center gap-3" }, { children: isComponentVisible(conditionsToDisplay === null || conditionsToDisplay === void 0 ? void 0 : conditionsToDisplay.displayEditHeading) &&
|
|
33
33
|
(props === null || props === void 0 ? void 0 : props.EditHeadingDetails) && (0, jsx_runtime_1.jsx)(EditDetails, {}) })), (0, jsx_runtime_1.jsx)("div", Object.assign({ className: "flex align-items-center gap-3" }, { children: isComponentVisible(conditionsToDisplay === null || conditionsToDisplay === void 0 ? void 0 : conditionsToDisplay.displaySearch) && ((0, jsx_runtime_1.jsx)(gridS_search_1.default, {})) })), (0, jsx_runtime_1.jsxs)("div", Object.assign({ className: "flex align-items-center gap-3" }, { children: [isComponentVisible(conditionsToDisplay === null || conditionsToDisplay === void 0 ? void 0 : conditionsToDisplay.displaySidePanel) && ((0, jsx_runtime_1.jsx)(hide_column_1.default, {})), isComponentVisible(conditionsToDisplay === null || conditionsToDisplay === void 0 ? void 0 : conditionsToDisplay.displayBulkEdit) &&
|
|
34
|
-
(props === null || props === void 0 ? void 0 : props.BulkEditComponent) && (0, jsx_runtime_1.jsx)(BulkEdit, {}), (props === null || props === void 0 ? void 0 : props.editMode) && (0, jsx_runtime_1.jsx)(bulk_edit_action_1.default, { props: props })] }))] }))) : ((0, jsx_runtime_1.jsxs)("div", Object.assign({ className: `flex align-items-center justify-content-between py-3 px-4 bg-white grid-header` }, { children: [(0, jsx_runtime_1.jsxs)("div", Object.assign({ className: "flex align-items-center gap-3 grid-global-search" }, { children: [isComponentVisible(conditionsToDisplay === null || conditionsToDisplay === void 0 ? void 0 : conditionsToDisplay.displaySearch) && ((0, jsx_runtime_1.jsx)(global_search_1.default, { searchPlaceHolder: props === null || props === void 0 ? void 0 : props.placeholder })), isComponentVisible(conditionsToDisplay === null || conditionsToDisplay === void 0 ? void 0 : conditionsToDisplay.displayFilter) && ((0, jsx_runtime_1.jsx)(table_filter_1.default, {})), isComponentVisible(conditionsToDisplay === null || conditionsToDisplay === void 0 ? void 0 : conditionsToDisplay.displayAdvancedFilter) && ((0, jsx_runtime_1.jsx)(AdvanceFilterWrapper, {})), isComponentVisible(conditionsToDisplay === null || conditionsToDisplay === void 0 ? void 0 : conditionsToDisplay.displayRowGroupingElement) && (0, jsx_runtime_1.jsx)(column_group_1.default, { dataFromProps: props })] })), (0, jsx_runtime_1.jsxs)("div", Object.assign({ className: "flex align-items-center gap-3" }, { children: [isComponentVisible(conditionsToDisplay === null || conditionsToDisplay === void 0 ? void 0 : conditionsToDisplay.displaySidePanel) && ((0, jsx_runtime_1.jsx)(hide_column_1.default, {})), isComponentVisible(conditionsToDisplay === null || conditionsToDisplay === void 0 ? void 0 : conditionsToDisplay.displayGridViewListView) && (0, jsx_runtime_1.jsx)(grid_view_list_view_1.default, {}), isComponentVisible(conditionsToDisplay === null || conditionsToDisplay === void 0 ? void 0 : conditionsToDisplay.displayRemoveItems) && ((0, jsx_runtime_1.jsx)(remove_items_1.default, { bulkRemoveComponent: props === null || props === void 0 ? void 0 : props.bulkRemoveComponent, removeCallBack: props.removeCallBack })), isComponentVisible(conditionsToDisplay === null || conditionsToDisplay === void 0 ? void 0 : conditionsToDisplay.displayBulkEdit) &&
|
|
35
|
-
(props === null || props === void 0 ? void 0 : props.BulkEditComponent) && (0, jsx_runtime_1.jsx)(BulkEdit, {}), isComponentVisible(conditionsToDisplay === null || conditionsToDisplay === void 0 ? void 0 : conditionsToDisplay.displayBulkAction) &&
|
|
36
|
-
(props === null || props === void 0 ? void 0 : props.bulkActionComponent) && ((0, jsx_runtime_1.jsx)(BulkAction, { checkBoxSelection: featureDetails.checkBoxSelection })), isComponentVisible(conditionsToDisplay === null || conditionsToDisplay === void 0 ? void 0 : conditionsToDisplay.displayRefresh) && ((0, jsx_runtime_1.jsx)(refresh_grid_1.default, {})), isComponentVisible(conditionsToDisplay === null || conditionsToDisplay === void 0 ? void 0 : conditionsToDisplay.displaySort) && (0, jsx_runtime_1.jsx)(custom_sort_1.default, {}), isComponentVisible(conditionsToDisplay === null || conditionsToDisplay === void 0 ? void 0 : conditionsToDisplay.displayRecords) && ((0, jsx_runtime_1.jsx)(record_detail_1.default, {}))] }))] }))) }));
|
|
34
|
+
(props === null || props === void 0 ? void 0 : props.BulkEditComponent) && (0, jsx_runtime_1.jsx)(BulkEdit, {}), (props === null || props === void 0 ? void 0 : props.editMode) && (0, jsx_runtime_1.jsx)(bulk_edit_action_1.default, { props: props })] }))] }))) : ((0, jsx_runtime_1.jsxs)("div", Object.assign({ className: `flex align-items-center justify-content-between py-3 px-4 bg-white grid-header` }, { children: [(0, jsx_runtime_1.jsxs)("div", Object.assign({ className: "flex align-items-center gap-3 grid-global-search" }, { children: [isComponentVisible(conditionsToDisplay === null || conditionsToDisplay === void 0 ? void 0 : conditionsToDisplay.displaySearch) && ((0, jsx_runtime_1.jsx)(global_search_1.default, { searchPlaceHolder: props === null || props === void 0 ? void 0 : props.placeholder })), isComponentVisible(conditionsToDisplay === null || conditionsToDisplay === void 0 ? void 0 : conditionsToDisplay.displayFilter) && !gridView && ((0, jsx_runtime_1.jsx)(table_filter_1.default, {})), isComponentVisible(conditionsToDisplay === null || conditionsToDisplay === void 0 ? void 0 : conditionsToDisplay.displayAdvancedFilter) && ((0, jsx_runtime_1.jsx)(AdvanceFilterWrapper, {})), isComponentVisible(conditionsToDisplay === null || conditionsToDisplay === void 0 ? void 0 : conditionsToDisplay.displayRowGroupingElement) && (0, jsx_runtime_1.jsx)(column_group_1.default, { dataFromProps: props })] })), (0, jsx_runtime_1.jsxs)("div", Object.assign({ className: "flex align-items-center gap-3" }, { children: [isComponentVisible(conditionsToDisplay === null || conditionsToDisplay === void 0 ? void 0 : conditionsToDisplay.displaySidePanel) && !gridView && ((0, jsx_runtime_1.jsx)(hide_column_1.default, {})), isComponentVisible(conditionsToDisplay === null || conditionsToDisplay === void 0 ? void 0 : conditionsToDisplay.displayGridViewListView) && (0, jsx_runtime_1.jsx)(grid_view_list_view_1.default, {}), isComponentVisible(conditionsToDisplay === null || conditionsToDisplay === void 0 ? void 0 : conditionsToDisplay.displayRemoveItems) && !gridView && ((0, jsx_runtime_1.jsx)(remove_items_1.default, { bulkRemoveComponent: props === null || props === void 0 ? void 0 : props.bulkRemoveComponent, removeCallBack: props.removeCallBack })), isComponentVisible(conditionsToDisplay === null || conditionsToDisplay === void 0 ? void 0 : conditionsToDisplay.displayBulkEdit) && !gridView &&
|
|
35
|
+
(props === null || props === void 0 ? void 0 : props.BulkEditComponent) && (0, jsx_runtime_1.jsx)(BulkEdit, {}), isComponentVisible(conditionsToDisplay === null || conditionsToDisplay === void 0 ? void 0 : conditionsToDisplay.displayBulkAction) && !gridView &&
|
|
36
|
+
(props === null || props === void 0 ? void 0 : props.bulkActionComponent) && !gridView && ((0, jsx_runtime_1.jsx)(BulkAction, { checkBoxSelection: featureDetails.checkBoxSelection })), isComponentVisible(conditionsToDisplay === null || conditionsToDisplay === void 0 ? void 0 : conditionsToDisplay.displayRefresh) && !gridView && ((0, jsx_runtime_1.jsx)(refresh_grid_1.default, {})), isComponentVisible(conditionsToDisplay === null || conditionsToDisplay === void 0 ? void 0 : conditionsToDisplay.displaySort) && !gridView && (0, jsx_runtime_1.jsx)(custom_sort_1.default, {}), isComponentVisible(conditionsToDisplay === null || conditionsToDisplay === void 0 ? void 0 : conditionsToDisplay.displayRecords) && ((0, jsx_runtime_1.jsx)(record_detail_1.default, {}))] }))] }))) }));
|
|
37
37
|
}
|
|
38
38
|
exports.default = AdvancedFeatures;
|
|
@@ -9,6 +9,8 @@ exports.COLUMN_SORT_OPTIONS = [
|
|
|
9
9
|
{ id: 4, label: "Z - A", sortId: 2, dataType: Types_1.FilterDataType.STRING },
|
|
10
10
|
{ id: 5, sortId: 1, label: "Min -Max", dataType: Types_1.FilterDataType.DATE },
|
|
11
11
|
{ id: 6, sortId: 2, label: "Max - Min", dataType: Types_1.FilterDataType.DATE },
|
|
12
|
+
{ id: 7, label: "Low - High", sortId: 1, dataType: Types_1.FilterDataType.CURRENCY },
|
|
13
|
+
{ id: 8, label: "High - Low", sortId: 2, dataType: Types_1.FilterDataType.CURRENCY },
|
|
12
14
|
];
|
|
13
15
|
exports.ROWMODELTYPE = {
|
|
14
16
|
INFINITE: "infinite",
|
|
@@ -521,23 +521,31 @@ function ParentForGrid(props) {
|
|
|
521
521
|
(_b = gridRef.current.api) === null || _b === void 0 ? void 0 : _b.setGridOption("columnDefs", newColumnDefs);
|
|
522
522
|
}
|
|
523
523
|
else {
|
|
524
|
-
// Same structure — just update hide/seq
|
|
524
|
+
// Same structure — just update hide/seq. Only touch the grid when a value
|
|
525
|
+
// actually changed: props.columnData can arrive with a fresh reference on
|
|
526
|
+
// unrelated re-renders (e.g. opening a row's action menu), and blindly
|
|
527
|
+
// calling setGridData/setGridOption there re-mounts the cells and breaks
|
|
528
|
+
// stateful cell renderers (the 3-dots menu stops toggling after first use).
|
|
529
|
+
let hasChange = false;
|
|
525
530
|
const updatedColumnDefs = existingColumns.map((colDef) => {
|
|
526
|
-
columnFromProps.find((col) =>
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
531
|
+
const match = columnFromProps.find((col) => col.id === colDef.id);
|
|
532
|
+
if (match &&
|
|
533
|
+
(colDef.hide !== match.hide || colDef.seq !== (match === null || match === void 0 ? void 0 : match.seq))) {
|
|
534
|
+
colDef.hide = match.hide;
|
|
535
|
+
colDef.seq = match === null || match === void 0 ? void 0 : match.seq;
|
|
536
|
+
hasChange = true;
|
|
537
|
+
}
|
|
532
538
|
return colDef;
|
|
533
539
|
});
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
540
|
+
if (hasChange) {
|
|
541
|
+
const reOrderedColumns = updatedColumnDefs.sort((a, b) => a.seq - b.seq);
|
|
542
|
+
// Keep React state in sync with the imperative grid update. Without this,
|
|
543
|
+
// gridData.columnData stays stale (old hide/seq) and the next re-render
|
|
544
|
+
// rebuilds gridOptions.columnDefs from it, reverting the change a few
|
|
545
|
+
// seconds later — the column only "sticks" after a full page reload.
|
|
546
|
+
setGridData((prev) => (Object.assign(Object.assign({}, prev), { columnData: columnFromProps })));
|
|
547
|
+
(_c = gridRef.current.api) === null || _c === void 0 ? void 0 : _c.setGridOption("columnDefs", reOrderedColumns);
|
|
548
|
+
}
|
|
541
549
|
}
|
|
542
550
|
}, [props === null || props === void 0 ? void 0 : props.columnData]);
|
|
543
551
|
(0, react_1.useEffect)(() => {
|
|
@@ -6,7 +6,18 @@ const menu_1 = require("primereact/menu");
|
|
|
6
6
|
const Menu = (0, react_1.forwardRef)((props, ref) => {
|
|
7
7
|
const menuRef = (0, react_1.useRef)(null);
|
|
8
8
|
const visibleRef = (0, react_1.useRef)(false);
|
|
9
|
-
|
|
9
|
+
// Delegate to the live PrimeReact instance at call-time instead of snapshotting
|
|
10
|
+
// menuRef.current. PrimeReact recreates its imperative handle when its internal
|
|
11
|
+
// `visible` state changes, but that does not re-render this wrapper — so a
|
|
12
|
+
// snapshotted handle goes stale. A stable delegating handle keeps toggle/show/hide
|
|
13
|
+
// reading the current state, otherwise a popup menu stops reopening after the first
|
|
14
|
+
// open (the stale toggle closure calls hide() instead of show()).
|
|
15
|
+
(0, react_1.useImperativeHandle)(ref, () => ({
|
|
16
|
+
toggle: (event) => { var _a; return (_a = menuRef.current) === null || _a === void 0 ? void 0 : _a.toggle(event); },
|
|
17
|
+
show: (event) => { var _a; return (_a = menuRef.current) === null || _a === void 0 ? void 0 : _a.show(event); },
|
|
18
|
+
hide: (event) => { var _a; return (_a = menuRef.current) === null || _a === void 0 ? void 0 : _a.hide(event); },
|
|
19
|
+
getElement: () => { var _a, _b; return (_b = (_a = menuRef.current) === null || _a === void 0 ? void 0 : _a.getElement) === null || _b === void 0 ? void 0 : _b.call(_a); },
|
|
20
|
+
}), []);
|
|
10
21
|
(0, react_1.useEffect)(() => {
|
|
11
22
|
if (!props.popup)
|
|
12
23
|
return undefined;
|
|
@@ -5,7 +5,18 @@ const react_1 = require("react");
|
|
|
5
5
|
const overlaypanel_1 = require("primereact/overlaypanel");
|
|
6
6
|
const OverlayPanel = (0, react_1.forwardRef)((props, ref) => {
|
|
7
7
|
const overlayRef = (0, react_1.useRef)(null);
|
|
8
|
-
|
|
8
|
+
// Delegate to the live PrimeReact instance at call-time instead of snapshotting
|
|
9
|
+
// overlayRef.current. PrimeReact recreates its imperative handle when its internal
|
|
10
|
+
// `visible` state changes, but that does not re-render this wrapper — so a
|
|
11
|
+
// snapshotted handle goes stale, meaning toggle() always reads the mount-time
|
|
12
|
+
// `visible = false` and only ever calls show(), never hide(). A stable delegating
|
|
13
|
+
// handle keeps toggle/show/hide reading the current state.
|
|
14
|
+
(0, react_1.useImperativeHandle)(ref, () => ({
|
|
15
|
+
toggle: (event, target) => { var _a; return (_a = overlayRef.current) === null || _a === void 0 ? void 0 : _a.toggle(event, target); },
|
|
16
|
+
show: (event, target) => { var _a; return (_a = overlayRef.current) === null || _a === void 0 ? void 0 : _a.show(event, target); },
|
|
17
|
+
hide: () => { var _a; return (_a = overlayRef.current) === null || _a === void 0 ? void 0 : _a.hide(); },
|
|
18
|
+
getElement: () => { var _a, _b; return (_b = (_a = overlayRef.current) === null || _a === void 0 ? void 0 : _a.getElement) === null || _b === void 0 ? void 0 : _b.call(_a); },
|
|
19
|
+
}), []);
|
|
9
20
|
(0, react_1.useEffect)(() => {
|
|
10
21
|
const handleScroll = (event) => {
|
|
11
22
|
var _a, _b;
|
package/dist/types/App.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export function InfoLogo(): import("react
|
|
2
|
-
export function Card(): import("react
|
|
3
|
-
export function Error(): import("react
|
|
4
|
-
export function Message(): import("react
|
|
5
|
-
export function Dollar(): import("react
|
|
6
|
-
export function Copy(): import("react
|
|
7
|
-
export function Times(): import("react
|
|
1
|
+
export function InfoLogo(): import("react").JSX.Element;
|
|
2
|
+
export function Card(): import("react").JSX.Element;
|
|
3
|
+
export function Error(): import("react").JSX.Element;
|
|
4
|
+
export function Message(): import("react").JSX.Element;
|
|
5
|
+
export function Dollar(): import("react").JSX.Element;
|
|
6
|
+
export function Copy(): import("react").JSX.Element;
|
|
7
|
+
export function Times(): import("react").JSX.Element;
|
|
8
8
|
export const DotList: "<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M8.25 14.5C7.42 14.5 6.75 15.17 6.75 16C6.75 16.83 7.42 17.5 8.25 17.5C9.08 17.5 9.75 16.83 9.75 16C9.75 15.17 9.08 14.5 8.25 14.5ZM8.25 8.5C7.42 8.5 6.75 9.17 6.75 10C6.75 10.83 7.42 11.5 8.25 11.5C9.08 11.5 9.75 10.83 9.75 10C9.75 9.17 9.08 8.5 8.25 8.5ZM8.25 20.5C7.42 20.5 6.75 21.18 6.75 22C6.75 22.82 7.43 23.5 8.25 23.5C9.07 23.5 9.75 22.82 9.75 22C9.75 21.18 9.08 20.5 8.25 20.5ZM11.25 23H25.25V21H11.25V23ZM11.25 17H25.25V15H11.25V17ZM11.25 9V11H25.25V9H11.25Z\" fill=\"#98A2B3\" />\n</svg>";
|
|
9
9
|
export const NumberList: "<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M7 21H9V21.5H8V22.5H9V23H7V24H10V20H7V21ZM8 12H9V8H7V9H8V12ZM7 15H8.8L7 17.1V18H10V17H8.2L10 14.9V14H7V15ZM12 9V11H26V9H12ZM12 23H26V21H12V23ZM12 17H26V15H12V17Z\" fill=\"#98A2B3\" />\n</svg>";
|
|
10
10
|
export const Italic: "<svg width=\"24\" height=\"24\" viewBox=\"0 0 26 26\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M14 8V11H16.21L12.79 19H10V22H18V19H15.79L19.21 11H22V8H14Z\" fill=\"#98A2B3\" /></svg>";
|
|
@@ -12,6 +12,6 @@ export const Quotes: "<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill
|
|
|
12
12
|
export const Heading2: "<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M20.748 22H18.0215V17.25H13.9824V22H11.2402V10.625H13.9824V15.1406H18.0215V10.625H20.748V22Z\" fill=\"#98A2B3\" />\n</svg>";
|
|
13
13
|
export const Heading1: "<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M21.7822 22H18.8525V15.9062H13.1396V22H10.21V7.78125H13.1396V13.543H18.8525V7.78125H21.7822V22Z\" fill=\"#98A2B3\" />\n</svg>";
|
|
14
14
|
export const Bold: "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"11\" height=\"14\" viewBox=\"0 0 11 14\" fill=\"none\">\n<path d=\"M8.6 6.79C9.57 6.12 10.25 5.02 10.25 4C10.25 1.74 8.5 0 6.25 0H0V14H7.04C9.13 14 10.75 12.3 10.75 10.21C10.75 8.69 9.89 7.39 8.6 6.79ZM3 2.5H6C6.83 2.5 7.5 3.17 7.5 4C7.5 4.83 6.83 5.5 6 5.5H3V2.5ZM6.5 11.5H3V8.5H6.5C7.33 8.5 8 9.17 8 10C8 10.83 7.33 11.5 6.5 11.5Z\" fill=\"#98A2B3\"/>\n</svg>";
|
|
15
|
-
export function LightningGreen(): import("react
|
|
16
|
-
export function LightningRed(): import("react
|
|
17
|
-
export function Lightning(): import("react
|
|
15
|
+
export function LightningGreen(): import("react").JSX.Element;
|
|
16
|
+
export function LightningRed(): import("react").JSX.Element;
|
|
17
|
+
export function Lightning(): import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const AGCharts: ({ options }: any) => import("react
|
|
1
|
+
declare const AGCharts: ({ options }: any) => import("react").JSX.Element;
|
|
2
2
|
export default AGCharts;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const ColumnGroup: (props: any) => import("react
|
|
1
|
+
declare const ColumnGroup: (props: any) => import("react").JSX.Element;
|
|
2
2
|
export default ColumnGroup;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare function Sort(): import("react
|
|
1
|
+
declare function Sort(): import("react").JSX.Element;
|
|
2
2
|
export default Sort;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare function GridSearch(): import("react
|
|
1
|
+
declare function GridSearch(): import("react").JSX.Element;
|
|
2
2
|
export default GridSearch;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare function Grouping(): import("react
|
|
1
|
+
declare function Grouping(): import("react").JSX.Element;
|
|
2
2
|
export default Grouping;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare function HideColumn(): import("react
|
|
1
|
+
declare function HideColumn(): import("react").JSX.Element;
|
|
2
2
|
export default HideColumn;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const Conditions: (props: any) => import("react
|
|
1
|
+
declare const Conditions: (props: any) => import("react").JSX.Element;
|
|
2
2
|
export default Conditions;
|
|
@@ -7,5 +7,5 @@
|
|
|
7
7
|
* - Save filter configurations as named views
|
|
8
8
|
* - Pre-populate filters from default values
|
|
9
9
|
*/
|
|
10
|
-
declare const TableFilter: () => import("react
|
|
10
|
+
declare const TableFilter: () => import("react").JSX.Element;
|
|
11
11
|
export default TableFilter;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare function RecordDetail(): import("react
|
|
1
|
+
declare function RecordDetail(): import("react").JSX.Element;
|
|
2
2
|
export default RecordDetail;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare function RefreshGrid(): import("react
|
|
1
|
+
declare function RefreshGrid(): import("react").JSX.Element;
|
|
2
2
|
export default RefreshGrid;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare function RemoveItems(props: any): import("react
|
|
1
|
+
declare function RemoveItems(props: any): import("react").JSX.Element;
|
|
2
2
|
export default RemoveItems;
|
|
@@ -48,5 +48,5 @@ interface MyProviderProps {
|
|
|
48
48
|
renderMultiSelectField?: RenderMultiSelectField;
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
|
-
declare function MyProvider({ children, value }: MyProviderProps): import("react
|
|
51
|
+
declare function MyProvider({ children, value }: MyProviderProps): import("react").JSX.Element;
|
|
52
52
|
export default MyProvider;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare function CustomDropDown(): import("react
|
|
1
|
+
declare function CustomDropDown(): import("react").JSX.Element;
|
|
2
2
|
export default CustomDropDown;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare function LoadingComponent(): import("react
|
|
1
|
+
declare function LoadingComponent(): import("react").JSX.Element;
|
|
2
2
|
export default LoadingComponent;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare function ParentForGrid(props: any): import("react
|
|
1
|
+
declare function ParentForGrid(props: any): import("react").JSX.Element;
|
|
2
2
|
export default ParentForGrid;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const dataCellRenderer: (cellRendererParams: any, column: any, props: any) => import("react
|
|
2
|
-
export declare const GroupHeader: (_params: any) => import("react
|
|
1
|
+
export declare const dataCellRenderer: (cellRendererParams: any, column: any, props: any) => import("react").JSX.Element;
|
|
2
|
+
export declare const GroupHeader: (_params: any) => import("react").JSX.Element;
|
|
3
3
|
export declare const GridHeaderComponent: (props: any) => any;
|
|
4
4
|
export declare const skeletonLoding: () => boolean;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { CustomColorPickerTypes } from '../types/type';
|
|
2
|
-
declare const CustomColorPicker: ({ onChange, defaultValue, className }: CustomColorPickerTypes) => import("react
|
|
2
|
+
declare const CustomColorPicker: ({ onChange, defaultValue, className }: CustomColorPickerTypes) => import("react").JSX.Element;
|
|
3
3
|
export default CustomColorPicker;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { Field } from "formik";
|
|
2
2
|
import { DropDownFieldProps, MultiSelectProps, NumberFieldProps, TextAreaFieldProps, TextFieldProps } from "../../types/type";
|
|
3
3
|
declare const _default: {
|
|
4
|
-
InputTextField: (props: TextFieldProps) => import("react
|
|
5
|
-
InputNumberField: (props: NumberFieldProps) => import("react
|
|
6
|
-
InputCurrencyField: (props: NumberFieldProps) => import("react
|
|
7
|
-
InputTextAreaField: (props: TextAreaFieldProps) => import("react
|
|
8
|
-
DropDownField: (props: DropDownFieldProps) => import("react
|
|
9
|
-
MultiSelectField: (props: MultiSelectProps) => import("react
|
|
10
|
-
PhoneNumberField: (props: any) => import("react
|
|
4
|
+
InputTextField: (props: TextFieldProps) => import("react").JSX.Element;
|
|
5
|
+
InputNumberField: (props: NumberFieldProps) => import("react").JSX.Element;
|
|
6
|
+
InputCurrencyField: (props: NumberFieldProps) => import("react").JSX.Element;
|
|
7
|
+
InputTextAreaField: (props: TextAreaFieldProps) => import("react").JSX.Element;
|
|
8
|
+
DropDownField: (props: DropDownFieldProps) => import("react").JSX.Element;
|
|
9
|
+
MultiSelectField: (props: MultiSelectProps) => import("react").JSX.Element;
|
|
10
|
+
PhoneNumberField: (props: any) => import("react").JSX.Element;
|
|
11
11
|
Field: typeof Field;
|
|
12
12
|
};
|
|
13
13
|
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { FormComponentProps } from "../types/type";
|
|
2
|
-
declare const FormComponent: (props: FormComponentProps) => import("react
|
|
2
|
+
declare const FormComponent: (props: FormComponentProps) => import("react").JSX.Element;
|
|
3
3
|
export default FormComponent;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { FormulaTemplateTypes } from "../types/type";
|
|
2
|
-
declare const FormulaComponent: (props: FormulaTemplateTypes) => import("react
|
|
2
|
+
declare const FormulaComponent: (props: FormulaTemplateTypes) => import("react").JSX.Element;
|
|
3
3
|
export default FormulaComponent;
|
|
@@ -2,5 +2,5 @@ import "froala-editor/css/froala_editor.pkgd.min.css";
|
|
|
2
2
|
import "froala-editor/css/froala_style.min.css";
|
|
3
3
|
import "froala-editor/js/plugins.pkgd.min.js";
|
|
4
4
|
import { FroalaTextEditorTypes } from "../types/type";
|
|
5
|
-
declare const FroalaTextEditor: ({ onChange, value, placeholderText, id, className, toolbar, licenceKey }: FroalaTextEditorTypes) => import("react
|
|
5
|
+
declare const FroalaTextEditor: ({ onChange, value, placeholderText, id, className, toolbar, licenceKey }: FroalaTextEditorTypes) => import("react").JSX.Element;
|
|
6
6
|
export default FroalaTextEditor;
|
|
@@ -2,5 +2,5 @@ import "froala-editor/css/froala_editor.pkgd.min.css";
|
|
|
2
2
|
import "froala-editor/css/froala_style.min.css";
|
|
3
3
|
import "froala-editor/js/plugins.pkgd.min.js";
|
|
4
4
|
import { FroalaTextEditorTypes } from "../types/type";
|
|
5
|
-
declare const FroalaEditorTextBox: (props: FroalaTextEditorTypes) => import("react
|
|
5
|
+
declare const FroalaEditorTextBox: (props: FroalaTextEditorTypes) => import("react").JSX.Element;
|
|
6
6
|
export default FroalaEditorTextBox;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ListBoxDropdownTypes } from "../types/type";
|
|
2
|
-
declare const ListBoxDropdown: (props: ListBoxDropdownTypes) => import("react
|
|
2
|
+
declare const ListBoxDropdown: (props: ListBoxDropdownTypes) => import("react").JSX.Element;
|
|
3
3
|
export default ListBoxDropdown;
|
|
@@ -6,5 +6,5 @@ interface CustomLoader {
|
|
|
6
6
|
bgStroke?: boolean;
|
|
7
7
|
animationDuration?: string;
|
|
8
8
|
}
|
|
9
|
-
declare const CustomLoadingIndicator: ({ size, color, strokeWidth, bgStrokeColor, bgStroke, animationDuration, }: CustomLoader) => import("react
|
|
9
|
+
declare const CustomLoadingIndicator: ({ size, color, strokeWidth, bgStrokeColor, bgStroke, animationDuration, }: CustomLoader) => import("react").JSX.Element;
|
|
10
10
|
export default CustomLoadingIndicator;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const MultiSelectDropDown: (props: any) => import("react
|
|
1
|
+
export declare const MultiSelectDropDown: (props: any) => import("react").JSX.Element;
|
|
2
2
|
export default MultiSelectDropDown;
|
|
@@ -10,5 +10,5 @@ interface SVGProps {
|
|
|
10
10
|
valueTextClassName?: string;
|
|
11
11
|
className?: string;
|
|
12
12
|
}
|
|
13
|
-
declare const CircleProgressComponent: ({ height, strokeWidth, text, strokeColor, strokeBgColor, value, textDisabled, textClassName, valueTextClassName, className, }: SVGProps) => import("react
|
|
13
|
+
declare const CircleProgressComponent: ({ height, strokeWidth, text, strokeColor, strokeBgColor, value, textDisabled, textClassName, valueTextClassName, className, }: SVGProps) => import("react").JSX.Element;
|
|
14
14
|
export default CircleProgressComponent;
|
|
@@ -7,5 +7,5 @@ interface SVGProps {
|
|
|
7
7
|
text?: string;
|
|
8
8
|
textDisabled?: boolean;
|
|
9
9
|
}
|
|
10
|
-
declare const HalfProgressComponent: ({ height, strokeWidth, text, strokeColor, strokeBgColor, value, textDisabled }: SVGProps) => import("react
|
|
10
|
+
declare const HalfProgressComponent: ({ height, strokeWidth, text, strokeColor, strokeBgColor, value, textDisabled }: SVGProps) => import("react").JSX.Element;
|
|
11
11
|
export default HalfProgressComponent;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ScMultiSelectTypes } from "../types/type";
|
|
2
|
-
declare const ScMultiSelect: (props: ScMultiSelectTypes) => import("react
|
|
2
|
+
declare const ScMultiSelect: (props: ScMultiSelectTypes) => import("react").JSX.Element;
|
|
3
3
|
export default ScMultiSelect;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const FeatureSkeleton: ({ height, width }: any) => import("react
|
|
1
|
+
declare const FeatureSkeleton: ({ height, width }: any) => import("react").JSX.Element;
|
|
2
2
|
export default FeatureSkeleton;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { TreeDropdownSelectTypes } from "../types/type";
|
|
2
|
-
declare const TreeDropdownSelect: ({ treeData, expandedKeys, clickOnNode, classNames, displayLabelName, icon, }: TreeDropdownSelectTypes) => import("react
|
|
2
|
+
declare const TreeDropdownSelect: ({ treeData, expandedKeys, clickOnNode, classNames, displayLabelName, icon, }: TreeDropdownSelectTypes) => import("react").JSX.Element;
|
|
3
3
|
export default TreeDropdownSelect;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const VirtualScrollDropDown: () => import("react
|
|
1
|
+
declare const VirtualScrollDropDown: () => import("react").JSX.Element;
|
|
2
2
|
export default VirtualScrollDropDown;
|
|
@@ -7,5 +7,5 @@ interface icon {
|
|
|
7
7
|
disabled?: boolean;
|
|
8
8
|
title?: string;
|
|
9
9
|
}
|
|
10
|
-
declare const SvgComponent: ({ icon, size, color, className, disabled, title, }: icon) => import("react
|
|
10
|
+
declare const SvgComponent: ({ icon, size, color, className, disabled, title, }: icon) => import("react").JSX.Element;
|
|
11
11
|
export default SvgComponent;
|