@webx-ui/module-admin 0.23.3 → 0.23.4

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.
@@ -0,0 +1,12 @@
1
+ /**
2
+ * A quiet mark beside an address a list shows in the site's main language, because the record
3
+ * has none in the language the list is read in. The address stays in the row — the page opens
4
+ * there — and the mark says, on hover, why it is not this language's.
5
+ *
6
+ * Nothing at all when `locale` is empty: that is the usual row.
7
+ */
8
+ type __VLS_Props = {
9
+ locale?: string | null;
10
+ };
11
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
12
+ export default _default;
package/dist/address.d.ts CHANGED
@@ -18,6 +18,12 @@ export interface RecordAddress {
18
18
  path: Ref<string | null | undefined>;
19
19
  /** "The address is changing" — in the module's words. */
20
20
  moving: () => string;
21
+ /**
22
+ * "No address in this language" — for a record whose prefix is a per-language fact rather than
23
+ * configuration: a page inside one that has no address in a language has none there either.
24
+ * Given, a `null` prefix means exactly that, and the field says so instead of printing `/`.
25
+ */
26
+ missing?: () => string;
21
27
  }
22
28
  export declare const recordAddressKey: InjectionKey<RecordAddress>;
23
29
  export declare function provideRecordAddress(address: RecordAddress): void;
@@ -16,6 +16,8 @@ export interface CategoryRow {
16
16
  slug: LocalizedValue | null;
17
17
  /** `null` — no address in the language the panel is open in, or categories without addresses. */
18
18
  path: string | null;
19
+ /** The language of `path` when it is the site's main one, shown because this language has none. */
20
+ address_locale?: string | null;
19
21
  url: string | null;
20
22
  is_visible: boolean;
21
23
  position: number;
package/dist/index.d.ts CHANGED
@@ -28,6 +28,7 @@ export { default as WxRowMenu } from './RowMenu';
28
28
  export { default as WxSaveState } from './SaveState';
29
29
  export { default as WxFilterChips } from './FilterChips';
30
30
  export { default as WxBackButton } from './BackButton';
31
+ export { default as WxAddressNote } from './AddressNote';
31
32
  export { default as WxRenameButton } from './RenameButton';
32
33
  export { default as WxHelpButton } from './HelpButton';
33
34
  export { default as WxDate } from './DateText';