@nonsuch/component-library 0.5.0 → 0.7.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 (114) hide show
  1. package/dist/components/NsAvatar/NsAvatar.vue.d.ts +40 -0
  2. package/dist/components/NsAvatar/index.d.ts +1 -0
  3. package/dist/components/NsBadge/NsBadge.vue.d.ts +15 -0
  4. package/dist/components/NsBadge/index.d.ts +1 -0
  5. package/dist/components/NsBanner/NsBanner.vue.d.ts +30 -0
  6. package/dist/components/NsBanner/index.d.ts +1 -0
  7. package/dist/components/NsBreadcrumbElement/NsBreadcrumbElement.vue.d.ts +15 -0
  8. package/dist/components/NsBreadcrumbElement/index.d.ts +1 -0
  9. package/dist/components/NsBreadcrumbs/NsBreadcrumbs.vue.d.ts +15 -0
  10. package/dist/components/NsBreadcrumbs/index.d.ts +1 -0
  11. package/dist/components/NsButton/NsButton.vue.d.ts +42 -0
  12. package/dist/components/NsButton/index.d.ts +1 -0
  13. package/dist/components/NsButtonToggle/NsButtonToggle.vue.d.ts +32 -0
  14. package/dist/components/NsButtonToggle/index.d.ts +1 -0
  15. package/dist/components/NsCard/NsCard.vue.d.ts +35 -0
  16. package/dist/components/NsCard/index.d.ts +1 -0
  17. package/dist/components/NsCardActions/NsCardActions.vue.d.ts +15 -0
  18. package/dist/components/NsCardActions/index.d.ts +1 -0
  19. package/dist/components/NsCardSection/NsCardSection.vue.d.ts +15 -0
  20. package/dist/components/NsCardSection/index.d.ts +1 -0
  21. package/dist/components/NsCheckbox/NsCheckbox.vue.d.ts +25 -0
  22. package/dist/components/NsCheckbox/index.d.ts +1 -0
  23. package/dist/components/NsChip/NsChip.vue.d.ts +38 -0
  24. package/dist/components/NsChip/index.d.ts +1 -0
  25. package/dist/components/NsDialog/NsDialog.vue.d.ts +42 -0
  26. package/dist/components/NsDialog/index.d.ts +1 -0
  27. package/dist/components/NsFooter/NsFooter.vue.d.ts +15 -0
  28. package/dist/components/NsFooter/index.d.ts +1 -0
  29. package/dist/components/NsForm/NsForm.vue.d.ts +28 -0
  30. package/dist/components/NsForm/index.d.ts +1 -0
  31. package/dist/components/NsHeader/NsHeader.vue.d.ts +15 -0
  32. package/dist/components/NsHeader/index.d.ts +1 -0
  33. package/dist/components/NsIcon/NsIcon.vue.d.ts +15 -0
  34. package/dist/components/NsIcon/index.d.ts +1 -0
  35. package/dist/components/NsImage/NsImage.vue.d.ts +15 -0
  36. package/dist/components/NsImage/index.d.ts +1 -0
  37. package/dist/components/NsInnerLoading/NsInnerLoading.vue.d.ts +15 -0
  38. package/dist/components/NsInnerLoading/index.d.ts +1 -0
  39. package/dist/components/NsInput/NsInput.vue.d.ts +36 -0
  40. package/dist/components/NsInput/index.d.ts +1 -0
  41. package/dist/components/NsItem/NsItem.vue.d.ts +15 -0
  42. package/dist/components/NsItem/index.d.ts +1 -0
  43. package/dist/components/NsItemLabel/NsItemLabel.vue.d.ts +15 -0
  44. package/dist/components/NsItemLabel/index.d.ts +1 -0
  45. package/dist/components/NsItemSection/NsItemSection.vue.d.ts +15 -0
  46. package/dist/components/NsItemSection/index.d.ts +1 -0
  47. package/dist/components/NsLayout/NsLayout.vue.d.ts +15 -0
  48. package/dist/components/NsLayout/index.d.ts +1 -0
  49. package/dist/components/NsLinearProgress/NsLinearProgress.vue.d.ts +15 -0
  50. package/dist/components/NsLinearProgress/index.d.ts +1 -0
  51. package/dist/components/NsList/NsList.vue.d.ts +28 -0
  52. package/dist/components/NsList/index.d.ts +1 -0
  53. package/dist/components/NsMenu/NsMenu.vue.d.ts +15 -0
  54. package/dist/components/NsMenu/index.d.ts +1 -0
  55. package/dist/components/NsPage/NsPage.vue.d.ts +15 -0
  56. package/dist/components/NsPage/index.d.ts +1 -0
  57. package/dist/components/NsPageContainer/NsPageContainer.vue.d.ts +15 -0
  58. package/dist/components/NsPageContainer/index.d.ts +1 -0
  59. package/dist/components/NsPagination/NsPagination.vue.d.ts +26 -0
  60. package/dist/components/NsPagination/index.d.ts +1 -0
  61. package/dist/components/NsSelect/NsSelect.vue.d.ts +53 -0
  62. package/dist/components/NsSelect/index.d.ts +1 -0
  63. package/dist/components/NsSeparator/NsSeparator.vue.d.ts +5 -0
  64. package/dist/components/NsSeparator/index.d.ts +1 -0
  65. package/dist/components/NsSkeleton/NsSkeleton.vue.d.ts +26 -0
  66. package/dist/components/NsSkeleton/index.d.ts +2 -0
  67. package/dist/components/NsSpace/NsSpace.vue.d.ts +15 -0
  68. package/dist/components/NsSpace/index.d.ts +1 -0
  69. package/dist/components/NsSpinner/NsSpinner.vue.d.ts +5 -0
  70. package/dist/components/NsSpinner/index.d.ts +1 -0
  71. package/dist/components/NsSpinnerDots/NsSpinnerDots.vue.d.ts +5 -0
  72. package/dist/components/NsSpinnerDots/index.d.ts +1 -0
  73. package/dist/components/NsTab/NsTab.vue.d.ts +15 -0
  74. package/dist/components/NsTab/index.d.ts +1 -0
  75. package/dist/components/NsTabPanel/NsTabPanel.vue.d.ts +17 -0
  76. package/dist/components/NsTabPanel/index.d.ts +1 -0
  77. package/dist/components/NsTabPanels/NsTabPanels.vue.d.ts +23 -0
  78. package/dist/components/NsTabPanels/index.d.ts +1 -0
  79. package/dist/components/NsTable/NsTable.vue.d.ts +19 -0
  80. package/dist/components/NsTable/index.d.ts +1 -0
  81. package/dist/components/NsTableCell/NsTableCell.vue.d.ts +15 -0
  82. package/dist/components/NsTableCell/index.d.ts +1 -0
  83. package/dist/components/NsTabs/NsTabs.vue.d.ts +15 -0
  84. package/dist/components/NsTabs/index.d.ts +1 -0
  85. package/dist/components/NsThemeProvider/NsThemeProvider.vue.d.ts +36 -0
  86. package/dist/components/NsThemeProvider/index.d.ts +1 -0
  87. package/dist/components/NsTimeline/NsTimeline.vue.d.ts +15 -0
  88. package/dist/components/NsTimeline/index.d.ts +1 -0
  89. package/dist/components/NsTimelineEntry/NsTimelineEntry.vue.d.ts +15 -0
  90. package/dist/components/NsTimelineEntry/index.d.ts +1 -0
  91. package/dist/components/NsToggle/NsToggle.vue.d.ts +25 -0
  92. package/dist/components/NsToggle/index.d.ts +1 -0
  93. package/dist/components/NsToolbar/NsToolbar.vue.d.ts +15 -0
  94. package/dist/components/NsToolbar/index.d.ts +1 -0
  95. package/dist/components/NsToolbarTitle/NsToolbarTitle.vue.d.ts +15 -0
  96. package/dist/components/NsToolbarTitle/index.d.ts +1 -0
  97. package/dist/components/NsTooltip/NsTooltip.vue.d.ts +29 -0
  98. package/dist/components/NsTooltip/index.d.ts +1 -0
  99. package/dist/composables/index.d.ts +4 -0
  100. package/dist/composables/useNsDarkMode.d.ts +37 -0
  101. package/dist/composables/useNsDefaults.d.ts +25 -0
  102. package/dist/composables/useNsLocale.d.ts +28 -0
  103. package/dist/index.d.ts +112 -0
  104. package/dist/locale/NsLocaleMessages.d.ts +58 -0
  105. package/dist/locale/en-CA.d.ts +8 -0
  106. package/dist/locale/fr-CA.d.ts +5 -0
  107. package/dist/locale/index.d.ts +3 -0
  108. package/dist/manifest.d.ts +26 -0
  109. package/dist/nonsuch-components.css +1 -1
  110. package/dist/nonsuch-components.js +847 -303
  111. package/dist/plugin.d.ts +42 -0
  112. package/dist/quasarConfig.d.ts +41 -0
  113. package/dist/tokens/index.d.ts +20 -0
  114. package/package.json +5 -3
