├── packages ├── nocto │ ├── .yarnrc.yml │ ├── src │ │ ├── lib │ │ │ ├── client │ │ │ │ └── index.ts │ │ │ ├── storefront.ts │ │ │ ├── is-fetch-error.ts │ │ │ ├── order-item.ts │ │ │ ├── format-currency.ts │ │ │ ├── cast-number.ts │ │ │ ├── credit-line.ts │ │ │ ├── plugins.ts │ │ │ ├── query-client.ts │ │ │ └── rma.ts │ │ ├── index.ts │ │ ├── providers │ │ │ ├── index.ts │ │ │ ├── i18n-provider │ │ │ │ └── index.ts │ │ │ ├── sidebar-provider │ │ │ │ ├── index.ts │ │ │ │ ├── sidebar-context.tsx │ │ │ │ └── use-sidebar.tsx │ │ │ ├── search-provider │ │ │ │ ├── index.ts │ │ │ │ ├── search-context.tsx │ │ │ │ └── use-search.tsx │ │ │ ├── extension-provider │ │ │ │ ├── index.ts │ │ │ │ ├── extension-context.tsx │ │ │ │ └── use-extension.tsx │ │ │ ├── theme-provider │ │ │ │ ├── index.ts │ │ │ │ ├── use-theme.tsx │ │ │ │ └── theme-context.tsx │ │ │ └── keybind-provider │ │ │ │ ├── index.ts │ │ │ │ └── keybind-context.tsx │ │ ├── components │ │ │ ├── common │ │ │ │ ├── form │ │ │ │ │ └── index.ts │ │ │ │ ├── listicle │ │ │ │ │ └── index.ts │ │ │ │ ├── section │ │ │ │ │ └── index.ts │ │ │ │ ├── skeleton │ │ │ │ │ └── index.ts │ │ │ │ ├── thumbnail │ │ │ │ │ └── index.ts │ │ │ │ ├── user-link │ │ │ │ │ └── index.ts │ │ │ │ ├── action-menu │ │ │ │ │ └── index.ts │ │ │ │ ├── chip-group │ │ │ │ │ └── index.ts │ │ │ │ ├── display-id │ │ │ │ │ └── index.ts │ │ │ │ ├── file-preview │ │ │ │ │ └── index.ts │ │ │ │ ├── file-upload │ │ │ │ │ └── index.ts │ │ │ │ ├── icon-avatar │ │ │ │ │ └── index.ts │ │ │ │ ├── link-button │ │ │ │ │ └── index.ts │ │ │ │ ├── progress-bar │ │ │ │ │ └── index.ts │ │ │ │ ├── switch-box │ │ │ │ │ └── index.ts │ │ │ │ ├── customer-info │ │ │ │ │ └── index.ts │ │ │ │ ├── infinite-list │ │ │ │ │ └── index.ts │ │ │ │ ├── sidebar-link │ │ │ │ │ └── indext.ts │ │ │ │ ├── sortable-list │ │ │ │ │ └── index.ts │ │ │ │ ├── sortable-tree │ │ │ │ │ └── index.ts │ │ │ │ ├── json-view-section │ │ │ │ │ └── index.ts │ │ │ │ ├── metadata-section │ │ │ │ │ └── index.ts │ │ │ │ ├── badge-list-summary │ │ │ │ │ └── index.ts │ │ │ │ ├── conditional-tooltip │ │ │ │ │ └── index.ts │ │ │ │ ├── date-range-display │ │ │ │ │ └── index.ts │ │ │ │ ├── empty-table-content │ │ │ │ │ └── index.ts │ │ │ │ ├── list-summary │ │ │ │ │ └── index.ts │ │ │ │ └── logo-box │ │ │ │ │ └── index.ts │ │ │ ├── data-table │ │ │ │ ├── index.ts │ │ │ │ └── helpers │ │ │ │ │ └── sales-channels │ │ │ │ │ └── index.ts │ │ │ ├── filtering │ │ │ │ ├── query │ │ │ │ │ └── index.ts │ │ │ │ ├── order-by │ │ │ │ │ └── index.ts │ │ │ │ └── filter-group │ │ │ │ │ └── index.ts │ │ │ ├── layout │ │ │ │ ├── shell │ │ │ │ │ └── index.ts │ │ │ │ ├── nav-item │ │ │ │ │ └── index.ts │ │ │ │ ├── user-menu │ │ │ │ │ └── index.ts │ │ │ │ ├── main-layout │ │ │ │ │ └── index.ts │ │ │ │ ├── notifications │ │ │ │ │ └── index.ts │ │ │ │ ├── public-layout │ │ │ │ │ ├── index.ts │ │ │ │ │ └── public-layout.tsx │ │ │ │ ├── settings-layout │ │ │ │ │ └── index.ts │ │ │ │ └── pages │ │ │ │ │ ├── two-column-page │ │ │ │ │ └── index.ts │ │ │ │ │ ├── single-column-page │ │ │ │ │ └── index.ts │ │ │ │ │ ├── index.ts │ │ │ │ │ └── types.ts │ │ │ ├── search │ │ │ │ ├── index.ts │ │ │ │ └── types.ts │ │ │ ├── utilities │ │ │ │ ├── i18n │ │ │ │ │ └── index.ts │ │ │ │ ├── keybound-form │ │ │ │ │ └── index.ts │ │ │ │ ├── visually-hidden │ │ │ │ │ ├── index.ts │ │ │ │ │ └── visually-hidden.tsx │ │ │ │ ├── generic-forward-ref │ │ │ │ │ ├── index.ts │ │ │ │ │ └── generic-forward-ref.tsx │ │ │ │ └── error-boundary │ │ │ │ │ └── index.ts │ │ │ ├── forms │ │ │ │ ├── email-form │ │ │ │ │ └── index.ts │ │ │ │ ├── address-form │ │ │ │ │ └── index.ts │ │ │ │ └── metadata-form │ │ │ │ │ └── index.ts │ │ │ ├── inputs │ │ │ │ ├── combobox │ │ │ │ │ └── index.ts │ │ │ │ ├── chip-input │ │ │ │ │ └── index.ts │ │ │ │ ├── handle-input │ │ │ │ │ └── index.ts │ │ │ │ ├── country-select │ │ │ │ │ └── index.ts │ │ │ │ ├── percentage-input │ │ │ │ │ └── index.ts │ │ │ │ └── province-select │ │ │ │ │ └── index.ts │ │ │ ├── modals │ │ │ │ ├── route-drawer │ │ │ │ │ └── index.ts │ │ │ │ ├── stacked-drawer │ │ │ │ │ └── index.ts │ │ │ │ ├── route-focus-modal │ │ │ │ │ └── index.ts │ │ │ │ ├── route-modal-form │ │ │ │ │ └── index.ts │ │ │ │ ├── stacked-focus-modal │ │ │ │ │ └── index.ts │ │ │ │ ├── route-modal-provider │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── route-modal-context.tsx │ │ │ │ │ └── use-route-modal.tsx │ │ │ │ ├── stacked-modal-provider │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── stacked-modal-context.tsx │ │ │ │ │ └── use-stacked-modal.ts │ │ │ │ └── index.ts │ │ │ ├── table │ │ │ │ ├── save-view-dialog │ │ │ │ │ └── index.ts │ │ │ │ ├── table-cells │ │ │ │ │ ├── common │ │ │ │ │ │ ├── code-cell │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── date-cell │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── email-cell │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── name-cell │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── text-cell │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── status-cell │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── created-at-cell │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── money-amount-cell │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ └── placeholder-cell │ │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ │ └── placeholder-cell.tsx │ │ │ │ │ ├── order │ │ │ │ │ │ ├── total-cell │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── country-cell │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── customer-cell │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── display-id-cell │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── sales-channel-cell │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── payment-status-cell │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ └── fulfillment-status-cell │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── taxes │ │ │ │ │ │ └── type-cell │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── product │ │ │ │ │ │ ├── product-cell │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── variant-cell │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── collection-cell │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── product-status-cell │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ └── sales-channels-cell │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── promotion │ │ │ │ │ │ └── status-cell │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── region │ │ │ │ │ │ ├── region-cell │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── countries-cell │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── payment-providers-cell │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ └── fulfillment-providers-cell │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── sales-channel │ │ │ │ │ │ ├── name-cell │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ └── description-cell │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── customer │ │ │ │ │ │ └── first-seen-cell │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── shipping-option │ │ │ │ │ │ ├── admin-only-cell │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── is-return-cell │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── price-type-cell │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ └── shipping-option-cell │ │ │ │ │ │ └── index.ts │ │ │ │ ├── data-table │ │ │ │ │ ├── data-table-filter │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── types.ts │ │ │ │ │ ├── data-table-query │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── data-table-root │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── data-table-search │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── data-table-order-by │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── index.ts │ │ │ │ ├── save-view-dropdown │ │ │ │ │ └── index.ts │ │ │ │ ├── view-selector │ │ │ │ │ └── index.ts │ │ │ │ └── configurable-data-table │ │ │ │ │ └── index.ts │ │ │ ├── authentication │ │ │ │ └── protected-route │ │ │ │ │ └── index.ts │ │ │ ├── data-grid │ │ │ │ ├── index.ts │ │ │ │ ├── context │ │ │ │ │ ├── index.ts │ │ │ │ │ └── use-data-grid-context.tsx │ │ │ │ ├── helpers │ │ │ │ │ └── index.ts │ │ │ │ └── models │ │ │ │ │ └── index.ts │ │ │ └── localization │ │ │ │ └── localized-table-pagination │ │ │ │ └── index.ts │ │ ├── routes │ │ │ ├── home │ │ │ │ ├── index.ts │ │ │ │ └── home.tsx │ │ │ ├── invite │ │ │ │ └── index.ts │ │ │ ├── login │ │ │ │ └── index.ts │ │ │ ├── no-match │ │ │ │ └── index.ts │ │ │ ├── settings │ │ │ │ ├── index.ts │ │ │ │ └── settings.tsx │ │ │ ├── users │ │ │ │ ├── user-edit │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ └── edit-user-form │ │ │ │ │ │ └── index.ts │ │ │ │ ├── user-list │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ └── user-list-table │ │ │ │ │ │ └── index.ts │ │ │ │ ├── user-invite │ │ │ │ │ ├── index.ts │ │ │ │ │ └── user-invite.tsx │ │ │ │ ├── user-metadata │ │ │ │ │ └── index.ts │ │ │ │ └── user-detail │ │ │ │ │ ├── components │ │ │ │ │ └── user-general-section │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── index.ts │ │ │ ├── campaigns │ │ │ │ ├── campaign-list │ │ │ │ │ ├── components │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── index.ts │ │ │ │ ├── campaign-detail │ │ │ │ │ ├── components │ │ │ │ │ │ ├── campaign-spend │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── campaign-budget │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── campaign-general-section │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── campaign-promotion-section │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ └── campaign-configuration-section │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── constants.ts │ │ │ │ │ └── index.ts │ │ │ │ ├── campaign-edit │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ └── edit-campaign-form │ │ │ │ │ │ └── index.ts │ │ │ │ ├── campaign-create │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── components │ │ │ │ │ │ └── create-campaign-form │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── campaign-create.tsx │ │ │ │ ├── add-campaign-promotions │ │ │ │ │ ├── components │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── index.ts │ │ │ │ ├── campaign-budget-edit │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ └── edit-campaign-budget-form │ │ │ │ │ │ └── index.ts │ │ │ │ ├── common │ │ │ │ │ ├── components │ │ │ │ │ │ └── create-campaign-form-fields │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── constants.ts │ │ │ │ └── campaign-configuration │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ └── campaign-configuration-form │ │ │ │ │ └── index.ts │ │ │ ├── categories │ │ │ │ ├── common │ │ │ │ │ ├── components │ │ │ │ │ │ └── category-tree │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── types.ts │ │ │ │ ├── category-edit │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ └── edit-category-form │ │ │ │ │ │ └── index.ts │ │ │ │ ├── category-list │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ └── category-list-table │ │ │ │ │ │ └── index.ts │ │ │ │ ├── category-create │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ └── create-category-form │ │ │ │ │ │ └── index.ts │ │ │ │ ├── category-organize │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── components │ │ │ │ │ │ └── organize-category-form │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── category-organize.tsx │ │ │ │ ├── category-products │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ └── edit-category-products-form │ │ │ │ │ │ └── index.ts │ │ │ │ ├── categories-metadata │ │ │ │ │ └── index.ts │ │ │ │ └── category-detail │ │ │ │ │ ├── components │ │ │ │ │ ├── category-general-section │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── category-organize-section │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── category-product-section │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── index.ts │ │ │ ├── locations │ │ │ │ ├── common │ │ │ │ │ ├── components │ │ │ │ │ │ ├── geo-zone-form │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── conditional-price-form │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── shipping-option-price-cell │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ └── shipping-option-price-provider │ │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ │ └── shipping-option-price-context.tsx │ │ │ │ │ └── types.ts │ │ │ │ ├── location-edit │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ └── edit-location-form │ │ │ │ │ │ └── index.ts │ │ │ │ ├── location-list │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── components │ │ │ │ │ │ └── location-list-item │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── constants.ts │ │ │ │ ├── location-create │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── components │ │ │ │ │ │ └── create-location-form │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── location-create.tsx │ │ │ │ ├── location-detail │ │ │ │ │ ├── components │ │ │ │ │ │ ├── location-general-section │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── location-sales-channels-section │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ └── location-fulfillment-providers-section │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── index.ts │ │ │ │ │ └── constants.ts │ │ │ │ ├── location-service-zone-edit │ │ │ │ │ ├── components │ │ │ │ │ │ └── edit-region-form │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── index.ts │ │ │ │ ├── location-sales-channels │ │ │ │ │ ├── components │ │ │ │ │ │ └── edit-sales-channels-form │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── index.ts │ │ │ │ ├── location-service-zone-create │ │ │ │ │ ├── components │ │ │ │ │ │ └── create-service-zone-form │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── index.ts │ │ │ │ ├── location-service-zone-shipping-option-edit │ │ │ │ │ ├── components │ │ │ │ │ │ └── edit-region-form │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── index.ts │ │ │ │ ├── location-service-zone-manage-areas │ │ │ │ │ ├── components │ │ │ │ │ │ └── edit-region-areas-form │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── index.ts │ │ │ │ ├── location-fulfillment-providers │ │ │ │ │ ├── components │ │ │ │ │ │ └── edit-fulfillment-providers-form │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── index.ts │ │ │ │ ├── location-service-zone-shipping-option-create │ │ │ │ │ ├── components │ │ │ │ │ │ └── create-shipping-options-form │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── index.ts │ │ │ │ │ └── constants.ts │ │ │ │ └── location-service-zone-shipping-option-pricing │ │ │ │ │ ├── components │ │ │ │ │ └── create-shipping-options-form │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── index.ts │ │ │ ├── orders │ │ │ │ ├── order-list │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── components │ │ │ │ │ │ └── order-list-table │ │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ │ └── constants.ts │ │ │ │ │ └── const.ts │ │ │ │ ├── order-create-claim │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ ├── claim-create-form │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── item-placeholder.tsx │ │ │ │ │ │ ├── add-claim-items-table │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ └── add-claim-outbound-items-table │ │ │ │ │ │ └── index.ts │ │ │ │ ├── order-detail │ │ │ │ │ ├── components │ │ │ │ │ │ ├── copy-payment-link │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── order-activity-section │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── order-customer-section │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── order-general-section │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── order-payment-section │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── order-summary-section │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── active-order-claim-section │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── active-order-return-section │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── order-active-edit-section │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── order-fulfillment-section │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ └── active-order-exchange-section │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── index.ts │ │ │ │ ├── order-metadata │ │ │ │ │ └── index.ts │ │ │ │ ├── order-create-return │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ ├── return-create-form │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ └── add-return-items-table │ │ │ │ │ │ └── index.ts │ │ │ │ ├── order-edit-email │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ └── edit-order-email-form │ │ │ │ │ │ └── index.ts │ │ │ │ ├── order-balance-settlement │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ └── order-balance-settlement-form │ │ │ │ │ │ └── index.ts │ │ │ │ ├── order-create-exchange │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ ├── exchange-create-form │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── add-exchange-inbound-items-table │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ └── add-exchange-outbound-items-table │ │ │ │ │ │ └── index.ts │ │ │ │ ├── order-create-refund │ │ │ │ │ ├── components │ │ │ │ │ │ └── create-refund-form │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── index.ts │ │ │ │ ├── order-create-edit │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ ├── order-edit-create-form │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── schema.ts │ │ │ │ │ │ └── add-order-edit-items-table │ │ │ │ │ │ └── index.ts │ │ │ │ ├── order-allocate-items │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ └── order-create-fulfillment-form │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── constants.ts │ │ │ │ ├── order-create-shipment │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ └── order-create-shipment-form │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── constants.ts │ │ │ │ ├── order-receive-return │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ └── order-receive-return-form │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── constants.ts │ │ │ │ ├── order-request-transfer │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ └── create-order-transfer-form │ │ │ │ │ │ └── index.ts │ │ │ │ ├── order-create-fulfillment │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ └── order-create-fulfillment-form │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── constants.ts │ │ │ │ ├── order-edit-billing-address │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ └── edit-order-billing-address-form │ │ │ │ │ │ └── index.ts │ │ │ │ └── order-edit-shipping-address │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ └── edit-order-shipping-address-form │ │ │ │ │ └── index.ts │ │ │ ├── store │ │ │ │ ├── store-edit │ │ │ │ │ └── index.ts │ │ │ │ ├── store-metadata │ │ │ │ │ └── index.ts │ │ │ │ ├── store-detail │ │ │ │ │ ├── components │ │ │ │ │ │ ├── store-currency-section │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ └── store-general-section │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── index.ts │ │ │ │ └── store-add-currencies │ │ │ │ │ └── index.ts │ │ │ ├── tax-regions │ │ │ │ ├── common │ │ │ │ │ ├── components │ │ │ │ │ │ ├── target-form │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── target-item │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── tax-rate-line │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── tax-region-card │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── tax-override-card │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── tax-region-table │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ └── tax-override-table │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── constants.ts │ │ │ │ │ └── utils.ts │ │ │ │ ├── tax-region-edit │ │ │ │ │ ├── components │ │ │ │ │ │ └── tax-region-edit │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── index.ts │ │ │ │ ├── tax-region-list │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ └── tax-region-list-view │ │ │ │ │ │ └── index.ts │ │ │ │ ├── tax-region-tax-rate-edit │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ └── tax-region-tax-rate-edit-form │ │ │ │ │ │ └── index.ts │ │ │ │ ├── tax-region-create │ │ │ │ │ ├── components │ │ │ │ │ │ └── tax-region-create-form │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── index.ts │ │ │ │ │ └── tax-region-create.tsx │ │ │ │ ├── tax-region-detail │ │ │ │ │ ├── tax-region-provider-section │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── components │ │ │ │ │ │ ├── tax-region-detail-section │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── tax-region-override-section │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── tax-region-province-section │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── tax-region-sublevel-alert │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── index.ts │ │ │ │ ├── tax-region-metadata │ │ │ │ │ └── index.ts │ │ │ │ ├── tax-region-tax-rate-create │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ └── tax-region-tax-rate-create-form │ │ │ │ │ │ └── index.ts │ │ │ │ ├── tax-region-province-detail │ │ │ │ │ ├── components │ │ │ │ │ │ ├── tax-region-province-detail-section │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── tax-region-province-override-section │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── index.ts │ │ │ │ ├── tax-region-tax-override-edit │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ └── tax-region-tax-override-edit-form │ │ │ │ │ │ └── index.ts │ │ │ │ ├── tax-region-province-create │ │ │ │ │ ├── components │ │ │ │ │ │ └── tax-region-province-create-form │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── index.ts │ │ │ │ └── tax-region-tax-override-create │ │ │ │ │ ├── components │ │ │ │ │ └── tax-region-override-create-form │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── index.ts │ │ │ ├── inventory │ │ │ │ ├── common │ │ │ │ │ └── constants.ts │ │ │ │ ├── inventory-stock │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ └── inventory-stock-form │ │ │ │ │ │ └── index.ts │ │ │ │ ├── inventory-create │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ └── inventory-create-form │ │ │ │ │ │ └── index.ts │ │ │ │ ├── inventory-list │ │ │ │ │ └── index.ts │ │ │ │ ├── inventory-metadata │ │ │ │ │ └── index.ts │ │ │ │ └── inventory-detail │ │ │ │ │ ├── constants.ts │ │ │ │ │ ├── components │ │ │ │ │ ├── edit-inventory-item │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── adjust-inventory │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── manage-locations │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── edit-inventory-item-attributes │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── index.ts │ │ │ ├── products │ │ │ │ ├── product-edit │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ └── edit-product-form │ │ │ │ │ │ └── index.ts │ │ │ │ ├── common │ │ │ │ │ ├── components │ │ │ │ │ │ ├── category-combobox │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ └── upload-media-form-item │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── constants.ts │ │ │ │ ├── product-media │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ ├── product-media-view │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ ├── product-media-view-context.tsx │ │ │ │ │ │ └── use-product-media-view.tsx │ │ │ │ │ │ ├── edit-product-media-form │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ └── product-media-gallery │ │ │ │ │ │ └── index.ts │ │ │ │ ├── product-create │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── components │ │ │ │ │ │ ├── product-create-form │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── product-create-details-form │ │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ │ └── components │ │ │ │ │ │ │ │ ├── product-create-details-general-section │ │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ │ │ ├── product-create-details-media-section │ │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ │ │ └── product-create-details-variant-section │ │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── product-create-organize-form │ │ │ │ │ │ │ ├── constants.ts │ │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ │ └── components │ │ │ │ │ │ │ │ ├── product-create-organize-section │ │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ │ │ ├── product-create-sales-channel-stacked-modal │ │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ │ │ └── product-create-organize-attribute-section │ │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── product-create-variants-form │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ └── product-create-inventory-kit-form │ │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ │ └── components │ │ │ │ │ │ │ └── product-create-inventory-kit-section │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── types.ts │ │ │ │ ├── product-export │ │ │ │ │ └── index.ts │ │ │ │ ├── product-import │ │ │ │ │ └── index.ts │ │ │ │ ├── product-list │ │ │ │ │ ├── components │ │ │ │ │ │ └── product-list-table │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── index.ts │ │ │ │ ├── product-prices │ │ │ │ │ └── index.ts │ │ │ │ ├── product-stock │ │ │ │ │ ├── components │ │ │ │ │ │ └── product-stock-form │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── index.ts │ │ │ │ ├── product-metadata │ │ │ │ │ └── index.ts │ │ │ │ ├── product-attributes │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ └── product-attributes-form │ │ │ │ │ │ └── index.ts │ │ │ │ ├── product-detail │ │ │ │ │ ├── components │ │ │ │ │ │ ├── product-media-section │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── product-option-section │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── product-general-section │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── product-variant-section │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── product-attribute-section │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── product-organization-section │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── product-sales-channel-section │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ └── product-shipping-profile-section │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── constants.ts │ │ │ │ │ └── index.ts │ │ │ │ ├── product-edit-option │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ └── edit-product-option-form │ │ │ │ │ │ └── index.ts │ │ │ │ ├── product-organization │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ └── product-organization-form │ │ │ │ │ │ └── index.ts │ │ │ │ ├── product-create-option │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ └── create-product-option-form │ │ │ │ │ │ └── index.ts │ │ │ │ ├── product-create-variant │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ └── create-product-variant-form │ │ │ │ │ │ └── index.ts │ │ │ │ ├── product-sales-channels │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ └── edit-sales-channels-form │ │ │ │ │ │ └── index.ts │ │ │ │ ├── product-shipping-profile │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ └── product-organization-form │ │ │ │ │ │ └── index.ts │ │ │ │ └── product-image-variants-edit │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ └── variants-table-form │ │ │ │ │ └── index.ts │ │ │ ├── profile │ │ │ │ ├── profile-edit │ │ │ │ │ └── index.ts │ │ │ │ └── profile-detail │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ └── profile-general-section │ │ │ │ │ └── index.ts │ │ │ ├── regions │ │ │ │ ├── region-edit │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ └── edit-region-form │ │ │ │ │ │ └── index.ts │ │ │ │ ├── region-list │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ └── region-list-table │ │ │ │ │ │ └── index.ts │ │ │ │ ├── region-create │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ └── create-region-form │ │ │ │ │ │ └── index.ts │ │ │ │ ├── region-metadata │ │ │ │ │ └── index.ts │ │ │ │ ├── region-add-countries │ │ │ │ │ ├── components │ │ │ │ │ │ └── add-countries-form │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── index.ts │ │ │ │ ├── region-detail │ │ │ │ │ ├── components │ │ │ │ │ │ ├── region-country-section │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ └── region-general-section │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── constants.ts │ │ │ │ │ └── index.ts │ │ │ │ └── common │ │ │ │ │ └── constants.ts │ │ │ ├── customers │ │ │ │ ├── customer-edit │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ └── edit-customer-form │ │ │ │ │ │ └── index.ts │ │ │ │ ├── customer-list │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ └── customer-list-table │ │ │ │ │ │ └── index.ts │ │ │ │ ├── customer-create │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── components │ │ │ │ │ │ └── create-customer-form │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── customer-create.tsx │ │ │ │ ├── customer-metadata │ │ │ │ │ └── index.ts │ │ │ │ ├── customer-detail │ │ │ │ │ ├── components │ │ │ │ │ │ ├── customer-address-section │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── customer-general-section │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── customer-group-section │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ └── customer-order-section │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── index.ts │ │ │ │ ├── customer-create-address │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── components │ │ │ │ │ │ └── create-customer-address-form │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── customer-create-address.tsx │ │ │ │ └── customers-add-customer-group │ │ │ │ │ ├── components │ │ │ │ │ └── add-customers-form │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── index.ts │ │ │ ├── promotions │ │ │ │ ├── common │ │ │ │ │ └── edit-rules │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── components │ │ │ │ │ │ ├── edit-rules-form │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── rules-form-field │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── constants.ts │ │ │ │ │ │ ├── edit-rules-wrapper │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── utils.ts │ │ │ │ │ │ └── rule-value-form-field │ │ │ │ │ │ └── index.ts │ │ │ │ ├── promotion-create │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── components │ │ │ │ │ │ └── create-promotion-form │ │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ │ └── constants.ts │ │ │ │ │ └── promotion-create.tsx │ │ │ │ ├── promotion-detail │ │ │ │ │ ├── components │ │ │ │ │ │ ├── campaign-section │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── promotion-conditions-section │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ └── promotion-general-section │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── index.ts │ │ │ │ ├── promotion-list │ │ │ │ │ ├── components │ │ │ │ │ │ └── promotion-list-table │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── index.ts │ │ │ │ ├── promotion-add-campaign │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ └── add-campaign-promotion-form │ │ │ │ │ │ └── index.ts │ │ │ │ └── promotion-edit-details │ │ │ │ │ ├── components │ │ │ │ │ └── edit-promotion-form │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── index.ts │ │ │ ├── reservations │ │ │ │ ├── reservation-list │ │ │ │ │ ├── constants.ts │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ └── reservation-list-table │ │ │ │ │ │ └── index.ts │ │ │ │ ├── reservation-create │ │ │ │ │ ├── components │ │ │ │ │ │ └── reservation-create-from │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── index.ts │ │ │ │ ├── reservation-metadata │ │ │ │ │ └── index.ts │ │ │ │ └── reservation-detail │ │ │ │ │ ├── components │ │ │ │ │ ├── reservation-general-section │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── edit-reservation │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── components │ │ │ │ │ │ └── index.tsx │ │ │ │ │ └── index.ts │ │ │ ├── reset-password │ │ │ │ └── index.ts │ │ │ ├── sales-channels │ │ │ │ ├── sales-channel-list │ │ │ │ │ ├── components │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── index.ts │ │ │ │ ├── sales-channel-edit │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ └── edit-sales-channel-form │ │ │ │ │ │ └── index.ts │ │ │ │ ├── sales-channel-add-products │ │ │ │ │ ├── components │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── index.ts │ │ │ │ ├── sales-channel-create │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── components │ │ │ │ │ │ └── create-sales-channel-form │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── sales-channel-create.tsx │ │ │ │ ├── sales-channel-metadata │ │ │ │ │ └── index.ts │ │ │ │ └── sales-channel-detail │ │ │ │ │ ├── components │ │ │ │ │ ├── sales-channel-general-section │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── sales-channel-product-section │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── index.ts │ │ │ ├── collections │ │ │ │ ├── collection-edit │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ └── edit-collection-form │ │ │ │ │ │ └── index.ts │ │ │ │ ├── collection-list │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ └── collection-list-table │ │ │ │ │ │ └── index.ts │ │ │ │ ├── collection-create │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── components │ │ │ │ │ │ └── create-collection-form │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── collection-create.tsx │ │ │ │ ├── collection-metadata │ │ │ │ │ └── index.ts │ │ │ │ ├── collection-add-products │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ └── add-products-to-collection-form │ │ │ │ │ │ └── index.ts │ │ │ │ └── collection-detail │ │ │ │ │ ├── components │ │ │ │ │ ├── collection-general-section │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── collection-product-section │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── index.ts │ │ │ ├── price-lists │ │ │ │ ├── price-list-edit │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ └── price-list-edit-form │ │ │ │ │ │ └── index.ts │ │ │ │ ├── price-list-list │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ └── price-list-list-table │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── use-pricing-table-filters.tsx │ │ │ │ ├── price-list-create │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ └── price-list-create-form │ │ │ │ │ │ └── index.ts │ │ │ │ ├── price-list-prices-add │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ └── price-list-prices-add-form │ │ │ │ │ │ └── index.ts │ │ │ │ ├── price-list-detail │ │ │ │ │ ├── components │ │ │ │ │ │ ├── price-list-general-section │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── price-list-product-section │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ └── price-list-configuration-section │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── index.ts │ │ │ │ ├── price-list-prices-edit │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ └── price-list-prices-edit-form │ │ │ │ │ │ └── index.ts │ │ │ │ ├── common │ │ │ │ │ └── components │ │ │ │ │ │ └── price-list-customer-group-rule-form │ │ │ │ │ │ └── index.ts │ │ │ │ └── price-list-configuration │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ └── price-list-configuration-form │ │ │ │ │ └── index.ts │ │ │ ├── product-tags │ │ │ │ ├── product-tag-edit │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ └── product-tag-edit-form │ │ │ │ │ │ └── index.ts │ │ │ │ ├── product-tag-create │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── components │ │ │ │ │ │ └── product-tag-create-form │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── product-tag-create.tsx │ │ │ │ ├── product-tag-list │ │ │ │ │ ├── components │ │ │ │ │ │ └── product-tag-list-table │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── index.ts │ │ │ │ ├── product-tag-metadata │ │ │ │ │ └── index.ts │ │ │ │ └── product-tag-detail │ │ │ │ │ ├── components │ │ │ │ │ ├── product-tag-general-section │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── product-tag-product-section │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── index.ts │ │ │ ├── product-types │ │ │ │ ├── product-type-edit │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ └── edit-product-type-form │ │ │ │ │ │ └── index.ts │ │ │ │ ├── product-type-list │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ └── product-type-list-table │ │ │ │ │ │ └── index.ts │ │ │ │ ├── product-type-create │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── components │ │ │ │ │ │ └── create-product-type-form │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── product-type-create.tsx │ │ │ │ ├── product-type-metadata │ │ │ │ │ └── index.ts │ │ │ │ └── product-type-detail │ │ │ │ │ ├── components │ │ │ │ │ ├── product-type-general-section │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── product-type-product-section │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── index.ts │ │ │ ├── customer-groups │ │ │ │ ├── customer-group-detail │ │ │ │ │ ├── constants.ts │ │ │ │ │ ├── components │ │ │ │ │ │ ├── customer-group-general-section │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ └── customer-group-customer-section │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── index.ts │ │ │ │ ├── customer-group-edit │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ └── edit-customer-group-form │ │ │ │ │ │ └── index.ts │ │ │ │ ├── customer-group-list │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ └── customer-group-list-table │ │ │ │ │ │ └── index.ts │ │ │ │ ├── customer-group-add-customers │ │ │ │ │ ├── components │ │ │ │ │ │ └── add-customers-form │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── index.ts │ │ │ │ │ └── customer-group-add-customers.tsx │ │ │ │ ├── customer-group-create │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── components │ │ │ │ │ │ └── create-customer-group-form │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── customer-group-create.tsx │ │ │ │ └── customer-group-metadata │ │ │ │ │ └── index.ts │ │ │ ├── refund-reasons │ │ │ │ ├── refund-reason-edit │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ └── refund-reason-edit-form │ │ │ │ │ │ └── index.ts │ │ │ │ ├── refund-reason-create │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── components │ │ │ │ │ │ └── refund-reason-create-form │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── refund-reason-create.tsx │ │ │ │ └── refund-reason-list │ │ │ │ │ ├── components │ │ │ │ │ └── refund-reason-list-table │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── index.ts │ │ │ ├── return-reasons │ │ │ │ ├── return-reason-edit │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ └── return-reason-edit-form │ │ │ │ │ │ └── index.ts │ │ │ │ ├── return-reason-create │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── components │ │ │ │ │ │ └── return-reason-create-form │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── return-reason-create.tsx │ │ │ │ └── return-reason-list │ │ │ │ │ ├── components │ │ │ │ │ └── return-reason-list-table │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── index.ts │ │ │ ├── api-key-management │ │ │ │ ├── api-key-management-edit │ │ │ │ │ ├── components │ │ │ │ │ │ └── edit-api-key-form │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── index.ts │ │ │ │ ├── api-key-management-create │ │ │ │ │ ├── components │ │ │ │ │ │ └── api-key-create-form │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── index.ts │ │ │ │ ├── api-key-management-detail │ │ │ │ │ ├── components │ │ │ │ │ │ ├── api-key-general-section │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ └── api-key-sales-channel-section │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── index.ts │ │ │ │ ├── api-key-management-list │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ └── api-key-management-list-table │ │ │ │ │ │ └── index.ts │ │ │ │ ├── common │ │ │ │ │ └── constants.ts │ │ │ │ └── api-key-management-sales-channels │ │ │ │ │ ├── components │ │ │ │ │ └── api-key-sales-channels-form │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── index.ts │ │ │ ├── product-variants │ │ │ │ ├── product-variant-detail │ │ │ │ │ ├── components │ │ │ │ │ │ ├── variant-prices-section │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── variant-general-section │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── variant-inventory-section │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ └── variant-media-section │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── index.ts │ │ │ │ │ └── constants.ts │ │ │ │ ├── product-variant-media │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ └── edit-product-variant-media-form │ │ │ │ │ │ └── index.ts │ │ │ │ ├── product-variant-edit │ │ │ │ │ ├── components │ │ │ │ │ │ └── product-edit-variant-form │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── index.ts │ │ │ │ ├── product-variant-metadata │ │ │ │ │ └── index.ts │ │ │ │ └── product-variant-manage-inventory-items │ │ │ │ │ ├── components │ │ │ │ │ └── manage-variant-inventory-items-form │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── index.ts │ │ │ ├── shipping-profiles │ │ │ │ ├── shipping-profiles-list │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ └── shipping-profile-list-table │ │ │ │ │ │ └── index.ts │ │ │ │ ├── shipping-profile-create │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── components │ │ │ │ │ │ └── create-shipping-profile-form │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── shipping-profile-create.tsx │ │ │ │ ├── shipping-profile-metadata │ │ │ │ │ └── index.ts │ │ │ │ └── shipping-profile-detail │ │ │ │ │ ├── components │ │ │ │ │ └── shipping-profile-general-section │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── index.ts │ │ │ ├── workflow-executions │ │ │ │ ├── workflow-execution-list │ │ │ │ │ ├── index.ts │ │ │ │ │ └── components │ │ │ │ │ │ └── workflow-execution-list-table │ │ │ │ │ │ └── index.ts │ │ │ │ └── workflow-execution-detail │ │ │ │ │ ├── components │ │ │ │ │ ├── workflow-execution-general-section │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── workflow-execution-history-section │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── workflow-execution-payload-section │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── workflow-execution-timeline-section │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── index.ts │ │ │ └── shipping-option-types │ │ │ │ ├── shipping-option-type-edit │ │ │ │ ├── index.ts │ │ │ │ └── components │ │ │ │ │ └── edit-shipping-option-type-form │ │ │ │ │ └── index.ts │ │ │ │ ├── shipping-option-type-list │ │ │ │ ├── index.ts │ │ │ │ └── components │ │ │ │ │ └── shipping-option-type-list-table │ │ │ │ │ └── index.ts │ │ │ │ ├── shipping-option-type-create │ │ │ │ ├── index.ts │ │ │ │ ├── components │ │ │ │ │ └── create-shipping-option-type-form │ │ │ │ │ │ └── index.ts │ │ │ │ └── shipping-option-type-create.tsx │ │ │ │ └── shipping-option-type-detail │ │ │ │ ├── components │ │ │ │ └── shipping-option-type-general-section │ │ │ │ │ └── index.ts │ │ │ │ └── index.ts │ │ ├── dashboard-app │ │ │ ├── forms │ │ │ │ ├── form-extension-zone │ │ │ │ │ ├── index.ts │ │ │ │ │ └── types.ts │ │ │ │ └── index.ts │ │ │ └── index.ts │ │ ├── plugins │ │ │ ├── extensions │ │ │ │ └── draft-orders │ │ │ │ │ ├── lib │ │ │ │ │ ├── queries │ │ │ │ │ │ ├── sdk.ts │ │ │ │ │ │ └── draft-order-details.ts │ │ │ │ │ └── utils │ │ │ │ │ │ ├── string-utils.ts │ │ │ │ │ │ └── number-utils.ts │ │ │ │ │ ├── components │ │ │ │ │ ├── modals │ │ │ │ │ │ ├── route-drawer │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── route-modal-form │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── stacked-drawer │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── route-focus-modal │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── stacked-focus-modal │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ │ ├── route-modal-provider │ │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ │ ├── route-modal-context.tsx │ │ │ │ │ │ │ └── use-route-modal.tsx │ │ │ │ │ │ ├── stacked-modal-provider │ │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ │ ├── stacked-modal-context.tsx │ │ │ │ │ │ │ └── use-stacked-modal.ts │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── utilities │ │ │ │ │ │ └── generic-forward-ref.tsx │ │ │ │ │ └── hooks │ │ │ │ │ └── api │ │ │ │ │ └── products.tsx │ │ │ ├── custom │ │ │ │ └── order-detail-slot-1 │ │ │ │ │ ├── plugin2.tsx │ │ │ │ │ └── index.tsx │ │ │ ├── rbac-test │ │ │ │ └── product-main-slot │ │ │ │ │ ├── plugin.tsx │ │ │ │ │ └── index.tsx │ │ │ └── routes │ │ │ │ ├── login │ │ │ │ └── index.ts │ │ │ │ └── core │ │ │ │ └── index.tsx │ │ ├── assets │ │ │ └── fonts │ │ │ │ ├── Inter-Medium.ttf │ │ │ │ ├── Inter-Regular.ttf │ │ │ │ ├── RobotoMono-Medium.ttf │ │ │ │ └── RobotoMono-Regular.ttf │ │ ├── i18next.d.ts │ │ ├── hooks │ │ │ └── table │ │ │ │ └── filters │ │ │ │ ├── use-shipping-option-type-table-filters.tsx │ │ │ │ ├── use-collection-table-filters.tsx │ │ │ │ ├── use-product-tag-table-filters.tsx │ │ │ │ ├── use-product-type-table-filters.tsx │ │ │ │ └── use-promotion-table-filters.tsx │ │ ├── i18n │ │ │ ├── types.ts │ │ │ └── config.ts │ │ └── main.tsx │ ├── .env │ ├── vercel.json │ ├── public │ │ └── icon.png │ ├── postcss.config.cjs │ ├── tsconfig.build.json │ ├── tsconfig.node.json │ ├── sync-upstream.sh │ ├── index.html │ └── .gitignore ├── cli │ ├── template │ │ ├── public │ │ │ └── icon.png │ │ ├── postcss.config.cjs │ │ ├── tsup.config.cjs │ │ ├── tsconfig.json │ │ └── index.html │ ├── yarn.lock │ └── package.json └── plugin-system │ ├── src │ ├── types │ │ ├── nocto-plugin.ts │ │ └── nocto-config.ts │ └── vite-env.d.ts │ └── tsconfig.json ├── public ├── icon.png └── nocto-banner-extended.jpg └── .gitignore /packages/nocto/.yarnrc.yml: -------------------------------------------------------------------------------- 1 | nodeLinker: node-modules 2 | -------------------------------------------------------------------------------- /packages/nocto/src/lib/client/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./client" 2 | -------------------------------------------------------------------------------- /packages/nocto/.env: -------------------------------------------------------------------------------- 1 | VITE_MEDUSA_ADMIN_BACKEND_URL=http://localhost:9000 -------------------------------------------------------------------------------- /packages/nocto/src/index.ts: -------------------------------------------------------------------------------- 1 | export { default as App } from './app'; 2 | -------------------------------------------------------------------------------- /packages/nocto/src/providers/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./providers" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/common/form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./form"; 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/data-table/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./data-table" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/filtering/query/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./query" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/layout/shell/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./shell" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/search/index.ts: -------------------------------------------------------------------------------- 1 | export { Search } from "./search" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/utilities/i18n/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./i18n" 2 | -------------------------------------------------------------------------------- /public/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSC-Labs/nocto/HEAD/public/icon.png -------------------------------------------------------------------------------- /packages/nocto/src/components/common/listicle/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./listicle" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/common/section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./section-row" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/common/skeleton/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./skeleton" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/common/thumbnail/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./thumbnail"; 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/common/user-link/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./user-link" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/filtering/order-by/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./order-by" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/forms/email-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./email-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/inputs/combobox/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./combobox" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/layout/nav-item/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./nav-item" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/layout/user-menu/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./user-menu" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/providers/i18n-provider/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./i18n-provider" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/home/index.ts: -------------------------------------------------------------------------------- 1 | export { Home as Component } from "./home"; 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/common/action-menu/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./action-menu" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/common/chip-group/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./chip-group" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/common/display-id/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./display-id" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/common/file-preview/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./file-preview" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/common/file-upload/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./file-upload" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/common/icon-avatar/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./icon-avatar" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/common/link-button/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./link-button" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/common/progress-bar/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./progress-bar" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/common/switch-box/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./switch-box" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/forms/address-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./address-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/inputs/chip-input/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./chip-input" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/inputs/handle-input/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./handle-input" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/layout/main-layout/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./main-layout" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/modals/route-drawer/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./route-drawer" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/invite/index.ts: -------------------------------------------------------------------------------- 1 | export { Invite as Component } from "./invite" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/login/index.ts: -------------------------------------------------------------------------------- 1 | export { Login as Component } from "./login" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/common/customer-info/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./customer-info" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/common/infinite-list/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./infinite-list" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/common/sidebar-link/indext.ts: -------------------------------------------------------------------------------- 1 | export * from "./sidebar-link" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/common/sortable-list/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./sortable-list" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/common/sortable-tree/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./sortable-tree" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/filtering/filter-group/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./filter-group" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/forms/metadata-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./metadata-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/inputs/country-select/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./country-select" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/layout/notifications/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./notifications" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/layout/public-layout/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./public-layout"; 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/modals/stacked-drawer/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./stacked-drawer" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/table/save-view-dialog/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./save-view-dialog" -------------------------------------------------------------------------------- /packages/nocto/src/components/utilities/keybound-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./keybound-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/no-match/index.ts: -------------------------------------------------------------------------------- 1 | export { NoMatch as Component } from "./no-match" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/settings/index.ts: -------------------------------------------------------------------------------- 1 | export { Settings as Component } from "./settings" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/common/json-view-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./json-view-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/common/metadata-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./metadata-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/inputs/percentage-input/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./percentage-input" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/inputs/province-select/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./province-select" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/layout/settings-layout/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./settings-layout" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/modals/route-focus-modal/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./route-focus-modal" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/modals/route-modal-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./route-modal-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/utilities/visually-hidden/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./visually-hidden" 2 | -------------------------------------------------------------------------------- /packages/nocto/vercel.json: -------------------------------------------------------------------------------- 1 | { 2 | "rewrites": [{ "source": "/(.*)", "destination": "/" }] 3 | } 4 | -------------------------------------------------------------------------------- /packages/nocto/src/components/authentication/protected-route/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./protected-route" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/common/badge-list-summary/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./badge-list-summary" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/common/conditional-tooltip/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./conditional-tooltip" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/common/date-range-display/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./date-range-display" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/common/empty-table-content/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./empty-table-content" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/common/list-summary/index.ts: -------------------------------------------------------------------------------- 1 | export { ListSummary } from "./list-summary" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/layout/pages/two-column-page/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./two-column-page" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/modals/stacked-focus-modal/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./stacked-focus-modal" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/table/table-cells/common/code-cell/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./code-cell" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/table/table-cells/common/date-cell/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./date-cell" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/table/table-cells/common/email-cell/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./email-cell" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/table/table-cells/common/name-cell/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./name-cell" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/table/table-cells/common/text-cell/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./text-cell" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/table/table-cells/order/total-cell/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./total-cell" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/table/table-cells/taxes/type-cell/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./type-cell" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/users/user-edit/index.ts: -------------------------------------------------------------------------------- 1 | export { UserEdit as Component } from "./user-edit" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/users/user-list/index.ts: -------------------------------------------------------------------------------- 1 | export { UserList as Component } from "./user-list" 2 | -------------------------------------------------------------------------------- /packages/nocto/public/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSC-Labs/nocto/HEAD/packages/nocto/public/icon.png -------------------------------------------------------------------------------- /packages/nocto/src/components/data-grid/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./data-grid" 2 | export * from "./helpers" 3 | -------------------------------------------------------------------------------- /packages/nocto/src/components/layout/pages/single-column-page/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./single-column-page" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/table/data-table/data-table-filter/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./data-table-filter" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/table/data-table/data-table-query/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./data-table-query" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/table/data-table/data-table-root/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./data-table-root" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/table/data-table/data-table-search/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./data-table-search" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/table/table-cells/common/status-cell/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./status-cell" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/table/table-cells/order/country-cell/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./country-cell" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/table/table-cells/order/customer-cell/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./customer-cell" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/table/table-cells/product/product-cell/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./product-cell" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/table/table-cells/product/variant-cell/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./variant-cell" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/table/table-cells/promotion/status-cell/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./status-cell" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/table/table-cells/region/region-cell/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./region-cell" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/table/table-cells/sales-channel/name-cell/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./name-cell" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/utilities/generic-forward-ref/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./generic-forward-ref" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/dashboard-app/forms/form-extension-zone/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./form-extension-zone" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/campaigns/campaign-list/components/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./campaign-list-table" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/categories/common/components/category-tree/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./category-tree" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/locations/common/components/geo-zone-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./geo-zone-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/orders/order-list/index.ts: -------------------------------------------------------------------------------- 1 | export { OrderList as Component } from "./order-list" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/store/store-edit/index.ts: -------------------------------------------------------------------------------- 1 | export { StoreEdit as Component } from "./store-edit" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/tax-regions/common/components/target-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./target-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/tax-regions/common/components/target-item/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./target-item" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/users/user-edit/components/edit-user-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./edit-user-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/users/user-invite/index.ts: -------------------------------------------------------------------------------- 1 | export { UserInvite as Component } from "./user-invite" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/common/logo-box/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./logo-box" 2 | export * from "./avatar-box" 3 | -------------------------------------------------------------------------------- /packages/nocto/src/components/table/data-table/data-table-order-by/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./data-table-order-by" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/table/save-view-dropdown/index.ts: -------------------------------------------------------------------------------- 1 | export { SaveViewDropdown } from "./save-view-dropdown" -------------------------------------------------------------------------------- /packages/nocto/src/components/table/table-cells/common/created-at-cell/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./created-at-cell" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/table/table-cells/order/display-id-cell/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./display-id-cell" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/table/table-cells/product/collection-cell/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./collection-cell" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/table/table-cells/region/countries-cell/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./countries-cell" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/utilities/error-boundary/index.ts: -------------------------------------------------------------------------------- 1 | export { ErrorBoundary } from "./error-boundary" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/dashboard-app/forms/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./form-extension-zone" 2 | export * from "./hooks" 3 | -------------------------------------------------------------------------------- /packages/nocto/src/plugins/extensions/draft-orders/lib/queries/sdk.ts: -------------------------------------------------------------------------------- 1 | export { sdk } from "../../../../../lib/client" -------------------------------------------------------------------------------- /packages/nocto/src/routes/inventory/common/constants.ts: -------------------------------------------------------------------------------- 1 | export const INVENTORY_ITEM_IDS_KEY = "inventory_item_ids" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/products/product-edit/index.ts: -------------------------------------------------------------------------------- 1 | export { ProductEdit as Component } from "./product-edit" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/profile/profile-edit/index.ts: -------------------------------------------------------------------------------- 1 | export { ProfileEdit as Component } from "./profile-edit" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/regions/region-edit/index.ts: -------------------------------------------------------------------------------- 1 | export { RegionEdit as Component } from "./region-edit" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/regions/region-list/index.ts: -------------------------------------------------------------------------------- 1 | export { RegionList as Component } from "./region-list" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/tax-regions/common/components/tax-rate-line/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./tax-rate-line" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/tax-regions/common/components/tax-region-card/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./tax-region-card" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/users/user-list/components/user-list-table/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./user-list-table" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/users/user-metadata/index.ts: -------------------------------------------------------------------------------- 1 | export { UserMetadata as Component } from "./user-metadata" 2 | -------------------------------------------------------------------------------- /public/nocto-banner-extended.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSC-Labs/nocto/HEAD/public/nocto-banner-extended.jpg -------------------------------------------------------------------------------- /packages/nocto/src/components/table/table-cells/common/money-amount-cell/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./money-amount-cell" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/table/table-cells/common/placeholder-cell/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./placeholder-cell" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/table/table-cells/customer/first-seen-cell/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./first-seen-cell" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/table/table-cells/order/sales-channel-cell/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./sales-channel-cell" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/table/view-selector/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./view-selector" 2 | export * from "./view-pills" -------------------------------------------------------------------------------- /packages/nocto/src/routes/campaigns/campaign-detail/components/campaign-spend/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./campaign-spend" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/campaigns/campaign-detail/constants.ts: -------------------------------------------------------------------------------- 1 | export const CAMPAIGN_DETAIL_FIELDS = "+promotions.id" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/campaigns/campaign-edit/index.ts: -------------------------------------------------------------------------------- 1 | export { CampaignEdit as Component } from "./campaign-edit" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/campaigns/campaign-list/index.ts: -------------------------------------------------------------------------------- 1 | export { CampaignList as Component } from "./campaign-list" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/categories/category-edit/index.ts: -------------------------------------------------------------------------------- 1 | export { CategoryEdit as Component } from "./category-edit" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/categories/category-list/index.ts: -------------------------------------------------------------------------------- 1 | export { CategoryList as Component } from "./category-list" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/customers/customer-edit/index.ts: -------------------------------------------------------------------------------- 1 | export { CustomerEdit as Component } from "./customer-edit" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/customers/customer-list/index.ts: -------------------------------------------------------------------------------- 1 | export { CustomersList as Component } from "./customer-list" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/locations/location-edit/index.ts: -------------------------------------------------------------------------------- 1 | export { LocationEdit as Component } from "./location-edit" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/locations/location-list/index.ts: -------------------------------------------------------------------------------- 1 | export { LocationList as Component } from "./location-list" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/orders/order-create-claim/index.ts: -------------------------------------------------------------------------------- 1 | export { ClaimCreate as Component } from "./claim-create" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/orders/order-detail/components/copy-payment-link/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./copy-payment-link" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/orders/order-list/components/order-list-table/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./order-list-table" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/orders/order-metadata/index.ts: -------------------------------------------------------------------------------- 1 | export { OrderMetadata as Component } from "./order-metadata" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/products/common/components/category-combobox/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./category-combobox" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/products/common/constants.ts: -------------------------------------------------------------------------------- 1 | export const PRODUCT_VARIANT_IDS_KEY = "product_variant_ids" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/products/product-media/index.ts: -------------------------------------------------------------------------------- 1 | export { ProductMedia as Component } from "./product-media" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/profile/profile-detail/index.ts: -------------------------------------------------------------------------------- 1 | export { ProfileDetail as Component } from "./profile-detail" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/promotions/common/edit-rules/index.ts: -------------------------------------------------------------------------------- 1 | export { EditRules as Component } from "./edit-rules" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/regions/region-create/index.ts: -------------------------------------------------------------------------------- 1 | export { RegionCreate as Component } from "./region-create" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/regions/region-edit/components/edit-region-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./edit-region-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/regions/region-list/components/region-list-table/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./region-list-table" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/reservations/reservation-list/constants.ts: -------------------------------------------------------------------------------- 1 | export const reservationListExpand = "line_item" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/reset-password/index.ts: -------------------------------------------------------------------------------- 1 | export { ResetPassword as Component } from "./reset-password"; 2 | 3 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/store/store-metadata/index.ts: -------------------------------------------------------------------------------- 1 | export { StoreMetadata as Component } from "./store-metadata" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/tax-regions/common/components/tax-override-card/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./tax-override-card" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/tax-regions/common/components/tax-region-table/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./tax-region-table" 2 | -------------------------------------------------------------------------------- /packages/cli/template/public/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSC-Labs/nocto/HEAD/packages/cli/template/public/icon.png -------------------------------------------------------------------------------- /packages/cli/yarn.lock: -------------------------------------------------------------------------------- 1 | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. 2 | # yarn lockfile v1 3 | 4 | 5 | -------------------------------------------------------------------------------- /packages/nocto/src/components/localization/localized-table-pagination/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./localized-table-pagination" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/table/table-cells/order/payment-status-cell/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./payment-status-cell" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/table/table-cells/product/product-status-cell/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./product-status-cell" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/table/table-cells/product/sales-channels-cell/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./sales-channels-cell" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/table/table-cells/sales-channel/description-cell/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./description-cell" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/table/table-cells/shipping-option/admin-only-cell/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./admin-only-cell" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/table/table-cells/shipping-option/is-return-cell/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./is-return-cell" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/table/table-cells/shipping-option/price-type-cell/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./price-type-cell" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/plugins/extensions/draft-orders/components/modals/route-drawer/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./route-drawer" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/providers/sidebar-provider/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./sidebar-provider" 2 | export * from "./use-sidebar" 3 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/campaigns/campaign-create/index.ts: -------------------------------------------------------------------------------- 1 | export { CampaignCreate as Component } from "./campaign-create" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/campaigns/campaign-detail/components/campaign-budget/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./campaign-budget" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/customers/customer-create/index.ts: -------------------------------------------------------------------------------- 1 | export { CustomerCreate as Component } from "./customer-create" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/inventory/inventory-stock/index.ts: -------------------------------------------------------------------------------- 1 | export { InventoryStock as Component } from "./inventory-stock" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/locations/location-create/index.ts: -------------------------------------------------------------------------------- 1 | export { LocationCreate as Component } from "./location-create" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/orders/order-create-return/index.ts: -------------------------------------------------------------------------------- 1 | export { ReturnCreate as Component } from "./return-create" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/orders/order-edit-email/index.ts: -------------------------------------------------------------------------------- 1 | export { OrderEditEmail as Component } from "./order-edit-email" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/products/product-create/index.ts: -------------------------------------------------------------------------------- 1 | export { ProductCreate as Component } from "./product-create" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/products/product-edit/components/edit-product-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./edit-product-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/products/product-export/index.ts: -------------------------------------------------------------------------------- 1 | export { ProductExport as Component } from "./product-export" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/products/product-import/index.ts: -------------------------------------------------------------------------------- 1 | export { ProductImport as Component } from "./product-import" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/products/product-list/components/product-list-table/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./product-list-table" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/products/product-media/components/product-media-view/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./product-media-view" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/products/product-prices/index.ts: -------------------------------------------------------------------------------- 1 | export { ProductPrices as Component } from "./product-prices" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/products/product-stock/components/product-stock-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./product-stock-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/promotions/common/edit-rules/components/edit-rules-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./edit-rules-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/regions/region-create/components/create-region-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./create-region-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/sales-channels/sales-channel-list/components/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./sales-channel-list-table" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/tax-regions/common/components/tax-override-table/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./tax-override-table" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/users/user-detail/components/user-general-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./user-general-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/layout/pages/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./single-column-page" 2 | export * from "./two-column-page" 3 | -------------------------------------------------------------------------------- /packages/nocto/src/components/table/table-cells/order/fulfillment-status-cell/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./fulfillment-status-cell" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/table/table-cells/region/payment-providers-cell/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./payment-providers-cell" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/lib/storefront.ts: -------------------------------------------------------------------------------- 1 | export const MEDUSA_STOREFRONT_URL = 2 | __STOREFRONT_URL__ ?? "http://localhost:8000" 3 | -------------------------------------------------------------------------------- /packages/nocto/src/plugins/extensions/draft-orders/components/modals/route-modal-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./route-modal-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/plugins/extensions/draft-orders/components/modals/stacked-drawer/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./stacked-drawer" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/campaigns/add-campaign-promotions/components/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./add-campaign-promotions-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/campaigns/campaign-edit/components/edit-campaign-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./edit-campaign-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/categories/category-create/index.ts: -------------------------------------------------------------------------------- 1 | export { CategoryCreate as Component } from "./category-create" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/categories/category-edit/components/edit-category-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./edit-category-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/categories/category-list/components/category-list-table/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./category-list-table" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/collections/collection-edit/index.ts: -------------------------------------------------------------------------------- 1 | export { CollectionEdit as Component } from "./collection-edit" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/collections/collection-list/index.ts: -------------------------------------------------------------------------------- 1 | export { CollectionList as Component } from "./collection-list" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/customers/customer-edit/components/edit-customer-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./edit-customer-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/customers/customer-list/components/customer-list-table/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./customer-list-table" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/inventory/inventory-create/index.ts: -------------------------------------------------------------------------------- 1 | export { InventoryCreate as Component } from "./inventory-create" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/locations/common/components/conditional-price-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./conditional-price-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/locations/location-edit/components/edit-location-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./edit-location-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/locations/location-list/components/location-list-item/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./location-list-item" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/orders/order-balance-settlement/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./components/order-balance-settlement-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/orders/order-create-claim/components/claim-create-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./claim-create-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/orders/order-create-exchange/index.ts: -------------------------------------------------------------------------------- 1 | export { ExchangeCreate as Component } from "./exchange-create" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/orders/order-create-refund/components/create-refund-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./create-refund-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/orders/order-create-return/components/return-create-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./return-create-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/orders/order-detail/components/order-activity-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./order-activity-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/orders/order-detail/components/order-customer-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./order-customer-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/orders/order-detail/components/order-general-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./order-general-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/orders/order-detail/components/order-payment-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./order-payment-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/orders/order-detail/components/order-summary-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./order-summary-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/price-lists/price-list-edit/index.ts: -------------------------------------------------------------------------------- 1 | export { PriceListEdit as Component } from "./price-list-edit" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/price-lists/price-list-list/index.ts: -------------------------------------------------------------------------------- 1 | export { PriceListList as Component } from "./price-list-list" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/product-tags/product-tag-edit/index.ts: -------------------------------------------------------------------------------- 1 | export { ProductTagEdit as Component } from "./product-tag-edit" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/products/common/components/upload-media-form-item/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./upload-media-form-item" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/products/product-create/components/product-create-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./product-create-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/products/product-metadata/index.ts: -------------------------------------------------------------------------------- 1 | export { ProductMetadata as Component } from "./product-metadata" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/promotions/common/edit-rules/components/rules-form-field/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./rules-form-field" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/promotions/promotion-create/index.ts: -------------------------------------------------------------------------------- 1 | export { PromotionCreate as Component } from "./promotion-create" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/promotions/promotion-detail/components/campaign-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./campaign-section.tsx" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/regions/region-metadata/index.ts: -------------------------------------------------------------------------------- 1 | export { RegionMetadata as Component } from "./region-metadata.tsx" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/store/store-detail/components/store-currency-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./store-currency-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/store/store-detail/components/store-general-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./store-general-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/tax-regions/tax-region-edit/components/tax-region-edit/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./tax-region-edit-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/tax-regions/tax-region-edit/index.ts: -------------------------------------------------------------------------------- 1 | export { TaxRegionEdit as Component } from "./tax-region-edit" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/tax-regions/tax-region-list/index.ts: -------------------------------------------------------------------------------- 1 | export { TaxRegionsList as Component } from "./tax-region-list" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/table/table-cells/shipping-option/shipping-option-cell/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./shipping-option-cell" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/plugins/extensions/draft-orders/components/modals/route-focus-modal/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./route-focus-modal" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/campaigns/campaign-create/components/create-campaign-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./create-campaign-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/categories/category-create/components/create-category-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./create-category-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/categories/category-organize/index.ts: -------------------------------------------------------------------------------- 1 | export { CategoryOrganize as Component } from "./category-organize" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/categories/category-products/index.ts: -------------------------------------------------------------------------------- 1 | export { CategoryProducts as Component } from "./category-products" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/collections/collection-create/index.ts: -------------------------------------------------------------------------------- 1 | export { CollectionCreate as Component } from "./collection-create" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/collections/collection-edit/components/edit-collection-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./edit-collection-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/customers/customer-create/components/create-customer-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./create-customer-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/customers/customer-metadata/index.ts: -------------------------------------------------------------------------------- 1 | export { CustomerMetadata as Component } from "./customer-metadata" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/inventory/inventory-list/index.ts: -------------------------------------------------------------------------------- 1 | export { InventoryItemListTable as Component } from "./inventory-list" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/inventory/inventory-stock/components/inventory-stock-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./inventory-stock-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/locations/common/components/shipping-option-price-cell/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./shipping-option-price-cell" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/locations/location-create/components/create-location-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./create-location-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/orders/order-create-claim/components/add-claim-items-table/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./add-claim-items-table" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/orders/order-create-edit/index.ts: -------------------------------------------------------------------------------- 1 | export { OrderEditCreate as Component } from "./order-edit-create.tsx" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/orders/order-create-exchange/components/exchange-create-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./exchange-create-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/orders/order-create-refund/index.ts: -------------------------------------------------------------------------------- 1 | export { OrderCreateRefund as Component } from "./order-create-refund" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/orders/order-edit-email/components/edit-order-email-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./edit-order-email-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/price-lists/price-list-create/index.ts: -------------------------------------------------------------------------------- 1 | export { PriceListCreate as Component } from "./price-list-create" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/price-lists/price-list-edit/components/price-list-edit-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./edit-price-list-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/product-types/product-type-edit/index.ts: -------------------------------------------------------------------------------- 1 | export { ProductTypeEdit as Component } from "./product-type-edit" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/product-types/product-type-list/index.ts: -------------------------------------------------------------------------------- 1 | export { ProductTypeList as Component } from "./product-type-list" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/products/product-attributes/index.ts: -------------------------------------------------------------------------------- 1 | export { ProductAttributes as Component } from "./product-attributes" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/products/product-detail/components/product-media-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./product-media-section"; 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/products/product-detail/components/product-option-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./product-option-section"; 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/products/product-edit-option/index.ts: -------------------------------------------------------------------------------- 1 | export { ProductEditOption as Component } from "./product-edit-option" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/products/product-media/components/edit-product-media-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./edit-product-media-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/products/product-media/components/product-media-gallery/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./product-media-gallery" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/profile/profile-detail/components/profile-general-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./profile-general-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/promotions/common/edit-rules/components/edit-rules-wrapper/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./edit-rules-wrapper" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/promotions/promotion-list/components/promotion-list-table/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./promotion-list-table" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/regions/region-add-countries/components/add-countries-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./add-countries-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/regions/region-detail/components/region-country-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./region-country-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/regions/region-detail/components/region-general-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./region-general-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/reservations/reservation-list/index.ts: -------------------------------------------------------------------------------- 1 | export { ReservationList as Component } from "./reservation-list" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/store/store-add-currencies/index.ts: -------------------------------------------------------------------------------- 1 | export { StoreAddCurrencies as Component } from "./store-add-currencies" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/tax-regions/tax-region-list/components/tax-region-list-view/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./tax-region-list-view" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/tax-regions/tax-region-tax-rate-edit/index.ts: -------------------------------------------------------------------------------- 1 | export { TaxRegionEdit as Component } from "./tax-region-edit" 2 | -------------------------------------------------------------------------------- /packages/nocto/postcss.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | plugins: { 3 | tailwindcss: {}, 4 | autoprefixer: {}, 5 | }, 6 | }; 7 | -------------------------------------------------------------------------------- /packages/nocto/src/components/data-grid/context/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./data-grid-context" 2 | export * from "./use-data-grid-context" 3 | -------------------------------------------------------------------------------- /packages/nocto/src/components/modals/route-modal-provider/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./route-provider" 2 | export * from "./use-route-modal" 3 | -------------------------------------------------------------------------------- /packages/nocto/src/components/table/data-table/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./data-table" 2 | export type { Filter } from "./data-table-filter" 3 | -------------------------------------------------------------------------------- /packages/nocto/src/components/table/table-cells/region/fulfillment-providers-cell/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./fulfillment-providers-cell" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/plugins/extensions/draft-orders/components/modals/stacked-focus-modal/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./stacked-focus-modal" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/campaigns/campaign-budget-edit/index.ts: -------------------------------------------------------------------------------- 1 | export { CampaignBudgetEdit as Component } from "./campaign-budget-edit" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/campaigns/campaign-detail/components/campaign-general-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./campaign-general-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/campaigns/common/components/create-campaign-form-fields/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./create-campaign-form-fields" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/categories/categories-metadata/index.ts: -------------------------------------------------------------------------------- 1 | export { CategoriesMetadata as Component } from "./categories-metadata" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/collections/collection-create/components/create-collection-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./create-collection-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/collections/collection-list/components/collection-list-table/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./collection-list-table" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/collections/collection-metadata/index.ts: -------------------------------------------------------------------------------- 1 | export { CollectionMetadata as Component } from "./collection-metadata" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/customer-groups/customer-group-detail/constants.ts: -------------------------------------------------------------------------------- 1 | export const CUSTOMER_GROUP_DETAIL_FIELDS = "+customers.id" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/customers/customer-detail/components/customer-address-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./customer-address-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/customers/customer-detail/components/customer-general-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./customer-general-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/customers/customer-detail/components/customer-group-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./customer-group-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/customers/customer-detail/components/customer-order-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./customer-order-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/inventory/inventory-create/components/inventory-create-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./inventory-create-form.tsx" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/inventory/inventory-metadata/index.ts: -------------------------------------------------------------------------------- 1 | export { InventoryItemMetadata as Component } from "./inventory-metadata" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/locations/location-detail/components/location-general-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./location-general-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/orders/order-allocate-items/index.ts: -------------------------------------------------------------------------------- 1 | export { OrderAllocateItems as Component } from "./order-allocate-items" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/orders/order-create-edit/components/order-edit-create-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./order-edit-create-form.tsx" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/orders/order-create-return/components/add-return-items-table/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./add-return-items-table" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/orders/order-create-shipment/index.ts: -------------------------------------------------------------------------------- 1 | export { OrderCreateShipment as Component } from "./order-create-shipment" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/orders/order-detail/components/active-order-claim-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./active-order-claim-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/orders/order-detail/components/active-order-return-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./active-order-return-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/orders/order-detail/components/order-active-edit-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./order-active-edit-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/orders/order-detail/components/order-fulfillment-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./order-fulfillment-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/orders/order-receive-return/index.ts: -------------------------------------------------------------------------------- 1 | export { OrderReceiveReturn as Component } from "./order-receive-return" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/price-lists/price-list-create/components/price-list-create-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./price-list-create-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/price-lists/price-list-list/components/price-list-list-table/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./price-list-list-table" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/product-tags/product-tag-create/index.ts: -------------------------------------------------------------------------------- 1 | export { ProductTagCreate as Component } from "./product-tag-create" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/product-tags/product-tag-edit/components/product-tag-edit-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./product-tag-edit-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/product-tags/product-tag-list/components/product-tag-list-table/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./product-tag-list-table" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/product-types/product-type-create/index.ts: -------------------------------------------------------------------------------- 1 | export { ProductTypeCreate as Component } from "./product-type-create" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/products/product-attributes/components/product-attributes-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./product-attributes-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/products/product-detail/components/product-general-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./product-general-section"; 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/products/product-detail/components/product-variant-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./product-variant-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/products/product-organization/index.ts: -------------------------------------------------------------------------------- 1 | export { ProductOrganization as Component } from "./product-organization" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/promotions/common/edit-rules/components/rule-value-form-field/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./rule-value-form-field" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/promotions/promotion-create/components/create-promotion-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./create-promotion-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/refund-reasons/refund-reason-edit/index.ts: -------------------------------------------------------------------------------- 1 | export { RefundReasonEdit as Component } from "./refund-reason-edit" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/regions/region-add-countries/index.ts: -------------------------------------------------------------------------------- 1 | export { RegionAddCountries as Component } from "./region-add-countries" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/reservations/reservation-list/components/reservation-list-table/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./reservation-list-table" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/return-reasons/return-reason-edit/index.ts: -------------------------------------------------------------------------------- 1 | export { ReturnReasonEdit as Component } from "./return-reason-edit" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/sales-channels/sales-channel-edit/index.ts: -------------------------------------------------------------------------------- 1 | export { SalesChannelEdit as Component } from "./sales-channel-edit" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/sales-channels/sales-channel-list/index.ts: -------------------------------------------------------------------------------- 1 | export { SalesChannelList as Component } from "./sales-channel-list"; 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/tax-regions/tax-region-create/components/tax-region-create-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./tax-region-create-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/tax-regions/tax-region-detail/tax-region-provider-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./tax-region-provider-section" 2 | -------------------------------------------------------------------------------- /packages/cli/template/postcss.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | plugins: { 3 | tailwindcss: {}, 4 | autoprefixer: {}, 5 | }, 6 | }; 7 | -------------------------------------------------------------------------------- /packages/nocto/src/assets/fonts/Inter-Medium.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSC-Labs/nocto/HEAD/packages/nocto/src/assets/fonts/Inter-Medium.ttf -------------------------------------------------------------------------------- /packages/nocto/src/assets/fonts/Inter-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSC-Labs/nocto/HEAD/packages/nocto/src/assets/fonts/Inter-Regular.ttf -------------------------------------------------------------------------------- /packages/nocto/src/dashboard-app/forms/form-extension-zone/types.ts: -------------------------------------------------------------------------------- 1 | export type FormFieldType = "text" | "number" | "boolean" | "unsupported" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/api-key-management/api-key-management-edit/components/edit-api-key-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./edit-api-key-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/campaigns/campaign-detail/components/campaign-promotion-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./campaign-promotion-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/categories/category-detail/components/category-general-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./category-general-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/categories/category-detail/components/category-organize-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./category-organize-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/categories/category-detail/components/category-product-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./category-product-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/customer-groups/customer-group-edit/index.ts: -------------------------------------------------------------------------------- 1 | export { CustomerGroupEdit as Component } from "./customer-group-edit" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/customer-groups/customer-group-list/index.ts: -------------------------------------------------------------------------------- 1 | export { CustomerGroupsList as Component } from "./customer-group-list" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/locations/location-service-zone-edit/components/edit-region-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./edit-service-zone-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/orders/order-detail/components/active-order-exchange-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./active-order-exchange-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/orders/order-request-transfer/index.ts: -------------------------------------------------------------------------------- 1 | export { OrderRequestTransfer as Component } from "./order-request-transfer" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/price-lists/price-list-prices-add/index.ts: -------------------------------------------------------------------------------- 1 | export { PriceListProductsAdd as Component } from "./price-list-prices-add" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/product-tags/product-tag-create/components/product-tag-create-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./product-tag-create-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/product-tags/product-tag-metadata/index.ts: -------------------------------------------------------------------------------- 1 | export { ProductTagMetadata as Component } from "./product-tag-metadata" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/product-types/product-type-edit/components/edit-product-type-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./edit-product-type-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/product-types/product-type-list/components/product-type-list-table/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./product-type-list-table" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/products/product-create-option/index.ts: -------------------------------------------------------------------------------- 1 | export { ProductCreateOption as Component } from "./product-create-option" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/products/product-create-variant/index.ts: -------------------------------------------------------------------------------- 1 | export { ProductCreateVariant as Component } from "./product-create-variant" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/products/product-create/components/product-create-details-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./product-create-details-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/products/product-create/components/product-create-organize-form/constants.ts: -------------------------------------------------------------------------------- 1 | export const SC_STACKED_MODAL_ID = "sc" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/products/product-detail/components/product-attribute-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./product-attribute-section"; 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/products/product-detail/constants.ts: -------------------------------------------------------------------------------- 1 | export const PRODUCT_DETAIL_FIELDS = "*categories,*shipping_profile,-variants" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/products/product-edit-option/components/edit-product-option-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./edit-product-option-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/products/product-sales-channels/index.ts: -------------------------------------------------------------------------------- 1 | export { ProductSalesChannels as Component } from "./product-sales-channels" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/refund-reasons/refund-reason-create/index.ts: -------------------------------------------------------------------------------- 1 | export { RefundReasonCreate as Component } from "./refund-reason-create" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/reservations/reservation-create/components/reservation-create-from/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./reservation-create-from" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/reservations/reservation-create/index.ts: -------------------------------------------------------------------------------- 1 | export { ReservationCreate as Component } from "./reservation-create"; 2 | 3 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/reservations/reservation-metadata/index.ts: -------------------------------------------------------------------------------- 1 | export { ReservationMetadata as Component } from "./reservation-metadata" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/return-reasons/return-reason-create/index.ts: -------------------------------------------------------------------------------- 1 | export { ReturnReasonCreate as Component } from "./return-reason-create" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/sales-channels/sales-channel-add-products/components/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./add-products-to-sales-channel-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/sales-channels/sales-channel-create/index.ts: -------------------------------------------------------------------------------- 1 | export { SalesChannelCreate as Component } from "./sales-channel-create" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/tax-regions/tax-region-metadata/index.ts: -------------------------------------------------------------------------------- 1 | export { TaxRegionMetadata as Component } from "./tax-region-metadata.tsx" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/modals/stacked-modal-provider/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./stacked-modal-provider" 2 | export * from "./use-stacked-modal" 3 | -------------------------------------------------------------------------------- /packages/nocto/src/providers/search-provider/index.ts: -------------------------------------------------------------------------------- 1 | export { SearchProvider } from "./search-provider" 2 | export { useSearch } from "./use-search" 3 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/api-key-management/api-key-management-create/components/api-key-create-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./api-key-create-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/campaigns/add-campaign-promotions/index.ts: -------------------------------------------------------------------------------- 1 | export { AddCampaignPromotions as Component } from "./add-campaign-promotions" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/campaigns/campaign-budget-edit/components/edit-campaign-budget-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./edit-campaign-budget-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/campaigns/campaign-configuration/index.ts: -------------------------------------------------------------------------------- 1 | export { CampaignConfiguration as Component } from "./campaign-configuration" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/categories/category-products/components/edit-category-products-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./edit-category-products-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/collections/collection-add-products/index.ts: -------------------------------------------------------------------------------- 1 | export { CollectionAddProducts as Component } from "./collection-add-products" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/collections/collection-detail/components/collection-general-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./collection-general-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/collections/collection-detail/components/collection-product-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./collection-product-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/customer-groups/customer-group-add-customers/components/add-customers-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./add-customers-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/customer-groups/customer-group-create/index.ts: -------------------------------------------------------------------------------- 1 | export { CustomerGroupCreate as Component } from "./customer-group-create" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/customer-groups/customer-group-edit/components/edit-customer-group-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./edit-customer-group-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/customer-groups/customer-group-metadata/index.ts: -------------------------------------------------------------------------------- 1 | export { CustomerGroupMetadata as Component } from "./customer-metadata" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/customers/customer-create-address/index.ts: -------------------------------------------------------------------------------- 1 | export { CustomerCreateAddress as Component } from "./customer-create-address" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/customers/customers-add-customer-group/components/add-customers-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./add-customer-groups-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/locations/location-sales-channels/components/edit-sales-channels-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./edit-sales-channels-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/locations/location-sales-channels/index.ts: -------------------------------------------------------------------------------- 1 | export { LocationSalesChannels as Component } from "./location-sales-channels" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/orders/order-allocate-items/components/order-create-fulfillment-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./order-allocate-items-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/orders/order-create-edit/components/add-order-edit-items-table/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./add-order-edit-items-table.tsx" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/orders/order-create-fulfillment/index.ts: -------------------------------------------------------------------------------- 1 | export { OrderCreateFulfillment as Component } from "./order-create-fulfillments" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/orders/order-receive-return/components/order-receive-return-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./order-receive-return-form.tsx" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/orders/order-request-transfer/components/create-order-transfer-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./create-order-transfer-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/price-lists/price-list-detail/components/price-list-general-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./price-list-general-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/price-lists/price-list-detail/components/price-list-product-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./price-list-product-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/price-lists/price-list-prices-edit/index.ts: -------------------------------------------------------------------------------- 1 | export { PriceListPricesEdit as Component } from "./price-list-prices-edit" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/product-types/product-type-create/components/create-product-type-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./create-product-type-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/product-types/product-type-metadata/index.ts: -------------------------------------------------------------------------------- 1 | export { ProductTypeMetadata as Component } from "./product-type-metadata" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/product-variants/product-variant-detail/components/variant-prices-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./variant-prices-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/product-variants/product-variant-media/index.ts: -------------------------------------------------------------------------------- 1 | export { ProductVariantMedia as Component } from "./product-variant-media" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/products/product-create-option/components/create-product-option-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./create-product-option-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/products/product-create/components/product-create-organize-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./product-create-organize-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/products/product-create/components/product-create-variants-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./product-create-variants-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/products/product-detail/components/product-organization-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./product-organization-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/products/product-detail/components/product-sales-channel-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./product-sales-channel-section"; 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/products/product-organization/components/product-organization-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./product-organization-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/products/product-sales-channels/components/edit-sales-channels-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./edit-sales-channels-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/products/product-shipping-profile/index.ts: -------------------------------------------------------------------------------- 1 | export { ProductShippingProfile as Component } from "./product-shipping-profile" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/promotions/promotion-add-campaign/index.ts: -------------------------------------------------------------------------------- 1 | export { PromotionAddCampaign as Component } from "./promotion-add-campaign" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/promotions/promotion-detail/components/promotion-conditions-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./promotion-conditions-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/promotions/promotion-detail/components/promotion-general-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./promotion-general-section.tsx" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/promotions/promotion-edit-details/components/edit-promotion-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./edit-promotion-details-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/promotions/promotion-edit-details/index.ts: -------------------------------------------------------------------------------- 1 | export { PromotionEditDetails as Component } from "./promotion-edit-details" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/return-reasons/return-reason-edit/components/return-reason-edit-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./return-reason-edit-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/return-reasons/return-reason-list/components/return-reason-list-table/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./return-reason-list-table" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/sales-channels/sales-channel-edit/components/edit-sales-channel-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./edit-sales-channel-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/sales-channels/sales-channel-metadata/index.ts: -------------------------------------------------------------------------------- 1 | export { SalesChannelMetadata as Component } from "./sales-channel-metadata" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/tax-regions/tax-region-detail/components/tax-region-detail-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./tax-region-detail-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/tax-regions/tax-region-detail/components/tax-region-override-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./tax-region-override-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/tax-regions/tax-region-detail/components/tax-region-province-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./tax-region-province-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/tax-regions/tax-region-detail/components/tax-region-sublevel-alert/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./tax-region-sublevel-alert" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/assets/fonts/RobotoMono-Medium.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSC-Labs/nocto/HEAD/packages/nocto/src/assets/fonts/RobotoMono-Medium.ttf -------------------------------------------------------------------------------- /packages/nocto/src/assets/fonts/RobotoMono-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RSC-Labs/nocto/HEAD/packages/nocto/src/assets/fonts/RobotoMono-Regular.ttf -------------------------------------------------------------------------------- /packages/nocto/src/routes/campaigns/campaign-configuration/components/campaign-configuration-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./campaign-configuration-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/campaigns/campaign-detail/components/campaign-configuration-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./campaign-configuration-section"; 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/customer-groups/customer-group-list/components/customer-group-list-table/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./customer-group-list-table" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/locations/location-detail/components/location-sales-channels-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./locations-sales-channels-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/locations/location-service-zone-create/components/create-service-zone-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./create-service-zone-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/orders/order-create-claim/components/add-claim-outbound-items-table/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./add-claim-outbound-items-table" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/orders/order-create-shipment/components/order-create-shipment-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./order-create-shipment-form.tsx" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/orders/order-edit-billing-address/index.ts: -------------------------------------------------------------------------------- 1 | export { OrderEditBillingAddress as Component } from "./order-edit-billing-address" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/price-lists/common/components/price-list-customer-group-rule-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./price-list-customer-group-rule-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/price-lists/price-list-configuration/index.ts: -------------------------------------------------------------------------------- 1 | export { PriceListConfiguration as Component } from "./price-list-configuration" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/price-lists/price-list-prices-add/components/price-list-prices-add-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./price-list-prices-add-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/price-lists/price-list-prices-edit/components/price-list-prices-edit-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./price-list-prices-edit-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/product-tags/product-tag-detail/components/product-tag-general-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./product-tag-general-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/product-tags/product-tag-detail/components/product-tag-product-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./product-tag-product-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/product-variants/product-variant-detail/components/variant-general-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./variant-general-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/product-variants/product-variant-edit/components/product-edit-variant-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./product-edit-variant-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/products/product-create-variant/components/create-product-variant-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./create-product-variant-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/products/product-detail/components/product-shipping-profile-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./product-shipping-profile-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/products/product-shipping-profile/components/product-organization-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./product-shipping-profile-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/promotions/promotion-add-campaign/components/add-campaign-promotion-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./add-campaign-promotion-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/regions/region-detail/constants.ts: -------------------------------------------------------------------------------- 1 | export const REGION_DETAIL_FIELDS = 2 | "*payment_providers,*countries,+automatic_taxes" 3 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/reservations/reservation-detail/components/reservation-general-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./reservation-general-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/return-reasons/return-reason-create/components/return-reason-create-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./return-reason-create-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/sales-channels/sales-channel-create/components/create-sales-channel-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./create-sales-channel-form"; 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/shipping-profiles/shipping-profiles-list/index.ts: -------------------------------------------------------------------------------- 1 | export { ShippingProfileList as Component } from "./shipping-profile-list" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/data-grid/helpers/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./create-data-grid-column-helper" 2 | export * from "./create-data-grid-price-columns" 3 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/api-key-management/api-key-management-detail/components/api-key-general-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./api-key-general-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/api-key-management/api-key-management-edit/index.ts: -------------------------------------------------------------------------------- 1 | export { ApiKeyManagementEdit as Component } from "./api-key-management-edit" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/api-key-management/api-key-management-list/index.ts: -------------------------------------------------------------------------------- 1 | export { ApiKeyManagementList as Component } from "./api-key-management-list" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/api-key-management/common/constants.ts: -------------------------------------------------------------------------------- 1 | export enum ApiKeyType { 2 | SECRET = "secret", 3 | PUBLISHABLE = "publishable", 4 | } 5 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/customer-groups/customer-group-create/components/create-customer-group-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./create-customer-group-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/customers/customer-create-address/components/create-customer-address-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./create-customer-address-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/inventory/inventory-detail/constants.ts: -------------------------------------------------------------------------------- 1 | export const INVENTORY_DETAIL_FIELDS = 2 | "*variants,*variants.product,*variants.options" 3 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/locations/location-service-zone-edit/index.ts: -------------------------------------------------------------------------------- 1 | export { LocationServiceZoneEdit as Component } from "./location-service-zone-edit" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/locations/location-service-zone-shipping-option-edit/components/edit-region-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./edit-shipping-option-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/orders/order-balance-settlement/components/order-balance-settlement-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./order-balance-settlement-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/orders/order-create-exchange/components/add-exchange-inbound-items-table/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./add-exchange-inbound-items-table" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/orders/order-create-fulfillment/components/order-create-fulfillment-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./order-create-fulfillment-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/orders/order-edit-shipping-address/index.ts: -------------------------------------------------------------------------------- 1 | export { OrderEditShippingAddress as Component } from "./order-edit-shipping-address" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/price-lists/price-list-detail/components/price-list-configuration-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./price-list-configuration-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/product-types/product-type-detail/components/product-type-general-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./product-type-general-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/product-types/product-type-detail/components/product-type-product-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./product-type-product-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/product-variants/product-variant-detail/components/variant-inventory-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./variant-inventory-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/product-variants/product-variant-metadata/index.ts: -------------------------------------------------------------------------------- 1 | export { ProductVariantMetadata as Component } from "./product-variant-metadata" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/products/product-create/components/product-create-inventory-kit-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./product-create-inventory-kit-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/products/product-image-variants-edit/index.ts: -------------------------------------------------------------------------------- 1 | export { ProductImageVariantsEdit as Component } from "./product-image-variants-edit" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/sales-channels/sales-channel-detail/components/sales-channel-general-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./sales-channel-general-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/sales-channels/sales-channel-detail/components/sales-channel-product-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./sales-channel-product-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/shipping-profiles/shipping-profile-create/index.ts: -------------------------------------------------------------------------------- 1 | export { ShippingProfileCreate as Component } from "./shipping-profile-create" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/tax-regions/tax-region-tax-rate-create/index.ts: -------------------------------------------------------------------------------- 1 | export { TaxRegionTaxRateCreate as Component } from "./tax-region-tax-rate-create" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/workflow-executions/workflow-execution-list/index.ts: -------------------------------------------------------------------------------- 1 | export { WorkflowExcecutionList as Component } from "./workflow-execution-list" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/providers/extension-provider/index.ts: -------------------------------------------------------------------------------- 1 | export { ExtensionProvider } from "./extension-provider" 2 | export { useExtension } from "./use-extension" 3 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/api-key-management/api-key-management-create/index.ts: -------------------------------------------------------------------------------- 1 | export { ApiKeyManagementCreate as Component } from "./api-key-management-create" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/collections/collection-add-products/components/add-products-to-collection-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./add-products-to-collection-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/customer-groups/customer-group-detail/components/customer-group-general-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./customer-group-general-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/customers/customers-add-customer-group/index.ts: -------------------------------------------------------------------------------- 1 | export { CustomerAddCustomerGroups as Component } from "./customer-add-customer-groups" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/inventory/inventory-detail/components/edit-inventory-item/index.ts: -------------------------------------------------------------------------------- 1 | export { InventoryItemEdit as Component } from "./edit-item-drawer" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/locations/location-service-zone-create/index.ts: -------------------------------------------------------------------------------- 1 | export { LocationCreateServiceZone as Component } from "./location-service-zone-create" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/locations/location-service-zone-manage-areas/components/edit-region-areas-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./edit-service-zone-areas-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/orders/order-create-exchange/components/add-exchange-outbound-items-table/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./add-exchange-outbound-items-table" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/orders/order-edit-billing-address/components/edit-order-billing-address-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./edit-order-billing-address-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/orders/order-edit-shipping-address/components/edit-order-shipping-address-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./edit-order-shipping-address-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/price-lists/price-list-configuration/components/price-list-configuration-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./price-list-configuration-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/products/product-image-variants-edit/components/variants-table-form/index.ts: -------------------------------------------------------------------------------- 1 | export { VariantsTableForm } from "./variants-table-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/regions/common/constants.ts: -------------------------------------------------------------------------------- 1 | export enum ShippingOptionPriceType { 2 | FLAT_RATE = "flat_rate", 3 | CALCULATED = "calculated", 4 | } 5 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/sales-channels/sales-channel-add-products/index.ts: -------------------------------------------------------------------------------- 1 | export { SalesChannelAddProducts as Component } from "./sales-channel-add-products" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/shipping-option-types/shipping-option-type-edit/index.ts: -------------------------------------------------------------------------------- 1 | export { ShippingOptionTypeEdit as Component } from "./shipping-option-type-edit" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/shipping-option-types/shipping-option-type-list/index.ts: -------------------------------------------------------------------------------- 1 | export { ShippingOptionTypeList as Component } from "./shipping-option-type-list" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/shipping-profiles/shipping-profile-create/components/create-shipping-profile-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./create-shipping-profile-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/shipping-profiles/shipping-profile-metadata/index.ts: -------------------------------------------------------------------------------- 1 | export { ShippingProfileMetadata as Component } from "./shipping-profile-metadata" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/shipping-profiles/shipping-profiles-list/components/shipping-profile-list-table/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./shipping-profile-list-table" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/store/store-detail/index.ts: -------------------------------------------------------------------------------- 1 | export { storeLoader as loader } from "./loader" 2 | export { StoreDetail as Component } from "./store-detail" 3 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/tax-regions/tax-region-province-detail/components/tax-region-province-detail-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./tax-region-detail-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/tax-regions/tax-region-tax-override-edit/index.ts: -------------------------------------------------------------------------------- 1 | export { TaxRegionTaxOverrideEdit as Component } from "./tax-region-tax-override-edit" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/tax-regions/tax-region-tax-rate-edit/components/tax-region-tax-rate-edit-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./tax-region-tax-rate-edit-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/plugins/extensions/draft-orders/components/modals/route-modal-provider/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./route-provider" 2 | export * from "./use-route-modal" 3 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/api-key-management/api-key-management-detail/components/api-key-sales-channel-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./api-key-sales-channel-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/api-key-management/api-key-management-list/components/api-key-management-list-table/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./api-key-management-list-table" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/customer-groups/customer-group-add-customers/index.ts: -------------------------------------------------------------------------------- 1 | export { CustomerGroupAddCustomers as Component } from "./customer-group-add-customers" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/customer-groups/customer-group-detail/components/customer-group-customer-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./customer-group-customer-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/inventory/inventory-detail/components/adjust-inventory/index.ts: -------------------------------------------------------------------------------- 1 | export { AdjustInventoryDrawer as Component } from "./adjust-inventory-drawer" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/inventory/inventory-detail/components/manage-locations/index.ts: -------------------------------------------------------------------------------- 1 | export { ManageLocationsDrawer as Component } from "./manage-locations-drawer" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/locations/location-detail/components/location-fulfillment-providers-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./location-fulfillment-providers-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/locations/location-fulfillment-providers/components/edit-fulfillment-providers-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./edit-fulfillment-providers-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/locations/location-fulfillment-providers/index.ts: -------------------------------------------------------------------------------- 1 | export { LocationFulfillmentProviders as Component } from "./location-fulfillment-providers" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/product-variants/product-variant-detail/components/variant-media-section/index.ts: -------------------------------------------------------------------------------- 1 | export { VariantMediaSection } from "./variant-media-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/product-variants/product-variant-media/components/edit-product-variant-media-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./edit-product-variant-media-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/refund-reasons/refund-reason-edit/components/refund-reason-edit-form/index.ts: -------------------------------------------------------------------------------- 1 | export { RefundReasonEditForm } from "./refund-reason-edit-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/reservations/reservation-detail/components/edit-reservation/index.ts: -------------------------------------------------------------------------------- 1 | export { ReservationEdit as Component } from "./edit-reservation-modal" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/tax-regions/tax-region-detail/components/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./tax-region-general-detail" 2 | export * from "./tax-region-province-section" 3 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/tax-regions/tax-region-province-create/components/tax-region-province-create-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./tax-region-province-create-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/tax-regions/tax-region-tax-override-create/components/tax-region-override-create-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./tax-region-tax-override-create" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/tax-regions/tax-region-tax-override-create/index.ts: -------------------------------------------------------------------------------- 1 | export { TaxRegionCreateTaxOverride as Component } from "./tax-region-tax-override-create" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/tax-regions/tax-region-tax-rate-create/components/tax-region-tax-rate-create-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./tax-region-tax-rate-create-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/workflow-executions/workflow-execution-list/components/workflow-execution-list-table/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./workflow-execution-list-table" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/api-key-management/api-key-management-sales-channels/components/api-key-sales-channels-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./api-key-sales-channels-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/categories/category-organize/components/organize-category-form/index.ts: -------------------------------------------------------------------------------- 1 | export { OrganizeCategoryForm as Component } from "./organize-category-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/refund-reasons/refund-reason-list/components/refund-reason-list-table/index.ts: -------------------------------------------------------------------------------- 1 | export { RefundReasonListTable } from "./refund-reason-list-table" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/shipping-option-types/shipping-option-type-create/index.ts: -------------------------------------------------------------------------------- 1 | export { ShippingOptionTypeCreate as Component } from "./shipping-option-type-create" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/shipping-option-types/shipping-option-type-edit/components/edit-shipping-option-type-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./edit-shipping-option-type-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/shipping-profiles/shipping-profile-detail/components/shipping-profile-general-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./shipping-profile-general-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/tax-regions/tax-region-tax-override-edit/components/tax-region-tax-override-edit-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./tax-region-tax-override-edit-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/locations/location-service-zone-manage-areas/index.ts: -------------------------------------------------------------------------------- 1 | export { LocationServiceZoneManageAreas as Component } from "./location-service-zone-manage-areas" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/products/product-list/index.ts: -------------------------------------------------------------------------------- 1 | export { productsLoader as productLoader } from "./loader" 2 | export { ProductList as Component } from "./product-list" 3 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/products/product-stock/index.ts: -------------------------------------------------------------------------------- 1 | export { productStockLoader as loader } from "./loader" 2 | export { ProductStock as Component } from "./product-stock" 3 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/promotions/promotion-list/index.ts: -------------------------------------------------------------------------------- 1 | export { promotionsLoader } from "./loader.ts" 2 | export { PromotionsList as Component } from "./promotions-list.tsx" 3 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/refund-reasons/refund-reason-create/components/refund-reason-create-form/index.ts: -------------------------------------------------------------------------------- 1 | export { RefundReasonCreateForm } from "./refund-reason-create-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/shipping-option-types/shipping-option-type-create/components/create-shipping-option-type-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./create-shipping-option-type-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/shipping-option-types/shipping-option-type-list/components/shipping-option-type-list-table/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./shipping-option-type-list-table" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/tax-regions/tax-region-create/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./tax-region-create" 2 | 3 | export { TaxRegionCreate as Component } from "./tax-region-create" 4 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/tax-regions/tax-region-province-detail/components/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./tax-region-general-detail" 2 | export * from "./tax-region-province-section" 3 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/tax-regions/tax-region-province-detail/components/tax-region-province-override-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./tax-region-province-override-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/workflow-executions/workflow-execution-detail/components/workflow-execution-general-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./workflow-execution-general-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/workflow-executions/workflow-execution-detail/components/workflow-execution-history-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./workflow-execution-history-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/workflow-executions/workflow-execution-detail/components/workflow-execution-payload-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./workflow-execution-payload-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/plugins/extensions/draft-orders/components/modals/stacked-modal-provider/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./stacked-modal-provider" 2 | export * from "./use-stacked-modal" 3 | -------------------------------------------------------------------------------- /packages/nocto/src/providers/theme-provider/index.ts: -------------------------------------------------------------------------------- 1 | export type { ThemeOption as Theme } from "./theme-context" 2 | export * from "./theme-provider" 3 | export * from "./use-theme" 4 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/locations/location-service-zone-shipping-option-create/components/create-shipping-options-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./create-shipping-options-form.tsx" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/reservations/reservation-detail/components/edit-reservation/components/index.tsx: -------------------------------------------------------------------------------- 1 | export { EditReservationForm as Component } from "./edit-reservation-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/workflow-executions/workflow-execution-detail/components/workflow-execution-timeline-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./workflow-execution-timeline-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/components/layout/public-layout/public-layout.tsx: -------------------------------------------------------------------------------- 1 | import { Outlet } from "react-router-dom" 2 | 3 | export const PublicLayout = () => { 4 | return 5 | } 6 | -------------------------------------------------------------------------------- /packages/nocto/src/i18next.d.ts: -------------------------------------------------------------------------------- 1 | import { Resources } from "./i18n/types" 2 | 3 | declare module "i18next" { 4 | interface CustomTypeOptions { 5 | resources: Resources 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/api-key-management/api-key-management-sales-channels/index.ts: -------------------------------------------------------------------------------- 1 | export { ApiKeyManagementAddSalesChannels as Component } from "./api-key-management-sales-channels" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/locations/location-service-zone-shipping-option-pricing/components/create-shipping-options-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./edit-shipping-options-pricing-form.tsx" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/shipping-option-types/shipping-option-type-detail/components/shipping-option-type-general-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./shipping-option-type-general-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/inventory/inventory-detail/components/edit-inventory-item-attributes/index.ts: -------------------------------------------------------------------------------- 1 | export { InventoryItemAttributesEdit as Component } from "./edit-item-attributes-drawer" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/locations/common/components/shipping-option-price-provider/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./shipping-option-price-provider" 2 | export * from "./use-shipping-option-price" 3 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/product-tags/product-tag-list/index.ts: -------------------------------------------------------------------------------- 1 | export { productTagListLoader as loader } from "./loader" 2 | export { ProductTagList as Component } from "./product-tag-list" 3 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/product-variants/product-variant-manage-inventory-items/components/manage-variant-inventory-items-form/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./manage-variant-inventory-items-form" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/providers/keybind-provider/index.ts: -------------------------------------------------------------------------------- 1 | export { useRegisterShortcut } from "./hooks" 2 | export * from "./keybind-provider" 3 | export type { Shortcut, ShortcutType } from "./types" 4 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/product-variants/product-variant-manage-inventory-items/index.ts: -------------------------------------------------------------------------------- 1 | export { ProductVariantManageInventoryItems as Component } from "./product-variant-manage-inventory-items" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/products/product-create/components/product-create-details-form/components/product-create-details-general-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./product-create-general-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/products/product-create/components/product-create-organize-form/components/product-create-organize-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./product-create-details-organize-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/plugins/extensions/draft-orders/lib/utils/string-utils.ts: -------------------------------------------------------------------------------- 1 | export function pluralize(count: number, plural: string, singular: string) { 2 | return count === 1 ? singular : plural 3 | } 4 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/locations/location-service-zone-shipping-option-edit/index.ts: -------------------------------------------------------------------------------- 1 | export { LocationServiceZoneShippingOptionEdit as Component } from "./location-service-zone-shipping-option-edit" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/products/product-create/components/product-create-details-form/components/product-create-details-media-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./product-create-details-media-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/products/product-create/components/product-create-details-form/components/product-create-details-variant-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./product-create-details-variant-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/refund-reasons/refund-reason-list/index.ts: -------------------------------------------------------------------------------- 1 | export { refundReasonListLoader as loader } from "./loader" 2 | export { RefundReasonList as Component } from "./refund-reason-list" 3 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/return-reasons/return-reason-list/index.ts: -------------------------------------------------------------------------------- 1 | export { returnReasonListLoader as loader } from "./loader" 2 | export { ReturnReasonList as Component } from "./return-reason-list" 3 | -------------------------------------------------------------------------------- /packages/nocto/src/lib/is-fetch-error.ts: -------------------------------------------------------------------------------- 1 | import { FetchError } from "@medusajs/js-sdk" 2 | 3 | export const isFetchError = (error: any): error is FetchError => { 4 | return error instanceof FetchError 5 | } 6 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/locations/location-service-zone-shipping-option-create/index.ts: -------------------------------------------------------------------------------- 1 | export { LocationServiceZoneShippingOptionCreate as Component } from "./location-service-zone-shipping-option-create" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/products/product-create/components/product-create-inventory-kit-form/components/product-create-inventory-kit-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./product-create-inventory-kit-section" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/products/product-create/components/product-create-organize-form/components/product-create-sales-channel-stacked-modal/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./product-create-sales-channel-drawer" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/tax-regions/tax-region-province-create/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./tax-region-province-create" 2 | 3 | export { TaxProvinceCreate as Component } from "./tax-region-province-create" 4 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/locations/location-service-zone-shipping-option-pricing/index.ts: -------------------------------------------------------------------------------- 1 | export { LocationServiceZoneShippingOptionPricing as Component } from "./location-service-zone-shipping-option-pricing" 2 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/product-variants/product-variant-edit/index.ts: -------------------------------------------------------------------------------- 1 | export { ProductVariantEdit as Component } from "./product-variant-edit" 2 | export { editProductVariantLoader as loader } from "./loader" 3 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/products/product-create/components/product-create-organize-form/components/product-create-organize-attribute-section/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./product-create-details-attribute-section" 2 | -------------------------------------------------------------------------------- /packages/plugin-system/src/types/nocto-plugin.ts: -------------------------------------------------------------------------------- 1 | export type NoctoPluginDefinition = { 2 | id: string, 3 | routes?: any, 4 | sidebar?: any, 5 | configSchema?: any, 6 | slots?: any, 7 | injections?: any 8 | } -------------------------------------------------------------------------------- /packages/nocto/tsconfig.build.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "noImplicitAny": false, 5 | "composite": true 6 | }, 7 | "exclude": ["**/*.spec.ts", "**/*.spec.tsx"] 8 | } -------------------------------------------------------------------------------- /packages/nocto/src/plugins/extensions/draft-orders/lib/utils/number-utils.ts: -------------------------------------------------------------------------------- 1 | export function convertNumber(value?: string | number) { 2 | return typeof value === "string" ? Number(value.replace(",", ".")) : value 3 | } 4 | -------------------------------------------------------------------------------- /packages/nocto/src/lib/order-item.ts: -------------------------------------------------------------------------------- 1 | import { OrderLineItemDTO } from "@medusajs/types" 2 | 3 | export const getFulfillableQuantity = (item: OrderLineItemDTO) => { 4 | return item.quantity - item.detail.fulfilled_quantity 5 | } 6 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/users/user-detail/index.ts: -------------------------------------------------------------------------------- 1 | export { UserDetailBreadcrumb as Breadcrumb } from "./breadcrumb" 2 | export { userLoader as loader } from "./loader" 3 | export { UserDetail as Component } from "./user-detail" 4 | -------------------------------------------------------------------------------- /packages/cli/template/tsup.config.cjs: -------------------------------------------------------------------------------- 1 | import { defineConfig } from "tsup" 2 | 3 | export default defineConfig({ 4 | entry: ["./src/main.tsx"], 5 | format: ["cjs", "esm"], 6 | tsconfig: "tsconfig.build.json", 7 | clean: true, 8 | }) -------------------------------------------------------------------------------- /packages/nocto/src/components/data-grid/models/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./data-grid-bulk-update-command" 2 | export * from "./data-grid-matrix" 3 | export * from "./data-grid-query-tool" 4 | export * from "./data-grid-update-command" 5 | 6 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/orders/order-detail/index.ts: -------------------------------------------------------------------------------- 1 | export { OrderDetailBreadcrumb as Breadcrumb } from "./breadcrumb" 2 | export { orderLoader as loader } from "./loader" 3 | export { OrderDetail as Component } from "./order-detail" 4 | -------------------------------------------------------------------------------- /packages/nocto/src/providers/keybind-provider/keybind-context.tsx: -------------------------------------------------------------------------------- 1 | import { createContext } from "react" 2 | import { KeybindContextState } from "./types" 3 | 4 | export const KeybindContext = createContext(null) 5 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/categories/common/types.ts: -------------------------------------------------------------------------------- 1 | export type CategoryTreeItem = { 2 | id: string 3 | name: string 4 | parent_category_id: string | null 5 | category_children: CategoryTreeItem[] | null 6 | rank: number | null 7 | } 8 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/regions/region-detail/index.ts: -------------------------------------------------------------------------------- 1 | export { RegionDetailBreadcrumb as Breadcrumb } from "./breadcrumb" 2 | export { regionLoader as loader } from "./loader" 3 | export { RegionDetail as Component } from "./region-detail" 4 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/locations/location-service-zone-shipping-option-create/constants.ts: -------------------------------------------------------------------------------- 1 | export const LOC_CREATE_SHIPPING_OPTION_FIELDS = 2 | "*fulfillment_sets,*fulfillment_sets.service_zones,*fulfillment_sets.service_zones.shipping_options" 3 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/products/product-detail/index.ts: -------------------------------------------------------------------------------- 1 | export { ProductDetailBreadcrumb as Breadcrumb } from "./breadcrumb" 2 | export { productLoader as loader } from "./loader" 3 | export { ProductDetail as Component } from "./product-detail" 4 | -------------------------------------------------------------------------------- /packages/nocto/src/hooks/table/filters/use-shipping-option-type-table-filters.tsx: -------------------------------------------------------------------------------- 1 | import { useDateTableFilters } from "./use-date-table-filters" 2 | 3 | export const useShippingOptionTypeTableFilters = () => { 4 | return useDateTableFilters() 5 | } 6 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/campaigns/campaign-detail/index.ts: -------------------------------------------------------------------------------- 1 | export { CampaignDetailBreadcrumb as Breadcrumb } from "./breadcrumb" 2 | export { CampaignDetail as Component } from "./campaign-detail" 3 | export { campaignLoader as loader } from "./loader" 4 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/customers/customer-detail/index.ts: -------------------------------------------------------------------------------- 1 | export { CustomerDetailBreadcrumb as Breadcrumb } from "./breadcrumb" 2 | export { CustomerDetail as Component } from "./customer-detail" 3 | export { customerLoader as loader } from "./loader" 4 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/locations/location-detail/index.ts: -------------------------------------------------------------------------------- 1 | export { LocationDetailBreadcrumb as Breadcrumb } from "./breadcrumb" 2 | export { locationLoader as loader } from "./loader" 3 | export { LocationDetail as Component } from "./location-detail" 4 | -------------------------------------------------------------------------------- /packages/nocto/src/components/table/data-table/data-table-filter/types.ts: -------------------------------------------------------------------------------- 1 | export interface IFilter { 2 | filter: { 3 | key: string 4 | label: string 5 | } 6 | readonly?: boolean 7 | openOnMount?: boolean 8 | prefix?: string 9 | } 10 | -------------------------------------------------------------------------------- /packages/nocto/src/components/utilities/visually-hidden/visually-hidden.tsx: -------------------------------------------------------------------------------- 1 | import { PropsWithChildren } from "react" 2 | 3 | export const VisuallyHidden = ({ children }: PropsWithChildren) => { 4 | return {children} 5 | } 6 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/categories/category-detail/index.ts: -------------------------------------------------------------------------------- 1 | export { CategoryDetailBreadcrumb as Breadcrumb } from "./breadcrumb" 2 | export { CategoryDetail as Component } from "./category-detail" 3 | export { categoryLoader as loader } from "./loader" 4 | -------------------------------------------------------------------------------- /packages/nocto/src/lib/format-currency.ts: -------------------------------------------------------------------------------- 1 | export const formatCurrency = (amount: number, currency: string) => { 2 | return new Intl.NumberFormat(undefined, { 3 | style: "currency", 4 | currency, 5 | signDisplay: "auto", 6 | }).format(amount) 7 | } 8 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/inventory/inventory-detail/index.ts: -------------------------------------------------------------------------------- 1 | export { InventoryDetailBreadcrumb as Breadcrumb } from "./breadcrumb" 2 | export { InventoryDetail as Component } from "./inventory-detail" 3 | export { inventoryItemLoader as loader } from "./loader" 4 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/price-lists/price-list-detail/index.ts: -------------------------------------------------------------------------------- 1 | export { PriceListDetailBreadcrumb as Breadcrumb } from "./breadcrumb" 2 | export { pricingLoader as loader } from "./loader" 3 | export { PriceListDetails as Component } from "./price-list-detail" 4 | -------------------------------------------------------------------------------- /packages/nocto/src/components/table/configurable-data-table/index.ts: -------------------------------------------------------------------------------- 1 | export { ConfigurableDataTable } from "./configurable-data-table" 2 | export type { ConfigurableDataTableProps } from "./configurable-data-table" 3 | export { SaveViewDropdown } from "./save-view-dropdown" -------------------------------------------------------------------------------- /packages/nocto/src/routes/collections/collection-detail/index.ts: -------------------------------------------------------------------------------- 1 | export { CollectionDetailBreadcrumb as Breadcrumb } from "./breadcrumb" 2 | export { CollectionDetail as Component } from "./collection-detail" 3 | export { collectionLoader as loader } from "./loader" 4 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/product-tags/product-tag-detail/index.ts: -------------------------------------------------------------------------------- 1 | export { ProductTagDetailBreadcrumb as Breadcrumb } from "./breadcrumb" 2 | export { productTagLoader as loader } from "./loader" 3 | export { ProductTagDetail as Component } from "./product-tag-detail" 4 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/promotions/promotion-detail/index.ts: -------------------------------------------------------------------------------- 1 | export { PromotionDetailBreadcrumb as Breadcrumb } from "./breadcrumb" 2 | export { promotionLoader as loader } from "./loader.ts" 3 | export { PromotionDetail as Component } from "./promotion-detail.tsx" 4 | -------------------------------------------------------------------------------- /packages/nocto/src/hooks/table/filters/use-collection-table-filters.tsx: -------------------------------------------------------------------------------- 1 | import { useDateTableFilters } from "./use-date-table-filters" 2 | 3 | export const useCollectionTableFilters = () => { 4 | const dateFilters = useDateTableFilters() 5 | 6 | return dateFilters 7 | } 8 | -------------------------------------------------------------------------------- /packages/nocto/src/hooks/table/filters/use-product-tag-table-filters.tsx: -------------------------------------------------------------------------------- 1 | import { useDateTableFilters } from "./use-date-table-filters" 2 | 3 | export const useProductTagTableFilters = () => { 4 | const dateFilters = useDateTableFilters() 5 | 6 | return dateFilters 7 | } 8 | -------------------------------------------------------------------------------- /packages/nocto/src/hooks/table/filters/use-product-type-table-filters.tsx: -------------------------------------------------------------------------------- 1 | import { useDateTableFilters } from "./use-date-table-filters" 2 | 3 | export const useProductTypeTableFilters = () => { 4 | const dateFilters = useDateTableFilters() 5 | 6 | return dateFilters 7 | } 8 | -------------------------------------------------------------------------------- /packages/nocto/src/lib/cast-number.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Helper function to cast a z.union([z.number(), z.string()]) to a number 3 | */ 4 | export const castNumber = (number: number | string) => { 5 | return typeof number === "string" ? Number(number.replace(",", ".")) : number 6 | } 7 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/product-types/product-type-detail/index.ts: -------------------------------------------------------------------------------- 1 | export { ProductTypeDetailBreadcrumb as Breadcrumb } from "./breadcrumb" 2 | export { productTypeLoader as loader } from "./loader" 3 | export { ProductTypeDetail as Component } from "./product-type-detail" 4 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/reservations/reservation-detail/index.ts: -------------------------------------------------------------------------------- 1 | export { ReservationDetailBreadcrumb as Breadcrumb } from "./breadcrumb" 2 | export { reservationItemLoader as loader } from "./loader" 3 | export { ReservationDetail as Component } from "./reservation-detail" 4 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/sales-channels/sales-channel-detail/index.ts: -------------------------------------------------------------------------------- 1 | export { SalesChannelDetailBreadcrumb as Breadcrumb } from "./breadcrumb" 2 | export { salesChannelLoader as loader } from "./loader" 3 | export { SalesChannelDetail as Component } from "./sales-channel-detail" 4 | -------------------------------------------------------------------------------- /packages/nocto/src/components/data-table/helpers/sales-channels/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./use-sales-channel-table-columns" 2 | export * from "./use-sales-channel-table-empty-state" 3 | export * from "./use-sales-channel-table-filters" 4 | export * from "./use-sales-channel-table-query" 5 | -------------------------------------------------------------------------------- /packages/nocto/src/components/table/table-cells/common/placeholder-cell/placeholder-cell.tsx: -------------------------------------------------------------------------------- 1 | export const PlaceholderCell = () => { 2 | return ( 3 |
4 | - 5 |
6 | ) 7 | } 8 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/customer-groups/customer-group-detail/index.ts: -------------------------------------------------------------------------------- 1 | export { CustomerGroupDetailBreadcrumb as Breadcrumb } from "./breadcrumb" 2 | export { CustomerGroupDetail as Component } from "./customer-group-detail" 3 | export { customerGroupLoader as loader } from "./loader" 4 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/orders/order-allocate-items/components/order-create-fulfillment-form/constants.ts: -------------------------------------------------------------------------------- 1 | import { z } from "zod" 2 | 3 | export const AllocateItemsSchema = z.object({ 4 | location_id: z.string(), 5 | quantity: z.record(z.string(), z.number().or(z.string())), 6 | }) 7 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/product-variants/product-variant-detail/index.ts: -------------------------------------------------------------------------------- 1 | export { ProductVariantDetailBreadcrumb as Breadcrumb } from "./breadcrumb" 2 | export { variantLoader as loader } from "./loader" 3 | export { ProductVariantDetail as Component } from "./product-variant-detail" 4 | -------------------------------------------------------------------------------- /packages/nocto/tsconfig.node.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "composite": true, 4 | "skipLibCheck": true, 5 | "module": "ESNext", 6 | "moduleResolution": "bundler", 7 | "allowSyntheticDefaultImports": true 8 | }, 9 | "include": ["vite.config.mts"] 10 | } -------------------------------------------------------------------------------- /packages/nocto/src/plugins/extensions/draft-orders/lib/queries/draft-order-details.ts: -------------------------------------------------------------------------------- 1 | const orderDetailQuery = (id: string) => ({ 2 | queryKey: ordersQueryKeys.detail(id), 3 | queryFn: async () => 4 | sdk.admin.order.retrieve(id, { 5 | fields: DEFAULT_FIELDS, 6 | }), 7 | }) 8 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/workflow-executions/workflow-execution-detail/index.ts: -------------------------------------------------------------------------------- 1 | export { WorkflowExecutionDetailBreadcrumb as Breadcrumb } from "./breadcrumb" 2 | export { workflowExecutionLoader as loader } from "./loader" 3 | export { ExecutionDetail as Component } from "./workflow-detail" 4 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/api-key-management/api-key-management-detail/index.ts: -------------------------------------------------------------------------------- 1 | export { ApiKeyManagementDetail as Component } from "./api-key-management-detail" 2 | export { ApiKeyManagementDetailBreadcrumb as Breadcrumb } from "./breadcrumb" 3 | export { apiKeyLoader as loader } from "./loader" 4 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/shipping-profiles/shipping-profile-detail/index.ts: -------------------------------------------------------------------------------- 1 | export { ShippingProfileDetailBreadcrumb as Breadcrumb } from "./breadcrumb" 2 | export { shippingProfileLoader as loader } from "./loader" 3 | export { ShippingProfileDetail as Component } from "./shipping-profile-detail" 4 | -------------------------------------------------------------------------------- /packages/nocto/src/lib/credit-line.ts: -------------------------------------------------------------------------------- 1 | import { OrderCreditLineDTO } from "@medusajs/types" 2 | 3 | export const getTotalCreditLines = (creditLines: OrderCreditLineDTO[]) => 4 | creditLines.reduce((acc, creditLine) => { 5 | acc = acc + (creditLine.amount as number) 6 | 7 | return acc 8 | }, 0) 9 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/product-variants/product-variant-detail/constants.ts: -------------------------------------------------------------------------------- 1 | export const VARIANT_DETAIL_FIELDS = 2 | "*inventory_items,*inventory_items.inventory,*inventory_items.inventory.location_levels,*options,*options.option,*prices,*prices.price_rules,+images.id,+images.url,+images.variants.id" 3 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/tax-regions/tax-region-detail/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./tax-region-detail" 2 | 3 | export { TaxRegionDetailBreadcrumb as Breadcrumb } from "./breadcrumb" 4 | export { taxRegionLoader as loader } from "./loader" 5 | export { TaxRegionDetail as Component } from "./tax-region-detail" 6 | -------------------------------------------------------------------------------- /packages/nocto/src/lib/plugins.ts: -------------------------------------------------------------------------------- 1 | import { HttpTypes } from "@medusajs/types" 2 | 3 | export const LOYALTY_PLUGIN_NAME = "@medusajs/loyalty-plugin" 4 | 5 | export const getLoyaltyPlugin = (plugins: HttpTypes.AdminPlugin[]) => { 6 | return plugins?.find((plugin) => plugin.name === LOYALTY_PLUGIN_NAME) 7 | } 8 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/tax-regions/tax-region-province-detail/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./tax-region-detail" 2 | 3 | export { TaxRegionDetailBreadcrumb as Breadcrumb } from "./breadcrumb" 4 | export { taxRegionLoader as loader } from "./loader" 5 | export { TaxRegionDetail as Component } from "./tax-region-detail" 6 | -------------------------------------------------------------------------------- /packages/nocto/src/plugins/custom/order-detail-slot-1/plugin2.tsx: -------------------------------------------------------------------------------- 1 | import { Text, Container } from "@medusajs/ui" 2 | 3 | export const Slot2 = (order: any) => { 4 | return ( 5 | 6 | Your custom plugin in a slot 2 7 | 8 | ) 9 | } 10 | 11 | export default Slot2 -------------------------------------------------------------------------------- /packages/nocto/src/providers/extension-provider/extension-context.tsx: -------------------------------------------------------------------------------- 1 | import { createContext } from "react" 2 | import { DashboardApp } from "../../dashboard-app" 3 | 4 | type ExtensionContextValue = DashboardApp["api"] 5 | 6 | export const ExtensionContext = createContext( 7 | null 8 | ) 9 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/shipping-option-types/shipping-option-type-detail/index.ts: -------------------------------------------------------------------------------- 1 | export { ShippingOptionTypeDetailBreadcrumb as Breadcrumb } from "./breadcrumb" 2 | export { shippingOptionTypeLoader as loader } from "./loader" 3 | export { ShippingOptionTypeDetail as Component } from "./shipping-option-type-detail" 4 | -------------------------------------------------------------------------------- /packages/nocto/src/plugins/rbac-test/product-main-slot/plugin.tsx: -------------------------------------------------------------------------------- 1 | import { Text, Container } from "@medusajs/ui" 2 | 3 | export const RbacSlot = (order: any) => { 4 | return ( 5 | 6 | Your custom plugin in a RBAC slot 7 | 8 | ) 9 | } 10 | 11 | export default RbacSlot -------------------------------------------------------------------------------- /packages/nocto/src/providers/search-provider/search-context.tsx: -------------------------------------------------------------------------------- 1 | import { createContext } from "react" 2 | 3 | type SearchContextValue = { 4 | open: boolean 5 | onOpenChange: (open: boolean) => void 6 | toggleSearch: () => void 7 | } 8 | 9 | export const SearchContext = createContext(null) 10 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/products/product-create/types.ts: -------------------------------------------------------------------------------- 1 | import { z } from "zod" 2 | import { EditProductMediaSchema, ProductCreateSchema } from "./constants" 3 | 4 | export type ProductCreateSchemaType = z.infer 5 | 6 | export type EditProductMediaSchemaType = z.infer 7 | -------------------------------------------------------------------------------- /packages/nocto/src/plugins/rbac-test/product-main-slot/index.tsx: -------------------------------------------------------------------------------- 1 | import RbacSlot from "./plugin"; 2 | 3 | export const customInjection = { 4 | id: "@custom-injection", 5 | injections: () => [ 6 | { 7 | pluginId: "@products", 8 | slot: "main.before", 9 | component: RbacSlot 10 | } 11 | ] 12 | } 13 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/promotions/promotion-create/components/create-promotion-form/constants.ts: -------------------------------------------------------------------------------- 1 | export enum View { 2 | TEMPLATE = "template", 3 | PROMOTION = "promotion", 4 | CAMPAIGN = "campaign", 5 | } 6 | 7 | export enum Tab { 8 | TYPE = "type", 9 | PROMOTION = "promotion", 10 | CAMPAIGN = "campaign", 11 | } 12 | -------------------------------------------------------------------------------- /packages/nocto/src/providers/sidebar-provider/sidebar-context.tsx: -------------------------------------------------------------------------------- 1 | import { createContext } from "react" 2 | 3 | type SidebarContextValue = { 4 | desktop: boolean 5 | mobile: boolean 6 | toggle: (view: "desktop" | "mobile") => void 7 | } 8 | 9 | export const SidebarContext = createContext(null) 10 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/home/home.tsx: -------------------------------------------------------------------------------- 1 | import { useEffect } from "react" 2 | import { useNavigate } from "react-router-dom" 3 | 4 | export const Home = () => { 5 | const navigate = useNavigate() 6 | 7 | useEffect(() => { 8 | navigate("/orders", { replace: true }) 9 | }, [navigate]) 10 | 11 | return
12 | } 13 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/tax-regions/common/constants.ts: -------------------------------------------------------------------------------- 1 | export enum TaxRateRuleReferenceType { 2 | PRODUCT = "product", 3 | PRODUCT_TYPE = "product_type", 4 | SHIPPING_OPTION = "shipping_option", 5 | // PRODUCT_COLLECTION = "product_collection", 6 | // PRODUCT_TAG = "product_tag", 7 | // CUSTOMER_GROUP = "customer_group", 8 | } 9 | -------------------------------------------------------------------------------- /packages/nocto/src/dashboard-app/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./dashboard-app" 2 | export * from "./forms" 3 | export * from "./links/utils" 4 | export * from "./routes/utils" 5 | 6 | export { 7 | type DisplayModule, 8 | type FormModule, 9 | type MenuItemModule, 10 | type RouteModule, 11 | type WidgetModule, 12 | } from "./types" 13 | -------------------------------------------------------------------------------- /packages/nocto/src/components/utilities/generic-forward-ref/generic-forward-ref.tsx: -------------------------------------------------------------------------------- 1 | import { ReactNode, Ref, RefAttributes, forwardRef } from "react" 2 | 3 | export function genericForwardRef( 4 | render: (props: P, ref: Ref) => ReactNode 5 | ): (props: P & RefAttributes) => ReactNode { 6 | return forwardRef(render) as any 7 | } 8 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/orders/order-create-edit/components/order-edit-create-form/schema.ts: -------------------------------------------------------------------------------- 1 | import { z } from "zod" 2 | 3 | export const OrderEditCreateSchema = z.object({ 4 | note: z.string().optional(), 5 | send_notification: z.boolean().optional(), 6 | }) 7 | 8 | export type CreateOrderEditSchemaType = z.infer 9 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/price-lists/price-list-list/components/price-list-list-table/use-pricing-table-filters.tsx: -------------------------------------------------------------------------------- 1 | import { useDateTableFilters } from "../../../../../hooks/table/filters/use-date-table-filters" 2 | 3 | export const usePricingTableFilters = () => { 4 | const dateFilters = useDateTableFilters() 5 | 6 | return dateFilters 7 | } 8 | -------------------------------------------------------------------------------- /packages/plugin-system/src/types/nocto-config.ts: -------------------------------------------------------------------------------- 1 | export type NoctoPluginConfigEntry = { 2 | config?: Record 3 | } 4 | 5 | export type NoctoSidebarEntry = { 6 | order: number 7 | } 8 | 9 | export type NoctoConfig = { 10 | plugins: Record 11 | sidebar: Record 12 | } -------------------------------------------------------------------------------- /packages/cli/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@rsc-labs/create-nocto-app", 3 | "version": "0.0.22", 4 | "bin": { 5 | "create-nocto-app": "index.js" 6 | }, 7 | "files": ["index.js", "template"], 8 | "keywords": ["nocto", "create", "vite", "dashboard"], 9 | "license": "MIT", 10 | "engines": { 11 | "node": ">=14" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/users/user-invite/user-invite.tsx: -------------------------------------------------------------------------------- 1 | import { RouteFocusModal } from "../../../components/modals" 2 | import { InviteUserForm } from "./components/invite-user-form/invite-user-form" 3 | 4 | export const UserInvite = () => { 5 | return ( 6 | 7 | 8 | 9 | ) 10 | } 11 | -------------------------------------------------------------------------------- /packages/nocto/src/providers/theme-provider/use-theme.tsx: -------------------------------------------------------------------------------- 1 | import { useContext } from "react" 2 | import { ThemeContext } from "./theme-context" 3 | 4 | export const useTheme = () => { 5 | const context = useContext(ThemeContext) 6 | if (!context) { 7 | throw new Error("useTheme must be used within a ThemeProvider") 8 | } 9 | return context 10 | } 11 | -------------------------------------------------------------------------------- /packages/nocto/src/providers/search-provider/use-search.tsx: -------------------------------------------------------------------------------- 1 | import { useContext } from "react" 2 | import { SearchContext } from "./search-context" 3 | 4 | export const useSearch = () => { 5 | const context = useContext(SearchContext) 6 | if (!context) { 7 | throw new Error("useSearch must be used within a SearchProvider") 8 | } 9 | return context 10 | } 11 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/products/product-media/components/product-media-view/product-media-view-context.tsx: -------------------------------------------------------------------------------- 1 | import { createContext } from "react" 2 | 3 | type ProductMediaViewContextValue = { 4 | goToGallery: () => void 5 | goToEdit: () => void 6 | } 7 | 8 | export const ProductMediaViewContext = 9 | createContext(null) 10 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/promotions/common/edit-rules/components/edit-rules-wrapper/utils.ts: -------------------------------------------------------------------------------- 1 | import { PromotionRuleResponse } from "@medusajs/types" 2 | 3 | export const getRuleValue = (rule: PromotionRuleResponse) => { 4 | if (rule.field_type === "number") { 5 | return parseInt(rule.values as unknown as string) 6 | } 7 | 8 | return rule.values 9 | } 10 | -------------------------------------------------------------------------------- /packages/plugin-system/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | // / 2 | 3 | interface ImportMetaEnv { 4 | readonly VITE_NOCTO_SHOW_SLOTS: "true" | "false" 5 | } 6 | 7 | interface ImportMeta { 8 | readonly env: ImportMetaEnv 9 | readonly hot: { 10 | accept: () => void 11 | } 12 | } 13 | 14 | declare const __NOCTO_SHOW_SLOTS__: string | undefined -------------------------------------------------------------------------------- /packages/nocto/src/i18n/types.ts: -------------------------------------------------------------------------------- 1 | import type { Locale } from "date-fns" 2 | import enUS from "./translations/en.json" 3 | 4 | const resources = { 5 | translation: enUS, 6 | } as const 7 | 8 | export type Resources = typeof resources 9 | 10 | export type Language = { 11 | code: string 12 | display_name: string 13 | ltr: boolean 14 | date_locale: Locale 15 | } 16 | -------------------------------------------------------------------------------- /packages/nocto/src/lib/query-client.ts: -------------------------------------------------------------------------------- 1 | import { QueryClient } from "@tanstack/react-query" 2 | 3 | export const MEDUSA_BACKEND_URL = __BACKEND_URL__ ?? "/" 4 | 5 | export const queryClient = new QueryClient({ 6 | defaultOptions: { 7 | queries: { 8 | refetchOnWindowFocus: false, 9 | staleTime: 90000, 10 | retry: 1, 11 | }, 12 | }, 13 | }) 14 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/campaigns/campaign-create/campaign-create.tsx: -------------------------------------------------------------------------------- 1 | import { RouteFocusModal } from "../../../components/modals" 2 | import { CreateCampaignForm } from "./components/create-campaign-form" 3 | 4 | export const CampaignCreate = () => { 5 | return ( 6 | 7 | 8 | 9 | ) 10 | } 11 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/customers/customer-create/customer-create.tsx: -------------------------------------------------------------------------------- 1 | import { RouteFocusModal } from "../../../components/modals" 2 | import { CreateCustomerForm } from "./components/create-customer-form" 3 | 4 | export const CustomerCreate = () => { 5 | return ( 6 | 7 | 8 | 9 | ) 10 | } 11 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/locations/location-create/location-create.tsx: -------------------------------------------------------------------------------- 1 | import { RouteFocusModal } from "../../../components/modals" 2 | import { CreateLocationForm } from "./components/create-location-form" 3 | 4 | export const LocationCreate = () => { 5 | return ( 6 | 7 | 8 | 9 | ) 10 | } 11 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/locations/location-list/constants.ts: -------------------------------------------------------------------------------- 1 | // TODO: change this when RQ is fixed (address is not joined when *address) 2 | export const LOCATION_LIST_FIELDS = 3 | "name,*sales_channels,*address,*fulfillment_sets,*fulfillment_sets.service_zones,*fulfillment_sets.service_zones.shipping_options,*fulfillment_sets.service_zones.shipping_options.shipping_profile" 4 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/orders/order-create-fulfillment/components/order-create-fulfillment-form/constants.ts: -------------------------------------------------------------------------------- 1 | import { z } from "zod" 2 | 3 | export const CreateFulfillmentSchema = z.object({ 4 | quantity: z.record(z.string(), z.number()), 5 | location_id: z.string(), 6 | shipping_option_id: z.string().optional(), 7 | send_notification: z.boolean().optional(), 8 | }) 9 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/promotions/common/edit-rules/components/rules-form-field/constants.ts: -------------------------------------------------------------------------------- 1 | export const requiredProductRule = { 2 | id: "product", 3 | attribute: "items.product.id", 4 | attribute_label: "Product", 5 | operator: "eq", 6 | operator_label: "Equal", 7 | values: [], 8 | required: true, 9 | field_type: "select", 10 | disguised: false, 11 | } 12 | -------------------------------------------------------------------------------- /packages/nocto/sync-upstream.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | UPSTREAM_DIR=./upstream/packages/admin/dashboard/src 3 | TARGET_DIR=./src 4 | 5 | SYNC_DIRS=("assets" "hooks" "i18n" "lib" "providers" "routes") 6 | 7 | for dir in "${SYNC_DIRS[@]}"; do 8 | rsync -av --delete "$UPSTREAM_DIR/$dir/" "$TARGET_DIR/$dir/" 9 | done 10 | 11 | echo "Sync complete. Check git diff for any changes." 12 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | pnpm-debug.log* 8 | lerna-debug.log* 9 | 10 | node_modules 11 | dist 12 | dist-ssr 13 | *.local 14 | 15 | # Editor directories and files 16 | .vscode/* 17 | !.vscode/extensions.json 18 | .idea 19 | .DS_Store 20 | *.suo 21 | *.ntvs* 22 | *.njsproj 23 | *.sln 24 | *.sw? 25 | .vercel 26 | -------------------------------------------------------------------------------- /packages/nocto/src/components/modals/index.ts: -------------------------------------------------------------------------------- 1 | export { RouteDrawer } from "./route-drawer" 2 | export { RouteFocusModal } from "./route-focus-modal" 3 | export { useRouteModal } from "./route-modal-provider" 4 | 5 | export { StackedDrawer } from "./stacked-drawer" 6 | export { StackedFocusModal } from "./stacked-focus-modal" 7 | export { useStackedModal } from "./stacked-modal-provider" 8 | -------------------------------------------------------------------------------- /packages/nocto/src/main.tsx: -------------------------------------------------------------------------------- 1 | import React from "react" 2 | import ReactDOM from "react-dom/client" 3 | import App from "./app.js" 4 | import { noctoConfig } from "../nocto-config" 5 | 6 | import "./index.css" 7 | 8 | ReactDOM.createRoot(document.getElementById("root")!).render( 9 | 10 | 11 | 12 | ) 13 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/collections/collection-create/collection-create.tsx: -------------------------------------------------------------------------------- 1 | import { RouteFocusModal } from "../../../components/modals" 2 | import { CreateCollectionForm } from "./components/create-collection-form" 3 | 4 | export const CollectionCreate = () => { 5 | return ( 6 | 7 | 8 | 9 | ) 10 | } 11 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/tax-regions/tax-region-create/tax-region-create.tsx: -------------------------------------------------------------------------------- 1 | import { RouteFocusModal } from "../../../components/modals" 2 | import { TaxRegionCreateForm } from "./components/tax-region-create-form" 3 | 4 | export const TaxRegionCreate = () => { 5 | return ( 6 | 7 | 8 | 9 | ) 10 | } 11 | -------------------------------------------------------------------------------- /packages/nocto/src/providers/sidebar-provider/use-sidebar.tsx: -------------------------------------------------------------------------------- 1 | import { useContext } from "react" 2 | import { SidebarContext } from "./sidebar-context" 3 | 4 | export const useSidebar = () => { 5 | const context = useContext(SidebarContext) 6 | 7 | if (!context) { 8 | throw new Error("useSidebar must be used within a SidebarProvider") 9 | } 10 | 11 | return context 12 | } 13 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/product-tags/product-tag-create/product-tag-create.tsx: -------------------------------------------------------------------------------- 1 | import { RouteFocusModal } from "../../../components/modals" 2 | import { ProductTagCreateForm } from "./components/product-tag-create-form" 3 | 4 | export const ProductTagCreate = () => { 5 | return ( 6 | 7 | 8 | 9 | ) 10 | } 11 | -------------------------------------------------------------------------------- /packages/nocto/src/providers/extension-provider/use-extension.tsx: -------------------------------------------------------------------------------- 1 | import { useContext } from "react" 2 | import { ExtensionContext } from "./extension-context" 3 | 4 | export const useExtension = () => { 5 | const context = useContext(ExtensionContext) 6 | if (!context) { 7 | throw new Error("useExtension must be used within a ExtensionProvider") 8 | } 9 | return context 10 | } 11 | -------------------------------------------------------------------------------- /packages/plugin-system/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "jsx": "react", 4 | "target": "ES2020", 5 | "module": "ES2020", 6 | "declaration": true, 7 | "outDir": "dist", 8 | "rootDir": "src", 9 | "strict": true, 10 | "esModuleInterop": true, 11 | "moduleResolution": "node", 12 | "skipLibCheck": true 13 | }, 14 | "include": ["src"] 15 | } 16 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/product-types/product-type-create/product-type-create.tsx: -------------------------------------------------------------------------------- 1 | import { RouteFocusModal } from "../../../components/modals" 2 | import { CreateProductTypeForm } from "./components/create-product-type-form" 3 | 4 | export const ProductTypeCreate = () => { 5 | return ( 6 | 7 | 8 | 9 | ) 10 | } 11 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/promotions/promotion-create/promotion-create.tsx: -------------------------------------------------------------------------------- 1 | import { RouteFocusModal } from "../../../components/modals" 2 | import { CreatePromotionForm } from "./components/create-promotion-form/create-promotion-form" 3 | 4 | export const PromotionCreate = () => { 5 | return ( 6 | 7 | 8 | 9 | ) 10 | } 11 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/refund-reasons/refund-reason-create/refund-reason-create.tsx: -------------------------------------------------------------------------------- 1 | import { RouteFocusModal } from "../../../components/modals" 2 | import { RefundReasonCreateForm } from "./components/refund-reason-create-form" 3 | 4 | export const RefundReasonCreate = () => { 5 | return ( 6 | 7 | 8 | 9 | ) 10 | } -------------------------------------------------------------------------------- /packages/cli/template/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "ESNext", 4 | "module": "ESNext", 5 | "jsx": "react-jsx", 6 | "moduleResolution": "bundler", 7 | "strict": true, 8 | "esModuleInterop": true, 9 | "skipLibCheck": true, 10 | "forceConsistentCasingInFileNames": true, 11 | "types": ["vite/client"] 12 | }, 13 | "include": ["src"] 14 | } 15 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/return-reasons/return-reason-create/return-reason-create.tsx: -------------------------------------------------------------------------------- 1 | import { RouteFocusModal } from "../../../components/modals" 2 | import { ReturnReasonCreateForm } from "./components/return-reason-create-form" 3 | 4 | export const ReturnReasonCreate = () => { 5 | return ( 6 | 7 | 8 | 9 | ) 10 | } 11 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/sales-channels/sales-channel-create/sales-channel-create.tsx: -------------------------------------------------------------------------------- 1 | import { RouteFocusModal } from "../../../components/modals" 2 | import { CreateSalesChannelForm } from "./components/create-sales-channel-form" 3 | 4 | export const SalesChannelCreate = () => { 5 | return ( 6 | 7 | 8 | 9 | ) 10 | } 11 | -------------------------------------------------------------------------------- /packages/nocto/src/providers/theme-provider/theme-context.tsx: -------------------------------------------------------------------------------- 1 | import { createContext } from "react" 2 | 3 | export type ThemeOption = "light" | "dark" | "system" 4 | export type ThemeValue = "light" | "dark" 5 | 6 | type ThemeContextValue = { 7 | theme: ThemeOption 8 | setTheme: (theme: ThemeOption) => void 9 | } 10 | 11 | export const ThemeContext = createContext(null) 12 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/categories/category-organize/category-organize.tsx: -------------------------------------------------------------------------------- 1 | import { RouteFocusModal } from "../../../components/modals" 2 | import { OrganizeCategoryForm } from "./components/organize-category-form/organize-category-form" 3 | 4 | export const CategoryOrganize = () => { 5 | return ( 6 | 7 | 8 | 9 | ) 10 | } 11 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/customer-groups/customer-group-create/customer-group-create.tsx: -------------------------------------------------------------------------------- 1 | import { RouteFocusModal } from "../../../components/modals" 2 | import { CreateCustomerGroupForm } from "./components/create-customer-group-form" 3 | 4 | export const CustomerGroupCreate = () => { 5 | return ( 6 | 7 | 8 | 9 | ) 10 | } 11 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/customers/customer-create-address/customer-create-address.tsx: -------------------------------------------------------------------------------- 1 | import { RouteFocusModal } from "../../../components/modals" 2 | import { CreateCustomerAddressForm } from "./components/create-customer-address-form" 3 | 4 | export const CustomerCreateAddress = () => { 5 | return ( 6 | 7 | 8 | 9 | ) 10 | } 11 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/orders/order-list/components/order-list-table/constants.ts: -------------------------------------------------------------------------------- 1 | export const PAGE_SIZE = 20 2 | export const DEFAULT_COLUMN_ORDER = 500 3 | export const QUERY_PREFIX = "o" 4 | 5 | export enum ColumnAlignment { 6 | LEFT = "left", 7 | CENTER = "center", 8 | RIGHT = "right", 9 | } 10 | 11 | export interface ColumnState { 12 | visibility: Record 13 | order: string[] 14 | } -------------------------------------------------------------------------------- /packages/nocto/src/components/layout/pages/types.ts: -------------------------------------------------------------------------------- 1 | import { ComponentType, ReactNode } from "react" 2 | 3 | export interface WidgetProps { 4 | before: ComponentType[] 5 | after: ComponentType[] 6 | } 7 | 8 | export interface PageProps { 9 | children: ReactNode 10 | widgets: WidgetProps 11 | data?: TData 12 | showJSON?: boolean 13 | showMetadata?: boolean 14 | hasOutlet?: boolean 15 | } 16 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/locations/common/types.ts: -------------------------------------------------------------------------------- 1 | import { CurrencyInfo } from "../../../lib/data/currencies" 2 | 3 | export type ConditionalShippingOptionPriceAccessor = 4 | | `conditional_region_prices.${string}` 5 | | `conditional_currency_prices.${string}` 6 | 7 | export type ConditionalPriceInfo = { 8 | type: "currency" | "region" 9 | field: string 10 | name: string 11 | currency: CurrencyInfo 12 | } 13 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/shipping-profiles/shipping-profile-create/shipping-profile-create.tsx: -------------------------------------------------------------------------------- 1 | import { RouteFocusModal } from "../../../components/modals" 2 | import { CreateShippingProfileForm } from "./components/create-shipping-profile-form" 3 | 4 | export function ShippingProfileCreate() { 5 | return ( 6 | 7 | 8 | 9 | ) 10 | } 11 | -------------------------------------------------------------------------------- /packages/nocto/src/components/modals/stacked-modal-provider/stacked-modal-context.tsx: -------------------------------------------------------------------------------- 1 | import { createContext } from "react" 2 | 3 | type StackedModalState = { 4 | getIsOpen: (id: string) => boolean 5 | setIsOpen: (id: string, open: boolean) => void 6 | register: (id: string) => void 7 | unregister: (id: string) => void 8 | } 9 | 10 | export const StackedModalContext = createContext(null) 11 | -------------------------------------------------------------------------------- /packages/nocto/src/plugins/extensions/draft-orders/components/modals/index.ts: -------------------------------------------------------------------------------- 1 | export { RouteDrawer } from "./route-drawer/route-drawer" 2 | export { RouteFocusModal } from "./route-focus-modal" 3 | export { useRouteModal } from "./route-modal-provider" 4 | 5 | export { StackedDrawer } from "./stacked-drawer" 6 | export { StackedFocusModal } from "./stacked-focus-modal" 7 | export { useStackedModal } from "./stacked-modal-provider" 8 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/orders/order-receive-return/components/order-receive-return-form/constants.ts: -------------------------------------------------------------------------------- 1 | import { z } from "zod" 2 | 3 | export const ReceiveReturnSchema = z.object({ 4 | items: z.array( 5 | z.object({ 6 | quantity: z.number().nullish(), 7 | dismissed_quantity: z.number().nullish(), 8 | item_id: z.string(), 9 | }) 10 | ), 11 | send_notification: z.boolean().optional(), 12 | }) 13 | -------------------------------------------------------------------------------- /packages/nocto/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Nocto 8 | 9 | 10 |
11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /packages/nocto/src/components/modals/route-modal-provider/route-modal-context.tsx: -------------------------------------------------------------------------------- 1 | import { createContext } from "react" 2 | 3 | type RouteModalProviderState = { 4 | handleSuccess: (path?: string) => void 5 | setCloseOnEscape: (value: boolean) => void 6 | __internal: { 7 | closeOnEscape: boolean 8 | } 9 | } 10 | 11 | export const RouteModalProviderContext = 12 | createContext(null) 13 | -------------------------------------------------------------------------------- /packages/nocto/src/plugins/extensions/draft-orders/components/utilities/generic-forward-ref.tsx: -------------------------------------------------------------------------------- 1 | import { 2 | PropsWithoutRef, 3 | ReactNode, 4 | Ref, 5 | RefAttributes, 6 | forwardRef, 7 | } from "react" 8 | 9 | export function genericForwardRef( 10 | render: (props: PropsWithoutRef

, ref: Ref) => ReactNode 11 | ): (props: P & RefAttributes) => ReactNode { 12 | return forwardRef(render) as any 13 | } 14 | -------------------------------------------------------------------------------- /packages/nocto/src/plugins/routes/login/index.ts: -------------------------------------------------------------------------------- 1 | import { ConfigSchema } from "./plugin" 2 | 3 | export const loginPlugin = { 4 | id: "@login", 5 | configSchema: ConfigSchema, 6 | routes: () => [ 7 | { 8 | path: "/login", 9 | layout: "auth", 10 | lazy: () => 11 | import("./plugin").then((mod) => ({ 12 | Component: () => mod.default(), 13 | })), 14 | }, 15 | ], 16 | } 17 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/tax-regions/common/utils.ts: -------------------------------------------------------------------------------- 1 | import { HttpTypes } from "@medusajs/types" 2 | 3 | import { TaxRateRuleTarget } from "./schemas" 4 | 5 | export const createTaxRulePayload = ( 6 | target: TaxRateRuleTarget 7 | ): HttpTypes.AdminCreateTaxRate["rules"] => { 8 | return target.references.map((reference) => ({ 9 | reference: target.reference_type, 10 | reference_id: reference.value, 11 | })) 12 | } 13 | -------------------------------------------------------------------------------- /packages/cli/template/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Nocto 8 | 9 | 10 |

11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /packages/nocto/src/components/modals/route-modal-provider/use-route-modal.tsx: -------------------------------------------------------------------------------- 1 | import { useContext } from "react" 2 | import { RouteModalProviderContext } from "./route-modal-context" 3 | 4 | export const useRouteModal = () => { 5 | const context = useContext(RouteModalProviderContext) 6 | 7 | if (!context) { 8 | throw new Error("useRouteModal must be used within a RouteModalProvider") 9 | } 10 | 11 | return context 12 | } 13 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/campaigns/common/constants.ts: -------------------------------------------------------------------------------- 1 | import { CampaignBudgetTypeValues } from "@medusajs/types" 2 | 3 | export const DEFAULT_CAMPAIGN_VALUES = { 4 | name: "", 5 | description: "", 6 | campaign_identifier: "", 7 | starts_at: null, 8 | ends_at: null, 9 | budget: { 10 | type: "usage" as CampaignBudgetTypeValues, 11 | currency_code: null, 12 | limit: null, 13 | attribute: null, 14 | }, 15 | } 16 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/locations/location-detail/constants.ts: -------------------------------------------------------------------------------- 1 | export const LOCATION_DETAILS_FIELD = 2 | "name,*sales_channels,*address,fulfillment_sets.type,fulfillment_sets.name,*fulfillment_sets.service_zones.geo_zones,*fulfillment_sets.service_zones,*fulfillment_sets.service_zones.shipping_options,*fulfillment_sets.service_zones.shipping_options.rules,*fulfillment_sets.service_zones.shipping_options.shipping_profile,*fulfillment_providers" 3 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/shipping-option-types/shipping-option-type-create/shipping-option-type-create.tsx: -------------------------------------------------------------------------------- 1 | import { RouteFocusModal } from "../../../components/modals" 2 | import { CreateShippingOptionTypeForm } from "./components/create-shipping-option-type-form" 3 | 4 | export const ShippingOptionTypeCreate = () => { 5 | return ( 6 | 7 | 8 | 9 | ) 10 | } 11 | -------------------------------------------------------------------------------- /packages/nocto/.gitignore: -------------------------------------------------------------------------------- 1 | #Medusa Upstream 2 | upstream 3 | 4 | # Logs 5 | logs 6 | *.log 7 | npm-debug.log* 8 | yarn-debug.log* 9 | yarn-error.log* 10 | pnpm-debug.log* 11 | lerna-debug.log* 12 | 13 | node_modules 14 | dist 15 | dist-ssr 16 | *.local 17 | 18 | # Editor directories and files 19 | .vscode/* 20 | !.vscode/extensions.json 21 | .idea 22 | .DS_Store 23 | *.suo 24 | *.ntvs* 25 | *.njsproj 26 | *.sln 27 | *.sw? 28 | .vercel 29 | .yarn 30 | -------------------------------------------------------------------------------- /packages/nocto/src/components/data-grid/context/use-data-grid-context.tsx: -------------------------------------------------------------------------------- 1 | import { useContext } from "react" 2 | import { DataGridContext } from "./data-grid-context" 3 | 4 | export const useDataGridContext = () => { 5 | const context = useContext(DataGridContext) 6 | 7 | if (!context) { 8 | throw new Error( 9 | "useDataGridContext must be used within a DataGridContextProvider" 10 | ) 11 | } 12 | 13 | return context 14 | } 15 | -------------------------------------------------------------------------------- /packages/nocto/src/plugins/custom/order-detail-slot-1/index.tsx: -------------------------------------------------------------------------------- 1 | import { ConfigSchema } from "./plugin"; 2 | 3 | export const myPlugin = { 4 | id: "@my-plugin", 5 | configSchema: ConfigSchema, 6 | routes: () => [ 7 | { 8 | path: "/my-plugin", 9 | layout: "main", 10 | lazy: () => 11 | import("./plugin").then((mod) => ({ 12 | Component: () => mod.default(), 13 | })), 14 | }, 15 | ], 16 | } 17 | -------------------------------------------------------------------------------- /packages/nocto/src/plugins/extensions/draft-orders/components/modals/stacked-modal-provider/stacked-modal-context.tsx: -------------------------------------------------------------------------------- 1 | import { createContext } from "react" 2 | 3 | type StackedModalState = { 4 | getIsOpen: (id: string) => boolean 5 | setIsOpen: (id: string, open: boolean) => void 6 | register: (id: string) => void 7 | unregister: (id: string) => void 8 | } 9 | 10 | export const StackedModalContext = createContext(null) 11 | -------------------------------------------------------------------------------- /packages/nocto/src/components/modals/stacked-modal-provider/use-stacked-modal.ts: -------------------------------------------------------------------------------- 1 | import { useContext } from "react" 2 | import { StackedModalContext } from "./stacked-modal-context" 3 | 4 | export const useStackedModal = () => { 5 | const context = useContext(StackedModalContext) 6 | 7 | if (!context) { 8 | throw new Error( 9 | "useStackedModal must be used within a StackedModalProvider" 10 | ) 11 | } 12 | 13 | return context 14 | } 15 | -------------------------------------------------------------------------------- /packages/nocto/src/plugins/extensions/draft-orders/components/modals/route-modal-provider/route-modal-context.tsx: -------------------------------------------------------------------------------- 1 | import { createContext } from "react" 2 | 3 | type RouteModalProviderState = { 4 | handleSuccess: (path?: string) => void 5 | setCloseOnEscape: (value: boolean) => void 6 | __internal: { 7 | closeOnEscape: boolean 8 | } 9 | } 10 | 11 | export const RouteModalProviderContext = 12 | createContext(null) 13 | -------------------------------------------------------------------------------- /packages/nocto/src/plugins/routes/core/index.tsx: -------------------------------------------------------------------------------- 1 | import { ErrorBoundary } from "../../../components/utilities/error-boundary" 2 | import { RouteEntry } from "@rsc-labs/nocto-plugin-system" 3 | 4 | export const coreRoutes = { 5 | id: "@core-routes", 6 | routes: (): RouteEntry[] => [ 7 | { 8 | path: "/", 9 | layout: "main", 10 | errorElement: , 11 | lazy: () => import("../../../routes/home"), 12 | }, 13 | ], 14 | } -------------------------------------------------------------------------------- /packages/nocto/src/plugins/extensions/draft-orders/components/modals/route-modal-provider/use-route-modal.tsx: -------------------------------------------------------------------------------- 1 | import { useContext } from "react" 2 | import { RouteModalProviderContext } from "./route-modal-context" 3 | 4 | export const useRouteModal = () => { 5 | const context = useContext(RouteModalProviderContext) 6 | 7 | if (!context) { 8 | throw new Error("useRouteModal must be used within a RouteModalProvider") 9 | } 10 | 11 | return context 12 | } 13 | -------------------------------------------------------------------------------- /packages/nocto/src/plugins/extensions/draft-orders/hooks/api/products.tsx: -------------------------------------------------------------------------------- 1 | import { useQuery } from "@tanstack/react-query" 2 | import { sdk } from "../../lib/queries/sdk" 3 | 4 | export const useProducts = (query: Record) => { 5 | const { data, ...rest } = useQuery({ 6 | queryKey: ["products", query], 7 | queryFn: () => { 8 | return sdk.admin.product.list(query) 9 | }, 10 | }) 11 | 12 | return { 13 | ...data, 14 | ...rest, 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/orders/order-create-claim/components/claim-create-form/item-placeholder.tsx: -------------------------------------------------------------------------------- 1 | export const ItemPlaceholder = () => { 2 | return ( 3 |
10 | ) 11 | } 12 | -------------------------------------------------------------------------------- /packages/nocto/src/plugins/extensions/draft-orders/components/modals/stacked-modal-provider/use-stacked-modal.ts: -------------------------------------------------------------------------------- 1 | import { useContext } from "react" 2 | import { StackedModalContext } from "./stacked-modal-context" 3 | 4 | export const useStackedModal = () => { 5 | const context = useContext(StackedModalContext) 6 | 7 | if (!context) { 8 | throw new Error( 9 | "useStackedModal must be used within a StackedModalProvider" 10 | ) 11 | } 12 | 13 | return context 14 | } 15 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/orders/order-create-shipment/components/order-create-shipment-form/constants.ts: -------------------------------------------------------------------------------- 1 | import { z } from "zod" 2 | 3 | export const CreateShipmentSchema = z.object({ 4 | labels: z.array( 5 | z.object({ 6 | tracking_number: z.string(), 7 | // TODO: this 2 are not optional in the API 8 | tracking_url: z.string().optional(), 9 | label_url: z.string().optional(), 10 | }) 11 | ), 12 | send_notification: z.boolean().optional(), 13 | }) 14 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/orders/order-list/const.ts: -------------------------------------------------------------------------------- 1 | export const DEFAULT_PROPERTIES = [ 2 | "id", 3 | "status", 4 | "created_at", 5 | "email", 6 | "display_id", 7 | "custom_display_id", 8 | "payment_status", 9 | "fulfillment_status", 10 | "total", 11 | "currency_code", 12 | ] 13 | 14 | export const DEFAULT_RELATIONS = ["*customer", "*sales_channel"] 15 | 16 | export const DEFAULT_FIELDS = `${DEFAULT_PROPERTIES.join( 17 | "," 18 | )},${DEFAULT_RELATIONS.join(",")}` 19 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/settings/settings.tsx: -------------------------------------------------------------------------------- 1 | import { useEffect } from "react" 2 | import { Outlet, useLocation, useNavigate } from "react-router-dom" 3 | 4 | export const Settings = () => { 5 | const navigate = useNavigate() 6 | const location = useLocation() 7 | 8 | useEffect(() => { 9 | if (location.pathname === "/settings") { 10 | navigate("/settings/store", { replace: true }) 11 | } 12 | }, [location.pathname, navigate]) 13 | 14 | return 15 | } 16 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/locations/common/components/shipping-option-price-provider/shipping-option-price-context.tsx: -------------------------------------------------------------------------------- 1 | import { createContext } from "react" 2 | import { ConditionalPriceInfo } from "../../types" 3 | 4 | type ShippingOptionPriceContextType = { 5 | onOpenConditionalPricesModal: (info: ConditionalPriceInfo) => void 6 | onCloseConditionalPricesModal: () => void 7 | } 8 | 9 | export const ShippingOptionPriceContext = 10 | createContext(null) 11 | -------------------------------------------------------------------------------- /packages/nocto/src/hooks/table/filters/use-promotion-table-filters.tsx: -------------------------------------------------------------------------------- 1 | import { useTranslation } from "react-i18next" 2 | import { Filter } from "../../../components/table/data-table" 3 | 4 | export const usePromotionTableFilters = () => { 5 | const { t } = useTranslation() 6 | 7 | let filters: Filter[] = [ 8 | { label: t("fields.createdAt"), key: "created_at", type: "date" }, 9 | { label: t("fields.updatedAt"), key: "updated_at", type: "date" }, 10 | ] 11 | 12 | return filters 13 | } 14 | -------------------------------------------------------------------------------- /packages/nocto/src/i18n/config.ts: -------------------------------------------------------------------------------- 1 | import { InitOptions } from "i18next" 2 | 3 | export const defaultI18nOptions: InitOptions = { 4 | debug: process.env.NODE_ENV === "development", 5 | detection: { 6 | caches: ["cookie", "localStorage", "header"], 7 | lookupCookie: "lng", 8 | lookupLocalStorage: "lng", 9 | order: ["cookie", "localStorage", "header"], 10 | }, 11 | fallbackLng: "en", 12 | fallbackNS: "translation", 13 | interpolation: { 14 | escapeValue: false, 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/products/product-media/components/product-media-view/use-product-media-view.tsx: -------------------------------------------------------------------------------- 1 | import { useContext } from "react" 2 | import { ProductMediaViewContext } from "./product-media-view-context" 3 | 4 | export const useProductMediaView = () => { 5 | const context = useContext(ProductMediaViewContext) 6 | 7 | if (!context) { 8 | throw new Error( 9 | "useProductMediaView must be used within a ProductMediaViewProvider" 10 | ) 11 | } 12 | 13 | return context 14 | } 15 | -------------------------------------------------------------------------------- /packages/nocto/src/components/search/types.ts: -------------------------------------------------------------------------------- 1 | import { SEARCH_AREAS } from "./constants" 2 | 3 | export type SearchArea = (typeof SEARCH_AREAS)[number] 4 | 5 | export type DynamicSearchResultItem = { 6 | id: string 7 | title: string 8 | subtitle?: string 9 | to: string 10 | thumbnail?: string 11 | value: string 12 | } 13 | 14 | export type DynamicSearchResult = { 15 | area: SearchArea 16 | title: string 17 | hasMore: boolean 18 | count: number 19 | items: DynamicSearchResultItem[] 20 | } 21 | -------------------------------------------------------------------------------- /packages/nocto/src/lib/rma.ts: -------------------------------------------------------------------------------- 1 | import { AdminOrderLineItem } from "@medusajs/types" 2 | 3 | export function getReturnableQuantity(item: AdminOrderLineItem): number { 4 | const { 5 | delivered_quantity, 6 | return_received_quantity, 7 | return_dismissed_quantity, 8 | return_requested_quantity, 9 | } = item.detail 10 | 11 | return ( 12 | delivered_quantity - 13 | (return_received_quantity + 14 | return_requested_quantity + 15 | return_dismissed_quantity) 16 | ) 17 | } 18 | -------------------------------------------------------------------------------- /packages/nocto/src/routes/customer-groups/customer-group-add-customers/customer-group-add-customers.tsx: -------------------------------------------------------------------------------- 1 | import { useParams } from "react-router-dom" 2 | import { RouteFocusModal } from "../../../components/modals" 3 | import { AddCustomersForm } from "./components/add-customers-form" 4 | 5 | export const CustomerGroupAddCustomers = () => { 6 | const { id } = useParams() 7 | 8 | return ( 9 | 10 | 11 | 12 | ) 13 | } 14 | --------------------------------------------------------------------------------