@aotearoan/neon 28.5.0 → 28.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.
- package/dist/components/layout/basic-layout/NeonBasicLayout.cjs.js +2 -0
- package/dist/components/layout/basic-layout/NeonBasicLayout.cjs.js.map +1 -0
- package/dist/components/layout/basic-layout/NeonBasicLayout.es.js +40 -0
- package/dist/components/layout/basic-layout/NeonBasicLayout.es.js.map +1 -0
- package/dist/components/layout/basic-layout/NeonBasicLayout.vue.cjs.js +2 -0
- package/dist/components/layout/basic-layout/NeonBasicLayout.vue.cjs.js.map +1 -0
- package/dist/components/layout/basic-layout/NeonBasicLayout.vue.es.js +41 -0
- package/dist/components/layout/basic-layout/NeonBasicLayout.vue.es.js.map +1 -0
- package/dist/components/layout/card-list/NeonCardList.cjs.js +1 -1
- package/dist/components/layout/card-list/NeonCardList.cjs.js.map +1 -1
- package/dist/components/layout/card-list/NeonCardList.es.js +76 -52
- package/dist/components/layout/card-list/NeonCardList.es.js.map +1 -1
- package/dist/components/layout/card-list/NeonCardList.vue.cjs.js +1 -1
- package/dist/components/layout/card-list/NeonCardList.vue.cjs.js.map +1 -1
- package/dist/components/layout/card-list/NeonCardList.vue.es.js +98 -83
- package/dist/components/layout/card-list/NeonCardList.vue.es.js.map +1 -1
- package/dist/components/layout/card-list/draggable-card/NeonDraggableCard.vue.cjs.js +2 -0
- package/dist/components/layout/card-list/draggable-card/NeonDraggableCard.vue.cjs.js.map +1 -0
- package/dist/components/layout/card-list/draggable-card/NeonDraggableCard.vue.cjs2.js +2 -0
- package/dist/components/layout/card-list/draggable-card/NeonDraggableCard.vue.cjs2.js.map +1 -0
- package/dist/components/layout/card-list/draggable-card/NeonDraggableCard.vue.es.js +78 -0
- package/dist/components/layout/card-list/draggable-card/NeonDraggableCard.vue.es.js.map +1 -0
- package/dist/components/layout/card-list/draggable-card/NeonDraggableCard.vue.es2.js +5 -0
- package/dist/components/layout/card-list/draggable-card/NeonDraggableCard.vue.es2.js.map +1 -0
- package/dist/components/layout/list-layout/NeonListLayout.cjs.js +1 -1
- package/dist/components/layout/list-layout/NeonListLayout.cjs.js.map +1 -1
- package/dist/components/layout/list-layout/NeonListLayout.es.js +16 -11
- package/dist/components/layout/list-layout/NeonListLayout.es.js.map +1 -1
- package/dist/components/layout/list-layout/NeonListLayout.vue.cjs.js +1 -1
- package/dist/components/layout/list-layout/NeonListLayout.vue.cjs.js.map +1 -1
- package/dist/components/layout/list-layout/NeonListLayout.vue.es.js +10 -9
- package/dist/components/layout/list-layout/NeonListLayout.vue.es.js.map +1 -1
- package/dist/components/presentation/avatar/NeonAvatar.cjs.js +2 -0
- package/dist/components/presentation/avatar/NeonAvatar.cjs.js.map +1 -0
- package/dist/components/presentation/avatar/NeonAvatar.es.js +66 -0
- package/dist/components/presentation/avatar/NeonAvatar.es.js.map +1 -0
- package/dist/components/presentation/avatar/NeonAvatar.vue.cjs.js +2 -0
- package/dist/components/presentation/avatar/NeonAvatar.vue.cjs.js.map +1 -0
- package/dist/components/presentation/avatar/NeonAvatar.vue.es.js +25 -0
- package/dist/components/presentation/avatar/NeonAvatar.vue.es.js.map +1 -0
- package/dist/components/presentation/header/NeonHeader.vue.cjs.js +1 -1
- package/dist/components/presentation/header/NeonHeader.vue.cjs.js.map +1 -1
- package/dist/components/presentation/header/NeonHeader.vue.es.js +31 -29
- package/dist/components/presentation/header/NeonHeader.vue.es.js.map +1 -1
- package/dist/icons/drag-handle.svg.cjs.js +7 -0
- package/dist/icons/drag-handle.svg.cjs.js.map +1 -0
- package/dist/icons/drag-handle.svg.es.js +10 -0
- package/dist/icons/drag-handle.svg.es.js.map +1 -0
- package/dist/model/layout/card-list/NeonCardListStyle.cjs.js +2 -0
- package/dist/model/layout/card-list/NeonCardListStyle.cjs.js.map +1 -0
- package/dist/model/layout/card-list/NeonCardListStyle.es.js +5 -0
- package/dist/model/layout/card-list/NeonCardListStyle.es.js.map +1 -0
- package/dist/model/presentation/badge/NeonBadgeSize.cjs.js +1 -1
- package/dist/model/presentation/badge/NeonBadgeSize.cjs.js.map +1 -1
- package/dist/model/presentation/badge/NeonBadgeSize.es.js +1 -1
- package/dist/model/presentation/badge/NeonBadgeSize.es.js.map +1 -1
- package/dist/neon.cjs.js +1 -1
- package/dist/neon.es.js +269 -261
- package/dist/neon.es.js.map +1 -1
- package/dist/src/components/layout/basic-layout/NeonBasicLayout.d.ts +427 -0
- package/dist/src/components/layout/basic-layout/NeonBasicLayout.vue.d.ts +2 -0
- package/dist/src/components/layout/card-list/NeonCardList.d.ts +169 -63
- package/dist/src/components/layout/card-list/draggable-card/NeonDraggableCard.vue.d.ts +59 -0
- package/dist/src/components/layout/list-layout/NeonListLayout.d.ts +399 -253
- package/dist/src/components/presentation/avatar/NeonAvatar.d.ts +1806 -0
- package/dist/src/components/presentation/avatar/NeonAvatar.vue.d.ts +2 -0
- package/dist/src/model/layout/card-list/NeonCardListStyle.d.ts +13 -0
- package/dist/src/model/layout/card-list/NeonLoadOnDemandModel.d.ts +4 -8
- package/dist/src/model/presentation/badge/NeonBadgeSize.d.ts +3 -1
- package/dist/src/neon.d.ts +5 -1
- package/dist/src/utils/common/array/NeonArrayUtils.d.ts +7 -0
- package/dist/src/utils/common/http/NeonHttpUtils.d.ts +23 -0
- package/dist/utils/common/array/NeonArrayUtils.cjs.js +2 -0
- package/dist/utils/common/array/NeonArrayUtils.cjs.js.map +1 -0
- package/dist/utils/common/array/NeonArrayUtils.es.js +8 -0
- package/dist/utils/common/array/NeonArrayUtils.es.js.map +1 -0
- package/dist/utils/common/http/NeonHttpUtils.cjs.js +2 -0
- package/dist/utils/common/http/NeonHttpUtils.cjs.js.map +1 -0
- package/dist/utils/common/http/NeonHttpUtils.es.js +31 -0
- package/dist/utils/common/http/NeonHttpUtils.es.js.map +1 -0
- package/dist/utils/common/icons/RegisterIcons.cjs.js +1 -1
- package/dist/utils/common/icons/RegisterIcons.cjs.js.map +1 -1
- package/dist/utils/common/icons/RegisterIcons.es.js +30 -29
- package/dist/utils/common/icons/RegisterIcons.es.js.map +1 -1
- package/package.json +1 -1
- package/src/sass/components/_badge.scss +2 -2
- package/src/sass/components/{_page-container.scss → _basic-layout.scss} +12 -33
- package/src/sass/components/_card-list.scss +32 -11
- package/src/sass/components/_date-picker.scss +2 -0
- package/src/sass/components/_draggable-card.scss +75 -0
- package/src/sass/components/_drawer.scss +1 -0
- package/src/sass/components/_field-group.scss +5 -1
- package/src/sass/components/_header.scss +2 -1
- package/src/sass/components/_input.scss +6 -0
- package/src/sass/components/_link.scss +1 -0
- package/src/sass/components/_modal.scss +1 -0
- package/src/sass/components/_page.scss +1 -0
- package/src/sass/components/_range-slider.scss +4 -0
- package/src/sass/components/_sticky-buttons.scss +1 -1
- package/src/sass/components/components.scss +2 -1
- package/src/sass/includes/_dependencies.scss +3 -2
- package/src/sass/theme.scss +8 -4
- package/src/sass/variables-dark.scss +15 -0
- package/src/sass/variables-global.scss +21 -7
- package/src/sass/variables-light.scss +15 -0
- package/dist/components/layout/page-container/NeonPageContainer.cjs.js +0 -2
- package/dist/components/layout/page-container/NeonPageContainer.cjs.js.map +0 -1
- package/dist/components/layout/page-container/NeonPageContainer.es.js +0 -26
- package/dist/components/layout/page-container/NeonPageContainer.es.js.map +0 -1
- package/dist/components/layout/page-container/NeonPageContainer.vue.cjs.js +0 -2
- package/dist/components/layout/page-container/NeonPageContainer.vue.cjs.js.map +0 -1
- package/dist/components/layout/page-container/NeonPageContainer.vue.es.js +0 -31
- package/dist/components/layout/page-container/NeonPageContainer.vue.es.js.map +0 -1
- package/dist/src/components/layout/page-container/NeonPageContainer.d.ts +0 -98
- package/dist/src/components/layout/page-container/NeonPageContainer.vue.d.ts +0 -2
|
@@ -7,10 +7,12 @@ import type { NeonLoadOnDemandModel } from '@/model/layout/card-list/NeonLoadOnD
|
|
|
7
7
|
import type { NeonPaginationModel } from '@/model/navigation/pagination/NeonPaginationModel';
|
|
8
8
|
import type { NeonIdentifiable } from '@/model/common/entity/NeonIdentifiable';
|
|
9
9
|
import type { NeonSelectable } from '@/model/common/entity/NeonSelectable';
|
|
10
|
+
import { NeonState } from '@/model/common/state/NeonState';
|
|
11
|
+
import { NeonCardListStyle } from '@/model/layout/card-list/NeonCardListStyle';
|
|
10
12
|
/**
|
|
11
13
|
* TODO: consider refactoring since it's no longer just a layout component when selectable.
|
|
12
14
|
* Represent lists of objects as cards. This is intended to be a more responsive replacement for tables. This component
|
|
13
|
-
* will display a list of items as cards with a count (x of y) and a <em>
|
|
15
|
+
* will display a list of items as cards with a count (Showing x of y) and a <em>Load more</em> button to load more results.
|
|
14
16
|
* There is also a slot for adding filtering or other content above the list. A slot is provided with card model & index
|
|
15
17
|
* parameters for customising how to display the model for each card.
|
|
16
18
|
*/
|
|
@@ -29,6 +31,24 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
29
31
|
type: () => NeonFunctionalColor;
|
|
30
32
|
default: null;
|
|
31
33
|
};
|
|
34
|
+
/**
|
|
35
|
+
* Specify the card list layout, either a 'List' of cards with 100% width or a responsive 'Grid' of cards.
|
|
36
|
+
*/
|
|
37
|
+
listStyle: {
|
|
38
|
+
type: () => NeonCardListStyle;
|
|
39
|
+
default: () => NeonCardListStyle;
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* Make cards sortable, i.e. draggable. This will add a drag handle to the card, and when there is a change in the
|
|
43
|
+
* sort order, this triggers a 'sort' event with the new order.
|
|
44
|
+
*
|
|
45
|
+
* NOTE: Sorting is modal, i.e. if cards are sortable then the cards cannot act as links at the same time. Use a
|
|
46
|
+
* toggle switch to enable/disable sorting.
|
|
47
|
+
*/
|
|
48
|
+
sortable: {
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
default: boolean;
|
|
51
|
+
};
|
|
32
52
|
/**
|
|
33
53
|
* Make cards selectable.
|
|
34
54
|
*/
|
|
@@ -49,27 +69,30 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
49
69
|
type: () => NeonPaginationModel;
|
|
50
70
|
};
|
|
51
71
|
/**
|
|
52
|
-
* Show
|
|
72
|
+
* Show loading state when loading new items.
|
|
53
73
|
*/
|
|
54
74
|
loading: {
|
|
55
75
|
type: BooleanConstructor;
|
|
56
76
|
};
|
|
57
77
|
}>, {
|
|
58
|
-
emit: (event: "page-change" | "show-more" | "toggle-selected", ...args: any[]) => void;
|
|
78
|
+
emit: (event: "sort" | "page-change" | "show-more" | "toggle-selected", ...args: any[]) => void;
|
|
59
79
|
n: typeof NeonNumberUtils.formatNumber;
|
|
60
80
|
NeonButtonStyle: typeof NeonButtonStyle;
|
|
61
81
|
NeonFunctionalColor: typeof NeonFunctionalColor;
|
|
62
82
|
NeonSize: typeof NeonSize;
|
|
63
|
-
ofLabel: import("vue").ComputedRef<string | undefined>;
|
|
64
83
|
showMoreLabel: import("vue").ComputedRef<string | undefined>;
|
|
65
|
-
|
|
84
|
+
resultCountLabel: import("vue").ComputedRef<string | undefined>;
|
|
66
85
|
total: import("vue").ComputedRef<number>;
|
|
67
86
|
slots: Readonly<{
|
|
68
87
|
[name: string]: import("vue").Slot<any> | undefined;
|
|
69
88
|
}>;
|
|
70
89
|
cards: import("vue").Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
71
90
|
onPageChange: (newPage: number) => void;
|
|
72
|
-
|
|
91
|
+
NeonState: typeof NeonState;
|
|
92
|
+
onDrag: (index?: number) => void;
|
|
93
|
+
onDrop: (startIndex: number, endIndex: number) => void;
|
|
94
|
+
dragIndex: import("vue").Ref<number | undefined, number | undefined>;
|
|
95
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("sort" | "page-change" | "show-more" | "toggle-selected")[], "sort" | "page-change" | "show-more" | "toggle-selected", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
73
96
|
/**
|
|
74
97
|
* Items to display as cards. Each item should be a NeonCardListModel.
|
|
75
98
|
*/
|
|
@@ -84,6 +107,24 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
84
107
|
type: () => NeonFunctionalColor;
|
|
85
108
|
default: null;
|
|
86
109
|
};
|
|
110
|
+
/**
|
|
111
|
+
* Specify the card list layout, either a 'List' of cards with 100% width or a responsive 'Grid' of cards.
|
|
112
|
+
*/
|
|
113
|
+
listStyle: {
|
|
114
|
+
type: () => NeonCardListStyle;
|
|
115
|
+
default: () => NeonCardListStyle;
|
|
116
|
+
};
|
|
117
|
+
/**
|
|
118
|
+
* Make cards sortable, i.e. draggable. This will add a drag handle to the card, and when there is a change in the
|
|
119
|
+
* sort order, this triggers a 'sort' event with the new order.
|
|
120
|
+
*
|
|
121
|
+
* NOTE: Sorting is modal, i.e. if cards are sortable then the cards cannot act as links at the same time. Use a
|
|
122
|
+
* toggle switch to enable/disable sorting.
|
|
123
|
+
*/
|
|
124
|
+
sortable: {
|
|
125
|
+
type: BooleanConstructor;
|
|
126
|
+
default: boolean;
|
|
127
|
+
};
|
|
87
128
|
/**
|
|
88
129
|
* Make cards selectable.
|
|
89
130
|
*/
|
|
@@ -104,18 +145,21 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
104
145
|
type: () => NeonPaginationModel;
|
|
105
146
|
};
|
|
106
147
|
/**
|
|
107
|
-
* Show
|
|
148
|
+
* Show loading state when loading new items.
|
|
108
149
|
*/
|
|
109
150
|
loading: {
|
|
110
151
|
type: BooleanConstructor;
|
|
111
152
|
};
|
|
112
153
|
}>> & Readonly<{
|
|
113
154
|
"onPage-change"?: ((...args: any[]) => any) | undefined;
|
|
155
|
+
onSort?: ((...args: any[]) => any) | undefined;
|
|
114
156
|
"onShow-more"?: ((...args: any[]) => any) | undefined;
|
|
115
157
|
"onToggle-selected"?: ((...args: any[]) => any) | undefined;
|
|
116
158
|
}>, {
|
|
117
159
|
color: NeonFunctionalColor;
|
|
118
160
|
loading: boolean;
|
|
161
|
+
listStyle: NeonCardListStyle;
|
|
162
|
+
sortable: boolean;
|
|
119
163
|
selectable: boolean;
|
|
120
164
|
}, {}, {
|
|
121
165
|
NeonSelectableCard: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
@@ -377,7 +421,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
377
421
|
hidePagination: import("vue").ComputedRef<boolean>;
|
|
378
422
|
previousPage: import("vue").ComputedRef<number>;
|
|
379
423
|
disabledPrevious: import("vue").ComputedRef<boolean>;
|
|
380
|
-
nextPage: import("vue").ComputedRef<number>;
|
|
424
|
+
nextPage: import("vue").ComputedRef<number>; /**
|
|
425
|
+
* Emitted when in selectable mode and the selected state of a card is toggled.
|
|
426
|
+
* @type {string, boolean} - the id of the card which is toggled & the new selected state.
|
|
427
|
+
*/
|
|
381
428
|
disabledNext: import("vue").ComputedRef<boolean>;
|
|
382
429
|
showFirstPageWithEllipsis: import("vue").ComputedRef<boolean>;
|
|
383
430
|
showLastPageWithEllipsis: import("vue").ComputedRef<boolean>;
|
|
@@ -437,9 +484,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
437
484
|
default: boolean;
|
|
438
485
|
};
|
|
439
486
|
alternateColor: {
|
|
440
|
-
type: () => NeonFunctionalColor;
|
|
441
|
-
* Items to display as cards. Each item should be a NeonCardListModel.
|
|
442
|
-
*/
|
|
487
|
+
type: () => NeonFunctionalColor;
|
|
443
488
|
default: null;
|
|
444
489
|
};
|
|
445
490
|
icon: {
|
|
@@ -455,19 +500,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
455
500
|
};
|
|
456
501
|
buttonStyle: {
|
|
457
502
|
type: () => NeonButtonStyle;
|
|
458
|
-
default: NeonButtonStyle;
|
|
459
|
-
|
|
460
|
-
*/
|
|
461
|
-
}; /**
|
|
462
|
-
* Model for configuring the on-demand loading layout.
|
|
463
|
-
*/
|
|
503
|
+
default: NeonButtonStyle;
|
|
504
|
+
};
|
|
464
505
|
buttonType: {
|
|
465
506
|
type: () => import("../../../neon").NeonButtonType;
|
|
466
507
|
default: import("../../../neon").NeonButtonType;
|
|
467
508
|
};
|
|
468
509
|
state: {
|
|
469
|
-
type: () =>
|
|
470
|
-
default:
|
|
510
|
+
type: () => NeonState;
|
|
511
|
+
default: NeonState;
|
|
471
512
|
};
|
|
472
513
|
disabled: {
|
|
473
514
|
type: BooleanConstructor;
|
|
@@ -482,6 +523,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
482
523
|
default: boolean;
|
|
483
524
|
};
|
|
484
525
|
circular: {
|
|
526
|
+
/**
|
|
527
|
+
* Model for configuring the on-demand loading layout.
|
|
528
|
+
*/
|
|
485
529
|
type: BooleanConstructor;
|
|
486
530
|
default: null;
|
|
487
531
|
};
|
|
@@ -542,9 +586,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
542
586
|
default: boolean;
|
|
543
587
|
};
|
|
544
588
|
alternateColor: {
|
|
545
|
-
type: () => NeonFunctionalColor;
|
|
546
|
-
* Items to display as cards. Each item should be a NeonCardListModel.
|
|
547
|
-
*/
|
|
589
|
+
type: () => NeonFunctionalColor;
|
|
548
590
|
default: null;
|
|
549
591
|
};
|
|
550
592
|
icon: {
|
|
@@ -560,19 +602,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
560
602
|
};
|
|
561
603
|
buttonStyle: {
|
|
562
604
|
type: () => NeonButtonStyle;
|
|
563
|
-
default: NeonButtonStyle;
|
|
564
|
-
|
|
565
|
-
*/
|
|
566
|
-
}; /**
|
|
567
|
-
* Model for configuring the on-demand loading layout.
|
|
568
|
-
*/
|
|
605
|
+
default: NeonButtonStyle;
|
|
606
|
+
};
|
|
569
607
|
buttonType: {
|
|
570
608
|
type: () => import("../../../neon").NeonButtonType;
|
|
571
609
|
default: import("../../../neon").NeonButtonType;
|
|
572
610
|
};
|
|
573
611
|
state: {
|
|
574
|
-
type: () =>
|
|
575
|
-
default:
|
|
612
|
+
type: () => NeonState;
|
|
613
|
+
default: NeonState;
|
|
576
614
|
};
|
|
577
615
|
disabled: {
|
|
578
616
|
type: BooleanConstructor;
|
|
@@ -587,6 +625,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
587
625
|
default: boolean;
|
|
588
626
|
};
|
|
589
627
|
circular: {
|
|
628
|
+
/**
|
|
629
|
+
* Model for configuring the on-demand loading layout.
|
|
630
|
+
*/
|
|
590
631
|
type: BooleanConstructor;
|
|
591
632
|
default: null;
|
|
592
633
|
};
|
|
@@ -617,7 +658,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
617
658
|
iconPosition: import("../../../neon").NeonHorizontalPosition;
|
|
618
659
|
buttonStyle: NeonButtonStyle;
|
|
619
660
|
buttonType: import("../../../neon").NeonButtonType;
|
|
620
|
-
state:
|
|
661
|
+
state: NeonState;
|
|
621
662
|
transparent: boolean;
|
|
622
663
|
circular: boolean;
|
|
623
664
|
fullWidth: boolean;
|
|
@@ -741,9 +782,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
741
782
|
[x: string]: unknown;
|
|
742
783
|
}>;
|
|
743
784
|
activeRoute: import("vue").ComputedRef<boolean | "" | undefined>;
|
|
744
|
-
exactRoute: import("vue").ComputedRef<boolean | "" | undefined>;
|
|
745
|
-
* Model for configuring the on-demand loading layout.
|
|
746
|
-
*/
|
|
785
|
+
exactRoute: import("vue").ComputedRef<boolean | "" | undefined>;
|
|
747
786
|
onClick: () => void;
|
|
748
787
|
onSpace: () => Promise<void>;
|
|
749
788
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -902,9 +941,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
902
941
|
default: boolean;
|
|
903
942
|
};
|
|
904
943
|
alternateColor: {
|
|
905
|
-
type: () => NeonFunctionalColor;
|
|
906
|
-
* Items to display as cards. Each item should be a NeonCardListModel.
|
|
907
|
-
*/
|
|
944
|
+
type: () => NeonFunctionalColor;
|
|
908
945
|
default: null;
|
|
909
946
|
};
|
|
910
947
|
icon: {
|
|
@@ -920,19 +957,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
920
957
|
};
|
|
921
958
|
buttonStyle: {
|
|
922
959
|
type: () => NeonButtonStyle;
|
|
923
|
-
default: NeonButtonStyle;
|
|
924
|
-
|
|
925
|
-
*/
|
|
926
|
-
}; /**
|
|
927
|
-
* Model for configuring the on-demand loading layout.
|
|
928
|
-
*/
|
|
960
|
+
default: NeonButtonStyle;
|
|
961
|
+
};
|
|
929
962
|
buttonType: {
|
|
930
963
|
type: () => import("../../../neon").NeonButtonType;
|
|
931
964
|
default: import("../../../neon").NeonButtonType;
|
|
932
965
|
};
|
|
933
966
|
state: {
|
|
934
|
-
type: () =>
|
|
935
|
-
default:
|
|
967
|
+
type: () => NeonState;
|
|
968
|
+
default: NeonState;
|
|
936
969
|
};
|
|
937
970
|
disabled: {
|
|
938
971
|
type: BooleanConstructor;
|
|
@@ -947,6 +980,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
947
980
|
default: boolean;
|
|
948
981
|
};
|
|
949
982
|
circular: {
|
|
983
|
+
/**
|
|
984
|
+
* Model for configuring the on-demand loading layout.
|
|
985
|
+
*/
|
|
950
986
|
type: BooleanConstructor;
|
|
951
987
|
default: null;
|
|
952
988
|
};
|
|
@@ -1007,9 +1043,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1007
1043
|
default: boolean;
|
|
1008
1044
|
};
|
|
1009
1045
|
alternateColor: {
|
|
1010
|
-
type: () => NeonFunctionalColor;
|
|
1011
|
-
* Items to display as cards. Each item should be a NeonCardListModel.
|
|
1012
|
-
*/
|
|
1046
|
+
type: () => NeonFunctionalColor;
|
|
1013
1047
|
default: null;
|
|
1014
1048
|
};
|
|
1015
1049
|
icon: {
|
|
@@ -1025,19 +1059,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1025
1059
|
};
|
|
1026
1060
|
buttonStyle: {
|
|
1027
1061
|
type: () => NeonButtonStyle;
|
|
1028
|
-
default: NeonButtonStyle;
|
|
1029
|
-
|
|
1030
|
-
*/
|
|
1031
|
-
}; /**
|
|
1032
|
-
* Model for configuring the on-demand loading layout.
|
|
1033
|
-
*/
|
|
1062
|
+
default: NeonButtonStyle;
|
|
1063
|
+
};
|
|
1034
1064
|
buttonType: {
|
|
1035
1065
|
type: () => import("../../../neon").NeonButtonType;
|
|
1036
1066
|
default: import("../../../neon").NeonButtonType;
|
|
1037
1067
|
};
|
|
1038
1068
|
state: {
|
|
1039
|
-
type: () =>
|
|
1040
|
-
default:
|
|
1069
|
+
type: () => NeonState;
|
|
1070
|
+
default: NeonState;
|
|
1041
1071
|
};
|
|
1042
1072
|
disabled: {
|
|
1043
1073
|
type: BooleanConstructor;
|
|
@@ -1052,6 +1082,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1052
1082
|
default: boolean;
|
|
1053
1083
|
};
|
|
1054
1084
|
circular: {
|
|
1085
|
+
/**
|
|
1086
|
+
* Model for configuring the on-demand loading layout.
|
|
1087
|
+
*/
|
|
1055
1088
|
type: BooleanConstructor;
|
|
1056
1089
|
default: null;
|
|
1057
1090
|
};
|
|
@@ -1082,7 +1115,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1082
1115
|
iconPosition: import("../../../neon").NeonHorizontalPosition;
|
|
1083
1116
|
buttonStyle: NeonButtonStyle;
|
|
1084
1117
|
buttonType: import("../../../neon").NeonButtonType;
|
|
1085
|
-
state:
|
|
1118
|
+
state: NeonState;
|
|
1086
1119
|
transparent: boolean;
|
|
1087
1120
|
circular: boolean;
|
|
1088
1121
|
fullWidth: boolean;
|
|
@@ -1206,9 +1239,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1206
1239
|
[x: string]: unknown;
|
|
1207
1240
|
}>;
|
|
1208
1241
|
activeRoute: import("vue").ComputedRef<boolean | "" | undefined>;
|
|
1209
|
-
exactRoute: import("vue").ComputedRef<boolean | "" | undefined>;
|
|
1210
|
-
* Model for configuring the on-demand loading layout.
|
|
1211
|
-
*/
|
|
1242
|
+
exactRoute: import("vue").ComputedRef<boolean | "" | undefined>;
|
|
1212
1243
|
onClick: () => void;
|
|
1213
1244
|
onSpace: () => Promise<void>;
|
|
1214
1245
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -1334,9 +1365,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1334
1365
|
[x: string]: unknown;
|
|
1335
1366
|
}>;
|
|
1336
1367
|
activeRoute: import("vue").ComputedRef<boolean | "" | undefined>;
|
|
1337
|
-
exactRoute: import("vue").ComputedRef<boolean | "" | undefined>;
|
|
1338
|
-
* Model for configuring the on-demand loading layout.
|
|
1339
|
-
*/
|
|
1368
|
+
exactRoute: import("vue").ComputedRef<boolean | "" | undefined>;
|
|
1340
1369
|
onClick: () => void;
|
|
1341
1370
|
onSpace: () => Promise<void>;
|
|
1342
1371
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -1418,6 +1447,83 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1418
1447
|
disabled: boolean;
|
|
1419
1448
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1420
1449
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1450
|
+
NeonDraggableCard: {
|
|
1451
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
1452
|
+
draggable: {
|
|
1453
|
+
type: import("vue").PropType<boolean>;
|
|
1454
|
+
required: true;
|
|
1455
|
+
};
|
|
1456
|
+
color: {
|
|
1457
|
+
type: import("vue").PropType<NeonFunctionalColor>;
|
|
1458
|
+
};
|
|
1459
|
+
dragIndex: {
|
|
1460
|
+
type: import("vue").PropType<number>;
|
|
1461
|
+
};
|
|
1462
|
+
index: {
|
|
1463
|
+
type: import("vue").PropType<number>;
|
|
1464
|
+
required: true;
|
|
1465
|
+
};
|
|
1466
|
+
}>> & Readonly<{
|
|
1467
|
+
onDrop?: ((...args: any[]) => any) | undefined;
|
|
1468
|
+
"onOn-drag"?: ((...args: any[]) => any) | undefined;
|
|
1469
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1470
|
+
drop: (...args: any[]) => void;
|
|
1471
|
+
"on-drag": (...args: any[]) => void;
|
|
1472
|
+
}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
1473
|
+
P: {};
|
|
1474
|
+
B: {};
|
|
1475
|
+
D: {};
|
|
1476
|
+
C: {};
|
|
1477
|
+
M: {};
|
|
1478
|
+
Defaults: {};
|
|
1479
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
1480
|
+
draggable: {
|
|
1481
|
+
type: import("vue").PropType<boolean>;
|
|
1482
|
+
required: true;
|
|
1483
|
+
};
|
|
1484
|
+
color: {
|
|
1485
|
+
type: import("vue").PropType<NeonFunctionalColor>;
|
|
1486
|
+
};
|
|
1487
|
+
dragIndex: {
|
|
1488
|
+
type: import("vue").PropType<number>;
|
|
1489
|
+
};
|
|
1490
|
+
index: {
|
|
1491
|
+
type: import("vue").PropType<number>;
|
|
1492
|
+
required: true;
|
|
1493
|
+
};
|
|
1494
|
+
}>> & Readonly<{
|
|
1495
|
+
onDrop?: ((...args: any[]) => any) | undefined;
|
|
1496
|
+
"onOn-drag"?: ((...args: any[]) => any) | undefined;
|
|
1497
|
+
}>, {}, {}, {}, {}, {}>;
|
|
1498
|
+
__isFragment?: undefined;
|
|
1499
|
+
__isTeleport?: undefined;
|
|
1500
|
+
__isSuspense?: undefined;
|
|
1501
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
1502
|
+
draggable: {
|
|
1503
|
+
type: import("vue").PropType<boolean>;
|
|
1504
|
+
required: true;
|
|
1505
|
+
};
|
|
1506
|
+
color: {
|
|
1507
|
+
type: import("vue").PropType<NeonFunctionalColor>;
|
|
1508
|
+
};
|
|
1509
|
+
dragIndex: {
|
|
1510
|
+
type: import("vue").PropType<number>;
|
|
1511
|
+
};
|
|
1512
|
+
index: {
|
|
1513
|
+
type: import("vue").PropType<number>;
|
|
1514
|
+
required: true;
|
|
1515
|
+
};
|
|
1516
|
+
}>> & Readonly<{
|
|
1517
|
+
onDrop?: ((...args: any[]) => any) | undefined;
|
|
1518
|
+
"onOn-drag"?: ((...args: any[]) => any) | undefined;
|
|
1519
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1520
|
+
drop: (...args: any[]) => void;
|
|
1521
|
+
"on-drag": (...args: any[]) => void;
|
|
1522
|
+
}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
1523
|
+
$slots: {
|
|
1524
|
+
default?(_: {}): any;
|
|
1525
|
+
};
|
|
1526
|
+
});
|
|
1421
1527
|
NeonLoadingStateCard: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
|
|
1422
1528
|
NeonInline: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
1423
1529
|
gap: {
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { NeonFunctionalColor } from '@/model/common/color/NeonFunctionalColor';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
/**
|
|
4
|
+
* Whether the card is draggable.
|
|
5
|
+
*/
|
|
6
|
+
draggable: boolean;
|
|
7
|
+
/**
|
|
8
|
+
* The color used for the card hover states.
|
|
9
|
+
*/
|
|
10
|
+
color?: NeonFunctionalColor | undefined;
|
|
11
|
+
/**
|
|
12
|
+
* The index of the card currently being dragged.
|
|
13
|
+
*/
|
|
14
|
+
dragIndex?: number | undefined;
|
|
15
|
+
/**
|
|
16
|
+
* The index of this card.
|
|
17
|
+
*/
|
|
18
|
+
index: number;
|
|
19
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
20
|
+
drop: (...args: any[]) => void;
|
|
21
|
+
"on-drag": (...args: any[]) => void;
|
|
22
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
23
|
+
/**
|
|
24
|
+
* Whether the card is draggable.
|
|
25
|
+
*/
|
|
26
|
+
draggable: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* The color used for the card hover states.
|
|
29
|
+
*/
|
|
30
|
+
color?: NeonFunctionalColor | undefined;
|
|
31
|
+
/**
|
|
32
|
+
* The index of the card currently being dragged.
|
|
33
|
+
*/
|
|
34
|
+
dragIndex?: number | undefined;
|
|
35
|
+
/**
|
|
36
|
+
* The index of this card.
|
|
37
|
+
*/
|
|
38
|
+
index: number;
|
|
39
|
+
}>>> & Readonly<{
|
|
40
|
+
onDrop?: ((...args: any[]) => any) | undefined;
|
|
41
|
+
"onOn-drag"?: ((...args: any[]) => any) | undefined;
|
|
42
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
43
|
+
default?(_: {}): any;
|
|
44
|
+
}>;
|
|
45
|
+
export default _default;
|
|
46
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
47
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
48
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
49
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
50
|
+
} : {
|
|
51
|
+
type: import('vue').PropType<T[K]>;
|
|
52
|
+
required: true;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
56
|
+
new (): {
|
|
57
|
+
$slots: S;
|
|
58
|
+
};
|
|
59
|
+
};
|