sccoreui 5.9.23 → 5.9.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.
package/dist/App.scss CHANGED
@@ -768,11 +768,18 @@ button[aria-expanded="true"] {
768
768
  /// Custon treeDropdownSelect style end /////////////////
769
769
 
770
770
  /////// Custom list_box_dropdown ///////////
771
+
772
+ .icon-30x30 {
773
+ height: 30px !important;
774
+ width: 30px !important;
775
+ }
776
+
771
777
  .list_box_dropdown {
772
778
  .p-listbox-header {
773
779
  padding: 12px !important;
774
780
  border-top: 1px solid var(--gray-200);
775
781
  }
782
+
776
783
 
777
784
  ul.p-listbox-list {
778
785
  padding: 6px;
@@ -2026,3 +2033,85 @@ button[aria-expanded="true"] {
2026
2033
 
2027
2034
  }
2028
2035
  }
2036
+
2037
+
2038
+ // loader styles
2039
+ .loader-wrapper {
2040
+ width: 60px;
2041
+ height: 60px;
2042
+ top: 45%;
2043
+ left: 45%;
2044
+ transform: translate(-45%, -50%);
2045
+ border-radius: 50%;
2046
+ background-color: #fff;
2047
+ position: relative;
2048
+ transform: rotate(45deg);
2049
+ box-sizing: border-box;
2050
+ display: flex;
2051
+ justify-content: center;
2052
+ align-items: center;
2053
+
2054
+
2055
+ /* HTML: <div class="loader"></div> */
2056
+ .loader-jobs {
2057
+ width: 35px;
2058
+ aspect-ratio: 1;
2059
+ border-radius: 50%;
2060
+ background: radial-gradient(farthest-side, var(--primary-500) 94%, #0000)
2061
+ top/5px 5px no-repeat,
2062
+ conic-gradient(#0000 5%, var(--primary-500));
2063
+ -webkit-mask: radial-gradient(
2064
+ farthest-side,
2065
+ #0000 calc(100% - 5px),
2066
+ #000 0
2067
+ );
2068
+ animation: l13 1s infinite linear;
2069
+ }
2070
+ @keyframes l13 {
2071
+ 100% {
2072
+ transform: rotate(1turn);
2073
+ }
2074
+ }
2075
+
2076
+ @keyframes gradient {
2077
+ 0% {
2078
+ background-position: 100% 50%;
2079
+ }
2080
+ 50% {
2081
+ background-position: 50% 70%;
2082
+ }
2083
+ 100% {
2084
+ background-position: 70% 100%;
2085
+ }
2086
+ }
2087
+
2088
+ }
2089
+
2090
+ .loader-main {
2091
+ width: 48px;
2092
+ height: 48px;
2093
+ border-radius: 50%;
2094
+ position: relative;
2095
+ animation: rotate 1s linear infinite;
2096
+ }
2097
+ .loader-main::before {
2098
+ content: "";
2099
+ box-sizing: border-box;
2100
+ position: absolute;
2101
+ inset: 0px;
2102
+ border-radius: 50%;
2103
+ border: 3px solid var(--primary-500);
2104
+ animation: prixClipFix 2s linear infinite ;
2105
+ }
2106
+
2107
+ @keyframes rotate {
2108
+ 100% {transform: rotate(360deg)}
2109
+ }
2110
+
2111
+ @keyframes prixClipFix {
2112
+ 0% {clip-path:polygon(50% 50%,0 0,0 0,0 0,0 0,0 0)}
2113
+ 25% {clip-path:polygon(50% 50%,0 0,100% 0,100% 0,100% 0,100% 0)}
2114
+ 50% {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,100% 100%,100% 100%)}
2115
+ 75% {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 100%)}
2116
+ 100% {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 0)}
2117
+ }
@@ -2,6 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const jsx_runtime_1 = require("react/jsx-runtime");
4
4
  function LoadingComponent() {
5
- return ((0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsx)("p", Object.assign({ className: "text-red" }, { children: "...Loading" })) }));
5
+ return (
6
+ // <p className="text-red">...Loading</p>
7
+ (0, jsx_runtime_1.jsx)("div", { className: "loader-main" }));
6
8
  }
7
9
  exports.default = LoadingComponent;
@@ -140,7 +140,7 @@ function ParentForGrid(props) {
140
140
  const checkedRecords = result.rowData.filter((data) => data === null || data === void 0 ? void 0 : data.isSelected);
141
141
  setDefaultSelectedRows(checkedRecords);
142
142
  const checkboxData = Object.assign(Object.assign({}, featureDetails.checkBoxSelection), { includedRecords: checkedRecords });
143
- setFeatureDetails(Object.assign(Object.assign({}, featureDetails), { checkBoxSelection: checkboxData }));
143
+ setFeatureDetails(Object.assign(Object.assign({}, currentFeatures), { checkBoxSelection: checkboxData }));
144
144
  // response.actualEndRow = actualEndRow;
145
145
  return result;
146
146
  }
@@ -154,7 +154,6 @@ function ParentForGrid(props) {
154
154
  if (!updatedFeatures) {
155
155
  currentFeatures = featureDetails;
156
156
  }
157
- setFeatureDetails(currentFeatures);
158
157
  if (props.rowModelType === constants_1.ROWMODELTYPE.CLIENT_SIDE) {
159
158
  params.api.setGridOption("rowData", []);
160
159
  const result = yield getData(0, 0, currentFeatures);
@@ -245,9 +244,9 @@ function ParentForGrid(props) {
245
244
  (0, react_1.useEffect)(() => {
246
245
  if (props === null || props === void 0 ? void 0 : props.getCheckedRows) {
247
246
  const callBackForCheckedRows = props === null || props === void 0 ? void 0 : props.getCheckedRows;
248
- callBackForCheckedRows(featureDetails === null || featureDetails === void 0 ? void 0 : featureDetails.checkBoxSelection);
247
+ callBackForCheckedRows(featureDetails);
249
248
  }
250
- }, [featureDetails.checkBoxSelection]);
249
+ }, [featureDetails]);
251
250
  return ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: (0, jsx_runtime_1.jsx)(error_ui_1.default, { children: (0, jsx_runtime_1.jsx)("div", Object.assign({ style: { height: style.height, width: style.width }, className: "ag-grid-container border-1 border-gray-200 border-round" }, { children: (0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(context_provider_1.default, Object.assign({ value: {
252
251
  featureDetails,
253
252
  setFeatureDetails,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sccoreui",
3
- "version": "5.9.23",
3
+ "version": "5.9.25",
4
4
  "description": "ui-sccore",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",