@shophost/react 2.0.65 → 2.0.67
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/README.md +1 -7
- package/admin/dashboard/components/overview/dashboard-chart-card.d.ts +1 -1
- package/admin/dashboard/components/overview/dashboard-types.d.ts +2 -2
- package/admin/data/schema.d.ts +6 -6
- package/admin/manufacturer/components/manufacturers-list/columns.d.ts +1 -1
- package/admin/order/components/orders-list/actions-cell.d.ts +1 -1
- package/admin/product/components/product-form/basic-info-section.d.ts +1 -1
- package/admin/product/components/product-form/metadata-section.d.ts +1 -1
- package/admin/product/components/product-form/modifiers-section.d.ts +1 -1
- package/admin/product/components/product-form/price-section.d.ts +1 -1
- package/admin/product-category/components/product-categories-list/columns.d.ts +1 -1
- package/admin/settings/components/organization-configuration-form.d.ts +2 -4
- package/admin/settings/shipping-method/components/shipping-methods-list/columns.d.ts +1 -1
- package/admin-client.cjs +1 -1
- package/admin-client.js +1 -3265
- package/index.cjs +1 -1
- package/index.mjs +1 -11
- package/index.react-server.cjs +1 -1
- package/index.react-server.mjs +1 -11
- package/lib/chartUtils.d.ts +1 -1
- package/next/server.cjs +1 -1
- package/next/server.mjs +1 -16
- package/next/views.cjs +1 -1
- package/next/views.mjs +1 -4
- package/package.json +3 -3
- package/providers/organization-provider.d.ts +1 -1
- package/storefront/components/cart/cart-drawer.d.ts +1 -1
- package/storefront/components/ui/badge.d.ts +1 -1
- package/storefront/components/ui/command-bar.d.ts +2 -2
- package/storefront/components/ui/command.d.ts +1 -1
- package/storefront/components/ui/popover.d.ts +2 -2
- package/storefront/providers/cart-provider.d.ts +1 -0
- package/storefront/translations/en.d.ts +47 -0
- package/storefront/translations/pl.d.ts +47 -0
- package/storefront.cjs +1 -1
- package/storefront.mjs +1 -85
- package/ui/badge.d.ts +1 -1
- package/ui/calendar.d.ts +6 -6
- package/ui/checkbox.d.ts +1 -1
- package/ui/command-bar.d.ts +2 -2
- package/ui/command.d.ts +1 -1
- package/ui/data-table/data-table-filter.d.ts +1 -1
- package/ui/data-table/data-table-pagination.d.ts +1 -1
- package/ui/data-table/data-table.d.ts +1 -1
- package/ui/date-picker.d.ts +5 -5
- package/ui/drawer.d.ts +2 -2
- package/ui/dropdown.d.ts +2 -2
- package/ui/input/email-input.d.ts +1 -1
- package/ui/input/image-upload-input.d.ts +1 -1
- package/ui/input-group.d.ts +1 -1
- package/ui/line-chart.d.ts +2 -2
- package/ui/logo.d.ts +1 -4
- package/ui/multiple-select.d.ts +2 -2
- package/ui/popover.d.ts +2 -2
- package/ui/progress-circle.d.ts +1 -1
- package/ui/radio-card.d.ts +2 -2
- package/ui/search-bar.d.ts +1 -1
- package/ui/select.d.ts +1 -1
- package/ui/switch.d.ts +2 -2
- package/ui/tab-navigation.d.ts +1 -1
- package/ui/tooltip.d.ts +3 -3
package/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
'use strict';const _0x348640=_0x35ce,_0x411176=_0x35ce;(function(_0x4f96bb,_0x354484){const _0x317824=_0x35ce,_0x2401c3=_0x35ce,_0x23c264=_0x4f96bb();while(!![]){try{const _0x17f29f=-parseInt(_0x317824(0x1d3))/0x1*(-parseInt(_0x317824(0x1d1))/0x2)+-parseInt(_0x317824(0x1cc))/0x3+-parseInt(_0x2401c3(0x1c0))/0x4+parseInt(_0x317824(0x1bf))/0x5*(-parseInt(_0x317824(0x1c1))/0x6)+-parseInt(_0x317824(0x1c4))/0x7*(-parseInt(_0x317824(0x1d5))/0x8)+parseInt(_0x317824(0x1c2))/0x9+-parseInt(_0x2401c3(0x1cb))/0xa;if(_0x17f29f===_0x354484)break;else _0x23c264['push'](_0x23c264['shift']());}catch(_0x5c8c9f){_0x23c264['push'](_0x23c264['shift']());}}}(_0xc2cc,0x2c32b));Object[_0x348640(0x1bd)+_0x348640(0x1d0)](exports,Symbol[_0x348640(0x1cd)+_0x411176(0x1ce)],{'value':'Module'});const e=require(_0x411176(0x1c8)+_0x348640(0x1d2)+'js');function _0x35ce(_0x3f95cd,_0x35a0b1){_0x3f95cd=_0x3f95cd-0x1bd;const _0xc2cce0=_0xc2cc();let _0x35ce1f=_0xc2cce0[_0x3f95cd];if(_0x35ce['IDdfwL']===undefined){var _0x39f151=function(_0x33578e){const _0x20c606='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1d9ffd='',_0x5026bf='';for(let _0x43639d=0x0,_0x531f52,_0x294cd3,_0x4e67d8=0x0;_0x294cd3=_0x33578e['charAt'](_0x4e67d8++);~_0x294cd3&&(_0x531f52=_0x43639d%0x4?_0x531f52*0x40+_0x294cd3:_0x294cd3,_0x43639d++%0x4)?_0x1d9ffd+=String['fromCharCode'](0xff&_0x531f52>>(-0x2*_0x43639d&0x6)):0x0){_0x294cd3=_0x20c606['indexOf'](_0x294cd3);}for(let _0x31522c=0x0,_0x21678f=_0x1d9ffd['length'];_0x31522c<_0x21678f;_0x31522c++){_0x5026bf+='%'+('00'+_0x1d9ffd['charCodeAt'](_0x31522c)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5026bf);};_0x35ce['wjwISU']=_0x39f151,_0x35ce['MUedPY']={},_0x35ce['IDdfwL']=!![];}const _0x489994=_0xc2cce0[0x0],_0x161c32=_0x3f95cd+_0x489994,_0x17b99a=_0x35ce['MUedPY'][_0x161c32];return!_0x17b99a?(_0x35ce1f=_0x35ce['wjwISU'](_0x35ce1f),_0x35ce['MUedPY'][_0x161c32]=_0x35ce1f):_0x35ce1f=_0x17b99a,_0x35ce1f;}function i(_0x5f3488){return{'basePath':'/admin',..._0x5f3488};}function _0xc2cc(){const _0x5d0427=['odqXmti4B1LQuKHX','mZu1ody5rLnSt0nd','DxrLCW','mZCYmtGZzw1MDK9b','y3jLyxrLuM8','BMzPzW','DMLKzxi','lI9Hzg1PBI0','BgLLBNq','qxv0AenSAwu','nde5mJbRzLDHBxa','nta1mZa1ugvADxLb','Dg9tDhjPBMC','vgfN','zgvMAw5Lq28','B3bLCNr5','mtaZnKnsBvPnrW','y2XPzw50lMm','ndyZANfpC0TY','y3jLyxrLqwq','ndHsyvf5yva','zgvMAw5Luhi','qwrTAw5qCM8','nuPXuwf1Aa','nde4mtu2DNr1wvzr'];_0xc2cc=function(){return _0x5d0427;};return _0xc2cc();}exports[_0x411176(0x1be)+_0x348640(0x1c7)]=e[_0x411176(0x1be)+_0x411176(0x1c7)],exports[_0x348640(0x1d4)+'minAuthC'+_0x411176(0x1c9)]=e[_0x411176(0x1d4)+'minAuthC'+_0x411176(0x1c9)],exports[_0x411176(0x1c5)+_0x411176(0x1c3)]=e[_0x348640(0x1c5)+_0x348640(0x1c3)],exports['getAdmin'+_0x348640(0x1ca)+'nt']=e['getAdmin'+_0x411176(0x1ca)+'nt'],exports[_0x348640(0x1cf)+_0x411176(0x1c6)]=i;
|
package/index.mjs
CHANGED
|
@@ -1,11 +1 @@
|
|
|
1
|
-
|
|
2
|
-
function t(e) {
|
|
3
|
-
return { basePath: "/admin", ...e };
|
|
4
|
-
}
|
|
5
|
-
export {
|
|
6
|
-
i as AdminProvider,
|
|
7
|
-
r as createAdminAuthClient,
|
|
8
|
-
o as createRoutes,
|
|
9
|
-
t as defineConfig,
|
|
10
|
-
s as getAdminAuthClient
|
|
11
|
-
};
|
|
1
|
+
(function(_0x388d52,_0x5ae690){var _0x58edbe=_0x15dd,_0x45e5c2=_0x15dd,_0x36d7f7=_0x388d52();while(!![]){try{var _0x27e832=parseInt(_0x58edbe(0x6f))/0x1*(parseInt(_0x45e5c2(0x6d))/0x2)+-parseInt(_0x45e5c2(0x6e))/0x3+parseInt(_0x45e5c2(0x6a))/0x4+-parseInt(_0x45e5c2(0x6c))/0x5*(-parseInt(_0x45e5c2(0x72))/0x6)+-parseInt(_0x45e5c2(0x68))/0x7*(parseInt(_0x45e5c2(0x70))/0x8)+parseInt(_0x45e5c2(0x71))/0x9+parseInt(_0x58edbe(0x69))/0xa*(-parseInt(_0x58edbe(0x67))/0xb);if(_0x27e832===_0x5ae690)break;else _0x36d7f7['push'](_0x36d7f7['shift']());}catch(_0x589d51){_0x36d7f7['push'](_0x36d7f7['shift']());}}}(_0x1f07,0xcb795));import{A as _0x29093c,c as _0x1ec14a,b as _0x297a45,g as _0x473b7a}from'./admin-client.js';function _0x15dd(_0x547f39,_0x30bf8f){_0x547f39=_0x547f39-0x67;var _0x1f0791=_0x1f07();var _0x15dd8c=_0x1f0791[_0x547f39];if(_0x15dd['ImIlwi']===undefined){var _0x4f8e42=function(_0x2c6251){var _0x4e5799='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x3516cb='',_0x453dff='';for(var _0x28db2e=0x0,_0x32fa2e,_0x279810,_0x3e4d82=0x0;_0x279810=_0x2c6251['charAt'](_0x3e4d82++);~_0x279810&&(_0x32fa2e=_0x28db2e%0x4?_0x32fa2e*0x40+_0x279810:_0x279810,_0x28db2e++%0x4)?_0x3516cb+=String['fromCharCode'](0xff&_0x32fa2e>>(-0x2*_0x28db2e&0x6)):0x0){_0x279810=_0x4e5799['indexOf'](_0x279810);}for(var _0x1a6c05=0x0,_0xc83525=_0x3516cb['length'];_0x1a6c05<_0xc83525;_0x1a6c05++){_0x453dff+='%'+('00'+_0x3516cb['charCodeAt'](_0x1a6c05)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x453dff);};_0x15dd['WTxKuc']=_0x4f8e42,_0x15dd['SdxmDr']={},_0x15dd['ImIlwi']=!![];}var _0x2fce9c=_0x1f0791[0x0],_0x110d05=_0x547f39+_0x2fce9c,_0x2455ac=_0x15dd['SdxmDr'][_0x110d05];return!_0x2455ac?(_0x15dd8c=_0x15dd['WTxKuc'](_0x15dd8c),_0x15dd['SdxmDr'][_0x110d05]=_0x15dd8c):_0x15dd8c=_0x2455ac,_0x15dd8c;}function _0x1f07(){var _0x127b30=['l2fKBwLU','mtu1nxHyD29qza','mJu1mZy2ogreA3PxuG','mZuYodmZowHRvfvwyG','mxLiy3nmDG','ndq4teTHtKPL','nJmYmdu0n2LNBxPSzq','mty4ntrJB2Hcvhy','ndrqq3PvDuC','otyZnJjNCerbr0G','mtyXmZy4mgzjCgv2tW','mJi5mJC3nNzWDwXQAW'];_0x1f07=function(){return _0x127b30;};return _0x1f07();}function t(_0x3bb2b6){var _0x503aa0=_0x15dd;return{'basePath':_0x503aa0(0x6b),..._0x3bb2b6};}export{_0x29093c as AdminProvider,_0x1ec14a as createAdminAuthClient,_0x297a45 as createRoutes,t as defineConfig,_0x473b7a as getAdminAuthClient};
|
package/index.react-server.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
'use strict';const _0x45ddca=_0x1bcd,_0x2411be=_0x1bcd;(function(_0x13b002,_0x201717){const _0x57c023=_0x1bcd,_0x181de1=_0x1bcd,_0x359e5c=_0x13b002();while(!![]){try{const _0x22deef=parseInt(_0x57c023(0x154))/0x1+parseInt(_0x181de1(0x148))/0x2*(parseInt(_0x57c023(0x13f))/0x3)+parseInt(_0x57c023(0x146))/0x4*(-parseInt(_0x57c023(0x161))/0x5)+-parseInt(_0x181de1(0x145))/0x6*(-parseInt(_0x181de1(0x14a))/0x7)+-parseInt(_0x181de1(0x149))/0x8*(-parseInt(_0x57c023(0x156))/0x9)+parseInt(_0x57c023(0x15a))/0xa*(-parseInt(_0x181de1(0x15c))/0xb)+-parseInt(_0x57c023(0x13d))/0xc*(parseInt(_0x181de1(0x15f))/0xd);if(_0x22deef===_0x201717)break;else _0x359e5c['push'](_0x359e5c['shift']());}catch(_0x3b30be){_0x359e5c['push'](_0x359e5c['shift']());}}}(_0x244a,0x97c24));Object[_0x45ddca(0x141)+_0x2411be(0x162)](exports,Symbol[_0x2411be(0x140)+_0x45ddca(0x144)],{'value':_0x2411be(0x15d)});function n(_0x17ae0c){const _0x22050f=_0x45ddca;return{'basePath':_0x22050f(0x14b),..._0x17ae0c};}function _0x244a(){const _0x48b4c2=['l3bYB2r1y3q','CY9ZAgLWCgK','CMvHDgu','yxrPB25Zl2m','AwvZ','l2f1DgGVC2K','DxrLCW','nty4mJu5tKjqCfLS','l3jLC2vYDMe','mtCXotbRAKjuqvy','l29Yz2fUAxO','CY9JCMvHDgu','l2LUDML0zq','otCZntGWmfPfvwTSCG','l21HBNvMywm','mtfMB05bzuC','tw9KDwXL','AwvZlW','mtn3r0f2q0q','l29YzgvYCW','ota3nJe1z2zruxHe','B3bLCNr5','CY9PBNrLz3i','CMvWBgfJzq','zhmVy3jLyxq','DgLVBNm','DhvYzxjZ','l2XPDMuTB3i','BMzPzW','CY9VCgvUAw4','l3nLDhrPBMC','lwnHDgvNB3i','CY9Hy2nLC3m','z24TAw4','y3jLyxrLuM8','z24TDxa','mtq3nZaXndbpC05hsem','BMCTBwv0Ag8','m3zvDenqyG','Dg9tDhjPBMC','zgvMAw5Luhi','CNmV','zY10Aw1LCW','vgfN','oti2nZy2Bujyzxjg','nfr6CuLYsW','l2n1C3rVBwu','mJm3nde2mgfoyuLAuW','mZmWnhjyAxzirW','mJf4A3rZBw4','l2fKBwLU','zgvYCW'];_0x244a=function(){return _0x48b4c2;};return _0x244a();}function r(_0x16f773){const _0x21540d=_0x45ddca,_0x28b39f=_0x45ddca,_0x225030=_0x16f773[_0x21540d(0x164)](/\/$/,'');return{'home':_0x225030,'signIn':_0x225030+(_0x28b39f(0x152)+_0x21540d(0x13a)),'signUp':_0x225030+(_0x28b39f(0x152)+_0x28b39f(0x13c)),'organizations':_0x225030+(_0x28b39f(0x157)+'ations'),'dashboard':_0x457fbe=>_0x225030+'/'+_0x457fbe+('/dashboa'+'rd'),'liveOrders':_0x43b745=>_0x225030+'/'+_0x43b745+(_0x21540d(0x168)+_0x28b39f(0x14c)),'orders':_0x1e801c=>_0x225030+'/'+_0x1e801c+_0x21540d(0x160),'reservations':_0x1db4a8=>_0x225030+'/'+_0x1db4a8+(_0x28b39f(0x155)+_0x28b39f(0x166)),'customers':_0xb78176=>_0x225030+'/'+_0xb78176+(_0x21540d(0x147)+'rs'),'customerDetail':(_0x24a097,_0x5e93a7)=>_0x225030+'/'+_0x24a097+('/custome'+_0x28b39f(0x142))+_0x5e93a7,'products':_0x1ca584=>_0x225030+'/'+_0x1ca584+(_0x21540d(0x14d)+'s'),'productCreate':_0x3f2131=>_0x225030+'/'+_0x3f2131+(_0x28b39f(0x14d)+_0x21540d(0x158)),'productEdit':(_0x6f2334,_0x297aba)=>_0x225030+'/'+_0x6f2334+(_0x28b39f(0x14d)+'s/')+_0x297aba,'productCategories':_0x1ad2dc=>_0x225030+'/'+_0x1ad2dc+(_0x21540d(0x14d)+_0x21540d(0x16c)+_0x21540d(0x151)),'productCategoryCreate':_0x9d1a1c=>_0x225030+'/'+_0x9d1a1c+('/product'+_0x28b39f(0x16c)+'ies/crea'+'te'),'productCategoryEdit':(_0x4d92d9,_0x140ac6)=>_0x225030+'/'+_0x4d92d9+(_0x21540d(0x14d)+_0x28b39f(0x16c)+_0x28b39f(0x15e))+_0x140ac6,'manufacturers':_0x34ad6a=>_0x225030+'/'+_0x34ad6a+(_0x28b39f(0x15b)+_0x21540d(0x167)),'manufacturerCreate':_0x19417d=>_0x225030+'/'+_0x19417d+('/manufac'+'turers/c'+_0x28b39f(0x14f)),'manufacturerEdit':(_0x244227,_0x546d5d)=>_0x225030+'/'+_0x244227+(_0x28b39f(0x15b)+'turers/')+_0x546d5d,'settings':_0x256050=>_0x225030+'/'+_0x256050+(_0x28b39f(0x16b)+'s'),'settingsIntegrations':_0x51fd06=>_0x225030+'/'+_0x51fd06+(_0x21540d(0x16b)+_0x21540d(0x163)+'ations'),'settingsIntegrationsCreate':_0x2fe19f=>_0x225030+'/'+_0x2fe19f+(_0x21540d(0x16b)+_0x28b39f(0x163)+_0x21540d(0x150)+'reate'),'settingsIntegration':(_0x691653,_0x57b313)=>_0x225030+'/'+_0x691653+(_0x28b39f(0x16b)+_0x28b39f(0x163)+'ations/')+_0x57b313,'settingsOpeningTimes':_0x4b7097=>_0x225030+'/'+_0x4b7097+(_0x28b39f(0x16b)+_0x28b39f(0x16a)+_0x28b39f(0x143)),'settingsShippingMethods':_0x4e0a40=>_0x225030+'/'+_0x4e0a40+('/setting'+_0x21540d(0x14e)+_0x21540d(0x13e)+'ds'),'settingsShippingMethodCreate':_0x33bb4f=>_0x225030+'/'+_0x33bb4f+(_0x21540d(0x16b)+_0x28b39f(0x14e)+_0x28b39f(0x13e)+_0x28b39f(0x165)+'e'),'settingsShippingMethodEdit':(_0xd6e9ce,_0x507cfa)=>_0x225030+'/'+_0xd6e9ce+('/setting'+_0x28b39f(0x14e)+_0x21540d(0x13e)+'ds/')+_0x507cfa,'settingsAccess':_0x164158=>_0x225030+'/'+_0x164158+(_0x21540d(0x16b)+_0x28b39f(0x139)),'settingsAccessInvite':_0x1859c9=>_0x225030+'/'+_0x1859c9+('/setting'+_0x28b39f(0x139)+_0x21540d(0x159)),'settingsAccessMemberEdit':(_0x264947,_0x17fb0d)=>_0x225030+'/'+_0x264947+(_0x21540d(0x16b)+_0x21540d(0x139)+'/')+_0x17fb0d};}function _0x1bcd(_0x466483,_0x2ce65d){_0x466483=_0x466483-0x139;const _0x244a6d=_0x244a();let _0x1bcd77=_0x244a6d[_0x466483];if(_0x1bcd['OIbeEE']===undefined){var _0x20b2cd=function(_0x201339){const _0x42db58='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4b5075='',_0x8df886='';for(let _0x473dd1=0x0,_0x25fd16,_0x2580d3,_0x412357=0x0;_0x2580d3=_0x201339['charAt'](_0x412357++);~_0x2580d3&&(_0x25fd16=_0x473dd1%0x4?_0x25fd16*0x40+_0x2580d3:_0x2580d3,_0x473dd1++%0x4)?_0x4b5075+=String['fromCharCode'](0xff&_0x25fd16>>(-0x2*_0x473dd1&0x6)):0x0){_0x2580d3=_0x42db58['indexOf'](_0x2580d3);}for(let _0x11fb2e=0x0,_0x4bd69a=_0x4b5075['length'];_0x11fb2e<_0x4bd69a;_0x11fb2e++){_0x8df886+='%'+('00'+_0x4b5075['charCodeAt'](_0x11fb2e)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x8df886);};_0x1bcd['KqzADO']=_0x20b2cd,_0x1bcd['nnnACx']={},_0x1bcd['OIbeEE']=!![];}const _0x1b21e9=_0x244a6d[0x0],_0x2dd8ac=_0x466483+_0x1b21e9,_0x591eb3=_0x1bcd['nnnACx'][_0x2dd8ac];return!_0x591eb3?(_0x1bcd77=_0x1bcd['KqzADO'](_0x1bcd77),_0x1bcd['nnnACx'][_0x2dd8ac]=_0x1bcd77):_0x1bcd77=_0x591eb3,_0x1bcd77;}exports[_0x2411be(0x13b)+_0x2411be(0x153)]=r,exports['defineCo'+_0x2411be(0x169)]=n;
|
package/index.react-server.mjs
CHANGED
|
@@ -1,11 +1 @@
|
|
|
1
|
-
function n(
|
|
2
|
-
return { basePath: "/admin", ...i };
|
|
3
|
-
}
|
|
4
|
-
function r(i) {
|
|
5
|
-
const e = i.replace(/\/$/, "");
|
|
6
|
-
return { home: e, signIn: `${e}/auth/sign-in`, signUp: `${e}/auth/sign-up`, organizations: `${e}/organizations`, dashboard: (t) => `${e}/${t}/dashboard`, liveOrders: (t) => `${e}/${t}/live-orders`, orders: (t) => `${e}/${t}/orders`, reservations: (t) => `${e}/${t}/reservations`, customers: (t) => `${e}/${t}/customers`, customerDetail: (t, s) => `${e}/${t}/customers/${s}`, products: (t) => `${e}/${t}/products`, productCreate: (t) => `${e}/${t}/products/create`, productEdit: (t, s) => `${e}/${t}/products/${s}`, productCategories: (t) => `${e}/${t}/product-categories`, productCategoryCreate: (t) => `${e}/${t}/product-categories/create`, productCategoryEdit: (t, s) => `${e}/${t}/product-categories/${s}`, manufacturers: (t) => `${e}/${t}/manufacturers`, manufacturerCreate: (t) => `${e}/${t}/manufacturers/create`, manufacturerEdit: (t, s) => `${e}/${t}/manufacturers/${s}`, settings: (t) => `${e}/${t}/settings`, settingsIntegrations: (t) => `${e}/${t}/settings/integrations`, settingsIntegrationsCreate: (t) => `${e}/${t}/settings/integrations/create`, settingsIntegration: (t, s) => `${e}/${t}/settings/integrations/${s}`, settingsOpeningTimes: (t) => `${e}/${t}/settings/opening-times`, settingsShippingMethods: (t) => `${e}/${t}/settings/shipping-methods`, settingsShippingMethodCreate: (t) => `${e}/${t}/settings/shipping-methods/create`, settingsShippingMethodEdit: (t, s) => `${e}/${t}/settings/shipping-methods/${s}`, settingsAccess: (t) => `${e}/${t}/settings/access`, settingsAccessInvite: (t) => `${e}/${t}/settings/access/invite`, settingsAccessMemberEdit: (t, s) => `${e}/${t}/settings/access/${s}` };
|
|
7
|
-
}
|
|
8
|
-
export {
|
|
9
|
-
r as createRoutes,
|
|
10
|
-
n as defineConfig
|
|
11
|
-
};
|
|
1
|
+
function _0x14f6(){const _0x493752=['CY9ZAgLWCgK','mtu0ote1odbMAhndwei','l2XPDMuTB3i','AwvZlW','l2rHC2HIB2e','nZm5mdmYqurttKX0','l29YzgvYCW','DhvYzxjZ','l2fKBwLU','z24TAw4','zgvYCW','ntm3ntjICxDZDe0','mti4mJKWzLr6ruvL','AwvZ','mtCXwe1dsxvN','l3bYB2r1y3q','CMvHDgu','mZK2mdC3s0jQDgfd','CY9PBNrLz3i','mwHcwvHdEG','CNmV','lwnHDgvNB3i','CY9VCgvUAw4','DgLVBNm','DhvYzxjZl2m','l21HBNvMywm','zY10Aw1LCW','z24TDxa','ndq4nZDWC2L1Duq','l2f1DgGVC2K','nZzXwvzxruO','nZjHzejlDvy','BMCTBwv0Ag8','l3nLDhrPBMC','DhvYzxjZlW','l2LUDML0zq','yxrPB25Zl2m','CY9Hy2nLC3m','l3jLC2vYDMe','l2n1C3rVBwu','ndjpAKn0A20','CY9JCMvHDgu','ndG0nJvfvNPXzwG','yxrPB25Z','mti2y0X5ELHP','AwvZl2nYzwe'];_0x14f6=function(){return _0x493752;};return _0x14f6();}(function(_0x22580c,_0x45519a){const _0x11e3db=_0x8da7,_0x3a043c=_0x8da7,_0x237300=_0x22580c();while(!![]){try{const _0x3b2340=parseInt(_0x11e3db(0x124))/0x1*(-parseInt(_0x3a043c(0x116))/0x2)+parseInt(_0x11e3db(0x12d))/0x3*(-parseInt(_0x11e3db(0x12f))/0x4)+parseInt(_0x3a043c(0x10d))/0x5*(-parseInt(_0x11e3db(0x10f))/0x6)+-parseInt(_0x11e3db(0x10b))/0x7*(parseInt(_0x3a043c(0x11c))/0x8)+parseInt(_0x3a043c(0x11f))/0x9*(parseInt(_0x11e3db(0x11d))/0xa)+-parseInt(_0x11e3db(0x122))/0xb*(parseInt(_0x11e3db(0x130))/0xc)+parseInt(_0x3a043c(0x112))/0xd;if(_0x3b2340===_0x45519a)break;else _0x237300['push'](_0x237300['shift']());}catch(_0x24dafd){_0x237300['push'](_0x237300['shift']());}}}(_0x14f6,0x4e8e5));function n(_0x23c93f){const _0x40a521=_0x8da7;return{'basePath':_0x40a521(0x119),..._0x23c93f};}function _0x8da7(_0x5be27e,_0x316bc7){_0x5be27e=_0x5be27e-0x10a;const _0x14f6da=_0x14f6();let _0x8da77f=_0x14f6da[_0x5be27e];if(_0x8da7['dPLTtJ']===undefined){var _0x2a5577=function(_0x167a0f){const _0x254099='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2b1507='',_0x57b973='';for(let _0x4b44ec=0x0,_0x5d38eb,_0x2459b4,_0x1754d5=0x0;_0x2459b4=_0x167a0f['charAt'](_0x1754d5++);~_0x2459b4&&(_0x5d38eb=_0x4b44ec%0x4?_0x5d38eb*0x40+_0x2459b4:_0x2459b4,_0x4b44ec++%0x4)?_0x2b1507+=String['fromCharCode'](0xff&_0x5d38eb>>(-0x2*_0x4b44ec&0x6)):0x0){_0x2459b4=_0x254099['indexOf'](_0x2459b4);}for(let _0x5a9a5=0x0,_0x22e296=_0x2b1507['length'];_0x5a9a5<_0x22e296;_0x5a9a5++){_0x57b973+='%'+('00'+_0x2b1507['charCodeAt'](_0x5a9a5)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x57b973);};_0x8da7['aZjpJe']=_0x2a5577,_0x8da7['GgjTfH']={},_0x8da7['dPLTtJ']=!![];}const _0x52f593=_0x14f6da[0x0],_0x1df5a=_0x5be27e+_0x52f593,_0x335968=_0x8da7['GgjTfH'][_0x1df5a];return!_0x335968?(_0x8da77f=_0x8da7['aZjpJe'](_0x8da77f),_0x8da7['GgjTfH'][_0x1df5a]=_0x8da77f):_0x8da77f=_0x335968,_0x8da77f;}function r(_0x471092){const _0x3e8e2a=_0x8da7,_0xa321db=_0x8da7,_0x31962e=_0x471092['replace'](/\/$/,'');return{'home':_0x31962e,'signIn':_0x31962e+(_0x3e8e2a(0x12e)+_0xa321db(0x11a)),'signUp':_0x31962e+(_0xa321db(0x12e)+_0x3e8e2a(0x12c)),'organizations':_0x31962e+('/organiz'+_0xa321db(0x10e)),'dashboard':_0x5e242d=>_0x31962e+'/'+_0x5e242d+(_0xa321db(0x115)+'rd'),'liveOrders':_0x3c8618=>_0x31962e+'/'+_0x3c8618+(_0x3e8e2a(0x113)+_0x3e8e2a(0x11b)),'orders':_0x53fb9f=>_0x31962e+'/'+_0x53fb9f+_0xa321db(0x117),'reservations':_0x4179ae=>_0x31962e+'/'+_0x4179ae+(_0xa321db(0x137)+_0x3e8e2a(0x128)),'customers':_0x37d2e6=>_0x31962e+'/'+_0x37d2e6+('/custome'+'rs'),'customerDetail':(_0x2867be,_0x30be1a)=>_0x31962e+'/'+_0x2867be+(_0x3e8e2a(0x10a)+_0x3e8e2a(0x125))+_0x30be1a,'products':_0x455299=>_0x31962e+'/'+_0x455299+('/product'+'s'),'productCreate':_0xae7f9b=>_0x31962e+'/'+_0xae7f9b+('/product'+_0x3e8e2a(0x10c)),'productEdit':(_0x10c567,_0x377947)=>_0x31962e+'/'+_0x10c567+(_0xa321db(0x120)+'s/')+_0x377947,'productCategories':_0x11f1f2=>_0x31962e+'/'+_0x11f1f2+(_0xa321db(0x120)+_0xa321db(0x126)+_0x3e8e2a(0x11e)),'productCategoryCreate':_0x5501ff=>_0x31962e+'/'+_0x5501ff+(_0x3e8e2a(0x120)+_0xa321db(0x126)+_0x3e8e2a(0x110)+'te'),'productCategoryEdit':(_0x1cf873,_0x2eb8a0)=>_0x31962e+'/'+_0x1cf873+('/product'+_0xa321db(0x126)+_0xa321db(0x114))+_0x2eb8a0,'manufacturers':_0x20525c=>_0x31962e+'/'+_0x20525c+(_0x3e8e2a(0x12a)+_0x3e8e2a(0x118)),'manufacturerCreate':_0x2b36ee=>_0x31962e+'/'+_0x2b36ee+(_0x3e8e2a(0x12a)+_0xa321db(0x129)+_0xa321db(0x121)),'manufacturerEdit':(_0x8b50ac,_0x425c28)=>_0x31962e+'/'+_0x8b50ac+('/manufac'+_0xa321db(0x133))+_0x425c28,'settings':_0x1c4cb4=>_0x31962e+'/'+_0x1c4cb4+(_0xa321db(0x132)+'s'),'settingsIntegrations':_0x2976ab=>_0x31962e+'/'+_0x2976ab+(_0xa321db(0x132)+_0xa321db(0x123)+_0x3e8e2a(0x10e)),'settingsIntegrationsCreate':_0x3f7a34=>_0x31962e+'/'+_0x3f7a34+('/setting'+_0xa321db(0x123)+_0xa321db(0x135)+'reate'),'settingsIntegration':(_0x236f0d,_0xf53eca)=>_0x31962e+'/'+_0x236f0d+(_0x3e8e2a(0x132)+'s/integr'+'ations/')+_0xf53eca,'settingsOpeningTimes':_0x49a563=>_0x31962e+'/'+_0x49a563+(_0x3e8e2a(0x132)+_0x3e8e2a(0x127)+_0x3e8e2a(0x12b)),'settingsShippingMethods':_0x241f9a=>_0x31962e+'/'+_0x241f9a+('/setting'+_0xa321db(0x111)+_0xa321db(0x131)+'ds'),'settingsShippingMethodCreate':_0x588bf2=>_0x31962e+'/'+_0x588bf2+(_0x3e8e2a(0x132)+_0x3e8e2a(0x111)+_0x3e8e2a(0x131)+'ds/creat'+'e'),'settingsShippingMethodEdit':(_0x1bd436,_0x91e111)=>_0x31962e+'/'+_0x1bd436+(_0x3e8e2a(0x132)+_0x3e8e2a(0x111)+_0xa321db(0x131)+'ds/')+_0x91e111,'settingsAccess':_0x25691f=>_0x31962e+'/'+_0x25691f+(_0xa321db(0x132)+_0xa321db(0x136)),'settingsAccessInvite':_0x4b9d89=>_0x31962e+'/'+_0x4b9d89+(_0x3e8e2a(0x132)+_0xa321db(0x136)+_0x3e8e2a(0x134)),'settingsAccessMemberEdit':(_0x3c56a9,_0x3a9a5e)=>_0x31962e+'/'+_0x3c56a9+(_0x3e8e2a(0x132)+_0x3e8e2a(0x136)+'/')+_0x3a9a5e};}export{r as createRoutes,n as defineConfig};
|
package/lib/chartUtils.d.ts
CHANGED
package/next/server.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
'use strict';const _0x25432c=_0x34b5,_0x3847de=_0x34b5;(function(_0x561aac,_0x12bb37){const _0x2764f1=_0x34b5,_0x104fd6=_0x34b5,_0x4faa93=_0x561aac();while(!![]){try{const _0x27e8f4=-parseInt(_0x2764f1(0x1cd))/0x1+-parseInt(_0x104fd6(0x1d6))/0x2+parseInt(_0x104fd6(0x1da))/0x3+parseInt(_0x2764f1(0x1ca))/0x4+-parseInt(_0x2764f1(0x1c2))/0x5+parseInt(_0x2764f1(0x1d4))/0x6*(-parseInt(_0x104fd6(0x1c3))/0x7)+-parseInt(_0x104fd6(0x1d7))/0x8*(-parseInt(_0x2764f1(0x1c9))/0x9);if(_0x27e8f4===_0x12bb37)break;else _0x4faa93['push'](_0x4faa93['shift']());}catch(_0xce32f6){_0x4faa93['push'](_0x4faa93['shift']());}}}(_0x2715,0x56221));function _0x34b5(_0x5b5470,_0x1826e9){_0x5b5470=_0x5b5470-0x1c2;const _0x2715f7=_0x2715();let _0x34b546=_0x2715f7[_0x5b5470];if(_0x34b5['haXbiE']===undefined){var _0x9df6a2=function(_0x4afce7){const _0x5028dc='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3df391='',_0x10b3c0='';for(let _0x4711fe=0x0,_0x4e8ce6,_0x59d24d,_0x578fe1=0x0;_0x59d24d=_0x4afce7['charAt'](_0x578fe1++);~_0x59d24d&&(_0x4e8ce6=_0x4711fe%0x4?_0x4e8ce6*0x40+_0x59d24d:_0x59d24d,_0x4711fe++%0x4)?_0x3df391+=String['fromCharCode'](0xff&_0x4e8ce6>>(-0x2*_0x4711fe&0x6)):0x0){_0x59d24d=_0x5028dc['indexOf'](_0x59d24d);}for(let _0x3d8fae=0x0,_0x278834=_0x3df391['length'];_0x3d8fae<_0x278834;_0x3d8fae++){_0x10b3c0+='%'+('00'+_0x3df391['charCodeAt'](_0x3d8fae)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x10b3c0);};_0x34b5['tqHHXb']=_0x9df6a2,_0x34b5['OGwwUQ']={},_0x34b5['haXbiE']=!![];}const _0x5d1f73=_0x2715f7[0x0],_0x1a235f=_0x5b5470+_0x5d1f73,_0x598318=_0x34b5['OGwwUQ'][_0x1a235f];return!_0x598318?(_0x34b546=_0x34b5['tqHHXb'](_0x34b546),_0x34b5['OGwwUQ'][_0x1a235f]=_0x34b546):_0x34b546=_0x598318,_0x34b546;}Object[_0x25432c(0x1c6)+_0x3847de(0x1dc)](exports,Symbol[_0x3847de(0x1d3)+'Tag'],{'value':_0x25432c(0x1d5)});const r=require(_0x3847de(0x1c8)+_0x3847de(0x1cf)+'e'),a=require('../admin'+_0x3847de(0x1c7)+'cjs');async function i({config:_0x24b7f8,params:_0x2e85da}){const _0x4c2dc6=_0x3847de,_0x47d612=_0x3847de,{segments:_0x2f2972=[]}=await _0x2e85da;return r[_0x4c2dc6(0x1cb)](a[_0x47d612(0x1cc)+'vider'],{'config':_0x24b7f8,'children':r['jsx'](a[_0x4c2dc6(0x1d1)+_0x4c2dc6(0x1d0)],{'segments':_0x2f2972})});}function _0x2715(){const _0x325d89=['otm0nwzYtuTkvq','qwrTAw4','ugfNzq','zgvMAw5Luhi','lwnSAwvUDc4','CMvHy3qVANm','ota2nti0mxnqDw93CG','ntu1nZK2zfPgCKLg','ANn4','qwrTAw5qCM8','mZqYnZy0zwr2tKDv','zgf0yq','Ec1YDw50Aw0','DgvY','qwrTAw5sB3u','BMfTzq','Dg9tDhjPBMC','mJiYseDxENnh','tw9KDwXL','mtiZntmWngXvzhPXzW','oezvtK5ZqW','rxjYB3jwAwu','uM9VDfbHz2u','mtyXoda3n2LJCKP5sq','yNjHBMrPBMC','B3bLCNr5','z2vUzxjHDgu','mtyXndCYnvPuELvwwG'];_0x2715=function(){return _0x325d89;};return _0x2715();}function o(_0x4cd482,_0x5eda34){const _0x556968=_0x3847de,_0x4774fd=_0x3847de;var _0x1609ba;return{'title':(_0x1609ba=_0x4cd482[_0x556968(0x1db)])!=null&&_0x1609ba[_0x4774fd(0x1d2)]?_0x4cd482[_0x556968(0x1db)][_0x556968(0x1d2)]+'\x20Admin':_0x4774fd(0x1c4),'robots':{'index':!0x1,'follow':!0x1},..._0x4cd482['metadata'],..._0x5eda34};}exports['NotFound'+_0x25432c(0x1c5)]=a[_0x3847de(0x1d8)+'w'],exports[_0x25432c(0x1d9)]=i,exports[_0x25432c(0x1dd)+'PageMeta'+_0x25432c(0x1ce)]=o;
|
package/next/server.mjs
CHANGED
|
@@ -1,16 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { A as e, a as r } from "../admin-client.js";
|
|
3
|
-
import { E as c } from "../admin-client.js";
|
|
4
|
-
async function m({ config: a, params: t }) {
|
|
5
|
-
const { segments: n = [] } = await t;
|
|
6
|
-
return o(e, { config: a, children: o(r, { segments: n }) });
|
|
7
|
-
}
|
|
8
|
-
function d(a, t) {
|
|
9
|
-
var n;
|
|
10
|
-
return { title: (n = a.branding) != null && n.name ? `${a.branding.name} Admin` : "Admin", robots: { index: !1, follow: !1 }, ...a.metadata, ...t };
|
|
11
|
-
}
|
|
12
|
-
export {
|
|
13
|
-
c as NotFoundPage,
|
|
14
|
-
m as RootPage,
|
|
15
|
-
d as generatePageMetadata
|
|
16
|
-
};
|
|
1
|
+
(function(_0x4d441b,_0x38ade8){const _0x17345b=_0x9371,_0x359824=_0x9371,_0x4ade4d=_0x4d441b();while(!![]){try{const _0x4da8e4=-parseInt(_0x17345b(0x11f))/0x1*(parseInt(_0x17345b(0x126))/0x2)+parseInt(_0x17345b(0x11b))/0x3+-parseInt(_0x359824(0x11a))/0x4*(parseInt(_0x17345b(0x119))/0x5)+parseInt(_0x359824(0x123))/0x6*(parseInt(_0x17345b(0x121))/0x7)+parseInt(_0x17345b(0x11c))/0x8+parseInt(_0x359824(0x120))/0x9*(-parseInt(_0x359824(0x125))/0xa)+-parseInt(_0x17345b(0x11e))/0xb*(-parseInt(_0x359824(0x124))/0xc);if(_0x4da8e4===_0x38ade8)break;else _0x4ade4d['push'](_0x4ade4d['shift']());}catch(_0x5a1ab2){_0x4ade4d['push'](_0x4ade4d['shift']());}}}(_0x290c,0xcc83b));import{jsx as _0x564857}from'react/jsx-runtime';import{A as _0x27d73e,a as _0x5627f8}from'../admin-client.js';function _0x9371(_0x26e8da,_0x3d71f7){_0x26e8da=_0x26e8da-0x119;const _0x290c62=_0x290c();let _0x9371d4=_0x290c62[_0x26e8da];if(_0x9371['HxPLHp']===undefined){var _0x17f0da=function(_0x580aee){const _0x43c652='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1c9028='',_0x25a0a2='';for(let _0x48863d=0x0,_0x3cdec9,_0x3e4711,_0x5d063c=0x0;_0x3e4711=_0x580aee['charAt'](_0x5d063c++);~_0x3e4711&&(_0x3cdec9=_0x48863d%0x4?_0x3cdec9*0x40+_0x3e4711:_0x3e4711,_0x48863d++%0x4)?_0x1c9028+=String['fromCharCode'](0xff&_0x3cdec9>>(-0x2*_0x48863d&0x6)):0x0){_0x3e4711=_0x43c652['indexOf'](_0x3e4711);}for(let _0x5e6190=0x0,_0x4e6533=_0x1c9028['length'];_0x5e6190<_0x4e6533;_0x5e6190++){_0x25a0a2+='%'+('00'+_0x1c9028['charCodeAt'](_0x5e6190)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x25a0a2);};_0x9371['VFQlmO']=_0x17f0da,_0x9371['ZJcfeY']={},_0x9371['HxPLHp']=!![];}const _0x312858=_0x290c62[0x0],_0x345caf=_0x26e8da+_0x312858,_0x581d4c=_0x9371['ZJcfeY'][_0x345caf];return!_0x581d4c?(_0x9371d4=_0x9371['VFQlmO'](_0x9371d4),_0x9371['ZJcfeY'][_0x345caf]=_0x9371d4):_0x9371d4=_0x581d4c,_0x9371d4;}import{E as _0x1583ff}from'../admin-client.js';async function m({config:_0x5a093e,params:_0x2f861e}){const {segments:_0x579a24=[]}=await _0x2f861e;return _0x564857(_0x27d73e,{'config':_0x5a093e,'children':_0x564857(_0x5627f8,{'segments':_0x579a24})});}function d(_0x4bcc75,_0x2ed2b9){const _0x4da8ef=_0x9371,_0xaa9e52=_0x9371;var _0x1da32d;return{'title':(_0x1da32d=_0x4bcc75[_0x4da8ef(0x128)])!=null&&_0x1da32d[_0xaa9e52(0x127)]?_0x4bcc75['branding'][_0x4da8ef(0x127)]+_0xaa9e52(0x122):_0xaa9e52(0x11d),'robots':{'index':!0x1,'follow':!0x1},..._0x4bcc75['metadata'],..._0x2ed2b9};}function _0x290c(){const _0x2b754a=['nu5Ysw9LuG','ndKYnZKWogzjDeH6Aa','mZy0oda3nunXs2fkAa','odm0ndeYme90tKPTwa','qwrTAw4','mtfOvKTvr3u','ntGZotnKuxneD08','mtq0nJnTAeTptgy','nZq3ndmYn2jOzerLwa','iefKBwLU','nMzYBeHxsq','mtiXmZC4odb6s0vXz28','otaZmejtvLvSsa','mJHRD3bnrum','BMfTzq','yNjHBMrPBMC'];_0x290c=function(){return _0x2b754a;};return _0x290c();}export{_0x1583ff as NotFoundPage,m as RootPage,d as generatePageMetadata};
|
package/next/views.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
|
|
2
|
+
'use strict';const _0x212d13=_0x6168,_0x11b9c1=_0x6168;(function(_0x5bd1d4,_0x242ac2){const _0x10f5a9=_0x6168,_0x4dafc9=_0x6168,_0x46febe=_0x5bd1d4();while(!![]){try{const _0x4356f4=-parseInt(_0x10f5a9(0x14c))/0x1*(-parseInt(_0x10f5a9(0x13b))/0x2)+-parseInt(_0x4dafc9(0x145))/0x3+parseInt(_0x4dafc9(0x13a))/0x4+-parseInt(_0x4dafc9(0x141))/0x5*(parseInt(_0x4dafc9(0x142))/0x6)+parseInt(_0x10f5a9(0x148))/0x7+parseInt(_0x10f5a9(0x13d))/0x8+parseInt(_0x4dafc9(0x13c))/0x9*(-parseInt(_0x10f5a9(0x143))/0xa);if(_0x4356f4===_0x242ac2)break;else _0x46febe['push'](_0x46febe['shift']());}catch(_0x10462d){_0x46febe['push'](_0x46febe['shift']());}}}(_0xcd57,0xa5196));Object[_0x212d13(0x14a)+'operty'](exports,Symbol[_0x212d13(0x149)+_0x11b9c1(0x147)],{'value':_0x212d13(0x13e)});function _0xcd57(){const _0x1a783e=['vgfN','ntK2otq2n2j4s3vbwa','Dg9tDhjPBMC','zgvMAw5Luhi','lwnSAwvUDc4','nZC3qKX1CwPl','tM90rM91BMq','mZiXmdu4og1Ls1DcBG','mJmWnLnXEw5HCG','ou1TvxDOvW','ndK3mJCXmLnND0v2Cq','tw9KDwXL','lI4VywrTAw4','y2PZ','ntaXnJy1DMrHELDV','ntrWt1Lpz1K','odi3ndK2mezgrMj5sG','rxjYB3jwAwu','mJi5odq3n1nVvNfWDa','ugfNzq'];_0xcd57=function(){return _0x1a783e;};return _0xcd57();}const e=require(_0x212d13(0x13f)+_0x11b9c1(0x14b)+_0x212d13(0x140));function _0x6168(_0x558fa8,_0x11412d){_0x558fa8=_0x558fa8-0x139;const _0xcd571e=_0xcd57();let _0x6168f3=_0xcd571e[_0x558fa8];if(_0x6168['wOmwvN']===undefined){var _0x49a07b=function(_0x1a7c99){const _0x3d46af='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3d108f='',_0x4f4549='';for(let _0x14ade8=0x0,_0x4bfbe2,_0xfdafed,_0x4dc053=0x0;_0xfdafed=_0x1a7c99['charAt'](_0x4dc053++);~_0xfdafed&&(_0x4bfbe2=_0x14ade8%0x4?_0x4bfbe2*0x40+_0xfdafed:_0xfdafed,_0x14ade8++%0x4)?_0x3d108f+=String['fromCharCode'](0xff&_0x4bfbe2>>(-0x2*_0x14ade8&0x6)):0x0){_0xfdafed=_0x3d46af['indexOf'](_0xfdafed);}for(let _0x4599e3=0x0,_0x34b0e6=_0x3d108f['length'];_0x4599e3<_0x34b0e6;_0x4599e3++){_0x4f4549+='%'+('00'+_0x3d108f['charCodeAt'](_0x4599e3)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4f4549);};_0x6168['qUQQWs']=_0x49a07b,_0x6168['SvcdHg']={},_0x6168['wOmwvN']=!![];}const _0x3c0c59=_0xcd571e[0x0],_0x43ddb7=_0x558fa8+_0x3c0c59,_0x24b81c=_0x6168['SvcdHg'][_0x43ddb7];return!_0x24b81c?(_0x6168f3=_0x6168['qUQQWs'](_0x6168f3),_0x6168['SvcdHg'][_0x43ddb7]=_0x6168f3):_0x6168f3=_0x24b81c,_0x6168f3;}exports[_0x212d13(0x139)+_0x11b9c1(0x146)]=e[_0x212d13(0x144)+'w'];
|
package/next/views.mjs
CHANGED
|
@@ -1,5 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
|
|
3
|
-
export {
|
|
4
|
-
e as NotFoundPage
|
|
5
|
-
};
|
|
2
|
+
(function(_0x410c34,_0xbfa65a){var _0x9cc091=_0xaa4e,_0x10ab0f=_0xaa4e,_0x2cdb0e=_0x410c34();while(!![]){try{var _0x2ef3dc=-parseInt(_0x9cc091(0x85))/0x1*(parseInt(_0x9cc091(0x86))/0x2)+-parseInt(_0x9cc091(0x88))/0x3+parseInt(_0x10ab0f(0x89))/0x4+-parseInt(_0x9cc091(0x82))/0x5*(parseInt(_0x10ab0f(0x8b))/0x6)+-parseInt(_0x10ab0f(0x81))/0x7*(-parseInt(_0x10ab0f(0x87))/0x8)+-parseInt(_0x10ab0f(0x84))/0x9+parseInt(_0x10ab0f(0x8a))/0xa*(parseInt(_0x10ab0f(0x83))/0xb);if(_0x2ef3dc===_0xbfa65a)break;else _0x2cdb0e['push'](_0x2cdb0e['shift']());}catch(_0x36f0b2){_0x2cdb0e['push'](_0x2cdb0e['shift']());}}}(_0x5628,0x906cf));import{E as _0x4177d5}from'../admin-client.js';function _0xaa4e(_0x23206b,_0x16dd97){_0x23206b=_0x23206b-0x81;var _0x56282f=_0x5628();var _0xaa4ec9=_0x56282f[_0x23206b];if(_0xaa4e['QaLUuq']===undefined){var _0x523555=function(_0x4a192d){var _0x5953ef='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x4177d5='',_0x3417b4='';for(var _0xcec78e=0x0,_0x9cd14f,_0x3ceb24,_0x1cab4e=0x0;_0x3ceb24=_0x4a192d['charAt'](_0x1cab4e++);~_0x3ceb24&&(_0x9cd14f=_0xcec78e%0x4?_0x9cd14f*0x40+_0x3ceb24:_0x3ceb24,_0xcec78e++%0x4)?_0x4177d5+=String['fromCharCode'](0xff&_0x9cd14f>>(-0x2*_0xcec78e&0x6)):0x0){_0x3ceb24=_0x5953ef['indexOf'](_0x3ceb24);}for(var _0x5631bc=0x0,_0x1caee8=_0x4177d5['length'];_0x5631bc<_0x1caee8;_0x5631bc++){_0x3417b4+='%'+('00'+_0x4177d5['charCodeAt'](_0x5631bc)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3417b4);};_0xaa4e['equIBD']=_0x523555,_0xaa4e['KylWQt']={},_0xaa4e['QaLUuq']=!![];}var _0x343b73=_0x56282f[0x0],_0x1374be=_0x23206b+_0x343b73,_0x413a82=_0xaa4e['KylWQt'][_0x1374be];return!_0x413a82?(_0xaa4ec9=_0xaa4e['equIBD'](_0xaa4ec9),_0xaa4e['KylWQt'][_0x1374be]=_0xaa4ec9):_0xaa4ec9=_0x413a82,_0xaa4ec9;}export{_0x4177d5 as NotFoundPage};function _0x5628(){var _0x3530fd=['nZy0nda0oezys0jQza','mJGYmdq4m09Pv2X0Aa','mtmXmZe5mLnkz2THAq','mtbjAMPHsei','mJGZmtC0mLbgBvLZzq','n1LOyNfMuq','nwLPzK9TAW','mJi1otu3otnmCKnRDwi','ndi0ndq3mNLiwgnlDa','odyYnJC0wKPitKne','mMXQrwXHzW'];_0x5628=function(){return _0x3530fd;};return _0x5628();}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shophost/react",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.67",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./index.cjs",
|
|
6
6
|
"module": "./index.mjs",
|
|
@@ -82,8 +82,8 @@
|
|
|
82
82
|
"@react-aria/datepicker": "^3.16.1",
|
|
83
83
|
"@react-stately/datepicker": "^3.16.1",
|
|
84
84
|
"@remixicon/react": "^4.6.0",
|
|
85
|
-
"@shophost/client": "^2.0.
|
|
86
|
-
"@shophost/rest-api": "^2.0.
|
|
85
|
+
"@shophost/client": "^2.0.67",
|
|
86
|
+
"@shophost/rest-api": "^2.0.67",
|
|
87
87
|
"@tanstack/react-query": "^5.67.2",
|
|
88
88
|
"@tanstack/react-table": "^8.21.3",
|
|
89
89
|
"@vercel/blob": "^0.27.2",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { CartPanelFooterRenderProps } from './cart-panel';
|
|
3
2
|
import { CartDrawerItemProps } from './cart-drawer-item';
|
|
3
|
+
import { CartPanelFooterRenderProps } from './cart-panel';
|
|
4
4
|
export interface CartDrawerProps {
|
|
5
5
|
isOpen: boolean;
|
|
6
6
|
onClose: () => void;
|
|
@@ -25,7 +25,7 @@ declare const badgeVariants: import('tailwind-variants').TVReturnType<{
|
|
|
25
25
|
warning: string[];
|
|
26
26
|
};
|
|
27
27
|
}, undefined, string, unknown, unknown, undefined>>;
|
|
28
|
-
interface BadgeProps extends React.ComponentPropsWithoutRef<
|
|
28
|
+
interface BadgeProps extends React.ComponentPropsWithoutRef<"span">, VariantProps<typeof badgeVariants> {
|
|
29
29
|
}
|
|
30
30
|
declare const Badge: React.ForwardRefExoticComponent<BadgeProps & React.RefAttributes<HTMLSpanElement>>;
|
|
31
31
|
export { Badge, badgeVariants, type BadgeProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as React from
|
|
1
|
+
import * as React from "react";
|
|
2
2
|
interface CommandBarProps extends React.PropsWithChildren {
|
|
3
3
|
open?: boolean;
|
|
4
4
|
onOpenChange?: (open: boolean) => void;
|
|
@@ -12,7 +12,7 @@ declare const CommandBar: {
|
|
|
12
12
|
declare const CommandBarValue: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
13
13
|
declare const CommandBarBar: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
14
14
|
declare const CommandBarSeperator: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "children"> & React.RefAttributes<HTMLDivElement>>;
|
|
15
|
-
interface CommandProps extends Omit<React.ComponentPropsWithoutRef<
|
|
15
|
+
interface CommandProps extends Omit<React.ComponentPropsWithoutRef<"button">, "children" | "onClick"> {
|
|
16
16
|
action: () => void | Promise<void>;
|
|
17
17
|
label: string;
|
|
18
18
|
shortcut: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DialogProps } from '@radix-ui/react-dialog';
|
|
2
|
-
import * as React from
|
|
2
|
+
import * as React from "react";
|
|
3
3
|
declare const Command: React.ForwardRefExoticComponent<Omit<{
|
|
4
4
|
children?: React.ReactNode;
|
|
5
5
|
} & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as PopoverPrimitives from
|
|
2
|
-
import * as React from
|
|
1
|
+
import * as PopoverPrimitives from "@radix-ui/react-popover";
|
|
2
|
+
import * as React from "react";
|
|
3
3
|
declare const Popover: {
|
|
4
4
|
(props: React.ComponentPropsWithoutRef<typeof PopoverPrimitives.Root>): import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
displayName: string;
|
|
@@ -26,6 +26,7 @@ export declare const enTranslations: {
|
|
|
26
26
|
termsAndConditions: string;
|
|
27
27
|
orderNow: string;
|
|
28
28
|
makeReservation: string;
|
|
29
|
+
poweredBy: string;
|
|
29
30
|
};
|
|
30
31
|
product: {
|
|
31
32
|
addToCart: string;
|
|
@@ -50,6 +51,52 @@ export declare const enTranslations: {
|
|
|
50
51
|
placeOrder: string;
|
|
51
52
|
subtotal: string;
|
|
52
53
|
total: string;
|
|
54
|
+
shippingDetailsTitle: string;
|
|
55
|
+
shippingDetailsDescription: string;
|
|
56
|
+
shippingMethodTitle: string;
|
|
57
|
+
shippingMethodDescription: string;
|
|
58
|
+
paymentMethodDescription: string;
|
|
59
|
+
shippingFee: string;
|
|
60
|
+
eta: string;
|
|
61
|
+
notAvailable: string;
|
|
62
|
+
addressTooFar: string;
|
|
63
|
+
agreementPrefix: string;
|
|
64
|
+
and: string;
|
|
65
|
+
payAndConfirm: string;
|
|
66
|
+
saveAndContinue: string;
|
|
67
|
+
saving: string;
|
|
68
|
+
failedToLoadShippingAddressTitle: string;
|
|
69
|
+
failedToLoadShippingAddressDescription: string;
|
|
70
|
+
unableToLoadCheckoutOptionsTitle: string;
|
|
71
|
+
organizationNotFound: string;
|
|
72
|
+
notAcceptingOrders: string;
|
|
73
|
+
currentlyClosed: string;
|
|
74
|
+
contactDirectly: string;
|
|
75
|
+
backToHomepage: string;
|
|
76
|
+
firstName: string;
|
|
77
|
+
lastName: string;
|
|
78
|
+
phone: string;
|
|
79
|
+
streetAddress: string;
|
|
80
|
+
doorNumber: string;
|
|
81
|
+
postalCode: string;
|
|
82
|
+
city: string;
|
|
83
|
+
country: string;
|
|
84
|
+
notesInstructions: string;
|
|
85
|
+
firstNamePlaceholder: string;
|
|
86
|
+
lastNamePlaceholder: string;
|
|
87
|
+
phonePlaceholder: string;
|
|
88
|
+
doorNumberPlaceholder: string;
|
|
89
|
+
postalCodePlaceholder: string;
|
|
90
|
+
cityPlaceholder: string;
|
|
91
|
+
notesInstructionsPlaceholder: string;
|
|
92
|
+
};
|
|
93
|
+
cart: {
|
|
94
|
+
empty: string;
|
|
95
|
+
summaryEmpty: string;
|
|
96
|
+
viewProducts: string;
|
|
97
|
+
noImage: string;
|
|
98
|
+
shipping: string;
|
|
99
|
+
discount: string;
|
|
53
100
|
};
|
|
54
101
|
ourStory: {
|
|
55
102
|
title: string;
|
|
@@ -26,6 +26,7 @@ export declare const plTranslations: {
|
|
|
26
26
|
termsAndConditions: string;
|
|
27
27
|
orderNow: string;
|
|
28
28
|
makeReservation: string;
|
|
29
|
+
poweredBy: string;
|
|
29
30
|
};
|
|
30
31
|
product: {
|
|
31
32
|
addToCart: string;
|
|
@@ -50,6 +51,52 @@ export declare const plTranslations: {
|
|
|
50
51
|
placeOrder: string;
|
|
51
52
|
subtotal: string;
|
|
52
53
|
total: string;
|
|
54
|
+
shippingDetailsTitle: string;
|
|
55
|
+
shippingDetailsDescription: string;
|
|
56
|
+
shippingMethodTitle: string;
|
|
57
|
+
shippingMethodDescription: string;
|
|
58
|
+
paymentMethodDescription: string;
|
|
59
|
+
shippingFee: string;
|
|
60
|
+
eta: string;
|
|
61
|
+
notAvailable: string;
|
|
62
|
+
addressTooFar: string;
|
|
63
|
+
agreementPrefix: string;
|
|
64
|
+
and: string;
|
|
65
|
+
payAndConfirm: string;
|
|
66
|
+
saveAndContinue: string;
|
|
67
|
+
saving: string;
|
|
68
|
+
failedToLoadShippingAddressTitle: string;
|
|
69
|
+
failedToLoadShippingAddressDescription: string;
|
|
70
|
+
unableToLoadCheckoutOptionsTitle: string;
|
|
71
|
+
organizationNotFound: string;
|
|
72
|
+
notAcceptingOrders: string;
|
|
73
|
+
currentlyClosed: string;
|
|
74
|
+
contactDirectly: string;
|
|
75
|
+
backToHomepage: string;
|
|
76
|
+
firstName: string;
|
|
77
|
+
lastName: string;
|
|
78
|
+
phone: string;
|
|
79
|
+
streetAddress: string;
|
|
80
|
+
doorNumber: string;
|
|
81
|
+
postalCode: string;
|
|
82
|
+
city: string;
|
|
83
|
+
country: string;
|
|
84
|
+
notesInstructions: string;
|
|
85
|
+
firstNamePlaceholder: string;
|
|
86
|
+
lastNamePlaceholder: string;
|
|
87
|
+
phonePlaceholder: string;
|
|
88
|
+
doorNumberPlaceholder: string;
|
|
89
|
+
postalCodePlaceholder: string;
|
|
90
|
+
cityPlaceholder: string;
|
|
91
|
+
notesInstructionsPlaceholder: string;
|
|
92
|
+
};
|
|
93
|
+
cart: {
|
|
94
|
+
empty: string;
|
|
95
|
+
summaryEmpty: string;
|
|
96
|
+
viewProducts: string;
|
|
97
|
+
noImage: string;
|
|
98
|
+
shipping: string;
|
|
99
|
+
discount: string;
|
|
53
100
|
};
|
|
54
101
|
ourStory: {
|
|
55
102
|
title: string;
|
package/storefront.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
|
|
2
|
+
'use strict';const _0x76d3be=_0x52c2,_0x4b8882=_0x52c2;function _0x4948(){const _0x47b617=['u2HPChbPBMC','AwfUDhm','uMfKAw9dyxi','q29TBwfUzfm','DxnLuhjVzhu','qMfKz2u','zeL0zw0','DgvT','zMLLCNm','u3DPDgnO','qNv0Dg9U','sw1Hz2vvCgW','q29TBwfUzeu','vgv4DeLUChu','zeDYB3vWsw4','rgLHBg9Nq2W','yMfKz2vwyxi','zunHCNruB3q','Dg9tDhjPBMC','yxjtzxbLCMe','DxnLtxvSDgK','ndu0otq5nen2we9Nzq','AwrLCG','rgLHBg9Nrgu','ugfNzxm','yxjwywX1zq','C2nYAxb0Aw8','Ag9YDgn1Da','B250zw50','zeDYB3vW','DxnLt3jNyw4','sw5WDxq','zgLJyxrVCG','tw9KDwXL','Dg9Y','q2fYDerYyxC','z2v0rMLLBgq','zgvMAw5Luhi','yxjcyxi','sxrLBq','DxnLqvbj','B250zxH0','u2vSzwn0sw4','sw5WDxrhCM8','ugHVBMvoDw0','DxnLtg9JywW','DxnLq2fYDem','q29TBwfUza','q2fYDfbYB3y','Dwn0CW','BNb1Da','tg9JyxrPB24','ug9WB3zLCKe','q29TBwfUzei','yNv0Dg9UvMe','BMnOB3i','rw1HAwXjBNa','zM9YBwf0uhi','zgvY','C09WDgLVBG','q29TBwfUzeC','Bxb0Eq','CM91Ca','ug9WB3zLCLq','mty1mdKZndbSz211q0S','u2HVCgHVC3q','q29TBwfUzeq','zxbHCMf0B3i','AwDNzxi','q29UDhjVBa','AwvYu2vSzwm','ywrLCG','B21LugfNzq','rgLHBg9NvgK','zMLUzenHCNq','C0DYB3vW','B3bLCNr5','nfjXuenXzq','rgv0ywLSC1a','AwnL','CMLNz2vY','B3rLCG','qvbjuhjVDMK','mJCXmJqWnwLtqLHjyG','q2fYDfbHBMu','DxnLq2fYDa','q29UDgfPBMu','zxjjDgvT','DgXL','C01VzgfS','ug9WB3zLCG','ndGZndu1rLrszMDj','CgXLuhjVzhu','tgfIzwW','z2v0rM9YBwe','rgLHBg9N','ywDL','AxPHDgLVBG','nZC1otG2zgnqDKDe','AwfSB2C','rxjYB3i','DgLVBG','q291BNrYEuK','qw5Kugf5Bwu','BNrqywDL','y2fSy3vSyxq','nKXdy3Pprq','q29TBwfUzeW','u2XPzgvYt3y','B3nL','q2HLy2TVDxq','AwvYCW','y3rezxrHAwW','Axn0','mZa0ruLws2Ht','C0rPywXVzW','ntaXnZqXowD4AeHVEq','rgL2AwrLCG','DxnLtw9KAwy','lI9Hzg1PBI0','tw9KAwzPzxi','qwnJB3vUDfa','DhrLze1VzgK','yMvYsw5WDxq','Bg9Zzq','CMLHBNrZ','uxvHBNrPDhK','rgLHBg9Nq28','B2fKsw5WDxq','ug9WB3zLCKm','uhjVDMLKzxi','Chv0','q2fYDeL0zw0','q29TBwfUzeK','yxjdB21Tyw4','zxf1AxjLC00','rgLHBg9Nvhi','rgLHBg9NrM8','qwnJB3vUDeG','Bw9JA1bYB2q','BNrLBNq','mJq2odK3uhPnv3DX','rgLHBg9Nsgu','B2rPzMLLCNm'];_0x4948=function(){return _0x47b617;};return _0x4948();}function _0x52c2(_0xb5d93a,_0x56ff9a){_0xb5d93a=_0xb5d93a-0x11c;const _0x494880=_0x4948();let _0x52c244=_0x494880[_0xb5d93a];if(_0x52c2['qgLzuh']===undefined){var _0x28ff6c=function(_0x1f0160){const _0x5b3f35='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5914f5='',_0x236fb3='';for(let _0x25db08=0x0,_0x561ef7,_0x3d6fc0,_0xdb8b01=0x0;_0x3d6fc0=_0x1f0160['charAt'](_0xdb8b01++);~_0x3d6fc0&&(_0x561ef7=_0x25db08%0x4?_0x561ef7*0x40+_0x3d6fc0:_0x3d6fc0,_0x25db08++%0x4)?_0x5914f5+=String['fromCharCode'](0xff&_0x561ef7>>(-0x2*_0x25db08&0x6)):0x0){_0x3d6fc0=_0x5b3f35['indexOf'](_0x3d6fc0);}for(let _0x218f5e=0x0,_0xf4af56=_0x5914f5['length'];_0x218f5e<_0xf4af56;_0x218f5e++){_0x236fb3+='%'+('00'+_0x5914f5['charCodeAt'](_0x218f5e)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x236fb3);};_0x52c2['oBQHeq']=_0x28ff6c,_0x52c2['QAJHvY']={},_0x52c2['qgLzuh']=!![];}const _0x417cbd=_0x494880[0x0],_0xeeba2f=_0xb5d93a+_0x417cbd,_0x11ebe3=_0x52c2['QAJHvY'][_0xeeba2f];return!_0x11ebe3?(_0x52c244=_0x52c2['oBQHeq'](_0x52c244),_0x52c2['QAJHvY'][_0xeeba2f]=_0x52c244):_0x52c244=_0x11ebe3,_0x52c244;}(function(_0x3c249f,_0x115289){const _0x180bce=_0x52c2,_0x3d9e58=_0x52c2,_0x5b4046=_0x3c249f();while(!![]){try{const _0x480e8a=-parseInt(_0x180bce(0x197))/0x1+-parseInt(_0x180bce(0x19e))/0x2+parseInt(_0x180bce(0x151))/0x3*(parseInt(_0x180bce(0x189))/0x4)+parseInt(_0x180bce(0x18f))/0x5*(parseInt(_0x180bce(0x1a6))/0x6)+-parseInt(_0x3d9e58(0x139))/0x7*(parseInt(_0x180bce(0x11e))/0x8)+-parseInt(_0x180bce(0x120))/0x9+parseInt(_0x180bce(0x17c))/0xa;if(_0x480e8a===_0x115289)break;else _0x5b4046['push'](_0x5b4046['shift']());}catch(_0x3e8ce0){_0x5b4046['push'](_0x5b4046['shift']());}}}(_0x4948,0xe5a84));Object[_0x76d3be(0x161)+_0x76d3be(0x188)](exports,Symbol[_0x76d3be(0x14e)+'Tag'],{'value':_0x76d3be(0x15d)});const o=require(_0x76d3be(0x123)+'client.c'+'js');exports[_0x4b8882(0x18e)+'der']=o['APIProvi'+_0x4b8882(0x176)],exports[_0x76d3be(0x136)+_0x76d3be(0x184)]=o[_0x4b8882(0x136)+'omePage'],exports[_0x76d3be(0x125)+'ages']=o[_0x76d3be(0x125)+'ages'],exports[_0x76d3be(0x141)]=o['Badge'],exports[_0x4b8882(0x146)]=o[_0x76d3be(0x146)],exports[_0x76d3be(0x15f)+'er']=o[_0x4b8882(0x15f)+'er'],exports[_0x4b8882(0x15f)+_0x4b8882(0x193)]=o[_0x4b8882(0x15f)+_0x76d3be(0x193)],exports[_0x76d3be(0x130)+'s']=o[_0x4b8882(0x130)+'s'],exports[_0x76d3be(0x190)+'l']=o['CartPane'+'l'],exports[_0x76d3be(0x16c)+_0x76d3be(0x152)]=o[_0x4b8882(0x16c)+_0x76d3be(0x152)],exports['Checkout'+_0x4b8882(0x154)]=o[_0x76d3be(0x1aa)+_0x4b8882(0x154)],exports[_0x4b8882(0x16b)]=o[_0x4b8882(0x16b)],exports['CommandB'+'ar']=o[_0x76d3be(0x171)+'ar'],exports['CommandB'+'arBar']=o[_0x76d3be(0x171)+_0x4b8882(0x162)],exports[_0x76d3be(0x171)+_0x4b8882(0x132)+'d']=o[_0x4b8882(0x171)+'arComman'+'d'],exports[_0x4b8882(0x171)+'arSepera'+_0x4b8882(0x15e)]=o[_0x76d3be(0x171)+_0x4b8882(0x14f)+_0x4b8882(0x15e)],exports['CommandB'+_0x76d3be(0x155)]=o['CommandB'+'arValue'],exports[_0x4b8882(0x17e)+_0x76d3be(0x19f)]=o[_0x76d3be(0x17e)+_0x4b8882(0x19f)],exports[_0x4b8882(0x148)+_0x4b8882(0x179)]=o[_0x76d3be(0x148)+'mpty'],exports[_0x4b8882(0x178)+_0x76d3be(0x17a)]=o[_0x4b8882(0x178)+_0x4b8882(0x17a)],exports[_0x4b8882(0x131)+_0x4b8882(0x16e)]=o[_0x76d3be(0x131)+'nput'],exports[_0x76d3be(0x131)+_0x4b8882(0x143)]=o[_0x4b8882(0x131)+'tem'],exports['CommandL'+'ist']=o[_0x76d3be(0x1a7)+_0x76d3be(0x11d)],exports[_0x76d3be(0x13f)+_0x76d3be(0x17f)]=o[_0x4b8882(0x13f)+'eparator'],exports[_0x76d3be(0x13f)+_0x76d3be(0x157)]=o[_0x76d3be(0x13f)+_0x76d3be(0x157)],exports['CountryI'+_0x76d3be(0x16e)]=o[_0x76d3be(0x1a2)+'nput'],exports['Customer'+_0x4b8882(0x18a)+'age']=o['Customer'+_0x4b8882(0x18a)+_0x4b8882(0x19c)],exports[_0x76d3be(0x19b)]=o[_0x4b8882(0x19b)],exports[_0x4b8882(0x14b)+'ose']=o[_0x4b8882(0x14b)+_0x76d3be(0x1a9)],exports[_0x76d3be(0x12b)+_0x4b8882(0x138)]=o[_0x4b8882(0x12b)+_0x4b8882(0x138)],exports[_0x4b8882(0x153)+_0x4b8882(0x156)+'n']=o[_0x76d3be(0x153)+_0x4b8882(0x156)+'n'],exports['DialogFo'+_0x76d3be(0x18d)]=o[_0x4b8882(0x135)+_0x76d3be(0x18d)],exports[_0x4b8882(0x13a)+_0x4b8882(0x183)]=o[_0x4b8882(0x13a)+'ader'],exports[_0x76d3be(0x185)+_0x76d3be(0x194)]=o[_0x4b8882(0x185)+_0x4b8882(0x194)],exports[_0x76d3be(0x134)+_0x76d3be(0x180)]=o[_0x4b8882(0x134)+_0x4b8882(0x180)],exports['Divider']=o[_0x4b8882(0x121)],exports[_0x4b8882(0x174)+'ut']=o[_0x76d3be(0x174)+'ut'],exports['ImageUpl'+_0x76d3be(0x12c)]=o[_0x76d3be(0x147)+_0x76d3be(0x12c)],exports['Input']=o[_0x76d3be(0x15b)],exports[_0x76d3be(0x167)+'up']=o[_0x76d3be(0x167)+'up'],exports['Label']=o[_0x76d3be(0x199)],exports['Location'+'Input']=o[_0x4b8882(0x16f)+'Input'],exports[_0x4b8882(0x124)+'Containe'+'r']=o[_0x4b8882(0x124)+_0x4b8882(0x192)+'r'],exports[_0x76d3be(0x124)+_0x4b8882(0x11f)]=o[_0x76d3be(0x124)+_0x76d3be(0x11f)],exports['Modifier'+_0x4b8882(0x187)]=o['Modifier'+_0x76d3be(0x187)],exports[_0x76d3be(0x124)+_0x76d3be(0x195)]=o[_0x4b8882(0x124)+_0x4b8882(0x195)],exports[_0x76d3be(0x124)+_0x4b8882(0x177)]=o[_0x76d3be(0x124)+_0x76d3be(0x177)],exports['PhoneNum'+_0x4b8882(0x127)]=o[_0x4b8882(0x168)+_0x4b8882(0x127)],exports['Popover']=o[_0x4b8882(0x196)],exports['PopoverA'+'nchor']=o[_0x76d3be(0x170)+_0x4b8882(0x173)],exports[_0x76d3be(0x12d)+_0x4b8882(0x128)]=o[_0x76d3be(0x12d)+_0x4b8882(0x128)],exports[_0x76d3be(0x12d)+_0x4b8882(0x158)]=o[_0x76d3be(0x12d)+_0x76d3be(0x158)],exports[_0x76d3be(0x17b)+_0x76d3be(0x18c)]=o[_0x76d3be(0x17b)+_0x76d3be(0x18c)],exports[_0x76d3be(0x12a)+_0x76d3be(0x181)]=o['Quantity'+'Control'],exports[_0x4b8882(0x13e)+_0x76d3be(0x159)]=o[_0x4b8882(0x13e)+'dGroup'],exports['RadioCar'+'dGroupIn'+_0x76d3be(0x15c)]=o['RadioCar'+_0x4b8882(0x14a)+_0x76d3be(0x15c)],exports[_0x4b8882(0x13e)+_0x76d3be(0x142)]=o[_0x76d3be(0x13e)+_0x76d3be(0x142)],exports[_0x76d3be(0x166)+'put']=o[_0x76d3be(0x166)+_0x4b8882(0x12f)],exports[_0x76d3be(0x13c)+_0x76d3be(0x1a3)+'ntPage']=o[_0x4b8882(0x13c)+_0x76d3be(0x1a3)+_0x4b8882(0x1a4)],exports[_0x4b8882(0x17d)+_0x76d3be(0x12e)]=o[_0x4b8882(0x17d)+_0x4b8882(0x12e)],exports[_0x4b8882(0x1a8)+'er']=o[_0x4b8882(0x1a8)+'er'],exports['Switch']=o[_0x76d3be(0x145)],exports[_0x76d3be(0x149)+'t']=o[_0x76d3be(0x149)+'t'],exports['TimeInpu'+'t']=o['TimeInpu'+'t'],exports[_0x76d3be(0x14c)+_0x4b8882(0x13d)]=o[_0x4b8882(0x14c)+_0x4b8882(0x13d)],exports[_0x76d3be(0x172)+_0x76d3be(0x129)]=o[_0x76d3be(0x172)+_0x4b8882(0x129)],exports['calculat'+_0x76d3be(0x14d)+'al']=o[_0x76d3be(0x1a5)+_0x76d3be(0x14d)+'al'],exports[_0x4b8882(0x186)+'Item']=o[_0x4b8882(0x186)+_0x4b8882(0x163)],exports[_0x4b8882(0x175)+_0x4b8882(0x18b)]=o[_0x76d3be(0x175)+_0x4b8882(0x18b)],exports[_0x4b8882(0x160)+_0x4b8882(0x1a0)]=o[_0x76d3be(0x160)+_0x76d3be(0x1a0)],exports[_0x4b8882(0x19a)+_0x4b8882(0x126)+_0x76d3be(0x144)]=o[_0x4b8882(0x19a)+'ttedModi'+'fiers'],exports['mockProd'+_0x76d3be(0x16d)]=o[_0x4b8882(0x137)+_0x4b8882(0x16d)],exports['productR'+'equiresM'+_0x76d3be(0x13b)]=o['productR'+_0x76d3be(0x133)+_0x4b8882(0x13b)],exports['useAPI']=o[_0x4b8882(0x164)],exports[_0x4b8882(0x191)]=o[_0x76d3be(0x191)],exports[_0x4b8882(0x16a)+_0x4b8882(0x165)]=o[_0x76d3be(0x16a)+_0x4b8882(0x165)],exports[_0x76d3be(0x169)+_0x4b8882(0x19d)]=o[_0x4b8882(0x169)+_0x4b8882(0x19d)],exports[_0x76d3be(0x122)+_0x4b8882(0x182)+_0x4b8882(0x1a1)]=o[_0x76d3be(0x122)+_0x76d3be(0x182)+_0x4b8882(0x1a1)],exports[_0x76d3be(0x122)+_0x4b8882(0x1ab)]=o[_0x76d3be(0x122)+'iers'],exports[_0x4b8882(0x150)+_0x76d3be(0x198)+_0x76d3be(0x11c)+'s']=o[_0x76d3be(0x150)+_0x4b8882(0x198)+_0x4b8882(0x11c)+'s'],exports[_0x76d3be(0x15a)+_0x4b8882(0x19d)]=o[_0x4b8882(0x15a)+_0x4b8882(0x19d)],exports[_0x76d3be(0x140)+_0x76d3be(0x11c)+'s']=o[_0x4b8882(0x140)+'ctDetail'+'s'];
|
package/storefront.mjs
CHANGED
|
@@ -1,86 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
|
|
3
|
-
export {
|
|
4
|
-
o as APIProvider,
|
|
5
|
-
e as AccountHomePage,
|
|
6
|
-
r as AccountPages,
|
|
7
|
-
t as Badge,
|
|
8
|
-
i as Button,
|
|
9
|
-
n as CartDrawer,
|
|
10
|
-
d as CartDrawerItem,
|
|
11
|
-
m as CartItems,
|
|
12
|
-
u as CartPanel,
|
|
13
|
-
C as CartProvider,
|
|
14
|
-
l as CheckoutPages,
|
|
15
|
-
p as Command,
|
|
16
|
-
g as CommandBar,
|
|
17
|
-
c as CommandBarBar,
|
|
18
|
-
P as CommandBarCommand,
|
|
19
|
-
I as CommandBarSeperator,
|
|
20
|
-
D as CommandBarValue,
|
|
21
|
-
f as CommandDialog,
|
|
22
|
-
v as CommandEmpty,
|
|
23
|
-
M as CommandGroup,
|
|
24
|
-
h as CommandInput,
|
|
25
|
-
S as CommandItem,
|
|
26
|
-
B as CommandList,
|
|
27
|
-
T as CommandSeparator,
|
|
28
|
-
A as CommandShortcut,
|
|
29
|
-
G as CountryInput,
|
|
30
|
-
b as CustomerDetailsPage,
|
|
31
|
-
w as Dialog,
|
|
32
|
-
x as DialogClose,
|
|
33
|
-
y as DialogContent,
|
|
34
|
-
L as DialogDescription,
|
|
35
|
-
R as DialogFooter,
|
|
36
|
-
k as DialogHeader,
|
|
37
|
-
F as DialogTitle,
|
|
38
|
-
O as DialogTrigger,
|
|
39
|
-
V as Divider,
|
|
40
|
-
q as EmailInput,
|
|
41
|
-
z as ImageUploadInput,
|
|
42
|
-
E as Input,
|
|
43
|
-
H as InputGroup,
|
|
44
|
-
j as Label,
|
|
45
|
-
N as LocationInput,
|
|
46
|
-
Q as ModifierContainer,
|
|
47
|
-
U as ModifiersDialog,
|
|
48
|
-
J as ModifiersGroup,
|
|
49
|
-
K as ModifiersModal,
|
|
50
|
-
W as ModifiersOption,
|
|
51
|
-
X as PhoneNumberInput,
|
|
52
|
-
Y as Popover,
|
|
53
|
-
Z as PopoverAnchor,
|
|
54
|
-
_ as PopoverClose,
|
|
55
|
-
$ as PopoverContent,
|
|
56
|
-
aa as PopoverTrigger,
|
|
57
|
-
sa as QuantityControl,
|
|
58
|
-
oa as RadioCardGroup,
|
|
59
|
-
ea as RadioCardGroupIndicator,
|
|
60
|
-
ra as RadioCardItem,
|
|
61
|
-
ta as SelectInput,
|
|
62
|
-
ia as ShippingAndPaymentPage,
|
|
63
|
-
na as ShophostProvider,
|
|
64
|
-
da as SliderOver,
|
|
65
|
-
ma as Switch,
|
|
66
|
-
ua as TextInput,
|
|
67
|
-
Ca as TimeInput,
|
|
68
|
-
la as badgeVariants,
|
|
69
|
-
pa as buttonVariants,
|
|
70
|
-
ga as calculateCartTotal,
|
|
71
|
-
ca as findCartItem,
|
|
72
|
-
Pa as formatPrice,
|
|
73
|
-
Ia as getFieldError,
|
|
74
|
-
Da as getFormattedModifiers,
|
|
75
|
-
fa as mockProducts,
|
|
76
|
-
va as productRequiresModifiers,
|
|
77
|
-
Ma as useAPI,
|
|
78
|
-
ha as useCart,
|
|
79
|
-
Sa as useCartContext,
|
|
80
|
-
Ba as useLocalization,
|
|
81
|
-
Ta as useModifierSelection,
|
|
82
|
-
Aa as useModifiers,
|
|
83
|
-
Ga as useMultipleProductDetails,
|
|
84
|
-
ba as useOrganization,
|
|
85
|
-
wa as useProductDetails
|
|
86
|
-
};
|
|
2
|
+
(function(_0x3d69a2,_0x2f8420){var _0x3bb0fb=_0x2dbd,_0xdb7e9b=_0x2dbd,_0x2efd2c=_0x3d69a2();while(!![]){try{var _0x49dd89=-parseInt(_0x3bb0fb(0x1b5))/0x1+-parseInt(_0xdb7e9b(0x1ba))/0x2+parseInt(_0x3bb0fb(0x1b7))/0x3*(parseInt(_0x3bb0fb(0x1b9))/0x4)+parseInt(_0x3bb0fb(0x1b8))/0x5+parseInt(_0xdb7e9b(0x1b3))/0x6+-parseInt(_0xdb7e9b(0x1b6))/0x7+parseInt(_0xdb7e9b(0x1b4))/0x8;if(_0x49dd89===_0x2f8420)break;else _0x2efd2c['push'](_0x2efd2c['shift']());}catch(_0x5db1bc){_0x2efd2c['push'](_0x2efd2c['shift']());}}}(_0x176b,0x49c3c));function _0x176b(){var _0x455a07=['mZGXndK1ogTRB2n2zG','mZCYmJqZtKr6uwLN','mtm3otm2mhPlEunkwq','oeDQCNnoqq','oteWmtG4Cvfttejs','mJCWodu4mffMvhvLwa','nJG3ntmZnMPXs3DRvG','ntmYnJuZCKvfC291'];_0x176b=function(){return _0x455a07;};return _0x176b();}function _0x2dbd(_0x18faac,_0x4d1b45){_0x18faac=_0x18faac-0x1b3;var _0x176be8=_0x176b();var _0x2dbd54=_0x176be8[_0x18faac];if(_0x2dbd['LwKnTp']===undefined){var _0x145371=function(_0x4d13ed){var _0x1a9eeb='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x345e80='',_0x4b26f6='';for(var _0x35453c=0x0,_0x4538cc,_0x439894,_0x2951df=0x0;_0x439894=_0x4d13ed['charAt'](_0x2951df++);~_0x439894&&(_0x4538cc=_0x35453c%0x4?_0x4538cc*0x40+_0x439894:_0x439894,_0x35453c++%0x4)?_0x345e80+=String['fromCharCode'](0xff&_0x4538cc>>(-0x2*_0x35453c&0x6)):0x0){_0x439894=_0x1a9eeb['indexOf'](_0x439894);}for(var _0x138827=0x0,_0x5782dc=_0x345e80['length'];_0x138827<_0x5782dc;_0x138827++){_0x4b26f6+='%'+('00'+_0x345e80['charCodeAt'](_0x138827)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4b26f6);};_0x2dbd['wttqKo']=_0x145371,_0x2dbd['ehobRq']={},_0x2dbd['LwKnTp']=!![];}var _0x4cea74=_0x176be8[0x0],_0x52561a=_0x18faac+_0x4cea74,_0x24f39e=_0x2dbd['ehobRq'][_0x52561a];return!_0x24f39e?(_0x2dbd54=_0x2dbd['wttqKo'](_0x2dbd54),_0x2dbd['ehobRq'][_0x52561a]=_0x2dbd54):_0x2dbd54=_0x24f39e,_0x2dbd54;}import{H as _0x345e80,l as _0x4b26f6,m as _0x35453c,av as _0x4538cc,K as _0x439894,i as _0x2951df,j as _0x138827,f as _0x5782dc,h as _0x130643,C,n as _0x4c9071,a0 as _0x116416,an as _0x5924a8,ao as _0x18cfbd,ap as _0x14acb4,aq as _0x1b0b93,ar as _0x3db3e5,a1 as _0x7320e4,a4 as _0x2ad757,a5 as _0x3f1a5f,a2 as _0x1a50f1,a6 as _0x59cb70,a3 as _0x2b9792,a8 as _0x57601c,a7 as _0x5e5f6f,T as _0x14d4da,k as _0x163545,a9 as _0x1faa8b,aa as _0x5aacb7,ab as _0x1b6d40,ac as _0x346263,ad as _0x2a595e,ae as _0x2d4611,af as _0x577053,ag as _0x4d9629,ax as _0xfd7f35,R as _0x11a3d1,X as _0x1e1e3e,N as _0x5a6c75,$ as _0x2eb20d,Z as _0x37a2e8,O as _0x302ea1,o as _0x5eb717,M as _0x315fdf,p as _0x56f99c,r as _0x11fa04,q as _0xe5f824,P as _0x50878c,ah as _0x2f0871,ai as _0x373125,aj as _0x3eed5e,ak as _0x2083bd,al as _0x15976c,Q as _0x510348,as as _0x334826,at as _0x2015b5,au as _0x20dc59,U as _0x441a6b,S as _0x4d364d,G as _0x3b501,am as _0x38b85d,V as _0xbe5598,W as _0x47cc47,Y as _0x5cf8bc,aw as _0x273f07,L as _0x11057b,x as _0x463152,B as _0x13b29b,y as _0x54b468,_ as _0x2f72f7,z as _0x56db61,F as _0x36db88,D as _0x3a1f83,I as _0x11d0de,d as _0x438bf5,u as _0x38b73d,w as _0x2ebe48,v as _0x14413d,e as _0x416ed1,t as _0x2b49f7,J as _0x378fe9,s as _0x12127f}from'./admin-client.js';export{_0x345e80 as APIProvider,_0x4b26f6 as AccountHomePage,_0x35453c as AccountPages,_0x4538cc as Badge,_0x439894 as Button,_0x2951df as CartDrawer,_0x138827 as CartDrawerItem,_0x5782dc as CartItems,_0x130643 as CartPanel,C as CartProvider,_0x4c9071 as CheckoutPages,_0x116416 as Command,_0x5924a8 as CommandBar,_0x18cfbd as CommandBarBar,_0x14acb4 as CommandBarCommand,_0x1b0b93 as CommandBarSeperator,_0x3db3e5 as CommandBarValue,_0x7320e4 as CommandDialog,_0x2ad757 as CommandEmpty,_0x3f1a5f as CommandGroup,_0x1a50f1 as CommandInput,_0x59cb70 as CommandItem,_0x2b9792 as CommandList,_0x57601c as CommandSeparator,_0x5e5f6f as CommandShortcut,_0x14d4da as CountryInput,_0x163545 as CustomerDetailsPage,_0x1faa8b as Dialog,_0x5aacb7 as DialogClose,_0x1b6d40 as DialogContent,_0x346263 as DialogDescription,_0x2a595e as DialogFooter,_0x2d4611 as DialogHeader,_0x577053 as DialogTitle,_0x4d9629 as DialogTrigger,_0xfd7f35 as Divider,_0x11a3d1 as EmailInput,_0x1e1e3e as ImageUploadInput,_0x5a6c75 as Input,_0x2eb20d as InputGroup,_0x37a2e8 as Label,_0x302ea1 as LocationInput,_0x5eb717 as ModifierContainer,_0x315fdf as ModifiersDialog,_0x56f99c as ModifiersGroup,_0x11fa04 as ModifiersModal,_0xe5f824 as ModifiersOption,_0x50878c as PhoneNumberInput,_0x2f0871 as Popover,_0x373125 as PopoverAnchor,_0x3eed5e as PopoverClose,_0x2083bd as PopoverContent,_0x15976c as PopoverTrigger,_0x510348 as QuantityControl,_0x334826 as RadioCardGroup,_0x2015b5 as RadioCardGroupIndicator,_0x20dc59 as RadioCardItem,_0x441a6b as SelectInput,_0x4d364d as ShippingAndPaymentPage,_0x3b501 as ShophostProvider,_0x38b85d as SliderOver,_0xbe5598 as Switch,_0x47cc47 as TextInput,_0x5cf8bc as TimeInput,_0x273f07 as badgeVariants,_0x11057b as buttonVariants,_0x463152 as calculateCartTotal,_0x13b29b as findCartItem,_0x54b468 as formatPrice,_0x2f72f7 as getFieldError,_0x56db61 as getFormattedModifiers,_0x36db88 as mockProducts,_0x3a1f83 as productRequiresModifiers,_0x11d0de as useAPI,_0x438bf5 as useCart,_0x38b73d as useCartContext,_0x2ebe48 as useLocalization,_0x14413d as useModifierSelection,_0x416ed1 as useModifiers,_0x2b49f7 as useMultipleProductDetails,_0x378fe9 as useOrganization,_0x12127f as useProductDetails};
|
package/ui/badge.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ declare const badgeVariants: import('tailwind-variants').TVReturnType<{
|
|
|
25
25
|
warning: string[];
|
|
26
26
|
};
|
|
27
27
|
}, undefined, string, unknown, unknown, undefined>>;
|
|
28
|
-
interface BadgeProps extends React.ComponentPropsWithoutRef<
|
|
28
|
+
interface BadgeProps extends React.ComponentPropsWithoutRef<"span">, VariantProps<typeof badgeVariants> {
|
|
29
29
|
}
|
|
30
30
|
declare const Badge: React.ForwardRefExoticComponent<BadgeProps & React.RefAttributes<HTMLSpanElement>>;
|
|
31
31
|
export { Badge, badgeVariants, type BadgeProps };
|
package/ui/calendar.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { DateRange, DayPickerDefaultProps, DayPickerMultipleProps, DayPickerProps, DayPickerRangeProps, DayPickerSingleProps, Matcher } from 'react-day-picker';
|
|
2
2
|
type CalendarBaseProps = {
|
|
3
3
|
className?: string;
|
|
4
|
-
classNames?: DayPickerProps[
|
|
5
|
-
components?: DayPickerProps[
|
|
4
|
+
classNames?: DayPickerProps["classNames"];
|
|
5
|
+
components?: DayPickerProps["components"];
|
|
6
6
|
disableNavigation?: boolean;
|
|
7
7
|
enableYearNavigation?: boolean;
|
|
8
8
|
fromMonth?: Date;
|
|
@@ -12,11 +12,11 @@ type CalendarBaseProps = {
|
|
|
12
12
|
toYear?: number;
|
|
13
13
|
weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
14
14
|
} & Record<string, unknown>;
|
|
15
|
-
type CalendarDefaultProps = Omit<DayPickerDefaultProps, keyof CalendarBaseProps |
|
|
16
|
-
mode?:
|
|
15
|
+
type CalendarDefaultProps = Omit<DayPickerDefaultProps, keyof CalendarBaseProps | "mode"> & CalendarBaseProps & {
|
|
16
|
+
mode?: "default";
|
|
17
17
|
};
|
|
18
|
-
type CalendarSingleProps = Omit<DayPickerSingleProps,
|
|
19
|
-
mode?:
|
|
18
|
+
type CalendarSingleProps = Omit<DayPickerSingleProps, "mode"> & CalendarBaseProps & {
|
|
19
|
+
mode?: "single";
|
|
20
20
|
};
|
|
21
21
|
type CalendarMultipleProps = Omit<DayPickerMultipleProps, keyof CalendarBaseProps> & CalendarBaseProps;
|
|
22
22
|
type CalendarRangeProps = Omit<DayPickerRangeProps, keyof CalendarBaseProps> & CalendarBaseProps;
|
package/ui/checkbox.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import * as CheckboxPrimitives from
|
|
2
|
+
import * as CheckboxPrimitives from "@radix-ui/react-checkbox";
|
|
3
3
|
declare const Checkbox: React.ForwardRefExoticComponent<Omit<CheckboxPrimitives.CheckboxProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
4
4
|
export { Checkbox };
|
package/ui/command-bar.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as React from
|
|
1
|
+
import * as React from "react";
|
|
2
2
|
interface CommandBarProps extends React.PropsWithChildren {
|
|
3
3
|
open?: boolean;
|
|
4
4
|
onOpenChange?: (open: boolean) => void;
|
|
@@ -12,7 +12,7 @@ declare const CommandBar: {
|
|
|
12
12
|
declare const CommandBarValue: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
13
13
|
declare const CommandBarBar: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
14
14
|
declare const CommandBarSeperator: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "children"> & React.RefAttributes<HTMLDivElement>>;
|
|
15
|
-
interface CommandProps extends Omit<React.ComponentPropsWithoutRef<
|
|
15
|
+
interface CommandProps extends Omit<React.ComponentPropsWithoutRef<"button">, "children" | "onClick"> {
|
|
16
16
|
action: () => void | Promise<void>;
|
|
17
17
|
label: string;
|
|
18
18
|
shortcut: {
|
package/ui/command.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DialogProps } from '@radix-ui/react-dialog';
|
|
2
|
-
import * as React from
|
|
2
|
+
import * as React from "react";
|
|
3
3
|
declare const Command: React.ForwardRefExoticComponent<Omit<{
|
|
4
4
|
children?: React.ReactNode;
|
|
5
5
|
} & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
@@ -3,7 +3,7 @@ export type ConditionFilter = {
|
|
|
3
3
|
condition: string;
|
|
4
4
|
value: [number | string, number | string];
|
|
5
5
|
};
|
|
6
|
-
type FilterType =
|
|
6
|
+
type FilterType = "select" | "checkbox" | "number";
|
|
7
7
|
interface DataTableFilterProps<TData, TValue> {
|
|
8
8
|
column: Column<TData, TValue> | undefined;
|
|
9
9
|
title?: string;
|