@@ -0,0 +1,40 @@
1
+ /**
2
+ * NsAvatar — A styled avatar wrapping Quasar's QAvatar.
3
+ *
4
+ * Provides Nonsuch size presets and token-based colours.
5
+ */
6
+ export type NsAvatarSize = 'sm' | 'md' | 'lg' | 'xl';
7
+ export interface NsAvatarProps {
8
+ /** Avatar size preset */
9
+ size?: NsAvatarSize;
10
+ /** Background colour */
11
+ color?: string;
12
+ /** Text/icon colour */
13
+ textColor?: string;
14
+ /** Apply rounded (circle) shape */
15
+ rounded?: boolean;
16
+ /** Apply square shape */
17
+ square?: boolean;
18
+ /** Accessible label — omit for decorative avatars (hides from screen readers) */
19
+ ariaLabel?: string;
20
+ }
21
+ declare var __VLS_8: {};
22
+ type __VLS_Slots = {} & {
23
+ default?: (props: typeof __VLS_8) => any;
24
+ };
25
+ declare const __VLS_base: import("vue").DefineComponent<NsAvatarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NsAvatarProps> & Readonly<{}>, {
26
+ color: string;
27
+ size: NsAvatarSize;
28
+ rounded: boolean;
29
+ square: boolean;
30
+ ariaLabel: string;
31
+ textColor: string;
32
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
33
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
34
+ declare const _default: typeof __VLS_export;
35
+ export default _default;
36
+ type __VLS_WithSlots<T, S> = T & {
37
+ new (): {
38
+ $slots: S;
39
+ };
40
+ };
@@ -0,0 +1 @@
1
+ export { default as NsAvatar } from './NsAvatar.vue';
@@ -0,0 +1,15 @@
1
+ export interface NsBadgeProps {
2
+ }
3
+ declare var __VLS_8: {};
4
+ type __VLS_Slots = {} & {
5
+ default?: (props: typeof __VLS_8) => any;
6
+ };
7
+ declare const __VLS_base: import("vue").DefineComponent<NsBadgeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NsBadgeProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
8
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
11
+ type __VLS_WithSlots<T, S> = T & {
12
+ new (): {
13
+ $slots: S;
14
+ };
15
+ };
@@ -0,0 +1 @@
1
+ export { default as NsBadge } from './NsBadge.vue';
@@ -0,0 +1,30 @@
1
+ export type NsBannerType = 'info' | 'success' | 'warning' | 'error';
2
+ export interface NsBannerProps {
3
+ /** Semantic type controlling the banner colour */
4
+ type?: NsBannerType;
5
+ /** Use dense (compact) layout */
6
+ dense?: boolean;
7
+ /** Apply rounded border-radius */
8
+ rounded?: boolean;
9
+ }
10
+ declare var __VLS_9: {}, __VLS_11: {}, __VLS_14: {};
11
+ type __VLS_Slots = {} & {
12
+ avatar?: (props: typeof __VLS_9) => any;
13
+ } & {
14
+ default?: (props: typeof __VLS_11) => any;
15
+ } & {
16
+ action?: (props: typeof __VLS_14) => any;
17
+ };
18
+ declare const __VLS_base: import("vue").DefineComponent<NsBannerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NsBannerProps> & Readonly<{}>, {
19
+ rounded: boolean;
20
+ type: NsBannerType;
21
+ dense: boolean;
22
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
23
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
24
+ declare const _default: typeof __VLS_export;
25
+ export default _default;
26
+ type __VLS_WithSlots<T, S> = T & {
27
+ new (): {
28
+ $slots: S;
29
+ };
30
+ };
@@ -0,0 +1 @@
1
+ export { default as NsBanner } from './NsBanner.vue';
@@ -0,0 +1,15 @@
1
+ export interface NsBreadcrumbElementProps {
2
+ }
3
+ declare var __VLS_8: {};
4
+ type __VLS_Slots = {} & {
5
+ default?: (props: typeof __VLS_8) => any;
6
+ };
7
+ declare const __VLS_base: import("vue").DefineComponent<NsBreadcrumbElementProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NsBreadcrumbElementProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
8
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
11
+ type __VLS_WithSlots<T, S> = T & {
12
+ new (): {
13
+ $slots: S;
14
+ };
15
+ };
@@ -0,0 +1 @@
1
+ export { default as NsBreadcrumbElement } from './NsBreadcrumbElement.vue';
@@ -0,0 +1,15 @@
1
+ export interface NsBreadcrumbsProps {
2
+ }
3
+ declare var __VLS_8: {};
4
+ type __VLS_Slots = {} & {
5
+ default?: (props: typeof __VLS_8) => any;
6
+ };
7
+ declare const __VLS_base: import("vue").DefineComponent<NsBreadcrumbsProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NsBreadcrumbsProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
8
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
11
+ type __VLS_WithSlots<T, S> = T & {
12
+ new (): {
13
+ $slots: S;
14
+ };
15
+ };
@@ -0,0 +1 @@
1
+ export { default as NsBreadcrumbs } from './NsBreadcrumbs.vue';
@@ -0,0 +1,42 @@
1
+ /**
2
+ * NsButton - A styled button wrapping Quasar's QBtn.
3
+ *
4
+ * Provides opinionated defaults: no uppercase text,
5
+ * unelevated style, and rounded edges.
6
+ */
7
+ export interface NsButtonProps {
8
+ /** Quasar color name (from the palette) */
9
+ color?: string;
10
+ /** Button size: xs | sm | md | lg | xl */
11
+ size?: string;
12
+ /** Remove box-shadow elevation */
13
+ unelevated?: boolean;
14
+ /** Disable uppercase text transform */
15
+ noCaps?: boolean;
16
+ /** Apply rounded border-radius */
17
+ rounded?: boolean;
18
+ /** Show a loading spinner overlay */
19
+ loading?: boolean;
20
+ }
21
+ declare var __VLS_8: {}, __VLS_11: {};
22
+ type __VLS_Slots = {} & {
23
+ default?: (props: typeof __VLS_8) => any;
24
+ } & {
25
+ loading?: (props: typeof __VLS_11) => any;
26
+ };
27
+ declare const __VLS_base: import("vue").DefineComponent<NsButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NsButtonProps> & Readonly<{}>, {
28
+ color: string;
29
+ size: string;
30
+ unelevated: boolean;
31
+ noCaps: boolean;
32
+ rounded: boolean;
33
+ loading: boolean;
34
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
35
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
36
+ declare const _default: typeof __VLS_export;
37
+ export default _default;
38
+ type __VLS_WithSlots<T, S> = T & {
39
+ new (): {
40
+ $slots: S;
41
+ };
42
+ };
@@ -0,0 +1 @@
1
+ export { default as NsButton } from './NsButton.vue';
@@ -0,0 +1,32 @@
1
+ export interface NsButtonToggleProps {
2
+ /** Currently selected value */
3
+ modelValue?: unknown;
4
+ /** Toggle button options */
5
+ options?: Array<{
6
+ label: string;
7
+ value: unknown;
8
+ }>;
9
+ }
10
+ declare var __VLS_8: {};
11
+ type __VLS_Slots = {} & {
12
+ default?: (props: typeof __VLS_8) => any;
13
+ };
14
+ declare const __VLS_base: import("vue").DefineComponent<NsButtonToggleProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
+ "update:modelValue": (value: unknown) => any;
16
+ }, string, import("vue").PublicProps, Readonly<NsButtonToggleProps> & Readonly<{
17
+ "onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
18
+ }>, {
19
+ modelValue: undefined;
20
+ options: Array<{
21
+ label: string;
22
+ value: unknown;
23
+ }>;
24
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
25
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
26
+ declare const _default: typeof __VLS_export;
27
+ export default _default;
28
+ type __VLS_WithSlots<T, S> = T & {
29
+ new (): {
30
+ $slots: S;
31
+ };
32
+ };
@@ -0,0 +1 @@
1
+ export { default as NsButtonToggle } from './NsButtonToggle.vue';
@@ -0,0 +1,35 @@
1
+ /**
2
+ * NsCard — A styled card wrapping Quasar's QCard.
3
+ *
4
+ * Provides opinionated defaults: rounded corners via design tokens,
5
+ * subtle shadow, and standard header/body/actions slot layout.
6
+ */
7
+ export interface NsCardProps {
8
+ /** Card title shown in the header section */
9
+ title?: string;
10
+ /** Subtitle shown below the title */
11
+ subtitle?: string;
12
+ /** Remove box-shadow for a flat appearance */
13
+ flat?: boolean;
14
+ }
15
+ declare var __VLS_14: {}, __VLS_22: {}, __VLS_30: {};
16
+ type __VLS_Slots = {} & {
17
+ header?: (props: typeof __VLS_14) => any;
18
+ } & {
19
+ default?: (props: typeof __VLS_22) => any;
20
+ } & {
21
+ actions?: (props: typeof __VLS_30) => any;
22
+ };
23
+ declare const __VLS_base: import("vue").DefineComponent<NsCardProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NsCardProps> & Readonly<{}>, {
24
+ flat: boolean;
25
+ title: string;
26
+ subtitle: string;
27
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
28
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
29
+ declare const _default: typeof __VLS_export;
30
+ export default _default;
31
+ type __VLS_WithSlots<T, S> = T & {
32
+ new (): {
33
+ $slots: S;
34
+ };
35
+ };
@@ -0,0 +1 @@
1
+ export { default as NsCard } from './NsCard.vue';
@@ -0,0 +1,15 @@
1
+ export interface NsCardActionsProps {
2
+ }
3
+ declare var __VLS_8: {};
4
+ type __VLS_Slots = {} & {
5
+ default?: (props: typeof __VLS_8) => any;
6
+ };
7
+ declare const __VLS_base: import("vue").DefineComponent<NsCardActionsProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NsCardActionsProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
8
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
11
+ type __VLS_WithSlots<T, S> = T & {
12
+ new (): {
13
+ $slots: S;
14
+ };
15
+ };
@@ -0,0 +1 @@
1
+ export { default as NsCardActions } from './NsCardActions.vue';
@@ -0,0 +1,15 @@
1
+ export interface NsCardSectionProps {
2
+ }
3
+ declare var __VLS_8: {};
4
+ type __VLS_Slots = {} & {
5
+ default?: (props: typeof __VLS_8) => any;
6
+ };
7
+ declare const __VLS_base: import("vue").DefineComponent<NsCardSectionProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NsCardSectionProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
8
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
11
+ type __VLS_WithSlots<T, S> = T & {
12
+ new (): {
13
+ $slots: S;
14
+ };
15
+ };
@@ -0,0 +1 @@
1
+ export { default as NsCardSection } from './NsCardSection.vue';
@@ -0,0 +1,25 @@
1
+ export interface NsCheckboxProps {
2
+ /** Checkbox label text */
3
+ label?: string;
4
+ /** v-model value */
5
+ modelValue?: boolean;
6
+ /** Quasar colour name */
7
+ color?: string;
8
+ /** Use dense (compact) size */
9
+ dense?: boolean;
10
+ /** Disable the checkbox */
11
+ disable?: boolean;
12
+ }
13
+ declare const __VLS_export: import("vue").DefineComponent<NsCheckboxProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
+ "update:modelValue": (value: boolean) => any;
15
+ }, string, import("vue").PublicProps, Readonly<NsCheckboxProps> & Readonly<{
16
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
17
+ }>, {
18
+ color: string;
19
+ label: string;
20
+ modelValue: boolean;
21
+ dense: boolean;
22
+ disable: boolean;
23
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
24
+ declare const _default: typeof __VLS_export;
25
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as NsCheckbox } from './NsCheckbox.vue';
@@ -0,0 +1,38 @@
1
+ export interface NsChipProps {
2
+ /** Background colour */
3
+ color?: string;
4
+ /** Text colour */
5
+ textColor?: string;
6
+ /** Use outline style */
7
+ outline?: boolean;
8
+ /** Use dense (compact) size */
9
+ dense?: boolean;
10
+ /** Show a remove button */
11
+ removable?: boolean;
12
+ /** Make the chip clickable */
13
+ clickable?: boolean;
14
+ }
15
+ declare var __VLS_10: {};
16
+ type __VLS_Slots = {} & {
17
+ default?: (props: typeof __VLS_10) => any;
18
+ };
19
+ declare const __VLS_base: import("vue").DefineComponent<NsChipProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
20
+ remove: () => any;
21
+ }, string, import("vue").PublicProps, Readonly<NsChipProps> & Readonly<{
22
+ onRemove?: (() => any) | undefined;
23
+ }>, {
24
+ color: string;
25
+ dense: boolean;
26
+ textColor: string;
27
+ outline: boolean;
28
+ removable: boolean;
29
+ clickable: boolean;
30
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
31
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
32
+ declare const _default: typeof __VLS_export;
33
+ export default _default;
34
+ type __VLS_WithSlots<T, S> = T & {
35
+ new (): {
36
+ $slots: S;
37
+ };
38
+ };
@@ -0,0 +1 @@
1
+ export { default as NsChip } from './NsChip.vue';
@@ -0,0 +1,42 @@
1
+ /**
2
+ * NsDialog — A styled dialog wrapping Quasar's QDialog.
3
+ *
4
+ * Provides a consistent header/body/actions layout with
5
+ * token-based styling. Uses a QCard internally for structure.
6
+ */
7
+ export interface NsDialogProps {
8
+ /** v-model to show/hide the dialog */
9
+ modelValue?: boolean;
10
+ /** Dialog title shown in the header */
11
+ title?: string;
12
+ /** Prevent closing by pressing Escape */
13
+ persistent?: boolean;
14
+ /** Prevent closing by clicking backdrop */
15
+ noBackdropDismiss?: boolean;
16
+ }
17
+ declare var __VLS_22: {}, __VLS_30: {}, __VLS_38: {};
18
+ type __VLS_Slots = {} & {
19
+ header?: (props: typeof __VLS_22) => any;
20
+ } & {
21
+ default?: (props: typeof __VLS_30) => any;
22
+ } & {
23
+ actions?: (props: typeof __VLS_38) => any;
24
+ };
25
+ declare const __VLS_base: import("vue").DefineComponent<NsDialogProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
26
+ "update:modelValue": (value: boolean) => any;
27
+ }, string, import("vue").PublicProps, Readonly<NsDialogProps> & Readonly<{
28
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
29
+ }>, {
30
+ modelValue: boolean;
31
+ title: string;
32
+ persistent: boolean;
33
+ noBackdropDismiss: boolean;
34
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
35
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
36
+ declare const _default: typeof __VLS_export;
37
+ export default _default;
38
+ type __VLS_WithSlots<T, S> = T & {
39
+ new (): {
40
+ $slots: S;
41
+ };
42
+ };
@@ -0,0 +1 @@
1
+ export { default as NsDialog } from './NsDialog.vue';
@@ -0,0 +1,15 @@
1
+ export interface NsFooterProps {
2
+ }
3
+ declare var __VLS_8: {};
4
+ type __VLS_Slots = {} & {
5
+ default?: (props: typeof __VLS_8) => any;
6
+ };
7
+ declare const __VLS_base: import("vue").DefineComponent<NsFooterProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NsFooterProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
8
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
11
+ type __VLS_WithSlots<T, S> = T & {
12
+ new (): {
13
+ $slots: S;
14
+ };
15
+ };
@@ -0,0 +1 @@
1
+ export { default as NsFooter } from './NsFooter.vue';
@@ -0,0 +1,28 @@
1
+ export interface NsFormProps {
2
+ /** Validate all fields even after the first error */
3
+ greedy?: boolean;
4
+ /** Accessible label for the form */
5
+ ariaLabel?: string;
6
+ }
7
+ declare var __VLS_11: {};
8
+ type __VLS_Slots = {} & {
9
+ default?: (props: typeof __VLS_11) => any;
10
+ };
11
+ declare const __VLS_base: import("vue").DefineComponent<NsFormProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
+ submit: (event: Event) => any;
13
+ validationError: (ref: unknown) => any;
14
+ }, string, import("vue").PublicProps, Readonly<NsFormProps> & Readonly<{
15
+ onSubmit?: ((event: Event) => any) | undefined;
16
+ onValidationError?: ((ref: unknown) => any) | undefined;
17
+ }>, {
18
+ greedy: boolean;
19
+ ariaLabel: string;
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
+ };
@@ -0,0 +1 @@
1
+ export { default as NsForm } from './NsForm.vue';
@@ -0,0 +1,15 @@
1
+ export interface NsHeaderProps {
2
+ }
3
+ declare var __VLS_8: {};
4
+ type __VLS_Slots = {} & {
5
+ default?: (props: typeof __VLS_8) => any;
6
+ };
7
+ declare const __VLS_base: import("vue").DefineComponent<NsHeaderProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NsHeaderProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
8
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
11
+ type __VLS_WithSlots<T, S> = T & {
12
+ new (): {
13
+ $slots: S;
14
+ };
15
+ };
@@ -0,0 +1 @@
1
+ export { default as NsHeader } from './NsHeader.vue';
@@ -0,0 +1,15 @@
1
+ export interface NsIconProps {
2
+ }
3
+ declare var __VLS_8: {};
4
+ type __VLS_Slots = {} & {
5
+ default?: (props: typeof __VLS_8) => any;
6
+ };
7
+ declare const __VLS_base: import("vue").DefineComponent<NsIconProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NsIconProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
8
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
11
+ type __VLS_WithSlots<T, S> = T & {
12
+ new (): {
13
+ $slots: S;
14
+ };
15
+ };
@@ -0,0 +1 @@
1
+ export { default as NsIcon } from './NsIcon.vue';
@@ -0,0 +1,15 @@
1
+ export interface NsImageProps {
2
+ }
3
+ declare var __VLS_8: {};
4
+ type __VLS_Slots = {} & {
5
+ default?: (props: typeof __VLS_8) => any;
6
+ };
7
+ declare const __VLS_base: import("vue").DefineComponent<NsImageProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NsImageProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
8
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
11
+ type __VLS_WithSlots<T, S> = T & {
12
+ new (): {
13
+ $slots: S;
14
+ };
15
+ };
@@ -0,0 +1 @@
1
+ export { default as NsImage } from './NsImage.vue';
@@ -0,0 +1,15 @@
1
+ export interface NsInnerLoadingProps {
2
+ }
3
+ declare var __VLS_8: {};
4
+ type __VLS_Slots = {} & {
5
+ default?: (props: typeof __VLS_8) => any;
6
+ };
7
+ declare const __VLS_base: import("vue").DefineComponent<NsInnerLoadingProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NsInnerLoadingProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
8
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
11
+ type __VLS_WithSlots<T, S> = T & {
12
+ new (): {
13
+ $slots: S;
14
+ };
15
+ };
@@ -0,0 +1 @@
1
+ export { default as NsInnerLoading } from './NsInnerLoading.vue';
@@ -0,0 +1,36 @@
1
+ import type { ValidationRule } from 'quasar';
2
+ export interface NsInputProps {
3
+ /** Input label text */
4
+ label?: string;
5
+ /** v-model value */
6
+ modelValue?: string;
7
+ /** Use outlined style */
8
+ outlined?: boolean;
9
+ /** Use dense (compact) size */
10
+ dense?: boolean;
11
+ /** Validation rules — array of Quasar validation rules */
12
+ rules?: ValidationRule[];
13
+ }
14
+ declare var __VLS_12: string, __VLS_13: any;
15
+ type __VLS_Slots = {} & {
16
+ [K in NonNullable<typeof __VLS_12>]?: (props: typeof __VLS_13) => any;
17
+ };
18
+ declare const __VLS_base: import("vue").DefineComponent<NsInputProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
19
+ "update:modelValue": (value: string | number | null) => any;
20
+ }, string, import("vue").PublicProps, Readonly<NsInputProps> & Readonly<{
21
+ "onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
22
+ }>, {
23
+ label: string;
24
+ modelValue: string;
25
+ outlined: boolean;
26
+ dense: boolean;
27
+ rules: ValidationRule[];
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
+ };
@@ -0,0 +1 @@
1
+ export { default as NsInput } from './NsInput.vue';
@@ -0,0 +1,15 @@
1
+ export interface NsItemProps {
2
+ }
3
+ declare var __VLS_8: {};
4
+ type __VLS_Slots = {} & {
5
+ default?: (props: typeof __VLS_8) => any;
6
+ };
7
+ declare const __VLS_base: import("vue").DefineComponent<NsItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NsItemProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
8
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
11
+ type __VLS_WithSlots<T, S> = T & {
12
+ new (): {
13
+ $slots: S;
14
+ };
15
+ };
@@ -0,0 +1 @@
1
+ export { default as NsItem } from './NsItem.vue';
@@ -0,0 +1,15 @@
1
+ export interface NsItemLabelProps {
2
+ }
3
+ declare var __VLS_8: {};
4
+ type __VLS_Slots = {} & {
5
+ default?: (props: typeof __VLS_8) => any;
6
+ };
7
+ declare const __VLS_base: import("vue").DefineComponent<NsItemLabelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NsItemLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
8
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
11
+ type __VLS_WithSlots<T, S> = T & {
12
+ new (): {
13
+ $slots: S;
14
+ };
15
+ };
@@ -0,0 +1 @@
1
+ export { default as NsItemLabel } from './NsItemLabel.vue';