@salesgenterp/ui-components 0.3.55 → 0.3.58
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/index.js +10 -6
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +10 -6
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -187,7 +187,7 @@ var CartDrawer = function CartDrawer(_ref) {
|
|
|
187
187
|
};
|
|
188
188
|
|
|
189
189
|
var _templateObject$2, _templateObject2$2, _templateObject3$2, _templateObject4$1, _templateObject5$1, _templateObject6$1, _templateObject7$1, _templateObject8;
|
|
190
|
-
var CartPageSection = styled.section(_templateObject$2 || (_templateObject$2 = _taggedTemplateLiteralLoose(["\n background: ", ";\n max-width: 100%;\n width: fit-content;\n background: ", ";\n overflow: hidden;\n font-family: 'karla-fonts';\n"])), function (props) {
|
|
190
|
+
var CartPageSection = styled.section(_templateObject$2 || (_templateObject$2 = _taggedTemplateLiteralLoose(["\n background: ", ";\n max-width: 100%;\n width: fit-content;\n background: ", ";\n overflow: hidden;\n font-family: 'karla-fonts';\n border-radius: 28px;\n"])), function (props) {
|
|
191
191
|
return props.bg;
|
|
192
192
|
}, function (props) {
|
|
193
193
|
return props.bg || '#FAE8E5';
|
|
@@ -242,7 +242,7 @@ function createCommonjsModule(fn, module) {
|
|
|
242
242
|
*/
|
|
243
243
|
var b="function"===typeof Symbol&&Symbol.for,c=b?Symbol.for("react.element"):60103,d=b?Symbol.for("react.portal"):60106,e=b?Symbol.for("react.fragment"):60107,f=b?Symbol.for("react.strict_mode"):60108,g=b?Symbol.for("react.profiler"):60114,h=b?Symbol.for("react.provider"):60109,k=b?Symbol.for("react.context"):60110,l=b?Symbol.for("react.async_mode"):60111,m=b?Symbol.for("react.concurrent_mode"):60111,n=b?Symbol.for("react.forward_ref"):60112,p=b?Symbol.for("react.suspense"):60113,q=b?
|
|
244
244
|
Symbol.for("react.suspense_list"):60120,r=b?Symbol.for("react.memo"):60115,t=b?Symbol.for("react.lazy"):60116,v=b?Symbol.for("react.block"):60121,w=b?Symbol.for("react.fundamental"):60117,x=b?Symbol.for("react.responder"):60118,y=b?Symbol.for("react.scope"):60119;
|
|
245
|
-
function z(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}var AsyncMode=l;var ConcurrentMode=m;var ContextConsumer=k;var ContextProvider=h;var Element=c;var ForwardRef=n;var Fragment
|
|
245
|
+
function z(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}var AsyncMode=l;var ConcurrentMode=m;var ContextConsumer=k;var ContextProvider=h;var Element=c;var ForwardRef=n;var Fragment=e;var Lazy=t;var Memo=r;var Portal=d;
|
|
246
246
|
var Profiler=g;var StrictMode=f;var Suspense=p;var isAsyncMode=function(a){return A(a)||z(a)===l};var isConcurrentMode=A;var isContextConsumer=function(a){return z(a)===k};var isContextProvider=function(a){return z(a)===h};var isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===c};var isForwardRef=function(a){return z(a)===n};var isFragment=function(a){return z(a)===e};var isLazy=function(a){return z(a)===t};
|
|
247
247
|
var isMemo=function(a){return z(a)===r};var isPortal=function(a){return z(a)===d};var isProfiler=function(a){return z(a)===g};var isStrictMode=function(a){return z(a)===f};var isSuspense=function(a){return z(a)===p};
|
|
248
248
|
var isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||"object"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};var typeOf=z;
|
|
@@ -254,7 +254,7 @@ var reactIs_production_min = {
|
|
|
254
254
|
ContextProvider: ContextProvider,
|
|
255
255
|
Element: Element,
|
|
256
256
|
ForwardRef: ForwardRef,
|
|
257
|
-
Fragment: Fragment
|
|
257
|
+
Fragment: Fragment,
|
|
258
258
|
Lazy: Lazy,
|
|
259
259
|
Memo: Memo,
|
|
260
260
|
Portal: Portal,
|
|
@@ -1523,7 +1523,7 @@ function EnhancedTableHead(props) {
|
|
|
1523
1523
|
active: orderBy === headCell.id,
|
|
1524
1524
|
direction: orderBy === headCell.id ? order : 'asc',
|
|
1525
1525
|
onClick: createSortHandler(headCell.id)
|
|
1526
|
-
},
|
|
1526
|
+
}, headCell.label) : headCell.label);
|
|
1527
1527
|
})));
|
|
1528
1528
|
}
|
|
1529
1529
|
|
|
@@ -1670,8 +1670,12 @@ function EnhancedTable(_ref) {
|
|
|
1670
1670
|
});
|
|
1671
1671
|
}))))), /*#__PURE__*/React.createElement(CartButtonsRow, null, /*#__PURE__*/React.createElement("button", {
|
|
1672
1672
|
onClick: function onClick() {
|
|
1673
|
-
|
|
1674
|
-
|
|
1673
|
+
new Promise(function (resolve, reject) {
|
|
1674
|
+
if (loading) return;
|
|
1675
|
+
handleRemoveAll(selected);
|
|
1676
|
+
resolve();
|
|
1677
|
+
});
|
|
1678
|
+
setSelected([]);
|
|
1675
1679
|
}
|
|
1676
1680
|
}, "remove selected"), /*#__PURE__*/React.createElement("button", null, "updated cart")));
|
|
1677
1681
|
}
|