@darkfrost-1107/scaff-z-react 0.1.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/LICENSE.md +5 -0
- package/README.md +75 -0
- package/dist/_virtual/_rolldown/runtime.cjs +1 -0
- package/dist/action-processor.d.ts +2 -0
- package/dist/app/config/sqlite.registry.cjs +1 -0
- package/dist/app/config/sqlite.registry.esm +37 -0
- package/dist/app.config.d.ts +1 -0
- package/dist/async-combobox.input.d.ts +4 -0
- package/dist/async-multi-select.input.d.ts +4 -0
- package/dist/async-select.input.d.ts +4 -0
- package/dist/audit-view.d.ts +2 -0
- package/dist/back-button.action.d.ts +6 -0
- package/dist/badge.d.ts +2 -0
- package/dist/base.connector.d.ts +4 -0
- package/dist/base.entity.d.ts +2 -0
- package/dist/base.node.d.ts +2 -0
- package/dist/base.service.d.ts +4 -0
- package/dist/breadcrumb.d.ts +2 -0
- package/dist/build.router.d.ts +4 -0
- package/dist/builder-device.guard.d.ts +2 -0
- package/dist/builder.d.ts +2 -0
- package/dist/button.d.ts +2 -0
- package/dist/calendar.d.ts +2 -0
- package/dist/canvas-view.layout.d.ts +2 -0
- package/dist/card.d.ts +2 -0
- package/dist/checkbox-inline.input.d.ts +4 -0
- package/dist/checkbox.d.ts +2 -0
- package/dist/checkbox.input.d.ts +4 -0
- package/dist/code.input.d.ts +4 -0
- package/dist/color.input.d.ts +4 -0
- package/dist/combobox.d.ts +2 -0
- package/dist/combobox.input.d.ts +4 -0
- package/dist/command.d.ts +2 -0
- package/dist/component.factory.d.ts +4 -0
- package/dist/component.guard.d.ts +2 -0
- package/dist/components.registry.d.ts +2 -0
- package/dist/context.guard.d.ts +2 -0
- package/dist/context.verifier.d.ts +2 -0
- package/dist/crypto.service.d.ts +2 -0
- package/dist/dark.style.d.ts +2 -0
- package/dist/data-table.component.d.ts +2 -0
- package/dist/data-table.provider.d.ts +1 -0
- package/dist/date.input.d.ts +2 -0
- package/dist/deckgl-overlay.d.ts +2 -0
- package/dist/detail-tabs.layout.d.ts +6 -0
- package/dist/detail-view.layout.d.ts +6 -0
- package/dist/device-artifact.guard.d.ts +2 -0
- package/dist/device.guard.d.ts +2 -0
- package/dist/device.verifier.registry.d.ts +2 -0
- package/dist/dialog.d.ts +2 -0
- package/dist/dnd.provider.d.ts +2 -0
- package/dist/draggeable.d.ts +2 -0
- package/dist/droppable.d.ts +2 -0
- package/dist/droppeable.d.ts +2 -0
- package/dist/dynamic-device.guard.d.ts +2 -0
- package/dist/dynamic-icon.d.ts +6 -0
- package/dist/email.input.d.ts +4 -0
- package/dist/enum.verifier.d.ts +2 -0
- package/dist/env.manager.d.ts +2 -0
- package/dist/feedback.layout.d.ts +2 -0
- package/dist/field.d.ts +2 -0
- package/dist/file.input.d.ts +4 -0
- package/dist/flow-canvas.d.ts +2 -0
- package/dist/flow.renderer.d.ts +2 -0
- package/dist/flow.types.d.ts +1 -0
- package/dist/form-dialog-layout.d.ts +4 -0
- package/dist/form-tab-layout.d.ts +4 -0
- package/dist/form.component.d.ts +2 -0
- package/dist/grid.layout.d.ts +2 -0
- package/dist/guard.d.ts +2 -0
- package/dist/hover.d.ts +2 -0
- package/dist/icon-box.d.ts +2 -0
- package/dist/icon-button.d.ts +2 -0
- package/dist/image.input.d.ts +4 -0
- package/dist/index.d.ts +2 -0
- package/dist/indexeddb.service.d.ts +6 -0
- package/dist/input-group.d.ts +2 -0
- package/dist/input.d.ts +2 -0
- package/dist/interceptor.builder.d.ts +2 -0
- package/dist/label.d.ts +2 -0
- package/dist/language-toggle.d.ts +2 -0
- package/dist/list-select.input.d.ts +4 -0
- package/dist/logger.d.ts +2 -0
- package/dist/main.connector.d.ts +2 -0
- package/dist/main.service.d.ts +6 -0
- package/dist/maps.renderer.d.ts +4 -0
- package/dist/marker.factory.d.ts +2 -0
- package/dist/marker.guard.d.ts +2 -0
- package/dist/markers.meta.d.ts +1 -0
- package/dist/modules/actions/entities/action.entity.cjs +1 -0
- package/dist/modules/actions/entities/action.entity.esm +139 -0
- package/dist/modules/artifacts/entities/artifact.entity.cjs +1 -0
- package/dist/modules/artifacts/entities/artifact.entity.esm +82 -0
- package/dist/modules/integrations/entities/integration.entity.cjs +1 -0
- package/dist/modules/integrations/entities/integration.entity.esm +75 -0
- package/dist/modules/inventory/entities/category.entity.cjs +1 -0
- package/dist/modules/inventory/entities/category.entity.esm +50 -0
- package/dist/modules/inventory/entities/inventory-item.entity.cjs +1 -0
- package/dist/modules/inventory/entities/inventory-item.entity.esm +68 -0
- package/dist/modules/inventory/entities/product-item.entity.cjs +1 -0
- package/dist/modules/inventory/entities/product-item.entity.esm +69 -0
- package/dist/modules/inventory/entities/zone.entity.cjs +1 -0
- package/dist/modules/inventory/entities/zone.entity.esm +50 -0
- package/dist/modules/memberships/entities/membership.entity.cjs +1 -0
- package/dist/modules/memberships/entities/membership.entity.esm +53 -0
- package/dist/modules/organizations/entities/organization.entity.cjs +1 -0
- package/dist/modules/organizations/entities/organization.entity.esm +75 -0
- package/dist/modules/projects/entities/project.entity.cjs +1 -0
- package/dist/modules/projects/entities/project.entity.esm +100 -0
- package/dist/modules/test/entities/experiment.entity.cjs +1 -0
- package/dist/modules/test/entities/experiment.entity.esm +71 -0
- package/dist/modules/tickets/entities/ticket.entity.cjs +1 -0
- package/dist/modules/tickets/entities/ticket.entity.esm +92 -0
- package/dist/modules/tools/entities/tool.entity.cjs +1 -0
- package/dist/modules/tools/entities/tool.entity.esm +129 -0
- package/dist/modules/users/entities/user-role.enum.cjs +1 -0
- package/dist/modules/users/entities/user-role.enum.esm +6 -0
- package/dist/modules/users/entities/user.entity.cjs +1 -0
- package/dist/modules/users/entities/user.entity.esm +88 -0
- package/dist/nfc.service.d.ts +6 -0
- package/dist/nosql.repo.d.ts +2 -0
- package/dist/nosql.repo.service.d.ts +4 -0
- package/dist/packages/capacitor/app.config.cjs +1 -0
- package/dist/packages/capacitor/app.config.d.ts +1 -0
- package/dist/packages/capacitor/app.config.esm +7 -0
- package/dist/packages/crypto/crypto.service.cjs +1 -0
- package/dist/packages/crypto/crypto.service.d.ts +6 -0
- package/dist/packages/crypto/crypto.service.esm +17 -0
- package/dist/packages/crypto/index.cjs +1 -0
- package/dist/packages/crypto/index.d.ts +1 -0
- package/dist/packages/crypto/index.esm +2 -0
- package/dist/packages/dnd/dnd.provider.cjs +1 -0
- package/dist/packages/dnd/dnd.provider.d.ts +3 -0
- package/dist/packages/dnd/dnd.provider.esm +8 -0
- package/dist/packages/dnd/draggeable.cjs +1 -0
- package/dist/packages/dnd/draggeable.d.ts +4 -0
- package/dist/packages/dnd/draggeable.esm +12 -0
- package/dist/packages/dnd/droppable.cjs +1 -0
- package/dist/packages/dnd/droppable.d.ts +8 -0
- package/dist/packages/dnd/droppable.esm +14 -0
- package/dist/packages/dnd/droppeable.cjs +1 -0
- package/dist/packages/dnd/droppeable.d.ts +5 -0
- package/dist/packages/dnd/droppeable.esm +13 -0
- package/dist/packages/dnd/sortable.cjs +1 -0
- package/dist/packages/dnd/sortable.d.ts +11 -0
- package/dist/packages/dnd/sortable.esm +18 -0
- package/dist/packages/env/env.manager.cjs +1 -0
- package/dist/packages/env/env.manager.d.ts +11 -0
- package/dist/packages/env/env.manager.esm +69 -0
- package/dist/packages/env/index.cjs +1 -0
- package/dist/packages/env/index.d.ts +1 -0
- package/dist/packages/env/index.esm +2 -0
- package/dist/packages/flow/flow.renderer.cjs +1 -0
- package/dist/packages/flow/flow.renderer.d.ts +13 -0
- package/dist/packages/flow/flow.renderer.esm +50 -0
- package/dist/packages/flow/flow.types.cjs +0 -0
- package/dist/packages/flow/flow.types.d.ts +30 -0
- package/dist/packages/flow/flow.types.esm +0 -0
- package/dist/packages/formatters/qr-code/qr.encoder.service.cjs +1 -0
- package/dist/packages/formatters/qr-code/qr.encoder.service.d.ts +5 -0
- package/dist/packages/formatters/qr-code/qr.encoder.service.esm +17 -0
- package/dist/packages/formatters/qr-code/qr.renderer.cjs +1 -0
- package/dist/packages/formatters/qr-code/qr.renderer.d.ts +3 -0
- package/dist/packages/formatters/qr-code/qr.renderer.esm +16 -0
- package/dist/packages/formatters/text-code/text-coder.service.cjs +1 -0
- package/dist/packages/formatters/text-code/text-coder.service.d.ts +9 -0
- package/dist/packages/formatters/text-code/text-coder.service.esm +36 -0
- package/dist/packages/i18n/index.cjs +1 -0
- package/dist/packages/i18n/index.d.ts +10 -0
- package/dist/packages/i18n/index.esm +18 -0
- package/dist/packages/i18n/language-toggle.cjs +1 -0
- package/dist/packages/i18n/language-toggle.d.ts +9 -0
- package/dist/packages/i18n/language-toggle.esm +73 -0
- package/dist/packages/indexeddb/builder.cjs +1 -0
- package/dist/packages/indexeddb/builder.d.ts +13 -0
- package/dist/packages/indexeddb/builder.esm +35 -0
- package/dist/packages/indexeddb/index.cjs +1 -0
- package/dist/packages/indexeddb/index.d.ts +5 -0
- package/dist/packages/indexeddb/index.esm +5 -0
- package/dist/packages/indexeddb/indexeddb.service.cjs +1 -0
- package/dist/packages/indexeddb/indexeddb.service.d.ts +21 -0
- package/dist/packages/indexeddb/indexeddb.service.esm +59 -0
- package/dist/packages/indexeddb/nosql.repo.cjs +1 -0
- package/dist/packages/indexeddb/nosql.repo.d.ts +33 -0
- package/dist/packages/indexeddb/nosql.repo.esm +69 -0
- package/dist/packages/indexeddb/nosql.repo.service.cjs +1 -0
- package/dist/packages/indexeddb/nosql.repo.service.d.ts +46 -0
- package/dist/packages/indexeddb/nosql.repo.service.esm +87 -0
- package/dist/packages/indexeddb/registry.cjs +1 -0
- package/dist/packages/indexeddb/registry.d.ts +21 -0
- package/dist/packages/indexeddb/registry.esm +22 -0
- package/dist/packages/indexeddb/types.cjs +0 -0
- package/dist/packages/indexeddb/types.d.ts +33 -0
- package/dist/packages/indexeddb/types.esm +0 -0
- package/dist/packages/logger/index.cjs +1 -0
- package/dist/packages/logger/index.d.ts +2 -0
- package/dist/packages/logger/index.esm +3 -0
- package/dist/packages/logger/logger.cjs +1 -0
- package/dist/packages/logger/logger.d.ts +137 -0
- package/dist/packages/logger/logger.esm +186 -0
- package/dist/packages/logger/registry.cjs +1 -0
- package/dist/packages/logger/registry.d.ts +9 -0
- package/dist/packages/logger/registry.esm +17 -0
- package/dist/packages/maps/deckgl-overlay.cjs +1 -0
- package/dist/packages/maps/deckgl-overlay.d.ts +9 -0
- package/dist/packages/maps/deckgl-overlay.esm +12 -0
- package/dist/packages/maps/maps.renderer.cjs +1 -0
- package/dist/packages/maps/maps.renderer.d.ts +19 -0
- package/dist/packages/maps/maps.renderer.esm +25 -0
- package/dist/packages/maps/markers/marker.factory.cjs +1 -0
- package/dist/packages/maps/markers/marker.factory.d.ts +8 -0
- package/dist/packages/maps/markers/marker.factory.esm +58 -0
- package/dist/packages/maps/markers/marker.guard.cjs +1 -0
- package/dist/packages/maps/markers/marker.guard.d.ts +22 -0
- package/dist/packages/maps/markers/marker.guard.esm +37 -0
- package/dist/packages/maps/markers/markers.meta.cjs +0 -0
- package/dist/packages/maps/markers/markers.meta.d.ts +12 -0
- package/dist/packages/maps/markers/markers.meta.esm +0 -0
- package/dist/packages/maps/styles/dark.style.cjs +1 -0
- package/dist/packages/maps/styles/dark.style.d.ts +1 -0
- package/dist/packages/maps/styles/dark.style.esm +93 -0
- package/dist/packages/nfc/nfc.service.cjs +1 -0
- package/dist/packages/nfc/nfc.service.d.ts +41 -0
- package/dist/packages/nfc/nfc.service.esm +104 -0
- package/dist/packages/requests/axios/base.connector.cjs +1 -0
- package/dist/packages/requests/axios/base.connector.d.ts +37 -0
- package/dist/packages/requests/axios/base.connector.esm +25 -0
- package/dist/packages/requests/axios/base.service.cjs +1 -0
- package/dist/packages/requests/axios/base.service.d.ts +41 -0
- package/dist/packages/requests/axios/base.service.esm +11 -0
- package/dist/packages/requests/axios/interceptor.builder.cjs +1 -0
- package/dist/packages/requests/axios/interceptor.builder.d.ts +26 -0
- package/dist/packages/requests/axios/interceptor.builder.esm +20 -0
- package/dist/packages/router/build.router.cjs +1 -0
- package/dist/packages/router/build.router.d.ts +6 -0
- package/dist/packages/router/build.router.esm +9 -0
- package/dist/packages/router/route.builder.cjs +1 -0
- package/dist/packages/router/route.builder.d.ts +46 -0
- package/dist/packages/router/route.builder.esm +50 -0
- package/dist/packages/scanner/scanner.formats.cjs +1 -0
- package/dist/packages/scanner/scanner.formats.d.ts +51 -0
- package/dist/packages/scanner/scanner.formats.esm +96 -0
- package/dist/packages/scanner/scanner.service.cjs +1 -0
- package/dist/packages/scanner/scanner.service.d.ts +32 -0
- package/dist/packages/scanner/scanner.service.esm +32 -0
- package/dist/packages/sheets/index.cjs +1 -0
- package/dist/packages/sheets/index.d.ts +2 -0
- package/dist/packages/sheets/index.esm +3 -0
- package/dist/packages/sheets/sheets.connector.cjs +1 -0
- package/dist/packages/sheets/sheets.connector.d.ts +6 -0
- package/dist/packages/sheets/sheets.connector.esm +21 -0
- package/dist/packages/sheets/sheets.service.cjs +1 -0
- package/dist/packages/sheets/sheets.service.d.ts +21 -0
- package/dist/packages/sheets/sheets.service.esm +38 -0
- package/dist/packages/sqlite/base/base.entity.cjs +1 -0
- package/dist/packages/sqlite/base/base.entity.d.ts +5 -0
- package/dist/packages/sqlite/base/base.entity.esm +41 -0
- package/dist/packages/sqlite/repo.service.cjs +1 -0
- package/dist/packages/sqlite/repo.service.d.ts +22 -0
- package/dist/packages/sqlite/repo.service.esm +52 -0
- package/dist/packages/sqlite/sqlite.service.cjs +1 -0
- package/dist/packages/sqlite/sqlite.service.d.ts +40 -0
- package/dist/packages/sqlite/sqlite.service.esm +77 -0
- package/dist/packages/sqlite/templates/test.entity.cjs +1 -0
- package/dist/packages/sqlite/templates/test.entity.d.ts +6 -0
- package/dist/packages/sqlite/templates/test.entity.esm +62 -0
- package/dist/packages/sqlite/templates/test.repo.service.cjs +1 -0
- package/dist/packages/sqlite/templates/test.repo.service.d.ts +8 -0
- package/dist/packages/sqlite/templates/test.repo.service.esm +26 -0
- package/dist/packages/stores/storage.service.cjs +1 -0
- package/dist/packages/stores/storage.service.d.ts +5 -0
- package/dist/packages/stores/storage.service.esm +22 -0
- package/dist/packages/stores/store.hook.cjs +1 -0
- package/dist/packages/stores/store.hook.d.ts +23 -0
- package/dist/packages/stores/store.hook.esm +22 -0
- package/dist/packages/stores/store.service.cjs +1 -0
- package/dist/packages/stores/store.service.d.ts +12 -0
- package/dist/packages/stores/store.service.esm +48 -0
- package/dist/packages/theme/theme-builder.cjs +1 -0
- package/dist/packages/theme/theme-builder.d.ts +19 -0
- package/dist/packages/theme/theme-builder.esm +25 -0
- package/dist/packages/theme/theme-provider.cjs +1 -0
- package/dist/packages/theme/theme-provider.d.ts +7 -0
- package/dist/packages/theme/theme-provider.esm +17 -0
- package/dist/packages/theme/theme-toggle.cjs +1 -0
- package/dist/packages/theme/theme-toggle.d.ts +6 -0
- package/dist/packages/theme/theme-toggle.esm +33 -0
- package/dist/packages/w3/tron/index.cjs +1 -0
- package/dist/packages/w3/tron/index.d.ts +4 -0
- package/dist/packages/w3/tron/index.esm +4 -0
- package/dist/packages/w3/tron/tron-assets.service.cjs +1 -0
- package/dist/packages/w3/tron/tron-assets.service.d.ts +38 -0
- package/dist/packages/w3/tron/tron-assets.service.esm +116 -0
- package/dist/packages/w3/tron/tron-wallet.entity.cjs +1 -0
- package/dist/packages/w3/tron/tron-wallet.entity.d.ts +15 -0
- package/dist/packages/w3/tron/tron-wallet.entity.esm +88 -0
- package/dist/packages/w3/tron/tron-wallet.repo.cjs +1 -0
- package/dist/packages/w3/tron/tron-wallet.repo.d.ts +30 -0
- package/dist/packages/w3/tron/tron-wallet.repo.esm +52 -0
- package/dist/packages/w3/tron/tron.service.cjs +1 -0
- package/dist/packages/w3/tron/tron.service.d.ts +124 -0
- package/dist/packages/w3/tron/tron.service.esm +406 -0
- package/dist/packages/w3/tron/tron.types.cjs +0 -0
- package/dist/packages/w3/tron/tron.types.d.ts +129 -0
- package/dist/packages/w3/tron/tron.types.esm +0 -0
- package/dist/page-container.d.ts +2 -0
- package/dist/popover.d.ts +2 -0
- package/dist/qr.encoder.service.d.ts +4 -0
- package/dist/qr.renderer.d.ts +4 -0
- package/dist/registry.d.ts +2 -0
- package/dist/repo.service.d.ts +4 -0
- package/dist/repository.contract.d.ts +1 -0
- package/dist/route.builder.d.ts +4 -0
- package/dist/scanner.formats.d.ts +2 -0
- package/dist/scanner.service.d.ts +2 -0
- package/dist/scroll-area.d.ts +2 -0
- package/dist/secret.input.d.ts +4 -0
- package/dist/select.d.ts +2 -0
- package/dist/select.input.d.ts +4 -0
- package/dist/separator.d.ts +2 -0
- package/dist/shared/assets/social-icons.cjs +1 -0
- package/dist/shared/assets/social-icons.d.ts +2 -0
- package/dist/shared/assets/social-icons.esm +30 -0
- package/dist/shared/constants/connectors/main.connector.cjs +1 -0
- package/dist/shared/constants/connectors/main.connector.d.ts +8 -0
- package/dist/shared/constants/connectors/main.connector.esm +38 -0
- package/dist/shared/constants/services/main.service.cjs +1 -0
- package/dist/shared/constants/services/main.service.d.ts +7 -0
- package/dist/shared/constants/services/main.service.esm +26 -0
- package/dist/shared/contracts/repository.contract.cjs +0 -0
- package/dist/shared/contracts/repository.contract.d.ts +26 -0
- package/dist/shared/contracts/repository.contract.esm +0 -0
- package/dist/shared/custom/actions/back-button.action.cjs +1 -0
- package/dist/shared/custom/actions/back-button.action.d.ts +13 -0
- package/dist/shared/custom/actions/back-button.action.esm +20 -0
- package/dist/shared/custom/audit/audit-view.cjs +1 -0
- package/dist/shared/custom/audit/audit-view.d.ts +46 -0
- package/dist/shared/custom/audit/audit-view.esm +73 -0
- package/dist/shared/custom/confirm/use-confirm.cjs +1 -0
- package/dist/shared/custom/confirm/use-confirm.d.ts +15 -0
- package/dist/shared/custom/confirm/use-confirm.esm +57 -0
- package/dist/shared/custom/data-table/data-table.component.cjs +1 -0
- package/dist/shared/custom/data-table/data-table.component.d.ts +9 -0
- package/dist/shared/custom/data-table/data-table.component.esm +26 -0
- package/dist/shared/custom/data-table/data-table.provider.cjs +0 -0
- package/dist/shared/custom/data-table/data-table.provider.d.ts +1 -0
- package/dist/shared/custom/data-table/data-table.provider.esm +0 -0
- package/dist/shared/custom/flow/flow-canvas.cjs +1 -0
- package/dist/shared/custom/flow/flow-canvas.d.ts +10 -0
- package/dist/shared/custom/flow/flow-canvas.esm +23 -0
- package/dist/shared/custom/flow/nodes/base.node.cjs +1 -0
- package/dist/shared/custom/flow/nodes/base.node.d.ts +9 -0
- package/dist/shared/custom/flow/nodes/base.node.esm +51 -0
- package/dist/shared/custom/form/form.component.cjs +1 -0
- package/dist/shared/custom/form/form.component.d.ts +13 -0
- package/dist/shared/custom/form/form.component.esm +26 -0
- package/dist/shared/custom/form/index.cjs +1 -0
- package/dist/shared/custom/form/index.d.ts +17 -0
- package/dist/shared/custom/form/index.esm +2 -0
- package/dist/shared/custom/form/inputs/async-combobox.input.cjs +1 -0
- package/dist/shared/custom/form/inputs/async-combobox.input.d.ts +18 -0
- package/dist/shared/custom/form/inputs/async-combobox.input.esm +91 -0
- package/dist/shared/custom/form/inputs/async-multi-select.input.cjs +1 -0
- package/dist/shared/custom/form/inputs/async-multi-select.input.d.ts +20 -0
- package/dist/shared/custom/form/inputs/async-multi-select.input.esm +127 -0
- package/dist/shared/custom/form/inputs/async-select.input.cjs +1 -0
- package/dist/shared/custom/form/inputs/async-select.input.d.ts +15 -0
- package/dist/shared/custom/form/inputs/async-select.input.esm +71 -0
- package/dist/shared/custom/form/inputs/checkbox-inline.input.cjs +1 -0
- package/dist/shared/custom/form/inputs/checkbox-inline.input.d.ts +15 -0
- package/dist/shared/custom/form/inputs/checkbox-inline.input.esm +41 -0
- package/dist/shared/custom/form/inputs/checkbox.input.cjs +1 -0
- package/dist/shared/custom/form/inputs/checkbox.input.d.ts +21 -0
- package/dist/shared/custom/form/inputs/checkbox.input.esm +50 -0
- package/dist/shared/custom/form/inputs/code.input.cjs +1 -0
- package/dist/shared/custom/form/inputs/code.input.d.ts +11 -0
- package/dist/shared/custom/form/inputs/code.input.esm +58 -0
- package/dist/shared/custom/form/inputs/color.input.cjs +1 -0
- package/dist/shared/custom/form/inputs/color.input.d.ts +11 -0
- package/dist/shared/custom/form/inputs/color.input.esm +47 -0
- package/dist/shared/custom/form/inputs/combobox.input.cjs +1 -0
- package/dist/shared/custom/form/inputs/combobox.input.d.ts +18 -0
- package/dist/shared/custom/form/inputs/combobox.input.esm +73 -0
- package/dist/shared/custom/form/inputs/date.input.cjs +1 -0
- package/dist/shared/custom/form/inputs/date.input.d.ts +11 -0
- package/dist/shared/custom/form/inputs/date.input.esm +52 -0
- package/dist/shared/custom/form/inputs/email.input.cjs +1 -0
- package/dist/shared/custom/form/inputs/email.input.d.ts +12 -0
- package/dist/shared/custom/form/inputs/email.input.esm +47 -0
- package/dist/shared/custom/form/inputs/file.input.cjs +1 -0
- package/dist/shared/custom/form/inputs/file.input.d.ts +11 -0
- package/dist/shared/custom/form/inputs/file.input.esm +95 -0
- package/dist/shared/custom/form/inputs/image.input.cjs +1 -0
- package/dist/shared/custom/form/inputs/image.input.d.ts +11 -0
- package/dist/shared/custom/form/inputs/image.input.esm +90 -0
- package/dist/shared/custom/form/inputs/list-select.input.cjs +1 -0
- package/dist/shared/custom/form/inputs/list-select.input.d.ts +17 -0
- package/dist/shared/custom/form/inputs/list-select.input.esm +53 -0
- package/dist/shared/custom/form/inputs/secret.input.cjs +1 -0
- package/dist/shared/custom/form/inputs/secret.input.d.ts +11 -0
- package/dist/shared/custom/form/inputs/secret.input.esm +53 -0
- package/dist/shared/custom/form/inputs/select.input.cjs +1 -0
- package/dist/shared/custom/form/inputs/select.input.d.ts +17 -0
- package/dist/shared/custom/form/inputs/select.input.esm +44 -0
- package/dist/shared/custom/form/inputs/tags.input.cjs +1 -0
- package/dist/shared/custom/form/inputs/tags.input.d.ts +16 -0
- package/dist/shared/custom/form/inputs/tags.input.esm +80 -0
- package/dist/shared/custom/form/inputs/text.input.cjs +1 -0
- package/dist/shared/custom/form/inputs/text.input.d.ts +13 -0
- package/dist/shared/custom/form/inputs/text.input.esm +47 -0
- package/dist/shared/custom/form/inputs/textarea.input.cjs +1 -0
- package/dist/shared/custom/form/inputs/textarea.input.d.ts +12 -0
- package/dist/shared/custom/form/inputs/textarea.input.esm +36 -0
- package/dist/shared/custom/form/layout/form-dialog-layout.cjs +1 -0
- package/dist/shared/custom/form/layout/form-dialog-layout.d.ts +25 -0
- package/dist/shared/custom/form/layout/form-dialog-layout.esm +37 -0
- package/dist/shared/custom/form/layout/form-tab-layout.cjs +1 -0
- package/dist/shared/custom/form/layout/form-tab-layout.d.ts +30 -0
- package/dist/shared/custom/form/layout/form-tab-layout.esm +69 -0
- package/dist/shared/custom/hover/hover.cjs +1 -0
- package/dist/shared/custom/hover/hover.d.ts +6 -0
- package/dist/shared/custom/hover/hover.esm +20 -0
- package/dist/shared/custom/layouts/canvas-view.layout.cjs +1 -0
- package/dist/shared/custom/layouts/canvas-view.layout.d.ts +18 -0
- package/dist/shared/custom/layouts/canvas-view.layout.esm +15 -0
- package/dist/shared/custom/layouts/detail-tabs.layout.cjs +1 -0
- package/dist/shared/custom/layouts/detail-tabs.layout.d.ts +27 -0
- package/dist/shared/custom/layouts/detail-tabs.layout.esm +32 -0
- package/dist/shared/custom/layouts/detail-view.layout.cjs +1 -0
- package/dist/shared/custom/layouts/detail-view.layout.d.ts +33 -0
- package/dist/shared/custom/layouts/detail-view.layout.esm +64 -0
- package/dist/shared/custom/layouts/feedback.layout.cjs +1 -0
- package/dist/shared/custom/layouts/feedback.layout.d.ts +14 -0
- package/dist/shared/custom/layouts/feedback.layout.esm +20 -0
- package/dist/shared/custom/layouts/grid.layout.cjs +1 -0
- package/dist/shared/custom/layouts/grid.layout.d.ts +38 -0
- package/dist/shared/custom/layouts/grid.layout.esm +39 -0
- package/dist/shared/custom/layouts/page-container.cjs +1 -0
- package/dist/shared/custom/layouts/page-container.d.ts +6 -0
- package/dist/shared/custom/layouts/page-container.esm +12 -0
- package/dist/shared/custom/ui/icon-box.cjs +1 -0
- package/dist/shared/custom/ui/icon-box.d.ts +12 -0
- package/dist/shared/custom/ui/icon-box.esm +21 -0
- package/dist/shared/custom/ui/typography.cjs +1 -0
- package/dist/shared/custom/ui/typography.d.ts +11 -0
- package/dist/shared/custom/ui/typography.esm +30 -0
- package/dist/shared/hooks/use-device.cjs +1 -0
- package/dist/shared/hooks/use-device.d.ts +10 -0
- package/dist/shared/hooks/use-device.esm +37 -0
- package/dist/shared/hooks/use-i18n.cjs +1 -0
- package/dist/shared/hooks/use-i18n.d.ts +10 -0
- package/dist/shared/hooks/use-i18n.esm +15 -0
- package/dist/shared/hooks/use-mobile.cjs +1 -0
- package/dist/shared/hooks/use-mobile.d.ts +1 -0
- package/dist/shared/hooks/use-mobile.esm +14 -0
- package/dist/shared/lib/utils.cjs +1 -0
- package/dist/shared/lib/utils.d.ts +2 -0
- package/dist/shared/lib/utils.esm +8 -0
- package/dist/shared/logic/action/action-processor.cjs +1 -0
- package/dist/shared/logic/action/action-processor.d.ts +86 -0
- package/dist/shared/logic/action/action-processor.esm +30 -0
- package/dist/shared/logic/components/components.registry.cjs +1 -0
- package/dist/shared/logic/components/components.registry.d.ts +16 -0
- package/dist/shared/logic/components/components.registry.esm +26 -0
- package/dist/shared/logic/events/startable.cjs +1 -0
- package/dist/shared/logic/events/startable.d.ts +7 -0
- package/dist/shared/logic/events/startable.esm +32 -0
- package/dist/shared/logic/events/use-on-start.hook.cjs +1 -0
- package/dist/shared/logic/events/use-on-start.hook.d.ts +12 -0
- package/dist/shared/logic/events/use-on-start.hook.esm +15 -0
- package/dist/shared/logic/factory/component.factory.cjs +1 -0
- package/dist/shared/logic/factory/component.factory.d.ts +9 -0
- package/dist/shared/logic/factory/component.factory.esm +28 -0
- package/dist/shared/logic/guards/builder-device.guard.cjs +1 -0
- package/dist/shared/logic/guards/builder-device.guard.d.ts +5 -0
- package/dist/shared/logic/guards/builder-device.guard.esm +10 -0
- package/dist/shared/logic/guards/component.guard.cjs +1 -0
- package/dist/shared/logic/guards/component.guard.d.ts +5 -0
- package/dist/shared/logic/guards/component.guard.esm +13 -0
- package/dist/shared/logic/guards/context.guard.cjs +1 -0
- package/dist/shared/logic/guards/context.guard.d.ts +13 -0
- package/dist/shared/logic/guards/context.guard.esm +9 -0
- package/dist/shared/logic/guards/device-artifact.guard.cjs +1 -0
- package/dist/shared/logic/guards/device-artifact.guard.d.ts +16 -0
- package/dist/shared/logic/guards/device-artifact.guard.esm +44 -0
- package/dist/shared/logic/guards/device.guard.cjs +1 -0
- package/dist/shared/logic/guards/device.guard.d.ts +17 -0
- package/dist/shared/logic/guards/device.guard.esm +40 -0
- package/dist/shared/logic/guards/dynamic-device.guard.cjs +1 -0
- package/dist/shared/logic/guards/dynamic-device.guard.d.ts +5 -0
- package/dist/shared/logic/guards/dynamic-device.guard.esm +10 -0
- package/dist/shared/logic/guards/guard.cjs +1 -0
- package/dist/shared/logic/guards/guard.d.ts +24 -0
- package/dist/shared/logic/guards/guard.esm +18 -0
- package/dist/shared/logic/service/base.service.cjs +1 -0
- package/dist/shared/logic/service/base.service.d.ts +3 -0
- package/dist/shared/logic/service/base.service.esm +5 -0
- package/dist/shared/logic/verifiers/context.verifier.cjs +1 -0
- package/dist/shared/logic/verifiers/context.verifier.d.ts +7 -0
- package/dist/shared/logic/verifiers/context.verifier.esm +31 -0
- package/dist/shared/logic/verifiers/device.verifier.registry.cjs +1 -0
- package/dist/shared/logic/verifiers/device.verifier.registry.d.ts +13 -0
- package/dist/shared/logic/verifiers/device.verifier.registry.esm +36 -0
- package/dist/shared/logic/verifiers/enum.verifier.cjs +1 -0
- package/dist/shared/logic/verifiers/enum.verifier.d.ts +4 -0
- package/dist/shared/logic/verifiers/enum.verifier.esm +9 -0
- package/dist/shared/logic/verifiers/value.verifier.cjs +1 -0
- package/dist/shared/logic/verifiers/value.verifier.d.ts +5 -0
- package/dist/shared/logic/verifiers/value.verifier.esm +9 -0
- package/dist/shared/ui/badge.cjs +1 -0
- package/dist/shared/ui/badge.d.ts +9 -0
- package/dist/shared/ui/badge.esm +27 -0
- package/dist/shared/ui/breadcrumb.cjs +1 -0
- package/dist/shared/ui/breadcrumb.d.ts +11 -0
- package/dist/shared/ui/breadcrumb.esm +70 -0
- package/dist/shared/ui/button.cjs +1 -0
- package/dist/shared/ui/button.d.ts +11 -0
- package/dist/shared/ui/button.esm +47 -0
- package/dist/shared/ui/calendar.cjs +1 -0
- package/dist/shared/ui/calendar.d.ts +10 -0
- package/dist/shared/ui/calendar.esm +92 -0
- package/dist/shared/ui/card.cjs +1 -0
- package/dist/shared/ui/card.d.ts +11 -0
- package/dist/shared/ui/card.esm +56 -0
- package/dist/shared/ui/checkbox.cjs +1 -0
- package/dist/shared/ui/checkbox.d.ts +4 -0
- package/dist/shared/ui/checkbox.esm +20 -0
- package/dist/shared/ui/combobox.cjs +1 -0
- package/dist/shared/ui/combobox.d.ts +24 -0
- package/dist/shared/ui/combobox.esm +163 -0
- package/dist/shared/ui/command.cjs +1 -0
- package/dist/shared/ui/command.d.ts +18 -0
- package/dist/shared/ui/command.esm +87 -0
- package/dist/shared/ui/custom/dynamic-icon.cjs +1 -0
- package/dist/shared/ui/custom/dynamic-icon.d.ts +13 -0
- package/dist/shared/ui/custom/dynamic-icon.esm +15 -0
- package/dist/shared/ui/dialog.cjs +1 -0
- package/dist/shared/ui/dialog.d.ts +17 -0
- package/dist/shared/ui/dialog.esm +95 -0
- package/dist/shared/ui/field.cjs +1 -0
- package/dist/shared/ui/field.d.ts +24 -0
- package/dist/shared/ui/field.esm +107 -0
- package/dist/shared/ui/icon-button.cjs +1 -0
- package/dist/shared/ui/icon-button.d.ts +6 -0
- package/dist/shared/ui/icon-button.esm +14 -0
- package/dist/shared/ui/index.cjs +1 -0
- package/dist/shared/ui/index.d.ts +23 -0
- package/dist/shared/ui/index.esm +24 -0
- package/dist/shared/ui/input-group.cjs +1 -0
- package/dist/shared/ui/input-group.d.ts +16 -0
- package/dist/shared/ui/input-group.esm +77 -0
- package/dist/shared/ui/input.cjs +1 -0
- package/dist/shared/ui/input.d.ts +3 -0
- package/dist/shared/ui/input.esm +14 -0
- package/dist/shared/ui/label.cjs +1 -0
- package/dist/shared/ui/label.d.ts +4 -0
- package/dist/shared/ui/label.esm +14 -0
- package/dist/shared/ui/popover.cjs +1 -0
- package/dist/shared/ui/popover.d.ts +7 -0
- package/dist/shared/ui/popover.esm +35 -0
- package/dist/shared/ui/scroll-area.cjs +1 -0
- package/dist/shared/ui/scroll-area.d.ts +5 -0
- package/dist/shared/ui/scroll-area.esm +36 -0
- package/dist/shared/ui/select.cjs +1 -0
- package/dist/shared/ui/select.d.ts +15 -0
- package/dist/shared/ui/select.esm +99 -0
- package/dist/shared/ui/separator.cjs +1 -0
- package/dist/shared/ui/separator.d.ts +4 -0
- package/dist/shared/ui/separator.esm +16 -0
- package/dist/shared/ui/sheet.cjs +1 -0
- package/dist/shared/ui/sheet.d.ts +14 -0
- package/dist/shared/ui/sheet.esm +89 -0
- package/dist/shared/ui/sidebar.cjs +1 -0
- package/dist/shared/ui/sidebar.d.ts +69 -0
- package/dist/shared/ui/sidebar.esm +348 -0
- package/dist/shared/ui/skeleton.cjs +1 -0
- package/dist/shared/ui/skeleton.d.ts +2 -0
- package/dist/shared/ui/skeleton.esm +12 -0
- package/dist/shared/ui/sonner.cjs +1 -0
- package/dist/shared/ui/sonner.d.ts +3 -0
- package/dist/shared/ui/sonner.esm +29 -0
- package/dist/shared/ui/table.cjs +1 -0
- package/dist/shared/ui/table.d.ts +10 -0
- package/dist/shared/ui/table.esm +66 -0
- package/dist/shared/ui/tabs.cjs +1 -0
- package/dist/shared/ui/tabs.d.ts +11 -0
- package/dist/shared/ui/tabs.esm +45 -0
- package/dist/shared/ui/textarea.cjs +1 -0
- package/dist/shared/ui/textarea.d.ts +3 -0
- package/dist/shared/ui/textarea.esm +13 -0
- package/dist/shared/ui/tooltip.cjs +1 -0
- package/dist/shared/ui/tooltip.d.ts +7 -0
- package/dist/shared/ui/tooltip.esm +36 -0
- package/dist/sheet.d.ts +2 -0
- package/dist/sheets.connector.d.ts +2 -0
- package/dist/sheets.service.d.ts +2 -0
- package/dist/sidebar.d.ts +2 -0
- package/dist/skeleton.d.ts +2 -0
- package/dist/social-icons.d.ts +2 -0
- package/dist/sonner.d.ts +2 -0
- package/dist/sortable.d.ts +2 -0
- package/dist/sqlite.service.d.ts +6 -0
- package/dist/startable.d.ts +4 -0
- package/dist/storage.service.d.ts +4 -0
- package/dist/store.hook.d.ts +4 -0
- package/dist/store.service.d.ts +4 -0
- package/dist/table.d.ts +2 -0
- package/dist/tabs.d.ts +2 -0
- package/dist/tags.input.d.ts +4 -0
- package/dist/test.entity.d.ts +2 -0
- package/dist/test.repo.service.d.ts +6 -0
- package/dist/text-coder.service.d.ts +2 -0
- package/dist/text.input.d.ts +4 -0
- package/dist/textarea.d.ts +2 -0
- package/dist/textarea.input.d.ts +4 -0
- package/dist/theme-builder.d.ts +2 -0
- package/dist/theme-provider.d.ts +2 -0
- package/dist/theme-toggle.d.ts +2 -0
- package/dist/tooltip.d.ts +2 -0
- package/dist/tron-assets.service.d.ts +2 -0
- package/dist/tron-wallet.entity.d.ts +2 -0
- package/dist/tron-wallet.repo.d.ts +2 -0
- package/dist/tron.service.d.ts +2 -0
- package/dist/tron.types.d.ts +1 -0
- package/dist/types.d.ts +1 -0
- package/dist/typography.d.ts +2 -0
- package/dist/use-confirm.d.ts +2 -0
- package/dist/use-device.d.ts +2 -0
- package/dist/use-i18n.d.ts +2 -0
- package/dist/use-mobile.d.ts +2 -0
- package/dist/use-on-start.hook.d.ts +2 -0
- package/dist/utils.d.ts +2 -0
- package/dist/value.verifier.d.ts +4 -0
- package/package.json +155 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { SHA512 as e } from "crypto-js";
|
|
2
|
+
//#region src/packages/crypto/crypto.service.ts
|
|
3
|
+
var t = class t {
|
|
4
|
+
static get instance() {
|
|
5
|
+
return t._instance ||= new t(), t._instance;
|
|
6
|
+
}
|
|
7
|
+
hash(t) {
|
|
8
|
+
return e(t);
|
|
9
|
+
}
|
|
10
|
+
compare(e, t) {
|
|
11
|
+
let n = this.hash(e), r = typeof t == "string" ? t : t.toString();
|
|
12
|
+
return n.toString() === r;
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
t._instance = void 0;
|
|
16
|
+
//#endregion
|
|
17
|
+
export { t as CryptoService };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./crypto.service.cjs`);exports.CryptoService=e.CryptoService;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './crypto.service';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require(`../../_virtual/_rolldown/runtime.cjs`);let e=require(`@dnd-kit/react`),t=require(`react/jsx-runtime`);function n({children:n}){return(0,t.jsx)(e.DragDropProvider,{children:n})}exports.DnDProvider=n;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DragDropProvider as e } from "@dnd-kit/react";
|
|
2
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
3
|
+
//#region src/packages/dnd/dnd.provider.tsx
|
|
4
|
+
function n({ children: n }) {
|
|
5
|
+
return /* @__PURE__ */ t(e, { children: n });
|
|
6
|
+
}
|
|
7
|
+
//#endregion
|
|
8
|
+
export { n as DnDProvider };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require(`../../_virtual/_rolldown/runtime.cjs`);let e=require(`@dnd-kit/react`),t=require(`react/jsx-runtime`);function n({id:n,children:r}){let{ref:i}=(0,e.useDraggable)({id:n});return(0,t.jsx)(`div`,{ref:i,children:r})}exports.Draggeable=n;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { useDraggable as e } from "@dnd-kit/react";
|
|
2
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
3
|
+
//#region src/packages/dnd/draggeable.tsx
|
|
4
|
+
function n({ id: n, children: r }) {
|
|
5
|
+
let { ref: i } = e({ id: n });
|
|
6
|
+
return /* @__PURE__ */ t("div", {
|
|
7
|
+
ref: i,
|
|
8
|
+
children: r
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
export { n as Draggeable };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`../../_virtual/_rolldown/runtime.cjs`);let t=require(`@dnd-kit/react`),n=require(`react/jsx-runtime`),r=require(`react`);r=e.__toESM(r);function i({id:e,children:r,className:i}){let{ref:a,isDropTarget:o}=(0,t.useDroppable)({id:e});return(0,n.jsx)(`div`,{ref:a,className:`${i||``} ${o?`ring-2 ring-primary bg-primary/5`:``} transition-all`,children:r})}exports.Droppable=i;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
interface DroppableProps {
|
|
3
|
+
id: string;
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
className?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare function Droppable({ id, children, className }: DroppableProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { useDroppable as e } from "@dnd-kit/react";
|
|
2
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
3
|
+
import "react";
|
|
4
|
+
//#region src/packages/dnd/droppable.tsx
|
|
5
|
+
function n({ id: n, children: r, className: i }) {
|
|
6
|
+
let { ref: a, isDropTarget: o } = e({ id: n });
|
|
7
|
+
return /* @__PURE__ */ t("div", {
|
|
8
|
+
ref: a,
|
|
9
|
+
className: `${i || ""} ${o ? "ring-2 ring-primary bg-primary/5" : ""} transition-all`,
|
|
10
|
+
children: r
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
//#endregion
|
|
14
|
+
export { n as Droppable };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require(`../../_virtual/_rolldown/runtime.cjs`);let e=require(`@dnd-kit/react`),t=require(`react/jsx-runtime`);function n({id:n,children:r,className:i}){let{ref:a}=(0,e.useDroppable)({id:n});return(0,t.jsx)(`div`,{ref:a,className:`${i}`,children:r})}exports.Droppable=n;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { useDroppable as e } from "@dnd-kit/react";
|
|
2
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
3
|
+
//#region src/packages/dnd/droppeable.tsx
|
|
4
|
+
function n({ id: n, children: r, className: i }) {
|
|
5
|
+
let { ref: a } = e({ id: n });
|
|
6
|
+
return /* @__PURE__ */ t("div", {
|
|
7
|
+
ref: a,
|
|
8
|
+
className: `${i}`,
|
|
9
|
+
children: r
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
//#endregion
|
|
13
|
+
export { n as Droppable };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`../../_virtual/_rolldown/runtime.cjs`);let t=require(`react/jsx-runtime`),n=require(`react`);n=e.__toESM(n);let r=require(`@dnd-kit/react/sortable`);function i({id:e,index:n,children:i,className:a,onClick:o,isSelected:s}){let{ref:c,isDragging:l,isDropTarget:u}=(0,r.useSortable)({id:e,index:n});return(0,t.jsx)(`div`,{ref:c,onClick:o,className:`${a||``} ${l?`opacity-50 ring-2 ring-primary shadow-lg z-10`:``} ${u?`ring-2 ring-secondary`:``} ${s?`ring-2 ring-blue-500 z-20`:``} relative transition-all duration-200`,children:i})}exports.SortableItem=i;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
interface SortableItemProps {
|
|
3
|
+
id: string;
|
|
4
|
+
index: number;
|
|
5
|
+
children: React.ReactNode;
|
|
6
|
+
className?: string;
|
|
7
|
+
onClick?: (e: React.MouseEvent) => void;
|
|
8
|
+
isSelected?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare function SortableItem({ id, index, children, className, onClick, isSelected }: SortableItemProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import { useSortable as t } from "@dnd-kit/react/sortable";
|
|
4
|
+
//#region src/packages/dnd/sortable.tsx
|
|
5
|
+
function n({ id: n, index: r, children: i, className: a, onClick: o, isSelected: s }) {
|
|
6
|
+
let { ref: c, isDragging: l, isDropTarget: u } = t({
|
|
7
|
+
id: n,
|
|
8
|
+
index: r
|
|
9
|
+
});
|
|
10
|
+
return /* @__PURE__ */ e("div", {
|
|
11
|
+
ref: c,
|
|
12
|
+
onClick: o,
|
|
13
|
+
className: `${a || ""} ${l ? "opacity-50 ring-2 ring-primary shadow-lg z-10" : ""} ${u ? "ring-2 ring-secondary" : ""} ${s ? "ring-2 ring-blue-500 z-20" : ""} relative transition-all duration-200`,
|
|
14
|
+
children: i
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
//#endregion
|
|
18
|
+
export { n as SortableItem };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`../logger/logger.cjs`);function t(e,t){if(!{}.hasOwnProperty.call(e,t))throw TypeError(`attempted to use private field on non-instance`);return e}var n=0;function r(e){return`__private_`+ n+++`_`+e}var i=e.GLOBAL_LOGGER.child(`EnvManager`),a=r(`_env`),o=new class{constructor(){Object.defineProperty(this,a,{writable:!0,value:new Map}),i.time(`init`,e=>{for(let e in{BASE_URL:`/`,DEV:!1,MODE:`production`,PROD:!0,SSR:!1,VITE_DEVICE:``,VITE_GOOGLE_MAPS_API_KEY:`[API KEY]`,VITE_MAIN_URL:`http://localhost:3000/`,VITE_THEME:`neon`})t(this,a)[a].set(e,{BASE_URL:`/`,DEV:!1,MODE:`production`,PROD:!0,SSR:!1,VITE_DEVICE:``,VITE_GOOGLE_MAPS_API_KEY:`[API KEY]`,VITE_MAIN_URL:`http://localhost:3000/`,VITE_THEME:`neon`}[e]);e.debug(`Variables iniciales cargadas: ${t(this,a)[a].size}`)})}optional(e,n){return t(this,a)[a].has(e)?i.success(`Variable [${e}] identificada correctamente`):(i.warn(`Variable [${e}] no definida. Usando valor por defecto:`,n),t(this,a)[a].set(e,n)),t(this,a)[a].get(e)}required(e){if(t(this,a)[a].has(e))i.success(`Variable requerida [${e}] identificada correctamente`);else{let t=Error(`Required environment variable ${e} is not defined`);throw i.error(`Falta variable vital [${e}]!`,t),t}return t(this,a)[a].get(e)}append(e,n){if(t(this,a)[a].has(e)){let t=Error(`Environment variable ${e} is already defined`);throw i.error(`Conflicto al añadir [${e}]`,t),t}return t(this,a)[a].set(e,n),i.info(`Añadida nueva variable variable manual: [${e}]`),t(this,a)[a].get(e)}get(e){return t(this,a)[a].get(e)||(i.debug(`Variable [${e}] solicitada pero vacía o indefinida`),null)}audit(e){i.group(`Audit: Environment Variables`,()=>{e&&this.get(`DEBUG`)?i.info(`Volcado de entorno detallado`,Object.fromEntries(t(this,a)[a])):i.info(`Total variables en memoria: ${t(this,a)[a].size}`)})}};exports.ENV_MANAGER=o;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
declare class EnvManager {
|
|
2
|
+
#private;
|
|
3
|
+
constructor();
|
|
4
|
+
optional<T>(key: string, defaultValue: T): any;
|
|
5
|
+
required(key: string): any;
|
|
6
|
+
append<T>(key: string, value: T): any;
|
|
7
|
+
get<T>(key: string): T | null;
|
|
8
|
+
audit(debug?: boolean): void;
|
|
9
|
+
}
|
|
10
|
+
declare const ENV_MANAGER: EnvManager;
|
|
11
|
+
export { ENV_MANAGER };
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { GLOBAL_LOGGER as e } from "../logger/logger.esm";
|
|
2
|
+
//#region src/packages/env/env.manager.ts
|
|
3
|
+
function t(e, t) {
|
|
4
|
+
if (!{}.hasOwnProperty.call(e, t)) throw TypeError("attempted to use private field on non-instance");
|
|
5
|
+
return e;
|
|
6
|
+
}
|
|
7
|
+
var n = 0;
|
|
8
|
+
function r(e) {
|
|
9
|
+
return "__private_" + n++ + "_" + e;
|
|
10
|
+
}
|
|
11
|
+
var i = e.child("EnvManager"), a = /* @__PURE__ */ r("_env"), o = new class {
|
|
12
|
+
constructor() {
|
|
13
|
+
Object.defineProperty(this, a, {
|
|
14
|
+
writable: !0,
|
|
15
|
+
value: /* @__PURE__ */ new Map()
|
|
16
|
+
}), i.time("init", (e) => {
|
|
17
|
+
for (let e in {
|
|
18
|
+
BASE_URL: "/",
|
|
19
|
+
DEV: !1,
|
|
20
|
+
MODE: "production",
|
|
21
|
+
PROD: !0,
|
|
22
|
+
SSR: !1,
|
|
23
|
+
VITE_DEVICE: "",
|
|
24
|
+
VITE_GOOGLE_MAPS_API_KEY: "[API KEY]",
|
|
25
|
+
VITE_MAIN_URL: "http://localhost:3000/",
|
|
26
|
+
VITE_THEME: "neon"
|
|
27
|
+
}) t(this, a)[a].set(e, {
|
|
28
|
+
BASE_URL: "/",
|
|
29
|
+
DEV: !1,
|
|
30
|
+
MODE: "production",
|
|
31
|
+
PROD: !0,
|
|
32
|
+
SSR: !1,
|
|
33
|
+
VITE_DEVICE: "",
|
|
34
|
+
VITE_GOOGLE_MAPS_API_KEY: "[API KEY]",
|
|
35
|
+
VITE_MAIN_URL: "http://localhost:3000/",
|
|
36
|
+
VITE_THEME: "neon"
|
|
37
|
+
}[e]);
|
|
38
|
+
e.debug(`Variables iniciales cargadas: ${t(this, a)[a].size}`);
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
optional(e, n) {
|
|
42
|
+
return t(this, a)[a].has(e) ? i.success(`Variable [${e}] identificada correctamente`) : (i.warn(`Variable [${e}] no definida. Usando valor por defecto:`, n), t(this, a)[a].set(e, n)), t(this, a)[a].get(e);
|
|
43
|
+
}
|
|
44
|
+
required(e) {
|
|
45
|
+
if (t(this, a)[a].has(e)) i.success(`Variable requerida [${e}] identificada correctamente`);
|
|
46
|
+
else {
|
|
47
|
+
let t = /* @__PURE__ */ Error(`Required environment variable ${e} is not defined`);
|
|
48
|
+
throw i.error(`Falta variable vital [${e}]!`, t), t;
|
|
49
|
+
}
|
|
50
|
+
return t(this, a)[a].get(e);
|
|
51
|
+
}
|
|
52
|
+
append(e, n) {
|
|
53
|
+
if (t(this, a)[a].has(e)) {
|
|
54
|
+
let t = /* @__PURE__ */ Error(`Environment variable ${e} is already defined`);
|
|
55
|
+
throw i.error(`Conflicto al añadir [${e}]`, t), t;
|
|
56
|
+
}
|
|
57
|
+
return t(this, a)[a].set(e, n), i.info(`Añadida nueva variable variable manual: [${e}]`), t(this, a)[a].get(e);
|
|
58
|
+
}
|
|
59
|
+
get(e) {
|
|
60
|
+
return t(this, a)[a].get(e) || (i.debug(`Variable [${e}] solicitada pero vacía o indefinida`), null);
|
|
61
|
+
}
|
|
62
|
+
audit(e) {
|
|
63
|
+
i.group("Audit: Environment Variables", () => {
|
|
64
|
+
e && this.get("DEBUG") ? i.info("Volcado de entorno detallado", Object.fromEntries(t(this, a)[a])) : i.info(`Total variables en memoria: ${t(this, a)[a].size}`);
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
}();
|
|
68
|
+
//#endregion
|
|
69
|
+
export { o as ENV_MANAGER };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./env.manager.cjs`);exports.ENV_MANAGER=e.ENV_MANAGER;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './env.manager';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require(`../../_virtual/_rolldown/runtime.cjs`);let e=require(`react/jsx-runtime`),t=require(`react`),n=require(`@xyflow/react`);function r({nodes:r=[],edges:i=[],onNodesChange:a,onEdgesChange:o,onConnect:s,nodeTypes:c,edgeTypes:l,config:u,defaultEdgeOptions:d,children:f,...p}){let[m,h,g]=(0,n.useNodesState)(r),[_,v,y]=(0,n.useEdgesState)(i);(0,t.useEffect)(()=>{h(r)},[r,h]),(0,t.useEffect)(()=>{v(i)},[i,v]);let b=(0,t.useCallback)(e=>{if(s)return s(e);v(t=>(0,n.addEdge)(e,t))},[s,v]),x=(0,t.useMemo)(()=>({zoomOnScroll:u?.zoomOnScroll??!0,panOnDrag:u?.panOnDrag??!0,fitView:u?.fitView??!0}),[u]);return(0,e.jsx)(`div`,{className:`h-full w-full rft-flow-canvas`,children:(0,e.jsx)(n.ReactFlowProvider,{children:(0,e.jsxs)(n.ReactFlow,{nodes:m,edges:_,onNodesChange:a||g,onEdgesChange:o||y,onConnect:b,nodeTypes:c,edgeTypes:l,defaultEdgeOptions:d,...x,...p,children:[(0,e.jsx)(n.Background,{color:`var(--border)`,gap:20}),(0,e.jsx)(n.Controls,{className:`fill-foreground`}),(0,e.jsx)(n.MiniMap,{nodeColor:e=>e.type===`input`?`var(--primary)`:`var(--border)`,maskColor:`rgba(0, 0, 0, 0.1)`,className:`bg-background border border-border`}),f]})})})}exports.FlowRenderer=r;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ReactFlowProps } from '@xyflow/react';
|
|
2
|
+
import { FlowRendererConfig } from './flow.types';
|
|
3
|
+
/**
|
|
4
|
+
* FLOW_RENDERER_PROPS
|
|
5
|
+
*/
|
|
6
|
+
interface FlowRendererProps extends Omit<ReactFlowProps, 'nodes' | 'edges'> {
|
|
7
|
+
nodes?: any[];
|
|
8
|
+
edges?: any[];
|
|
9
|
+
config?: FlowRendererConfig;
|
|
10
|
+
children?: React.ReactNode;
|
|
11
|
+
}
|
|
12
|
+
export declare function FlowRenderer({ nodes: initialNodes, edges: initialEdges, onNodesChange: externalOnNodesChange, onEdgesChange: externalOnEdgesChange, onConnect: externalOnConnect, nodeTypes, edgeTypes, config, defaultEdgeOptions, children, ...rest }: FlowRendererProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { jsx as e, jsxs as t } from "react/jsx-runtime";
|
|
2
|
+
import { useCallback as n, useEffect as r, useMemo as i } from "react";
|
|
3
|
+
import { Background as a, Controls as o, MiniMap as s, ReactFlow as c, ReactFlowProvider as l, addEdge as u, useEdgesState as d, useNodesState as f } from "@xyflow/react";
|
|
4
|
+
//#region src/packages/flow/flow.renderer.tsx
|
|
5
|
+
function p({ nodes: p = [], edges: m = [], onNodesChange: h, onEdgesChange: g, onConnect: _, nodeTypes: v, edgeTypes: y, config: b, defaultEdgeOptions: x, children: S, ...C }) {
|
|
6
|
+
let [w, T, E] = f(p), [D, O, k] = d(m);
|
|
7
|
+
r(() => {
|
|
8
|
+
T(p);
|
|
9
|
+
}, [p, T]), r(() => {
|
|
10
|
+
O(m);
|
|
11
|
+
}, [m, O]);
|
|
12
|
+
let A = n((e) => {
|
|
13
|
+
if (_) return _(e);
|
|
14
|
+
O((t) => u(e, t));
|
|
15
|
+
}, [_, O]), j = i(() => ({
|
|
16
|
+
zoomOnScroll: b?.zoomOnScroll ?? !0,
|
|
17
|
+
panOnDrag: b?.panOnDrag ?? !0,
|
|
18
|
+
fitView: b?.fitView ?? !0
|
|
19
|
+
}), [b]);
|
|
20
|
+
return /* @__PURE__ */ e("div", {
|
|
21
|
+
className: "h-full w-full rft-flow-canvas",
|
|
22
|
+
children: /* @__PURE__ */ e(l, { children: /* @__PURE__ */ t(c, {
|
|
23
|
+
nodes: w,
|
|
24
|
+
edges: D,
|
|
25
|
+
onNodesChange: h || E,
|
|
26
|
+
onEdgesChange: g || k,
|
|
27
|
+
onConnect: A,
|
|
28
|
+
nodeTypes: v,
|
|
29
|
+
edgeTypes: y,
|
|
30
|
+
defaultEdgeOptions: x,
|
|
31
|
+
...j,
|
|
32
|
+
...C,
|
|
33
|
+
children: [
|
|
34
|
+
/* @__PURE__ */ e(a, {
|
|
35
|
+
color: "var(--border)",
|
|
36
|
+
gap: 20
|
|
37
|
+
}),
|
|
38
|
+
/* @__PURE__ */ e(o, { className: "fill-foreground" }),
|
|
39
|
+
/* @__PURE__ */ e(s, {
|
|
40
|
+
nodeColor: (e) => e.type === "input" ? "var(--primary)" : "var(--border)",
|
|
41
|
+
maskColor: "rgba(0, 0, 0, 0.1)",
|
|
42
|
+
className: "bg-background border border-border"
|
|
43
|
+
}),
|
|
44
|
+
S
|
|
45
|
+
]
|
|
46
|
+
}) })
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
//#endregion
|
|
50
|
+
export { p as FlowRenderer };
|
|
File without changes
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Node, Edge, NodeProps, Position, Connection } from '@xyflow/react';
|
|
2
|
+
/**
|
|
3
|
+
* RFT Flow Type definitions
|
|
4
|
+
*/
|
|
5
|
+
export interface RFTHandle {
|
|
6
|
+
id: string;
|
|
7
|
+
type: 'source' | 'target';
|
|
8
|
+
position: Position;
|
|
9
|
+
isValidConnection?: (connection: Connection) => boolean;
|
|
10
|
+
style?: React.CSSProperties;
|
|
11
|
+
className?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface RFTNodeData extends Record<string, unknown> {
|
|
14
|
+
label: string;
|
|
15
|
+
icon?: React.ReactNode;
|
|
16
|
+
description?: string;
|
|
17
|
+
status?: 'idle' | 'running' | 'success' | 'error';
|
|
18
|
+
handles?: RFTHandle[];
|
|
19
|
+
children?: React.ReactNode;
|
|
20
|
+
}
|
|
21
|
+
export type RFTNode = Node<RFTNodeData>;
|
|
22
|
+
export type RFTEdge = Edge;
|
|
23
|
+
export interface FlowRendererConfig {
|
|
24
|
+
zoomOnScroll?: boolean;
|
|
25
|
+
panOnDrag?: boolean;
|
|
26
|
+
fitView?: boolean;
|
|
27
|
+
initialNodes?: RFTNode[];
|
|
28
|
+
initialEdges?: RFTEdge[];
|
|
29
|
+
}
|
|
30
|
+
export type RFTNodeComponentProps = NodeProps<RFTNode>;
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require(`../../../_virtual/_rolldown/runtime.cjs`);let t=require(`qrcode`);t=e.__toESM(t);var n=new class{async generateQrCode(e){return await t.default.toDataURL(e,{color:{dark:`#000000`,light:`#00c287`},errorCorrectionLevel:`H`,type:`image/webp`,margin:1,scale:10})}};module.exports=n;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import e from "qrcode";
|
|
2
|
+
var t = new class {
|
|
3
|
+
async generateQrCode(t) {
|
|
4
|
+
return await e.toDataURL(t, {
|
|
5
|
+
color: {
|
|
6
|
+
dark: "#000000",
|
|
7
|
+
light: "#00c287"
|
|
8
|
+
},
|
|
9
|
+
errorCorrectionLevel: "H",
|
|
10
|
+
type: "image/webp",
|
|
11
|
+
margin: 1,
|
|
12
|
+
scale: 10
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
}();
|
|
16
|
+
//#endregion
|
|
17
|
+
export { t as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require(`../../../_virtual/_rolldown/runtime.cjs`);const e=require(`./qr.encoder.service.cjs`);let t=require(`react/jsx-runtime`),n=require(`react`);function r({text:r}){let[i,a]=(0,n.useState)(null);return e.generateQrCode(r).then(e=>{a(e)}),i?(0,t.jsx)(`img`,{src:i,alt:`QR Code`,className:`w-20 h-20`}):(0,t.jsx)(`div`,{children:`Loading...`})}module.exports=r;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import e from "./qr.encoder.service.esm";
|
|
2
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
3
|
+
import { useState as n } from "react";
|
|
4
|
+
//#region src/packages/formatters/qr-code/qr.renderer.tsx
|
|
5
|
+
function r({ text: r }) {
|
|
6
|
+
let [i, a] = n(null);
|
|
7
|
+
return e.generateQrCode(r).then((e) => {
|
|
8
|
+
a(e);
|
|
9
|
+
}), i ? /* @__PURE__ */ t("img", {
|
|
10
|
+
src: i,
|
|
11
|
+
alt: "QR Code",
|
|
12
|
+
className: "w-20 h-20"
|
|
13
|
+
}) : /* @__PURE__ */ t("div", { children: "Loading..." });
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
export { r as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});function e(e,t){if(!{}.hasOwnProperty.call(e,t))throw TypeError(`attempted to use private field on non-instance`);return e}var t=0;function n(e){return`__private_`+ t+++`_`+e}var r=n(`instance`),i=n(`encoder`),a=n(`decoder`),o=class t{static get instance(){return e(t,r)[r]||(e(t,r)[r]=new t),e(t,r)[r]}constructor(){Object.defineProperty(this,i,{writable:!0,value:new TextEncoder}),Object.defineProperty(this,a,{writable:!0,value:new TextDecoder})}StringToBytes(t){return e(this,i)[i].encode(t)}BytesToString(t){return e(this,a)[a].decode(new Uint8Array(t))}};Object.defineProperty(o,r,{writable:!0,value:void 0});var s=o.instance;exports.TEXT_CODER_SERVICE=s;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare class TextCoderService {
|
|
2
|
+
#private;
|
|
3
|
+
static get instance(): TextCoderService;
|
|
4
|
+
private constructor();
|
|
5
|
+
StringToBytes(text: string): Uint8Array<ArrayBuffer>;
|
|
6
|
+
BytesToString(bytes: number[]): string;
|
|
7
|
+
}
|
|
8
|
+
export declare const TEXT_CODER_SERVICE: TextCoderService;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
//#region src/packages/formatters/text-code/text-coder.service.ts
|
|
2
|
+
function e(e, t) {
|
|
3
|
+
if (!{}.hasOwnProperty.call(e, t)) throw TypeError("attempted to use private field on non-instance");
|
|
4
|
+
return e;
|
|
5
|
+
}
|
|
6
|
+
var t = 0;
|
|
7
|
+
function n(e) {
|
|
8
|
+
return "__private_" + t++ + "_" + e;
|
|
9
|
+
}
|
|
10
|
+
var r = /* @__PURE__ */ n("instance"), i = /* @__PURE__ */ n("encoder"), a = /* @__PURE__ */ n("decoder"), o = class t {
|
|
11
|
+
static get instance() {
|
|
12
|
+
return e(t, r)[r] || (e(t, r)[r] = new t()), e(t, r)[r];
|
|
13
|
+
}
|
|
14
|
+
constructor() {
|
|
15
|
+
Object.defineProperty(this, i, {
|
|
16
|
+
writable: !0,
|
|
17
|
+
value: new TextEncoder()
|
|
18
|
+
}), Object.defineProperty(this, a, {
|
|
19
|
+
writable: !0,
|
|
20
|
+
value: new TextDecoder()
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
StringToBytes(t) {
|
|
24
|
+
return e(this, i)[i].encode(t);
|
|
25
|
+
}
|
|
26
|
+
BytesToString(t) {
|
|
27
|
+
return e(this, a)[a].decode(new Uint8Array(t));
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
Object.defineProperty(o, r, {
|
|
31
|
+
writable: !0,
|
|
32
|
+
value: void 0
|
|
33
|
+
});
|
|
34
|
+
var s = o.instance;
|
|
35
|
+
//#endregion
|
|
36
|
+
export { s as TEXT_CODER_SERVICE };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require(`../../_virtual/_rolldown/runtime.cjs`),t=require(`./language-toggle.cjs`);let n=require(`i18next`);n=e.__toESM(n);let r=require(`react-i18next`),i=require(`i18next-browser-languagedetector`);i=e.__toESM(i),n.default.use(i.default).use(r.initReactI18next).init({fallbackLng:`es`,debug:!1,interpolation:{escapeValue:!1},resources:{}});var a=(e,t)=>{Object.keys(t).forEach(r=>{n.default.addResourceBundle(r,e,t[r],!0,!0)})},o=n.default;exports.LanguageToggle=t.LanguageToggle,exports.LanguageToggleButton=t.LanguageToggleButton,exports.default=o,exports.registerTranslations=a;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { default as i18n } from 'i18next';
|
|
2
|
+
/**
|
|
3
|
+
* Agrega recursos de traducción de forma dinámica.
|
|
4
|
+
* Útil para cargar traducciones por módulo en la capa de App.
|
|
5
|
+
*/
|
|
6
|
+
export declare const registerTranslations: (namespace: string, resources: {
|
|
7
|
+
[key: string]: any;
|
|
8
|
+
}) => void;
|
|
9
|
+
export { LanguageToggle, LanguageToggleButton } from './language-toggle';
|
|
10
|
+
export default i18n;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { LanguageToggle as e, LanguageToggleButton as t } from "./language-toggle.esm";
|
|
2
|
+
import n from "i18next";
|
|
3
|
+
import { initReactI18next as r } from "react-i18next";
|
|
4
|
+
import i from "i18next-browser-languagedetector";
|
|
5
|
+
//#region src/packages/i18n/index.ts
|
|
6
|
+
n.use(i).use(r).init({
|
|
7
|
+
fallbackLng: "es",
|
|
8
|
+
debug: !1,
|
|
9
|
+
interpolation: { escapeValue: !1 },
|
|
10
|
+
resources: {}
|
|
11
|
+
});
|
|
12
|
+
var a = (e, t) => {
|
|
13
|
+
Object.keys(t).forEach((r) => {
|
|
14
|
+
n.addResourceBundle(r, e, t[r], !0, !0);
|
|
15
|
+
});
|
|
16
|
+
}, o = n;
|
|
17
|
+
//#endregion
|
|
18
|
+
export { e as LanguageToggle, t as LanguageToggleButton, o as default, a as registerTranslations };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require(`../../_virtual/_rolldown/runtime.cjs`);const e=require(`../../shared/hooks/use-i18n.cjs`),t=require(`../../shared/ui/button.cjs`),n=require(`../../shared/ui/select.cjs`);let r=require(`react/jsx-runtime`),i=require(`lucide-react`);function a(){let{currentLanguage:t,changeLanguage:a}=e.useI18n();return(0,r.jsx)(`div`,{className:`flex items-center gap-2`,children:(0,r.jsxs)(n.Select,{value:t,onValueChange:a,children:[(0,r.jsxs)(n.SelectTrigger,{className:`w-[110px] bg-card/40 backdrop-blur-md border-border/40 rounded-xl h-9`,children:[(0,r.jsx)(i.Languages,{className:`size-4 mr-2 opacity-70`}),(0,r.jsx)(n.SelectValue,{placeholder:`Idioma`})]}),(0,r.jsxs)(n.SelectContent,{className:`bg-card/90 backdrop-blur-xl border-border/40 rounded-xl min-w-[140px]`,children:[(0,r.jsx)(n.SelectItem,{value:`es`,className:`rounded-lg cursor-pointer py-2`,children:(0,r.jsx)(`span`,{className:`flex items-center gap-2`,children:`🇪🇸 Español`})}),(0,r.jsx)(n.SelectItem,{value:`en`,className:`rounded-lg cursor-pointer py-2`,children:(0,r.jsx)(`span`,{className:`flex items-center gap-2`,children:`🇺🇸 English`})}),(0,r.jsx)(n.SelectItem,{value:`fr`,className:`rounded-lg cursor-pointer py-2 opacity-50`,children:(0,r.jsx)(`span`,{className:`flex items-center gap-2`,children:`🇫🇷 Français`})}),(0,r.jsx)(n.SelectItem,{value:`pt`,className:`rounded-lg cursor-pointer py-2 opacity-50`,children:(0,r.jsx)(`span`,{className:`flex items-center gap-2`,children:`🇧🇷 Português`})})]})]})})}function o(){let{currentLanguage:n,changeLanguage:a}=e.useI18n();return(0,r.jsxs)(t.Button,{variant:`ghost`,size:`sm`,onClick:()=>{a(n===`es`?`en`:`es`)},className:`rounded-full px-3 gap-2 hover:bg-primary/10 transition-all active:scale-95`,children:[(0,r.jsx)(i.Languages,{className:`size-4`}),(0,r.jsx)(`span`,{className:`text-xs font-bold uppercase`,children:n})]})}exports.LanguageToggle=a,exports.LanguageToggleButton=o;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Componente de cambio de idioma.
|
|
3
|
+
* Proporciona una interfaz elegante para alternar entre idiomas soportados.
|
|
4
|
+
*/
|
|
5
|
+
export declare function LanguageToggle(): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
/**
|
|
7
|
+
* Versión simplificada (Botón Toggle) para espacios reducidos.
|
|
8
|
+
*/
|
|
9
|
+
export declare function LanguageToggleButton(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { useI18n as e } from "../../shared/hooks/use-i18n.esm";
|
|
2
|
+
import { Button as t } from "../../shared/ui/button.esm";
|
|
3
|
+
import { Select as n, SelectContent as r, SelectItem as i, SelectTrigger as a, SelectValue as o } from "../../shared/ui/select.esm";
|
|
4
|
+
import { jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
5
|
+
import { Languages as l } from "lucide-react";
|
|
6
|
+
//#region src/packages/i18n/language-toggle.tsx
|
|
7
|
+
function u() {
|
|
8
|
+
let { currentLanguage: t, changeLanguage: u } = e();
|
|
9
|
+
return /* @__PURE__ */ s("div", {
|
|
10
|
+
className: "flex items-center gap-2",
|
|
11
|
+
children: /* @__PURE__ */ c(n, {
|
|
12
|
+
value: t,
|
|
13
|
+
onValueChange: u,
|
|
14
|
+
children: [/* @__PURE__ */ c(a, {
|
|
15
|
+
className: "w-[110px] bg-card/40 backdrop-blur-md border-border/40 rounded-xl h-9",
|
|
16
|
+
children: [/* @__PURE__ */ s(l, { className: "size-4 mr-2 opacity-70" }), /* @__PURE__ */ s(o, { placeholder: "Idioma" })]
|
|
17
|
+
}), /* @__PURE__ */ c(r, {
|
|
18
|
+
className: "bg-card/90 backdrop-blur-xl border-border/40 rounded-xl min-w-[140px]",
|
|
19
|
+
children: [
|
|
20
|
+
/* @__PURE__ */ s(i, {
|
|
21
|
+
value: "es",
|
|
22
|
+
className: "rounded-lg cursor-pointer py-2",
|
|
23
|
+
children: /* @__PURE__ */ s("span", {
|
|
24
|
+
className: "flex items-center gap-2",
|
|
25
|
+
children: "🇪🇸 Español"
|
|
26
|
+
})
|
|
27
|
+
}),
|
|
28
|
+
/* @__PURE__ */ s(i, {
|
|
29
|
+
value: "en",
|
|
30
|
+
className: "rounded-lg cursor-pointer py-2",
|
|
31
|
+
children: /* @__PURE__ */ s("span", {
|
|
32
|
+
className: "flex items-center gap-2",
|
|
33
|
+
children: "🇺🇸 English"
|
|
34
|
+
})
|
|
35
|
+
}),
|
|
36
|
+
/* @__PURE__ */ s(i, {
|
|
37
|
+
value: "fr",
|
|
38
|
+
className: "rounded-lg cursor-pointer py-2 opacity-50",
|
|
39
|
+
children: /* @__PURE__ */ s("span", {
|
|
40
|
+
className: "flex items-center gap-2",
|
|
41
|
+
children: "🇫🇷 Français"
|
|
42
|
+
})
|
|
43
|
+
}),
|
|
44
|
+
/* @__PURE__ */ s(i, {
|
|
45
|
+
value: "pt",
|
|
46
|
+
className: "rounded-lg cursor-pointer py-2 opacity-50",
|
|
47
|
+
children: /* @__PURE__ */ s("span", {
|
|
48
|
+
className: "flex items-center gap-2",
|
|
49
|
+
children: "🇧🇷 Português"
|
|
50
|
+
})
|
|
51
|
+
})
|
|
52
|
+
]
|
|
53
|
+
})]
|
|
54
|
+
})
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
function d() {
|
|
58
|
+
let { currentLanguage: n, changeLanguage: r } = e();
|
|
59
|
+
return /* @__PURE__ */ c(t, {
|
|
60
|
+
variant: "ghost",
|
|
61
|
+
size: "sm",
|
|
62
|
+
onClick: () => {
|
|
63
|
+
r(n === "es" ? "en" : "es");
|
|
64
|
+
},
|
|
65
|
+
className: "rounded-full px-3 gap-2 hover:bg-primary/10 transition-all active:scale-95",
|
|
66
|
+
children: [/* @__PURE__ */ s(l, { className: "size-4" }), /* @__PURE__ */ s("span", {
|
|
67
|
+
className: "text-xs font-bold uppercase",
|
|
68
|
+
children: n
|
|
69
|
+
})]
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
//#endregion
|
|
73
|
+
export { u as LanguageToggle, d as LanguageToggleButton };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./registry.cjs`);var t=class{constructor(e){this.config=void 0,this.config={name:e,keyPath:`id`,autoIncrement:!1,indexes:[]}}setKeyPath(e){return this.config.keyPath=e,this}setAutoIncrement(e=!0){return this.config.autoIncrement=e,this}addIndex(e,t,n){let r={name:e,keyPath:t,unique:n?.unique??!1,multiEntry:n?.multiEntry??!1};return this.config.indexes?.push(r),this}build(){return{...this.config}}register(){return e.INDEXEDDB_REGISTRY.register(this.build())}};exports.StoreBuilder=t;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ObjectStoreConfig } from './types';
|
|
2
|
+
export declare class StoreBuilder {
|
|
3
|
+
private config;
|
|
4
|
+
constructor(name: string);
|
|
5
|
+
setKeyPath(keyPath: string): this;
|
|
6
|
+
setAutoIncrement(enabled?: boolean): this;
|
|
7
|
+
addIndex(name: string, keyPath: string | string[], options?: {
|
|
8
|
+
unique?: boolean;
|
|
9
|
+
multiEntry?: boolean;
|
|
10
|
+
}): this;
|
|
11
|
+
build(): ObjectStoreConfig;
|
|
12
|
+
register(): ObjectStoreConfig;
|
|
13
|
+
}
|