sinde-ui 0.0.0-stage → 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 (92) hide show
  1. package/LICENSE.md +171 -0
  2. package/NOTICE +21 -0
  3. package/README.md +296 -2
  4. package/THIRD_PARTY_LICENSES.md +131 -0
  5. package/dist/chunks/use-ui-config-Ckaon2pR.mjs +10 -0
  6. package/dist/components/SAppShell.vue.d.ts +21 -0
  7. package/dist/components/SAsideNav.vue.d.ts +27 -0
  8. package/dist/components/SAvatar.vue.d.ts +21 -0
  9. package/dist/components/SBtn.vue.d.ts +15 -0
  10. package/dist/components/SCheckbox.vue.d.ts +24 -0
  11. package/dist/components/SCopy.vue.d.ts +26 -0
  12. package/dist/components/SCropper.vue.d.ts +16 -0
  13. package/dist/components/SDataTable.vue.d.ts +57 -0
  14. package/dist/components/SDateTimePicker/Calendar.vue.d.ts +40 -0
  15. package/dist/components/SDateTimePicker/Popover.vue.d.ts +22 -0
  16. package/dist/components/SDateTimePicker/QuickActions.vue.d.ts +13 -0
  17. package/dist/components/SDateTimePicker/Time.vue.d.ts +29 -0
  18. package/dist/components/SDateTimePicker/TimeWheel.vue.d.ts +15 -0
  19. package/dist/components/SDateTimePicker/index.vue.d.ts +33 -0
  20. package/dist/components/SDatetime.vue.d.ts +20 -0
  21. package/dist/components/SDocMarkdown.vue.d.ts +6 -0
  22. package/dist/components/SField.vue.d.ts +14 -0
  23. package/dist/components/SFile.vue.d.ts +27 -0
  24. package/dist/components/SGradation.vue.d.ts +24 -0
  25. package/dist/components/SIcon.vue.d.ts +8 -0
  26. package/dist/components/SImage.vue.d.ts +60 -0
  27. package/dist/components/SInput.vue.d.ts +21 -0
  28. package/dist/components/SLink.vue.d.ts +16 -0
  29. package/dist/components/SList.vue.d.ts +19 -0
  30. package/dist/components/SLoad.vue.d.ts +7 -0
  31. package/dist/components/SNav.vue.d.ts +13 -0
  32. package/dist/components/SNotification.vue.d.ts +15 -0
  33. package/dist/components/SNotificationHost.vue.d.ts +3 -0
  34. package/dist/components/SRange.vue.d.ts +19 -0
  35. package/dist/components/SScrollableEdges.vue.d.ts +21 -0
  36. package/dist/components/SSelect.vue.d.ts +39 -0
  37. package/dist/components/SSpoiler.vue.d.ts +24 -0
  38. package/dist/components/STextSpans.vue.d.ts +35 -0
  39. package/dist/components/STextarea.vue.d.ts +16 -0
  40. package/dist/components/SToggle.vue.d.ts +26 -0
  41. package/dist/components/STooltip.vue.d.ts +16 -0
  42. package/dist/components/STree.vue.d.ts +11 -0
  43. package/dist/components/icons/book-open.vue.d.ts +3 -0
  44. package/dist/components/icons/braces.vue.d.ts +3 -0
  45. package/dist/components/icons/calendar.vue.d.ts +3 -0
  46. package/dist/components/icons/camera.vue.d.ts +3 -0
  47. package/dist/components/icons/check.vue.d.ts +3 -0
  48. package/dist/components/icons/chevron.vue.d.ts +3 -0
  49. package/dist/components/icons/clock.vue.d.ts +3 -0
  50. package/dist/components/icons/close.vue.d.ts +3 -0
  51. package/dist/components/icons/collapse.vue.d.ts +3 -0
  52. package/dist/components/icons/contact-round.vue.d.ts +3 -0
  53. package/dist/components/icons/crown.vue.d.ts +3 -0
  54. package/dist/components/icons/expand.vue.d.ts +3 -0
  55. package/dist/components/icons/file-pen-line.vue.d.ts +3 -0
  56. package/dist/components/icons/fit-screen.vue.d.ts +3 -0
  57. package/dist/components/icons/flip-x.vue.d.ts +3 -0
  58. package/dist/components/icons/flip-y.vue.d.ts +3 -0
  59. package/dist/components/icons/home.vue.d.ts +3 -0
  60. package/dist/components/icons/inbox.vue.d.ts +3 -0
  61. package/dist/components/icons/layout.vue.d.ts +3 -0
  62. package/dist/components/icons/package.vue.d.ts +3 -0
  63. package/dist/components/icons/receipt.vue.d.ts +3 -0
  64. package/dist/components/icons/refresh.vue.d.ts +3 -0
  65. package/dist/components/icons/rotate-left.vue.d.ts +3 -0
  66. package/dist/components/icons/rotate-right.vue.d.ts +3 -0
  67. package/dist/components/icons/send.vue.d.ts +3 -0
  68. package/dist/components/icons/shield-alert.vue.d.ts +3 -0
  69. package/dist/components/icons/trash-2.vue.d.ts +3 -0
  70. package/dist/components/icons/users.vue.d.ts +3 -0
  71. package/dist/components/icons/vertical-dots.vue.d.ts +3 -0
  72. package/dist/components/icons/zoom-in.vue.d.ts +3 -0
  73. package/dist/components/icons/zoom-out.vue.d.ts +3 -0
  74. package/dist/composables/use-clipboard.d.ts +10 -0
  75. package/dist/composables/use-link-component.d.ts +5 -0
  76. package/dist/composables/use-notifications.d.ts +24 -0
  77. package/dist/composables/use-open-select.d.ts +2 -0
  78. package/dist/composables/use-optional-router.d.ts +16 -0
  79. package/dist/composables/use-sinde-user.d.ts +16 -0
  80. package/dist/composables/use-ui-config.d.ts +19 -0
  81. package/dist/icons.d.ts +5 -0
  82. package/dist/index.d.ts +44 -0
  83. package/dist/index.mjs +3892 -0
  84. package/dist/nuxt.d.ts +18 -0
  85. package/dist/nuxt.mjs +44 -0
  86. package/dist/runtime/plugin.mjs +8 -0
  87. package/dist/style.css +2 -0
  88. package/dist/utils/count-form.d.ts +2 -0
  89. package/dist/utils/date.d.ts +5 -0
  90. package/dist/utils/media.d.ts +9 -0
  91. package/dist/utils/picker-dt.d.ts +30 -0
  92. package/package.json +100 -4
