@ezpg/app-ui 0.0.0-stage → 0.2.0
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/CHANGELOG.md +26 -0
- package/LICENSE +20 -0
- package/lib/module/blocks/brand-profile-card/brand-profile-card.js +88 -0
- package/lib/module/blocks/brand-profile-card/brand-profile-card.js.map +1 -0
- package/lib/module/blocks/brand-profile-card/index.js +4 -0
- package/lib/module/blocks/brand-profile-card/index.js.map +1 -0
- package/lib/module/blocks/bulk-ship-list/bulk-ship-list.js +190 -0
- package/lib/module/blocks/bulk-ship-list/bulk-ship-list.js.map +1 -0
- package/lib/module/blocks/bulk-ship-list/index.js +4 -0
- package/lib/module/blocks/bulk-ship-list/index.js.map +1 -0
- package/lib/module/blocks/claim-row/claim-row.js +106 -0
- package/lib/module/blocks/claim-row/claim-row.js.map +1 -0
- package/lib/module/blocks/claim-row/index.js +4 -0
- package/lib/module/blocks/claim-row/index.js.map +1 -0
- package/lib/module/blocks/color-swatch-picker/color-swatch-picker.js +122 -0
- package/lib/module/blocks/color-swatch-picker/color-swatch-picker.js.map +1 -0
- package/lib/module/blocks/color-swatch-picker/index.js +4 -0
- package/lib/module/blocks/color-swatch-picker/index.js.map +1 -0
- package/lib/module/blocks/copy-variant-picker/copy-variant-picker.js +140 -0
- package/lib/module/blocks/copy-variant-picker/copy-variant-picker.js.map +1 -0
- package/lib/module/blocks/copy-variant-picker/index.js +4 -0
- package/lib/module/blocks/copy-variant-picker/index.js.map +1 -0
- package/lib/module/blocks/credit-wallet/credit-wallet.js +121 -0
- package/lib/module/blocks/credit-wallet/credit-wallet.js.map +1 -0
- package/lib/module/blocks/credit-wallet/index.js +4 -0
- package/lib/module/blocks/credit-wallet/index.js.map +1 -0
- package/lib/module/blocks/generation-progress/generation-progress.js +157 -0
- package/lib/module/blocks/generation-progress/generation-progress.js.map +1 -0
- package/lib/module/blocks/generation-progress/index.js +4 -0
- package/lib/module/blocks/generation-progress/index.js.map +1 -0
- package/lib/module/blocks/image-grid/image-grid.js +277 -0
- package/lib/module/blocks/image-grid/image-grid.js.map +1 -0
- package/lib/module/blocks/image-grid/index.js +4 -0
- package/lib/module/blocks/image-grid/index.js.map +1 -0
- package/lib/module/blocks/index.js +25 -0
- package/lib/module/blocks/index.js.map +1 -0
- package/lib/module/blocks/internal/card.js +80 -0
- package/lib/module/blocks/internal/card.js.map +1 -0
- package/lib/module/blocks/internal/format.js +19 -0
- package/lib/module/blocks/internal/format.js.map +1 -0
- package/lib/module/blocks/invoice-row/index.js +4 -0
- package/lib/module/blocks/invoice-row/index.js.map +1 -0
- package/lib/module/blocks/invoice-row/invoice-row.js +99 -0
- package/lib/module/blocks/invoice-row/invoice-row.js.map +1 -0
- package/lib/module/blocks/logo-candidate-grid/index.js +4 -0
- package/lib/module/blocks/logo-candidate-grid/index.js.map +1 -0
- package/lib/module/blocks/logo-candidate-grid/logo-candidate-grid.js +115 -0
- package/lib/module/blocks/logo-candidate-grid/logo-candidate-grid.js.map +1 -0
- package/lib/module/blocks/oauth-buttons/index.js +4 -0
- package/lib/module/blocks/oauth-buttons/index.js.map +1 -0
- package/lib/module/blocks/oauth-buttons/oauth-buttons.js +99 -0
- package/lib/module/blocks/oauth-buttons/oauth-buttons.js.map +1 -0
- package/lib/module/blocks/option-editor/index.js +4 -0
- package/lib/module/blocks/option-editor/index.js.map +1 -0
- package/lib/module/blocks/option-editor/option-editor.js +143 -0
- package/lib/module/blocks/option-editor/option-editor.js.map +1 -0
- package/lib/module/blocks/order-card/index.js +4 -0
- package/lib/module/blocks/order-card/index.js.map +1 -0
- package/lib/module/blocks/order-card/order-card.js +151 -0
- package/lib/module/blocks/order-card/order-card.js.map +1 -0
- package/lib/module/blocks/plan-card/index.js +4 -0
- package/lib/module/blocks/plan-card/index.js.map +1 -0
- package/lib/module/blocks/plan-card/plan-card.js +138 -0
- package/lib/module/blocks/plan-card/plan-card.js.map +1 -0
- package/lib/module/blocks/product-list-empty/index.js +4 -0
- package/lib/module/blocks/product-list-empty/index.js.map +1 -0
- package/lib/module/blocks/product-list-empty/product-list-empty.js +153 -0
- package/lib/module/blocks/product-list-empty/product-list-empty.js.map +1 -0
- package/lib/module/blocks/review-row/index.js +4 -0
- package/lib/module/blocks/review-row/index.js.map +1 -0
- package/lib/module/blocks/review-row/review-row.js +276 -0
- package/lib/module/blocks/review-row/review-row.js.map +1 -0
- package/lib/module/blocks/sales-chart/index.js +4 -0
- package/lib/module/blocks/sales-chart/index.js.map +1 -0
- package/lib/module/blocks/sales-chart/sales-chart.js +124 -0
- package/lib/module/blocks/sales-chart/sales-chart.js.map +1 -0
- package/lib/module/blocks/selection-bar/index.js +4 -0
- package/lib/module/blocks/selection-bar/index.js.map +1 -0
- package/lib/module/blocks/selection-bar/selection-bar.js +69 -0
- package/lib/module/blocks/selection-bar/selection-bar.js.map +1 -0
- package/lib/module/blocks/service-state-banner/index.js +4 -0
- package/lib/module/blocks/service-state-banner/index.js.map +1 -0
- package/lib/module/blocks/service-state-banner/service-state-banner.js +70 -0
- package/lib/module/blocks/service-state-banner/service-state-banner.js.map +1 -0
- package/lib/module/blocks/shipping-tracking-row/index.js +4 -0
- package/lib/module/blocks/shipping-tracking-row/index.js.map +1 -0
- package/lib/module/blocks/shipping-tracking-row/shipping-tracking-row.js +114 -0
- package/lib/module/blocks/shipping-tracking-row/shipping-tracking-row.js.map +1 -0
- package/lib/module/blocks/site-preview-frame/index.js +4 -0
- package/lib/module/blocks/site-preview-frame/index.js.map +1 -0
- package/lib/module/blocks/site-preview-frame/site-preview-frame.js +121 -0
- package/lib/module/blocks/site-preview-frame/site-preview-frame.js.map +1 -0
- package/lib/module/blocks/stat-card/index.js +4 -0
- package/lib/module/blocks/stat-card/index.js.map +1 -0
- package/lib/module/blocks/stat-card/stat-card.js +69 -0
- package/lib/module/blocks/stat-card/stat-card.js.map +1 -0
- package/lib/module/blocks/step-screen/index.js +4 -0
- package/lib/module/blocks/step-screen/index.js.map +1 -0
- package/lib/module/blocks/step-screen/step-screen.js +132 -0
- package/lib/module/blocks/step-screen/step-screen.js.map +1 -0
- package/lib/module/blocks/supply-item-card/index.js +4 -0
- package/lib/module/blocks/supply-item-card/index.js.map +1 -0
- package/lib/module/blocks/supply-item-card/supply-item-card.js +145 -0
- package/lib/module/blocks/supply-item-card/supply-item-card.js.map +1 -0
- package/lib/module/charts/index.js +5 -0
- package/lib/module/charts/index.js.map +1 -0
- package/lib/module/charts/line-chart.js +124 -0
- package/lib/module/charts/line-chart.js.map +1 -0
- package/lib/module/charts/scale.js +39 -0
- package/lib/module/charts/scale.js.map +1 -0
- package/lib/module/charts/sparkline.js +49 -0
- package/lib/module/charts/sparkline.js.map +1 -0
- package/lib/module/charts/summary.js +10 -0
- package/lib/module/charts/summary.js.map +1 -0
- package/lib/module/charts.js +5 -0
- package/lib/module/charts.js.map +1 -0
- package/lib/module/components/button/button.js +122 -0
- package/lib/module/components/button/button.js.map +1 -0
- package/lib/module/components/button/index.js +4 -0
- package/lib/module/components/button/index.js.map +1 -0
- package/lib/module/components/checkbox/checkbox.js +72 -0
- package/lib/module/components/checkbox/checkbox.js.map +1 -0
- package/lib/module/components/checkbox/index.js +4 -0
- package/lib/module/components/checkbox/index.js.map +1 -0
- package/lib/module/components/chip/chip.js +82 -0
- package/lib/module/components/chip/chip.js.map +1 -0
- package/lib/module/components/chip/index.js +4 -0
- package/lib/module/components/chip/index.js.map +1 -0
- package/lib/module/components/chip-group/chip-group.js +56 -0
- package/lib/module/components/chip-group/chip-group.js.map +1 -0
- package/lib/module/components/chip-group/index.js +4 -0
- package/lib/module/components/chip-group/index.js.map +1 -0
- package/lib/module/components/dialog/dialog.js +116 -0
- package/lib/module/components/dialog/dialog.js.map +1 -0
- package/lib/module/components/dialog/index.js +4 -0
- package/lib/module/components/dialog/index.js.map +1 -0
- package/lib/module/components/divider/divider.js +20 -0
- package/lib/module/components/divider/divider.js.map +1 -0
- package/lib/module/components/divider/index.js +4 -0
- package/lib/module/components/divider/index.js.map +1 -0
- package/lib/module/components/empty-state/empty-state.js +116 -0
- package/lib/module/components/empty-state/empty-state.js.map +1 -0
- package/lib/module/components/empty-state/index.js +4 -0
- package/lib/module/components/empty-state/index.js.map +1 -0
- package/lib/module/components/field/field.js +172 -0
- package/lib/module/components/field/field.js.map +1 -0
- package/lib/module/components/field/index.js +4 -0
- package/lib/module/components/field/index.js.map +1 -0
- package/lib/module/components/list-row/index.js +4 -0
- package/lib/module/components/list-row/index.js.map +1 -0
- package/lib/module/components/list-row/list-row.js +97 -0
- package/lib/module/components/list-row/list-row.js.map +1 -0
- package/lib/module/components/photo/index.js +4 -0
- package/lib/module/components/photo/index.js.map +1 -0
- package/lib/module/components/photo/photo.js +65 -0
- package/lib/module/components/photo/photo.js.map +1 -0
- package/lib/module/components/price/index.js +4 -0
- package/lib/module/components/price/index.js.map +1 -0
- package/lib/module/components/price/price.js +70 -0
- package/lib/module/components/price/price.js.map +1 -0
- package/lib/module/components/progress-bar/index.js +4 -0
- package/lib/module/components/progress-bar/index.js.map +1 -0
- package/lib/module/components/progress-bar/progress-bar.js +92 -0
- package/lib/module/components/progress-bar/progress-bar.js.map +1 -0
- package/lib/module/components/search-field/index.js +4 -0
- package/lib/module/components/search-field/index.js.map +1 -0
- package/lib/module/components/search-field/search-field.js +35 -0
- package/lib/module/components/search-field/search-field.js.map +1 -0
- package/lib/module/components/segmented-tabs/index.js +4 -0
- package/lib/module/components/segmented-tabs/index.js.map +1 -0
- package/lib/module/components/segmented-tabs/segmented-tabs.js +74 -0
- package/lib/module/components/segmented-tabs/segmented-tabs.js.map +1 -0
- package/lib/module/components/sheet/index.js +4 -0
- package/lib/module/components/sheet/index.js.map +1 -0
- package/lib/module/components/sheet/sheet.js +97 -0
- package/lib/module/components/sheet/sheet.js.map +1 -0
- package/lib/module/components/skeleton/index.js +4 -0
- package/lib/module/components/skeleton/index.js.map +1 -0
- package/lib/module/components/skeleton/skeleton.js +48 -0
- package/lib/module/components/skeleton/skeleton.js.map +1 -0
- package/lib/module/components/status-badge/index.js +4 -0
- package/lib/module/components/status-badge/index.js.map +1 -0
- package/lib/module/components/status-badge/status-badge.js +48 -0
- package/lib/module/components/status-badge/status-badge.js.map +1 -0
- package/lib/module/components/switch/index.js +4 -0
- package/lib/module/components/switch/index.js.map +1 -0
- package/lib/module/components/switch/switch.js +27 -0
- package/lib/module/components/switch/switch.js.map +1 -0
- package/lib/module/components/text/index.js +4 -0
- package/lib/module/components/text/index.js.map +1 -0
- package/lib/module/components/text/text.js +56 -0
- package/lib/module/components/text/text.js.map +1 -0
- package/lib/module/components/toast/index.js +4 -0
- package/lib/module/components/toast/index.js.map +1 -0
- package/lib/module/components/toast/toast.js +195 -0
- package/lib/module/components/toast/toast.js.map +1 -0
- package/lib/module/components/wizard-steps/index.js +4 -0
- package/lib/module/components/wizard-steps/index.js.map +1 -0
- package/lib/module/components/wizard-steps/wizard-steps.js +67 -0
- package/lib/module/components/wizard-steps/wizard-steps.js.map +1 -0
- package/lib/module/index.js +32 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/internal/glyphs.js +196 -0
- package/lib/module/internal/glyphs.js.map +1 -0
- package/lib/module/internal/icon.js +6 -0
- package/lib/module/internal/icon.js.map +1 -0
- package/lib/module/internal/overlay.js +55 -0
- package/lib/module/internal/overlay.js.map +1 -0
- package/lib/module/internal/pressable-base.js +39 -0
- package/lib/module/internal/pressable-base.js.map +1 -0
- package/lib/module/internal/use-reduced-motion.js +27 -0
- package/lib/module/internal/use-reduced-motion.js.map +1 -0
- package/lib/module/package.json +1 -0
- package/lib/module/sortable/index.js +6 -0
- package/lib/module/sortable/index.js.map +1 -0
- package/lib/module/sortable/move.js +10 -0
- package/lib/module/sortable/move.js.map +1 -0
- package/lib/module/sortable/sortable-grid.js +80 -0
- package/lib/module/sortable/sortable-grid.js.map +1 -0
- package/lib/module/sortable/sortable-list.js +15 -0
- package/lib/module/sortable/sortable-list.js.map +1 -0
- package/lib/module/sortable.js +6 -0
- package/lib/module/sortable.js.map +1 -0
- package/lib/module/theme/create-theme.js +50 -0
- package/lib/module/theme/create-theme.js.map +1 -0
- package/lib/module/theme/theme-provider.js +24 -0
- package/lib/module/theme/theme-provider.js.map +1 -0
- package/lib/module/theme/tokens.js +122 -0
- package/lib/module/theme/tokens.js.map +1 -0
- package/lib/module/types/index.js +4 -0
- package/lib/module/types/index.js.map +1 -0
- package/lib/module/utils/color.js +25 -0
- package/lib/module/utils/color.js.map +1 -0
- package/lib/module/utils/styles.js +17 -0
- package/lib/module/utils/styles.js.map +1 -0
- package/lib/typescript/package.json +1 -0
- package/lib/typescript/src/blocks/brand-profile-card/brand-profile-card.d.ts +13 -0
- package/lib/typescript/src/blocks/brand-profile-card/brand-profile-card.d.ts.map +1 -0
- package/lib/typescript/src/blocks/brand-profile-card/index.d.ts +2 -0
- package/lib/typescript/src/blocks/brand-profile-card/index.d.ts.map +1 -0
- package/lib/typescript/src/blocks/bulk-ship-list/bulk-ship-list.d.ts +24 -0
- package/lib/typescript/src/blocks/bulk-ship-list/bulk-ship-list.d.ts.map +1 -0
- package/lib/typescript/src/blocks/bulk-ship-list/index.d.ts +2 -0
- package/lib/typescript/src/blocks/bulk-ship-list/index.d.ts.map +1 -0
- package/lib/typescript/src/blocks/claim-row/claim-row.d.ts +15 -0
- package/lib/typescript/src/blocks/claim-row/claim-row.d.ts.map +1 -0
- package/lib/typescript/src/blocks/claim-row/index.d.ts +2 -0
- package/lib/typescript/src/blocks/claim-row/index.d.ts.map +1 -0
- package/lib/typescript/src/blocks/color-swatch-picker/color-swatch-picker.d.ts +14 -0
- package/lib/typescript/src/blocks/color-swatch-picker/color-swatch-picker.d.ts.map +1 -0
- package/lib/typescript/src/blocks/color-swatch-picker/index.d.ts +2 -0
- package/lib/typescript/src/blocks/color-swatch-picker/index.d.ts.map +1 -0
- package/lib/typescript/src/blocks/copy-variant-picker/copy-variant-picker.d.ts +18 -0
- package/lib/typescript/src/blocks/copy-variant-picker/copy-variant-picker.d.ts.map +1 -0
- package/lib/typescript/src/blocks/copy-variant-picker/index.d.ts +2 -0
- package/lib/typescript/src/blocks/copy-variant-picker/index.d.ts.map +1 -0
- package/lib/typescript/src/blocks/credit-wallet/credit-wallet.d.ts +12 -0
- package/lib/typescript/src/blocks/credit-wallet/credit-wallet.d.ts.map +1 -0
- package/lib/typescript/src/blocks/credit-wallet/index.d.ts +2 -0
- package/lib/typescript/src/blocks/credit-wallet/index.d.ts.map +1 -0
- package/lib/typescript/src/blocks/generation-progress/generation-progress.d.ts +17 -0
- package/lib/typescript/src/blocks/generation-progress/generation-progress.d.ts.map +1 -0
- package/lib/typescript/src/blocks/generation-progress/index.d.ts +2 -0
- package/lib/typescript/src/blocks/generation-progress/index.d.ts.map +1 -0
- package/lib/typescript/src/blocks/image-grid/image-grid.d.ts +18 -0
- package/lib/typescript/src/blocks/image-grid/image-grid.d.ts.map +1 -0
- package/lib/typescript/src/blocks/image-grid/index.d.ts +2 -0
- package/lib/typescript/src/blocks/image-grid/index.d.ts.map +1 -0
- package/lib/typescript/src/blocks/index.d.ts +23 -0
- package/lib/typescript/src/blocks/index.d.ts.map +1 -0
- package/lib/typescript/src/blocks/internal/card.d.ts +11 -0
- package/lib/typescript/src/blocks/internal/card.d.ts.map +1 -0
- package/lib/typescript/src/blocks/internal/format.d.ts +4 -0
- package/lib/typescript/src/blocks/internal/format.d.ts.map +1 -0
- package/lib/typescript/src/blocks/invoice-row/index.d.ts +2 -0
- package/lib/typescript/src/blocks/invoice-row/index.d.ts.map +1 -0
- package/lib/typescript/src/blocks/invoice-row/invoice-row.d.ts +15 -0
- package/lib/typescript/src/blocks/invoice-row/invoice-row.d.ts.map +1 -0
- package/lib/typescript/src/blocks/logo-candidate-grid/index.d.ts +2 -0
- package/lib/typescript/src/blocks/logo-candidate-grid/index.d.ts.map +1 -0
- package/lib/typescript/src/blocks/logo-candidate-grid/logo-candidate-grid.d.ts +15 -0
- package/lib/typescript/src/blocks/logo-candidate-grid/logo-candidate-grid.d.ts.map +1 -0
- package/lib/typescript/src/blocks/oauth-buttons/index.d.ts +2 -0
- package/lib/typescript/src/blocks/oauth-buttons/index.d.ts.map +1 -0
- package/lib/typescript/src/blocks/oauth-buttons/oauth-buttons.d.ts +13 -0
- package/lib/typescript/src/blocks/oauth-buttons/oauth-buttons.d.ts.map +1 -0
- package/lib/typescript/src/blocks/option-editor/index.d.ts +2 -0
- package/lib/typescript/src/blocks/option-editor/index.d.ts.map +1 -0
- package/lib/typescript/src/blocks/option-editor/option-editor.d.ts +18 -0
- package/lib/typescript/src/blocks/option-editor/option-editor.d.ts.map +1 -0
- package/lib/typescript/src/blocks/order-card/index.d.ts +2 -0
- package/lib/typescript/src/blocks/order-card/index.d.ts.map +1 -0
- package/lib/typescript/src/blocks/order-card/order-card.d.ts +36 -0
- package/lib/typescript/src/blocks/order-card/order-card.d.ts.map +1 -0
- package/lib/typescript/src/blocks/plan-card/index.d.ts +2 -0
- package/lib/typescript/src/blocks/plan-card/index.d.ts.map +1 -0
- package/lib/typescript/src/blocks/plan-card/plan-card.d.ts +25 -0
- package/lib/typescript/src/blocks/plan-card/plan-card.d.ts.map +1 -0
- package/lib/typescript/src/blocks/product-list-empty/index.d.ts +2 -0
- package/lib/typescript/src/blocks/product-list-empty/index.d.ts.map +1 -0
- package/lib/typescript/src/blocks/product-list-empty/product-list-empty.d.ts +16 -0
- package/lib/typescript/src/blocks/product-list-empty/product-list-empty.d.ts.map +1 -0
- package/lib/typescript/src/blocks/review-row/index.d.ts +2 -0
- package/lib/typescript/src/blocks/review-row/index.d.ts.map +1 -0
- package/lib/typescript/src/blocks/review-row/review-row.d.ts +25 -0
- package/lib/typescript/src/blocks/review-row/review-row.d.ts.map +1 -0
- package/lib/typescript/src/blocks/sales-chart/index.d.ts +2 -0
- package/lib/typescript/src/blocks/sales-chart/index.d.ts.map +1 -0
- package/lib/typescript/src/blocks/sales-chart/sales-chart.d.ts +15 -0
- package/lib/typescript/src/blocks/sales-chart/sales-chart.d.ts.map +1 -0
- package/lib/typescript/src/blocks/selection-bar/index.d.ts +2 -0
- package/lib/typescript/src/blocks/selection-bar/index.d.ts.map +1 -0
- package/lib/typescript/src/blocks/selection-bar/selection-bar.d.ts +12 -0
- package/lib/typescript/src/blocks/selection-bar/selection-bar.d.ts.map +1 -0
- package/lib/typescript/src/blocks/service-state-banner/index.d.ts +2 -0
- package/lib/typescript/src/blocks/service-state-banner/index.d.ts.map +1 -0
- package/lib/typescript/src/blocks/service-state-banner/service-state-banner.d.ts +12 -0
- package/lib/typescript/src/blocks/service-state-banner/service-state-banner.d.ts.map +1 -0
- package/lib/typescript/src/blocks/shipping-tracking-row/index.d.ts +2 -0
- package/lib/typescript/src/blocks/shipping-tracking-row/index.d.ts.map +1 -0
- package/lib/typescript/src/blocks/shipping-tracking-row/shipping-tracking-row.d.ts +11 -0
- package/lib/typescript/src/blocks/shipping-tracking-row/shipping-tracking-row.d.ts.map +1 -0
- package/lib/typescript/src/blocks/site-preview-frame/index.d.ts +2 -0
- package/lib/typescript/src/blocks/site-preview-frame/index.d.ts.map +1 -0
- package/lib/typescript/src/blocks/site-preview-frame/site-preview-frame.d.ts +16 -0
- package/lib/typescript/src/blocks/site-preview-frame/site-preview-frame.d.ts.map +1 -0
- package/lib/typescript/src/blocks/stat-card/index.d.ts +2 -0
- package/lib/typescript/src/blocks/stat-card/index.d.ts.map +1 -0
- package/lib/typescript/src/blocks/stat-card/stat-card.d.ts +12 -0
- package/lib/typescript/src/blocks/stat-card/stat-card.d.ts.map +1 -0
- package/lib/typescript/src/blocks/step-screen/index.d.ts +2 -0
- package/lib/typescript/src/blocks/step-screen/index.d.ts.map +1 -0
- package/lib/typescript/src/blocks/step-screen/step-screen.d.ts +20 -0
- package/lib/typescript/src/blocks/step-screen/step-screen.d.ts.map +1 -0
- package/lib/typescript/src/blocks/supply-item-card/index.d.ts +2 -0
- package/lib/typescript/src/blocks/supply-item-card/index.d.ts.map +1 -0
- package/lib/typescript/src/blocks/supply-item-card/supply-item-card.d.ts +24 -0
- package/lib/typescript/src/blocks/supply-item-card/supply-item-card.d.ts.map +1 -0
- package/lib/typescript/src/charts/index.d.ts +3 -0
- package/lib/typescript/src/charts/index.d.ts.map +1 -0
- package/lib/typescript/src/charts/line-chart.d.ts +17 -0
- package/lib/typescript/src/charts/line-chart.d.ts.map +1 -0
- package/lib/typescript/src/charts/scale.d.ts +10 -0
- package/lib/typescript/src/charts/scale.d.ts.map +1 -0
- package/lib/typescript/src/charts/sparkline.d.ts +11 -0
- package/lib/typescript/src/charts/sparkline.d.ts.map +1 -0
- package/lib/typescript/src/charts/summary.d.ts +2 -0
- package/lib/typescript/src/charts/summary.d.ts.map +1 -0
- package/lib/typescript/src/charts.d.ts +3 -0
- package/lib/typescript/src/charts.d.ts.map +1 -0
- package/lib/typescript/src/components/button/button.d.ts +15 -0
- package/lib/typescript/src/components/button/button.d.ts.map +1 -0
- package/lib/typescript/src/components/button/index.d.ts +2 -0
- package/lib/typescript/src/components/button/index.d.ts.map +1 -0
- package/lib/typescript/src/components/checkbox/checkbox.d.ts +8 -0
- package/lib/typescript/src/components/checkbox/checkbox.d.ts.map +1 -0
- package/lib/typescript/src/components/checkbox/index.d.ts +2 -0
- package/lib/typescript/src/components/checkbox/index.d.ts.map +1 -0
- package/lib/typescript/src/components/chip/chip.d.ts +10 -0
- package/lib/typescript/src/components/chip/chip.d.ts.map +1 -0
- package/lib/typescript/src/components/chip/index.d.ts +2 -0
- package/lib/typescript/src/components/chip/index.d.ts.map +1 -0
- package/lib/typescript/src/components/chip-group/chip-group.d.ts +26 -0
- package/lib/typescript/src/components/chip-group/chip-group.d.ts.map +1 -0
- package/lib/typescript/src/components/chip-group/index.d.ts +2 -0
- package/lib/typescript/src/components/chip-group/index.d.ts.map +1 -0
- package/lib/typescript/src/components/dialog/dialog.d.ts +13 -0
- package/lib/typescript/src/components/dialog/dialog.d.ts.map +1 -0
- package/lib/typescript/src/components/dialog/index.d.ts +2 -0
- package/lib/typescript/src/components/dialog/index.d.ts.map +1 -0
- package/lib/typescript/src/components/divider/divider.d.ts +7 -0
- package/lib/typescript/src/components/divider/divider.d.ts.map +1 -0
- package/lib/typescript/src/components/divider/index.d.ts +2 -0
- package/lib/typescript/src/components/divider/index.d.ts.map +1 -0
- package/lib/typescript/src/components/empty-state/empty-state.d.ts +16 -0
- package/lib/typescript/src/components/empty-state/empty-state.d.ts.map +1 -0
- package/lib/typescript/src/components/empty-state/index.d.ts +2 -0
- package/lib/typescript/src/components/empty-state/index.d.ts.map +1 -0
- package/lib/typescript/src/components/field/field.d.ts +15 -0
- package/lib/typescript/src/components/field/field.d.ts.map +1 -0
- package/lib/typescript/src/components/field/index.d.ts +2 -0
- package/lib/typescript/src/components/field/index.d.ts.map +1 -0
- package/lib/typescript/src/components/list-row/index.d.ts +2 -0
- package/lib/typescript/src/components/list-row/index.d.ts.map +1 -0
- package/lib/typescript/src/components/list-row/list-row.d.ts +12 -0
- package/lib/typescript/src/components/list-row/list-row.d.ts.map +1 -0
- package/lib/typescript/src/components/photo/index.d.ts +2 -0
- package/lib/typescript/src/components/photo/index.d.ts.map +1 -0
- package/lib/typescript/src/components/photo/photo.d.ts +11 -0
- package/lib/typescript/src/components/photo/photo.d.ts.map +1 -0
- package/lib/typescript/src/components/price/index.d.ts +2 -0
- package/lib/typescript/src/components/price/index.d.ts.map +1 -0
- package/lib/typescript/src/components/price/price.d.ts +12 -0
- package/lib/typescript/src/components/price/price.d.ts.map +1 -0
- package/lib/typescript/src/components/progress-bar/index.d.ts +2 -0
- package/lib/typescript/src/components/progress-bar/index.d.ts.map +1 -0
- package/lib/typescript/src/components/progress-bar/progress-bar.d.ts +9 -0
- package/lib/typescript/src/components/progress-bar/progress-bar.d.ts.map +1 -0
- package/lib/typescript/src/components/search-field/index.d.ts +2 -0
- package/lib/typescript/src/components/search-field/index.d.ts.map +1 -0
- package/lib/typescript/src/components/search-field/search-field.d.ts +8 -0
- package/lib/typescript/src/components/search-field/search-field.d.ts.map +1 -0
- package/lib/typescript/src/components/segmented-tabs/index.d.ts +2 -0
- package/lib/typescript/src/components/segmented-tabs/index.d.ts.map +1 -0
- package/lib/typescript/src/components/segmented-tabs/segmented-tabs.d.ts +13 -0
- package/lib/typescript/src/components/segmented-tabs/segmented-tabs.d.ts.map +1 -0
- package/lib/typescript/src/components/sheet/index.d.ts +2 -0
- package/lib/typescript/src/components/sheet/index.d.ts.map +1 -0
- package/lib/typescript/src/components/sheet/sheet.d.ts +14 -0
- package/lib/typescript/src/components/sheet/sheet.d.ts.map +1 -0
- package/lib/typescript/src/components/skeleton/index.d.ts +2 -0
- package/lib/typescript/src/components/skeleton/index.d.ts.map +1 -0
- package/lib/typescript/src/components/skeleton/skeleton.d.ts +9 -0
- package/lib/typescript/src/components/skeleton/skeleton.d.ts.map +1 -0
- package/lib/typescript/src/components/status-badge/index.d.ts +2 -0
- package/lib/typescript/src/components/status-badge/index.d.ts.map +1 -0
- package/lib/typescript/src/components/status-badge/status-badge.d.ts +9 -0
- package/lib/typescript/src/components/status-badge/status-badge.d.ts.map +1 -0
- package/lib/typescript/src/components/switch/index.d.ts +2 -0
- package/lib/typescript/src/components/switch/index.d.ts.map +1 -0
- package/lib/typescript/src/components/switch/switch.d.ts +9 -0
- package/lib/typescript/src/components/switch/switch.d.ts.map +1 -0
- package/lib/typescript/src/components/text/index.d.ts +2 -0
- package/lib/typescript/src/components/text/index.d.ts.map +1 -0
- package/lib/typescript/src/components/text/text.d.ts +13 -0
- package/lib/typescript/src/components/text/text.d.ts.map +1 -0
- package/lib/typescript/src/components/toast/index.d.ts +2 -0
- package/lib/typescript/src/components/toast/index.d.ts.map +1 -0
- package/lib/typescript/src/components/toast/toast.d.ts +22 -0
- package/lib/typescript/src/components/toast/toast.d.ts.map +1 -0
- package/lib/typescript/src/components/wizard-steps/index.d.ts +2 -0
- package/lib/typescript/src/components/wizard-steps/index.d.ts.map +1 -0
- package/lib/typescript/src/components/wizard-steps/wizard-steps.d.ts +8 -0
- package/lib/typescript/src/components/wizard-steps/wizard-steps.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts +32 -0
- package/lib/typescript/src/index.d.ts.map +1 -0
- package/lib/typescript/src/internal/glyphs.d.ts +11 -0
- package/lib/typescript/src/internal/glyphs.d.ts.map +1 -0
- package/lib/typescript/src/internal/icon.d.ts +8 -0
- package/lib/typescript/src/internal/icon.d.ts.map +1 -0
- package/lib/typescript/src/internal/overlay.d.ts +12 -0
- package/lib/typescript/src/internal/overlay.d.ts.map +1 -0
- package/lib/typescript/src/internal/pressable-base.d.ts +10 -0
- package/lib/typescript/src/internal/pressable-base.d.ts.map +1 -0
- package/lib/typescript/src/internal/use-reduced-motion.d.ts +2 -0
- package/lib/typescript/src/internal/use-reduced-motion.d.ts.map +1 -0
- package/lib/typescript/src/sortable/index.d.ts +4 -0
- package/lib/typescript/src/sortable/index.d.ts.map +1 -0
- package/lib/typescript/src/sortable/move.d.ts +2 -0
- package/lib/typescript/src/sortable/move.d.ts.map +1 -0
- package/lib/typescript/src/sortable/sortable-grid.d.ts +25 -0
- package/lib/typescript/src/sortable/sortable-grid.d.ts.map +1 -0
- package/lib/typescript/src/sortable/sortable-list.d.ts +4 -0
- package/lib/typescript/src/sortable/sortable-list.d.ts.map +1 -0
- package/lib/typescript/src/sortable.d.ts +4 -0
- package/lib/typescript/src/sortable.d.ts.map +1 -0
- package/lib/typescript/src/theme/create-theme.d.ts +4 -0
- package/lib/typescript/src/theme/create-theme.d.ts.map +1 -0
- package/lib/typescript/src/theme/theme-provider.d.ts +10 -0
- package/lib/typescript/src/theme/theme-provider.d.ts.map +1 -0
- package/lib/typescript/src/theme/tokens.d.ts +4 -0
- package/lib/typescript/src/theme/tokens.d.ts.map +1 -0
- package/lib/typescript/src/types/index.d.ts +83 -0
- package/lib/typescript/src/types/index.d.ts.map +1 -0
- package/lib/typescript/src/utils/color.d.ts +3 -0
- package/lib/typescript/src/utils/color.d.ts.map +1 -0
- package/lib/typescript/src/utils/styles.d.ts +8 -0
- package/lib/typescript/src/utils/styles.d.ts.map +1 -0
- package/package.json +109 -3
- package/src/blocks/brand-profile-card/brand-profile-card.tsx +85 -0
- package/src/blocks/brand-profile-card/index.ts +4 -0
- package/src/blocks/bulk-ship-list/bulk-ship-list.tsx +187 -0
- package/src/blocks/bulk-ship-list/index.ts +8 -0
- package/src/blocks/claim-row/claim-row.tsx +125 -0
- package/src/blocks/claim-row/index.ts +7 -0
- package/src/blocks/color-swatch-picker/color-swatch-picker.tsx +117 -0
- package/src/blocks/color-swatch-picker/index.ts +5 -0
- package/src/blocks/copy-variant-picker/copy-variant-picker.tsx +136 -0
- package/src/blocks/copy-variant-picker/index.ts +5 -0
- package/src/blocks/credit-wallet/credit-wallet.tsx +111 -0
- package/src/blocks/credit-wallet/index.ts +1 -0
- package/src/blocks/generation-progress/generation-progress.tsx +180 -0
- package/src/blocks/generation-progress/index.ts +6 -0
- package/src/blocks/image-grid/image-grid.tsx +275 -0
- package/src/blocks/image-grid/index.ts +1 -0
- package/src/blocks/index.tsx +22 -0
- package/src/blocks/internal/card.tsx +86 -0
- package/src/blocks/internal/format.ts +19 -0
- package/src/blocks/invoice-row/index.ts +5 -0
- package/src/blocks/invoice-row/invoice-row.tsx +115 -0
- package/src/blocks/logo-candidate-grid/index.ts +5 -0
- package/src/blocks/logo-candidate-grid/logo-candidate-grid.tsx +127 -0
- package/src/blocks/oauth-buttons/index.ts +5 -0
- package/src/blocks/oauth-buttons/oauth-buttons.tsx +101 -0
- package/src/blocks/option-editor/index.ts +5 -0
- package/src/blocks/option-editor/option-editor.tsx +149 -0
- package/src/blocks/order-card/index.ts +11 -0
- package/src/blocks/order-card/order-card.tsx +176 -0
- package/src/blocks/plan-card/index.ts +1 -0
- package/src/blocks/plan-card/plan-card.tsx +149 -0
- package/src/blocks/product-list-empty/index.ts +5 -0
- package/src/blocks/product-list-empty/product-list-empty.tsx +139 -0
- package/src/blocks/review-row/index.ts +8 -0
- package/src/blocks/review-row/review-row.tsx +246 -0
- package/src/blocks/sales-chart/index.ts +5 -0
- package/src/blocks/sales-chart/sales-chart.tsx +115 -0
- package/src/blocks/selection-bar/index.ts +1 -0
- package/src/blocks/selection-bar/selection-bar.tsx +63 -0
- package/src/blocks/service-state-banner/index.ts +5 -0
- package/src/blocks/service-state-banner/service-state-banner.tsx +77 -0
- package/src/blocks/shipping-tracking-row/index.ts +5 -0
- package/src/blocks/shipping-tracking-row/shipping-tracking-row.tsx +92 -0
- package/src/blocks/site-preview-frame/index.ts +5 -0
- package/src/blocks/site-preview-frame/site-preview-frame.tsx +136 -0
- package/src/blocks/stat-card/index.ts +1 -0
- package/src/blocks/stat-card/stat-card.tsx +72 -0
- package/src/blocks/step-screen/index.ts +5 -0
- package/src/blocks/step-screen/step-screen.tsx +131 -0
- package/src/blocks/supply-item-card/index.ts +6 -0
- package/src/blocks/supply-item-card/supply-item-card.tsx +139 -0
- package/src/charts/index.ts +2 -0
- package/src/charts/line-chart.tsx +182 -0
- package/src/charts/scale.ts +46 -0
- package/src/charts/sparkline.tsx +60 -0
- package/src/charts/summary.ts +10 -0
- package/src/charts.tsx +2 -0
- package/src/components/button/button.tsx +116 -0
- package/src/components/button/index.ts +6 -0
- package/src/components/checkbox/checkbox.tsx +79 -0
- package/src/components/checkbox/index.ts +1 -0
- package/src/components/chip/chip.tsx +90 -0
- package/src/components/chip/index.ts +1 -0
- package/src/components/chip-group/chip-group.tsx +86 -0
- package/src/components/chip-group/index.ts +5 -0
- package/src/components/dialog/dialog.tsx +124 -0
- package/src/components/dialog/index.ts +1 -0
- package/src/components/divider/divider.tsx +24 -0
- package/src/components/divider/index.ts +1 -0
- package/src/components/empty-state/empty-state.tsx +141 -0
- package/src/components/empty-state/index.ts +5 -0
- package/src/components/field/field.tsx +201 -0
- package/src/components/field/index.ts +1 -0
- package/src/components/list-row/index.ts +1 -0
- package/src/components/list-row/list-row.tsx +112 -0
- package/src/components/photo/index.ts +1 -0
- package/src/components/photo/photo.tsx +82 -0
- package/src/components/price/index.ts +1 -0
- package/src/components/price/price.tsx +81 -0
- package/src/components/progress-bar/index.ts +1 -0
- package/src/components/progress-bar/progress-bar.tsx +80 -0
- package/src/components/search-field/index.ts +1 -0
- package/src/components/search-field/search-field.tsx +45 -0
- package/src/components/segmented-tabs/index.ts +5 -0
- package/src/components/segmented-tabs/segmented-tabs.tsx +80 -0
- package/src/components/sheet/index.ts +1 -0
- package/src/components/sheet/sheet.tsx +118 -0
- package/src/components/skeleton/index.ts +1 -0
- package/src/components/skeleton/skeleton.tsx +69 -0
- package/src/components/status-badge/index.ts +5 -0
- package/src/components/status-badge/status-badge.tsx +53 -0
- package/src/components/switch/index.ts +1 -0
- package/src/components/switch/switch.tsx +28 -0
- package/src/components/text/index.ts +1 -0
- package/src/components/text/text.tsx +51 -0
- package/src/components/toast/index.ts +9 -0
- package/src/components/toast/toast.tsx +237 -0
- package/src/components/wizard-steps/index.ts +1 -0
- package/src/components/wizard-steps/wizard-steps.tsx +51 -0
- package/src/index.tsx +57 -0
- package/src/internal/glyphs.tsx +155 -0
- package/src/internal/icon.tsx +9 -0
- package/src/internal/overlay.tsx +55 -0
- package/src/internal/pressable-base.tsx +52 -0
- package/src/internal/use-reduced-motion.ts +30 -0
- package/src/sortable/index.ts +8 -0
- package/src/sortable/move.ts +18 -0
- package/src/sortable/sortable-grid.tsx +85 -0
- package/src/sortable/sortable-list.tsx +10 -0
- package/src/sortable.tsx +3 -0
- package/src/theme/create-theme.ts +62 -0
- package/src/theme/theme-provider.tsx +34 -0
- package/src/theme/tokens.ts +90 -0
- package/src/types/index.ts +73 -0
- package/src/utils/color.ts +44 -0
- package/src/utils/styles.ts +25 -0
- package/README.md +0 -3
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import {
|
|
2
|
+
View,
|
|
3
|
+
type ImageSourcePropType,
|
|
4
|
+
type StyleProp,
|
|
5
|
+
type ViewStyle,
|
|
6
|
+
} from 'react-native';
|
|
7
|
+
import { Button } from '../../components/button/button';
|
|
8
|
+
import { Photo } from '../../components/photo/photo';
|
|
9
|
+
import { Text } from '../../components/text/text';
|
|
10
|
+
import { makeStyles } from '../../utils/styles';
|
|
11
|
+
import { Card } from '../internal/card';
|
|
12
|
+
|
|
13
|
+
export type BrandProfileCardProps = {
|
|
14
|
+
name: string;
|
|
15
|
+
industry: string;
|
|
16
|
+
tagline?: string;
|
|
17
|
+
logo?: ImageSourcePropType;
|
|
18
|
+
colors?: readonly string[];
|
|
19
|
+
keywords?: readonly string[];
|
|
20
|
+
onEdit?: () => void;
|
|
21
|
+
style?: StyleProp<ViewStyle>;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
const useStyles = makeStyles((t) => ({
|
|
25
|
+
head: { flexDirection: 'row', alignItems: 'center', gap: t.space[3] },
|
|
26
|
+
logo: { width: 56 },
|
|
27
|
+
title: { flex: 1, gap: 2 },
|
|
28
|
+
row: { flexDirection: 'row', flexWrap: 'wrap', gap: t.space[2] },
|
|
29
|
+
dot: {
|
|
30
|
+
width: 20,
|
|
31
|
+
height: 20,
|
|
32
|
+
borderRadius: 10,
|
|
33
|
+
borderWidth: 1,
|
|
34
|
+
borderColor: t.colors.border,
|
|
35
|
+
},
|
|
36
|
+
}));
|
|
37
|
+
|
|
38
|
+
export function BrandProfileCard({
|
|
39
|
+
name,
|
|
40
|
+
industry,
|
|
41
|
+
tagline,
|
|
42
|
+
logo,
|
|
43
|
+
colors = [],
|
|
44
|
+
keywords = [],
|
|
45
|
+
onEdit,
|
|
46
|
+
style,
|
|
47
|
+
}: BrandProfileCardProps) {
|
|
48
|
+
const s = useStyles();
|
|
49
|
+
return (
|
|
50
|
+
<Card style={style}>
|
|
51
|
+
<View style={s.head}>
|
|
52
|
+
{logo ? (
|
|
53
|
+
<View style={s.logo}>
|
|
54
|
+
<Photo source={logo} />
|
|
55
|
+
</View>
|
|
56
|
+
) : null}
|
|
57
|
+
<View style={s.title}>
|
|
58
|
+
<Text variant="title" numberOfLines={1}>
|
|
59
|
+
{name}
|
|
60
|
+
</Text>
|
|
61
|
+
<Text variant="caption" tone="muted">
|
|
62
|
+
{industry}
|
|
63
|
+
</Text>
|
|
64
|
+
</View>
|
|
65
|
+
{onEdit ? (
|
|
66
|
+
<Button size="sm" variant="ghost" onPress={onEdit}>
|
|
67
|
+
수정
|
|
68
|
+
</Button>
|
|
69
|
+
) : null}
|
|
70
|
+
</View>
|
|
71
|
+
{tagline ? <Text>{tagline}</Text> : null}
|
|
72
|
+
{colors.length ? (
|
|
73
|
+
<View
|
|
74
|
+
style={s.row}
|
|
75
|
+
accessibilityLabel={`브랜드 색 ${colors.length}가지`}
|
|
76
|
+
>
|
|
77
|
+
{colors.map((c) => (
|
|
78
|
+
<View key={c} style={[s.dot, { backgroundColor: c }]} />
|
|
79
|
+
))}
|
|
80
|
+
</View>
|
|
81
|
+
) : null}
|
|
82
|
+
{keywords.length ? <Text>{keywords.join(' · ')}</Text> : null}
|
|
83
|
+
</Card>
|
|
84
|
+
);
|
|
85
|
+
}
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
import { StyleSheet, View, type StyleProp, type ViewStyle } from 'react-native';
|
|
2
|
+
import { ChipGroup } from '../../components/chip-group/chip-group';
|
|
3
|
+
import { Field } from '../../components/field/field';
|
|
4
|
+
import { Text } from '../../components/text/text';
|
|
5
|
+
import type { IconRenderProps } from '../../internal/icon';
|
|
6
|
+
import { PressableBase } from '../../internal/pressable-base';
|
|
7
|
+
import { useTheme } from '../../theme/theme-provider';
|
|
8
|
+
import { makeStyles } from '../../utils/styles';
|
|
9
|
+
|
|
10
|
+
export type ShipCarrier = { code: string; name: string };
|
|
11
|
+
|
|
12
|
+
export type BulkShipRow = {
|
|
13
|
+
id: string;
|
|
14
|
+
title: string;
|
|
15
|
+
subtitle?: string;
|
|
16
|
+
trackingNo: string;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
export type BulkShipListProps = {
|
|
20
|
+
carriers: readonly ShipCarrier[];
|
|
21
|
+
carrier: string | null;
|
|
22
|
+
onCarrierChange: (code: string) => void;
|
|
23
|
+
rows: readonly BulkShipRow[];
|
|
24
|
+
onTrackingChange: (id: string, value: string) => void;
|
|
25
|
+
onScan?: (id: string) => void;
|
|
26
|
+
style?: StyleProp<ViewStyle>;
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
export type TrackingIssue = 'invalid' | 'duplicate';
|
|
30
|
+
|
|
31
|
+
const TRACKING = /^[0-9-]{8,20}$/;
|
|
32
|
+
const INVALID = '숫자와 -만 8~20자리로 입력해 주세요';
|
|
33
|
+
const DUPLICATE = '같은 송장 번호가 다른 주문에도 있어요';
|
|
34
|
+
const FIELD_HEIGHT = 52;
|
|
35
|
+
|
|
36
|
+
export function trackingIssues(
|
|
37
|
+
rows: readonly BulkShipRow[]
|
|
38
|
+
): Record<string, TrackingIssue> {
|
|
39
|
+
const key = (v: string) => v.trim().replace(/-/g, '');
|
|
40
|
+
const seen = new Map<string, number>();
|
|
41
|
+
for (const row of rows) {
|
|
42
|
+
const k = key(row.trackingNo);
|
|
43
|
+
if (k && TRACKING.test(row.trackingNo.trim())) {
|
|
44
|
+
seen.set(k, (seen.get(k) ?? 0) + 1);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
const issues: Record<string, TrackingIssue> = {};
|
|
48
|
+
for (const row of rows) {
|
|
49
|
+
const value = row.trackingNo.trim();
|
|
50
|
+
if (!value) continue;
|
|
51
|
+
if (!TRACKING.test(value)) issues[row.id] = 'invalid';
|
|
52
|
+
else if ((seen.get(key(value)) ?? 0) > 1) issues[row.id] = 'duplicate';
|
|
53
|
+
}
|
|
54
|
+
return issues;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
const useStyles = makeStyles((t) => ({
|
|
58
|
+
root: { gap: t.space[5] },
|
|
59
|
+
carrier: { gap: t.space[2] },
|
|
60
|
+
list: { gap: t.space[4] },
|
|
61
|
+
row: { gap: t.space[2] },
|
|
62
|
+
input: { flexDirection: 'row', alignItems: 'flex-start', gap: t.space[2] },
|
|
63
|
+
field: { flex: 1 },
|
|
64
|
+
scan: {
|
|
65
|
+
width: FIELD_HEIGHT,
|
|
66
|
+
height: FIELD_HEIGHT,
|
|
67
|
+
alignItems: 'center',
|
|
68
|
+
justifyContent: 'center',
|
|
69
|
+
borderRadius: 10,
|
|
70
|
+
borderWidth: 1,
|
|
71
|
+
borderColor: t.colors.input,
|
|
72
|
+
backgroundColor: t.colors.background,
|
|
73
|
+
},
|
|
74
|
+
pressed: { backgroundColor: t.colors.muted },
|
|
75
|
+
}));
|
|
76
|
+
|
|
77
|
+
const g = StyleSheet.create({ absolute: { position: 'absolute' } });
|
|
78
|
+
|
|
79
|
+
function ScanGlyph({ color, size }: IconRenderProps) {
|
|
80
|
+
const stroke = Math.max(1.5, size / 12);
|
|
81
|
+
const arm = size * 0.3;
|
|
82
|
+
const corner = (v: 'top' | 'bottom', h: 'left' | 'right') => ({
|
|
83
|
+
position: 'absolute' as const,
|
|
84
|
+
width: arm,
|
|
85
|
+
height: arm,
|
|
86
|
+
borderColor: color,
|
|
87
|
+
[v]: 0,
|
|
88
|
+
[h]: 0,
|
|
89
|
+
[v === 'top' ? 'borderTopWidth' : 'borderBottomWidth']: stroke,
|
|
90
|
+
[h === 'left' ? 'borderLeftWidth' : 'borderRightWidth']: stroke,
|
|
91
|
+
});
|
|
92
|
+
return (
|
|
93
|
+
<View style={{ width: size, height: size }}>
|
|
94
|
+
<View style={corner('top', 'left')} />
|
|
95
|
+
<View style={corner('top', 'right')} />
|
|
96
|
+
<View style={corner('bottom', 'left')} />
|
|
97
|
+
<View style={corner('bottom', 'right')} />
|
|
98
|
+
<View
|
|
99
|
+
style={[
|
|
100
|
+
g.absolute,
|
|
101
|
+
{
|
|
102
|
+
left: size * 0.12,
|
|
103
|
+
right: size * 0.12,
|
|
104
|
+
top: (size - stroke) / 2,
|
|
105
|
+
height: stroke,
|
|
106
|
+
borderRadius: stroke,
|
|
107
|
+
backgroundColor: color,
|
|
108
|
+
},
|
|
109
|
+
]}
|
|
110
|
+
/>
|
|
111
|
+
</View>
|
|
112
|
+
);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
export function BulkShipList({
|
|
116
|
+
carriers,
|
|
117
|
+
carrier,
|
|
118
|
+
onCarrierChange,
|
|
119
|
+
rows,
|
|
120
|
+
onTrackingChange,
|
|
121
|
+
onScan,
|
|
122
|
+
style,
|
|
123
|
+
}: BulkShipListProps) {
|
|
124
|
+
const t = useTheme();
|
|
125
|
+
const s = useStyles();
|
|
126
|
+
const issues = trackingIssues(rows);
|
|
127
|
+
return (
|
|
128
|
+
<View style={[s.root, style]}>
|
|
129
|
+
<View style={s.carrier}>
|
|
130
|
+
<Text weight="semibold" accessibilityRole="header">
|
|
131
|
+
택배사
|
|
132
|
+
</Text>
|
|
133
|
+
<ChipGroup
|
|
134
|
+
items={carriers.map((c) => ({ value: c.code, label: c.name }))}
|
|
135
|
+
value={carrier}
|
|
136
|
+
onValueChange={(code) => {
|
|
137
|
+
if (code !== null) onCarrierChange(code);
|
|
138
|
+
}}
|
|
139
|
+
/>
|
|
140
|
+
</View>
|
|
141
|
+
<View style={s.list}>
|
|
142
|
+
{rows.map((row) => {
|
|
143
|
+
const issue = issues[row.id];
|
|
144
|
+
return (
|
|
145
|
+
<View key={row.id} style={s.row}>
|
|
146
|
+
<View>
|
|
147
|
+
<Text weight="semibold" numberOfLines={1}>
|
|
148
|
+
{row.title}
|
|
149
|
+
</Text>
|
|
150
|
+
{row.subtitle ? (
|
|
151
|
+
<Text variant="caption" tone="muted" numberOfLines={1}>
|
|
152
|
+
{row.subtitle}
|
|
153
|
+
</Text>
|
|
154
|
+
) : null}
|
|
155
|
+
</View>
|
|
156
|
+
<View style={s.input}>
|
|
157
|
+
<Field
|
|
158
|
+
style={s.field}
|
|
159
|
+
value={row.trackingNo}
|
|
160
|
+
onChangeText={(v) => onTrackingChange(row.id, v)}
|
|
161
|
+
placeholder="송장 번호"
|
|
162
|
+
keyboardType="number-pad"
|
|
163
|
+
inputMode="numeric"
|
|
164
|
+
autoCorrect={false}
|
|
165
|
+
maxLength={20}
|
|
166
|
+
accessibilityLabel={`${row.title} 송장 번호`}
|
|
167
|
+
error={issue === 'invalid' ? INVALID : undefined}
|
|
168
|
+
warning={issue === 'duplicate' ? DUPLICATE : undefined}
|
|
169
|
+
/>
|
|
170
|
+
{onScan ? (
|
|
171
|
+
<PressableBase
|
|
172
|
+
accessibilityLabel={`${row.title} 송장 스캔`}
|
|
173
|
+
onPress={() => onScan(row.id)}
|
|
174
|
+
pressedStyle={s.pressed}
|
|
175
|
+
style={s.scan}
|
|
176
|
+
>
|
|
177
|
+
<ScanGlyph color={t.colors.foreground} size={22} />
|
|
178
|
+
</PressableBase>
|
|
179
|
+
) : null}
|
|
180
|
+
</View>
|
|
181
|
+
</View>
|
|
182
|
+
);
|
|
183
|
+
})}
|
|
184
|
+
</View>
|
|
185
|
+
</View>
|
|
186
|
+
);
|
|
187
|
+
}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import { View, type StyleProp, type ViewStyle } from 'react-native';
|
|
2
|
+
import { formatPrice } from '../../components/price/price';
|
|
3
|
+
import { Text } from '../../components/text/text';
|
|
4
|
+
import { makeStyles } from '../../utils/styles';
|
|
5
|
+
import { Card } from '../internal/card';
|
|
6
|
+
|
|
7
|
+
export type ClaimType = 'cancel' | 'return' | 'exchange';
|
|
8
|
+
export type ClaimStatus =
|
|
9
|
+
| 'requested'
|
|
10
|
+
| 'collecting'
|
|
11
|
+
| 'collected'
|
|
12
|
+
| 'held'
|
|
13
|
+
| 'completed'
|
|
14
|
+
| 'rejected'
|
|
15
|
+
| 'withdrawn';
|
|
16
|
+
|
|
17
|
+
export type ClaimRowProps = {
|
|
18
|
+
type: ClaimType;
|
|
19
|
+
status?: ClaimStatus;
|
|
20
|
+
amount: number;
|
|
21
|
+
reason?: string;
|
|
22
|
+
dueAt?: Date | string;
|
|
23
|
+
onPress?: () => void;
|
|
24
|
+
style?: StyleProp<ViewStyle>;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
const TYPE: Record<ClaimType, string> = {
|
|
28
|
+
cancel: '취소',
|
|
29
|
+
return: '반품',
|
|
30
|
+
exchange: '교환',
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
export const claimStatusLabel: Record<ClaimStatus, string> = {
|
|
34
|
+
requested: '요청',
|
|
35
|
+
collecting: '회수 중',
|
|
36
|
+
collected: '회수 완료',
|
|
37
|
+
held: '보류',
|
|
38
|
+
completed: '완료',
|
|
39
|
+
rejected: '거절',
|
|
40
|
+
withdrawn: '철회',
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
const OPEN: readonly ClaimStatus[] = [
|
|
44
|
+
'requested',
|
|
45
|
+
'collecting',
|
|
46
|
+
'collected',
|
|
47
|
+
'held',
|
|
48
|
+
];
|
|
49
|
+
|
|
50
|
+
const DAY = 86400000;
|
|
51
|
+
|
|
52
|
+
function toDate(value: Date | string): Date {
|
|
53
|
+
if (typeof value !== 'string') return value;
|
|
54
|
+
const m = /^(\d{4})-(\d{2})-(\d{2})$/.exec(value);
|
|
55
|
+
return m
|
|
56
|
+
? new Date(Number(m[1]), Number(m[2]) - 1, Number(m[3]))
|
|
57
|
+
: new Date(value);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
function daysUntil(value: Date | string, now = new Date()): number | null {
|
|
61
|
+
const due = toDate(value);
|
|
62
|
+
if (Number.isNaN(due.getTime())) return null;
|
|
63
|
+
const a = new Date(now.getFullYear(), now.getMonth(), now.getDate());
|
|
64
|
+
const b = new Date(due.getFullYear(), due.getMonth(), due.getDate());
|
|
65
|
+
return Math.round((b.getTime() - a.getTime()) / DAY);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
function formatDday(days: number): string {
|
|
69
|
+
if (days < 0) return '기한 지남';
|
|
70
|
+
return days === 0 ? 'D-day' : `D-${days}`;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
const useStyles = makeStyles((t) => ({
|
|
74
|
+
row: { flexDirection: 'row', alignItems: 'center', gap: t.space[2] },
|
|
75
|
+
grow: { flex: 1 },
|
|
76
|
+
head: { fontSize: 16, lineHeight: 24, fontVariant: ['tabular-nums'] },
|
|
77
|
+
deadline: { fontSize: 14, lineHeight: 20, fontVariant: ['tabular-nums'] },
|
|
78
|
+
}));
|
|
79
|
+
|
|
80
|
+
export function ClaimRow({
|
|
81
|
+
type,
|
|
82
|
+
status = 'requested',
|
|
83
|
+
amount,
|
|
84
|
+
reason,
|
|
85
|
+
dueAt,
|
|
86
|
+
onPress,
|
|
87
|
+
style,
|
|
88
|
+
}: ClaimRowProps) {
|
|
89
|
+
const s = useStyles();
|
|
90
|
+
const title = `${TYPE[type]} ${claimStatusLabel[status]}`;
|
|
91
|
+
const days =
|
|
92
|
+
OPEN.includes(status) && dueAt !== undefined ? daysUntil(dueAt) : null;
|
|
93
|
+
const deadline = days === null ? null : formatDday(days);
|
|
94
|
+
const label = [title, formatPrice(amount), reason, deadline]
|
|
95
|
+
.filter(Boolean)
|
|
96
|
+
.join(', ');
|
|
97
|
+
return (
|
|
98
|
+
<Card onPress={onPress} accessibilityLabel={label} style={style}>
|
|
99
|
+
<View style={s.row}>
|
|
100
|
+
<Text weight="bold" style={[s.head, s.grow]} numberOfLines={1}>
|
|
101
|
+
{title}
|
|
102
|
+
</Text>
|
|
103
|
+
<Text weight="bold" style={s.head}>
|
|
104
|
+
{formatPrice(amount)}
|
|
105
|
+
</Text>
|
|
106
|
+
</View>
|
|
107
|
+
{reason || deadline ? (
|
|
108
|
+
<View style={s.row}>
|
|
109
|
+
<Text style={s.grow} numberOfLines={1}>
|
|
110
|
+
{reason ?? ''}
|
|
111
|
+
</Text>
|
|
112
|
+
{deadline ? (
|
|
113
|
+
<Text
|
|
114
|
+
weight="bold"
|
|
115
|
+
tone={days !== null && days <= 1 ? 'destructive' : 'muted'}
|
|
116
|
+
style={s.deadline}
|
|
117
|
+
>
|
|
118
|
+
{deadline}
|
|
119
|
+
</Text>
|
|
120
|
+
) : null}
|
|
121
|
+
</View>
|
|
122
|
+
) : null}
|
|
123
|
+
</Card>
|
|
124
|
+
);
|
|
125
|
+
}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { View, type StyleProp, type ViewStyle } from 'react-native';
|
|
2
|
+
import { Text } from '../../components/text/text';
|
|
3
|
+
import { CheckGlyph } from '../../internal/glyphs';
|
|
4
|
+
import { PressableBase } from '../../internal/pressable-base';
|
|
5
|
+
import { useTheme } from '../../theme/theme-provider';
|
|
6
|
+
import { pickForeground } from '../../utils/color';
|
|
7
|
+
import { makeStyles } from '../../utils/styles';
|
|
8
|
+
|
|
9
|
+
export type ColorSwatch = { value: string; label: string };
|
|
10
|
+
|
|
11
|
+
export type ColorSwatchPickerProps = {
|
|
12
|
+
colors: readonly ColorSwatch[];
|
|
13
|
+
value: string;
|
|
14
|
+
onValueChange: (value: string) => void;
|
|
15
|
+
variant?: 'circle' | 'card';
|
|
16
|
+
style?: StyleProp<ViewStyle>;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
const DOT = 40;
|
|
20
|
+
|
|
21
|
+
const useStyles = makeStyles((t) => ({
|
|
22
|
+
wrap: { flexDirection: 'row', flexWrap: 'wrap', gap: t.space[3] },
|
|
23
|
+
dot: {
|
|
24
|
+
width: DOT,
|
|
25
|
+
height: DOT,
|
|
26
|
+
borderRadius: DOT / 2,
|
|
27
|
+
alignItems: 'center',
|
|
28
|
+
justifyContent: 'center',
|
|
29
|
+
},
|
|
30
|
+
ring: {
|
|
31
|
+
padding: 3,
|
|
32
|
+
borderRadius: DOT,
|
|
33
|
+
borderWidth: 2,
|
|
34
|
+
borderColor: 'transparent',
|
|
35
|
+
},
|
|
36
|
+
ringOn: { borderColor: t.colors.foreground },
|
|
37
|
+
card: {
|
|
38
|
+
width: 148,
|
|
39
|
+
gap: t.space[2],
|
|
40
|
+
padding: t.space[3],
|
|
41
|
+
borderRadius: t.radius.lg,
|
|
42
|
+
borderWidth: 1,
|
|
43
|
+
borderColor: t.colors.border,
|
|
44
|
+
backgroundColor: t.colors.background,
|
|
45
|
+
},
|
|
46
|
+
cardOn: {
|
|
47
|
+
borderColor: t.colors.foreground,
|
|
48
|
+
borderWidth: 2,
|
|
49
|
+
padding: t.space[3] - 1,
|
|
50
|
+
},
|
|
51
|
+
sample: {
|
|
52
|
+
height: 32,
|
|
53
|
+
borderRadius: t.radius.md,
|
|
54
|
+
alignItems: 'center',
|
|
55
|
+
justifyContent: 'center',
|
|
56
|
+
},
|
|
57
|
+
line: { height: 6, borderRadius: 3, backgroundColor: t.colors.muted },
|
|
58
|
+
long: { width: '70%' },
|
|
59
|
+
short: { width: '45%' },
|
|
60
|
+
}));
|
|
61
|
+
|
|
62
|
+
export function ColorSwatchPicker({
|
|
63
|
+
colors,
|
|
64
|
+
value,
|
|
65
|
+
onValueChange,
|
|
66
|
+
variant = 'circle',
|
|
67
|
+
style,
|
|
68
|
+
}: ColorSwatchPickerProps) {
|
|
69
|
+
const t = useTheme();
|
|
70
|
+
const s = useStyles();
|
|
71
|
+
return (
|
|
72
|
+
<View accessibilityRole="radiogroup" style={[s.wrap, style]}>
|
|
73
|
+
{colors.map((c) => {
|
|
74
|
+
const selected = c.value.toLowerCase() === value.toLowerCase();
|
|
75
|
+
const fg = pickForeground(c.value, '#0a0a0a', '#ffffff');
|
|
76
|
+
return (
|
|
77
|
+
<PressableBase
|
|
78
|
+
key={c.value}
|
|
79
|
+
accessibilityRole="radio"
|
|
80
|
+
accessibilityLabel={c.label}
|
|
81
|
+
accessibilityState={{ selected }}
|
|
82
|
+
touchHeight={DOT}
|
|
83
|
+
pressedStyle={{}}
|
|
84
|
+
onPress={() => onValueChange(c.value)}
|
|
85
|
+
style={
|
|
86
|
+
variant === 'card'
|
|
87
|
+
? [s.card, selected && s.cardOn]
|
|
88
|
+
: [s.ring, selected && s.ringOn]
|
|
89
|
+
}
|
|
90
|
+
>
|
|
91
|
+
{variant === 'card' ? (
|
|
92
|
+
<>
|
|
93
|
+
<View style={[s.line, s.long]} />
|
|
94
|
+
<View style={[s.line, s.short]} />
|
|
95
|
+
<View style={[s.sample, { backgroundColor: c.value }]}>
|
|
96
|
+
<Text
|
|
97
|
+
variant="caption"
|
|
98
|
+
weight="semibold"
|
|
99
|
+
style={{ color: fg }}
|
|
100
|
+
>
|
|
101
|
+
{c.label}
|
|
102
|
+
</Text>
|
|
103
|
+
</View>
|
|
104
|
+
</>
|
|
105
|
+
) : (
|
|
106
|
+
<View style={[s.dot, { backgroundColor: c.value }]}>
|
|
107
|
+
{selected ? (
|
|
108
|
+
<CheckGlyph color={fg} size={t.iconSize.md} />
|
|
109
|
+
) : null}
|
|
110
|
+
</View>
|
|
111
|
+
)}
|
|
112
|
+
</PressableBase>
|
|
113
|
+
);
|
|
114
|
+
})}
|
|
115
|
+
</View>
|
|
116
|
+
);
|
|
117
|
+
}
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import { View, type StyleProp, type ViewStyle } from 'react-native';
|
|
2
|
+
import { Button } from '../../components/button/button';
|
|
3
|
+
import { Text } from '../../components/text/text';
|
|
4
|
+
import { PressableBase } from '../../internal/pressable-base';
|
|
5
|
+
import { useTheme } from '../../theme/theme-provider';
|
|
6
|
+
import { makeStyles } from '../../utils/styles';
|
|
7
|
+
|
|
8
|
+
export type CopyVariant = { id: string; text: string; locked?: boolean };
|
|
9
|
+
|
|
10
|
+
export type CopyVariantPickerProps = {
|
|
11
|
+
label: string;
|
|
12
|
+
variants: readonly CopyVariant[];
|
|
13
|
+
selectedId: string | null;
|
|
14
|
+
onSelect: (id: string) => void;
|
|
15
|
+
onToggleLock?: (id: string) => void;
|
|
16
|
+
conflict?: boolean;
|
|
17
|
+
onReload?: () => void;
|
|
18
|
+
style?: StyleProp<ViewStyle>;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
const useStyles = makeStyles((t) => ({
|
|
22
|
+
root: { gap: t.space[2] },
|
|
23
|
+
item: {
|
|
24
|
+
flexDirection: 'row',
|
|
25
|
+
alignItems: 'flex-start',
|
|
26
|
+
gap: t.space[3],
|
|
27
|
+
padding: t.space[3],
|
|
28
|
+
borderRadius: t.radius.md,
|
|
29
|
+
borderWidth: 1,
|
|
30
|
+
borderColor: t.colors.border,
|
|
31
|
+
backgroundColor: t.colors.background,
|
|
32
|
+
},
|
|
33
|
+
selected: {
|
|
34
|
+
borderColor: t.colors.primary,
|
|
35
|
+
borderWidth: 2,
|
|
36
|
+
padding: t.space[3] - 1,
|
|
37
|
+
},
|
|
38
|
+
radio: {
|
|
39
|
+
width: 18,
|
|
40
|
+
height: 18,
|
|
41
|
+
marginTop: 2,
|
|
42
|
+
borderRadius: 9,
|
|
43
|
+
borderWidth: 2,
|
|
44
|
+
borderColor: t.colors.border,
|
|
45
|
+
alignItems: 'center',
|
|
46
|
+
justifyContent: 'center',
|
|
47
|
+
},
|
|
48
|
+
radioOn: { borderColor: t.colors.primary },
|
|
49
|
+
radioDot: {
|
|
50
|
+
width: 8,
|
|
51
|
+
height: 8,
|
|
52
|
+
borderRadius: 4,
|
|
53
|
+
backgroundColor: t.colors.primary,
|
|
54
|
+
},
|
|
55
|
+
body: { flex: 1, gap: t.space[2] },
|
|
56
|
+
meta: { flexDirection: 'row', alignItems: 'center', gap: t.space[2] },
|
|
57
|
+
start: { alignSelf: 'flex-start' },
|
|
58
|
+
conflict: {
|
|
59
|
+
gap: t.space[2],
|
|
60
|
+
padding: t.space[3],
|
|
61
|
+
borderRadius: t.radius.md,
|
|
62
|
+
backgroundColor: t.colors.muted,
|
|
63
|
+
},
|
|
64
|
+
}));
|
|
65
|
+
|
|
66
|
+
export function CopyVariantPicker({
|
|
67
|
+
label,
|
|
68
|
+
variants,
|
|
69
|
+
selectedId,
|
|
70
|
+
onSelect,
|
|
71
|
+
onToggleLock,
|
|
72
|
+
conflict,
|
|
73
|
+
onReload,
|
|
74
|
+
style,
|
|
75
|
+
}: CopyVariantPickerProps) {
|
|
76
|
+
const t = useTheme();
|
|
77
|
+
const s = useStyles();
|
|
78
|
+
return (
|
|
79
|
+
<View style={[s.root, style]}>
|
|
80
|
+
<Text weight="semibold">{label}</Text>
|
|
81
|
+
{conflict ? (
|
|
82
|
+
<View style={s.conflict} accessibilityLiveRegion="polite">
|
|
83
|
+
<Text tone="destructive">다른 기기에서 먼저 수정했어요.</Text>
|
|
84
|
+
{onReload ? (
|
|
85
|
+
<Button
|
|
86
|
+
size="sm"
|
|
87
|
+
variant="outline"
|
|
88
|
+
onPress={onReload}
|
|
89
|
+
style={s.start}
|
|
90
|
+
>
|
|
91
|
+
최신 내용 불러오기
|
|
92
|
+
</Button>
|
|
93
|
+
) : null}
|
|
94
|
+
</View>
|
|
95
|
+
) : null}
|
|
96
|
+
<View accessibilityRole="radiogroup" style={s.root}>
|
|
97
|
+
{variants.map((v) => {
|
|
98
|
+
const selected = v.id === selectedId;
|
|
99
|
+
return (
|
|
100
|
+
<PressableBase
|
|
101
|
+
key={v.id}
|
|
102
|
+
accessibilityRole="radio"
|
|
103
|
+
accessibilityState={{ selected }}
|
|
104
|
+
accessibilityLabel={v.text}
|
|
105
|
+
pressedStyle={{ backgroundColor: t.colors.muted }}
|
|
106
|
+
onPress={() => onSelect(v.id)}
|
|
107
|
+
style={[s.item, selected && s.selected]}
|
|
108
|
+
>
|
|
109
|
+
<View style={[s.radio, selected && s.radioOn]}>
|
|
110
|
+
{selected ? <View style={s.radioDot} /> : null}
|
|
111
|
+
</View>
|
|
112
|
+
<View style={s.body}>
|
|
113
|
+
<Text>{v.text}</Text>
|
|
114
|
+
{v.locked || onToggleLock ? (
|
|
115
|
+
<View style={s.meta}>
|
|
116
|
+
{onToggleLock ? (
|
|
117
|
+
<Button
|
|
118
|
+
size="sm"
|
|
119
|
+
variant="ghost"
|
|
120
|
+
onPress={() => onToggleLock(v.id)}
|
|
121
|
+
>
|
|
122
|
+
{v.locked ? '잠금 해제' : '잠그기'}
|
|
123
|
+
</Button>
|
|
124
|
+
) : (
|
|
125
|
+
<Text tone="muted">잠김</Text>
|
|
126
|
+
)}
|
|
127
|
+
</View>
|
|
128
|
+
) : null}
|
|
129
|
+
</View>
|
|
130
|
+
</PressableBase>
|
|
131
|
+
);
|
|
132
|
+
})}
|
|
133
|
+
</View>
|
|
134
|
+
</View>
|
|
135
|
+
);
|
|
136
|
+
}
|