@vendure/dashboard 3.7.2-master-202607150304 → 3.7.2-master-202607170305
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle/chunks/{2SSKDMRQ-CGPzX7ok.js → 2SSKDMRQ-CT8ZX_ox.js} +2 -2
- package/dist/bundle/chunks/{AP7HFJJL-BANaC6nc.js → AP7HFJJL-D0TBiV0r.js} +1 -1
- package/dist/bundle/chunks/{WDYDFRGG-DWwEqh2h.js → WDYDFRGG-DoHN0FUP.js} +2 -2
- package/dist/bundle/chunks/{locale--aauL66m.js → locale-C8NDrP1y.js} +1 -1
- package/dist/bundle/chunks/{main-DVt3RsH7.js → main-V1n9Dflr.js} +5 -5
- package/dist/bundle/chunks/{use-job-queue-polling-mUjHlukj.js → use-job-queue-polling-Ca4Fruhs.js} +28 -25
- package/dist/bundle/lib.js +2 -2
- package/dist/bundle/main.js +2 -2
- package/dist/vite/.vendure-dashboard-temp/compiler/{3267-f5a75dcd-41a6-4ef4-a391-fa1f99af6bfb → 3360-ddeeeddc-0c31-4bd2-a18b-2d0b929e4bc9}/dev-config.js +6 -53
- package/dist/vite/.vendure-dashboard-temp/compiler/{4869-e68f276f-154e-4ec8-9cd7-6ac8fa2962a4 → 4336-00568e3f-1695-4fea-9a16-1d7176b71779}/dev-config.js +6 -53
- package/dist/vite/.vendure-dashboard-temp/gql-tada/{3267-f5a75dcd-41a6-4ef4-a391-fa1f99af6bfb → 3360-ddeeeddc-0c31-4bd2-a18b-2d0b929e4bc9}/schema.graphql +0 -31
- package/dist/vite/.vendure-dashboard-temp/gql-tada/{4869-e68f276f-154e-4ec8-9cd7-6ac8fa2962a4 → 4336-00568e3f-1695-4fea-9a16-1d7176b71779}/schema.graphql +0 -31
- package/package.json +3 -3
- package/src/app/routes/_authenticated/_administrators/administrators_.$id.tsx +2 -1
- package/src/app/routes/_authenticated/_profile/profile.tsx +2 -1
- package/src/lib/components/data-input/password-form-input.tsx +2 -3
- package/src/lib/components/shared/asset/asset-gallery.tsx +8 -1
- /package/dist/vite/.vendure-dashboard-temp/compiler/{3267-f5a75dcd-41a6-4ef4-a391-fa1f99af6bfb → 3360-ddeeeddc-0c31-4bd2-a18b-2d0b929e4bc9}/package.json +0 -0
- /package/dist/vite/.vendure-dashboard-temp/compiler/{3267-f5a75dcd-41a6-4ef4-a391-fa1f99af6bfb → 3360-ddeeeddc-0c31-4bd2-a18b-2d0b929e4bc9}/test-plugins/nav-modifier-plugin/nav-modifier-plugin.js +0 -0
- /package/dist/vite/.vendure-dashboard-temp/compiler/{3267-f5a75dcd-41a6-4ef4-a391-fa1f99af6bfb → 3360-ddeeeddc-0c31-4bd2-a18b-2d0b929e4bc9}/test-plugins/reviews/api/api-extensions.js +0 -0
- /package/dist/vite/.vendure-dashboard-temp/compiler/{3267-f5a75dcd-41a6-4ef4-a391-fa1f99af6bfb → 3360-ddeeeddc-0c31-4bd2-a18b-2d0b929e4bc9}/test-plugins/reviews/api/product-entity.resolver.js +0 -0
- /package/dist/vite/.vendure-dashboard-temp/compiler/{3267-f5a75dcd-41a6-4ef4-a391-fa1f99af6bfb → 3360-ddeeeddc-0c31-4bd2-a18b-2d0b929e4bc9}/test-plugins/reviews/api/product-review-admin.resolver.js +0 -0
- /package/dist/vite/.vendure-dashboard-temp/compiler/{3267-f5a75dcd-41a6-4ef4-a391-fa1f99af6bfb → 3360-ddeeeddc-0c31-4bd2-a18b-2d0b929e4bc9}/test-plugins/reviews/api/product-review-entity.resolver.js +0 -0
- /package/dist/vite/.vendure-dashboard-temp/compiler/{3267-f5a75dcd-41a6-4ef4-a391-fa1f99af6bfb → 3360-ddeeeddc-0c31-4bd2-a18b-2d0b929e4bc9}/test-plugins/reviews/api/product-review-shop.resolver.js +0 -0
- /package/dist/vite/.vendure-dashboard-temp/compiler/{3267-f5a75dcd-41a6-4ef4-a391-fa1f99af6bfb → 3360-ddeeeddc-0c31-4bd2-a18b-2d0b929e4bc9}/test-plugins/reviews/entities/product-review-translation.entity.js +0 -0
- /package/dist/vite/.vendure-dashboard-temp/compiler/{3267-f5a75dcd-41a6-4ef4-a391-fa1f99af6bfb → 3360-ddeeeddc-0c31-4bd2-a18b-2d0b929e4bc9}/test-plugins/reviews/entities/product-review.entity.js +0 -0
- /package/dist/vite/.vendure-dashboard-temp/compiler/{3267-f5a75dcd-41a6-4ef4-a391-fa1f99af6bfb → 3360-ddeeeddc-0c31-4bd2-a18b-2d0b929e4bc9}/test-plugins/reviews/generated-admin-types.js +0 -0
- /package/dist/vite/.vendure-dashboard-temp/compiler/{3267-f5a75dcd-41a6-4ef4-a391-fa1f99af6bfb → 3360-ddeeeddc-0c31-4bd2-a18b-2d0b929e4bc9}/test-plugins/reviews/generated-shop-types.js +0 -0
- /package/dist/vite/.vendure-dashboard-temp/compiler/{3267-f5a75dcd-41a6-4ef4-a391-fa1f99af6bfb → 3360-ddeeeddc-0c31-4bd2-a18b-2d0b929e4bc9}/test-plugins/reviews/reviews-plugin.js +0 -0
- /package/dist/vite/.vendure-dashboard-temp/compiler/{3267-f5a75dcd-41a6-4ef4-a391-fa1f99af6bfb → 3360-ddeeeddc-0c31-4bd2-a18b-2d0b929e4bc9}/test-plugins/reviews/types.js +0 -0
- /package/dist/vite/.vendure-dashboard-temp/compiler/{4869-e68f276f-154e-4ec8-9cd7-6ac8fa2962a4 → 4336-00568e3f-1695-4fea-9a16-1d7176b71779}/package.json +0 -0
- /package/dist/vite/.vendure-dashboard-temp/compiler/{4869-e68f276f-154e-4ec8-9cd7-6ac8fa2962a4 → 4336-00568e3f-1695-4fea-9a16-1d7176b71779}/test-plugins/nav-modifier-plugin/nav-modifier-plugin.js +0 -0
- /package/dist/vite/.vendure-dashboard-temp/compiler/{4869-e68f276f-154e-4ec8-9cd7-6ac8fa2962a4 → 4336-00568e3f-1695-4fea-9a16-1d7176b71779}/test-plugins/reviews/api/api-extensions.js +0 -0
- /package/dist/vite/.vendure-dashboard-temp/compiler/{4869-e68f276f-154e-4ec8-9cd7-6ac8fa2962a4 → 4336-00568e3f-1695-4fea-9a16-1d7176b71779}/test-plugins/reviews/api/product-entity.resolver.js +0 -0
- /package/dist/vite/.vendure-dashboard-temp/compiler/{4869-e68f276f-154e-4ec8-9cd7-6ac8fa2962a4 → 4336-00568e3f-1695-4fea-9a16-1d7176b71779}/test-plugins/reviews/api/product-review-admin.resolver.js +0 -0
- /package/dist/vite/.vendure-dashboard-temp/compiler/{4869-e68f276f-154e-4ec8-9cd7-6ac8fa2962a4 → 4336-00568e3f-1695-4fea-9a16-1d7176b71779}/test-plugins/reviews/api/product-review-entity.resolver.js +0 -0
- /package/dist/vite/.vendure-dashboard-temp/compiler/{4869-e68f276f-154e-4ec8-9cd7-6ac8fa2962a4 → 4336-00568e3f-1695-4fea-9a16-1d7176b71779}/test-plugins/reviews/api/product-review-shop.resolver.js +0 -0
- /package/dist/vite/.vendure-dashboard-temp/compiler/{4869-e68f276f-154e-4ec8-9cd7-6ac8fa2962a4 → 4336-00568e3f-1695-4fea-9a16-1d7176b71779}/test-plugins/reviews/entities/product-review-translation.entity.js +0 -0
- /package/dist/vite/.vendure-dashboard-temp/compiler/{4869-e68f276f-154e-4ec8-9cd7-6ac8fa2962a4 → 4336-00568e3f-1695-4fea-9a16-1d7176b71779}/test-plugins/reviews/entities/product-review.entity.js +0 -0
- /package/dist/vite/.vendure-dashboard-temp/compiler/{4869-e68f276f-154e-4ec8-9cd7-6ac8fa2962a4 → 4336-00568e3f-1695-4fea-9a16-1d7176b71779}/test-plugins/reviews/generated-admin-types.js +0 -0
- /package/dist/vite/.vendure-dashboard-temp/compiler/{4869-e68f276f-154e-4ec8-9cd7-6ac8fa2962a4 → 4336-00568e3f-1695-4fea-9a16-1d7176b71779}/test-plugins/reviews/generated-shop-types.js +0 -0
- /package/dist/vite/.vendure-dashboard-temp/compiler/{4869-e68f276f-154e-4ec8-9cd7-6ac8fa2962a4 → 4336-00568e3f-1695-4fea-9a16-1d7176b71779}/test-plugins/reviews/reviews-plugin.js +0 -0
- /package/dist/vite/.vendure-dashboard-temp/compiler/{4869-e68f276f-154e-4ec8-9cd7-6ac8fa2962a4 → 4336-00568e3f-1695-4fea-9a16-1d7176b71779}/test-plugins/reviews/types.js +0 -0
- /package/dist/vite/.vendure-dashboard-temp/gql-tada/{3267-f5a75dcd-41a6-4ef4-a391-fa1f99af6bfb → 3360-ddeeeddc-0c31-4bd2-a18b-2d0b929e4bc9}/tsconfig.json +0 -0
- /package/dist/vite/.vendure-dashboard-temp/gql-tada/{4869-e68f276f-154e-4ec8-9cd7-6ac8fa2962a4 → 4336-00568e3f-1695-4fea-9a16-1d7176b71779}/tsconfig.json +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, b as ParentPanel, C as ContentView, Q as QueryDevtoolsContext } from "./AP7HFJJL-
|
|
2
|
-
import { g as getPreferredColorScheme, c as createMemo, a as createComponent } from "./main-
|
|
1
|
+
import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, b as ParentPanel, C as ContentView, Q as QueryDevtoolsContext } from "./AP7HFJJL-D0TBiV0r.js";
|
|
2
|
+
import { g as getPreferredColorScheme, c as createMemo, a as createComponent } from "./main-V1n9Dflr.js";
|
|
3
3
|
var DevtoolsPanelComponent = (props) => {
|
|
4
4
|
const [localStore, setLocalStore] = createLocalStorage({
|
|
5
5
|
prefix: "TanstackQueryDevtools"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as createContext, d as createSignal, o as onMount, e as createEffect, c as createMemo, a as createComponent, P as Portal, m as memo, S as Show, t as template, i as insert, f as createRenderEffect, h as className, j as clearDelegatedEvents, k as delegateEvents, u as useContext, l as onCleanup, s as sortFns, n as mutationSortFns, p as on, q as setAttribute, r as getSidedProp, v as use, w as convertRemToPixels, x as createUniqueId, y as batch, z as getQueryStatusLabel, A as getMutationStatusColor, B as getQueryStatusColor, C as getQueryStatusColorByLabel, D as displayValue, F as For, E as untrack, $ as $TRACK, G as useTransition, H as spread, I as mergeProps, J as createRoot, K as serialize, L as Index, M as updateNestedDataByPath, N as addEventListener, O as stringify, Q as Match, R as Switch, T as deleteNestedDataByPath, U as splitProps, V as Dynamic, W as createComputed } from "./main-
|
|
1
|
+
import { b as createContext, d as createSignal, o as onMount, e as createEffect, c as createMemo, a as createComponent, P as Portal, m as memo, S as Show, t as template, i as insert, f as createRenderEffect, h as className, j as clearDelegatedEvents, k as delegateEvents, u as useContext, l as onCleanup, s as sortFns, n as mutationSortFns, p as on, q as setAttribute, r as getSidedProp, v as use, w as convertRemToPixels, x as createUniqueId, y as batch, z as getQueryStatusLabel, A as getMutationStatusColor, B as getQueryStatusColor, C as getQueryStatusColorByLabel, D as displayValue, F as For, E as untrack, $ as $TRACK, G as useTransition, H as spread, I as mergeProps, J as createRoot, K as serialize, L as Index, M as updateNestedDataByPath, N as addEventListener, O as stringify, Q as Match, R as Switch, T as deleteNestedDataByPath, U as splitProps, V as Dynamic, W as createComputed } from "./main-V1n9Dflr.js";
|
|
2
2
|
var isNonNullable = (i2) => i2 != null;
|
|
3
3
|
var filterNonNullable = (arr) => arr.filter(isNonNullable);
|
|
4
4
|
function chain(callbacks) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, D as Devtools, Q as QueryDevtoolsContext } from "./AP7HFJJL-
|
|
2
|
-
import { g as getPreferredColorScheme, c as createMemo, a as createComponent } from "./main-
|
|
1
|
+
import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, D as Devtools, Q as QueryDevtoolsContext } from "./AP7HFJJL-D0TBiV0r.js";
|
|
2
|
+
import { g as getPreferredColorScheme, c as createMemo, a as createComponent } from "./main-V1n9Dflr.js";
|
|
3
3
|
var DevtoolsComponent = (props) => {
|
|
4
4
|
const [localStore, setLocalStore] = createLocalStorage({
|
|
5
5
|
prefix: "TanstackQueryDevtools"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { om as normalizeDates$1, on as startOfWeek$1, oo as buildFormatLongFn$1, op as buildLocalizeFn$1, oq as buildMatchFn$1, or as buildMatchPatternFn$1, os as toDate$1, ot as match$1l, ou as localize$1n, ov as formatRelative$1n, ow as formatDistance$1n, ox as DateLib, oy as enUS$1 } from "./use-job-queue-polling-
|
|
1
|
+
import { om as normalizeDates$1, on as startOfWeek$1, oo as buildFormatLongFn$1, op as buildLocalizeFn$1, oq as buildMatchFn$1, or as buildMatchPatternFn$1, os as toDate$1, ot as match$1l, ou as localize$1n, ov as formatRelative$1n, ow as formatDistance$1n, ox as DateLib, oy as enUS$1 } from "./use-job-queue-polling-Ca4Fruhs.js";
|
|
2
2
|
function isSameWeek$1(laterDate, earlierDate, options2) {
|
|
3
3
|
const [laterDate_, earlierDate_] = normalizeDates$1(
|
|
4
4
|
options2?.in,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { c as createLucideIcon, nt as loadI18nMessages, nD as UserSettingsProvider, nE as ThemeProvider, nF as AuthProvider, nG as ServerConfigProvider, nH as ChannelProvider, nI as AlertsProvider, l5 as CustomProviders, df as objectType, du as stringType, mU as useAuth, gv as LoginForm, hq as LoginBranding, gk as AppLayout, nJ as endOfDay, nK as startOfMonth, bD as useUserSettings, nb as usePermissions, kx as getDashboardWidgetRegistry, eL as Page, eM as PageTitle, eN as PageActionBar, md as ActionBarItem, gi as DateRangePicker, dP as Button, eP as PageLayout, mo as FullWidthPageBlock, kA as WidgetFiltersProvider, i$ as GridLayout, ky as getDashboardWidget, na as usePaginatedList, mE as api, kV as getMutationName, fA as DataTableBulkActionItem, nL as Trash, mM as graphql, gf as useGeneratedColumns, fU as DataTable, gY as CountrySelector, jt as Sheet, jA as SheetTrigger, jv as SheetContent, jy as SheetHeader, jz as SheetTitle, jw as SheetDescription, jm as ScrollArea, mw as ListPage, dQ as Plus, h3 as DetailPageButton, eX as BooleanDisplayBadge, dR as Badge, mR as setSettingsStoreValueDocument, nM as createColumnHelper, gX as CopyableText, jV as Switch$1, iE as Dialog, iM as DialogTrigger, iG as DialogContent, iJ as DialogHeader, iD as DialogTitle, iH as DialogDescription, eZ as JsonViewer, iI as DialogFooter, dO as Input, n6 as useLocalFormat, bR as DropdownMenu, bS as DropdownMenuTrigger, bT as Ellipsis, bV as DropdownMenuContent, bW as DropdownMenuItem, nN as Clock, nO as Check, nP as RefreshCw, nQ as ChevronDown, nR as EllipsisVertical, gJ as AssignToChannelBulkAction, mV as useChannel, hs as RemoveFromChannelBulkAction, mI as configurableOperationFragment, np as LS_KEY_SHIPPING_TEST_ADDRESS, hR as AccordionItem, hS as AccordionTrigger, hQ as AccordionContent, i_ as Form, eS as FormFieldWrapper, bF as Select, bG as SelectTrigger, bI as SelectValue, bJ as SelectContent, bK as SelectItem, nq as LS_KEY_SHIPPING_TEST_ORDER, nS as useReactTable, nT as getCoreRowModel, jW as Table, k0 as TableHeader, k1 as TableRow, j$ as TableHead, nU as flexRender, jX as TableBody, jZ as TableCell, hr as ProductVariantSelector, hJ as VendureImage, bZ as Trash2, e$ as Money, ij as Card, ip as CardHeader, iq as CardTitle, il as CardContent, i3 as Alert, i4 as AlertDescription, hP as Accordion, hG as RichTextDescriptionCell, ns as SUPER_ADMIN_ROLE_CODE, nk as CUSTOMER_ROLE_CODE, nV as Layers, gP as ChannelCodeLabel, hz as RoleCodeLabel, mG as getEntityDuplicatorsDocument, nW as getInitialConfigArgValue, gS as ConfigurableOperationInput, mF as duplicateEntityDocument, nX as Copy, h5 as ErrorPage, kI as extendDetailFormQuery, kP as addCustomFields, mz as getDetailQueryOptions, eJ as useDetailPage, eQ as PageBlock, eR as DetailFormGrid, eU as CustomFieldsPageBlock, mH as assetFragment, h7 as FacetValueSelector, h6 as FacetValueChip, gL as usePriceFactor, fF as FacetValueFacetedFilter, hC as StockLevelLabel, mL as errorResultFragment, mK as configurableOperationDefFragment, bC as useServerConfig, hD as CustomerCell, hE as OrderStateCell, hF as OrderMoneyCell, eH as NEW_ENTITY_PATH, hh as LanguageSelector, mO as schemaLanguageCodes, fb as NumberInput, hn as PaginatedListDataTable, hm as PaginatedListDataTableKey, h2 as CustomerSelector, nY as useDebounce, bX as Folder, nZ as Search, n_ as ChevronRight, n$ as getExpandedRowModel, fO as getItemParentId, fR as calculateDragTargetPosition, fQ as isCircularReference, fS as calculateSiblingIndex, o0 as deleteAssetsDocument, cW as enumType, cP as coerce, gD as AssetGallery, mv as detailPageRouteLoader, hH as TaxCategorySelector, hO as ZoneSelector, k7 as Textarea, gV as ConfigurableOperationSelector, eT as TranslatableFormFieldWrapper, fq as RichTextInput, n4 as useGroupedPermissions, ke as TooltipProvider, kc as Tooltip, kf as TooltipTrigger, o1 as Info, kd as TooltipContent, gQ as ChannelSelector, gU as ConfigurableOperationMultiSelector, f7 as DateTimeInput, dS as X, cM as arrayType, nC as a, k2 as Tabs, k4 as TabsList, k5 as TabsTrigger, o2 as Link$1, k3 as TabsContent, iu as Command, iy as CommandInput, iA as CommandList, iw as CommandEmpty, iz as CommandItem, cO as booleanType, cl as ZodIssueCode, dq as recordType, C as Checkbox, iQ as Field, iT as FieldError, fa as MoneyInput, gW as ConfirmationDialog, hU as AlertDialog, hX as AlertDialogContent, h_ as AlertDialogHeader, hT as AlertDialogTitle, hY as AlertDialogDescription, hZ as AlertDialogFooter, hW as AlertDialogCancel, hV as AlertDialogAction, ho as PermissionGuard, n9 as usePage, fs as SlugInput, gN as AssignedFacetValues, gM as AssignedChannels, h4 as EntityAssets, dV as Separator, g_ as CustomFieldsForm, iV as FieldLabel, m_ as useDynamicTranslations, o3 as getTypeForState, bH as cn, nm as DEFAULT_CHANNEL_CODE, fp as createRelationSelectorConfig, fo as RelationSelector, j5 as Label, o4 as CircleAlert, mW as useCustomFieldConfig, gj as LabeledData, ir as Collapsible, is as CollapsibleTrigger, it as CollapsibleContent, o5 as Globe, mc as HistoryEntry, o6 as SquarePen, hf as useHistoryNoteEditor, hd as HistoryTimelineWithGrouping, hc as HistoryNoteInput, ha as HistoryNoteEditor, hb as HistoryNoteEntry, jS as Skeleton, kR as getFieldsFromDocumentNode, fL as getColumnVisibility, o7 as Pencil, o8 as stateTypeToBadgeVariant, o9 as ChevronLeft, g$ as CustomerAddressForm$1, oa as Users, h0 as CustomerGroupChip, h1 as CustomerGroupSelector, ob as Eye, i5 as AlertTitle, n5 as useJobQueuePolling, hB as SellerSelector, gZ as CurrencySelector, oc as tagListDocument, od as updateTagDocument, oe as deleteTagDocument, of as createTagDocument, je as Popover, jj as PopoverTrigger, og as ChevronsUpDown, jf as PopoverContent, ix as CommandGroup, oh as Settings2, oi as assetDetailDocument, oj as assetUpdateDocument, gB as AssetFocalPointEditor, gI as AssetProperties, gG as AssetPreviewSelector, ok as Focus, hA as RoleSelector, hj as MultiSelect, ol as useRedirectToListOnNotFound, fh as SingleRelationInput, lD as useGeneratedForm, de as numberType, f0 as AffixedInput, iF as DialogClose, jU as Spinner, lq as useDashboardExtensions, kH as registerDefaults, l7 as executeDashboardExtensionCallbacks, jT as Toaster, mA as useExtendedRouter, mY as useDisplayLocale, ng as useUiLanguageLoader, kL as setCustomFieldsMap, iN as DirectionProvider, kM as clearCustomFieldsMap } from "./use-job-queue-polling-
|
|
2
|
+
import { c as createLucideIcon, nt as loadI18nMessages, nD as UserSettingsProvider, nE as ThemeProvider, nF as AuthProvider, nG as ServerConfigProvider, nH as ChannelProvider, nI as AlertsProvider, l5 as CustomProviders, df as objectType, du as stringType, mU as useAuth, gv as LoginForm, hq as LoginBranding, gk as AppLayout, nJ as endOfDay, nK as startOfMonth, bD as useUserSettings, nb as usePermissions, kx as getDashboardWidgetRegistry, eL as Page, eM as PageTitle, eN as PageActionBar, md as ActionBarItem, gi as DateRangePicker, dP as Button, eP as PageLayout, mo as FullWidthPageBlock, kA as WidgetFiltersProvider, i$ as GridLayout, ky as getDashboardWidget, na as usePaginatedList, mE as api, kV as getMutationName, fA as DataTableBulkActionItem, nL as Trash, mM as graphql, gf as useGeneratedColumns, fU as DataTable, gY as CountrySelector, jt as Sheet, jA as SheetTrigger, jv as SheetContent, jy as SheetHeader, jz as SheetTitle, jw as SheetDescription, jm as ScrollArea, mw as ListPage, dQ as Plus, h3 as DetailPageButton, eX as BooleanDisplayBadge, dR as Badge, mR as setSettingsStoreValueDocument, nM as createColumnHelper, gX as CopyableText, jV as Switch$1, iE as Dialog, iM as DialogTrigger, iG as DialogContent, iJ as DialogHeader, iD as DialogTitle, iH as DialogDescription, eZ as JsonViewer, iI as DialogFooter, dO as Input, n6 as useLocalFormat, bR as DropdownMenu, bS as DropdownMenuTrigger, bT as Ellipsis, bV as DropdownMenuContent, bW as DropdownMenuItem, nN as Clock, nO as Check, nP as RefreshCw, nQ as ChevronDown, nR as EllipsisVertical, gJ as AssignToChannelBulkAction, mV as useChannel, hs as RemoveFromChannelBulkAction, mI as configurableOperationFragment, np as LS_KEY_SHIPPING_TEST_ADDRESS, hR as AccordionItem, hS as AccordionTrigger, hQ as AccordionContent, i_ as Form, eS as FormFieldWrapper, bF as Select, bG as SelectTrigger, bI as SelectValue, bJ as SelectContent, bK as SelectItem, nq as LS_KEY_SHIPPING_TEST_ORDER, nS as useReactTable, nT as getCoreRowModel, jW as Table, k0 as TableHeader, k1 as TableRow, j$ as TableHead, nU as flexRender, jX as TableBody, jZ as TableCell, hr as ProductVariantSelector, hJ as VendureImage, bZ as Trash2, e$ as Money, ij as Card, ip as CardHeader, iq as CardTitle, il as CardContent, i3 as Alert, i4 as AlertDescription, hP as Accordion, hG as RichTextDescriptionCell, ns as SUPER_ADMIN_ROLE_CODE, nk as CUSTOMER_ROLE_CODE, nV as Layers, gP as ChannelCodeLabel, hz as RoleCodeLabel, mG as getEntityDuplicatorsDocument, nW as getInitialConfigArgValue, gS as ConfigurableOperationInput, mF as duplicateEntityDocument, nX as Copy, h5 as ErrorPage, kI as extendDetailFormQuery, kP as addCustomFields, mz as getDetailQueryOptions, eJ as useDetailPage, eQ as PageBlock, eR as DetailFormGrid, jd as PasswordInput, eU as CustomFieldsPageBlock, mH as assetFragment, h7 as FacetValueSelector, h6 as FacetValueChip, gL as usePriceFactor, fF as FacetValueFacetedFilter, hC as StockLevelLabel, mL as errorResultFragment, mK as configurableOperationDefFragment, bC as useServerConfig, hD as CustomerCell, hE as OrderStateCell, hF as OrderMoneyCell, eH as NEW_ENTITY_PATH, hh as LanguageSelector, mO as schemaLanguageCodes, fb as NumberInput, hn as PaginatedListDataTable, hm as PaginatedListDataTableKey, h2 as CustomerSelector, nY as useDebounce, bX as Folder, nZ as Search, n_ as ChevronRight, n$ as getExpandedRowModel, fO as getItemParentId, fR as calculateDragTargetPosition, fQ as isCircularReference, fS as calculateSiblingIndex, o0 as deleteAssetsDocument, cW as enumType, cP as coerce, gD as AssetGallery, mv as detailPageRouteLoader, hH as TaxCategorySelector, hO as ZoneSelector, k7 as Textarea, gV as ConfigurableOperationSelector, eT as TranslatableFormFieldWrapper, fq as RichTextInput, n4 as useGroupedPermissions, ke as TooltipProvider, kc as Tooltip, kf as TooltipTrigger, o1 as Info, kd as TooltipContent, gQ as ChannelSelector, gU as ConfigurableOperationMultiSelector, f7 as DateTimeInput, dS as X, cM as arrayType, nC as a, k2 as Tabs, k4 as TabsList, k5 as TabsTrigger, o2 as Link$1, k3 as TabsContent, iu as Command, iy as CommandInput, iA as CommandList, iw as CommandEmpty, iz as CommandItem, cO as booleanType, cl as ZodIssueCode, dq as recordType, C as Checkbox, iQ as Field, iT as FieldError, fa as MoneyInput, gW as ConfirmationDialog, hU as AlertDialog, hX as AlertDialogContent, h_ as AlertDialogHeader, hT as AlertDialogTitle, hY as AlertDialogDescription, hZ as AlertDialogFooter, hW as AlertDialogCancel, hV as AlertDialogAction, ho as PermissionGuard, n9 as usePage, fs as SlugInput, gN as AssignedFacetValues, gM as AssignedChannels, h4 as EntityAssets, dV as Separator, g_ as CustomFieldsForm, iV as FieldLabel, m_ as useDynamicTranslations, o3 as getTypeForState, bH as cn, nm as DEFAULT_CHANNEL_CODE, fp as createRelationSelectorConfig, fo as RelationSelector, j5 as Label, o4 as CircleAlert, mW as useCustomFieldConfig, gj as LabeledData, ir as Collapsible, is as CollapsibleTrigger, it as CollapsibleContent, o5 as Globe, mc as HistoryEntry, o6 as SquarePen, hf as useHistoryNoteEditor, hd as HistoryTimelineWithGrouping, hc as HistoryNoteInput, ha as HistoryNoteEditor, hb as HistoryNoteEntry, jS as Skeleton, kR as getFieldsFromDocumentNode, fL as getColumnVisibility, o7 as Pencil, o8 as stateTypeToBadgeVariant, o9 as ChevronLeft, g$ as CustomerAddressForm$1, oa as Users, h0 as CustomerGroupChip, h1 as CustomerGroupSelector, ob as Eye, i5 as AlertTitle, n5 as useJobQueuePolling, hB as SellerSelector, gZ as CurrencySelector, oc as tagListDocument, od as updateTagDocument, oe as deleteTagDocument, of as createTagDocument, je as Popover, jj as PopoverTrigger, og as ChevronsUpDown, jf as PopoverContent, ix as CommandGroup, oh as Settings2, oi as assetDetailDocument, oj as assetUpdateDocument, gB as AssetFocalPointEditor, gI as AssetProperties, gG as AssetPreviewSelector, ok as Focus, hA as RoleSelector, hj as MultiSelect, ol as useRedirectToListOnNotFound, fh as SingleRelationInput, lD as useGeneratedForm, de as numberType, f0 as AffixedInput, iF as DialogClose, jU as Spinner, lq as useDashboardExtensions, kH as registerDefaults, l7 as executeDashboardExtensionCallbacks, jT as Toaster, mA as useExtendedRouter, mY as useDisplayLocale, ng as useUiLanguageLoader, kL as setCustomFieldsMap, iN as DirectionProvider, kM as clearCustomFieldsMap } from "./use-job-queue-polling-Ca4Fruhs.js";
|
|
3
3
|
import { toast } from "sonner";
|
|
4
4
|
import { i18n } from "@lingui/core";
|
|
5
5
|
import { I18nProvider as I18nProvider$1, useLingui, Trans } from "@lingui/react";
|
|
@@ -2932,7 +2932,7 @@ var TanstackQueryDevtools = class {
|
|
|
2932
2932
|
if (this.#Component) {
|
|
2933
2933
|
Devtools = this.#Component;
|
|
2934
2934
|
} else {
|
|
2935
|
-
Devtools = lazy(() => import("./WDYDFRGG-
|
|
2935
|
+
Devtools = lazy(() => import("./WDYDFRGG-DoHN0FUP.js"));
|
|
2936
2936
|
this.#Component = Devtools;
|
|
2937
2937
|
}
|
|
2938
2938
|
setupStyleSheet(this.#styleNonce, this.#shadowDOMTarget);
|
|
@@ -3070,7 +3070,7 @@ var TanstackQueryDevtoolsPanel = class {
|
|
|
3070
3070
|
if (this.#Component) {
|
|
3071
3071
|
Devtools = this.#Component;
|
|
3072
3072
|
} else {
|
|
3073
|
-
Devtools = lazy(() => import("./2SSKDMRQ-
|
|
3073
|
+
Devtools = lazy(() => import("./2SSKDMRQ-CT8ZX_ox.js"));
|
|
3074
3074
|
this.#Component = Devtools;
|
|
3075
3075
|
}
|
|
3076
3076
|
setupStyleSheet(this.#styleNonce, this.#shadowDOMTarget);
|
|
@@ -6998,7 +6998,7 @@ function ProfilePage() {
|
|
|
6998
6998
|
id: "8ZsakT"
|
|
6999
6999
|
} }), render: ({
|
|
7000
7000
|
field
|
|
7001
|
-
}) => /* @__PURE__ */ jsx(
|
|
7001
|
+
}) => /* @__PURE__ */ jsx(PasswordInput, { ...field }) })
|
|
7002
7002
|
] }) }),
|
|
7003
7003
|
/* @__PURE__ */ jsx(PageBlock, { column: "side", blockId: "auth-methods", title: /* @__PURE__ */ jsx(Trans, { .../*i18n*/
|
|
7004
7004
|
{
|
|
@@ -22613,7 +22613,7 @@ function AdministratorDetailPage() {
|
|
|
22613
22613
|
id: "8ZsakT"
|
|
22614
22614
|
} }), render: ({
|
|
22615
22615
|
field
|
|
22616
|
-
}) => /* @__PURE__ */ jsx(
|
|
22616
|
+
}) => /* @__PURE__ */ jsx(PasswordInput, { ...field }) })
|
|
22617
22617
|
] }) }),
|
|
22618
22618
|
/* @__PURE__ */ jsx(CustomFieldsPageBlock, { column: "main", entityType: "Administrator", control: form.control }),
|
|
22619
22619
|
/* @__PURE__ */ jsxs(PageBlock, { column: "main", blockId: "roles", title: /* @__PURE__ */ jsx(Trans, { .../*i18n*/
|
package/dist/bundle/chunks/{use-job-queue-polling-mUjHlukj.js → use-job-queue-polling-Ca4Fruhs.js}
RENAMED
|
@@ -39245,7 +39245,7 @@ function useDayPickerLocale() {
|
|
|
39245
39245
|
} = useDisplayLocale();
|
|
39246
39246
|
const [calendarLocale, setCalendarLocale] = useState(void 0);
|
|
39247
39247
|
useEffect(() => {
|
|
39248
|
-
import("./locale
|
|
39248
|
+
import("./locale-C8NDrP1y.js").then((mod) => {
|
|
39249
39249
|
setCalendarLocale(bcpTagToDatePickerLocale(bcp47Tag, mod));
|
|
39250
39250
|
});
|
|
39251
39251
|
}, [bcp47Tag]);
|
|
@@ -76195,7 +76195,10 @@ function AssetGallery({
|
|
|
76195
76195
|
] }),
|
|
76196
76196
|
hasTags && /* @__PURE__ */ jsx("div", { className: "flex items-center -mt-2", children: /* @__PURE__ */ jsx(AssetTagFilter, { selectedTags, onTagsChange: handleTagsChange }) })
|
|
76197
76197
|
] }),
|
|
76198
|
-
displayBulkActions ? /* @__PURE__ */ jsx(AssetBulkActions, { selection: selected, bulkActions, refetch
|
|
76198
|
+
displayBulkActions ? /* @__PURE__ */ jsx(AssetBulkActions, { selection: selected, bulkActions, refetch: () => {
|
|
76199
|
+
setSelected([]);
|
|
76200
|
+
refetch();
|
|
76201
|
+
} }) : null,
|
|
76199
76202
|
/* @__PURE__ */ jsxs("div", { ...getRootProps(), className: `
|
|
76200
76203
|
${fixedHeight ? "flex-grow overflow-y-auto" : ""}
|
|
76201
76204
|
${isDragActive2 ? "ring-2 ring-primary bg-primary/5" : ""}
|
|
@@ -78104,9 +78107,31 @@ function SlugInput({
|
|
|
78104
78107
|
] })
|
|
78105
78108
|
] });
|
|
78106
78109
|
}
|
|
78110
|
+
function PasswordInput({
|
|
78111
|
+
...props
|
|
78112
|
+
}) {
|
|
78113
|
+
const [showPassword, setShowPassword] = React.useState(false);
|
|
78114
|
+
const {
|
|
78115
|
+
_: _t
|
|
78116
|
+
} = useLingui();
|
|
78117
|
+
return /* @__PURE__ */ jsxs(InputGroup, { children: [
|
|
78118
|
+
/* @__PURE__ */ jsx(InputGroupInput, { type: showPassword ? "text" : "password", ...props }),
|
|
78119
|
+
/* @__PURE__ */ jsx(InputGroupAddon, { align: "inline-end", children: /* @__PURE__ */ jsx(InputGroupButton, { size: "icon-xs", onClick: () => setShowPassword(!showPassword), "aria-label": showPassword ? _t(
|
|
78120
|
+
/*i18n*/
|
|
78121
|
+
{
|
|
78122
|
+
id: "Pw01g0"
|
|
78123
|
+
}
|
|
78124
|
+
) : _t(
|
|
78125
|
+
/*i18n*/
|
|
78126
|
+
{
|
|
78127
|
+
id: "7C+Jn5"
|
|
78128
|
+
}
|
|
78129
|
+
), children: showPassword ? /* @__PURE__ */ jsx(EyeOff, {}) : /* @__PURE__ */ jsx(Eye, {}) }) })
|
|
78130
|
+
] });
|
|
78131
|
+
}
|
|
78107
78132
|
function PasswordFormInput(props) {
|
|
78108
78133
|
const readOnly = props.disabled || isReadonlyField(props.fieldDef);
|
|
78109
|
-
return /* @__PURE__ */ jsx(
|
|
78134
|
+
return /* @__PURE__ */ jsx(PasswordInput, { ref: props.ref, value: props.value, onChange: (e3) => props.onChange(e3.target.value), disabled: readOnly });
|
|
78110
78135
|
}
|
|
78111
78136
|
function TextareaInput(props) {
|
|
78112
78137
|
const readOnly = props.disabled || isReadonlyField(props.fieldDef);
|
|
@@ -90298,28 +90323,6 @@ function AppLayout() {
|
|
|
90298
90323
|
] }) })
|
|
90299
90324
|
] });
|
|
90300
90325
|
}
|
|
90301
|
-
function PasswordInput({
|
|
90302
|
-
...props
|
|
90303
|
-
}) {
|
|
90304
|
-
const [showPassword, setShowPassword] = React.useState(false);
|
|
90305
|
-
const {
|
|
90306
|
-
_: _t
|
|
90307
|
-
} = useLingui();
|
|
90308
|
-
return /* @__PURE__ */ jsxs(InputGroup, { children: [
|
|
90309
|
-
/* @__PURE__ */ jsx(InputGroupInput, { type: showPassword ? "text" : "password", ...props }),
|
|
90310
|
-
/* @__PURE__ */ jsx(InputGroupAddon, { align: "inline-end", children: /* @__PURE__ */ jsx(InputGroupButton, { size: "icon-xs", onClick: () => setShowPassword(!showPassword), "aria-label": showPassword ? _t(
|
|
90311
|
-
/*i18n*/
|
|
90312
|
-
{
|
|
90313
|
-
id: "Pw01g0"
|
|
90314
|
-
}
|
|
90315
|
-
) : _t(
|
|
90316
|
-
/*i18n*/
|
|
90317
|
-
{
|
|
90318
|
-
id: "7C+Jn5"
|
|
90319
|
-
}
|
|
90320
|
-
), children: showPassword ? /* @__PURE__ */ jsx(EyeOff, {}) : /* @__PURE__ */ jsx(Eye, {}) }) })
|
|
90321
|
-
] });
|
|
90322
|
-
}
|
|
90323
90326
|
const r = (t2, r2, o2) => {
|
|
90324
90327
|
if (t2 && "reportValidity" in t2) {
|
|
90325
90328
|
const s2 = get$1(o2, r2);
|
package/dist/bundle/lib.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as createLucideIcon, g as getComputedStyle$1, i as isHTMLElement, r as round, a as createLucideIcon$1, b as isFieldDisabled, C as Checkbox, u as useBaseUiId, d as useIsoLayoutEffect, f as formatErrorMessage, e as useRenderElement, N as NOOP, h as useTransitionStatus, j as useStableCallback, k as useOpenChangeComplete, t as transitionStatusMapping, l as useTimeout, m as createSelector, n as compareItemEquality, o as hasNullItemLabel, s as stringifyAsLabel, p as defaultItemEquality, q as useFormContext, v as useFieldRootContext, w as useLabelableId, x as useControlled, E as EMPTY_ARRAY, y as useRefWithInit, z as isGroupedItems, S as Store, A as EMPTY_OBJECT, B as stringifyAsValue, D as useStore, F as useValueAsRef, G as useOpenInteractionType, H as useField, I as createGenericEventDetails, J as inputClear, K as inputChange, L as createChangeEventDetails, M as focusOut, O as outsidePress, P as getTarget, Q as itemPress, R as selectedValueIncludes, T as removeItem, U as none, V as findItemIndex, W as useValueChanged, X as useFloatingRootContext, Y as useClick, Z as inputPress, _ as useDismiss, $ as contains, a0 as useListNavigation, a1 as useInteractions, a2 as useOnFirstRender, a3 as useMergedRefs, a4 as visuallyHiddenInput, a5 as visuallyHidden, a6 as resolveMultipleLabels, a7 as resolveSelectedLabel, a8 as fieldValidityMapping, a9 as pressableTriggerOpenStateMapping, aa as useButton, ab as closePress, ac as useLabelableContext, ad as useDirection, ae as DEFAULT_FIELD_STATE_ATTRIBUTES, af as resolveAriaLabelledBy, ag as stopEvent, ah as isFirefox, ai as escapeKey, aj as isAndroid, ak as useTypeahead, al as listNavigation, am as ownerDocument, an as getPseudoElementBounds, ao as CompositeList, ap as FloatingPortal, aq as DROPDOWN_COLLISION_AVOIDANCE, ar as useAnchorPositioning, as as useScrollLock, at as InternalBackdrop, au as inertValue, av as getDisabledMountTransitionStyles, aw as popupStateMapping, ax as FloatingFocusManager, ay as useCompositeListItem, az as IndexGuessBehavior, aA as chipRemovePress, aB as triggerOpenStateMapping, aC as clearPress, aD as useId, aE as ContextMenuRootContext, aF as MenuRootContext, aG as MenuRoot, aH as useContextMenuRootContext, aI as useMenuRootContext, aJ as findRootOwnerId, aK as cancelOpen, aL as triggerPress, aM as MenubarContext, aN as FloatingTree, aO as CompositeRoot, aP as useFloatingNodeId, aQ as useFloatingTree, aR as useMenubarContext, aS as FloatingNode, aT as useFloatingParentNodeId, aU as linkPress, aV as activeElement, aW as triggerHover, aX as getEmptyRootContext, aY as useHoverFloatingInteraction, aZ as getNodeChildren, a_ as useAnimationFrame, a$ as useAnimationsFinished, b0 as getWindow, b1 as TransitionStatusDataAttributes, b2 as useHoverInteractionSharedState, b3 as clearSafePolygonPointerEventsMutation, b4 as useHoverReferenceInteraction, b5 as safePolygon, b6 as isWebKit, b7 as CompositeItem, b8 as FocusGuard, b9 as isOutsideEvent, ba as getPreviousTabbable, bb as ownerVisuallyHidden, bc as isTabbable, bd as getNextTabbable, be as getTabbableAfterElement, bf as applySafePolygonPointerEventsMutation, bg as PATIENT_CLICK_THRESHOLD, bh as POPUP_COLLISION_AVOIDANCE, bi as adaptiveOrigin, bj as enableFocusInside, bk as disableFocusInside, bl as clamp, bm as warn, bn as getDefaultLabelId, bo as keyboard, bp as isElement, bq as drag, br as trackPress, bs as useCSPContext, bt as useOnMount, bu as mergeProps, bv as COMPOSITE_KEYS, bw as HOME, bx as END, by as ARROW_LEFT, bz as ARROW_DOWN, bA as ARROW_RIGHT, bB as ARROW_UP, bC as useServerConfig, bD as useUserSettings, bE as useSortedLanguages, bF as Select, bG as SelectTrigger, bH as cn, bI as SelectValue, bJ as SelectContent, bK as SelectItem, bL as useSidebar, bM as SidebarGroup, bN as SidebarGroupLabel, bO as SidebarMenu, bP as SidebarMenuItem, bQ as SidebarMenuButton, bR as DropdownMenu, bS as DropdownMenuTrigger, bT as Ellipsis, bU as SidebarMenuAction, bV as DropdownMenuContent, bW as DropdownMenuItem, bX as Folder, bY as DropdownMenuSeparator, bZ as Trash2, b_ as BRAND, b$ as DIRTY, c0 as EMPTY_PATH, c1 as INVALID, c2 as NEVER, c3 as OK, c4 as ParseStatus, c5 as ZodType, c6 as ZodAny, c7 as ZodArray, c8 as ZodBigInt, c9 as ZodBoolean, ca as ZodBranded, cb as ZodCatch, cc as ZodDate, cd as ZodDefault, ce as ZodDiscriminatedUnion, cf as ZodEffects, cg as ZodEnum, ch as ZodError, ci as ZodFirstPartyTypeKind, cj as ZodFunction, ck as ZodIntersection, cl as ZodIssueCode, cm as ZodLazy, cn as ZodLiteral, co as ZodMap, cp as ZodNaN, cq as ZodNativeEnum, cr as ZodNever, cs as ZodNull, ct as ZodNullable, cu as ZodNumber, cv as ZodObject, cw as ZodOptional, cx as ZodParsedType, cy as ZodPipeline, cz as ZodPromise, cA as ZodReadonly, cB as ZodRecord, cC as ZodSet, cD as ZodString, cE as ZodSymbol, cF as ZodTuple, cG as ZodUndefined, cH as ZodUnion, cI as ZodUnknown, cJ as ZodVoid, cK as addIssueToContext, cL as anyType, cM as arrayType, cN as bigIntType, cO as booleanType, cP as coerce, cQ as custom, cR as dateType, cS as datetimeRegex, cT as errorMap, cU as discriminatedUnionType, cV as effectsType, cW as enumType, cX as functionType, cY as getErrorMap, cZ as getParsedType, c_ as instanceOfType, c$ as intersectionType, d0 as isAborted, d1 as isAsync, d2 as isDirty, d3 as isValid, d4 as late, d5 as lazyType, d6 as literalType, d7 as makeIssue, d8 as mapType, d9 as nanType, da as nativeEnumType, db as neverType, dc as nullType, dd as nullableType, de as numberType, df as objectType, dg as objectUtil, dh as oboolean, di as onumber, dj as optionalType, dk as ostring, dl as pipelineType, dm as preprocessType, dn as promiseType, dp as quotelessJson, dq as recordType, dr as setType, ds as setErrorMap, dt as strictObjectType, du as stringType, dv as symbolType, dw as tupleType, dx as undefinedType, dy as unionType, dz as unknownType, dA as util, dB as voidType, dC as MotionConfigContext, dD as isHTMLElement$1, dE as useConstant, dF as PresenceContext, dG as usePresence, dH as useIsomorphicLayoutEffect$1, dI as LayoutGroupContext, dJ as frame, dK as animateVisualElement, dL as setTarget, dM as invariant, dN as resolveElements, dO as Input, dP as Button, dQ as Plus, dR as Badge, dS as X, dT as cn$1, dU as cva, dV as Separator, dW as useRender, dX as Button$1, dY as ChevronLeft, dZ as ChevronRight, d_ as throttle, d$ as warn$1, e0 as isPercent, e1 as getDisplayName, e2 as clsx, e3 as Tooltip, e4 as Legend, e5 as X$1, e6 as InputGroup, e7 as InputGroupInput, e8 as InputGroupAddon, e9 as InputGroupButton, ea as Check, eb as Separator$1, ec as ChevronDown, ed as MenuCheckboxItem, ee as MenuCheckboxItemIndicator, ef as MenuPortal, eg as MenuPositioner, eh as MenuPopup, ei as MenuGroup, ej as MenuItem, ek as MenuGroupLabel, el as MenuRadioGroup, em as MenuRadioItem, en as MenuRadioItemIndicator, eo as MenuSubmenuRoot, ep as MenuSubmenuTrigger, eq as Close, er as Description, es as Title, et as Trigger, eu as Root$1, ev as Content$1, ew as Overlay$1, ex as Portal$1, ey as DropdownMenuContent$1, ez as DropdownMenuGroup, eA as DropdownMenuLabel, eB as DropdownMenuPortal, eC as DropdownMenuRadioGroup, eD as DropdownMenuShortcut, eE as DropdownMenuSub, eF as DropdownMenuSubContent, eG as DropdownMenuSubTrigger, eH as NEW_ENTITY_PATH, eI as getEntityName, eJ as useDetailPage, eK as getOperationVariablesFields, eL as Page, eM as PageTitle, eN as PageActionBar, eO as PageActionBarRight, eP as PageLayout, eQ as PageBlock, eR as DetailFormGrid, eS as FormFieldWrapper, eT as TranslatableFormFieldWrapper, eU as CustomFieldsPageBlock, eV as DefaultInputForType } from "./chunks/use-job-queue-polling-
|
|
2
|
-
import { nj, hP, hQ, hR, hS, md, me, fz, fx, f0, i3, i6, i4, hU, hV, hW, hX, hY, hZ, h_, h$, i0, i1, hT, i2, kj, i5, gw, kk, gy, gx, gk, gl, gA, gB, gD, gE, gH, gF, gG, gI, gJ, gK, gM, gN, fV, eX, eW, f1, i8, i9, ia, ib, ic, id, ie, nk, ih, ii, ij, ik, il, im, io, ip, iq, gO, gP, gQ, gm, ir, it, is, fy, f2, iu, iv, iw, ix, iy, iz, iA, iB, iC, gR, gS, f3, gU, gV, gW, gX, gY, hM, nl, gZ, f4, g_, lu, l5, g$, hD, h0, f5, h1, h2, fX, nm, kq, fU, fW, fA, fB, fC, fD, f_, fG, fI, fH, fJ, g0, g2, fK, fE, g4, fT, gi, eY, f7, f8, h3, mf, gn, gu, iE, iF, iG, iH, iI, iJ, iK, iL, iD, iM, iN, ko, iO, iP, h4, h5, h6, fF, f9, h7, iQ, iR, iS, iT, iU, iV, iW, iX, iY, iZ, i_, lv, mo, go, g5, g6, i$, mc, h8, h9, ha, hb, hc, he, hd, j0, j1, j2, g7, f$, hg, ht, j3, j4, e_, eZ, nn, no, np, nq, nr, j5, gj, gp, hh, hu, mw, mk, hq, gv, hi, g8, gq, hp, kt, e$, fa, fi, hj, g9, g1, gr, gs, gt, hk, fb, hF, hE, lC, mn, ml, mm, mq, hl, hn, hm, j6, j7, j8, j9, ja, jb, jc, fc, jd, ho, hK, je, jf, jg, jh, ji, jj, fg, ff, hr, jk, jl, ga, fo, fm, hs, hN, hv, hG, hw, fq, hz, hA, g3, ns, gb, gc, jm, jn, jo, jp, jq, jr, js, fr, hB, jt, ju, jv, jw, jx, jy, jz, jA, jB, jC, jD, jE, jF, jG, jH, jI, jJ, jK, jL, jM, jN, jO, jP, jQ, jR, fh, jS, fs, jU, hC, ft, fu, jV, jW, jX, jY, jZ, hx, hy, j_, j$, k0, k1, k2, k3, k4, k5, hH, fv, k7, fw, hL, jT, ka, k8, k9, kc, kd, ke, kf, hI, gg, hJ, gh, kp, kz, kA, hO, kC, lf, kP, kO, lt, lb, le, kE, mt, mu, kG, mE, gz, ly, mH, i7, fZ, ig, fR, fS, ny, kM, fl, mJ, mK, mI, lG, gC, lw, fp, fk, l8, mv, mF, mL, l7, kI, kJ, mx, lY, nz, la, ld, ki, kh, kB, fL, kN, mb, mh, l1, mj, ky, kx, lz, lx, ls, mz, l9, mG, k_, n1, kR, lB, lc, fO, fP, kD, kQ, kV, mr, kU, kW, kS, kT, mQ, fN, mD, kX, m9, kF, lA, mB, kK, mM, m6, m3, l0, gT, lP, l$, fQ, lJ, lI, lS, m0, kZ, m5, lR, l_, lQ, lZ, m1, lM, lO, m4, mp, m2, lT, kY, lK, lL, lW, lX, lU, lV, lN, m8, kr, ks, nt, fd, fe, nu, m7, gd, nA, l6, ku, kv, fY, fM, fj, mN, kg, lg, mg, l2, l3, mi, kw, lh, kH, li, lj, lk, ll, lm, ln, my, lo, mC, lp, lF, nB, l4, kl, mP, mO, km, kL, ms, mR, lH, k6, kb, lE, ma, mT, mS, ge, mU, mV, kn, mW, lq, mX, f6, mY, mZ, m_, m$, n0, mA, n2, n3, gf, lD, n4, hf, n7, nd, n5, k$, n6, lr, nv, n9, n8, na, nb, gL, fn, nf, nc, nw, ne, nx, ng, nh, ni, nC } from "./chunks/use-job-queue-polling-
|
|
1
|
+
import { c as createLucideIcon, g as getComputedStyle$1, i as isHTMLElement, r as round, a as createLucideIcon$1, b as isFieldDisabled, C as Checkbox, u as useBaseUiId, d as useIsoLayoutEffect, f as formatErrorMessage, e as useRenderElement, N as NOOP, h as useTransitionStatus, j as useStableCallback, k as useOpenChangeComplete, t as transitionStatusMapping, l as useTimeout, m as createSelector, n as compareItemEquality, o as hasNullItemLabel, s as stringifyAsLabel, p as defaultItemEquality, q as useFormContext, v as useFieldRootContext, w as useLabelableId, x as useControlled, E as EMPTY_ARRAY, y as useRefWithInit, z as isGroupedItems, S as Store, A as EMPTY_OBJECT, B as stringifyAsValue, D as useStore, F as useValueAsRef, G as useOpenInteractionType, H as useField, I as createGenericEventDetails, J as inputClear, K as inputChange, L as createChangeEventDetails, M as focusOut, O as outsidePress, P as getTarget, Q as itemPress, R as selectedValueIncludes, T as removeItem, U as none, V as findItemIndex, W as useValueChanged, X as useFloatingRootContext, Y as useClick, Z as inputPress, _ as useDismiss, $ as contains, a0 as useListNavigation, a1 as useInteractions, a2 as useOnFirstRender, a3 as useMergedRefs, a4 as visuallyHiddenInput, a5 as visuallyHidden, a6 as resolveMultipleLabels, a7 as resolveSelectedLabel, a8 as fieldValidityMapping, a9 as pressableTriggerOpenStateMapping, aa as useButton, ab as closePress, ac as useLabelableContext, ad as useDirection, ae as DEFAULT_FIELD_STATE_ATTRIBUTES, af as resolveAriaLabelledBy, ag as stopEvent, ah as isFirefox, ai as escapeKey, aj as isAndroid, ak as useTypeahead, al as listNavigation, am as ownerDocument, an as getPseudoElementBounds, ao as CompositeList, ap as FloatingPortal, aq as DROPDOWN_COLLISION_AVOIDANCE, ar as useAnchorPositioning, as as useScrollLock, at as InternalBackdrop, au as inertValue, av as getDisabledMountTransitionStyles, aw as popupStateMapping, ax as FloatingFocusManager, ay as useCompositeListItem, az as IndexGuessBehavior, aA as chipRemovePress, aB as triggerOpenStateMapping, aC as clearPress, aD as useId, aE as ContextMenuRootContext, aF as MenuRootContext, aG as MenuRoot, aH as useContextMenuRootContext, aI as useMenuRootContext, aJ as findRootOwnerId, aK as cancelOpen, aL as triggerPress, aM as MenubarContext, aN as FloatingTree, aO as CompositeRoot, aP as useFloatingNodeId, aQ as useFloatingTree, aR as useMenubarContext, aS as FloatingNode, aT as useFloatingParentNodeId, aU as linkPress, aV as activeElement, aW as triggerHover, aX as getEmptyRootContext, aY as useHoverFloatingInteraction, aZ as getNodeChildren, a_ as useAnimationFrame, a$ as useAnimationsFinished, b0 as getWindow, b1 as TransitionStatusDataAttributes, b2 as useHoverInteractionSharedState, b3 as clearSafePolygonPointerEventsMutation, b4 as useHoverReferenceInteraction, b5 as safePolygon, b6 as isWebKit, b7 as CompositeItem, b8 as FocusGuard, b9 as isOutsideEvent, ba as getPreviousTabbable, bb as ownerVisuallyHidden, bc as isTabbable, bd as getNextTabbable, be as getTabbableAfterElement, bf as applySafePolygonPointerEventsMutation, bg as PATIENT_CLICK_THRESHOLD, bh as POPUP_COLLISION_AVOIDANCE, bi as adaptiveOrigin, bj as enableFocusInside, bk as disableFocusInside, bl as clamp, bm as warn, bn as getDefaultLabelId, bo as keyboard, bp as isElement, bq as drag, br as trackPress, bs as useCSPContext, bt as useOnMount, bu as mergeProps, bv as COMPOSITE_KEYS, bw as HOME, bx as END, by as ARROW_LEFT, bz as ARROW_DOWN, bA as ARROW_RIGHT, bB as ARROW_UP, bC as useServerConfig, bD as useUserSettings, bE as useSortedLanguages, bF as Select, bG as SelectTrigger, bH as cn, bI as SelectValue, bJ as SelectContent, bK as SelectItem, bL as useSidebar, bM as SidebarGroup, bN as SidebarGroupLabel, bO as SidebarMenu, bP as SidebarMenuItem, bQ as SidebarMenuButton, bR as DropdownMenu, bS as DropdownMenuTrigger, bT as Ellipsis, bU as SidebarMenuAction, bV as DropdownMenuContent, bW as DropdownMenuItem, bX as Folder, bY as DropdownMenuSeparator, bZ as Trash2, b_ as BRAND, b$ as DIRTY, c0 as EMPTY_PATH, c1 as INVALID, c2 as NEVER, c3 as OK, c4 as ParseStatus, c5 as ZodType, c6 as ZodAny, c7 as ZodArray, c8 as ZodBigInt, c9 as ZodBoolean, ca as ZodBranded, cb as ZodCatch, cc as ZodDate, cd as ZodDefault, ce as ZodDiscriminatedUnion, cf as ZodEffects, cg as ZodEnum, ch as ZodError, ci as ZodFirstPartyTypeKind, cj as ZodFunction, ck as ZodIntersection, cl as ZodIssueCode, cm as ZodLazy, cn as ZodLiteral, co as ZodMap, cp as ZodNaN, cq as ZodNativeEnum, cr as ZodNever, cs as ZodNull, ct as ZodNullable, cu as ZodNumber, cv as ZodObject, cw as ZodOptional, cx as ZodParsedType, cy as ZodPipeline, cz as ZodPromise, cA as ZodReadonly, cB as ZodRecord, cC as ZodSet, cD as ZodString, cE as ZodSymbol, cF as ZodTuple, cG as ZodUndefined, cH as ZodUnion, cI as ZodUnknown, cJ as ZodVoid, cK as addIssueToContext, cL as anyType, cM as arrayType, cN as bigIntType, cO as booleanType, cP as coerce, cQ as custom, cR as dateType, cS as datetimeRegex, cT as errorMap, cU as discriminatedUnionType, cV as effectsType, cW as enumType, cX as functionType, cY as getErrorMap, cZ as getParsedType, c_ as instanceOfType, c$ as intersectionType, d0 as isAborted, d1 as isAsync, d2 as isDirty, d3 as isValid, d4 as late, d5 as lazyType, d6 as literalType, d7 as makeIssue, d8 as mapType, d9 as nanType, da as nativeEnumType, db as neverType, dc as nullType, dd as nullableType, de as numberType, df as objectType, dg as objectUtil, dh as oboolean, di as onumber, dj as optionalType, dk as ostring, dl as pipelineType, dm as preprocessType, dn as promiseType, dp as quotelessJson, dq as recordType, dr as setType, ds as setErrorMap, dt as strictObjectType, du as stringType, dv as symbolType, dw as tupleType, dx as undefinedType, dy as unionType, dz as unknownType, dA as util, dB as voidType, dC as MotionConfigContext, dD as isHTMLElement$1, dE as useConstant, dF as PresenceContext, dG as usePresence, dH as useIsomorphicLayoutEffect$1, dI as LayoutGroupContext, dJ as frame, dK as animateVisualElement, dL as setTarget, dM as invariant, dN as resolveElements, dO as Input, dP as Button, dQ as Plus, dR as Badge, dS as X, dT as cn$1, dU as cva, dV as Separator, dW as useRender, dX as Button$1, dY as ChevronLeft, dZ as ChevronRight, d_ as throttle, d$ as warn$1, e0 as isPercent, e1 as getDisplayName, e2 as clsx, e3 as Tooltip, e4 as Legend, e5 as X$1, e6 as InputGroup, e7 as InputGroupInput, e8 as InputGroupAddon, e9 as InputGroupButton, ea as Check, eb as Separator$1, ec as ChevronDown, ed as MenuCheckboxItem, ee as MenuCheckboxItemIndicator, ef as MenuPortal, eg as MenuPositioner, eh as MenuPopup, ei as MenuGroup, ej as MenuItem, ek as MenuGroupLabel, el as MenuRadioGroup, em as MenuRadioItem, en as MenuRadioItemIndicator, eo as MenuSubmenuRoot, ep as MenuSubmenuTrigger, eq as Close, er as Description, es as Title, et as Trigger, eu as Root$1, ev as Content$1, ew as Overlay$1, ex as Portal$1, ey as DropdownMenuContent$1, ez as DropdownMenuGroup, eA as DropdownMenuLabel, eB as DropdownMenuPortal, eC as DropdownMenuRadioGroup, eD as DropdownMenuShortcut, eE as DropdownMenuSub, eF as DropdownMenuSubContent, eG as DropdownMenuSubTrigger, eH as NEW_ENTITY_PATH, eI as getEntityName, eJ as useDetailPage, eK as getOperationVariablesFields, eL as Page, eM as PageTitle, eN as PageActionBar, eO as PageActionBarRight, eP as PageLayout, eQ as PageBlock, eR as DetailFormGrid, eS as FormFieldWrapper, eT as TranslatableFormFieldWrapper, eU as CustomFieldsPageBlock, eV as DefaultInputForType } from "./chunks/use-job-queue-polling-Ca4Fruhs.js";
|
|
2
|
+
import { nj, hP, hQ, hR, hS, md, me, fz, fx, f0, i3, i6, i4, hU, hV, hW, hX, hY, hZ, h_, h$, i0, i1, hT, i2, kj, i5, gw, kk, gy, gx, gk, gl, gA, gB, gD, gE, gH, gF, gG, gI, gJ, gK, gM, gN, fV, eX, eW, f1, i8, i9, ia, ib, ic, id, ie, nk, ih, ii, ij, ik, il, im, io, ip, iq, gO, gP, gQ, gm, ir, it, is, fy, f2, iu, iv, iw, ix, iy, iz, iA, iB, iC, gR, gS, f3, gU, gV, gW, gX, gY, hM, nl, gZ, f4, g_, lu, l5, g$, hD, h0, f5, h1, h2, fX, nm, kq, fU, fW, fA, fB, fC, fD, f_, fG, fI, fH, fJ, g0, g2, fK, fE, g4, fT, gi, eY, f7, f8, h3, mf, gn, gu, iE, iF, iG, iH, iI, iJ, iK, iL, iD, iM, iN, ko, iO, iP, h4, h5, h6, fF, f9, h7, iQ, iR, iS, iT, iU, iV, iW, iX, iY, iZ, i_, lv, mo, go, g5, g6, i$, mc, h8, h9, ha, hb, hc, he, hd, j0, j1, j2, g7, f$, hg, ht, j3, j4, e_, eZ, nn, no, np, nq, nr, j5, gj, gp, hh, hu, mw, mk, hq, gv, hi, g8, gq, hp, kt, e$, fa, fi, hj, g9, g1, gr, gs, gt, hk, fb, hF, hE, lC, mn, ml, mm, mq, hl, hn, hm, j6, j7, j8, j9, ja, jb, jc, fc, jd, ho, hK, je, jf, jg, jh, ji, jj, fg, ff, hr, jk, jl, ga, fo, fm, hs, hN, hv, hG, hw, fq, hz, hA, g3, ns, gb, gc, jm, jn, jo, jp, jq, jr, js, fr, hB, jt, ju, jv, jw, jx, jy, jz, jA, jB, jC, jD, jE, jF, jG, jH, jI, jJ, jK, jL, jM, jN, jO, jP, jQ, jR, fh, jS, fs, jU, hC, ft, fu, jV, jW, jX, jY, jZ, hx, hy, j_, j$, k0, k1, k2, k3, k4, k5, hH, fv, k7, fw, hL, jT, ka, k8, k9, kc, kd, ke, kf, hI, gg, hJ, gh, kp, kz, kA, hO, kC, lf, kP, kO, lt, lb, le, kE, mt, mu, kG, mE, gz, ly, mH, i7, fZ, ig, fR, fS, ny, kM, fl, mJ, mK, mI, lG, gC, lw, fp, fk, l8, mv, mF, mL, l7, kI, kJ, mx, lY, nz, la, ld, ki, kh, kB, fL, kN, mb, mh, l1, mj, ky, kx, lz, lx, ls, mz, l9, mG, k_, n1, kR, lB, lc, fO, fP, kD, kQ, kV, mr, kU, kW, kS, kT, mQ, fN, mD, kX, m9, kF, lA, mB, kK, mM, m6, m3, l0, gT, lP, l$, fQ, lJ, lI, lS, m0, kZ, m5, lR, l_, lQ, lZ, m1, lM, lO, m4, mp, m2, lT, kY, lK, lL, lW, lX, lU, lV, lN, m8, kr, ks, nt, fd, fe, nu, m7, gd, nA, l6, ku, kv, fY, fM, fj, mN, kg, lg, mg, l2, l3, mi, kw, lh, kH, li, lj, lk, ll, lm, ln, my, lo, mC, lp, lF, nB, l4, kl, mP, mO, km, kL, ms, mR, lH, k6, kb, lE, ma, mT, mS, ge, mU, mV, kn, mW, lq, mX, f6, mY, mZ, m_, m$, n0, mA, n2, n3, gf, lD, n4, hf, n7, nd, n5, k$, n6, lr, nv, n9, n8, na, nb, gL, fn, nf, nc, nw, ne, nx, ng, nh, ni, nC } from "./chunks/use-job-queue-polling-Ca4Fruhs.js";
|
|
3
3
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
import React__default, { useId as useId$1, useRef, useContext, useInsertionEffect, useMemo, Children, isValidElement, useState, createContext, useCallback, useEffect, forwardRef, useImperativeHandle, cloneElement, useLayoutEffect, useSyncExternalStore } from "react";
|
package/dist/bundle/main.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "./chunks/use-job-queue-polling-
|
|
2
|
+
import "./chunks/use-job-queue-polling-Ca4Fruhs.js";
|
|
3
3
|
import "sonner";
|
|
4
|
-
import "./chunks/main-
|
|
4
|
+
import "./chunks/main-V1n9Dflr.js";
|
|
5
5
|
import "@tanstack/react-router";
|
|
6
6
|
import "react";
|
|
7
7
|
import "react-dom";
|
|
@@ -14,7 +14,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
14
14
|
var _a, _b;
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.devConfig = void 0;
|
|
17
|
-
const admin_ui_plugin_1 = require("@vendure/admin-ui-plugin");
|
|
18
17
|
const asset_server_plugin_1 = require("@vendure/asset-server-plugin");
|
|
19
18
|
const shared_constants_1 = require("@vendure/common/lib/shared-constants");
|
|
20
19
|
const core_1 = require("@vendure/core");
|
|
@@ -28,6 +27,7 @@ const nav_modifier_plugin_1 = require("./test-plugins/nav-modifier-plugin/nav-mo
|
|
|
28
27
|
// import { FieldTestPlugin } from './test-plugins/field-test/field-test-plugin';
|
|
29
28
|
const reviews_plugin_1 = require("./test-plugins/reviews/reviews-plugin");
|
|
30
29
|
const IS_INSTRUMENTED = process.env.IS_INSTRUMENTED === 'true';
|
|
30
|
+
const dashboardUrl = process.env.VENDURE_DASHBOARD_URL || 'http://localhost:3000/dashboard';
|
|
31
31
|
const dashboardAppDir = path_1.default.basename(__dirname) === 'dist'
|
|
32
32
|
? path_1.default.join(__dirname, './dashboard')
|
|
33
33
|
: path_1.default.join(__dirname, './dist/dashboard');
|
|
@@ -67,7 +67,8 @@ ReadonlySettingsTestPlugin = __decorate([
|
|
|
67
67
|
*/
|
|
68
68
|
exports.devConfig = {
|
|
69
69
|
apiOptions: {
|
|
70
|
-
port: Number(process.env.API_PORT) || shared_constants_1.API_PORT,
|
|
70
|
+
port: Number(process.env.PORT) || Number(process.env.API_PORT) || shared_constants_1.API_PORT,
|
|
71
|
+
trustProxy: process.env.VENDURE_TRUST_PROXY === 'true',
|
|
71
72
|
adminApiPath: shared_constants_1.ADMIN_API_PATH,
|
|
72
73
|
adminApiPlayground: {
|
|
73
74
|
settings: {
|
|
@@ -144,60 +145,12 @@ exports.devConfig = {
|
|
|
144
145
|
templateLoader: new email_plugin_1.FileBasedTemplateLoader(path_1.default.join(__dirname, '../email-plugin/templates')),
|
|
145
146
|
outputPath: path_1.default.join(__dirname, 'test-emails'),
|
|
146
147
|
globalTemplateVars: {
|
|
147
|
-
verifyEmailAddressUrl:
|
|
148
|
-
passwordResetUrl:
|
|
149
|
-
changeEmailAddressUrl:
|
|
148
|
+
verifyEmailAddressUrl: `${dashboardUrl}/verify`,
|
|
149
|
+
passwordResetUrl: `${dashboardUrl}/reset-password`,
|
|
150
|
+
changeEmailAddressUrl: `${dashboardUrl}/change-email-address`,
|
|
150
151
|
},
|
|
151
152
|
}),
|
|
152
153
|
...(IS_INSTRUMENTED ? [telemetry_plugin_1.TelemetryPlugin.init({})] : []),
|
|
153
|
-
// AdminUiPlugin.init({
|
|
154
|
-
// route: 'admin',
|
|
155
|
-
// port: 5001,
|
|
156
|
-
// adminUiConfig: {},
|
|
157
|
-
// // Un-comment to compile a custom admin ui
|
|
158
|
-
// // app: compileUiExtensions({
|
|
159
|
-
// // outputPath: path.join(__dirname, './custom-admin-ui'),
|
|
160
|
-
// // extensions: [
|
|
161
|
-
// // {
|
|
162
|
-
// // id: 'ui-extensions-library',
|
|
163
|
-
// // extensionPath: path.join(__dirname, 'example-plugins/ui-extensions-library/ui'),
|
|
164
|
-
// // routes: [{ route: 'ui-library', filePath: 'routes.ts' }],
|
|
165
|
-
// // providers: ['providers.ts'],
|
|
166
|
-
// // },
|
|
167
|
-
// // {
|
|
168
|
-
// // globalStyles: path.join(
|
|
169
|
-
// // __dirname,
|
|
170
|
-
// // 'test-plugins/with-ui-extension/ui/custom-theme.scss',
|
|
171
|
-
// // ),
|
|
172
|
-
// // },
|
|
173
|
-
// // ],
|
|
174
|
-
// // devMode: true,
|
|
175
|
-
// // }),
|
|
176
|
-
// }),
|
|
177
|
-
admin_ui_plugin_1.AdminUiPlugin.init({
|
|
178
|
-
route: 'admin',
|
|
179
|
-
port: 5001,
|
|
180
|
-
adminUiConfig: {},
|
|
181
|
-
// Un-comment to compile a custom admin ui
|
|
182
|
-
// app: compileUiExtensions({
|
|
183
|
-
// outputPath: path.join(__dirname, './custom-admin-ui'),
|
|
184
|
-
// extensions: [
|
|
185
|
-
// {
|
|
186
|
-
// id: 'ui-extensions-library',
|
|
187
|
-
// extensionPath: path.join(__dirname, 'example-plugins/ui-extensions-library/ui'),
|
|
188
|
-
// routes: [{ route: 'ui-library', filePath: 'routes.ts' }],
|
|
189
|
-
// providers: ['providers.ts'],
|
|
190
|
-
// },
|
|
191
|
-
// {
|
|
192
|
-
// globalStyles: path.join(
|
|
193
|
-
// __dirname,
|
|
194
|
-
// 'test-plugins/with-ui-extension/ui/custom-theme.scss',
|
|
195
|
-
// ),
|
|
196
|
-
// },
|
|
197
|
-
// ],
|
|
198
|
-
// devMode: true,
|
|
199
|
-
// }),
|
|
200
|
-
}),
|
|
201
154
|
plugin_1.DashboardPlugin.init({
|
|
202
155
|
route: 'dashboard',
|
|
203
156
|
appDir: dashboardAppDir,
|
|
@@ -14,7 +14,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
14
14
|
var _a, _b;
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.devConfig = void 0;
|
|
17
|
-
const admin_ui_plugin_1 = require("@vendure/admin-ui-plugin");
|
|
18
17
|
const asset_server_plugin_1 = require("@vendure/asset-server-plugin");
|
|
19
18
|
const shared_constants_1 = require("@vendure/common/lib/shared-constants");
|
|
20
19
|
const core_1 = require("@vendure/core");
|
|
@@ -28,6 +27,7 @@ const nav_modifier_plugin_1 = require("./test-plugins/nav-modifier-plugin/nav-mo
|
|
|
28
27
|
// import { FieldTestPlugin } from './test-plugins/field-test/field-test-plugin';
|
|
29
28
|
const reviews_plugin_1 = require("./test-plugins/reviews/reviews-plugin");
|
|
30
29
|
const IS_INSTRUMENTED = process.env.IS_INSTRUMENTED === 'true';
|
|
30
|
+
const dashboardUrl = process.env.VENDURE_DASHBOARD_URL || 'http://localhost:3000/dashboard';
|
|
31
31
|
const dashboardAppDir = path_1.default.basename(__dirname) === 'dist'
|
|
32
32
|
? path_1.default.join(__dirname, './dashboard')
|
|
33
33
|
: path_1.default.join(__dirname, './dist/dashboard');
|
|
@@ -67,7 +67,8 @@ ReadonlySettingsTestPlugin = __decorate([
|
|
|
67
67
|
*/
|
|
68
68
|
exports.devConfig = {
|
|
69
69
|
apiOptions: {
|
|
70
|
-
port: Number(process.env.API_PORT) || shared_constants_1.API_PORT,
|
|
70
|
+
port: Number(process.env.PORT) || Number(process.env.API_PORT) || shared_constants_1.API_PORT,
|
|
71
|
+
trustProxy: process.env.VENDURE_TRUST_PROXY === 'true',
|
|
71
72
|
adminApiPath: shared_constants_1.ADMIN_API_PATH,
|
|
72
73
|
adminApiPlayground: {
|
|
73
74
|
settings: {
|
|
@@ -144,60 +145,12 @@ exports.devConfig = {
|
|
|
144
145
|
templateLoader: new email_plugin_1.FileBasedTemplateLoader(path_1.default.join(__dirname, '../email-plugin/templates')),
|
|
145
146
|
outputPath: path_1.default.join(__dirname, 'test-emails'),
|
|
146
147
|
globalTemplateVars: {
|
|
147
|
-
verifyEmailAddressUrl:
|
|
148
|
-
passwordResetUrl:
|
|
149
|
-
changeEmailAddressUrl:
|
|
148
|
+
verifyEmailAddressUrl: `${dashboardUrl}/verify`,
|
|
149
|
+
passwordResetUrl: `${dashboardUrl}/reset-password`,
|
|
150
|
+
changeEmailAddressUrl: `${dashboardUrl}/change-email-address`,
|
|
150
151
|
},
|
|
151
152
|
}),
|
|
152
153
|
...(IS_INSTRUMENTED ? [telemetry_plugin_1.TelemetryPlugin.init({})] : []),
|
|
153
|
-
// AdminUiPlugin.init({
|
|
154
|
-
// route: 'admin',
|
|
155
|
-
// port: 5001,
|
|
156
|
-
// adminUiConfig: {},
|
|
157
|
-
// // Un-comment to compile a custom admin ui
|
|
158
|
-
// // app: compileUiExtensions({
|
|
159
|
-
// // outputPath: path.join(__dirname, './custom-admin-ui'),
|
|
160
|
-
// // extensions: [
|
|
161
|
-
// // {
|
|
162
|
-
// // id: 'ui-extensions-library',
|
|
163
|
-
// // extensionPath: path.join(__dirname, 'example-plugins/ui-extensions-library/ui'),
|
|
164
|
-
// // routes: [{ route: 'ui-library', filePath: 'routes.ts' }],
|
|
165
|
-
// // providers: ['providers.ts'],
|
|
166
|
-
// // },
|
|
167
|
-
// // {
|
|
168
|
-
// // globalStyles: path.join(
|
|
169
|
-
// // __dirname,
|
|
170
|
-
// // 'test-plugins/with-ui-extension/ui/custom-theme.scss',
|
|
171
|
-
// // ),
|
|
172
|
-
// // },
|
|
173
|
-
// // ],
|
|
174
|
-
// // devMode: true,
|
|
175
|
-
// // }),
|
|
176
|
-
// }),
|
|
177
|
-
admin_ui_plugin_1.AdminUiPlugin.init({
|
|
178
|
-
route: 'admin',
|
|
179
|
-
port: 5001,
|
|
180
|
-
adminUiConfig: {},
|
|
181
|
-
// Un-comment to compile a custom admin ui
|
|
182
|
-
// app: compileUiExtensions({
|
|
183
|
-
// outputPath: path.join(__dirname, './custom-admin-ui'),
|
|
184
|
-
// extensions: [
|
|
185
|
-
// {
|
|
186
|
-
// id: 'ui-extensions-library',
|
|
187
|
-
// extensionPath: path.join(__dirname, 'example-plugins/ui-extensions-library/ui'),
|
|
188
|
-
// routes: [{ route: 'ui-library', filePath: 'routes.ts' }],
|
|
189
|
-
// providers: ['providers.ts'],
|
|
190
|
-
// },
|
|
191
|
-
// {
|
|
192
|
-
// globalStyles: path.join(
|
|
193
|
-
// __dirname,
|
|
194
|
-
// 'test-plugins/with-ui-extension/ui/custom-theme.scss',
|
|
195
|
-
// ),
|
|
196
|
-
// },
|
|
197
|
-
// ],
|
|
198
|
-
// devMode: true,
|
|
199
|
-
// }),
|
|
200
|
-
}),
|
|
201
154
|
plugin_1.DashboardPlugin.init({
|
|
202
155
|
route: 'dashboard',
|
|
203
156
|
appDir: dashboardAppDir,
|
|
@@ -119,9 +119,6 @@ type Query {
|
|
|
119
119
|
productReviews(options: ProductReviewListOptions): ProductReviewList!
|
|
120
120
|
productReview(id: ID!): ProductReview
|
|
121
121
|
|
|
122
|
-
"""Get metrics for the given interval and metric types."""
|
|
123
|
-
metricSummary(input: MetricSummaryInput): [MetricSummary!]!
|
|
124
|
-
|
|
125
122
|
"""Get metrics for the given date range and metric types."""
|
|
126
123
|
dashboardMetricSummary(input: DashboardMetricSummaryInput): [DashboardMetricSummary!]!
|
|
127
124
|
}
|
|
@@ -6160,34 +6157,6 @@ input UpdateProductReviewInput {
|
|
|
6160
6157
|
translations: [ProductReviewTranslationInput!]!
|
|
6161
6158
|
}
|
|
6162
6159
|
|
|
6163
|
-
type MetricSummary {
|
|
6164
|
-
interval: MetricInterval!
|
|
6165
|
-
type: MetricType!
|
|
6166
|
-
title: String!
|
|
6167
|
-
entries: [MetricSummaryEntry!]!
|
|
6168
|
-
}
|
|
6169
|
-
|
|
6170
|
-
enum MetricInterval {
|
|
6171
|
-
Daily
|
|
6172
|
-
}
|
|
6173
|
-
|
|
6174
|
-
enum MetricType {
|
|
6175
|
-
OrderCount
|
|
6176
|
-
OrderTotal
|
|
6177
|
-
AverageOrderValue
|
|
6178
|
-
}
|
|
6179
|
-
|
|
6180
|
-
type MetricSummaryEntry {
|
|
6181
|
-
label: String!
|
|
6182
|
-
value: Float!
|
|
6183
|
-
}
|
|
6184
|
-
|
|
6185
|
-
input MetricSummaryInput {
|
|
6186
|
-
interval: MetricInterval!
|
|
6187
|
-
types: [MetricType!]!
|
|
6188
|
-
refresh: Boolean
|
|
6189
|
-
}
|
|
6190
|
-
|
|
6191
6160
|
type DashboardMetricSummary {
|
|
6192
6161
|
type: DashboardMetricType!
|
|
6193
6162
|
title: String!
|
|
@@ -119,9 +119,6 @@ type Query {
|
|
|
119
119
|
productReviews(options: ProductReviewListOptions): ProductReviewList!
|
|
120
120
|
productReview(id: ID!): ProductReview
|
|
121
121
|
|
|
122
|
-
"""Get metrics for the given interval and metric types."""
|
|
123
|
-
metricSummary(input: MetricSummaryInput): [MetricSummary!]!
|
|
124
|
-
|
|
125
122
|
"""Get metrics for the given date range and metric types."""
|
|
126
123
|
dashboardMetricSummary(input: DashboardMetricSummaryInput): [DashboardMetricSummary!]!
|
|
127
124
|
}
|
|
@@ -6160,34 +6157,6 @@ input UpdateProductReviewInput {
|
|
|
6160
6157
|
translations: [ProductReviewTranslationInput!]!
|
|
6161
6158
|
}
|
|
6162
6159
|
|
|
6163
|
-
type MetricSummary {
|
|
6164
|
-
interval: MetricInterval!
|
|
6165
|
-
type: MetricType!
|
|
6166
|
-
title: String!
|
|
6167
|
-
entries: [MetricSummaryEntry!]!
|
|
6168
|
-
}
|
|
6169
|
-
|
|
6170
|
-
enum MetricInterval {
|
|
6171
|
-
Daily
|
|
6172
|
-
}
|
|
6173
|
-
|
|
6174
|
-
enum MetricType {
|
|
6175
|
-
OrderCount
|
|
6176
|
-
OrderTotal
|
|
6177
|
-
AverageOrderValue
|
|
6178
|
-
}
|
|
6179
|
-
|
|
6180
|
-
type MetricSummaryEntry {
|
|
6181
|
-
label: String!
|
|
6182
|
-
value: Float!
|
|
6183
|
-
}
|
|
6184
|
-
|
|
6185
|
-
input MetricSummaryInput {
|
|
6186
|
-
interval: MetricInterval!
|
|
6187
|
-
types: [MetricType!]!
|
|
6188
|
-
refresh: Boolean
|
|
6189
|
-
}
|
|
6190
|
-
|
|
6191
6160
|
type DashboardMetricSummary {
|
|
6192
6161
|
type: DashboardMetricType!
|
|
6193
6162
|
title: String!
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vendure/dashboard",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "3.7.2-master-
|
|
4
|
+
"version": "3.7.2-master-202607170305",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -139,8 +139,8 @@
|
|
|
139
139
|
"@storybook/addon-vitest": "^10.3.1",
|
|
140
140
|
"@storybook/react-vite": "^10.3.1",
|
|
141
141
|
"@types/node": "^22.19.0",
|
|
142
|
-
"@vendure/common": "^3.7.2-master-
|
|
143
|
-
"@vendure/core": "^3.7.2-master-
|
|
142
|
+
"@vendure/common": "^3.7.2-master-202607170305",
|
|
143
|
+
"@vendure/core": "^3.7.2-master-202607170305",
|
|
144
144
|
"@vitest/browser": "^3.2.4",
|
|
145
145
|
"@vitest/coverage-v8": "^3.2.4",
|
|
146
146
|
"eslint": "^9.39.0",
|
|
@@ -3,6 +3,7 @@ import { FormFieldWrapper } from '@/vdb/components/shared/form-field-wrapper.js'
|
|
|
3
3
|
import { RoleSelector } from '@/vdb/components/shared/role-selector.js';
|
|
4
4
|
import { Button } from '@/vdb/components/ui/button.js';
|
|
5
5
|
import { Input } from '@/vdb/components/ui/input.js';
|
|
6
|
+
import { PasswordInput } from '@/vdb/components/ui/password-input.js';
|
|
6
7
|
import { NEW_ENTITY_PATH } from '@/vdb/constants.js';
|
|
7
8
|
import { CustomFieldsPageBlock,
|
|
8
9
|
Page,
|
|
@@ -131,7 +132,7 @@ function AdministratorDetailPage() {
|
|
|
131
132
|
control={form.control}
|
|
132
133
|
name="password"
|
|
133
134
|
label={<Trans>Password</Trans>}
|
|
134
|
-
render={({ field }) => <
|
|
135
|
+
render={({ field }) => <PasswordInput {...field} />}
|
|
135
136
|
/>
|
|
136
137
|
</div>
|
|
137
138
|
</PageBlock>
|
|
@@ -3,6 +3,7 @@ import { FormFieldWrapper } from '@/vdb/components/shared/form-field-wrapper.js'
|
|
|
3
3
|
import { Badge } from '@/vdb/components/ui/badge.js';
|
|
4
4
|
import { Button } from '@/vdb/components/ui/button.js';
|
|
5
5
|
import { Input } from '@/vdb/components/ui/input.js';
|
|
6
|
+
import { PasswordInput } from '@/vdb/components/ui/password-input.js';
|
|
6
7
|
import { extendDetailFormQuery } from '@/vdb/framework/document-extension/extend-detail-form-query.js';
|
|
7
8
|
import { addCustomFields } from '@/vdb/framework/document-introspection/add-custom-fields.js';
|
|
8
9
|
import { CustomFieldsPageBlock,
|
|
@@ -118,7 +119,7 @@ function ProfilePage() {
|
|
|
118
119
|
control={form.control}
|
|
119
120
|
name="password"
|
|
120
121
|
label={<Trans>Password</Trans>}
|
|
121
|
-
render={({ field }) => <
|
|
122
|
+
render={({ field }) => <PasswordInput {...field} />}
|
|
122
123
|
/>
|
|
123
124
|
</DetailFormGrid>
|
|
124
125
|
</PageBlock>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DashboardFormComponentProps } from '@/vdb/framework/form-engine/form-engine-types.js';
|
|
2
2
|
import { isReadonlyField } from '@/vdb/framework/form-engine/utils.js';
|
|
3
|
-
import {
|
|
3
|
+
import { PasswordInput } from '../ui/password-input.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* @description
|
|
@@ -12,8 +12,7 @@ import { Input } from '../ui/input.js';
|
|
|
12
12
|
export function PasswordFormInput(props: Readonly<DashboardFormComponentProps>) {
|
|
13
13
|
const readOnly = props.disabled || isReadonlyField(props.fieldDef);
|
|
14
14
|
return (
|
|
15
|
-
<
|
|
16
|
-
type="password"
|
|
15
|
+
<PasswordInput
|
|
17
16
|
ref={props.ref}
|
|
18
17
|
value={props.value}
|
|
19
18
|
onChange={e => props.onChange(e.target.value)}
|
|
@@ -419,7 +419,14 @@ export function AssetGallery({
|
|
|
419
419
|
|
|
420
420
|
{/* Bulk actions bar */}
|
|
421
421
|
{displayBulkActions ? (
|
|
422
|
-
<AssetBulkActions
|
|
422
|
+
<AssetBulkActions
|
|
423
|
+
selection={selected}
|
|
424
|
+
bulkActions={bulkActions}
|
|
425
|
+
refetch={() => {
|
|
426
|
+
setSelected([]);
|
|
427
|
+
refetch();
|
|
428
|
+
}}
|
|
429
|
+
/>
|
|
423
430
|
) : null}
|
|
424
431
|
|
|
425
432
|
<div
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|