@@ -0,0 +1,19 @@
1
+ interface SRangeProps {
2
+ label?: string;
3
+ min?: number;
4
+ max?: number;
5
+ step?: number;
6
+ disabled?: boolean;
7
+ showValue?: boolean;
8
+ }
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
11
+ declare const __VLS_export: import("vue").DefineComponent<SRangeProps & {
12
+ modelValue?: number;
13
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
+ "update:modelValue": (value: number) => any;
15
+ }, string, import("vue").PublicProps, Readonly<SRangeProps & {
16
+ modelValue?: number;
17
+ }> & Readonly<{
18
+ "onUpdate:modelValue"?: ((value: number) => any) | undefined;
19
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -0,0 +1,21 @@
1
+ type Side = "left" | "right" | "top" | "bottom";
2
+ type Axis = "x" | "y" | "both";
3
+ type EdgeState = Partial<Record<Side, boolean>>;
4
+ interface SScrollableEdgesProps {
5
+ edges?: EdgeState;
6
+ active?: EdgeState;
7
+ axis?: Axis;
8
+ area?: "full" | "trim-bottom";
9
+ layer?: "default" | "raised";
10
+ hideScrollbar?: boolean;
11
+ }
12
+ declare const _default: typeof __VLS_export;
13
+ export default _default;
14
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<SScrollableEdgesProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SScrollableEdgesProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
15
+ default?: (props: {}) => any;
16
+ }>;
17
+ type __VLS_WithSlots<T, S> = T & {
18
+ new (): {
19
+ $slots: S;
20
+ };
21
+ };
@@ -0,0 +1,39 @@
1
+ /** @public */
2
+ export type SSelectOption<V = string | number> = {
3
+ value: V;
4
+ label: string;
5
+ disabled?: boolean;
6
+ };
7
+ interface SSelectProps<V = string | number> {
8
+ options?: SSelectOption<V>[];
9
+ id?: string;
10
+ name?: string;
11
+ disabled?: boolean;
12
+ invalid?: boolean;
13
+ placeholder?: string;
14
+ filter?: boolean;
15
+ clearable?: boolean;
16
+ allowCustom?: boolean;
17
+ }
18
+ declare const _default: typeof __VLS_export;
19
+ export default _default;
20
+ declare const __VLS_export: <T extends string | number = string | number>(__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<{
21
+ props: import('vue').PublicProps & __VLS_PrettifyLocal<(SSelectProps<T> & {
22
+ modelValue?: T | null;
23
+ }) & {
24
+ "onUpdate:modelValue"?: ((value: T | null | undefined) => any) | undefined;
25
+ }> & (typeof globalThis extends {
26
+ __VLS_PROPS_FALLBACK: infer P;
27
+ } ? P : {});
28
+ expose: (exposed: {}) => void;
29
+ attrs: any;
30
+ slots: {};
31
+ emit: (event: "update:modelValue", value: T | null | undefined) => void;
32
+ }>) => import('vue').VNode & {
33
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
34
+ };
35
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
36
+ [K in keyof T]: T[K];
37
+ } : {
38
+ [K in keyof T as K]: T[K];
39
+ }) & {};
@@ -0,0 +1,24 @@
1
+ type __VLS_Props = {
2
+ label?: string;
3
+ };
4
+ type __VLS_ModelProps = {
5
+ modelValue?: boolean;
6
+ };
7
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
8
+ declare var __VLS_6: {};
9
+ type __VLS_Slots = {} & {
10
+ default?: (props: typeof __VLS_6) => any;
11
+ };
12
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
+ "update:modelValue": (value: boolean) => any;
14
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
15
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
16
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
18
+ declare const _default: typeof __VLS_export;
19
+ export default _default;
20
+ type __VLS_WithSlots<T, S> = T & {
21
+ new (): {
22
+ $slots: S;
23
+ };
24
+ };
@@ -0,0 +1,35 @@
1
+ export declare const TextGap: {
2
+ readonly Tightest: "tightest";
3
+ readonly Tight: "tight";
4
+ readonly Normal: "normal";
5
+ readonly Wide: "wide";
6
+ readonly Widest: "widest";
7
+ };
8
+ export type STextGap = (typeof TextGap)[keyof typeof TextGap];
9
+ export type TextGap = STextGap;
10
+ export declare const TextSize: {
11
+ readonly Xs: "text-xs";
12
+ readonly Sm: "text-sm";
13
+ readonly Base: "text-base";
14
+ readonly Lg: "text-lg";
15
+ readonly Xl: "text-xl";
16
+ };
17
+ export type STextSize = (typeof TextSize)[keyof typeof TextSize];
18
+ export type TextSize = STextSize;
19
+ export declare const TextColor: {
20
+ readonly Inherit: "text-inherit";
21
+ readonly Default: "text-(--text-default)";
22
+ readonly Accent: "text-(--accent)";
23
+ readonly Muted: "opacity-60";
24
+ };
25
+ export type STextColor = (typeof TextColor)[keyof typeof TextColor];
26
+ export type TextColor = STextColor;
27
+ interface STextSpansProps {
28
+ text: string;
29
+ gap?: STextGap;
30
+ textSize?: STextSize;
31
+ textColor?: STextColor;
32
+ }
33
+ declare const _default: typeof __VLS_export;
34
+ export default _default;
35
+ declare const __VLS_export: import("vue").DefineComponent<STextSpansProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<STextSpansProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -0,0 +1,16 @@
1
+ interface STextareaProps {
2
+ id?: string;
3
+ rows?: number | string;
4
+ invalid?: boolean;
5
+ }
6
+ declare const _default: typeof __VLS_export;
7
+ export default _default;
8
+ declare const __VLS_export: import("vue").DefineComponent<STextareaProps & {
9
+ modelValue?: string;
10
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
+ "update:modelValue": (value: string) => any;
12
+ }, string, import("vue").PublicProps, Readonly<STextareaProps & {
13
+ modelValue?: string;
14
+ }> & Readonly<{
15
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
16
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -0,0 +1,26 @@
1
+ interface SToggleProps {
2
+ id?: string;
3
+ name?: string;
4
+ label?: string;
5
+ disabled?: boolean;
6
+ }
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
9
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<SToggleProps & {
10
+ modelValue?: boolean;
11
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
+ change: (event: Event) => any;
13
+ "update:modelValue": (value: boolean) => any;
14
+ }, string, import("vue").PublicProps, Readonly<SToggleProps & {
15
+ modelValue?: boolean;
16
+ }> & Readonly<{
17
+ onChange?: ((event: Event) => any) | undefined;
18
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
19
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
20
+ default?: (props: {}) => any;
21
+ }>;
22
+ type __VLS_WithSlots<T, S> = T & {
23
+ new (): {
24
+ $slots: S;
25
+ };
26
+ };
@@ -0,0 +1,16 @@
1
+ declare const _default: typeof __VLS_export;
2
+ export default _default;
3
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
4
+ tooltip?: string;
5
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
6
+ tooltip?: string;
7
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
8
+ default?: (props: {}) => any;
9
+ } & {
10
+ tooltip?: (props: {}) => any;
11
+ }>;
12
+ type __VLS_WithSlots<T, S> = T & {
13
+ new (): {
14
+ $slots: S;
15
+ };
16
+ };
@@ -0,0 +1,11 @@
1
+ type STreeListItem = string | {
2
+ text: string;
3
+ children?: STreeListItem[];
4
+ };
5
+ interface STreeListProps {
6
+ items: STreeListItem[];
7
+ h?: string;
8
+ }
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
11
+ declare const __VLS_export: import("vue").DefineComponent<STreeListProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<STreeListProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,10 @@
1
+ import { type ComputedRef, type MaybeRefOrGetter, type Ref } from "vue";
2
+ export interface UseClipboardReturn {
3
+ isSupported: ComputedRef<boolean>;
4
+ copied: Readonly<Ref<boolean>>;
5
+ copying: Readonly<Ref<boolean>>;
6
+ isIdle: ComputedRef<boolean>;
7
+ copyFrom: (value: MaybeRefOrGetter<string | null | undefined>) => Promise<boolean>;
8
+ paste: (target?: Ref<string>) => Promise<string | null>;
9
+ }
10
+ export declare const useClipboard: (timeout?: number) => UseClipboardReturn;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Возвращает NuxtLink, если приложение работает под Nuxt, иначе обычный <a>.
3
+ * Компоненты пакета не зависят от алиаса `#components` исходного приложения.
4
+ */
5
+ export declare const useLinkComponent: () => string | import("vue").ConcreteComponent<{}, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>;
@@ -0,0 +1,24 @@
1
+ import { type ComputedRef } from "vue";
2
+ export type NotificationType = "success" | "error" | "info";
3
+ export interface AppNotification {
4
+ id: number;
5
+ title: string;
6
+ message?: string;
7
+ type: NotificationType;
8
+ duration: number;
9
+ }
10
+ export interface UseNotificationsReturn {
11
+ items: ComputedRef<AppNotification[]>;
12
+ push: (notification: Omit<AppNotification, "id" | "duration"> & {
13
+ duration?: number;
14
+ }) => number;
15
+ dismiss: (id: number) => void;
16
+ success: (title: string, message?: string) => number;
17
+ error: (title: string, message?: string) => number;
18
+ info: (title: string, message?: string) => number;
19
+ }
20
+ /**
21
+ * Единый стек всплывающих уведомлений. Компонент-хост SNotificationHost
22
+ * отрисовывает очередь через SNotification на любой странице.
23
+ */
24
+ export declare const useNotifications: () => UseNotificationsReturn;
@@ -0,0 +1,2 @@
1
+ import { type Ref } from "vue";
2
+ export declare const useOpenSelect: () => Ref<string | null>;
@@ -0,0 +1,16 @@
1
+ import { type ComputedRef } from "vue";
2
+ export interface RouterLike {
3
+ currentRoute: {
4
+ value: {
5
+ path: string;
6
+ };
7
+ };
8
+ replace(to: string): Promise<unknown>;
9
+ }
10
+ /**
11
+ * Маршрутизатор приложения, если он установлен (Nuxt ставит vue-router сам).
12
+ * Библиотека не требует vue-router напрямую: без него навигационные
13
+ * компоненты просто не подсвечивают активный пункт.
14
+ */
15
+ export declare const useOptionalRouter: () => RouterLike | undefined;
16
+ export declare const useOptionalRoutePath: () => ComputedRef<string>;
@@ -0,0 +1,16 @@
1
+ import { type ComputedRef } from "vue";
2
+ /** Данные текущего пользователя, которые нужны презентационным компонентам. */
3
+ export interface SindeUserInfo {
4
+ /** Подпись: имя или email. */
5
+ name?: string;
6
+ /** Ссылка на аватар. */
7
+ src?: string;
8
+ /** Куда ведёт клик по аватару. */
9
+ to?: string;
10
+ }
11
+ /**
12
+ * Адаптер к приложению: приложение предоставляет данные пользователя, а
13
+ * компоненты пакета не зависят от конкретного стора авторизации Seed.
14
+ */
15
+ export declare const provideSindeUser: (getter: () => SindeUserInfo | null | undefined) => void;
16
+ export declare const useSindeUser: () => ComputedRef<SindeUserInfo | null>;
@@ -0,0 +1,19 @@
1
+ /** Публичная конфигурация UI-системы, общая для всех компонентов пакета. */
2
+ export interface SindeUiConfig {
3
+ /** Зона отображения дат (SDatetime). Пустое значение — зона браузера. */
4
+ timeZone?: string;
5
+ /** Базовый путь прокси медиафайлов (mediaFileSrc). */
6
+ mediaBasePath?: string;
7
+ /** Локаль по умолчанию для форматирования дат и календаря. */
8
+ locale?: string;
9
+ }
10
+ /**
11
+ * Задаёт конфигурацию UI-системы. Вызывается Nuxt-модулем из runtime-плагина
12
+ * (public.sindeUi) или приложением вручную при прямом импорте компонентов.
13
+ */
14
+ export declare const setSindeUiConfig: (config: SindeUiConfig) => void;
15
+ export declare const useSindeUiConfig: () => {
16
+ readonly timeZone?: string;
17
+ readonly mediaBasePath?: string;
18
+ readonly locale?: string;
19
+ };
@@ -0,0 +1,5 @@
1
+ import type { Component } from "vue";
2
+ /** Имя иконки — имя файла в components/icons без расширения. */
3
+ export type SIconName = string;
4
+ export declare const icons: Record<SIconName, Component>;
5
+ export declare const iconNames: SIconName[];
@@ -0,0 +1,44 @@
1
+ export { default as SAppShell } from "./components/SAppShell.vue";
2
+ export { default as SAsideNav, type SAsideNavItem } from "./components/SAsideNav.vue";
3
+ export { default as SAvatar } from "./components/SAvatar.vue";
4
+ export { default as SBtn, BtnState, type SBtnState } from "./components/SBtn.vue";
5
+ export { default as SCheckbox } from "./components/SCheckbox.vue";
6
+ export { default as SCopy } from "./components/SCopy.vue";
7
+ export { default as SCropper } from "./components/SCropper.vue";
8
+ export { default as SDataTable, type SDataTableColumn, type SDataTableRow } from "./components/SDataTable.vue";
9
+ export { default as SDatetime, SDatetimeView, type SDatetimeValue } from "./components/SDatetime.vue";
10
+ export { default as SDateTimePicker } from "./components/SDateTimePicker/index.vue";
11
+ export { default as SDocMarkdown } from "./components/SDocMarkdown.vue";
12
+ export { default as SField } from "./components/SField.vue";
13
+ export { default as SFile } from "./components/SFile.vue";
14
+ export { default as SGradation, type SGradationOption } from "./components/SGradation.vue";
15
+ export { default as SIcon } from "./components/SIcon.vue";
16
+ export { default as SImage, type SImageItem } from "./components/SImage.vue";
17
+ export { default as SInput } from "./components/SInput.vue";
18
+ export { default as SLink } from "./components/SLink.vue";
19
+ export { default as SList } from "./components/SList.vue";
20
+ export { default as SLoad } from "./components/SLoad.vue";
21
+ export { default as SNav, type SNavItem } from "./components/SNav.vue";
22
+ export { default as SNotification } from "./components/SNotification.vue";
23
+ export { default as SNotificationHost } from "./components/SNotificationHost.vue";
24
+ export { default as SRange } from "./components/SRange.vue";
25
+ export { default as SScrollableEdges } from "./components/SScrollableEdges.vue";
26
+ export { default as SSelect, type SSelectOption } from "./components/SSelect.vue";
27
+ export { default as SSpoiler } from "./components/SSpoiler.vue";
28
+ export { default as STextSpans, TextColor, TextGap, TextSize, type STextColor, type STextGap, type STextSize } from "./components/STextSpans.vue";
29
+ export { default as STextarea } from "./components/STextarea.vue";
30
+ export { default as SToggle } from "./components/SToggle.vue";
31
+ export { default as STooltip } from "./components/STooltip.vue";
32
+ export { default as STree } from "./components/STree.vue";
33
+ export { iconNames, icons, type SIconName } from "./icons";
34
+ export { useClipboard } from "./composables/use-clipboard";
35
+ export { useLinkComponent } from "./composables/use-link-component";
36
+ export { useNotifications, type AppNotification, type NotificationType } from "./composables/use-notifications";
37
+ export { useOpenSelect } from "./composables/use-open-select";
38
+ export { useOptionalRoutePath, useOptionalRouter } from "./composables/use-optional-router";
39
+ export { provideSindeUser, useSindeUser, type SindeUserInfo } from "./composables/use-sinde-user";
40
+ export { setSindeUiConfig, useSindeUiConfig, type SindeUiConfig } from "./composables/use-ui-config";
41
+ export { countForm, type WordForms } from "./utils/count-form";
42
+ export { getFormatter } from "./utils/date";
43
+ export { mediaFileSrc, normalizeMediaKey } from "./utils/media";
44
+ export { allTimeZoneOptions, clampDateTimePickerParts, compareDateOnly, dateToPickerParts, formatDateTimePickerDisplay, localTimeZone, parseDateTimePickerModel, resolveDateTimePickerLocale, serializeDateTimePickerModel, type DateTimePickerLocaleInfo, type DateTimePickerParts, type DateTimePickerVisibility } from "./utils/picker-dt";