@webx-ui/module-admin 0.24.0 → 0.25.1

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/Screen.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { ScreenModel, ScreenNode } from '@webx-ui/schema';
1
+ import { Patch, ScreenModel, ScreenNode } from '@webx-ui/schema';
2
2
  /**
3
3
  * A screen of the panel, by name.
4
4
  *
@@ -16,12 +16,26 @@ type __VLS_Props = {
16
16
  labelPosition?: 'top' | 'left';
17
17
  labelWidth?: string;
18
18
  size?: 'sm' | 'md' | 'lg';
19
+ /**
20
+ * The page's own patch, laid under the project's: what only the page can know — options
21
+ * read from the values it loaded, say. The project's patch still has the last word.
22
+ */
23
+ patch?: Patch;
19
24
  };
20
25
  declare function load(): Promise<void>;
21
26
  type __VLS_PublicProps = {
22
27
  modelValue?: ScreenModel;
23
28
  } & __VLS_Props;
24
- declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
29
+ declare function __VLS_template(): {
30
+ attrs: Partial<{}>;
31
+ slots: {
32
+ loading?(_: {}): any;
33
+ };
34
+ refs: {};
35
+ rootEl: HTMLDivElement;
36
+ };
37
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
38
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {
25
39
  reload: typeof load;
26
40
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
27
41
  "update:modelValue": (value: ScreenModel) => any;
@@ -35,5 +49,12 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
35
49
  errors: Record<string, string[]>;
36
50
  labelWidth: string;
37
51
  labelPosition: "top" | "left";
52
+ patch: Patch;
38
53
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
54
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
39
55
  export default _default;
56
+ type __VLS_WithTemplateSlots<T, S> = T & {
57
+ new (): {
58
+ $slots: S;
59
+ };
60
+ };