@webx-ui/core 0.30.1 → 0.32.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.
@@ -52,10 +52,12 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
52
52
  declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
53
53
  "update:open": (value: boolean) => any;
54
54
  "filters-inline": (inline: boolean) => any;
55
+ "detail-inline": (inline: boolean) => any;
55
56
  "update:filtersOpen": (value: boolean) => any;
56
57
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
57
58
  "onUpdate:open"?: ((value: boolean) => any) | undefined;
58
59
  "onFilters-inline"?: ((inline: boolean) => any) | undefined;
60
+ "onDetail-inline"?: ((inline: boolean) => any) | undefined;
59
61
  "onUpdate:filtersOpen"?: ((value: boolean) => any) | undefined;
60
62
  }>, {
61
63
  filtersWidth: number | string;
@@ -12,13 +12,17 @@ export interface RepeaterProps<T extends object = Record<string, unknown>> {
12
12
  title?: string;
13
13
  /**
14
14
  * What a row is called in its header and to a screen reader: a key of the item, or a
15
- * function. Falls back to the position.
15
+ * function. A key is shown after the position (`#2 · …`), in the language being edited when
16
+ * it holds a translated field; a function answers for the whole header. Falls back to the
17
+ * position.
16
18
  */
17
19
  itemLabel?: string | ((item: T, index: number) => string);
18
20
  /** Builds what `Add` appends. Defaults to an empty object. */
19
21
  newItem?: () => T;
20
22
  addLabel?: string;
21
23
  removeLabel?: string;
24
+ /** What the grip is called to a screen reader. */
25
+ dragLabel?: string;
22
26
  /** Rows fold to their header, so a long form stays readable. */
23
27
  collapsible?: boolean;
24
28
  /** Rows that were already there start folded. Implies `collapsible`. */