@nonsuch/component-library 0.6.0 → 0.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +75 -0
- package/dist/breakpoints/index.d.ts +72 -0
- package/dist/components/NsBadge/NsBadge.vue.d.ts +15 -0
- package/dist/components/NsBadge/index.d.ts +1 -0
- package/dist/components/NsBreadcrumbElement/NsBreadcrumbElement.vue.d.ts +15 -0
- package/dist/components/NsBreadcrumbElement/index.d.ts +1 -0
- package/dist/components/NsBreadcrumbs/NsBreadcrumbs.vue.d.ts +15 -0
- package/dist/components/NsBreadcrumbs/index.d.ts +1 -0
- package/dist/components/NsButtonToggle/NsButtonToggle.vue.d.ts +32 -0
- package/dist/components/NsButtonToggle/index.d.ts +1 -0
- package/dist/components/NsCardActions/NsCardActions.vue.d.ts +15 -0
- package/dist/components/NsCardActions/index.d.ts +1 -0
- package/dist/components/NsCardSection/NsCardSection.vue.d.ts +15 -0
- package/dist/components/NsCardSection/index.d.ts +1 -0
- package/dist/components/NsCheckbox/NsCheckbox.vue.d.ts +0 -5
- package/dist/components/NsChip/NsChip.vue.d.ts +0 -6
- package/dist/components/NsFooter/NsFooter.vue.d.ts +15 -0
- package/dist/components/NsFooter/index.d.ts +1 -0
- package/dist/components/NsForm/NsForm.vue.d.ts +0 -6
- package/dist/components/NsHeader/NsHeader.vue.d.ts +15 -0
- package/dist/components/NsHeader/index.d.ts +1 -0
- package/dist/components/NsIcon/NsIcon.vue.d.ts +15 -0
- package/dist/components/NsIcon/index.d.ts +1 -0
- package/dist/components/NsImage/NsImage.vue.d.ts +15 -0
- package/dist/components/NsImage/index.d.ts +1 -0
- package/dist/components/NsInnerLoading/NsInnerLoading.vue.d.ts +15 -0
- package/dist/components/NsInnerLoading/index.d.ts +1 -0
- package/dist/components/NsInput/NsInput.vue.d.ts +0 -6
- package/dist/components/NsItem/NsItem.vue.d.ts +15 -0
- package/dist/components/NsItem/index.d.ts +1 -0
- package/dist/components/NsItemLabel/NsItemLabel.vue.d.ts +15 -0
- package/dist/components/NsItemLabel/index.d.ts +1 -0
- package/dist/components/NsItemSection/NsItemSection.vue.d.ts +15 -0
- package/dist/components/NsItemSection/index.d.ts +1 -0
- package/dist/components/NsLayout/NsLayout.vue.d.ts +15 -0
- package/dist/components/NsLayout/index.d.ts +1 -0
- package/dist/components/NsLinearProgress/NsLinearProgress.vue.d.ts +15 -0
- package/dist/components/NsLinearProgress/index.d.ts +1 -0
- package/dist/components/NsList/NsList.vue.d.ts +0 -6
- package/dist/components/NsMenu/NsMenu.vue.d.ts +15 -0
- package/dist/components/NsMenu/index.d.ts +1 -0
- package/dist/components/NsPage/NsPage.vue.d.ts +15 -0
- package/dist/components/NsPage/index.d.ts +1 -0
- package/dist/components/NsPageContainer/NsPageContainer.vue.d.ts +15 -0
- package/dist/components/NsPageContainer/index.d.ts +1 -0
- package/dist/components/NsPagination/NsPagination.vue.d.ts +26 -0
- package/dist/components/NsPagination/index.d.ts +1 -0
- package/dist/components/NsSelect/NsSelect.vue.d.ts +0 -6
- package/dist/components/NsSeparator/NsSeparator.vue.d.ts +5 -0
- package/dist/components/NsSeparator/index.d.ts +1 -0
- package/dist/components/NsSkeleton/NsSkeleton.vue.d.ts +0 -7
- package/dist/components/NsSpace/NsSpace.vue.d.ts +15 -0
- package/dist/components/NsSpace/index.d.ts +1 -0
- package/dist/components/NsSpinner/NsSpinner.vue.d.ts +5 -0
- package/dist/components/NsSpinner/index.d.ts +1 -0
- package/dist/components/NsSpinnerDots/NsSpinnerDots.vue.d.ts +5 -0
- package/dist/components/NsSpinnerDots/index.d.ts +1 -0
- package/dist/components/NsTab/NsTab.vue.d.ts +15 -0
- package/dist/components/NsTab/index.d.ts +1 -0
- package/dist/components/NsTabPanel/NsTabPanel.vue.d.ts +17 -0
- package/dist/components/NsTabPanel/index.d.ts +1 -0
- package/dist/components/NsTabPanels/NsTabPanels.vue.d.ts +23 -0
- package/dist/components/NsTabPanels/index.d.ts +1 -0
- package/dist/components/NsTable/NsTable.vue.d.ts +19 -0
- package/dist/components/NsTable/index.d.ts +1 -0
- package/dist/components/NsTableCell/NsTableCell.vue.d.ts +15 -0
- package/dist/components/NsTableCell/index.d.ts +1 -0
- package/dist/components/NsTabs/NsTabs.vue.d.ts +15 -0
- package/dist/components/NsTabs/index.d.ts +1 -0
- package/dist/components/NsTimeline/NsTimeline.vue.d.ts +15 -0
- package/dist/components/NsTimeline/index.d.ts +1 -0
- package/dist/components/NsTimelineEntry/NsTimelineEntry.vue.d.ts +15 -0
- package/dist/components/NsTimelineEntry/index.d.ts +1 -0
- package/dist/components/NsToggle/NsToggle.vue.d.ts +0 -5
- package/dist/components/NsToolbar/NsToolbar.vue.d.ts +15 -0
- package/dist/components/NsToolbar/index.d.ts +1 -0
- package/dist/components/NsToolbarTitle/NsToolbarTitle.vue.d.ts +15 -0
- package/dist/components/NsToolbarTitle/index.d.ts +1 -0
- package/dist/components/NsTooltip/NsTooltip.vue.d.ts +0 -6
- package/dist/index.d.ts +71 -0
- package/dist/manifest.d.ts +26 -0
- package/dist/nonsuch-components.css +1 -1
- package/dist/nonsuch-components.js +856 -305
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -224,6 +224,45 @@ All tokens use the `--ns-` prefix and support light/dark mode automatically. Cur
|
|
|
224
224
|
|
|
225
225
|
Dark mode activates via `class="dark"`, `data-theme="dark"`, Quasar's `.q-dark`, or `prefers-color-scheme: dark`.
|
|
226
226
|
|
|
227
|
+
### Breakpoints
|
|
228
|
+
|
|
229
|
+
The library ships Quasar-aligned breakpoint values and media-query helpers:
|
|
230
|
+
|
|
231
|
+
```ts
|
|
232
|
+
import {
|
|
233
|
+
nsBreakpoints,
|
|
234
|
+
nsMediaUp,
|
|
235
|
+
nsMediaDown,
|
|
236
|
+
nsMediaOnly,
|
|
237
|
+
nsMediaBetween,
|
|
238
|
+
} from '@nonsuch/component-library'
|
|
239
|
+
```
|
|
240
|
+
|
|
241
|
+
| Name | Min-width | Range | Note |
|
|
242
|
+
| ---- | --------- | -------------- | ----- |
|
|
243
|
+
| xs | 0 | 0 – 599 px | |
|
|
244
|
+
| sm | 600 | 600 – 1023 px | |
|
|
245
|
+
| md | 1024 | 1024 – 1439 px | |
|
|
246
|
+
| lg | 1440 | 1440 – 1919 px | |
|
|
247
|
+
| xl | 1920 | 1920 – 2559 px | |
|
|
248
|
+
| xxl | 2560 | 2560 – 3839 px | 1440p |
|
|
249
|
+
| xxxl | 3840 | 3840 px + | 4K |
|
|
250
|
+
|
|
251
|
+
Media-query helpers return `matchMedia()`-ready strings:
|
|
252
|
+
|
|
253
|
+
```ts
|
|
254
|
+
nsMediaUp('md') // '(min-width: 1024px)'
|
|
255
|
+
nsMediaDown('md') // '(max-width: 1023px)'
|
|
256
|
+
nsMediaOnly('md') // '(min-width: 1024px) and (max-width: 1439px)'
|
|
257
|
+
nsMediaBetween('sm', 'lg') // '(min-width: 600px) and (max-width: 1919px)'
|
|
258
|
+
```
|
|
259
|
+
|
|
260
|
+
To customize in the future, spread and override:
|
|
261
|
+
|
|
262
|
+
```ts
|
|
263
|
+
const custom = { ...nsBreakpoints, lg: 1280 }
|
|
264
|
+
```
|
|
265
|
+
|
|
227
266
|
## Development
|
|
228
267
|
|
|
229
268
|
```bash
|
|
@@ -249,29 +288,65 @@ pnpm build:storybook
|
|
|
249
288
|
```text
|
|
250
289
|
src/
|
|
251
290
|
index.ts # Library entry — exports all public API
|
|
291
|
+
manifest.ts # Quasar → Ns component mapping for sync enforcement
|
|
252
292
|
plugin.ts # createNonsuch() Vue plugin
|
|
253
293
|
quasarConfig.ts # createQuasarConfig() helper
|
|
254
294
|
components/
|
|
255
295
|
NsAvatar/ # Avatar with size presets
|
|
296
|
+
NsBadge/ # Styled QBadge wrapper
|
|
256
297
|
NsBanner/ # Info/success/warning/error banners
|
|
298
|
+
NsBreadcrumbs/ # Breadcrumb navigation
|
|
299
|
+
NsBreadcrumbElement/ # Individual breadcrumb item
|
|
257
300
|
NsButton/ # Styled QBtn wrapper
|
|
301
|
+
NsButtonToggle/ # Toggle between button options
|
|
258
302
|
NsCard/ # Card with title/subtitle/actions slots
|
|
303
|
+
NsCardActions/ # Card action bar
|
|
304
|
+
NsCardSection/ # Card content section
|
|
259
305
|
NsCheckbox/ # Styled QCheckbox wrapper
|
|
260
306
|
NsChip/ # Tag/filter chip
|
|
261
307
|
NsDialog/ # Modal dialog with header/body/actions
|
|
308
|
+
NsFooter/ # App footer (within NsLayout)
|
|
262
309
|
NsForm/ # Form wrapper with validation
|
|
310
|
+
NsHeader/ # App header (within NsLayout)
|
|
311
|
+
NsIcon/ # Styled QIcon wrapper
|
|
312
|
+
NsImage/ # Styled QImg wrapper
|
|
313
|
+
NsInnerLoading/ # Overlay loading indicator
|
|
263
314
|
NsInput/ # Styled QInput wrapper
|
|
315
|
+
NsItem/ # List item
|
|
316
|
+
NsItemLabel/ # List item label
|
|
317
|
+
NsItemSection/ # List item section
|
|
318
|
+
NsLayout/ # App layout container
|
|
319
|
+
NsLinearProgress/ # Linear progress bar
|
|
264
320
|
NsList/ # List with separator defaults
|
|
321
|
+
NsMenu/ # Dropdown/context menu
|
|
322
|
+
NsPage/ # Page content area
|
|
323
|
+
NsPageContainer/ # Page container (within NsLayout)
|
|
324
|
+
NsPagination/ # Page navigation controls
|
|
265
325
|
NsSelect/ # Styled QSelect dropdown
|
|
326
|
+
NsSeparator/ # Horizontal/vertical separator
|
|
266
327
|
NsSkeleton/ # Loading skeleton with animation
|
|
328
|
+
NsSpace/ # Flex spacer
|
|
329
|
+
NsSpinner/ # Circular spinner
|
|
330
|
+
NsSpinnerDots/ # Dot-style spinner
|
|
331
|
+
NsTab/ # Tab item (within NsTabs)
|
|
332
|
+
NsTabPanel/ # Tab panel content
|
|
333
|
+
NsTabPanels/ # Tab panels container
|
|
334
|
+
NsTable/ # Data table
|
|
335
|
+
NsTableCell/ # Table cell
|
|
336
|
+
NsTabs/ # Tab navigation bar
|
|
267
337
|
NsThemeProvider/ # Renderless locale provider
|
|
338
|
+
NsTimeline/ # Timeline container
|
|
339
|
+
NsTimelineEntry/ # Timeline entry item
|
|
268
340
|
NsToggle/ # Styled QToggle switch
|
|
341
|
+
NsToolbar/ # Toolbar container
|
|
342
|
+
NsToolbarTitle/ # Toolbar title
|
|
269
343
|
NsTooltip/ # Tooltip with consistent delays
|
|
270
344
|
composables/
|
|
271
345
|
useNsLocale.ts # Locale injection/provision
|
|
272
346
|
useNsDarkMode.ts # Dark mode with persistence
|
|
273
347
|
useNsDefaults.ts # Default value helper
|
|
274
348
|
locale/ # en-CA, fr-CA string packs
|
|
349
|
+
breakpoints/ # Breakpoint values + media query helpers
|
|
275
350
|
tokens/ # Design token CSS + TS helpers
|
|
276
351
|
fonts/ # Fixel font files + CSS
|
|
277
352
|
```
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nonsuch Breakpoints
|
|
3
|
+
*
|
|
4
|
+
* Adopts Quasar's breakpoint scale as the library default.
|
|
5
|
+
* Values are customizable — update `nsBreakpoints` if Nonsuch
|
|
6
|
+
* needs to diverge from Quasar in the future.
|
|
7
|
+
*
|
|
8
|
+
* @see https://quasar.dev/style/breakpoints
|
|
9
|
+
*/
|
|
10
|
+
/** Named breakpoint sizes. */
|
|
11
|
+
export type NsBreakpointName = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | 'xxxl';
|
|
12
|
+
/**
|
|
13
|
+
* Minimum widths (in pixels) for each breakpoint.
|
|
14
|
+
*
|
|
15
|
+
* | Name | Min-width | Range |
|
|
16
|
+
* |------|-----------|------------------|
|
|
17
|
+
* | xs | 0 | 0 – 599 px |
|
|
18
|
+
* | sm | 600 | 600 – 1023 px |
|
|
19
|
+
* | md | 1024 | 1024 – 1439 px |
|
|
20
|
+
* | lg | 1440 | 1440 – 1919 px |
|
|
21
|
+
* | xl | 1920 | 1920 – 2559 px |
|
|
22
|
+
* | xxl | 2560 | 2560 – 3839 px | (1440p)
|
|
23
|
+
* | xxxl | 3840 | 3840 px + | (4K)
|
|
24
|
+
*
|
|
25
|
+
* These match Quasar's defaults. To customize, spread and override:
|
|
26
|
+
* ```ts
|
|
27
|
+
* const custom = { ...nsBreakpoints, lg: 1280 }
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
export declare const nsBreakpoints: Record<NsBreakpointName, number>;
|
|
31
|
+
/** Ordered list of breakpoint names from smallest to largest. */
|
|
32
|
+
export declare const nsBreakpointNames: readonly NsBreakpointName[];
|
|
33
|
+
/**
|
|
34
|
+
* Generate a `min-width` media query string for the given breakpoint.
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* ```ts
|
|
38
|
+
* nsMediaUp('md') // → '(min-width: 1024px)'
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
export declare function nsMediaUp(name: NsBreakpointName): string;
|
|
42
|
+
/**
|
|
43
|
+
* Generate a `max-width` media query string for the breakpoint
|
|
44
|
+
* immediately *below* the given one.
|
|
45
|
+
*
|
|
46
|
+
* Useful for targeting everything smaller than a breakpoint.
|
|
47
|
+
*
|
|
48
|
+
* @example
|
|
49
|
+
* ```ts
|
|
50
|
+
* nsMediaDown('md') // → '(max-width: 1023px)' — everything below md
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
53
|
+
export declare function nsMediaDown(name: Exclude<NsBreakpointName, 'xs'>): string;
|
|
54
|
+
/**
|
|
55
|
+
* Generate a media query string matching exactly one breakpoint range.
|
|
56
|
+
*
|
|
57
|
+
* @example
|
|
58
|
+
* ```ts
|
|
59
|
+
* nsMediaOnly('md') // → '(min-width: 1024px) and (max-width: 1439px)'
|
|
60
|
+
* nsMediaOnly('xl') // → '(min-width: 1920px)'
|
|
61
|
+
* ```
|
|
62
|
+
*/
|
|
63
|
+
export declare function nsMediaOnly(name: NsBreakpointName): string;
|
|
64
|
+
/**
|
|
65
|
+
* Generate a media query for a range between two breakpoints (inclusive).
|
|
66
|
+
*
|
|
67
|
+
* @example
|
|
68
|
+
* ```ts
|
|
69
|
+
* nsMediaBetween('sm', 'lg') // → '(min-width: 600px) and (max-width: 1919px)'
|
|
70
|
+
* ```
|
|
71
|
+
*/
|
|
72
|
+
export declare function nsMediaBetween(from: NsBreakpointName, to: NsBreakpointName): string;
|
|
@@ -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,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,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,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,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';
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* NsForm — A lightweight form wrapper around Quasar's QForm.
|
|
3
|
-
*
|
|
4
|
-
* Provides validation orchestration with a greedy default
|
|
5
|
-
* (validates all fields, not just until the first error).
|
|
6
|
-
*/
|
|
7
1
|
export interface NsFormProps {
|
|
8
2
|
/** Validate all fields even after the first error */
|
|
9
3
|
greedy?: boolean;
|
|
@@ -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';
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* NsInput — A styled text input wrapping Quasar's QInput.
|
|
3
|
-
*
|
|
4
|
-
* Provides opinionated defaults: outlined style, rounded corners,
|
|
5
|
-
* and Fixel font via design tokens.
|
|
6
|
-
*/
|
|
7
1
|
import type { ValidationRule } from 'quasar';
|
|
8
2
|
export interface NsInputProps {
|
|
9
3
|
/** Input label text */
|
|
@@ -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';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface NsItemSectionProps {
|
|
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<NsItemSectionProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NsItemSectionProps> & 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 NsItemSection } from './NsItemSection.vue';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface NsLayoutProps {
|
|
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<NsLayoutProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NsLayoutProps> & 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 NsLayout } from './NsLayout.vue';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface NsLinearProgressProps {
|
|
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<NsLinearProgressProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NsLinearProgressProps> & 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 NsLinearProgress } from './NsLinearProgress.vue';
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* NsList — A styled list wrapping Quasar's QList.
|
|
3
|
-
*
|
|
4
|
-
* Provides opinionated defaults: separator enabled for visual clarity,
|
|
5
|
-
* token-based font styling. Use with QItem/QItemSection from Quasar directly.
|
|
6
|
-
*/
|
|
7
1
|
export interface NsListProps {
|
|
8
2
|
/** Show a border around the list */
|
|
9
3
|
bordered?: boolean;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface NsMenuProps {
|
|
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<NsMenuProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NsMenuProps> & 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 NsMenu } from './NsMenu.vue';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface NsPageProps {
|
|
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<NsPageProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NsPageProps> & 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 NsPage } from './NsPage.vue';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface NsPageContainerProps {
|
|
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<NsPageContainerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NsPageContainerProps> & 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 NsPageContainer } from './NsPageContainer.vue';
|