@toteat-eng/ds-react 2026.7.10-1 → 2026.7.10
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.es.js +13 -14
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/dist/layouts/AppShell/AppShell.d.ts +1 -7
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -2152,8 +2152,8 @@ function si({ options: e, value: t, onChange: n, placeholder: r = "Seleccionar..
|
|
|
2152
2152
|
});
|
|
2153
2153
|
}
|
|
2154
2154
|
var ci = {
|
|
2155
|
-
backdrop: "
|
|
2156
|
-
sidebar: "
|
|
2155
|
+
backdrop: "_backdrop_1j7fj_3",
|
|
2156
|
+
sidebar: "_sidebar_1j7fj_16"
|
|
2157
2157
|
}, li = "ds-sidebar-drawer", ui = "a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])";
|
|
2158
2158
|
function di(e) {
|
|
2159
2159
|
return Array.from(e.querySelectorAll(ui));
|
|
@@ -3904,30 +3904,30 @@ function Wa({ title: e, actions: t, "data-testid": n }) {
|
|
|
3904
3904
|
});
|
|
3905
3905
|
}
|
|
3906
3906
|
var Ga = {
|
|
3907
|
-
shell: "
|
|
3908
|
-
body: "
|
|
3909
|
-
sidebarSlot: "
|
|
3910
|
-
contentArea: "
|
|
3911
|
-
main: "
|
|
3912
|
-
tabBarSlot: "
|
|
3907
|
+
shell: "_shell_1wom3_2",
|
|
3908
|
+
body: "_body_1wom3_10",
|
|
3909
|
+
sidebarSlot: "_sidebarSlot_1wom3_17",
|
|
3910
|
+
contentArea: "_contentArea_1wom3_28",
|
|
3911
|
+
main: "_main_1wom3_45",
|
|
3912
|
+
tabBarSlot: "_tabBarSlot_1wom3_51"
|
|
3913
3913
|
};
|
|
3914
3914
|
//#endregion
|
|
3915
3915
|
//#region src/layouts/AppShell/AppShell.tsx
|
|
3916
|
-
function Ka({ restaurantName: e, onMenuToggle: t, onLogoClick: n, onRightToggle: r, sidebar: i, children: a, tabBar: o, headerRight: s, isSidebarOpen: c = !1, sidebarMode: l = "overlay",
|
|
3917
|
-
return
|
|
3916
|
+
function Ka({ restaurantName: e, onMenuToggle: t, onLogoClick: n, onRightToggle: r, sidebar: i, children: a, tabBar: o, headerRight: s, isSidebarOpen: c = !1, sidebarMode: l = "overlay", isPinLocked: u = !1, pinLockContent: p, isLoading: m = !1, "data-testid": h }) {
|
|
3917
|
+
return u ? /* @__PURE__ */ d(ji, {
|
|
3918
3918
|
isLocked: !0,
|
|
3919
|
-
children:
|
|
3919
|
+
children: p
|
|
3920
3920
|
}) : /* @__PURE__ */ f("div", {
|
|
3921
3921
|
className: Ga.shell,
|
|
3922
3922
|
"data-sidebar-mode": l,
|
|
3923
|
-
"data-testid":
|
|
3923
|
+
"data-testid": h,
|
|
3924
3924
|
children: [/* @__PURE__ */ d(mi, {
|
|
3925
3925
|
restaurantName: e,
|
|
3926
3926
|
onMenuToggle: t,
|
|
3927
3927
|
onLogoClick: n,
|
|
3928
3928
|
onRightToggle: r,
|
|
3929
3929
|
isMenuOpen: c,
|
|
3930
|
-
isLoading:
|
|
3930
|
+
isLoading: m,
|
|
3931
3931
|
rightSlot: s
|
|
3932
3932
|
}), /* @__PURE__ */ f("div", {
|
|
3933
3933
|
className: Ga.body,
|
|
@@ -3938,7 +3938,6 @@ function Ka({ restaurantName: e, onMenuToggle: t, onLogoClick: n, onRightToggle:
|
|
|
3938
3938
|
className: Ga.contentArea,
|
|
3939
3939
|
children: [/* @__PURE__ */ d("main", {
|
|
3940
3940
|
className: Ga.main,
|
|
3941
|
-
style: u ? { "--ds-appshell-content-padding": u } : void 0,
|
|
3942
3941
|
children: a
|
|
3943
3942
|
}), o && /* @__PURE__ */ d("div", {
|
|
3944
3943
|
className: Ga.tabBarSlot,
|