@aleph-alpha/settings-kit 0.1.0 → 1.0.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.
Files changed (172) hide show
  1. package/README.md +465 -15
  2. package/dist/SkLayout.vue_vue_type_script_setup_true_lang-ZjV2AMdR.js +51 -0
  3. package/dist/SkLayoutPage-DGbCpQFm.js +2545 -0
  4. package/dist/UseFileConvertor-DN6cCXNi.js +50 -0
  5. package/dist/components/SkField/SkField.vue.d.ts +28 -0
  6. package/dist/components/SkField/SkField.vue.d.ts.map +1 -0
  7. package/dist/components/SkField/index.d.ts +2 -0
  8. package/dist/components/SkField/index.d.ts.map +1 -0
  9. package/dist/components/SkGroup/SkGroup.vue.d.ts +29 -0
  10. package/dist/components/SkGroup/SkGroup.vue.d.ts.map +1 -0
  11. package/dist/components/SkGroup/index.d.ts +2 -0
  12. package/dist/components/SkGroup/index.d.ts.map +1 -0
  13. package/dist/components/SkItem/SkItem.vue.d.ts +22 -0
  14. package/dist/components/SkItem/SkItem.vue.d.ts.map +1 -0
  15. package/dist/components/SkItem/index.d.ts +2 -0
  16. package/dist/components/SkItem/index.d.ts.map +1 -0
  17. package/dist/components/SkLayout/SkLayout.vue.d.ts +53 -0
  18. package/dist/components/SkLayout/SkLayout.vue.d.ts.map +1 -0
  19. package/dist/components/SkLayout/SkLayoutPage.d.ts +23 -0
  20. package/dist/components/SkLayout/SkLayoutPage.d.ts.map +1 -0
  21. package/dist/components/SkLayout/context.d.ts +61 -0
  22. package/dist/components/SkLayout/context.d.ts.map +1 -0
  23. package/dist/components/SkLayout/index.d.ts +5 -0
  24. package/dist/components/SkLayout/index.d.ts.map +1 -0
  25. package/dist/components/SkPage/SkPage.vue.d.ts +35 -0
  26. package/dist/components/SkPage/SkPage.vue.d.ts.map +1 -0
  27. package/dist/components/SkPage/index.d.ts +2 -0
  28. package/dist/components/SkPage/index.d.ts.map +1 -0
  29. package/dist/components/SkSection/SkSection.vue.d.ts +29 -0
  30. package/dist/components/SkSection/SkSection.vue.d.ts.map +1 -0
  31. package/dist/components/SkSection/index.d.ts +2 -0
  32. package/dist/components/SkSection/index.d.ts.map +1 -0
  33. package/dist/components/controls/SkActionsControl/SkActionsControl.vue.d.ts +37 -0
  34. package/dist/components/controls/SkActionsControl/SkActionsControl.vue.d.ts.map +1 -0
  35. package/dist/components/controls/SkActionsControl/index.d.ts +2 -0
  36. package/dist/components/controls/SkActionsControl/index.d.ts.map +1 -0
  37. package/dist/components/controls/SkCheckboxControl/SkCheckboxControl.vue.d.ts +35 -0
  38. package/dist/components/controls/SkCheckboxControl/SkCheckboxControl.vue.d.ts.map +1 -0
  39. package/dist/components/controls/SkCheckboxControl/index.d.ts +2 -0
  40. package/dist/components/controls/SkCheckboxControl/index.d.ts.map +1 -0
  41. package/dist/components/controls/SkColorControl/SkColorControl.vue.d.ts +35 -0
  42. package/dist/components/controls/SkColorControl/SkColorControl.vue.d.ts.map +1 -0
  43. package/dist/components/controls/SkColorControl/index.d.ts +2 -0
  44. package/dist/components/controls/SkColorControl/index.d.ts.map +1 -0
  45. package/dist/components/controls/SkFileUpload/SkFilePlaceholder.vue.d.ts +11 -0
  46. package/dist/components/controls/SkFileUpload/SkFilePlaceholder.vue.d.ts.map +1 -0
  47. package/dist/components/controls/SkFileUpload/SkFileUpload.vue.d.ts +46 -0
  48. package/dist/components/controls/SkFileUpload/SkFileUpload.vue.d.ts.map +1 -0
  49. package/dist/components/controls/SkFileUpload/index.d.ts +2 -0
  50. package/dist/components/controls/SkFileUpload/index.d.ts.map +1 -0
  51. package/dist/components/controls/SkPeriodControl/SkPeriodControl.vue.d.ts +35 -0
  52. package/dist/components/controls/SkPeriodControl/SkPeriodControl.vue.d.ts.map +1 -0
  53. package/dist/components/controls/SkPeriodControl/index.d.ts +2 -0
  54. package/dist/components/controls/SkPeriodControl/index.d.ts.map +1 -0
  55. package/dist/components/controls/SkSelectControl/SkSelectControl.vue.d.ts +40 -0
  56. package/dist/components/controls/SkSelectControl/SkSelectControl.vue.d.ts.map +1 -0
  57. package/dist/components/controls/SkSelectControl/index.d.ts +2 -0
  58. package/dist/components/controls/SkSelectControl/index.d.ts.map +1 -0
  59. package/dist/components/controls/SkTelControl/SKTelPrefixControl.vue.d.ts +16 -0
  60. package/dist/components/controls/SkTelControl/SKTelPrefixControl.vue.d.ts.map +1 -0
  61. package/dist/components/controls/SkTelControl/SkTelControl.vue.d.ts +35 -0
  62. package/dist/components/controls/SkTelControl/SkTelControl.vue.d.ts.map +1 -0
  63. package/dist/components/controls/SkTelControl/index.d.ts +4 -0
  64. package/dist/components/controls/SkTelControl/index.d.ts.map +1 -0
  65. package/dist/components/controls/SkTelControl/prefixes.d.ts +26 -0
  66. package/dist/components/controls/SkTelControl/prefixes.d.ts.map +1 -0
  67. package/dist/components/controls/SkTextControl/SkTextControl.vue.d.ts +45 -0
  68. package/dist/components/controls/SkTextControl/SkTextControl.vue.d.ts.map +1 -0
  69. package/dist/components/controls/SkTextControl/index.d.ts +2 -0
  70. package/dist/components/controls/SkTextControl/index.d.ts.map +1 -0
  71. package/dist/components/controls/SkUnsupportedControl/SkUnsupportedControl.vue.d.ts +8 -0
  72. package/dist/components/controls/SkUnsupportedControl/SkUnsupportedControl.vue.d.ts.map +1 -0
  73. package/dist/components/controls/storyEventLog.d.ts +33 -0
  74. package/dist/components/controls/storyEventLog.d.ts.map +1 -0
  75. package/dist/components/index.d.ts +7 -2
  76. package/dist/components/index.d.ts.map +1 -1
  77. package/dist/components/index.js +12 -2
  78. package/dist/composables/UseFileConvertor/UseFileConvertor.d.ts +7 -0
  79. package/dist/composables/UseFileConvertor/UseFileConvertor.d.ts.map +1 -0
  80. package/dist/composables/index.d.ts +14 -0
  81. package/dist/composables/index.d.ts.map +1 -0
  82. package/dist/composables/useFieldInheritance/useFieldInheritance.d.ts +24 -0
  83. package/dist/composables/useFieldInheritance/useFieldInheritance.d.ts.map +1 -0
  84. package/dist/composables/useFieldValidator/useFieldValidator.d.ts +50 -0
  85. package/dist/composables/useFieldValidator/useFieldValidator.d.ts.map +1 -0
  86. package/dist/composables/useSettingField/useSettingField.d.ts +24 -0
  87. package/dist/composables/useSettingField/useSettingField.d.ts.map +1 -0
  88. package/dist/composables/useSettingsForm/useSettingsForm.d.ts +12 -0
  89. package/dist/composables/useSettingsForm/useSettingsForm.d.ts.map +1 -0
  90. package/dist/composables/useSettingsLayout/useSettingsLayout.d.ts +71 -0
  91. package/dist/composables/useSettingsLayout/useSettingsLayout.d.ts.map +1 -0
  92. package/dist/composables/useSettingsLocale/useSettingsLocale.d.ts +38 -0
  93. package/dist/composables/useSettingsLocale/useSettingsLocale.d.ts.map +1 -0
  94. package/dist/composables/useStateManager/useStateManager.d.ts +10 -0
  95. package/dist/composables/useStateManager/useStateManager.d.ts.map +1 -0
  96. package/dist/core/controls/controlDefinitions.d.ts +33 -0
  97. package/dist/core/controls/controlDefinitions.d.ts.map +1 -0
  98. package/dist/core/controls/index.d.ts +26 -0
  99. package/dist/core/controls/index.d.ts.map +1 -0
  100. package/dist/core/index.d.ts +18 -0
  101. package/dist/core/index.d.ts.map +1 -0
  102. package/dist/core/layout/index.d.ts +8 -0
  103. package/dist/core/layout/index.d.ts.map +1 -0
  104. package/dist/core/layout/navigation.d.ts +33 -0
  105. package/dist/core/layout/navigation.d.ts.map +1 -0
  106. package/dist/core/layout/resolve.d.ts +41 -0
  107. package/dist/core/layout/resolve.d.ts.map +1 -0
  108. package/dist/core/layout/types.d.ts +160 -0
  109. package/dist/core/layout/types.d.ts.map +1 -0
  110. package/dist/core/layout/validate.d.ts +26 -0
  111. package/dist/core/layout/validate.d.ts.map +1 -0
  112. package/dist/core/types.d.ts +541 -0
  113. package/dist/core/types.d.ts.map +1 -0
  114. package/dist/core/useControlModel.d.ts +13 -0
  115. package/dist/core/useControlModel.d.ts.map +1 -0
  116. package/dist/core/utils/a11y.d.ts +25 -0
  117. package/dist/core/utils/a11y.d.ts.map +1 -0
  118. package/dist/core/utils/cast.d.ts +8 -0
  119. package/dist/core/utils/cast.d.ts.map +1 -0
  120. package/dist/core/utils/consts.d.ts +978 -0
  121. package/dist/core/utils/consts.d.ts.map +1 -0
  122. package/dist/core/utils/kitMessages.d.ts +165 -0
  123. package/dist/core/utils/kitMessages.d.ts.map +1 -0
  124. package/dist/core/utils/localizedText.d.ts +10 -0
  125. package/dist/core/utils/localizedText.d.ts.map +1 -0
  126. package/dist/core/utils/useName.d.ts +7 -0
  127. package/dist/core/utils/useName.d.ts.map +1 -0
  128. package/dist/core/validate/constraints.d.ts +20 -0
  129. package/dist/core/validate/constraints.d.ts.map +1 -0
  130. package/dist/core/validate/rules.d.ts +29 -0
  131. package/dist/core/validate/rules.d.ts.map +1 -0
  132. package/dist/index-BQ6z6MK4.js +214 -0
  133. package/dist/index-BXs-0JdT.js +168 -0
  134. package/dist/index-BynIH0EE.js +92 -0
  135. package/dist/index-C-WLhRod.js +100 -0
  136. package/dist/index-CFMv8jSO.js +4 -0
  137. package/dist/index-CGYERet5.js +373 -0
  138. package/dist/index-KAbhkO1J.js +81 -0
  139. package/dist/index.d.ts +8 -2
  140. package/dist/index.d.ts.map +1 -1
  141. package/dist/index.js +48 -3
  142. package/dist/service/index.d.ts +2 -0
  143. package/dist/service/index.d.ts.map +1 -0
  144. package/dist/shell/SkShell.vue.d.ts +80 -0
  145. package/dist/shell/SkShell.vue.d.ts.map +1 -0
  146. package/dist/shell/SkShellFrame.vue.d.ts +46 -0
  147. package/dist/shell/SkShellFrame.vue.d.ts.map +1 -0
  148. package/dist/shell/SkShellNav.vue.d.ts +19 -0
  149. package/dist/shell/SkShellNav.vue.d.ts.map +1 -0
  150. package/dist/shell/history.d.ts +9 -0
  151. package/dist/shell/history.d.ts.map +1 -0
  152. package/dist/shell/index.d.ts +12 -0
  153. package/dist/shell/index.d.ts.map +1 -0
  154. package/dist/shell/index.js +848 -0
  155. package/dist/shell/labels.d.ts +25 -0
  156. package/dist/shell/labels.d.ts.map +1 -0
  157. package/dist/shell/location.d.ts +18 -0
  158. package/dist/shell/location.d.ts.map +1 -0
  159. package/dist/shell/routes.d.ts +19 -0
  160. package/dist/shell/routes.d.ts.map +1 -0
  161. package/dist/shell/useMediaQuery.d.ts +4 -0
  162. package/dist/shell/useMediaQuery.d.ts.map +1 -0
  163. package/dist/shell/useShellLocation.d.ts +37 -0
  164. package/dist/shell/useShellLocation.d.ts.map +1 -0
  165. package/package.json +42 -23
  166. package/dist/SettingToggleUnit.vue_vue_type_script_setup_true_lang-BM7-6aXj.js +0 -61
  167. package/dist/components/SettingToggleUnit/SettingToggleUnit.vue.d.ts +0 -16
  168. package/dist/components/SettingToggleUnit/SettingToggleUnit.vue.d.ts.map +0 -1
  169. package/dist/components/SettingToggleUnit/index.d.ts +0 -3
  170. package/dist/components/SettingToggleUnit/index.d.ts.map +0 -1
  171. package/dist/components/SettingToggleUnit/types.d.ts +0 -11
  172. package/dist/components/SettingToggleUnit/types.d.ts.map +0 -1
