siesa-ui-kit 1.0.6 → 1.0.7
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 +115 -89
- package/dist/ButtonTest.d.ts +6 -0
- package/dist/ButtonTest.d.ts.map +1 -0
- package/dist/components/Alert/Alert.d.ts +23 -0
- package/dist/components/Alert/Alert.d.ts.map +1 -0
- package/dist/components/Alert/Alert.types.d.ts +46 -0
- package/dist/components/Alert/Alert.types.d.ts.map +1 -0
- package/dist/components/Avatar/Avatar.d.ts +41 -0
- package/dist/components/Avatar/Avatar.d.ts.map +1 -0
- package/dist/components/Avatar/Avatar.types.d.ts +46 -0
- package/dist/components/Avatar/Avatar.types.d.ts.map +1 -0
- package/dist/components/Badge/Badge.d.ts +42 -0
- package/dist/components/Badge/Badge.d.ts.map +1 -0
- package/dist/components/Badge/Badge.types.d.ts +32 -0
- package/dist/components/Badge/Badge.types.d.ts.map +1 -0
- package/dist/components/Button/Button.d.ts +84 -0
- package/dist/components/Button/Button.d.ts.map +1 -0
- package/dist/components/Button/Button.types.d.ts +162 -0
- package/dist/components/Button/Button.types.d.ts.map +1 -0
- package/dist/components/Button/icons.d.ts +26 -0
- package/dist/components/Button/icons.d.ts.map +1 -0
- package/dist/components/Button/index.d.ts +4 -0
- package/dist/components/Button/index.d.ts.map +1 -0
- package/dist/components/Checkbox/Checkbox.d.ts +31 -0
- package/dist/components/Checkbox/Checkbox.d.ts.map +1 -0
- package/dist/components/Checkbox/Checkbox.types.d.ts +53 -0
- package/dist/components/Checkbox/Checkbox.types.d.ts.map +1 -0
- package/dist/components/DescriptionList/DescriptionList.d.ts +38 -0
- package/dist/components/DescriptionList/DescriptionList.d.ts.map +1 -0
- package/dist/components/DescriptionList/DescriptionList.types.d.ts +27 -0
- package/dist/components/DescriptionList/DescriptionList.types.d.ts.map +1 -0
- package/dist/components/Divider/Divider.d.ts +33 -0
- package/dist/components/Divider/Divider.d.ts.map +1 -0
- package/dist/components/Divider/Divider.types.d.ts +22 -0
- package/dist/components/Divider/Divider.types.d.ts.map +1 -0
- package/dist/components/Dropdown/Dropdown.d.ts +66 -0
- package/dist/components/Dropdown/Dropdown.d.ts.map +1 -0
- package/dist/components/Dropdown/Dropdown.types.d.ts +124 -0
- package/dist/components/Dropdown/Dropdown.types.d.ts.map +1 -0
- package/dist/components/Dropdown/icons.d.ts +10 -0
- package/dist/components/Dropdown/icons.d.ts.map +1 -0
- package/dist/components/Dropdown/index.d.ts +4 -0
- package/dist/components/Dropdown/index.d.ts.map +1 -0
- package/dist/components/DropdownItemCollapsible/DropdownItemCollapsible.d.ts +101 -0
- package/dist/components/DropdownItemCollapsible/DropdownItemCollapsible.d.ts.map +1 -0
- package/dist/components/DropdownItemCollapsible/DropdownItemCollapsible.types.d.ts +95 -0
- package/dist/components/DropdownItemCollapsible/DropdownItemCollapsible.types.d.ts.map +1 -0
- package/dist/components/DropdownItemCollapsible/icons.d.ts +19 -0
- package/dist/components/DropdownItemCollapsible/icons.d.ts.map +1 -0
- package/dist/components/DropdownItemCollapsible/index.d.ts +9 -0
- package/dist/components/DropdownItemCollapsible/index.d.ts.map +1 -0
- package/dist/components/DropdownItemHeading/DropdownItemHeading.d.ts +75 -0
- package/dist/components/DropdownItemHeading/DropdownItemHeading.d.ts.map +1 -0
- package/dist/components/DropdownItemHeading/DropdownItemHeading.types.d.ts +85 -0
- package/dist/components/DropdownItemHeading/DropdownItemHeading.types.d.ts.map +1 -0
- package/dist/components/DropdownItemHeading/icons.d.ts +48 -0
- package/dist/components/DropdownItemHeading/icons.d.ts.map +1 -0
- package/dist/components/DropdownItemHeading/index.d.ts +4 -0
- package/dist/components/DropdownItemHeading/index.d.ts.map +1 -0
- package/dist/components/Input/Input.d.ts +40 -0
- package/dist/components/Input/Input.d.ts.map +1 -0
- package/dist/components/Input/Input.types.d.ts +71 -0
- package/dist/components/Input/Input.types.d.ts.map +1 -0
- package/dist/components/Input/icons.d.ts +15 -0
- package/dist/components/Input/icons.d.ts.map +1 -0
- package/dist/components/Input/index.d.ts +3 -0
- package/dist/components/Input/index.d.ts.map +1 -0
- package/dist/components/LoginView/LoginView.d.ts +36 -0
- package/dist/components/LoginView/LoginView.d.ts.map +1 -0
- package/dist/components/LoginView/LoginView.types.d.ts +46 -0
- package/dist/components/LoginView/LoginView.types.d.ts.map +1 -0
- package/dist/components/LoginView/icons.d.ts +18 -0
- package/dist/components/LoginView/icons.d.ts.map +1 -0
- package/dist/components/LoginView/index.d.ts +4 -0
- package/dist/components/LoginView/index.d.ts.map +1 -0
- package/dist/components/Navbar/Navbar.d.ts +63 -0
- package/dist/components/Navbar/Navbar.d.ts.map +1 -0
- package/dist/components/Navbar/Navbar.types.d.ts +194 -0
- package/dist/components/Navbar/Navbar.types.d.ts.map +1 -0
- package/dist/components/Navbar/icons.d.ts +12 -0
- package/dist/components/Navbar/icons.d.ts.map +1 -0
- package/dist/components/Navbar/index.d.ts +4 -0
- package/dist/components/Navbar/index.d.ts.map +1 -0
- package/dist/components/NavigationBar/NavigationBar.d.ts +75 -0
- package/dist/components/NavigationBar/NavigationBar.d.ts.map +1 -0
- package/dist/components/NavigationBar/NavigationBar.types.d.ts +63 -0
- package/dist/components/NavigationBar/NavigationBar.types.d.ts.map +1 -0
- package/dist/components/NavigationBar/index.d.ts +3 -0
- package/dist/components/NavigationBar/index.d.ts.map +1 -0
- package/dist/components/NavigationRail/NavigationRail.d.ts +7 -0
- package/dist/components/NavigationRail/NavigationRail.d.ts.map +1 -0
- package/dist/components/NavigationRail/NavigationRail.types.d.ts +92 -0
- package/dist/components/NavigationRail/NavigationRail.types.d.ts.map +1 -0
- package/dist/components/NavigationRail/index.d.ts +3 -0
- package/dist/components/NavigationRail/index.d.ts.map +1 -0
- package/dist/components/NavigationRailItem/NavigationRailItem.d.ts +90 -0
- package/dist/components/NavigationRailItem/NavigationRailItem.d.ts.map +1 -0
- package/dist/components/NavigationRailItem/NavigationRailItem.types.d.ts +155 -0
- package/dist/components/NavigationRailItem/NavigationRailItem.types.d.ts.map +1 -0
- package/dist/components/NavigationRailItem/index.d.ts +3 -0
- package/dist/components/NavigationRailItem/index.d.ts.map +1 -0
- package/dist/components/NavigationRailPanel/NavigationRailPanel.d.ts +124 -0
- package/dist/components/NavigationRailPanel/NavigationRailPanel.d.ts.map +1 -0
- package/dist/components/NavigationRailPanel/NavigationRailPanel.types.d.ts +154 -0
- package/dist/components/NavigationRailPanel/NavigationRailPanel.types.d.ts.map +1 -0
- package/dist/components/NavigationRailPanel/index.d.ts +3 -0
- package/dist/components/NavigationRailPanel/index.d.ts.map +1 -0
- package/dist/components/NavigationRailTypes/NavigationRailTypes.d.ts +99 -0
- package/dist/components/NavigationRailTypes/NavigationRailTypes.d.ts.map +1 -0
- package/dist/components/NavigationRailTypes/NavigationRailTypes.types.d.ts +111 -0
- package/dist/components/NavigationRailTypes/NavigationRailTypes.types.d.ts.map +1 -0
- package/dist/components/NavigationRailTypes/icons.d.ts +58 -0
- package/dist/components/NavigationRailTypes/icons.d.ts.map +1 -0
- package/dist/components/NavigationRailTypes/index.d.ts +4 -0
- package/dist/components/NavigationRailTypes/index.d.ts.map +1 -0
- package/dist/components/Notification/Notification.d.ts +52 -0
- package/dist/components/Notification/Notification.d.ts.map +1 -0
- package/dist/components/Notification/Notification.types.d.ts +138 -0
- package/dist/components/Notification/Notification.types.d.ts.map +1 -0
- package/dist/components/Notification/index.d.ts +3 -0
- package/dist/components/Notification/index.d.ts.map +1 -0
- package/dist/components/POSConvention/POSConvention.d.ts +55 -0
- package/dist/components/POSConvention/POSConvention.d.ts.map +1 -0
- package/dist/components/POSConvention/POSConvention.types.d.ts +37 -0
- package/dist/components/POSConvention/POSConvention.types.d.ts.map +1 -0
- package/dist/components/POSConvention/icons.d.ts +21 -0
- package/dist/components/POSConvention/icons.d.ts.map +1 -0
- package/dist/components/POSConvention/index.d.ts +4 -0
- package/dist/components/POSConvention/index.d.ts.map +1 -0
- package/dist/components/POSLocationButton/POSLocationButton.d.ts +73 -0
- package/dist/components/POSLocationButton/POSLocationButton.d.ts.map +1 -0
- package/dist/components/POSLocationButton/POSLocationButton.types.d.ts +75 -0
- package/dist/components/POSLocationButton/POSLocationButton.types.d.ts.map +1 -0
- package/dist/components/POSLocationButton/icons.d.ts +37 -0
- package/dist/components/POSLocationButton/icons.d.ts.map +1 -0
- package/dist/components/POSLocationButton/index.d.ts +4 -0
- package/dist/components/POSLocationButton/index.d.ts.map +1 -0
- package/dist/components/POSNumberButton/POSNumberButton.d.ts +61 -0
- package/dist/components/POSNumberButton/POSNumberButton.d.ts.map +1 -0
- package/dist/components/POSNumberButton/POSNumberButton.types.d.ts +43 -0
- package/dist/components/POSNumberButton/POSNumberButton.types.d.ts.map +1 -0
- package/dist/components/POSNumberButton/index.d.ts +3 -0
- package/dist/components/POSNumberButton/index.d.ts.map +1 -0
- package/dist/components/POSProductButton/POSProductButton.d.ts +59 -0
- package/dist/components/POSProductButton/POSProductButton.d.ts.map +1 -0
- package/dist/components/POSProductButton/POSProductButton.types.d.ts +40 -0
- package/dist/components/POSProductButton/POSProductButton.types.d.ts.map +1 -0
- package/dist/components/POSProductButton/index.d.ts +3 -0
- package/dist/components/POSProductButton/index.d.ts.map +1 -0
- package/dist/components/POSProductCard/POSProductCard.d.ts +68 -0
- package/dist/components/POSProductCard/POSProductCard.d.ts.map +1 -0
- package/dist/components/POSProductCard/POSProductCard.types.d.ts +67 -0
- package/dist/components/POSProductCard/POSProductCard.types.d.ts.map +1 -0
- package/dist/components/POSProductCard/icons.d.ts +10 -0
- package/dist/components/POSProductCard/icons.d.ts.map +1 -0
- package/dist/components/POSProductCard/index.d.ts +3 -0
- package/dist/components/POSProductCard/index.d.ts.map +1 -0
- package/dist/components/POSProductSidebarItems/POSProductSidebarItems.d.ts +57 -0
- package/dist/components/POSProductSidebarItems/POSProductSidebarItems.d.ts.map +1 -0
- package/dist/components/POSProductSidebarItems/POSProductSidebarItems.types.d.ts +85 -0
- package/dist/components/POSProductSidebarItems/POSProductSidebarItems.types.d.ts.map +1 -0
- package/dist/components/POSProductSidebarItems/icons.d.ts +9 -0
- package/dist/components/POSProductSidebarItems/icons.d.ts.map +1 -0
- package/dist/components/POSProductSidebarItems/index.d.ts +4 -0
- package/dist/components/POSProductSidebarItems/index.d.ts.map +1 -0
- package/dist/components/POSTable/POSTable.d.ts +75 -0
- package/dist/components/POSTable/POSTable.d.ts.map +1 -0
- package/dist/components/POSTable/POSTable.types.d.ts +71 -0
- package/dist/components/POSTable/POSTable.types.d.ts.map +1 -0
- package/dist/components/POSTable/index.d.ts +3 -0
- package/dist/components/POSTable/index.d.ts.map +1 -0
- package/dist/components/Pagination/Pagination.d.ts +29 -0
- package/dist/components/Pagination/Pagination.d.ts.map +1 -0
- package/dist/components/Pagination/Pagination.types.d.ts +79 -0
- package/dist/components/Pagination/Pagination.types.d.ts.map +1 -0
- package/dist/components/Pagination/icons.d.ts +18 -0
- package/dist/components/Pagination/icons.d.ts.map +1 -0
- package/dist/components/Pagination/index.d.ts +4 -0
- package/dist/components/Pagination/index.d.ts.map +1 -0
- package/dist/components/Quantity/Quantity.d.ts +38 -0
- package/dist/components/Quantity/Quantity.d.ts.map +1 -0
- package/dist/components/Quantity/Quantity.types.d.ts +59 -0
- package/dist/components/Quantity/Quantity.types.d.ts.map +1 -0
- package/dist/components/Radio/Radio.d.ts +45 -0
- package/dist/components/Radio/Radio.d.ts.map +1 -0
- package/dist/components/Radio/Radio.types.d.ts +115 -0
- package/dist/components/Radio/Radio.types.d.ts.map +1 -0
- package/dist/components/Select/Select.d.ts +37 -0
- package/dist/components/Select/Select.d.ts.map +1 -0
- package/dist/components/Select/Select.types.d.ts +124 -0
- package/dist/components/Select/Select.types.d.ts.map +1 -0
- package/dist/components/Select/icons.d.ts +16 -0
- package/dist/components/Select/icons.d.ts.map +1 -0
- package/dist/components/Select/index.d.ts +4 -0
- package/dist/components/Select/index.d.ts.map +1 -0
- package/dist/components/SignUpView/SignUpView.d.ts +38 -0
- package/dist/components/SignUpView/SignUpView.d.ts.map +1 -0
- package/dist/components/SignUpView/SignUpView.types.d.ts +51 -0
- package/dist/components/SignUpView/SignUpView.types.d.ts.map +1 -0
- package/dist/components/SignUpView/icons.d.ts +18 -0
- package/dist/components/SignUpView/icons.d.ts.map +1 -0
- package/dist/components/SignUpView/index.d.ts +4 -0
- package/dist/components/SignUpView/index.d.ts.map +1 -0
- package/dist/components/Switch/Switch.d.ts +46 -0
- package/dist/components/Switch/Switch.d.ts.map +1 -0
- package/dist/components/Switch/Switch.types.d.ts +58 -0
- package/dist/components/Switch/Switch.types.d.ts.map +1 -0
- package/dist/components/Table/Table.d.ts +64 -0
- package/dist/components/Table/Table.d.ts.map +1 -0
- package/dist/components/Table/Table.types.d.ts +173 -0
- package/dist/components/Table/Table.types.d.ts.map +1 -0
- package/dist/components/Table/index.d.ts +3 -0
- package/dist/components/Table/index.d.ts.map +1 -0
- package/dist/components/Tabs/Tabs.d.ts +76 -0
- package/dist/components/Tabs/Tabs.d.ts.map +1 -0
- package/dist/components/Tabs/Tabs.types.d.ts +107 -0
- package/dist/components/Tabs/Tabs.types.d.ts.map +1 -0
- package/dist/components/Tabs/icons.d.ts +45 -0
- package/dist/components/Tabs/icons.d.ts.map +1 -0
- package/dist/components/Tabs/index.d.ts +4 -0
- package/dist/components/Tabs/index.d.ts.map +1 -0
- package/dist/components/Textarea/Textarea.d.ts +38 -0
- package/dist/components/Textarea/Textarea.d.ts.map +1 -0
- package/dist/components/Textarea/Textarea.types.d.ts +46 -0
- package/dist/components/Textarea/Textarea.types.d.ts.map +1 -0
- package/dist/context/ThemeContext.d.ts +46 -0
- package/dist/context/ThemeContext.d.ts.map +1 -0
- package/dist/context/index.d.ts +2 -0
- package/dist/context/index.d.ts.map +1 -0
- package/dist/index.d.ts +56 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/siesa-ui-kit.cjs +1273 -0
- package/dist/siesa-ui-kit.cjs.map +1 -0
- package/dist/siesa-ui-kit.mjs +4510 -0
- package/dist/siesa-ui-kit.mjs.map +1 -0
- package/dist/views/ListView/ListView.d.ts +47 -0
- package/dist/views/ListView/ListView.d.ts.map +1 -0
- package/dist/views/ListView/ListView.types.d.ts +177 -0
- package/dist/views/ListView/ListView.types.d.ts.map +1 -0
- package/dist/views/ListView/icons.d.ts +60 -0
- package/dist/views/ListView/icons.d.ts.map +1 -0
- package/dist/views/ListView/index.d.ts +3 -0
- package/dist/views/ListView/index.d.ts.map +1 -0
- package/dist/views/LoginView/LoginView.d.ts +36 -0
- package/dist/views/LoginView/LoginView.d.ts.map +1 -0
- package/dist/views/LoginView/LoginView.types.d.ts +46 -0
- package/dist/views/LoginView/LoginView.types.d.ts.map +1 -0
- package/dist/views/LoginView/icons.d.ts +18 -0
- package/dist/views/LoginView/icons.d.ts.map +1 -0
- package/dist/views/LoginView/index.d.ts +4 -0
- package/dist/views/LoginView/index.d.ts.map +1 -0
- package/dist/views/ProductsView/ProductsView.d.ts +56 -0
- package/dist/views/ProductsView/ProductsView.d.ts.map +1 -0
- package/dist/views/ProductsView/ProductsView.types.d.ts +184 -0
- package/dist/views/ProductsView/ProductsView.types.d.ts.map +1 -0
- package/dist/views/ProductsView/icons.d.ts +12 -0
- package/dist/views/ProductsView/icons.d.ts.map +1 -0
- package/dist/views/ProductsView/index.d.ts +3 -0
- package/dist/views/ProductsView/index.d.ts.map +1 -0
- package/dist/views/RecoverPasswordView/RecoverPasswordView.d.ts +34 -0
- package/dist/views/RecoverPasswordView/RecoverPasswordView.d.ts.map +1 -0
- package/dist/views/RecoverPasswordView/RecoverPasswordView.types.d.ts +50 -0
- package/dist/views/RecoverPasswordView/RecoverPasswordView.types.d.ts.map +1 -0
- package/dist/views/RecoverPasswordView/icons.d.ts +9 -0
- package/dist/views/RecoverPasswordView/icons.d.ts.map +1 -0
- package/dist/views/RecoverPasswordView/index.d.ts +3 -0
- package/dist/views/RecoverPasswordView/index.d.ts.map +1 -0
- package/dist/views/SignUpView/SignUpView.d.ts +38 -0
- package/dist/views/SignUpView/SignUpView.d.ts.map +1 -0
- package/dist/views/SignUpView/SignUpView.types.d.ts +51 -0
- package/dist/views/SignUpView/SignUpView.types.d.ts.map +1 -0
- package/dist/views/SignUpView/icons.d.ts +18 -0
- package/dist/views/SignUpView/icons.d.ts.map +1 -0
- package/dist/views/SignUpView/index.d.ts +4 -0
- package/dist/views/SignUpView/index.d.ts.map +1 -0
- package/dist/views/TableLayoutView/TableLayoutView.d.ts +46 -0
- package/dist/views/TableLayoutView/TableLayoutView.d.ts.map +1 -0
- package/dist/views/TableLayoutView/TableLayoutView.types.d.ts +170 -0
- package/dist/views/TableLayoutView/TableLayoutView.types.d.ts.map +1 -0
- package/dist/views/TableLayoutView/icons.d.ts +27 -0
- package/dist/views/TableLayoutView/icons.d.ts.map +1 -0
- package/dist/views/TableLayoutView/index.d.ts +3 -0
- package/dist/views/TableLayoutView/index.d.ts.map +1 -0
- package/package.json +93 -92
- package/bin/install.cjs +0 -502
- package/bin/prepare-publish.cjs +0 -28
- package/bin/restore-folders.cjs +0 -28
- package/dist/,Business Logo.png +0 -0
- package/dist/.Siesa Logo.png +0 -0
- package/dist/bg_siesa.png +0 -0
- package/dist/index.cjs +0 -1479
- package/dist/index.cjs.map +0 -1
- package/dist/index.js +0 -1479
- package/dist/index.js.map +0 -1
- package/dist/siesa_logo_mobile.png +0 -0
- package/dist/vite.svg +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProductsView.types.d.ts","sourceRoot":"","sources":["../../../src/views/ProductsView/ProductsView.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,E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AAE,MAAM,CAAC;IAElB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAElC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAE/B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Iconos para ProductsView
|
|
4
|
+
* Basados en Heroicons Micro (16x16px)
|
|
5
|
+
*/
|
|
6
|
+
export declare const ArrowLeftIcon: React.FC<{
|
|
7
|
+
className?: string;
|
|
8
|
+
}>;
|
|
9
|
+
export declare const CheckIcon: React.FC<{
|
|
10
|
+
className?: string;
|
|
11
|
+
}>;
|
|
12
|
+
//# sourceMappingURL=icons.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../src/views/ProductsView/icons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B;;;GAGG;AAEH,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,CAc1D,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,CActD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/views/ProductsView/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,YAAY,EACV,iBAAiB,EACjB,eAAe,EACf,OAAO,EACP,SAAS,EACT,IAAI,GACL,MAAM,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { RecoverPasswordViewProps } from './RecoverPasswordView.types';
|
|
3
|
+
/**
|
|
4
|
+
* RecoverPasswordView - Vista de recuperación de contraseña del sistema Siesa
|
|
5
|
+
*
|
|
6
|
+
* Vista completa para restablecer contraseña que incluye:
|
|
7
|
+
* - Logo de Siesa
|
|
8
|
+
* - Campo de email para enviar instrucciones
|
|
9
|
+
* - Botón para regresar al login
|
|
10
|
+
* - Fondo decorativo opcional
|
|
11
|
+
*
|
|
12
|
+
* Mejores prácticas implementadas:
|
|
13
|
+
* - Orden de modificadores: {responsive}:{dark}:{state}:{utility}
|
|
14
|
+
* - Dark mode con estrategia 'class' (darkMode: 'class')
|
|
15
|
+
* - Tokens de color consistentes con la documentación
|
|
16
|
+
* - Type safety con TypeScript estricto
|
|
17
|
+
* - Accesibilidad con ARIA labels y manejo de formulario semántico
|
|
18
|
+
* - Validación de email básica
|
|
19
|
+
*
|
|
20
|
+
* @see docs/colors.md - Sistema de colores
|
|
21
|
+
* @see docs/typography.md - Sistema tipográfico
|
|
22
|
+
* @see docs/spacing.md - Sistema de espaciado
|
|
23
|
+
* @see docs/shadows.md - Sistema de sombras
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* ```tsx
|
|
27
|
+
* <RecoverPasswordView
|
|
28
|
+
* onSubmit={(email) => console.log('Recover password for', email)}
|
|
29
|
+
* onBackToLogin={() => console.log('Back to login')}
|
|
30
|
+
* />
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
export declare const RecoverPasswordView: React.FC<RecoverPasswordViewProps>;
|
|
34
|
+
//# sourceMappingURL=RecoverPasswordView.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RecoverPasswordView.d.ts","sourceRoot":"","sources":["../../../src/views/RecoverPasswordView/RecoverPasswordView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AAG5E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,CAoVlE,CAAC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Props del componente RecoverPasswordView
|
|
3
|
+
*
|
|
4
|
+
* @see docs/colors.md - Sistema de colores
|
|
5
|
+
* @see docs/typography.md - Sistema tipográfico
|
|
6
|
+
* @see docs/spacing.md - Sistema de espaciado
|
|
7
|
+
* @see docs/shadows.md - Sistema de sombras
|
|
8
|
+
*/
|
|
9
|
+
export interface RecoverPasswordViewProps {
|
|
10
|
+
/**
|
|
11
|
+
* Función que se ejecuta al enviar el formulario
|
|
12
|
+
* @param email - Email ingresado por el usuario
|
|
13
|
+
*/
|
|
14
|
+
onSubmit?: (email: string) => void;
|
|
15
|
+
/**
|
|
16
|
+
* Función que se ejecuta al hacer clic en "Iniciar Sesión"
|
|
17
|
+
*/
|
|
18
|
+
onBackToLogin?: () => void;
|
|
19
|
+
/**
|
|
20
|
+
* Si el formulario está en estado de carga
|
|
21
|
+
* @default false
|
|
22
|
+
*/
|
|
23
|
+
isLoading?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Mensaje de error general a mostrar
|
|
26
|
+
*/
|
|
27
|
+
errorMessage?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Mensaje de éxito a mostrar (cuando el email fue enviado)
|
|
30
|
+
*/
|
|
31
|
+
successMessage?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Clases CSS adicionales para el contenedor principal
|
|
34
|
+
*/
|
|
35
|
+
className?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Si se muestra el fondo decorativo (imagen de fondo)
|
|
38
|
+
* @default true
|
|
39
|
+
*/
|
|
40
|
+
showBackground?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* Variante de visualización
|
|
43
|
+
* - responsive: Adapta automáticamente según viewport (default)
|
|
44
|
+
* - mobile: Fuerza visualización móvil (full width, sin card)
|
|
45
|
+
* - desktop: Fuerza visualización desktop (card centrado)
|
|
46
|
+
* @default 'responsive'
|
|
47
|
+
*/
|
|
48
|
+
variant?: 'responsive' | 'mobile' | 'desktop';
|
|
49
|
+
}
|
|
50
|
+
//# sourceMappingURL=RecoverPasswordView.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RecoverPasswordView.types.d.ts","sourceRoot":"","sources":["../../../src/views/RecoverPasswordView/RecoverPasswordView.types.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,MAAM,WAAW,wBAAwB;IACvC;;;OAGG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAEnC;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAE3B;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,YAAY,GAAG,QAAQ,GAAG,SAAS,CAAC;CAC/C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../src/views/RecoverPasswordView/icons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B;;;GAGG;AACH,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,CAUzD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/views/RecoverPasswordView/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,YAAY,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { SignUpViewProps } from './SignUpView.types';
|
|
3
|
+
/**
|
|
4
|
+
* SignUpView - Vista de registro del sistema Siesa
|
|
5
|
+
*
|
|
6
|
+
* Vista completa de registro con formulario que incluye:
|
|
7
|
+
* - Logo de Siesa
|
|
8
|
+
* - Campos de nombre, email y contraseña
|
|
9
|
+
* - Botón de registro
|
|
10
|
+
* - Link para iniciar sesión
|
|
11
|
+
* - Texto de términos y condiciones
|
|
12
|
+
* - Fondo decorativo opcional
|
|
13
|
+
*
|
|
14
|
+
* Mejores prácticas implementadas:
|
|
15
|
+
* - Orden de modificadores: {responsive}:{dark}:{state}:{utility}
|
|
16
|
+
* - Dark mode con estrategia 'class' (darkMode: 'class')
|
|
17
|
+
* - Tokens de color consistentes con la documentación
|
|
18
|
+
* - Type safety con TypeScript estricto
|
|
19
|
+
* - Accesibilidad con ARIA labels y manejo de formulario semántico
|
|
20
|
+
* - Validación de email básica
|
|
21
|
+
*
|
|
22
|
+
* @see docs/colors.md - Sistema de colores
|
|
23
|
+
* @see docs/typography.md - Sistema tipográfico
|
|
24
|
+
* @see docs/spacing.md - Sistema de espaciado
|
|
25
|
+
* @see docs/shadows.md - Sistema de sombras
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* ```tsx
|
|
29
|
+
* <SignUpView
|
|
30
|
+
* onSubmit={(name, email, password) => console.log('Sign up', name, email, password)}
|
|
31
|
+
* onSignIn={() => console.log('Go to sign in')}
|
|
32
|
+
* onTermsClick={() => console.log('View terms')}
|
|
33
|
+
* onPrivacyClick={() => console.log('View privacy')}
|
|
34
|
+
* />
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
export declare const SignUpView: React.FC<SignUpViewProps>;
|
|
38
|
+
//# sourceMappingURL=SignUpView.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SignUpView.d.ts","sourceRoot":"","sources":["../../../src/views/SignUpView/SignUpView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAG1D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CA+chD,CAAC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Props del componente SignUpView
|
|
3
|
+
*/
|
|
4
|
+
export interface SignUpViewProps {
|
|
5
|
+
/**
|
|
6
|
+
* Handler para el submit del formulario de registro
|
|
7
|
+
* @param name - Nombre ingresado por el usuario
|
|
8
|
+
* @param email - Email ingresado por el usuario
|
|
9
|
+
* @param password - Contraseña ingresada por el usuario
|
|
10
|
+
*/
|
|
11
|
+
onSubmit?: (name: string, email: string, password: string) => void;
|
|
12
|
+
/**
|
|
13
|
+
* Handler para el click en "Ya tengo una cuenta"
|
|
14
|
+
*/
|
|
15
|
+
onSignIn?: () => void;
|
|
16
|
+
/**
|
|
17
|
+
* Handler para el click en "Condiciones de Uso"
|
|
18
|
+
*/
|
|
19
|
+
onTermsClick?: () => void;
|
|
20
|
+
/**
|
|
21
|
+
* Handler para el click en "Políticas de Privacidad"
|
|
22
|
+
*/
|
|
23
|
+
onPrivacyClick?: () => void;
|
|
24
|
+
/**
|
|
25
|
+
* Estado de carga del botón de submit
|
|
26
|
+
* @default false
|
|
27
|
+
*/
|
|
28
|
+
isLoading?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Mensaje de error general para mostrar en el formulario
|
|
31
|
+
*/
|
|
32
|
+
errorMessage?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Clases CSS adicionales para el contenedor
|
|
35
|
+
*/
|
|
36
|
+
className?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Si se muestra el fondo decorativo con imagen
|
|
39
|
+
* @default true
|
|
40
|
+
*/
|
|
41
|
+
showBackground?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Variante de visualización
|
|
44
|
+
* - 'responsive': Se adapta según el viewport (default)
|
|
45
|
+
* - 'mobile': Siempre se muestra como mobile sin efectos de card
|
|
46
|
+
* - 'desktop': Siempre se muestra como desktop con card
|
|
47
|
+
* @default 'responsive'
|
|
48
|
+
*/
|
|
49
|
+
variant?: 'responsive' | 'mobile' | 'desktop';
|
|
50
|
+
}
|
|
51
|
+
//# sourceMappingURL=SignUpView.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SignUpView.types.d.ts","sourceRoot":"","sources":["../../../src/views/SignUpView/SignUpView.types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAEnE;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IAEtB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAE1B;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAE5B;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,YAAY,GAAG,QAAQ,GAAG,SAAS,CAAC;CAC/C"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Icono de círculo de usuario para el input de nombre
|
|
4
|
+
*/
|
|
5
|
+
export declare const UserCircleIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
6
|
+
/**
|
|
7
|
+
* Icono de sobre (envelope) para el input de email
|
|
8
|
+
*/
|
|
9
|
+
export declare const EnvelopeIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
10
|
+
/**
|
|
11
|
+
* Icono de candado cerrado (lock) para el input de contraseña
|
|
12
|
+
*/
|
|
13
|
+
export declare const LockClosedIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
14
|
+
/**
|
|
15
|
+
* Icono de ojo (eye) para mostrar/ocultar contraseña
|
|
16
|
+
*/
|
|
17
|
+
export declare const EyeIcon: React.FC<React.SVGProps<SVGSVGElement>>;
|
|
18
|
+
//# sourceMappingURL=icons.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../src/views/SignUpView/icons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,CAalE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,CAUhE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,CAalE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,CAc3D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/views/SignUpView/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,cAAc,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { TableLayoutViewProps } from './TableLayoutView.types';
|
|
3
|
+
/**
|
|
4
|
+
* TableLayoutView - Vista de layout de mesas para restaurante (POS)
|
|
5
|
+
*
|
|
6
|
+
* Vista completa pixel-perfect según especificaciones de Figma que incluye:
|
|
7
|
+
* - Navbar superior con usuario y acciones
|
|
8
|
+
* - Sidebar izquierdo con lista de salones/ubicaciones
|
|
9
|
+
* - Área central con grid de mesas y controles
|
|
10
|
+
* - Sidebar derecho con selector de cantidad de personas
|
|
11
|
+
* - Leyenda de convenciones al pie del área central
|
|
12
|
+
*
|
|
13
|
+
* **Layout responsive:**
|
|
14
|
+
* - Mobile: Columnas apiladas verticalmente
|
|
15
|
+
* - Desktop: 3 columnas (sidebar izq 245px + centro flex + sidebar der 304px)
|
|
16
|
+
*
|
|
17
|
+
* **Mejores prácticas implementadas:**
|
|
18
|
+
* - Orden de modificadores: {responsive}:{dark}:{state}:{utility}
|
|
19
|
+
* - Dark mode con estrategia 'class' (darkMode: 'class')
|
|
20
|
+
* - Tokens de color consistentes con la documentación
|
|
21
|
+
* - Type safety con TypeScript estricto
|
|
22
|
+
* - Accesibilidad con ARIA labels
|
|
23
|
+
* - Mobile-first responsive design
|
|
24
|
+
*
|
|
25
|
+
* @see docs/colors.md - Sistema de colores
|
|
26
|
+
* @see docs/typography.md - Sistema tipográfico
|
|
27
|
+
* @see docs/spacing.md - Sistema de espaciado
|
|
28
|
+
* @see docs/shadows.md - Sistema de sombras
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* ```tsx
|
|
32
|
+
* <TableLayoutView
|
|
33
|
+
* locations={[
|
|
34
|
+
* { id: '1', name: 'Antejardín', status: 'available', capacity: { current: 1, total: 8 } },
|
|
35
|
+
* { id: '2', name: 'Terraza', status: 'occupied', capacity: { current: 8, total: 8 } },
|
|
36
|
+
* ]}
|
|
37
|
+
* tables={[
|
|
38
|
+
* { tableNumber: '01', status: 'available', shape: 'square', chairs: 8, isActive: true },
|
|
39
|
+
* { tableNumber: '02', status: 'available', shape: 'circle', chairs: 2 },
|
|
40
|
+
* ]}
|
|
41
|
+
* onTableSelect={(tableNum) => console.log('Mesa seleccionada:', tableNum)}
|
|
42
|
+
* />
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
export declare const TableLayoutView: React.FC<TableLayoutViewProps>;
|
|
46
|
+
//# sourceMappingURL=TableLayoutView.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TableLayoutView.d.ts","sourceRoot":"","sources":["../../../src/views/TableLayoutView/TableLayoutView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAkBpE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CA+Y1D,CAAC"}
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
import type { ConventionStatus } from '../../components/POSConvention/POSConvention.types';
|
|
2
|
+
/**
|
|
3
|
+
* Estado de una ubicación/salón
|
|
4
|
+
*/
|
|
5
|
+
export interface Location {
|
|
6
|
+
/**
|
|
7
|
+
* ID único de la ubicación
|
|
8
|
+
*/
|
|
9
|
+
id: string;
|
|
10
|
+
/**
|
|
11
|
+
* Nombre de la ubicación (ej: "Antejardín", "Terraza", "Bar")
|
|
12
|
+
*/
|
|
13
|
+
name: string;
|
|
14
|
+
/**
|
|
15
|
+
* Estado general de la ubicación
|
|
16
|
+
*/
|
|
17
|
+
status: ConventionStatus;
|
|
18
|
+
/**
|
|
19
|
+
* Capacidad actual (mesas ocupadas/total)
|
|
20
|
+
*/
|
|
21
|
+
capacity: {
|
|
22
|
+
current: number;
|
|
23
|
+
total: number;
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Estado de mesa compatible con POSTable
|
|
28
|
+
* Nota: 'busy' se usa en lugar de 'occupied' para mantener compatibilidad con POSTable
|
|
29
|
+
*/
|
|
30
|
+
export type TableStatus = 'available' | 'busy' | 'reserved';
|
|
31
|
+
/**
|
|
32
|
+
* Mesa en el layout
|
|
33
|
+
*/
|
|
34
|
+
export interface TableItem {
|
|
35
|
+
/**
|
|
36
|
+
* Número de la mesa (ej: "01", "02")
|
|
37
|
+
*/
|
|
38
|
+
tableNumber: string;
|
|
39
|
+
/**
|
|
40
|
+
* Estado actual de la mesa
|
|
41
|
+
* Nota: usa 'busy' en lugar de 'occupied' para POSTable
|
|
42
|
+
*/
|
|
43
|
+
status: TableStatus;
|
|
44
|
+
/**
|
|
45
|
+
* Forma de la mesa
|
|
46
|
+
*/
|
|
47
|
+
shape: 'square' | 'circle' | 'rectangle' | 'oval';
|
|
48
|
+
/**
|
|
49
|
+
* Cantidad de sillas (2, 4, 6, 8)
|
|
50
|
+
*/
|
|
51
|
+
chairs: 2 | 4 | 6 | 8;
|
|
52
|
+
/**
|
|
53
|
+
* Si la mesa está actualmente seleccionada
|
|
54
|
+
*/
|
|
55
|
+
isActive?: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* Posición en el grid (opcional, para layout libre)
|
|
58
|
+
*/
|
|
59
|
+
position?: {
|
|
60
|
+
x: number;
|
|
61
|
+
y: number;
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Props del componente TableLayoutView
|
|
66
|
+
*/
|
|
67
|
+
export interface TableLayoutViewProps {
|
|
68
|
+
/**
|
|
69
|
+
* Lista de ubicaciones/salones disponibles
|
|
70
|
+
*/
|
|
71
|
+
locations?: Location[];
|
|
72
|
+
/**
|
|
73
|
+
* ID de la ubicación actualmente seleccionada
|
|
74
|
+
*/
|
|
75
|
+
activeLocationId?: string;
|
|
76
|
+
/**
|
|
77
|
+
* Lista de mesas en el layout actual
|
|
78
|
+
*/
|
|
79
|
+
tables?: TableItem[];
|
|
80
|
+
/**
|
|
81
|
+
* Título del área de mesas (ej: "Mesas de Antejardín")
|
|
82
|
+
*/
|
|
83
|
+
tablesTitle?: string;
|
|
84
|
+
/**
|
|
85
|
+
* Si se está mostrando el panel de selección de personas
|
|
86
|
+
*/
|
|
87
|
+
showPeopleCountPanel?: boolean;
|
|
88
|
+
/**
|
|
89
|
+
* Información de la mesa seleccionada para el panel
|
|
90
|
+
*/
|
|
91
|
+
selectedTable?: {
|
|
92
|
+
locationName: string;
|
|
93
|
+
tableName: string;
|
|
94
|
+
};
|
|
95
|
+
/**
|
|
96
|
+
* Cantidad de personas seleccionada
|
|
97
|
+
*/
|
|
98
|
+
peopleCount?: number;
|
|
99
|
+
/**
|
|
100
|
+
* Callback cuando se selecciona una ubicación/salón
|
|
101
|
+
*/
|
|
102
|
+
onLocationSelect?: (locationId: string) => void;
|
|
103
|
+
/**
|
|
104
|
+
* Callback cuando se selecciona una mesa
|
|
105
|
+
*/
|
|
106
|
+
onTableSelect?: (tableNumber: string) => void;
|
|
107
|
+
/**
|
|
108
|
+
* Callback cuando se hace clic en "Crear Mesas"
|
|
109
|
+
*/
|
|
110
|
+
onCreateTables?: () => void;
|
|
111
|
+
/**
|
|
112
|
+
* Callback cuando se hace clic en "Unir Mesas"
|
|
113
|
+
*/
|
|
114
|
+
onMergeTables?: () => void;
|
|
115
|
+
/**
|
|
116
|
+
* Callback cuando se hace clic en "Separar Mesas"
|
|
117
|
+
*/
|
|
118
|
+
onSplitTables?: () => void;
|
|
119
|
+
/**
|
|
120
|
+
* Callback cuando se selecciona un número de personas
|
|
121
|
+
*/
|
|
122
|
+
onPeopleCountSelect?: (count: number) => void;
|
|
123
|
+
/**
|
|
124
|
+
* Callback cuando se hace clic en "Asignar"
|
|
125
|
+
*/
|
|
126
|
+
onAssignTable?: () => void;
|
|
127
|
+
/**
|
|
128
|
+
* Callback cuando se hace clic en "Transferir"
|
|
129
|
+
*/
|
|
130
|
+
onTransferTable?: () => void;
|
|
131
|
+
/**
|
|
132
|
+
* Callback cuando se hace clic en "Cubiertos"
|
|
133
|
+
*/
|
|
134
|
+
onSetCutlery?: () => void;
|
|
135
|
+
/**
|
|
136
|
+
* Callback cuando se cierra el panel de personas
|
|
137
|
+
*/
|
|
138
|
+
onClosePeoplePanel?: () => void;
|
|
139
|
+
/**
|
|
140
|
+
* Callback cuando cambia el switch de la mesa
|
|
141
|
+
*/
|
|
142
|
+
onTableSwitchChange?: (checked: boolean) => void;
|
|
143
|
+
/**
|
|
144
|
+
* Si se está cargando información
|
|
145
|
+
*/
|
|
146
|
+
isLoading?: boolean;
|
|
147
|
+
/**
|
|
148
|
+
* Mensaje de error (si existe)
|
|
149
|
+
*/
|
|
150
|
+
errorMessage?: string;
|
|
151
|
+
/**
|
|
152
|
+
* Tipo de layout para las mesas:
|
|
153
|
+
* - 'grid': Grid automático con separación uniforme (por defecto)
|
|
154
|
+
* - 'free': Posicionamiento libre usando position.x/y de cada mesa
|
|
155
|
+
*/
|
|
156
|
+
tableLayout?: 'grid' | 'free';
|
|
157
|
+
/**
|
|
158
|
+
* Clases CSS adicionales para el contenedor
|
|
159
|
+
*/
|
|
160
|
+
className?: string;
|
|
161
|
+
/**
|
|
162
|
+
* Información del usuario para el navbar
|
|
163
|
+
*/
|
|
164
|
+
userInfo?: {
|
|
165
|
+
avatar: string;
|
|
166
|
+
name: string;
|
|
167
|
+
role: string;
|
|
168
|
+
};
|
|
169
|
+
}
|
|
170
|
+
//# sourceMappingURL=TableLayoutView.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TableLayoutView.types.d.ts","sourceRoot":"","sources":["../../../src/views/TableLayoutView/TableLayoutView.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oDAAoD,CAAC;AAE3F;;GAEG;AACH,MAAM,WAAW,QAAQ;IACvB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,MAAM,EAAE,gBAAgB,CAAC;IAEzB;;OAEG;IACH,QAAQ,EAAE;QACR,OAAO,EAAE,MAAM,CAAC;QAChB,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;CACH;AAED;;;GAGG;AACH,MAAM,MAAM,WAAW,GAAG,WAAW,GAAG,MAAM,GAAG,UAAU,CAAC;AAE5D;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;;OAGG;IACH,MAAM,EAAE,WAAW,CAAC;IAEpB;;OAEG;IACH,KAAK,EAAE,QAAQ,GAAG,QAAQ,GAAG,WAAW,GAAG,MAAM,CAAC;IAElD;;OAEG;IACH,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAEtB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;OAEG;IACH,QAAQ,CAAC,EAAE;QACT,CAAC,EAAE,MAAM,CAAC;QACV,CAAC,EAAE,MAAM,CAAC;KACX,CAAC;CACH;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAC;IAEvB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;OAEG;IACH,MAAM,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AQ,CAAC,EAAE;QACT,MAAM,EAAE,MAAM,CAAC;QACf,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;CACH"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Iconos para TableLayoutView
|
|
4
|
+
* Basados en Heroicons Micro (16x16px)
|
|
5
|
+
*/
|
|
6
|
+
export declare const PlusIcon: React.FC<{
|
|
7
|
+
className?: string;
|
|
8
|
+
}>;
|
|
9
|
+
export declare const ArrowsPointingInIcon: React.FC<{
|
|
10
|
+
className?: string;
|
|
11
|
+
}>;
|
|
12
|
+
export declare const ArrowsPointingOutIcon: React.FC<{
|
|
13
|
+
className?: string;
|
|
14
|
+
}>;
|
|
15
|
+
export declare const ArrowRightEndOnRectangleIcon: React.FC<{
|
|
16
|
+
className?: string;
|
|
17
|
+
}>;
|
|
18
|
+
export declare const ArrowsRightLeftIcon: React.FC<{
|
|
19
|
+
className?: string;
|
|
20
|
+
}>;
|
|
21
|
+
export declare const RectangleGroupIcon: React.FC<{
|
|
22
|
+
className?: string;
|
|
23
|
+
}>;
|
|
24
|
+
export declare const XMarkIcon: React.FC<{
|
|
25
|
+
className?: string;
|
|
26
|
+
}>;
|
|
27
|
+
//# sourceMappingURL=icons.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../src/views/TableLayoutView/icons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B;;;GAGG;AAGH,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,CAUrD,CAAC;AAGF,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,CAcjE,CAAC;AAGF,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,CAclE,CAAC;AAGF,eAAO,MAAM,4BAA4B,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,CAczE,CAAC;AAGF,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,CAchE,CAAC;AAGF,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,CAU/D,CAAC;AAGF,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,CAUtD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/views/TableLayoutView/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,YAAY,EACV,oBAAoB,EACpB,QAAQ,EACR,SAAS,GACV,MAAM,yBAAyB,CAAC"}
|