@webx-ui/module-admin 0.20.0 → 0.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,7 +7,9 @@
7
7
  * panel running — each as a branch that opens on its own when a section under it is current.
8
8
  *
9
9
  * A group names its own icon; the gear is what it falls back to, because that is the picture
10
- * every group had before groups could carry one.
10
+ * every group had before groups could carry one. Inside a group, the entries under no caption
11
+ * come first and each caption follows with its own — a caption adds no depth, and on the narrow
12
+ * rail it is a rule.
11
13
  */
12
14
  type __VLS_Props = {
13
15
  collapsed?: boolean;
@@ -0,0 +1,11 @@
1
+ import { SelectOption } from '@webx-ui/core';
2
+ type __VLS_Props = {
3
+ /** The API a module's list answers at, under the panel's: `catalog/stock`. */
4
+ source?: string;
5
+ options?: SelectOption[];
6
+ };
7
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
8
+ source: string;
9
+ options: SelectOption[];
10
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
11
+ export default _default;
@@ -1,5 +1,5 @@
1
1
  export { createCategoriesApi, reorderItems, type CategoriesApi } from './api';
2
- export { useCategoryEditor, type CategoryEditorContext } from './editor';
2
+ export { categoryEditorKey, provideCategoryEditor, useCategoryEditor, type CategoryEditorContext, } from './editor';
3
3
  export { itemOrderMode, useItemOrder, type ItemOrder, type ItemOrderMode, type ItemOrderState, } from './ordering';
4
4
  export { categoryRoutes } from './routes';
5
5
  export { useCategoryWords } from './words';
package/dist/index.d.ts CHANGED
@@ -13,7 +13,7 @@ export { createLinksApi, emptyLink, type LinkCandidate, type LinkRel, type LinkS
13
13
  export { createHttp, readCookie, HttpError, type Http, type HttpOptions, type RequestOptions, type SendOptions, } from './http';
14
14
  export { forgetUnfinishedUpload, MIN_CHUNK, unfinishedUploads, uploadFingerprint, useChunkedUpload, type ChunkedUpload, type ChunkedUploadOptions, type ChunkedUploadState, type UnfinishedUpload, } from './uploads';
15
15
  export { adminTypes } from './screenTypes';
16
- export { categoryRoutes, createCategoriesApi, itemOrderMode, reorderItems, useCategoryEditor, useCategoryWords, useItemOrder, type CategoriesApi, type CategoriesOptions, type CategoriesPayload, type CategoryDetail, type CategoryEditorContext, type CategoryRow, type CategoryWord, type ItemOrder, type ItemOrderMode, type ItemOrderState, } from './categories';
16
+ export { categoryRoutes, categoryEditorKey, createCategoriesApi, itemOrderMode, provideCategoryEditor, reorderItems, useCategoryEditor, useCategoryWords, useItemOrder, type CategoriesApi, type CategoriesOptions, type CategoriesPayload, type CategoryDetail, type CategoryEditorContext, type CategoryRow, type CategoryWord, type ItemOrder, type ItemOrderMode, type ItemOrderState, } from './categories';
17
17
  export { COLLECTION_MAX_LIMIT, collectionSources, defaultMarkup, normaliseCollection, type CollectionRelated, type CollectionRelationTarget, type CollectionSourceInfo, type CollectionValue, } from './collections/api';
18
18
  export { createRelationsApi, normaliseRelations, provideRelationOwner, relationOwnerKey, useRelationOwner, type RelationCandidate, type RelationOwner, type RelationsApi, } from './relations/api';
19
19
  export type { AdminModule, AdminStatus, AdminUser, Manifest, ManifestModule, NavEntry, PickedImage, RowAction, ScreenAction, AppliedFilter, } from './types';
@@ -41,6 +41,7 @@ export { default as WxCategoriesPage } from './categories/CategoriesPage';
41
41
  export { default as WxCategoryCreateDialog } from './categories/CategoryCreateDialog';
42
42
  export { default as WxCategoryEditorPage } from './categories/CategoryEditorPage';
43
43
  export { default as WxCategoriesField } from './categories/CategoriesField';
44
+ export { default as WxSourceSelect } from './categories/SourceSelect';
44
45
  export { default as WxCollectionField } from './collections/CollectionField';
45
46
  export { default as WxRelationsField } from './relations/RelationsField';
46
47
  export { default as WxSlugField } from './SlugField';