@@ -0,0 +1,50 @@
1
+ import { ref } from "vue";
2
+ const toDataUrl = (file) => {
3
+ return new Promise((resolve, reject) => {
4
+ const reader = new FileReader();
5
+ reader.readAsDataURL(file);
6
+ reader.onload = () => resolve(reader.result);
7
+ reader.onerror = () => reject(reader.error ?? new Error("The file could not be read."));
8
+ });
9
+ };
10
+ function getErrorMessage(error) {
11
+ if (error instanceof Error) {
12
+ return error.message;
13
+ }
14
+ return String(error);
15
+ }
16
+ const UseFileConvertor = () => {
17
+ const isLoading = ref(false);
18
+ const error = ref(null);
19
+ let latestRequest = 0;
20
+ const handleConvertFile = async (file) => {
21
+ const request = ++latestRequest;
22
+ error.value = null;
23
+ isLoading.value = true;
24
+ let result;
25
+ let failure = null;
26
+ try {
27
+ result = await toDataUrl(file);
28
+ } catch (err) {
29
+ failure = getErrorMessage(err);
30
+ }
31
+ if (request !== latestRequest) return void 0;
32
+ isLoading.value = false;
33
+ error.value = failure;
34
+ return result;
35
+ };
36
+ const reset = () => {
37
+ latestRequest += 1;
38
+ isLoading.value = false;
39
+ error.value = null;
40
+ };
41
+ return {
42
+ isLoading,
43
+ error,
44
+ handleConvertFile,
45
+ reset
46
+ };
47
+ };
48
+ export {
49
+ UseFileConvertor as U
50
+ };
@@ -0,0 +1,28 @@
1
+ import type { SettingFieldType, SettingValueByType, SkFieldProps } from '../../core';
2
+ declare const __VLS_export: <K extends SettingFieldType>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
+ props: import("vue").PublicProps & __VLS_PrettifyLocal<(SkFieldProps<K> & {
4
+ modelValue?: SettingValueByType[K] | undefined;
5
+ }) & {
6
+ "onUpdate:modelValue"?: ((value: SettingValueByType[K] | undefined) => any) | undefined;
7
+ onChange?: ((value: SettingValueByType[K] | undefined) => any) | undefined;
8
+ onAction?: ((method: string) => any) | undefined;
9
+ onUpdate?: ((value: SettingValueByType[K] | undefined) => any) | undefined;
10
+ "onUpdate:effective"?: ((value: SettingValueByType[K] | undefined) => any) | undefined;
11
+ }> & (typeof globalThis extends {
12
+ __VLS_PROPS_FALLBACK: infer P;
13
+ } ? P : {});
14
+ expose: (exposed: {}) => void;
15
+ attrs: any;
16
+ slots: {};
17
+ emit: (((evt: "change", value: SettingValueByType[K] | undefined) => void) & ((evt: "action", method: string) => void) & ((evt: "update", value: SettingValueByType[K] | undefined) => void) & ((evt: "update:effective", value: SettingValueByType[K] | undefined) => void)) & ((event: "update:modelValue", value: SettingValueByType[K] | undefined) => void);
18
+ }>) => import("vue").VNode & {
19
+ __ctx?: Awaited<typeof __VLS_setup>;
20
+ };
21
+ declare const _default: typeof __VLS_export;
22
+ export default _default;
23
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
24
+ [K in keyof T]: T[K];
25
+ } : {
26
+ [K in keyof T as K]: T[K];
27
+ }) & {};
28
+ //# sourceMappingURL=SkField.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SkField.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SkField/SkField.vue"],"names":[],"mappings":"AAkLA,OAAO,KAAK,EACV,gBAAgB,EAChB,kBAAkB,EAElB,YAAY,EACb,MAAM,YAAY,CAAC;AAKpB,QAAA,MAAM,YAAY,GAAK,CAAC,SAAS,gBAAgB,EAChD,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,gBAAgB,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EAClE;WAkTO,OAAO,KAAK,EAAE,WAAW,GAAG,mBAAmB,CAAC;;;;;;;;KAAmC,CAAC,GAAG,CAAC,OAAO,UAAU,SAAS;QAAE,oBAAoB,EAAE,MAAM,CAAC,CAAA;KAAE,GAAG,CAAC,GAAG,EAAE,CAAC;YAC5J,CAAC,OAAO,EAAE,EAAE,KAAK,IAAI;WACtB,GAAG;WACH,EAAE;UACH,0VAAoC;EAEvC,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAI,CAAC;wBACvD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,mBAAmB,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,GAAG,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,CAAC,GAAG,EAAE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { default as SkField } from './SkField.vue';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/SkField/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,eAAe,CAAC"}
@@ -0,0 +1,29 @@
1
+ type __VLS_Props = {
2
+ /** Group heading; omitted, no heading renders. */
3
+ title?: string;
4
+ /** Text under the heading. */
5
+ description?: string;
6
+ /** Logical columns. Items flow one per column across the full width. */
7
+ columns?: number;
8
+ /** Heading level of the title, 1–6. */
9
+ level?: number;
10
+ };
11
+ type __VLS_Slots = {
12
+ /** Items. */
13
+ default?: () => unknown;
14
+ };
15
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
16
+ description: string;
17
+ title: string;
18
+ columns: number;
19
+ level: number;
20
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
21
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
22
+ declare const _default: typeof __VLS_export;
23
+ export default _default;
24
+ type __VLS_WithSlots<T, S> = T & {
25
+ new (): {
26
+ $slots: S;
27
+ };
28
+ };
29
+ //# sourceMappingURL=SkGroup.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SkGroup.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SkGroup/SkGroup.vue"],"names":[],"mappings":"AA4EA,KAAK,WAAW,GAAG;IACf,kDAAkD;IAClD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,8BAA8B;IAC9B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,wEAAwE;IACxE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,uCAAuC;IACvC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAMJ,KAAK,WAAW,GAAG;IACjB,aAAa;IACb,OAAO,CAAC,EAAE,MAAM,OAAO,CAAC;CACzB,CAAC;AA4EF,QAAA,MAAM,UAAU;iBA1FE,MAAM;WAFZ,MAAM;aAIJ,MAAM;WAER,MAAM;6EAyFhB,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { default as SkGroup } from './SkGroup.vue';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/SkGroup/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,eAAe,CAAC"}
@@ -0,0 +1,22 @@
1
+ import type { SettingField } from '../../core';
2
+ type __VLS_Props = {
3
+ /** Setting this cell renders. */
4
+ field: SettingField;
5
+ /**
6
+ * 1-based column pin, applied from the small breakpoint up (below it the
7
+ * grid is a single column). Omitted items follow the grid flow.
8
+ */
9
+ column?: number;
10
+ /** Disable the control, e.g. while a rule holds it. */
11
+ disabled?: boolean;
12
+ /** Messages to show under the control. */
13
+ errors?: string[];
14
+ };
15
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
16
+ action: (method: string) => any;
17
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
18
+ onAction?: ((method: string) => any) | undefined;
19
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
20
+ declare const _default: typeof __VLS_export;
21
+ export default _default;
22
+ //# sourceMappingURL=SkItem.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SkItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SkItem/SkItem.vue"],"names":[],"mappings":"AA0DA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAW/C,KAAK,WAAW,GAAG;IACjB,iCAAiC;IACjC,KAAK,EAAE,YAAY,CAAC;IACpB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,uDAAuD;IACvD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,0CAA0C;IAC1C,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACnB,CAAC;AA2EF,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,2 @@
1
+ export { default as SkItem } from './SkItem.vue';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/SkItem/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,cAAc,CAAC"}
@@ -0,0 +1,53 @@
1
+ import type { SettingsLayout } from '../../core/layout';
2
+ import type { SettingField, StandardSchemaV1, StateManager } from '../../core/types';
3
+ import type { SkLayoutActionEvent, SkLayoutBlocks } from './context';
4
+ type __VLS_Props = {
5
+ /** Where each setting renders. */
6
+ layout: SettingsLayout;
7
+ /** State manager to read and stage in; see `useSettingsLayout`. */
8
+ session?: StateManager;
9
+ /** Field descriptors; registered into the session, or its `fields`. */
10
+ fields?: SettingField[];
11
+ /** External validators per setting key. */
12
+ validators?: Record<string, StandardSchemaV1>;
13
+ /** Replacement components per level. */
14
+ blocks?: Partial<SkLayoutBlocks>;
15
+ /** Heading level of the page title; sections and groups follow. */
16
+ headingLevel?: number;
17
+ };
18
+ type __VLS_Slots = {
19
+ /** Shown when the layout has no pages. */
20
+ empty?: () => unknown;
21
+ };
22
+ type __VLS_ModelProps = {
23
+ /** Page id (`<category>/<page>`) to show; the first page when unset. */
24
+ 'page'?: string;
25
+ };
26
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
27
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
28
+ /** The layout model: session, resolved tree, navigation, validator. */
29
+ model: import("../..").SettingsLayoutModel;
30
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
31
+ action: (event: SkLayoutActionEvent) => any;
32
+ error: (error: unknown) => any;
33
+ "update:page": (value: string | undefined) => any;
34
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
35
+ onAction?: ((event: SkLayoutActionEvent) => any) | undefined;
36
+ onError?: ((error: unknown) => any) | undefined;
37
+ "onUpdate:page"?: ((value: string | undefined) => any) | undefined;
38
+ }>, {
39
+ fields: SettingField[];
40
+ validators: Record<string, StandardSchemaV1>;
41
+ session: StateManager;
42
+ blocks: Partial<SkLayoutBlocks>;
43
+ headingLevel: number;
44
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
45
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
46
+ declare const _default: typeof __VLS_export;
47
+ export default _default;
48
+ type __VLS_WithSlots<T, S> = T & {
49
+ new (): {
50
+ $slots: S;
51
+ };
52
+ };
53
+ //# sourceMappingURL=SkLayout.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SkLayout.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SkLayout/SkLayout.vue"],"names":[],"mappings":"AA+FA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,KAAK,EACV,YAAY,EACZ,gBAAgB,EAChB,YAAY,EACb,MAAM,kBAAkB,CAAC;AAE1B,OAAO,KAAK,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAcrE,KAAK,WAAW,GAAG;IACf,kCAAkC;IAClC,MAAM,EAAE,cAAc,CAAC;IACvB,mEAAmE;IACnE,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,uEAAuE;IACvE,MAAM,CAAC,EAAE,YAAY,EAAE,CAAC;IACxB,2CAA2C;IAC3C,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC;IAC9C,wCAAwC;IACxC,MAAM,CAAC,EAAE,OAAO,CAAC,cAAc,CAAC,CAAC;IACjC,mEAAmE;IACnE,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AA0BJ,KAAK,WAAW,GAAG;IACjB,0CAA0C;IAC1C,KAAK,CAAC,EAAE,MAAM,OAAO,CAAC;CACvB,CAAC;AA0BF,KAAK,gBAAgB,GAAG;IACxB,wEAAwE;IACxE,MAAM,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAYF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AA2CxD,QAAA,MAAM,UAAU;IAhEd,uEAAuE;;;;;;;;;;;YAxD5D,YAAY,EAAE;gBAEV,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAAC;aAJnC,YAAY;YAMb,OAAO,CAAC,cAAc,CAAC;kBAEjB,MAAM;6EAuHvB,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -0,0 +1,23 @@
1
+ import type { PropType, VNode } from 'vue';
2
+ import type { ResolvedPage } from '../../core/layout';
3
+ /**
4
+ * Renders one resolved page with the host's block registry. Each node is
5
+ * keyed by its unique `id`; heading levels follow depth, and a group under
6
+ * a section without a heading takes the section's level.
7
+ */
8
+ export declare const SkLayoutPage: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
9
+ /** The resolved page to render. */
10
+ page: {
11
+ type: PropType<ResolvedPage>;
12
+ required: true;
13
+ };
14
+ }>, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
15
+ [key: string]: any;
16
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
17
+ /** The resolved page to render. */
18
+ page: {
19
+ type: PropType<ResolvedPage>;
20
+ required: true;
21
+ };
22
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
23
+ //# sourceMappingURL=SkLayoutPage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SkLayoutPage.d.ts","sourceRoot":"","sources":["../../../src/components/SkLayout/SkLayoutPage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC;AAE3C,OAAO,KAAK,EAGV,YAAY,EAEb,MAAM,mBAAmB,CAAC;AAM3B;;;;GAIG;AACH,eAAO,MAAM,YAAY;IAGrB,mCAAmC;;cACX,QAAQ,CAAC,YAAY,CAAC;;;;;;IAD9C,mCAAmC;;cACX,QAAQ,CAAC,YAAY,CAAC;;;iGAsFhD,CAAC"}
@@ -0,0 +1,61 @@
1
+ import type { Component, ComputedRef, InjectionKey } from 'vue';
2
+ import type { SettingsLayoutModel } from '../../composables/useSettingsLayout/useSettingsLayout';
3
+ /**
4
+ * Components the renderer uses per level. A replacement receives the same
5
+ * props as the default it replaces (see `SkPage`, `SkSection`, `SkGroup`,
6
+ * `SkItem`) and renders its children through the default slot.
7
+ */
8
+ export interface SkLayoutBlocks {
9
+ page: Component;
10
+ section: Component;
11
+ group: Component;
12
+ item: Component;
13
+ }
14
+ /**
15
+ * The single event an `actions` button produces. Call `preventDefault()`
16
+ * in the listener to skip the built-in handling of `discard` and `apply`.
17
+ */
18
+ export interface SkLayoutActionEvent {
19
+ /** The pressed option's `value`, e.g. `discard` or `apply`. */
20
+ method: string;
21
+ /** Key of the `actions` field. */
22
+ key: string;
23
+ /** Id of the page the button is on. */
24
+ pageId: string;
25
+ /** Skips the built-in handling. */
26
+ preventDefault: () => void;
27
+ /** Whether a listener called `preventDefault()`. */
28
+ readonly defaultPrevented: boolean;
29
+ }
30
+ /** What the renderer reads from its host (`SkLayout` or `SkShell`). */
31
+ export interface SkLayoutContext {
32
+ model: SettingsLayoutModel;
33
+ blocks: ComputedRef<SkLayoutBlocks>;
34
+ /** Heading level of page titles; deeper levels follow. */
35
+ headingLevel: ComputedRef<number>;
36
+ /** Runs one action through the host. */
37
+ dispatch: (method: string, key: string, pageId: string) => void;
38
+ }
39
+ /** The blocks used for any level not replaced. */
40
+ export declare const defaultBlocks: SkLayoutBlocks;
41
+ export declare const skLayoutContextKey: InjectionKey<SkLayoutContext>;
42
+ export declare function useSkLayoutContext(): SkLayoutContext;
43
+ /** Creates an action event whose `preventDefault()` the caller can read. */
44
+ export declare function createActionEvent(method: string, key: string, pageId: string): SkLayoutActionEvent;
45
+ /** Options for `provideSkLayoutContext`. */
46
+ export interface ProvideSkLayoutContextOptions {
47
+ blocks: () => Partial<SkLayoutBlocks> | undefined;
48
+ headingLevel: () => number | undefined;
49
+ /** Receives every action before the built-in handling. */
50
+ onAction: (event: SkLayoutActionEvent) => void;
51
+ /** Receives a rejected save from the built-in `apply`. */
52
+ onError: (error: unknown) => void;
53
+ }
54
+ /** Provides the renderer context for `SkLayoutPage` below the caller. */
55
+ export declare function provideSkLayoutContext(model: SettingsLayoutModel, options: ProvideSkLayoutContextOptions): SkLayoutContext;
56
+ /**
57
+ * Built-in handling: `discard` drops every staged edit; `apply` validates,
58
+ * reveals errors when invalid, else saves. Other methods do nothing.
59
+ */
60
+ export declare function runDefaultAction(model: SettingsLayoutModel, method: string): Promise<void>;
61
+ //# sourceMappingURL=context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/components/SkLayout/context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,KAAK,CAAC;AAEhE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uDAAuD,CAAC;AAMjG;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,SAAS,CAAC;IAChB,OAAO,EAAE,SAAS,CAAC;IACnB,KAAK,EAAE,SAAS,CAAC;IACjB,IAAI,EAAE,SAAS,CAAC;CACjB;AAED;;;GAGG;AACH,MAAM,WAAW,mBAAmB;IAClC,+DAA+D;IAC/D,MAAM,EAAE,MAAM,CAAC;IACf,kCAAkC;IAClC,GAAG,EAAE,MAAM,CAAC;IACZ,uCAAuC;IACvC,MAAM,EAAE,MAAM,CAAC;IACf,mCAAmC;IACnC,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,oDAAoD;IACpD,QAAQ,CAAC,gBAAgB,EAAE,OAAO,CAAC;CACpC;AAED,uEAAuE;AACvE,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,mBAAmB,CAAC;IAC3B,MAAM,EAAE,WAAW,CAAC,cAAc,CAAC,CAAC;IACpC,0DAA0D;IAC1D,YAAY,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAClC,wCAAwC;IACxC,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;CACjE;AAED,kDAAkD;AAClD,eAAO,MAAM,aAAa,EAAE,cAK3B,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,YAAY,CAAC,eAAe,CAChC,CAAC;AAE9B,wBAAgB,kBAAkB,IAAI,eAAe,CAQpD;AAED,4EAA4E;AAC5E,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,MAAM,EACd,GAAG,EAAE,MAAM,EACX,MAAM,EAAE,MAAM,GACb,mBAAmB,CAarB;AAED,4CAA4C;AAC5C,MAAM,WAAW,6BAA6B;IAC5C,MAAM,EAAE,MAAM,OAAO,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC;IAClD,YAAY,EAAE,MAAM,MAAM,GAAG,SAAS,CAAC;IACvC,0DAA0D;IAC1D,QAAQ,EAAE,CAAC,KAAK,EAAE,mBAAmB,KAAK,IAAI,CAAC;IAC/C,0DAA0D;IAC1D,OAAO,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;CACnC;AAED,yEAAyE;AACzE,wBAAgB,sBAAsB,CACpC,KAAK,EAAE,mBAAmB,EAC1B,OAAO,EAAE,6BAA6B,GACrC,eAAe,CAcjB;AAED;;;GAGG;AACH,wBAAsB,gBAAgB,CACpC,KAAK,EAAE,mBAAmB,EAC1B,MAAM,EAAE,MAAM,GACb,OAAO,CAAC,IAAI,CAAC,CAgBf"}
@@ -0,0 +1,5 @@
1
+ export { default as SkLayout } from './SkLayout.vue';
2
+ export { SkLayoutPage } from './SkLayoutPage';
3
+ export { defaultBlocks, provideSkLayoutContext, skLayoutContextKey, } from './context';
4
+ export type { ProvideSkLayoutContextOptions, SkLayoutActionEvent, SkLayoutBlocks, SkLayoutContext, } from './context';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/SkLayout/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EACL,aAAa,EACb,sBAAsB,EACtB,kBAAkB,GACnB,MAAM,WAAW,CAAC;AACnB,YAAY,EACV,6BAA6B,EAC7B,mBAAmB,EACnB,cAAc,EACd,eAAe,GAChB,MAAM,WAAW,CAAC"}
@@ -0,0 +1,35 @@
1
+ type __VLS_Props = {
2
+ /** Page heading. */
3
+ title?: string;
4
+ /** Text under the heading. */
5
+ description?: string;
6
+ /** Heading level of the title, 1–6. */
7
+ level?: number;
8
+ /** Hide the heading block when `false`. */
9
+ showHeader?: boolean;
10
+ };
11
+ type __VLS_Slots = {
12
+ /** The page's sections. */
13
+ default?: () => unknown;
14
+ /** Footer actions, after every section. */
15
+ actions?: () => unknown;
16
+ };
17
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
18
+ submit: () => any;
19
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
20
+ onSubmit?: (() => any) | undefined;
21
+ }>, {
22
+ description: string;
23
+ title: string;
24
+ showHeader: boolean;
25
+ level: number;
26
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
27
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
28
+ declare const _default: typeof __VLS_export;
29
+ export default _default;
30
+ type __VLS_WithSlots<T, S> = T & {
31
+ new (): {
32
+ $slots: S;
33
+ };
34
+ };
35
+ //# sourceMappingURL=SkPage.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SkPage.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SkPage/SkPage.vue"],"names":[],"mappings":"AA2FA,KAAK,WAAW,GAAG;IACf,oBAAoB;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,8BAA8B;IAC9B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,uCAAuC;IACvC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,2CAA2C;IAC3C,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAYJ,KAAK,WAAW,GAAG;IACjB,2BAA2B;IAC3B,OAAO,CAAC,EAAE,MAAM,OAAO,CAAC;IACxB,2CAA2C;IAC3C,OAAO,CAAC,EAAE,MAAM,OAAO,CAAC;CACzB,CAAC;AA0GF,QAAA,MAAM,UAAU;;;;;iBAhIE,MAAM;WAFZ,MAAM;gBAMD,OAAO;WAFZ,MAAM;6EAkIhB,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { default as SkPage } from './SkPage.vue';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/SkPage/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,cAAc,CAAC"}
@@ -0,0 +1,29 @@
1
+ type __VLS_Props = {
2
+ /** Section heading; omitted, no heading renders. */
3
+ title?: string;
4
+ /** Text under the heading. */
5
+ description?: string;
6
+ /** Logical columns. Items flow one per column across the full width. */
7
+ columns?: number;
8
+ /** Heading level of the title, 1–6. */
9
+ level?: number;
10
+ };
11
+ type __VLS_Slots = {
12
+ /** Items and groups. */
13
+ default?: () => unknown;
14
+ };
15
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
16
+ description: string;
17
+ title: string;
18
+ columns: number;
19
+ level: number;
20
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
21
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
22
+ declare const _default: typeof __VLS_export;
23
+ export default _default;
24
+ type __VLS_WithSlots<T, S> = T & {
25
+ new (): {
26
+ $slots: S;
27
+ };
28
+ };
29
+ //# sourceMappingURL=SkSection.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SkSection.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SkSection/SkSection.vue"],"names":[],"mappings":"AA4EA,KAAK,WAAW,GAAG;IACf,oDAAoD;IACpD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,8BAA8B;IAC9B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,wEAAwE;IACxE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,uCAAuC;IACvC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAMJ,KAAK,WAAW,GAAG;IACjB,wBAAwB;IACxB,OAAO,CAAC,EAAE,MAAM,OAAO,CAAC;CACzB,CAAC;AA8EF,QAAA,MAAM,UAAU;iBA5FE,MAAM;WAFZ,MAAM;aAIJ,MAAM;WAER,MAAM;6EA2FhB,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { default as SkSection } from './SkSection.vue';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/SkSection/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,iBAAiB,CAAC"}
@@ -0,0 +1,37 @@
1
+ import type { SettingFieldOption, SkBaseControlProps } from '../../../core';
2
+ interface SkActionsControlProps extends SkBaseControlProps<null> {
3
+ /** Buttons. `value` is the method emitted on click. */
4
+ options?: SettingFieldOption[];
5
+ }
6
+ declare var __VLS_1: {}, __VLS_11: {};
7
+ type __VLS_Slots = {} & {
8
+ label?: (props: typeof __VLS_1) => any;
9
+ } & {
10
+ error?: (props: typeof __VLS_11) => any;
11
+ };
12
+ declare const __VLS_base: import("vue").DefineComponent<SkActionsControlProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
+ action: (method: string) => any;
14
+ }, string, import("vue").PublicProps, Readonly<SkActionsControlProps> & Readonly<{
15
+ onAction?: ((method: string) => any) | undefined;
16
+ }>, {
17
+ id: string;
18
+ label: string;
19
+ placeholder: string;
20
+ name: string;
21
+ modelValue: null;
22
+ disabled: boolean;
23
+ inheriting: boolean;
24
+ required: boolean;
25
+ tooltip: string;
26
+ errors: string[];
27
+ options: SettingFieldOption[];
28
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
29
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
30
+ declare const _default: typeof __VLS_export;
31
+ export default _default;
32
+ type __VLS_WithSlots<T, S> = T & {
33
+ new (): {
34
+ $slots: S;
35
+ };
36
+ };
37
+ //# sourceMappingURL=SkActionsControl.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SkActionsControl.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/controls/SkActionsControl/SkActionsControl.vue"],"names":[],"mappings":"AA4FA,OAAO,KAAK,EACV,kBAAkB,EAElB,kBAAkB,EACnB,MAAM,eAAe,CAAC;AASvB,UAAU,qBAAsB,SAAQ,kBAAkB,CAAC,IAAI,CAAC;IAC9D,uDAAuD;IACvD,OAAO,CAAC,EAAE,kBAAkB,EAAE,CAAC;CAChC;AA2HD,QAAA,IAAI,OAAO,IAAU,EAAE,QAAQ,IAAY,CAAE;AAC7C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC1C;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAG9C,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;aAlIJ,kBAAkB,EAAE;6EAsI9B,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { default as SkActionsControl } from './SkActionsControl.vue';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/controls/SkActionsControl/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,wBAAwB,CAAC"}
@@ -0,0 +1,35 @@
1
+ import type { SkBaseControlProps } from '../../../core';
2
+ type __VLS_Props = SkBaseControlProps<boolean>;
3
+ declare var __VLS_6: {}, __VLS_8: {};
4
+ type __VLS_Slots = {} & {
5
+ label?: (props: typeof __VLS_6) => any;
6
+ } & {
7
+ error?: (props: typeof __VLS_8) => any;
8
+ };
9
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
+ "update:modelValue": (value: boolean | undefined) => any;
11
+ change: (value: boolean | undefined) => any;
12
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
13
+ "onUpdate:modelValue"?: ((value: boolean | undefined) => any) | undefined;
14
+ onChange?: ((value: boolean | undefined) => any) | undefined;
15
+ }>, {
16
+ id: string;
17
+ label: string;
18
+ placeholder: string;
19
+ name: string;
20
+ modelValue: boolean;
21
+ disabled: boolean;
22
+ inheriting: boolean;
23
+ required: boolean;
24
+ tooltip: string;
25
+ errors: string[];
26
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
27
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
28
+ declare const _default: typeof __VLS_export;
29
+ export default _default;
30
+ type __VLS_WithSlots<T, S> = T & {
31
+ new (): {
32
+ $slots: S;
33
+ };
34
+ };
35
+ //# sourceMappingURL=SkCheckboxControl.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SkCheckboxControl.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/controls/SkCheckboxControl/SkCheckboxControl.vue"],"names":[],"mappings":"AAmEA,OAAO,KAAK,EAAsB,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAc5E,KAAK,WAAW,GAAG,kBAAkB,CAAC,OAAO,CAAC,CAAC;AAwF/C,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAW,CAAE;AAC3C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC1C;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAG7C,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;6EAId,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { default as SkCheckboxControl } from './SkCheckboxControl.vue';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/controls/SkCheckboxControl/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,yBAAyB,CAAC"}
@@ -0,0 +1,35 @@
1
+ import type { SkBaseControlProps } from '../../../core';
2
+ type __VLS_Props = SkBaseControlProps<string>;
3
+ declare var __VLS_1: {}, __VLS_10: {};
4
+ type __VLS_Slots = {} & {
5
+ label?: (props: typeof __VLS_1) => any;
6
+ } & {
7
+ error?: (props: typeof __VLS_10) => any;
8
+ };
9
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
+ "update:modelValue": (value: string | undefined) => any;
11
+ change: (value: string | undefined) => any;
12
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
13
+ "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
14
+ onChange?: ((value: string | undefined) => any) | undefined;
15
+ }>, {
16
+ id: string;
17
+ label: string;
18
+ placeholder: string;
19
+ name: string;
20
+ modelValue: string;
21
+ disabled: boolean;
22
+ inheriting: boolean;
23
+ required: boolean;
24
+ tooltip: string;
25
+ errors: string[];
26
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
27
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
28
+ declare const _default: typeof __VLS_export;
29
+ export default _default;
30
+ type __VLS_WithSlots<T, S> = T & {
31
+ new (): {
32
+ $slots: S;
33
+ };
34
+ };
35
+ //# sourceMappingURL=SkColorControl.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SkColorControl.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/controls/SkColorControl/SkColorControl.vue"],"names":[],"mappings":"AAiGA,OAAO,KAAK,EAGV,kBAAkB,EACnB,MAAM,eAAe,CAAC;AAevB,KAAK,WAAW,GAAG,kBAAkB,CAAC,MAAM,CAAC,CAAC;AA0I9C,QAAA,IAAI,OAAO,IAAU,EAAE,QAAQ,IAAW,CAAE;AAC5C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC1C;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAG9C,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;6EAId,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { default as SkColorControl } from './SkColorControl.vue';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/controls/SkColorControl/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,sBAAsB,CAAC"}
@@ -0,0 +1,11 @@
1
+ type __VLS_Props = {
2
+ isDisabled: boolean;
3
+ preview?: string;
4
+ label?: string;
5
+ loading: boolean;
6
+ error?: string;
7
+ };
8
+ declare const __VLS_export: 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>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
11
+ //# sourceMappingURL=SkFilePlaceholder.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SkFilePlaceholder.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/controls/SkFileUpload/SkFilePlaceholder.vue"],"names":[],"mappings":"AAgFA,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAuIF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}