sccoreui 5.9.25 → 5.9.26
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.scss
CHANGED
|
@@ -84,9 +84,9 @@ function Sort() {
|
|
|
84
84
|
setIsApplyDisable(true);
|
|
85
85
|
}
|
|
86
86
|
}, [sortValue, sortBy]);
|
|
87
|
-
return ((0, jsx_runtime_1.jsxs)("div", Object.assign({ className: "" }, { children: [(0, jsx_runtime_1.jsxs)("div", Object.assign({ className: `cursor-pointer
|
|
87
|
+
return ((0, jsx_runtime_1.jsxs)("div", Object.assign({ className: "" }, { children: [(0, jsx_runtime_1.jsxs)("div", Object.assign({ className: `cursor-pointer sc_icon_hover flex align-items-center border-round icon-24x24 mr-2 ${isOverlayOpened || featureDetails.sort.isSortable
|
|
88
88
|
? "bg-primary-50"
|
|
89
|
-
: ""}` }, { children: [featureDetails.sort.isSortable && ((0, jsx_runtime_1.jsx)("span", Object.assign({ className: "flex align-items-center text-primary-400 px-1" }, { children: `Selected` }))), (0, jsx_runtime_1.jsx)(button_1.Button, { text: true, onClick: (event) => onClickSort(event), icon: (0, jsx_runtime_1.jsx)(svg_component_1.default, { icon: "switch-vertical-02", size:
|
|
89
|
+
: ""}` }, { children: [featureDetails.sort.isSortable && ((0, jsx_runtime_1.jsx)("span", Object.assign({ className: "flex align-items-center text-primary-400 px-1" }, { children: `Selected` }))), (0, jsx_runtime_1.jsx)(button_1.Button, { className: "icon-24x24 hover:bg-primary-50", text: true, onClick: (event) => onClickSort(event), icon: (0, jsx_runtime_1.jsx)(svg_component_1.default, { icon: "switch-vertical-02", size: 16, color: isOverlayOpened || featureDetails.sort.isSortable
|
|
90
90
|
? "text-gray-700"
|
|
91
91
|
: "text-gray-700" }) })] })), (0, jsx_runtime_1.jsxs)(overlaypanel_1.OverlayPanel, Object.assign({ ref: showShort, onShow: () => setIsOverlayOpened(true), onHide: () => setIsOverlayOpened(false), className: "w-18rem mt-2" }, { children: [(0, jsx_runtime_1.jsx)("div", Object.assign({ className: "p-4 text-lg font-semibold line-height-3 text-gray-900" }, { children: "Column Sorting" })), (0, jsx_runtime_1.jsx)(divider_1.Divider, { className: "m-0" }), (0, jsx_runtime_1.jsx)("ul", Object.assign({ className: "pl-0 m-1 h-10rem overflow-auto" }, { children: columnData === null || columnData === void 0 ? void 0 : columnData.map((eachColumn, index) => {
|
|
92
92
|
if (eachColumn === null || eachColumn === void 0 ? void 0 : eachColumn.isSortable) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReactElement } from "react";
|
|
1
|
+
import { ReactElement, ReactNode } from "react";
|
|
2
2
|
export interface City {
|
|
3
3
|
name: string;
|
|
4
4
|
code: string;
|
|
@@ -112,7 +112,7 @@ export interface NumberFieldProps {
|
|
|
112
112
|
disabled?: boolean;
|
|
113
113
|
isLoading?: boolean;
|
|
114
114
|
inputClassName?: string;
|
|
115
|
-
icon?: string;
|
|
115
|
+
icon?: string | ReactNode;
|
|
116
116
|
iconPos?: string;
|
|
117
117
|
minFractionDigits?: number;
|
|
118
118
|
maxFractionDigits?: number;
|
|
@@ -153,6 +153,8 @@ export interface DropDownFieldProps {
|
|
|
153
153
|
panelStyle?: any;
|
|
154
154
|
isLoading?: boolean;
|
|
155
155
|
showClear?: boolean;
|
|
156
|
+
emptyMessage?: string;
|
|
157
|
+
panelClassName?: string;
|
|
156
158
|
}
|
|
157
159
|
export interface MultiSelectProps {
|
|
158
160
|
errors: any;
|