@aotearoan/neon 28.0.2 → 28.1.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/feedback/alert/NeonAlert.cjs.js +1 -1
- package/dist/components/feedback/alert/NeonAlert.cjs.js.map +1 -1
- package/dist/components/feedback/alert/NeonAlert.es.js +58 -45
- package/dist/components/feedback/alert/NeonAlert.es.js.map +1 -1
- package/dist/components/feedback/alert/NeonAlert.vue.cjs.js +1 -1
- package/dist/components/feedback/alert/NeonAlert.vue.cjs.js.map +1 -1
- package/dist/components/feedback/alert/NeonAlert.vue.es.js +23 -19
- package/dist/components/feedback/alert/NeonAlert.vue.es.js.map +1 -1
- package/dist/components/feedback/alert/container/NeonDialogContainer.cjs.js +2 -0
- package/dist/components/feedback/alert/container/NeonDialogContainer.cjs.js.map +1 -0
- package/dist/components/feedback/alert/container/NeonDialogContainer.cjs2.js +2 -0
- package/dist/components/feedback/alert/container/NeonDialogContainer.cjs2.js.map +1 -0
- package/dist/components/feedback/alert/container/NeonDialogContainer.es.js +25 -0
- package/dist/components/feedback/alert/container/NeonDialogContainer.es.js.map +1 -0
- package/dist/components/feedback/alert/container/NeonDialogContainer.es2.js +25 -0
- package/dist/components/feedback/alert/container/NeonDialogContainer.es2.js.map +1 -0
- package/dist/components/feedback/alert/container/NeonDialogContainer.vue.cjs.js +2 -0
- package/dist/components/feedback/alert/container/NeonDialogContainer.vue.cjs.js.map +1 -0
- package/dist/components/feedback/alert/container/NeonDialogContainer.vue.es.js +18 -0
- package/dist/components/feedback/alert/container/NeonDialogContainer.vue.es.js.map +1 -0
- package/dist/components/navigation/link/NeonLink.cjs.js +1 -1
- package/dist/components/navigation/link/NeonLink.cjs.js.map +1 -1
- package/dist/components/navigation/link/NeonLink.es.js +20 -20
- package/dist/components/navigation/link/NeonLink.es.js.map +1 -1
- package/dist/components/navigation/tree-menu/NeonTreeMenu.cjs.js +1 -1
- package/dist/components/navigation/tree-menu/NeonTreeMenu.cjs.js.map +1 -1
- package/dist/components/navigation/tree-menu/NeonTreeMenu.es.js +19 -15
- package/dist/components/navigation/tree-menu/NeonTreeMenu.es.js.map +1 -1
- package/dist/components/navigation/tree-menu/NeonTreeMenu.vue.cjs.js +1 -1
- package/dist/components/navigation/tree-menu/NeonTreeMenu.vue.cjs.js.map +1 -1
- package/dist/components/navigation/tree-menu/NeonTreeMenu.vue.es.js +44 -39
- package/dist/components/navigation/tree-menu/NeonTreeMenu.vue.es.js.map +1 -1
- package/dist/neon.cjs.js +1 -1
- package/dist/neon.es.js +217 -213
- package/dist/neon.es.js.map +1 -1
- package/dist/src/components/feedback/alert/NeonAlert.d.ts +1040 -2
- package/dist/src/components/feedback/alert/container/NeonAlertContainer.d.ts +2 -2
- package/dist/src/components/feedback/alert/container/NeonDialogContainer.d.ts +1021 -0
- package/dist/src/components/feedback/alert/container/NeonDialogContainer.vue.d.ts +2 -0
- package/dist/src/components/feedback/banner/NeonBanner.d.ts +6 -6
- package/dist/src/components/feedback/dialog/NeonDialog.d.ts +10 -10
- package/dist/src/components/feedback/note/NeonNote.d.ts +3 -3
- package/dist/src/components/layout/card-list/NeonCardList.d.ts +11 -17
- package/dist/src/components/layout/drawer/NeonDrawer.d.ts +1 -1
- package/dist/src/components/layout/modal/NeonModal.d.ts +5 -5
- package/dist/src/components/layout/page/NeonPage.d.ts +1051 -8
- package/dist/src/components/layout/swiper/NeonSwiper.d.ts +1 -1
- package/dist/src/components/navigation/action-menu/NeonActionMenu.d.ts +2 -2
- package/dist/src/components/navigation/breadcrumbs/NeonBreadcrumbs.d.ts +3 -3
- package/dist/src/components/navigation/dropdown-menu/NeonDropdownMenu.d.ts +32 -32
- package/dist/src/components/navigation/link/NeonLink.d.ts +2 -2
- package/dist/src/components/navigation/menu/NeonMenu.d.ts +34 -34
- package/dist/src/components/navigation/mobile-menu/NeonMobileMenu.d.ts +34 -34
- package/dist/src/components/navigation/pagination/NeonPagination.d.ts +3 -3
- package/dist/src/components/navigation/tree-menu/NeonTreeMenu.d.ts +17 -2
- package/dist/src/components/presentation/badge/NeonBadge.d.ts +8 -12
- package/dist/src/components/presentation/dropdown/NeonDropdown.d.ts +10 -10
- package/dist/src/components/presentation/header/NeonHeader.d.ts +3 -3
- package/dist/src/components/presentation/image-carousel/NeonImageCarousel.d.ts +5 -5
- package/dist/src/components/presentation/tabs/NeonTabs.d.ts +7 -7
- package/dist/src/components/user-input/button/NeonButton.d.ts +4 -6
- package/dist/src/components/user-input/color/NeonColor.d.ts +1 -1
- package/dist/src/components/user-input/date-picker/NeonDatePicker.d.ts +23 -17
- package/dist/src/components/user-input/file/NeonFile.d.ts +6 -6
- package/dist/src/components/user-input/filter-list/NeonFilterList.d.ts +2 -2
- package/dist/src/components/user-input/input/NeonInput.d.ts +1 -1
- package/dist/src/components/user-input/number/NeonNumber.d.ts +4 -4
- package/dist/src/components/user-input/password/NeonPassword.d.ts +1 -1
- package/dist/src/components/user-input/search/NeonSearch.d.ts +51 -33
- package/dist/src/components/user-input/select/NeonSelect.d.ts +66 -42
- package/dist/src/model/feedback/dialog/NeonDialogMessage.d.ts +38 -0
- package/dist/src/model/navigation/tree-menu/NeonTreeMenuItemModel.d.ts +2 -0
- package/dist/src/neon.d.ts +3 -0
- package/dist/src/utils/feedback/dialog/NeonDialogService.d.ts +27 -0
- package/dist/utils/feedback/dialog/NeonDialogService.cjs.js +2 -0
- package/dist/utils/feedback/dialog/NeonDialogService.cjs.js.map +1 -0
- package/dist/utils/feedback/dialog/NeonDialogService.es.js +48 -0
- package/dist/utils/feedback/dialog/NeonDialogService.es.js.map +1 -0
- package/package.json +1 -1
- package/src/sass/components/_tree-menu.scss +39 -3
- package/src/sass/includes/_dependencies.scss +8 -1
|
@@ -199,7 +199,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
199
199
|
toggleOpen: () => void;
|
|
200
200
|
onBlur: () => void;
|
|
201
201
|
onFocus: () => void;
|
|
202
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "
|
|
202
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "blur" | "focus" | "dropdown-placement")[], import("vue").PublicProps, {
|
|
203
203
|
color: NeonFunctionalColor;
|
|
204
204
|
icon: string;
|
|
205
205
|
label: string;
|
|
@@ -508,7 +508,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
508
508
|
iconClicked: ($event: Event) => void;
|
|
509
509
|
changeValue: (event: InputEvent) => void;
|
|
510
510
|
onKeyDown: (event: KeyboardEvent) => void;
|
|
511
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "
|
|
511
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "blur" | "focus" | "icon-click")[], import("vue").PublicProps, {
|
|
512
512
|
color: NeonFunctionalColor;
|
|
513
513
|
icon: string;
|
|
514
514
|
type: import("../../../neon").NeonInputType;
|
|
@@ -823,7 +823,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
823
823
|
iconClicked: ($event: Event) => void;
|
|
824
824
|
changeValue: (event: InputEvent) => void;
|
|
825
825
|
onKeyDown: (event: KeyboardEvent) => void;
|
|
826
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "
|
|
826
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "blur" | "focus" | "icon-click")[], import("vue").PublicProps, {
|
|
827
827
|
color: NeonFunctionalColor;
|
|
828
828
|
icon: string;
|
|
829
829
|
type: import("../../../neon").NeonInputType;
|
|
@@ -1332,8 +1332,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1332
1332
|
disabled: boolean;
|
|
1333
1333
|
href: string;
|
|
1334
1334
|
size: import("../../../neon").NeonButtonSize;
|
|
1335
|
-
outline: boolean;
|
|
1336
1335
|
alternateColor: NeonFunctionalColor;
|
|
1336
|
+
outline: boolean;
|
|
1337
1337
|
iconPosition: import("../../../neon").NeonHorizontalPosition;
|
|
1338
1338
|
buttonStyle: import("../../../neon").NeonButtonStyle;
|
|
1339
1339
|
buttonType: import("../../../neon").NeonButtonType;
|
|
@@ -1459,14 +1459,18 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1459
1459
|
default: boolean;
|
|
1460
1460
|
};
|
|
1461
1461
|
}>, {
|
|
1462
|
-
neonLink: import("vue").Ref<HTMLAnchorElement | null, HTMLAnchorElement | null>;
|
|
1462
|
+
neonLink: import("vue").Ref<HTMLAnchorElement | null, HTMLAnchorElement | null>; /**
|
|
1463
|
+
* Allow multi-select.
|
|
1464
|
+
*/
|
|
1463
1465
|
routerUrl: import("vue").ComputedRef<string | undefined>;
|
|
1464
1466
|
sanitizedAttributes: import("vue").ComputedRef<{
|
|
1465
1467
|
[x: string]: unknown;
|
|
1466
1468
|
}>;
|
|
1467
|
-
activeRoute: import("vue").ComputedRef<boolean | "">;
|
|
1468
|
-
exactRoute: import("vue").ComputedRef<boolean | "">;
|
|
1469
|
-
onClick: () => void;
|
|
1469
|
+
activeRoute: import("vue").ComputedRef<boolean | "" | undefined>;
|
|
1470
|
+
exactRoute: import("vue").ComputedRef<boolean | "" | undefined>;
|
|
1471
|
+
onClick: () => void; /**
|
|
1472
|
+
* Placeholder when multiple values are selected.
|
|
1473
|
+
*/
|
|
1470
1474
|
onSpace: () => Promise<void>;
|
|
1471
1475
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1472
1476
|
href: {
|
|
@@ -1651,7 +1655,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1651
1655
|
iconClicked: ($event: Event) => void;
|
|
1652
1656
|
changeValue: (event: InputEvent) => void;
|
|
1653
1657
|
onKeyDown: (event: KeyboardEvent) => void;
|
|
1654
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "
|
|
1658
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "blur" | "focus" | "icon-click")[], "update:modelValue" | "blur" | "focus" | "icon-click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1655
1659
|
id: {
|
|
1656
1660
|
type: StringConstructor;
|
|
1657
1661
|
default: null;
|
|
@@ -2175,8 +2179,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2175
2179
|
disabled: boolean;
|
|
2176
2180
|
href: string;
|
|
2177
2181
|
size: import("../../../neon").NeonButtonSize;
|
|
2178
|
-
outline: boolean;
|
|
2179
2182
|
alternateColor: NeonFunctionalColor;
|
|
2183
|
+
outline: boolean;
|
|
2180
2184
|
iconPosition: import("../../../neon").NeonHorizontalPosition;
|
|
2181
2185
|
buttonStyle: import("../../../neon").NeonButtonStyle;
|
|
2182
2186
|
buttonType: import("../../../neon").NeonButtonType;
|
|
@@ -2302,14 +2306,18 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2302
2306
|
default: boolean;
|
|
2303
2307
|
};
|
|
2304
2308
|
}>, {
|
|
2305
|
-
neonLink: import("vue").Ref<HTMLAnchorElement | null, HTMLAnchorElement | null>;
|
|
2309
|
+
neonLink: import("vue").Ref<HTMLAnchorElement | null, HTMLAnchorElement | null>; /**
|
|
2310
|
+
* Allow multi-select.
|
|
2311
|
+
*/
|
|
2306
2312
|
routerUrl: import("vue").ComputedRef<string | undefined>;
|
|
2307
2313
|
sanitizedAttributes: import("vue").ComputedRef<{
|
|
2308
2314
|
[x: string]: unknown;
|
|
2309
2315
|
}>;
|
|
2310
|
-
activeRoute: import("vue").ComputedRef<boolean | "">;
|
|
2311
|
-
exactRoute: import("vue").ComputedRef<boolean | "">;
|
|
2312
|
-
onClick: () => void;
|
|
2316
|
+
activeRoute: import("vue").ComputedRef<boolean | "" | undefined>;
|
|
2317
|
+
exactRoute: import("vue").ComputedRef<boolean | "" | undefined>;
|
|
2318
|
+
onClick: () => void; /**
|
|
2319
|
+
* Placeholder when multiple values are selected.
|
|
2320
|
+
*/
|
|
2313
2321
|
onSpace: () => Promise<void>;
|
|
2314
2322
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
2315
2323
|
href: {
|
|
@@ -2634,7 +2642,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2634
2642
|
toggleOpen: () => void;
|
|
2635
2643
|
onBlur: () => void;
|
|
2636
2644
|
onFocus: () => void;
|
|
2637
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "
|
|
2645
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "blur" | "focus" | "dropdown-placement")[], import("vue").PublicProps, {
|
|
2638
2646
|
color: NeonFunctionalColor;
|
|
2639
2647
|
icon: string;
|
|
2640
2648
|
label: string;
|
|
@@ -2943,7 +2951,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2943
2951
|
iconClicked: ($event: Event) => void;
|
|
2944
2952
|
changeValue: (event: InputEvent) => void;
|
|
2945
2953
|
onKeyDown: (event: KeyboardEvent) => void;
|
|
2946
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "
|
|
2954
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "blur" | "focus" | "icon-click")[], import("vue").PublicProps, {
|
|
2947
2955
|
color: NeonFunctionalColor;
|
|
2948
2956
|
icon: string;
|
|
2949
2957
|
type: import("../../../neon").NeonInputType;
|
|
@@ -3258,7 +3266,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
3258
3266
|
iconClicked: ($event: Event) => void;
|
|
3259
3267
|
changeValue: (event: InputEvent) => void;
|
|
3260
3268
|
onKeyDown: (event: KeyboardEvent) => void;
|
|
3261
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "
|
|
3269
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "blur" | "focus" | "icon-click")[], import("vue").PublicProps, {
|
|
3262
3270
|
color: NeonFunctionalColor;
|
|
3263
3271
|
icon: string;
|
|
3264
3272
|
type: import("../../../neon").NeonInputType;
|
|
@@ -3767,8 +3775,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
3767
3775
|
disabled: boolean;
|
|
3768
3776
|
href: string;
|
|
3769
3777
|
size: import("../../../neon").NeonButtonSize;
|
|
3770
|
-
outline: boolean;
|
|
3771
3778
|
alternateColor: NeonFunctionalColor;
|
|
3779
|
+
outline: boolean;
|
|
3772
3780
|
iconPosition: import("../../../neon").NeonHorizontalPosition;
|
|
3773
3781
|
buttonStyle: import("../../../neon").NeonButtonStyle;
|
|
3774
3782
|
buttonType: import("../../../neon").NeonButtonType;
|
|
@@ -3894,14 +3902,18 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
3894
3902
|
default: boolean;
|
|
3895
3903
|
};
|
|
3896
3904
|
}>, {
|
|
3897
|
-
neonLink: import("vue").Ref<HTMLAnchorElement | null, HTMLAnchorElement | null>;
|
|
3905
|
+
neonLink: import("vue").Ref<HTMLAnchorElement | null, HTMLAnchorElement | null>; /**
|
|
3906
|
+
* Allow multi-select.
|
|
3907
|
+
*/
|
|
3898
3908
|
routerUrl: import("vue").ComputedRef<string | undefined>;
|
|
3899
3909
|
sanitizedAttributes: import("vue").ComputedRef<{
|
|
3900
3910
|
[x: string]: unknown;
|
|
3901
3911
|
}>;
|
|
3902
|
-
activeRoute: import("vue").ComputedRef<boolean | "">;
|
|
3903
|
-
exactRoute: import("vue").ComputedRef<boolean | "">;
|
|
3904
|
-
onClick: () => void;
|
|
3912
|
+
activeRoute: import("vue").ComputedRef<boolean | "" | undefined>;
|
|
3913
|
+
exactRoute: import("vue").ComputedRef<boolean | "" | undefined>;
|
|
3914
|
+
onClick: () => void; /**
|
|
3915
|
+
* Placeholder when multiple values are selected.
|
|
3916
|
+
*/
|
|
3905
3917
|
onSpace: () => Promise<void>;
|
|
3906
3918
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
3907
3919
|
href: {
|
|
@@ -4086,7 +4098,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
4086
4098
|
iconClicked: ($event: Event) => void;
|
|
4087
4099
|
changeValue: (event: InputEvent) => void;
|
|
4088
4100
|
onKeyDown: (event: KeyboardEvent) => void;
|
|
4089
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "
|
|
4101
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "blur" | "focus" | "icon-click")[], "update:modelValue" | "blur" | "focus" | "icon-click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
4090
4102
|
id: {
|
|
4091
4103
|
type: StringConstructor;
|
|
4092
4104
|
default: null;
|
|
@@ -4610,8 +4622,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
4610
4622
|
disabled: boolean;
|
|
4611
4623
|
href: string;
|
|
4612
4624
|
size: import("../../../neon").NeonButtonSize;
|
|
4613
|
-
outline: boolean;
|
|
4614
4625
|
alternateColor: NeonFunctionalColor;
|
|
4626
|
+
outline: boolean;
|
|
4615
4627
|
iconPosition: import("../../../neon").NeonHorizontalPosition;
|
|
4616
4628
|
buttonStyle: import("../../../neon").NeonButtonStyle;
|
|
4617
4629
|
buttonType: import("../../../neon").NeonButtonType;
|
|
@@ -4737,14 +4749,18 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
4737
4749
|
default: boolean;
|
|
4738
4750
|
};
|
|
4739
4751
|
}>, {
|
|
4740
|
-
neonLink: import("vue").Ref<HTMLAnchorElement | null, HTMLAnchorElement | null>;
|
|
4752
|
+
neonLink: import("vue").Ref<HTMLAnchorElement | null, HTMLAnchorElement | null>; /**
|
|
4753
|
+
* Allow multi-select.
|
|
4754
|
+
*/
|
|
4741
4755
|
routerUrl: import("vue").ComputedRef<string | undefined>;
|
|
4742
4756
|
sanitizedAttributes: import("vue").ComputedRef<{
|
|
4743
4757
|
[x: string]: unknown;
|
|
4744
4758
|
}>;
|
|
4745
|
-
activeRoute: import("vue").ComputedRef<boolean | "">;
|
|
4746
|
-
exactRoute: import("vue").ComputedRef<boolean | "">;
|
|
4747
|
-
onClick: () => void;
|
|
4759
|
+
activeRoute: import("vue").ComputedRef<boolean | "" | undefined>;
|
|
4760
|
+
exactRoute: import("vue").ComputedRef<boolean | "" | undefined>;
|
|
4761
|
+
onClick: () => void; /**
|
|
4762
|
+
* Placeholder when multiple values are selected.
|
|
4763
|
+
*/
|
|
4748
4764
|
onSpace: () => Promise<void>;
|
|
4749
4765
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
4750
4766
|
href: {
|
|
@@ -5190,7 +5206,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
5190
5206
|
toggleOpen: () => void;
|
|
5191
5207
|
onBlur: () => void;
|
|
5192
5208
|
onFocus: () => void;
|
|
5193
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "
|
|
5209
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "blur" | "focus" | "dropdown-placement")[], "update:modelValue" | "blur" | "focus" | "dropdown-placement", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
5194
5210
|
id: {
|
|
5195
5211
|
type: StringConstructor;
|
|
5196
5212
|
};
|
|
@@ -5567,7 +5583,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
5567
5583
|
iconClicked: ($event: Event) => void;
|
|
5568
5584
|
changeValue: (event: InputEvent) => void;
|
|
5569
5585
|
onKeyDown: (event: KeyboardEvent) => void;
|
|
5570
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "
|
|
5586
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "blur" | "focus" | "icon-click")[], import("vue").PublicProps, {
|
|
5571
5587
|
color: NeonFunctionalColor;
|
|
5572
5588
|
icon: string;
|
|
5573
5589
|
type: import("../../../neon").NeonInputType;
|
|
@@ -5882,7 +5898,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
5882
5898
|
iconClicked: ($event: Event) => void;
|
|
5883
5899
|
changeValue: (event: InputEvent) => void;
|
|
5884
5900
|
onKeyDown: (event: KeyboardEvent) => void;
|
|
5885
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "
|
|
5901
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "blur" | "focus" | "icon-click")[], import("vue").PublicProps, {
|
|
5886
5902
|
color: NeonFunctionalColor;
|
|
5887
5903
|
icon: string;
|
|
5888
5904
|
type: import("../../../neon").NeonInputType;
|
|
@@ -6391,8 +6407,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
6391
6407
|
disabled: boolean;
|
|
6392
6408
|
href: string;
|
|
6393
6409
|
size: import("../../../neon").NeonButtonSize;
|
|
6394
|
-
outline: boolean;
|
|
6395
6410
|
alternateColor: NeonFunctionalColor;
|
|
6411
|
+
outline: boolean;
|
|
6396
6412
|
iconPosition: import("../../../neon").NeonHorizontalPosition;
|
|
6397
6413
|
buttonStyle: import("../../../neon").NeonButtonStyle;
|
|
6398
6414
|
buttonType: import("../../../neon").NeonButtonType;
|
|
@@ -6518,14 +6534,18 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
6518
6534
|
default: boolean;
|
|
6519
6535
|
};
|
|
6520
6536
|
}>, {
|
|
6521
|
-
neonLink: import("vue").Ref<HTMLAnchorElement | null, HTMLAnchorElement | null>;
|
|
6537
|
+
neonLink: import("vue").Ref<HTMLAnchorElement | null, HTMLAnchorElement | null>; /**
|
|
6538
|
+
* Allow multi-select.
|
|
6539
|
+
*/
|
|
6522
6540
|
routerUrl: import("vue").ComputedRef<string | undefined>;
|
|
6523
6541
|
sanitizedAttributes: import("vue").ComputedRef<{
|
|
6524
6542
|
[x: string]: unknown;
|
|
6525
6543
|
}>;
|
|
6526
|
-
activeRoute: import("vue").ComputedRef<boolean | "">;
|
|
6527
|
-
exactRoute: import("vue").ComputedRef<boolean | "">;
|
|
6528
|
-
onClick: () => void;
|
|
6544
|
+
activeRoute: import("vue").ComputedRef<boolean | "" | undefined>;
|
|
6545
|
+
exactRoute: import("vue").ComputedRef<boolean | "" | undefined>;
|
|
6546
|
+
onClick: () => void; /**
|
|
6547
|
+
* Placeholder when multiple values are selected.
|
|
6548
|
+
*/
|
|
6529
6549
|
onSpace: () => Promise<void>;
|
|
6530
6550
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
6531
6551
|
href: {
|
|
@@ -6710,7 +6730,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
6710
6730
|
iconClicked: ($event: Event) => void;
|
|
6711
6731
|
changeValue: (event: InputEvent) => void;
|
|
6712
6732
|
onKeyDown: (event: KeyboardEvent) => void;
|
|
6713
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "
|
|
6733
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "blur" | "focus" | "icon-click")[], "update:modelValue" | "blur" | "focus" | "icon-click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
6714
6734
|
id: {
|
|
6715
6735
|
type: StringConstructor;
|
|
6716
6736
|
default: null;
|
|
@@ -7234,8 +7254,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
7234
7254
|
disabled: boolean;
|
|
7235
7255
|
href: string;
|
|
7236
7256
|
size: import("../../../neon").NeonButtonSize;
|
|
7237
|
-
outline: boolean;
|
|
7238
7257
|
alternateColor: NeonFunctionalColor;
|
|
7258
|
+
outline: boolean;
|
|
7239
7259
|
iconPosition: import("../../../neon").NeonHorizontalPosition;
|
|
7240
7260
|
buttonStyle: import("../../../neon").NeonButtonStyle;
|
|
7241
7261
|
buttonType: import("../../../neon").NeonButtonType;
|
|
@@ -7361,14 +7381,18 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
7361
7381
|
default: boolean;
|
|
7362
7382
|
};
|
|
7363
7383
|
}>, {
|
|
7364
|
-
neonLink: import("vue").Ref<HTMLAnchorElement | null, HTMLAnchorElement | null>;
|
|
7384
|
+
neonLink: import("vue").Ref<HTMLAnchorElement | null, HTMLAnchorElement | null>; /**
|
|
7385
|
+
* Allow multi-select.
|
|
7386
|
+
*/
|
|
7365
7387
|
routerUrl: import("vue").ComputedRef<string | undefined>;
|
|
7366
7388
|
sanitizedAttributes: import("vue").ComputedRef<{
|
|
7367
7389
|
[x: string]: unknown;
|
|
7368
7390
|
}>;
|
|
7369
|
-
activeRoute: import("vue").ComputedRef<boolean | "">;
|
|
7370
|
-
exactRoute: import("vue").ComputedRef<boolean | "">;
|
|
7371
|
-
onClick: () => void;
|
|
7391
|
+
activeRoute: import("vue").ComputedRef<boolean | "" | undefined>;
|
|
7392
|
+
exactRoute: import("vue").ComputedRef<boolean | "" | undefined>;
|
|
7393
|
+
onClick: () => void; /**
|
|
7394
|
+
* Placeholder when multiple values are selected.
|
|
7395
|
+
*/
|
|
7372
7396
|
onSpace: () => Promise<void>;
|
|
7373
7397
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7374
7398
|
href: {
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { NeonFunctionalColor } from '@/model/common/color/NeonFunctionalColor';
|
|
2
|
+
/**
|
|
3
|
+
* A confirmation 'Dialog' style message. These are more complex than an alert and return a promise.
|
|
4
|
+
*/
|
|
5
|
+
export interface NeonDialogMessage {
|
|
6
|
+
/**
|
|
7
|
+
* The color of the button for the confirm (positive) action.
|
|
8
|
+
*/
|
|
9
|
+
color?: NeonFunctionalColor;
|
|
10
|
+
/**
|
|
11
|
+
* Alternate confirm button color for creating a gradient button. NOTE: can also be the same color as 'color'.
|
|
12
|
+
*/
|
|
13
|
+
alternateColor?: NeonFunctionalColor;
|
|
14
|
+
/**
|
|
15
|
+
* The label of the button for the cancel (negative) action.
|
|
16
|
+
*/
|
|
17
|
+
cancelLabel?: string;
|
|
18
|
+
/**
|
|
19
|
+
* The label of the button for the confirm (positive) action.
|
|
20
|
+
*/
|
|
21
|
+
confirmLabel?: string;
|
|
22
|
+
/**
|
|
23
|
+
* The dialog title
|
|
24
|
+
*/
|
|
25
|
+
title: string;
|
|
26
|
+
/**
|
|
27
|
+
* The dialog question. Can be html (rendered using v-html).
|
|
28
|
+
*/
|
|
29
|
+
question: string;
|
|
30
|
+
/**
|
|
31
|
+
* Whether the dialog is open.
|
|
32
|
+
*/
|
|
33
|
+
open?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Increase the opacity so that the page behind the modal is no longer visible
|
|
36
|
+
*/
|
|
37
|
+
opaque?: boolean;
|
|
38
|
+
}
|
|
@@ -11,6 +11,8 @@ export interface NeonTreeMenuItemModel {
|
|
|
11
11
|
href?: string;
|
|
12
12
|
/** Expanded state of the menu item. */
|
|
13
13
|
expanded?: boolean;
|
|
14
|
+
/** Denotes the link is external (open in a new tab). */
|
|
15
|
+
external?: boolean;
|
|
14
16
|
/** A list of page sub menu items */
|
|
15
17
|
subMenu?: NeonTreeMenuSubMenuModel[];
|
|
16
18
|
}
|
package/dist/src/neon.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ export { default as NeonChip } from './components/user-input/chip/NeonChip.vue';
|
|
|
15
15
|
export { default as NeonColor } from './components/user-input/color/NeonColor.vue';
|
|
16
16
|
export { default as NeonDatePicker } from './components/user-input/date-picker/NeonDatePicker.vue';
|
|
17
17
|
export { default as NeonDialog } from './components/feedback/dialog/NeonDialog.vue';
|
|
18
|
+
export { default as NeonDialogContainer } from './components/feedback/alert/container/NeonDialogContainer.vue';
|
|
18
19
|
export { default as NeonDrawer } from './components/layout/drawer/NeonDrawer.vue';
|
|
19
20
|
export { default as NeonDropdown } from './components/presentation/dropdown/NeonDropdown.vue';
|
|
20
21
|
export { default as NeonDropdownMenu } from './components/navigation/dropdown-menu/NeonDropdownMenu.vue';
|
|
@@ -89,6 +90,7 @@ export type { NeonCarouselImage } from '@/model/presentation/image-carousel/Neon
|
|
|
89
90
|
export { NeonChipAction } from '@/model/user-input/chip/NeonChipAction';
|
|
90
91
|
export type { NeonContrastAccessibility } from '@/model/common/color/NeonContrastAccessibility';
|
|
91
92
|
export type { NeonDate } from '@/model/common/date/NeonDate';
|
|
93
|
+
export type { NeonDialogMessage } from './model/feedback/dialog/NeonDialogMessage';
|
|
92
94
|
export type { NeonDropdownMenuItem } from '@/model/presentation/dropdown/NeonDropdownMenuItem';
|
|
93
95
|
export { NeonDropdownPlacement } from '@/model/presentation/dropdown/NeonDropdownPlacement';
|
|
94
96
|
export type { NeonDropdownPlacementObject } from '@/model/presentation/dropdown/NeonDropdownPlacementObject';
|
|
@@ -143,6 +145,7 @@ export { NeonClipboardService, NeonClipboardSupport } from '@/utils/common/clipb
|
|
|
143
145
|
export { NeonClosableUtils } from '@/utils/common/closable/NeonClosableUtils';
|
|
144
146
|
export { NeonDateUtils } from '@/utils/common/date/NeonDateUtils';
|
|
145
147
|
export { NeonDebounceUtils } from '@/utils/common/debounce/NeonDebounceUtils';
|
|
148
|
+
export { NeonDialogService } from './utils/feedback/dialog/NeonDialogService';
|
|
146
149
|
export { NeonDropdownPlacementUtils } from '@/utils/presentation/dropdown/NeonDropdownPlacementUtils';
|
|
147
150
|
export { NeonEventBus } from '@/utils/common/event/NeonEventBus';
|
|
148
151
|
export { fileToDataURL } from '@/utils/user-input/file/NeonFileUtils';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { NeonDialogMessage } from '@/model/feedback/dialog/NeonDialogMessage';
|
|
2
|
+
/**
|
|
3
|
+
* NeonDialogService is a service for invoking confirmation dialogs to the <strong>NeonAlert</strong> component for display to the
|
|
4
|
+
* user
|
|
5
|
+
*/
|
|
6
|
+
export declare class NeonDialogService {
|
|
7
|
+
static readonly resolveEventKey: string;
|
|
8
|
+
static readonly defaultDialogMessage: NeonDialogMessage;
|
|
9
|
+
/**
|
|
10
|
+
* Show a dialog message.
|
|
11
|
+
*
|
|
12
|
+
* @param dialog the dialog message to display.
|
|
13
|
+
*/
|
|
14
|
+
static show(dialog: Omit<NeonDialogMessage, 'open'>): Promise<boolean>;
|
|
15
|
+
/**
|
|
16
|
+
* Trigger a resolution of the show dialog promise.
|
|
17
|
+
*
|
|
18
|
+
* @param key boolean value to resolve the promise.
|
|
19
|
+
*/
|
|
20
|
+
static resolve(key: boolean): void;
|
|
21
|
+
/**
|
|
22
|
+
* Generate an event key so that all events are published on the correct topic.
|
|
23
|
+
* @returns The event key for sending a message on <a href="/utils/common/event/NeonEventBus">NeonEventBus</a>.
|
|
24
|
+
*/
|
|
25
|
+
static generateEventKey(): string;
|
|
26
|
+
private static emit;
|
|
27
|
+
}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";var v=Object.defineProperty;var u=(n,e,t)=>e in n?v(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var i=(n,e,t)=>u(n,typeof e!="symbol"?e+"":e,t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../../common/event/NeonEventBus.cjs.js"),l=require("vue"),s=class s{static async show(e){return s.resolve(!1),await l.nextTick(),s.emit(e),new Promise(t=>o.NeonEventBus.on(this.resolveEventKey,r=>{t(r)}))}static resolve(e){o.NeonEventBus.emit(s.resolveEventKey,e)}static generateEventKey(){return`${o.NeonEventBus.messagePrefix}-dialog`}static emit(e){const t=s.generateEventKey();o.NeonEventBus.emit(t,e)}};i(s,"resolveEventKey",`${o.NeonEventBus.messagePrefix}-dialog-resolve`),i(s,"defaultDialogMessage",{open:!1,title:"",question:""});let a=s;exports.NeonDialogService=a;
|
|
2
|
+
//# sourceMappingURL=NeonDialogService.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NeonDialogService.cjs.js","sources":["../../../../src/utils/feedback/dialog/NeonDialogService.ts"],"sourcesContent":["import type { NeonDialogMessage } from '@/model/feedback/dialog/NeonDialogMessage';\nimport { NeonEventBus } from '@/utils/common/event/NeonEventBus';\nimport { nextTick } from 'vue';\n\n/**\n * NeonDialogService is a service for invoking confirmation dialogs to the <strong>NeonAlert</strong> component for display to the\n * user\n */\nexport class NeonDialogService {\n public static readonly resolveEventKey = `${NeonEventBus.messagePrefix}-dialog-resolve`;\n\n public static readonly defaultDialogMessage: NeonDialogMessage = {\n open: false,\n title: '',\n question: '',\n };\n\n /**\n * Show a dialog message.\n *\n * @param dialog the dialog message to display.\n */\n public static async show(dialog: Omit<NeonDialogMessage, 'open'>): Promise<boolean> {\n NeonDialogService.resolve(false);\n await nextTick();\n NeonDialogService.emit(dialog);\n return new Promise((resolve) =>\n NeonEventBus.on(this.resolveEventKey, (key: boolean) => {\n resolve(key);\n }),\n );\n }\n\n /**\n * Trigger a resolution of the show dialog promise.\n *\n * @param key boolean value to resolve the promise.\n */\n public static resolve(key: boolean) {\n NeonEventBus.emit(NeonDialogService.resolveEventKey, key);\n }\n\n /**\n * Generate an event key so that all events are published on the correct topic.\n * @returns The event key for sending a message on <a href=\"/utils/common/event/NeonEventBus\">NeonEventBus</a>.\n */\n public static generateEventKey() {\n return `${NeonEventBus.messagePrefix}-dialog`;\n }\n\n private static emit(message: NeonDialogMessage) {\n const eventKey = NeonDialogService.generateEventKey();\n NeonEventBus.emit(eventKey, message);\n }\n}\n"],"names":["_NeonDialogService","dialog","nextTick","resolve","NeonEventBus","key","message","eventKey","__publicField","NeonDialogService"],"mappings":"+TAQaA,EAAN,MAAMA,CAAkB,CAc7B,aAAoB,KAAKC,EAA2D,CAClF,OAAAD,EAAkB,QAAQ,EAAK,EAC/B,MAAME,WAAA,EACNF,EAAkB,KAAKC,CAAM,EACtB,IAAI,QAASE,GAClBC,EAAAA,aAAa,GAAG,KAAK,gBAAkBC,GAAiB,CACtDF,EAAQE,CAAG,CACb,CAAC,CAAA,CAEL,CAOA,OAAc,QAAQA,EAAc,CAClCD,EAAAA,aAAa,KAAKJ,EAAkB,gBAAiBK,CAAG,CAC1D,CAMA,OAAc,kBAAmB,CAC/B,MAAO,GAAGD,EAAAA,aAAa,aAAa,SACtC,CAEA,OAAe,KAAKE,EAA4B,CAC9C,MAAMC,EAAWP,EAAkB,iBAAA,EACnCI,eAAa,KAAKG,EAAUD,CAAO,CACrC,CACF,EA7CEE,EADWR,EACY,kBAAkB,GAAGI,eAAa,aAAa,mBAEtEI,EAHWR,EAGY,uBAA0C,CAC/D,KAAM,GACN,MAAO,GACP,SAAU,EAAA,GANP,IAAMS,EAANT"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
var l = Object.defineProperty;
|
|
2
|
+
var m = (a, e, t) => e in a ? l(a, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : a[e] = t;
|
|
3
|
+
var r = (a, e, t) => m(a, typeof e != "symbol" ? e + "" : e, t);
|
|
4
|
+
import { NeonEventBus as i } from "../../common/event/NeonEventBus.es.js";
|
|
5
|
+
import { nextTick as v } from "vue";
|
|
6
|
+
const s = class s {
|
|
7
|
+
/**
|
|
8
|
+
* Show a dialog message.
|
|
9
|
+
*
|
|
10
|
+
* @param dialog the dialog message to display.
|
|
11
|
+
*/
|
|
12
|
+
static async show(e) {
|
|
13
|
+
return s.resolve(!1), await v(), s.emit(e), new Promise(
|
|
14
|
+
(t) => i.on(this.resolveEventKey, (o) => {
|
|
15
|
+
t(o);
|
|
16
|
+
})
|
|
17
|
+
);
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Trigger a resolution of the show dialog promise.
|
|
21
|
+
*
|
|
22
|
+
* @param key boolean value to resolve the promise.
|
|
23
|
+
*/
|
|
24
|
+
static resolve(e) {
|
|
25
|
+
i.emit(s.resolveEventKey, e);
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Generate an event key so that all events are published on the correct topic.
|
|
29
|
+
* @returns The event key for sending a message on <a href="/utils/common/event/NeonEventBus">NeonEventBus</a>.
|
|
30
|
+
*/
|
|
31
|
+
static generateEventKey() {
|
|
32
|
+
return `${i.messagePrefix}-dialog`;
|
|
33
|
+
}
|
|
34
|
+
static emit(e) {
|
|
35
|
+
const t = s.generateEventKey();
|
|
36
|
+
i.emit(t, e);
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
r(s, "resolveEventKey", `${i.messagePrefix}-dialog-resolve`), r(s, "defaultDialogMessage", {
|
|
40
|
+
open: !1,
|
|
41
|
+
title: "",
|
|
42
|
+
question: ""
|
|
43
|
+
});
|
|
44
|
+
let n = s;
|
|
45
|
+
export {
|
|
46
|
+
n as NeonDialogService
|
|
47
|
+
};
|
|
48
|
+
//# sourceMappingURL=NeonDialogService.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NeonDialogService.es.js","sources":["../../../../src/utils/feedback/dialog/NeonDialogService.ts"],"sourcesContent":["import type { NeonDialogMessage } from '@/model/feedback/dialog/NeonDialogMessage';\nimport { NeonEventBus } from '@/utils/common/event/NeonEventBus';\nimport { nextTick } from 'vue';\n\n/**\n * NeonDialogService is a service for invoking confirmation dialogs to the <strong>NeonAlert</strong> component for display to the\n * user\n */\nexport class NeonDialogService {\n public static readonly resolveEventKey = `${NeonEventBus.messagePrefix}-dialog-resolve`;\n\n public static readonly defaultDialogMessage: NeonDialogMessage = {\n open: false,\n title: '',\n question: '',\n };\n\n /**\n * Show a dialog message.\n *\n * @param dialog the dialog message to display.\n */\n public static async show(dialog: Omit<NeonDialogMessage, 'open'>): Promise<boolean> {\n NeonDialogService.resolve(false);\n await nextTick();\n NeonDialogService.emit(dialog);\n return new Promise((resolve) =>\n NeonEventBus.on(this.resolveEventKey, (key: boolean) => {\n resolve(key);\n }),\n );\n }\n\n /**\n * Trigger a resolution of the show dialog promise.\n *\n * @param key boolean value to resolve the promise.\n */\n public static resolve(key: boolean) {\n NeonEventBus.emit(NeonDialogService.resolveEventKey, key);\n }\n\n /**\n * Generate an event key so that all events are published on the correct topic.\n * @returns The event key for sending a message on <a href=\"/utils/common/event/NeonEventBus\">NeonEventBus</a>.\n */\n public static generateEventKey() {\n return `${NeonEventBus.messagePrefix}-dialog`;\n }\n\n private static emit(message: NeonDialogMessage) {\n const eventKey = NeonDialogService.generateEventKey();\n NeonEventBus.emit(eventKey, message);\n }\n}\n"],"names":["_NeonDialogService","dialog","nextTick","resolve","NeonEventBus","key","message","eventKey","__publicField","NeonDialogService"],"mappings":";;;;;AAQO,MAAMA,IAAN,MAAMA,EAAkB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAc7B,aAAoB,KAAKC,GAA2D;AAClF,WAAAD,EAAkB,QAAQ,EAAK,GAC/B,MAAME,EAAA,GACNF,EAAkB,KAAKC,CAAM,GACtB,IAAI;AAAA,MAAQ,CAACE,MAClBC,EAAa,GAAG,KAAK,iBAAiB,CAACC,MAAiB;AACtD,QAAAF,EAAQE,CAAG;AAAA,MACb,CAAC;AAAA,IAAA;AAAA,EAEL;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOA,OAAc,QAAQA,GAAc;AAClC,IAAAD,EAAa,KAAKJ,EAAkB,iBAAiBK,CAAG;AAAA,EAC1D;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,OAAc,mBAAmB;AAC/B,WAAO,GAAGD,EAAa,aAAa;AAAA,EACtC;AAAA,EAEA,OAAe,KAAKE,GAA4B;AAC9C,UAAMC,IAAWP,EAAkB,iBAAA;AACnC,IAAAI,EAAa,KAAKG,GAAUD,CAAO;AAAA,EACrC;AACF;AA7CEE,EADWR,GACY,mBAAkB,GAAGI,EAAa,aAAa,oBAEtEI,EAHWR,GAGY,wBAA0C;AAAA,EAC/D,MAAM;AAAA,EACN,OAAO;AAAA,EACP,UAAU;AAAA;AANP,IAAMS,IAANT;"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aotearoan/neon",
|
|
3
3
|
"description": "Neon is a lightweight design library of Vue 3 components with minimal dependencies.",
|
|
4
|
-
"version": "28.0
|
|
4
|
+
"version": "28.1.0",
|
|
5
5
|
"main": "./dist/neon.cjs.js",
|
|
6
6
|
"module": "./dist/neon.es.js",
|
|
7
7
|
"types": "./dist/src/neon.d.ts",
|
|
@@ -20,9 +20,25 @@
|
|
|
20
20
|
touch-action: none;
|
|
21
21
|
outline: none;
|
|
22
22
|
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&--exact {
|
|
26
|
+
.neon-tree-menu__section-link,
|
|
27
|
+
.neon-tree-menu__item-link,
|
|
28
|
+
.neon-tree-menu__sub-menu-item-link {
|
|
29
|
+
&.neon-link--exact-active > span {
|
|
30
|
+
font-weight: var(--neon-font-weight-tree-menu-selected);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
23
34
|
|
|
24
|
-
|
|
25
|
-
|
|
35
|
+
&--active {
|
|
36
|
+
.neon-tree-menu__section-link,
|
|
37
|
+
.neon-tree-menu__item-link,
|
|
38
|
+
.neon-tree-menu__sub-menu-item-link {
|
|
39
|
+
&.neon-link--active > span {
|
|
40
|
+
font-weight: var(--neon-font-weight-tree-menu-selected);
|
|
41
|
+
}
|
|
26
42
|
}
|
|
27
43
|
}
|
|
28
44
|
|
|
@@ -121,7 +137,7 @@
|
|
|
121
137
|
.neon-tree-menu__section .neon-tree-menu__section-link,
|
|
122
138
|
.neon-tree-menu__item .neon-tree-menu__item-link,
|
|
123
139
|
.neon-tree-menu__sub-menu-item .neon-tree-menu__sub-menu-item-link {
|
|
124
|
-
&.neon-link--active {
|
|
140
|
+
&.neon-link--exact-active {
|
|
125
141
|
@include svg.color-with-svg(var(--neon-color-#{$color}));
|
|
126
142
|
}
|
|
127
143
|
|
|
@@ -137,6 +153,26 @@
|
|
|
137
153
|
@include outline.focus-text-outline(var(--neon-rgb-#{$color}));
|
|
138
154
|
}
|
|
139
155
|
}
|
|
156
|
+
|
|
157
|
+
&.neon-tree-menu--exact {
|
|
158
|
+
.neon-tree-menu__section .neon-tree-menu__section-link,
|
|
159
|
+
.neon-tree-menu__item .neon-tree-menu__item-link,
|
|
160
|
+
.neon-tree-menu__sub-menu-item .neon-tree-menu__sub-menu-item-link {
|
|
161
|
+
&.neon-link--exact-active {
|
|
162
|
+
@include svg.color-with-svg(var(--neon-color-#{$color}));
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
&.neon-tree-menu--active {
|
|
168
|
+
.neon-tree-menu__section .neon-tree-menu__section-link,
|
|
169
|
+
.neon-tree-menu__item .neon-tree-menu__item-link,
|
|
170
|
+
.neon-tree-menu__sub-menu-item .neon-tree-menu__sub-menu-item-link {
|
|
171
|
+
&.neon-link--active {
|
|
172
|
+
@include svg.color-with-svg(var(--neon-color-#{$color}));
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
}
|
|
140
176
|
}
|
|
141
177
|
}
|
|
142
178
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
$neon-component-dependencies: (
|
|
6
6
|
NeonActionMenu: [NeonLink,
|
|
7
7
|
NeonIcon],
|
|
8
|
-
NeonAlert: [NeonToastContainer, NeonIcon, NeonLink],
|
|
8
|
+
NeonAlert: [NeonToastContainer, NeonIcon, NeonLink, NeonDialogContainer],
|
|
9
9
|
NeonAnchor: [],
|
|
10
10
|
NeonBadge: [NeonIcon, NeonFile, NeonButton, NeonInput, NeonList, NeonExpansionIndicator, NeonIcon, NeonLink],
|
|
11
11
|
NeonButton: [NeonExpansionIndicator,
|
|
@@ -109,6 +109,13 @@
|
|
|
109
109
|
NeonTab: [],
|
|
110
110
|
NeonTabs: [NeonIcon, NeonSwiper, NeonLink],
|
|
111
111
|
NeonToastContainer: [NeonIcon],
|
|
112
|
+
NeonDialogContainer: [NeonDialog, NeonButton,
|
|
113
|
+
NeonCard,
|
|
114
|
+
NeonCardBody,
|
|
115
|
+
NeonModal,
|
|
116
|
+
NeonExpansionIndicator,
|
|
117
|
+
NeonIcon,
|
|
118
|
+
NeonLink],
|
|
112
119
|
NeonToggle: [NeonIcon],
|
|
113
120
|
NeonToggleChip: [NeonIcon],
|
|
114
121
|
NeonTooltip: [],
|