@aotearoan/neon 9.2.9 → 9.3.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/navigation/link/NeonLink.cjs.js +1 -1
- package/dist/components/navigation/link/NeonLink.es.js +15 -6
- package/dist/components/navigation/link/NeonLink.es.js.map +1 -1
- package/dist/components/navigation/link/{NeonLink.ts_vue_type_script_src_037ccc85_lang.cjs.js → NeonLink.ts_vue_type_script_src_5a48e750_lang.cjs.js} +1 -1
- package/dist/components/navigation/link/{NeonLink.ts_vue_type_script_src_037ccc85_lang.cjs.js.map → NeonLink.ts_vue_type_script_src_5a48e750_lang.cjs.js.map} +1 -1
- package/dist/components/navigation/link/{NeonLink.ts_vue_type_script_src_037ccc85_lang.es.js → NeonLink.ts_vue_type_script_src_5a48e750_lang.es.js} +1 -1
- package/dist/components/navigation/link/{NeonLink.ts_vue_type_script_src_037ccc85_lang.es.js.map → NeonLink.ts_vue_type_script_src_5a48e750_lang.es.js.map} +1 -1
- package/dist/components/presentation/icon/NeonIcon.cjs.js +1 -1
- package/dist/components/presentation/icon/NeonIcon.es.js +6 -2
- package/dist/components/presentation/icon/NeonIcon.es.js.map +1 -1
- package/dist/components/presentation/icon/{NeonIcon.ts_vue_type_script_src_3580e0c3_lang.cjs.js → NeonIcon.ts_vue_type_script_src_d3713f20_lang.cjs.js} +1 -1
- package/dist/components/presentation/icon/{NeonIcon.ts_vue_type_script_src_3580e0c3_lang.cjs.js.map → NeonIcon.ts_vue_type_script_src_d3713f20_lang.cjs.js.map} +1 -1
- package/dist/components/presentation/icon/{NeonIcon.ts_vue_type_script_src_3580e0c3_lang.es.js → NeonIcon.ts_vue_type_script_src_d3713f20_lang.es.js} +1 -1
- package/dist/components/presentation/icon/{NeonIcon.ts_vue_type_script_src_3580e0c3_lang.es.js.map → NeonIcon.ts_vue_type_script_src_d3713f20_lang.es.js.map} +1 -1
- package/dist/components/user-input/button/NeonButton.cjs.js +1 -1
- package/dist/components/user-input/button/NeonButton.es.js +3 -7
- package/dist/components/user-input/button/NeonButton.es.js.map +1 -1
- package/dist/components/user-input/button/NeonButton.ts_vue_type_script_src_7c4eb572_lang.cjs.js +2 -0
- package/dist/components/user-input/button/NeonButton.ts_vue_type_script_src_7c4eb572_lang.cjs.js.map +1 -0
- package/dist/components/user-input/button/{NeonButton.ts_vue_type_script_src_32308d32_lang.es.js → NeonButton.ts_vue_type_script_src_7c4eb572_lang.es.js} +5 -2
- package/dist/components/user-input/button/NeonButton.ts_vue_type_script_src_7c4eb572_lang.es.js.map +1 -0
- package/dist/components/user-input/date-picker/NeonDatePicker.cjs.js +1 -1
- package/dist/components/user-input/date-picker/NeonDatePicker.es.js +2 -1
- package/dist/components/user-input/date-picker/NeonDatePicker.es.js.map +1 -1
- package/dist/components/user-input/date-picker/{NeonDatePicker.ts_vue_type_script_src_01c3f912_lang.cjs.js → NeonDatePicker.ts_vue_type_script_src_56e4ee8a_lang.cjs.js} +1 -1
- package/dist/components/user-input/date-picker/{NeonDatePicker.ts_vue_type_script_src_01c3f912_lang.cjs.js.map → NeonDatePicker.ts_vue_type_script_src_56e4ee8a_lang.cjs.js.map} +1 -1
- package/dist/components/user-input/date-picker/{NeonDatePicker.ts_vue_type_script_src_01c3f912_lang.es.js → NeonDatePicker.ts_vue_type_script_src_56e4ee8a_lang.es.js} +1 -1
- package/dist/components/user-input/date-picker/{NeonDatePicker.ts_vue_type_script_src_01c3f912_lang.es.js.map → NeonDatePicker.ts_vue_type_script_src_56e4ee8a_lang.es.js.map} +1 -1
- package/dist/components/user-input/input/NeonInput.cjs.js +1 -1
- package/dist/components/user-input/input/NeonInput.es.js +3 -2
- package/dist/components/user-input/input/NeonInput.es.js.map +1 -1
- package/dist/components/user-input/input/{NeonInput.ts_vue_type_script_src_62c5c4a9_lang.cjs.js → NeonInput.ts_vue_type_script_src_2bebb33c_lang.cjs.js} +1 -1
- package/dist/components/user-input/input/{NeonInput.ts_vue_type_script_src_62c5c4a9_lang.cjs.js.map → NeonInput.ts_vue_type_script_src_2bebb33c_lang.cjs.js.map} +1 -1
- package/dist/components/user-input/input/{NeonInput.ts_vue_type_script_src_62c5c4a9_lang.es.js → NeonInput.ts_vue_type_script_src_2bebb33c_lang.es.js} +1 -1
- package/dist/components/user-input/input/{NeonInput.ts_vue_type_script_src_62c5c4a9_lang.es.js.map → NeonInput.ts_vue_type_script_src_2bebb33c_lang.es.js.map} +1 -1
- package/dist/src/common/enums/NeonAlertLevel.d.ts +6 -0
- package/dist/src/common/enums/NeonAlertPlacement.d.ts +6 -0
- package/dist/src/common/enums/NeonButtonSize.d.ts +6 -0
- package/dist/src/common/enums/NeonButtonStyle.d.ts +5 -0
- package/dist/src/common/enums/NeonChipAction.d.ts +4 -0
- package/dist/src/common/enums/NeonDropdownPlacement.d.ts +10 -0
- package/dist/src/common/enums/NeonDropdownStyle.d.ts +6 -0
- package/dist/src/common/enums/NeonFunctionalColor.d.ts +11 -0
- package/dist/src/common/enums/NeonHorizontalPosition.d.ts +4 -0
- package/dist/src/common/enums/NeonInputMode.d.ts +10 -0
- package/dist/src/common/enums/NeonInputType.d.ts +14 -0
- package/dist/src/common/enums/NeonLabelSize.d.ts +4 -0
- package/dist/src/common/enums/NeonMode.d.ts +4 -0
- package/dist/src/common/enums/NeonOrientation.d.ts +4 -0
- package/dist/src/common/enums/NeonOutlineStyle.d.ts +7 -0
- package/dist/src/common/enums/NeonPlacement.d.ts +6 -0
- package/dist/src/common/enums/NeonPosition.d.ts +6 -0
- package/dist/src/common/enums/NeonResponsive.d.ts +11 -0
- package/dist/src/common/enums/NeonSize.d.ts +5 -0
- package/dist/src/common/enums/NeonSplashLoaderSize.d.ts +6 -0
- package/dist/src/common/enums/NeonState.d.ts +6 -0
- package/dist/src/common/enums/NeonSwitchStyle.d.ts +4 -0
- package/dist/src/common/enums/NeonToggleStyle.d.ts +4 -0
- package/dist/src/common/enums/NeonTooltipStyle.d.ts +4 -0
- package/dist/src/common/enums/NeonVerticalPosition.d.ts +4 -0
- package/dist/src/common/models/NeonActionMenuModel.d.ts +7 -0
- package/dist/src/common/models/NeonAlertAction.d.ts +13 -0
- package/dist/src/common/models/NeonAlertMessage.d.ts +38 -0
- package/dist/src/common/models/NeonAvailableSpace.d.ts +9 -0
- package/dist/src/common/models/NeonCalendarConfig.d.ts +13 -0
- package/dist/src/common/models/NeonContrastAccessibility.d.ts +7 -0
- package/dist/src/common/models/NeonDate.d.ts +10 -0
- package/dist/src/common/models/NeonDropdownMenuItem.d.ts +10 -0
- package/dist/src/common/models/NeonDropdownPlacementObject.d.ts +23 -0
- package/dist/src/common/models/NeonFilterListItem.d.ts +9 -0
- package/dist/src/common/models/NeonGridModel.d.ts +19 -0
- package/dist/src/common/models/NeonListItem.d.ts +7 -0
- package/dist/src/common/models/NeonMenuItem.d.ts +7 -0
- package/dist/src/common/models/NeonMenuModel.d.ts +4 -0
- package/dist/src/common/models/NeonNumberFormatOptions.d.ts +6 -0
- package/dist/src/common/models/NeonSearchOption.d.ts +11 -0
- package/dist/src/common/models/NeonSelectGroup.d.ts +8 -0
- package/dist/src/common/models/NeonSelectOption.d.ts +10 -0
- package/dist/src/common/models/NeonTabModel.d.ts +5 -0
- package/dist/src/common/models/NeonToastMessage.d.ts +23 -0
- package/dist/src/common/models/NeonToggleModel.d.ts +6 -0
- package/dist/src/common/models/NeonTreeMenuLinkModel.d.ts +6 -0
- package/dist/src/common/models/NeonTreeMenuSectionModel.d.ts +8 -0
- package/dist/src/common/utils/NeonAlertService.d.ts +29 -0
- package/dist/src/common/utils/NeonClipboardService.d.ts +6 -0
- package/dist/src/common/utils/NeonClosableUtils.d.ts +11 -0
- package/dist/src/common/utils/NeonColorUtils.d.ts +43 -0
- package/dist/src/common/utils/NeonDateUtils.d.ts +16 -0
- package/dist/src/common/utils/NeonDebounceUtils.d.ts +5 -0
- package/dist/src/common/utils/NeonDropdownPlacementUtils.d.ts +6 -0
- package/dist/src/common/utils/NeonEventBus.d.ts +27 -0
- package/dist/src/common/utils/NeonIconRegistry.d.ts +8 -0
- package/dist/src/common/utils/NeonModeUtils.d.ts +15 -0
- package/dist/src/common/utils/NeonNumberUtils.d.ts +10 -0
- package/dist/src/common/utils/NeonPlacementUtils.d.ts +8 -0
- package/dist/src/common/utils/NeonResponsiveUtils.d.ts +4 -0
- package/dist/src/common/utils/NeonScrollUtils.d.ts +3 -0
- package/dist/src/common/utils/NeonToastService.d.ts +29 -0
- package/dist/src/common/utils/NeonTooltipPlacementUtils.d.ts +7 -0
- package/dist/src/common/utils/RegisterIcons.d.ts +3 -0
- package/dist/src/components/feedback/alert/NeonAlert.d.ts +129 -0
- package/dist/src/components/feedback/alert/NeonAlert.vue.d.ts +2 -0
- package/dist/src/components/feedback/alert/NeonAlertModel.d.ts +6 -0
- package/dist/src/components/feedback/alert/NeonToastModel.d.ts +6 -0
- package/dist/src/components/feedback/alert/container/NeonAlertContainer.d.ts +29 -0
- package/dist/src/components/feedback/alert/container/NeonAlertContainer.vue.d.ts +2 -0
- package/dist/src/components/feedback/alert/container/NeonToastContainer.d.ts +27 -0
- package/dist/src/components/feedback/alert/container/NeonToastContainer.vue.d.ts +2 -0
- package/dist/src/components/feedback/dialog/NeonDialog.d.ts +135 -0
- package/dist/src/components/feedback/dialog/NeonDialog.vue.d.ts +2 -0
- package/dist/src/components/feedback/linear-progress/NeonLinearProgress.d.ts +183 -0
- package/dist/src/components/feedback/linear-progress/NeonLinearProgress.vue.d.ts +2 -0
- package/dist/src/components/feedback/note/NeonNote.d.ts +74 -0
- package/dist/src/components/feedback/note/NeonNote.vue.d.ts +2 -0
- package/dist/src/components/feedback/notification-counter/NeonNotificationCounter.d.ts +54 -0
- package/dist/src/components/feedback/notification-counter/NeonNotificationCounter.vue.d.ts +2 -0
- package/dist/src/components/feedback/skeleton-loader/NeonSkeletonLoader.d.ts +26 -0
- package/dist/src/components/feedback/skeleton-loader/NeonSkeletonLoader.vue.d.ts +2 -0
- package/dist/src/components/feedback/splash-loader/NeonSplashLoader.d.ts +74 -0
- package/dist/src/components/feedback/splash-loader/NeonSplashLoader.vue.d.ts +2 -0
- package/dist/src/components/feedback/tooltip/NeonTooltip.d.ts +118 -0
- package/dist/src/components/feedback/tooltip/NeonTooltip.vue.d.ts +2 -0
- package/dist/src/components/layout/card/NeonCard.d.ts +97 -0
- package/dist/src/components/layout/card/NeonCard.vue.d.ts +2 -0
- package/dist/src/components/layout/card/body/NeonCardBody.d.ts +23 -0
- package/dist/src/components/layout/card/body/NeonCardBody.vue.d.ts +2 -0
- package/dist/src/components/layout/card/footer/NeonCardFooter.d.ts +5 -0
- package/dist/src/components/layout/card/footer/NeonCardFooter.vue.d.ts +2 -0
- package/dist/src/components/layout/card/header/NeonCardHeader.d.ts +6 -0
- package/dist/src/components/layout/card/header/NeonCardHeader.vue.d.ts +2 -0
- package/dist/src/components/layout/drawer/NeonDrawer.d.ts +89 -0
- package/dist/src/components/layout/drawer/NeonDrawer.vue.d.ts +2 -0
- package/dist/src/components/layout/footer/NeonFooter.d.ts +5 -0
- package/dist/src/components/layout/footer/NeonFooter.vue.d.ts +2 -0
- package/dist/src/components/layout/grid/NeonGrid.d.ts +41 -0
- package/dist/src/components/layout/grid/NeonGrid.vue.d.ts +2 -0
- package/dist/src/components/layout/grid/grid-area/NeonGridArea.d.ts +21 -0
- package/dist/src/components/layout/grid/grid-area/NeonGridArea.vue.d.ts +2 -0
- package/dist/src/components/layout/modal/NeonModal.d.ts +72 -0
- package/dist/src/components/layout/modal/NeonModal.vue.d.ts +2 -0
- package/dist/src/components/layout/page/NeonPage.d.ts +6 -0
- package/dist/src/components/layout/page/NeonPage.vue.d.ts +2 -0
- package/dist/src/components/layout/side-nav/NeonSideNav.d.ts +26 -0
- package/dist/src/components/layout/side-nav/NeonSideNav.vue.d.ts +2 -0
- package/dist/src/components/layout/top-nav/NeonTopNav.d.ts +6 -0
- package/dist/src/components/layout/top-nav/NeonTopNav.vue.d.ts +2 -0
- package/dist/src/components/navigation/action-menu/NeonActionMenu.d.ts +57 -0
- package/dist/src/components/navigation/action-menu/NeonActionMenu.vue.d.ts +2 -0
- package/dist/src/components/navigation/anchor/NeonAnchor.d.ts +23 -0
- package/dist/src/components/navigation/anchor/NeonAnchor.vue.d.ts +2 -0
- package/dist/src/components/navigation/dropdown-menu/NeonDropdownMenu.d.ts +109 -0
- package/dist/src/components/navigation/dropdown-menu/NeonDropdownMenu.vue.d.ts +2 -0
- package/dist/src/components/navigation/link/NeonLink.d.ts +81 -0
- package/dist/src/components/navigation/link/NeonLink.vue.d.ts +2 -0
- package/dist/src/components/navigation/menu/NeonMenu.d.ts +107 -0
- package/dist/src/components/navigation/menu/NeonMenu.vue.d.ts +2 -0
- package/dist/src/components/navigation/menu/NeonPriorityMenuItem.d.ts +5 -0
- package/dist/src/components/navigation/stepper/NeonStepper.d.ts +74 -0
- package/dist/src/components/navigation/stepper/NeonStepper.vue.d.ts +2 -0
- package/dist/src/components/navigation/tree-menu/NeonTreeMenu.d.ts +47 -0
- package/dist/src/components/navigation/tree-menu/NeonTreeMenu.vue.d.ts +2 -0
- package/dist/src/components/presentation/badge/NeonBadge.d.ts +145 -0
- package/dist/src/components/presentation/badge/NeonBadge.vue.d.ts +2 -0
- package/dist/src/components/presentation/dropdown/NeonDropdown.d.ts +260 -0
- package/dist/src/components/presentation/dropdown/NeonDropdown.vue.d.ts +2 -0
- package/dist/src/components/presentation/expansion-indicator/NeonExpansionIndicator.d.ts +70 -0
- package/dist/src/components/presentation/expansion-indicator/NeonExpansionIndicator.vue.d.ts +2 -0
- package/dist/src/components/presentation/expansion-panel/NeonExpansionPanel.d.ts +153 -0
- package/dist/src/components/presentation/expansion-panel/NeonExpansionPanel.vue.d.ts +2 -0
- package/dist/src/components/presentation/icon/NeonIcon.d.ts +86 -0
- package/dist/src/components/presentation/icon/NeonIcon.vue.d.ts +2 -0
- package/dist/src/components/presentation/label/NeonLabel.d.ts +100 -0
- package/dist/src/components/presentation/label/NeonLabel.vue.d.ts +2 -0
- package/dist/src/components/presentation/tabs/NeonTabs.d.ts +88 -0
- package/dist/src/components/presentation/tabs/NeonTabs.vue.d.ts +2 -0
- package/dist/src/components/presentation/tabs/tab/NeonTab.d.ts +54 -0
- package/dist/src/components/presentation/tabs/tab/NeonTab.vue.d.ts +2 -0
- package/dist/src/components/user-input/button/NeonButton.d.ts +293 -0
- package/dist/src/components/user-input/button/NeonButton.vue.d.ts +2 -0
- package/dist/src/components/user-input/chip/NeonChip.d.ts +123 -0
- package/dist/src/components/user-input/chip/NeonChip.vue.d.ts +2 -0
- package/dist/src/components/user-input/color/NeonColor.d.ts +112 -0
- package/dist/src/components/user-input/color/NeonColor.vue.d.ts +2 -0
- package/dist/src/components/user-input/date-picker/NeonDatePicker.d.ts +378 -0
- package/dist/src/components/user-input/date-picker/NeonDatePicker.vue.d.ts +2 -0
- package/dist/src/components/user-input/drop-zone/NeonDropZone.d.ts +59 -0
- package/dist/src/components/user-input/drop-zone/NeonDropZone.vue.d.ts +2 -0
- package/dist/src/components/user-input/field/NeonField.d.ts +114 -0
- package/dist/src/components/user-input/field/NeonField.vue.d.ts +2 -0
- package/dist/src/components/user-input/field-group/NeonFieldGroup.d.ts +5 -0
- package/dist/src/components/user-input/field-group/NeonFieldGroup.vue.d.ts +2 -0
- package/dist/src/components/user-input/file/NeonFile.d.ts +190 -0
- package/dist/src/components/user-input/file/NeonFile.vue.d.ts +2 -0
- package/dist/src/components/user-input/filter-list/NeonFilterList.d.ts +145 -0
- package/dist/src/components/user-input/filter-list/NeonFilterList.vue.d.ts +2 -0
- package/dist/src/components/user-input/input/NeonInput.d.ts +296 -0
- package/dist/src/components/user-input/input/NeonInput.vue.d.ts +2 -0
- package/dist/src/components/user-input/input-indicator/NeonInputIndicator.d.ts +55 -0
- package/dist/src/components/user-input/input-indicator/NeonInputIndicator.vue.d.ts +2 -0
- package/dist/src/components/user-input/list/NeonList.d.ts +76 -0
- package/dist/src/components/user-input/list/NeonList.vue.d.ts +2 -0
- package/dist/src/components/user-input/number/NeonNumber.d.ts +285 -0
- package/dist/src/components/user-input/number/NeonNumber.vue.d.ts +2 -0
- package/dist/src/components/user-input/password/NeonPassword.d.ts +17 -0
- package/dist/src/components/user-input/password/NeonPassword.vue.d.ts +2 -0
- package/dist/src/components/user-input/range-slider/NeonRangeSlider.d.ts +269 -0
- package/dist/src/components/user-input/range-slider/NeonRangeSlider.vue.d.ts +2 -0
- package/dist/src/components/user-input/search/NeonSearch.d.ts +139 -0
- package/dist/src/components/user-input/search/NeonSearch.vue.d.ts +2 -0
- package/dist/src/components/user-input/select/NeonSelect.d.ts +207 -0
- package/dist/src/components/user-input/select/NeonSelect.vue.d.ts +2 -0
- package/dist/src/components/user-input/selectable-card/NeonSelectableCard.d.ts +79 -0
- package/dist/src/components/user-input/selectable-card/NeonSelectableCard.vue.d.ts +2 -0
- package/dist/src/components/user-input/slider/NeonSlider.d.ts +281 -0
- package/dist/src/components/user-input/slider/NeonSlider.vue.d.ts +2 -0
- package/dist/src/components/user-input/switch/NeonSwitch.d.ts +143 -0
- package/dist/src/components/user-input/switch/NeonSwitch.vue.d.ts +2 -0
- package/dist/src/components/user-input/toggle/NeonToggle.d.ts +138 -0
- package/dist/src/components/user-input/toggle/NeonToggle.vue.d.ts +2 -0
- package/dist/src/components/user-input/toggle-chip/NeonToggleChip.d.ts +110 -0
- package/dist/src/components/user-input/toggle-chip/NeonToggleChip.vue.d.ts +2 -0
- package/dist/src/neon.d.ts +124 -0
- package/package.json +7 -4
- package/src/sass/components/_button.scss +4 -8
- package/src/sass/components/_top-nav.scss +0 -1
- package/src/sass/variables.scss +2 -2
- package/dist/components/user-input/button/NeonButton.ts_vue_type_script_src_32308d32_lang.cjs.js +0 -2
- package/dist/components/user-input/button/NeonButton.ts_vue_type_script_src_32308d32_lang.cjs.js.map +0 -1
- package/dist/components/user-input/button/NeonButton.ts_vue_type_script_src_32308d32_lang.es.js.map +0 -1
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import { NeonFunctionalColor } from '@/common/enums/NeonFunctionalColor';
|
|
2
|
+
/**
|
|
3
|
+
* A dialog component for confirming simple actions. This will be rendered above the content of the main window and
|
|
4
|
+
* present just two options to the user, one to proceed with the action and the other to cancel it.
|
|
5
|
+
*/
|
|
6
|
+
declare const _default: import("vue").DefineComponent<{
|
|
7
|
+
/**
|
|
8
|
+
* The color of the button for the confirm (positive) action.
|
|
9
|
+
*/
|
|
10
|
+
color: {
|
|
11
|
+
type: () => NeonFunctionalColor;
|
|
12
|
+
default: NeonFunctionalColor;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Alternate confirm button color for creating a gradient button. NOTE: can also be the same color as 'color'.
|
|
16
|
+
*/
|
|
17
|
+
alternateColor: {
|
|
18
|
+
type: () => NeonFunctionalColor;
|
|
19
|
+
default: null;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* The label of the button for the cancel (negative) action.
|
|
23
|
+
*/
|
|
24
|
+
cancelLabel: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* The label of the button for the confirm (positive) action.
|
|
30
|
+
*/
|
|
31
|
+
confirmLabel: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* The dialog title
|
|
37
|
+
*/
|
|
38
|
+
title: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
required: true;
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* The dialog question. Can be html (rendered using v-html).
|
|
44
|
+
*/
|
|
45
|
+
question: {
|
|
46
|
+
type: StringConstructor;
|
|
47
|
+
required: true;
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* Whether the dialog is open.
|
|
51
|
+
*/
|
|
52
|
+
open: {
|
|
53
|
+
type: BooleanConstructor;
|
|
54
|
+
default: boolean;
|
|
55
|
+
};
|
|
56
|
+
/**
|
|
57
|
+
* Increase the opacity so that the page behind the modal is no longer visible
|
|
58
|
+
*/
|
|
59
|
+
opaque: {
|
|
60
|
+
type: BooleanConstructor;
|
|
61
|
+
default: boolean;
|
|
62
|
+
};
|
|
63
|
+
}, {
|
|
64
|
+
actions: import("vue").Ref<HTMLDivElement | null>;
|
|
65
|
+
cancel: () => void;
|
|
66
|
+
confirm: () => void;
|
|
67
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancel" | "confirm")[], "cancel" | "confirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
68
|
+
/**
|
|
69
|
+
* The color of the button for the confirm (positive) action.
|
|
70
|
+
*/
|
|
71
|
+
color: {
|
|
72
|
+
type: () => NeonFunctionalColor;
|
|
73
|
+
default: NeonFunctionalColor;
|
|
74
|
+
};
|
|
75
|
+
/**
|
|
76
|
+
* Alternate confirm button color for creating a gradient button. NOTE: can also be the same color as 'color'.
|
|
77
|
+
*/
|
|
78
|
+
alternateColor: {
|
|
79
|
+
type: () => NeonFunctionalColor;
|
|
80
|
+
default: null;
|
|
81
|
+
};
|
|
82
|
+
/**
|
|
83
|
+
* The label of the button for the cancel (negative) action.
|
|
84
|
+
*/
|
|
85
|
+
cancelLabel: {
|
|
86
|
+
type: StringConstructor;
|
|
87
|
+
default: string;
|
|
88
|
+
};
|
|
89
|
+
/**
|
|
90
|
+
* The label of the button for the confirm (positive) action.
|
|
91
|
+
*/
|
|
92
|
+
confirmLabel: {
|
|
93
|
+
type: StringConstructor;
|
|
94
|
+
default: string;
|
|
95
|
+
};
|
|
96
|
+
/**
|
|
97
|
+
* The dialog title
|
|
98
|
+
*/
|
|
99
|
+
title: {
|
|
100
|
+
type: StringConstructor;
|
|
101
|
+
required: true;
|
|
102
|
+
};
|
|
103
|
+
/**
|
|
104
|
+
* The dialog question. Can be html (rendered using v-html).
|
|
105
|
+
*/
|
|
106
|
+
question: {
|
|
107
|
+
type: StringConstructor;
|
|
108
|
+
required: true;
|
|
109
|
+
};
|
|
110
|
+
/**
|
|
111
|
+
* Whether the dialog is open.
|
|
112
|
+
*/
|
|
113
|
+
open: {
|
|
114
|
+
type: BooleanConstructor;
|
|
115
|
+
default: boolean;
|
|
116
|
+
};
|
|
117
|
+
/**
|
|
118
|
+
* Increase the opacity so that the page behind the modal is no longer visible
|
|
119
|
+
*/
|
|
120
|
+
opaque: {
|
|
121
|
+
type: BooleanConstructor;
|
|
122
|
+
default: boolean;
|
|
123
|
+
};
|
|
124
|
+
}>> & {
|
|
125
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
|
126
|
+
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
127
|
+
}, {
|
|
128
|
+
color: NeonFunctionalColor;
|
|
129
|
+
alternateColor: NeonFunctionalColor;
|
|
130
|
+
open: boolean;
|
|
131
|
+
opaque: boolean;
|
|
132
|
+
cancelLabel: string;
|
|
133
|
+
confirmLabel: string;
|
|
134
|
+
}>;
|
|
135
|
+
export default _default;
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
import { NeonFunctionalColor } from '@/common/enums/NeonFunctionalColor';
|
|
2
|
+
import { NeonSize } from '@/common/enums/NeonSize';
|
|
3
|
+
/**
|
|
4
|
+
* A component for displaying linear progress. The progress can be displayed as a percentage (default) or
|
|
5
|
+
* as a counter (x / y).
|
|
6
|
+
*/
|
|
7
|
+
declare const _default: import("vue").DefineComponent<{
|
|
8
|
+
/**
|
|
9
|
+
* If no total is provided (default) the current % completion is expressed as a %, e.g. 0.15 = 15%,
|
|
10
|
+
* In the case of a total being provided this is the count of items from the total, i.e. the 'x' in 'x / y '.
|
|
11
|
+
*/
|
|
12
|
+
value: {
|
|
13
|
+
type: NumberConstructor;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* When the total is provided the display is 'x / y' where total is the 'y' in 'x / y'.
|
|
18
|
+
*/
|
|
19
|
+
total: {
|
|
20
|
+
type: NumberConstructor;
|
|
21
|
+
default: null;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* A label to display above the progress bar
|
|
25
|
+
*/
|
|
26
|
+
label: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
default: null;
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* The progress bar color
|
|
32
|
+
*/
|
|
33
|
+
color: {
|
|
34
|
+
type: () => NeonFunctionalColor;
|
|
35
|
+
default: NeonFunctionalColor;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* The alternate color for displaying the progress as a gradient
|
|
39
|
+
*/
|
|
40
|
+
alternateColor: {
|
|
41
|
+
type: () => NeonFunctionalColor;
|
|
42
|
+
default: null;
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* The component size, NeonSize.Small or NeonSize.Medium
|
|
46
|
+
*/
|
|
47
|
+
size: {
|
|
48
|
+
type: () => NeonSize;
|
|
49
|
+
default: NeonSize;
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* The locale used for display purposes. This defaults to the browser's locale if none is provided.
|
|
53
|
+
*/
|
|
54
|
+
locale: {
|
|
55
|
+
type: StringConstructor;
|
|
56
|
+
default: null;
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* Display the text output indicating the current state of progress
|
|
60
|
+
*/
|
|
61
|
+
output: {
|
|
62
|
+
type: BooleanConstructor;
|
|
63
|
+
default: boolean;
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* Display an icon on completion
|
|
67
|
+
*/
|
|
68
|
+
completedIcon: {
|
|
69
|
+
type: StringConstructor;
|
|
70
|
+
default: null;
|
|
71
|
+
};
|
|
72
|
+
/**
|
|
73
|
+
* Specify the icon color (default = alternate-color || color)
|
|
74
|
+
*/
|
|
75
|
+
completedIconColor: {
|
|
76
|
+
type: () => NeonFunctionalColor;
|
|
77
|
+
default: null;
|
|
78
|
+
};
|
|
79
|
+
/**
|
|
80
|
+
* The decimals to use for rounding
|
|
81
|
+
*/
|
|
82
|
+
decimals: {
|
|
83
|
+
type: NumberConstructor;
|
|
84
|
+
default: number;
|
|
85
|
+
};
|
|
86
|
+
}, {
|
|
87
|
+
calculatedValue: import("vue").Ref<number>;
|
|
88
|
+
computedTotal: import("vue").ComputedRef<number>;
|
|
89
|
+
completed: import("vue").ComputedRef<boolean>;
|
|
90
|
+
computedOutput: import("vue").ComputedRef<string>;
|
|
91
|
+
computedPercentage: import("vue").ComputedRef<number>;
|
|
92
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
93
|
+
/**
|
|
94
|
+
* If no total is provided (default) the current % completion is expressed as a %, e.g. 0.15 = 15%,
|
|
95
|
+
* In the case of a total being provided this is the count of items from the total, i.e. the 'x' in 'x / y '.
|
|
96
|
+
*/
|
|
97
|
+
value: {
|
|
98
|
+
type: NumberConstructor;
|
|
99
|
+
required: true;
|
|
100
|
+
};
|
|
101
|
+
/**
|
|
102
|
+
* When the total is provided the display is 'x / y' where total is the 'y' in 'x / y'.
|
|
103
|
+
*/
|
|
104
|
+
total: {
|
|
105
|
+
type: NumberConstructor;
|
|
106
|
+
default: null;
|
|
107
|
+
};
|
|
108
|
+
/**
|
|
109
|
+
* A label to display above the progress bar
|
|
110
|
+
*/
|
|
111
|
+
label: {
|
|
112
|
+
type: StringConstructor;
|
|
113
|
+
default: null;
|
|
114
|
+
};
|
|
115
|
+
/**
|
|
116
|
+
* The progress bar color
|
|
117
|
+
*/
|
|
118
|
+
color: {
|
|
119
|
+
type: () => NeonFunctionalColor;
|
|
120
|
+
default: NeonFunctionalColor;
|
|
121
|
+
};
|
|
122
|
+
/**
|
|
123
|
+
* The alternate color for displaying the progress as a gradient
|
|
124
|
+
*/
|
|
125
|
+
alternateColor: {
|
|
126
|
+
type: () => NeonFunctionalColor;
|
|
127
|
+
default: null;
|
|
128
|
+
};
|
|
129
|
+
/**
|
|
130
|
+
* The component size, NeonSize.Small or NeonSize.Medium
|
|
131
|
+
*/
|
|
132
|
+
size: {
|
|
133
|
+
type: () => NeonSize;
|
|
134
|
+
default: NeonSize;
|
|
135
|
+
};
|
|
136
|
+
/**
|
|
137
|
+
* The locale used for display purposes. This defaults to the browser's locale if none is provided.
|
|
138
|
+
*/
|
|
139
|
+
locale: {
|
|
140
|
+
type: StringConstructor;
|
|
141
|
+
default: null;
|
|
142
|
+
};
|
|
143
|
+
/**
|
|
144
|
+
* Display the text output indicating the current state of progress
|
|
145
|
+
*/
|
|
146
|
+
output: {
|
|
147
|
+
type: BooleanConstructor;
|
|
148
|
+
default: boolean;
|
|
149
|
+
};
|
|
150
|
+
/**
|
|
151
|
+
* Display an icon on completion
|
|
152
|
+
*/
|
|
153
|
+
completedIcon: {
|
|
154
|
+
type: StringConstructor;
|
|
155
|
+
default: null;
|
|
156
|
+
};
|
|
157
|
+
/**
|
|
158
|
+
* Specify the icon color (default = alternate-color || color)
|
|
159
|
+
*/
|
|
160
|
+
completedIconColor: {
|
|
161
|
+
type: () => NeonFunctionalColor;
|
|
162
|
+
default: null;
|
|
163
|
+
};
|
|
164
|
+
/**
|
|
165
|
+
* The decimals to use for rounding
|
|
166
|
+
*/
|
|
167
|
+
decimals: {
|
|
168
|
+
type: NumberConstructor;
|
|
169
|
+
default: number;
|
|
170
|
+
};
|
|
171
|
+
}>>, {
|
|
172
|
+
label: string;
|
|
173
|
+
output: boolean;
|
|
174
|
+
color: NeonFunctionalColor;
|
|
175
|
+
size: NeonSize;
|
|
176
|
+
alternateColor: NeonFunctionalColor;
|
|
177
|
+
locale: string;
|
|
178
|
+
decimals: number;
|
|
179
|
+
total: number;
|
|
180
|
+
completedIcon: string;
|
|
181
|
+
completedIconColor: NeonFunctionalColor;
|
|
182
|
+
}>;
|
|
183
|
+
export default _default;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { NeonFunctionalColor } from '@/common/enums/NeonFunctionalColor';
|
|
2
|
+
/**
|
|
3
|
+
* NeonNote is a component for displaying important information to the user, such as - notes, hints or quotes.
|
|
4
|
+
*/
|
|
5
|
+
declare const _default: import("vue").DefineComponent<{
|
|
6
|
+
/**
|
|
7
|
+
* The color of the note. In the case of the colors info, success, warn and error an icon will also be displayed to further enhance user comprehension.
|
|
8
|
+
*/
|
|
9
|
+
color: {
|
|
10
|
+
type: () => NeonFunctionalColor;
|
|
11
|
+
default: NeonFunctionalColor;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* Whether the note has a close button
|
|
15
|
+
*/
|
|
16
|
+
closable: {
|
|
17
|
+
type: BooleanConstructor;
|
|
18
|
+
default: boolean;
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* Display the associated icon for info, success, warn and error colors.
|
|
22
|
+
*/
|
|
23
|
+
icon: {
|
|
24
|
+
type: BooleanConstructor;
|
|
25
|
+
default: boolean;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Note close button aria label.
|
|
29
|
+
*/
|
|
30
|
+
ariaLabelCloseNote: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
}, {
|
|
35
|
+
iconName: import("vue").ComputedRef<"info-circle" | "check-circle" | "exclamation-circle" | "times-circle" | undefined>;
|
|
36
|
+
closeNote: () => void;
|
|
37
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "close-note"[], "close-note", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
38
|
+
/**
|
|
39
|
+
* The color of the note. In the case of the colors info, success, warn and error an icon will also be displayed to further enhance user comprehension.
|
|
40
|
+
*/
|
|
41
|
+
color: {
|
|
42
|
+
type: () => NeonFunctionalColor;
|
|
43
|
+
default: NeonFunctionalColor;
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* Whether the note has a close button
|
|
47
|
+
*/
|
|
48
|
+
closable: {
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
default: boolean;
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* Display the associated icon for info, success, warn and error colors.
|
|
54
|
+
*/
|
|
55
|
+
icon: {
|
|
56
|
+
type: BooleanConstructor;
|
|
57
|
+
default: boolean;
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* Note close button aria label.
|
|
61
|
+
*/
|
|
62
|
+
ariaLabelCloseNote: {
|
|
63
|
+
type: StringConstructor;
|
|
64
|
+
default: string;
|
|
65
|
+
};
|
|
66
|
+
}>> & {
|
|
67
|
+
"onClose-note"?: ((...args: any[]) => any) | undefined;
|
|
68
|
+
}, {
|
|
69
|
+
color: NeonFunctionalColor;
|
|
70
|
+
icon: boolean;
|
|
71
|
+
closable: boolean;
|
|
72
|
+
ariaLabelCloseNote: string;
|
|
73
|
+
}>;
|
|
74
|
+
export default _default;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { NeonFunctionalColor } from '@/common/enums/NeonFunctionalColor';
|
|
2
|
+
/**
|
|
3
|
+
* A component for displaying notification counts to the user.
|
|
4
|
+
*/
|
|
5
|
+
declare const _default: import("vue").DefineComponent<{
|
|
6
|
+
/**
|
|
7
|
+
* Whether the notification is active
|
|
8
|
+
*/
|
|
9
|
+
active: {
|
|
10
|
+
type: BooleanConstructor;
|
|
11
|
+
default: boolean;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* The notification color
|
|
15
|
+
*/
|
|
16
|
+
color: {
|
|
17
|
+
type: () => NeonFunctionalColor;
|
|
18
|
+
default: NeonFunctionalColor;
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* The count of notifications to display, if greater than 9 <em>9+</em> is displayed
|
|
22
|
+
*/
|
|
23
|
+
count: {
|
|
24
|
+
type: NumberConstructor;
|
|
25
|
+
default: null;
|
|
26
|
+
};
|
|
27
|
+
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
28
|
+
/**
|
|
29
|
+
* Whether the notification is active
|
|
30
|
+
*/
|
|
31
|
+
active: {
|
|
32
|
+
type: BooleanConstructor;
|
|
33
|
+
default: boolean;
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* The notification color
|
|
37
|
+
*/
|
|
38
|
+
color: {
|
|
39
|
+
type: () => NeonFunctionalColor;
|
|
40
|
+
default: NeonFunctionalColor;
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* The count of notifications to display, if greater than 9 <em>9+</em> is displayed
|
|
44
|
+
*/
|
|
45
|
+
count: {
|
|
46
|
+
type: NumberConstructor;
|
|
47
|
+
default: null;
|
|
48
|
+
};
|
|
49
|
+
}>>, {
|
|
50
|
+
color: NeonFunctionalColor;
|
|
51
|
+
active: boolean;
|
|
52
|
+
count: number;
|
|
53
|
+
}>;
|
|
54
|
+
export default _default;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A component for indicating initial data is loading. Compose multiple skeleton loaders to generate a loader matching
|
|
3
|
+
* the shape of the content to be loaded.
|
|
4
|
+
*/
|
|
5
|
+
declare const _default: import("vue").DefineComponent<{
|
|
6
|
+
/**
|
|
7
|
+
* The count of skeleton loaders to render. The size of the skeleton loaders depends on the parent container. The
|
|
8
|
+
* skeleton loaders will split the container evenly vertically.
|
|
9
|
+
*/
|
|
10
|
+
count: {
|
|
11
|
+
type: NumberConstructor;
|
|
12
|
+
default: number;
|
|
13
|
+
};
|
|
14
|
+
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
|
+
/**
|
|
16
|
+
* The count of skeleton loaders to render. The size of the skeleton loaders depends on the parent container. The
|
|
17
|
+
* skeleton loaders will split the container evenly vertically.
|
|
18
|
+
*/
|
|
19
|
+
count: {
|
|
20
|
+
type: NumberConstructor;
|
|
21
|
+
default: number;
|
|
22
|
+
};
|
|
23
|
+
}>>, {
|
|
24
|
+
count: number;
|
|
25
|
+
}>;
|
|
26
|
+
export default _default;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { NeonFunctionalColor } from '@/common/enums/NeonFunctionalColor';
|
|
2
|
+
import { NeonSplashLoaderSize } from '@/common/enums/NeonSplashLoaderSize';
|
|
3
|
+
/**
|
|
4
|
+
* Use <strong>NeonSplashLoader</strong> to indicate loading progress to the user. This can be used fullscreen for the
|
|
5
|
+
* initial site loading as well as when UPDATING data, e.g. refreshing table data. For initial data loading please see
|
|
6
|
+
* <a href="/feedback/skeleton-loader">NeonSkeletonLoader</a>.
|
|
7
|
+
*/
|
|
8
|
+
declare const _default: import("vue").DefineComponent<{
|
|
9
|
+
/**
|
|
10
|
+
* Color of the loading icon
|
|
11
|
+
*/
|
|
12
|
+
color: {
|
|
13
|
+
type: () => NeonFunctionalColor;
|
|
14
|
+
default: NeonFunctionalColor;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* Loading icon size
|
|
18
|
+
*/
|
|
19
|
+
size: {
|
|
20
|
+
type: () => NeonSplashLoaderSize;
|
|
21
|
+
default: NeonSplashLoaderSize;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Display the overlay over the page
|
|
25
|
+
*/
|
|
26
|
+
overlay: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Display fullscreen (position: fixed)
|
|
32
|
+
*/
|
|
33
|
+
fullscreen: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
default: boolean;
|
|
36
|
+
};
|
|
37
|
+
}, {
|
|
38
|
+
ready: import("vue").Ref<boolean>;
|
|
39
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
40
|
+
/**
|
|
41
|
+
* Color of the loading icon
|
|
42
|
+
*/
|
|
43
|
+
color: {
|
|
44
|
+
type: () => NeonFunctionalColor;
|
|
45
|
+
default: NeonFunctionalColor;
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* Loading icon size
|
|
49
|
+
*/
|
|
50
|
+
size: {
|
|
51
|
+
type: () => NeonSplashLoaderSize;
|
|
52
|
+
default: NeonSplashLoaderSize;
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* Display the overlay over the page
|
|
56
|
+
*/
|
|
57
|
+
overlay: {
|
|
58
|
+
type: BooleanConstructor;
|
|
59
|
+
default: boolean;
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* Display fullscreen (position: fixed)
|
|
63
|
+
*/
|
|
64
|
+
fullscreen: {
|
|
65
|
+
type: BooleanConstructor;
|
|
66
|
+
default: boolean;
|
|
67
|
+
};
|
|
68
|
+
}>>, {
|
|
69
|
+
color: NeonFunctionalColor;
|
|
70
|
+
size: NeonSplashLoaderSize;
|
|
71
|
+
overlay: boolean;
|
|
72
|
+
fullscreen: boolean;
|
|
73
|
+
}>;
|
|
74
|
+
export default _default;
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { NeonPlacement } from '@/common/enums/NeonPlacement';
|
|
2
|
+
import { NeonTooltipStyle } from '@/common/enums/NeonTooltipStyle';
|
|
3
|
+
import { NeonOutlineStyle } from '@/common/enums/NeonOutlineStyle';
|
|
4
|
+
import { NeonFunctionalColor } from '@/common/enums/NeonFunctionalColor';
|
|
5
|
+
/**
|
|
6
|
+
* <p>
|
|
7
|
+
* Use <strong>NeonTooltip</strong> to display tooltips or popovers. It is recommended that tooltip content should be
|
|
8
|
+
* kept to a single line. Use the popover style for larger content.
|
|
9
|
+
* </p>
|
|
10
|
+
* <p>To use <strong>NeonTooltip</strong> provide the <em>target</em> and <em>content slots</em>.</p>
|
|
11
|
+
*/
|
|
12
|
+
declare const _default: import("vue").DefineComponent<{
|
|
13
|
+
/**
|
|
14
|
+
* Id of the tooltip.
|
|
15
|
+
*/
|
|
16
|
+
id: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
default: null;
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* Placement of the tooltip contents.
|
|
22
|
+
*/
|
|
23
|
+
placement: {
|
|
24
|
+
type: () => NeonPlacement;
|
|
25
|
+
default: NeonPlacement;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Style of the tooltip, use <em>Tooltip</em> for a simple tooltip, use <em>Popover</em> for larger more complex
|
|
29
|
+
* content.
|
|
30
|
+
*/
|
|
31
|
+
tooltipStyle: {
|
|
32
|
+
type: () => NeonTooltipStyle;
|
|
33
|
+
default: NeonTooltipStyle;
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* Style of the outline to use when the tooltip target has focus, use <em>text</em> for tooltips wrapping text and
|
|
37
|
+
* <em>border</em> for tooltips wrapping "block" elements, e.g. buttons.
|
|
38
|
+
*/
|
|
39
|
+
outlineStyle: {
|
|
40
|
+
type: () => NeonOutlineStyle;
|
|
41
|
+
default: NeonOutlineStyle;
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* Color of the tooltip target when it is focussed.
|
|
45
|
+
*/
|
|
46
|
+
outlineColor: {
|
|
47
|
+
type: () => NeonFunctionalColor;
|
|
48
|
+
default: NeonFunctionalColor;
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* Restrict placement to within this container.
|
|
52
|
+
*/
|
|
53
|
+
placementContainer: {
|
|
54
|
+
type: () => HTMLElement;
|
|
55
|
+
default: null;
|
|
56
|
+
};
|
|
57
|
+
}, {
|
|
58
|
+
tooltip: import("vue").Ref<HTMLElement | null>;
|
|
59
|
+
tooltipPlacement: import("vue").Ref<NeonPlacement | null>;
|
|
60
|
+
content: import("vue").Ref<HTMLElement | null>;
|
|
61
|
+
open: import("vue").Ref<boolean>;
|
|
62
|
+
toggleTooltip: () => void;
|
|
63
|
+
closeTooltip: () => void;
|
|
64
|
+
openTooltip: () => void;
|
|
65
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
66
|
+
/**
|
|
67
|
+
* Id of the tooltip.
|
|
68
|
+
*/
|
|
69
|
+
id: {
|
|
70
|
+
type: StringConstructor;
|
|
71
|
+
default: null;
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* Placement of the tooltip contents.
|
|
75
|
+
*/
|
|
76
|
+
placement: {
|
|
77
|
+
type: () => NeonPlacement;
|
|
78
|
+
default: NeonPlacement;
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* Style of the tooltip, use <em>Tooltip</em> for a simple tooltip, use <em>Popover</em> for larger more complex
|
|
82
|
+
* content.
|
|
83
|
+
*/
|
|
84
|
+
tooltipStyle: {
|
|
85
|
+
type: () => NeonTooltipStyle;
|
|
86
|
+
default: NeonTooltipStyle;
|
|
87
|
+
};
|
|
88
|
+
/**
|
|
89
|
+
* Style of the outline to use when the tooltip target has focus, use <em>text</em> for tooltips wrapping text and
|
|
90
|
+
* <em>border</em> for tooltips wrapping "block" elements, e.g. buttons.
|
|
91
|
+
*/
|
|
92
|
+
outlineStyle: {
|
|
93
|
+
type: () => NeonOutlineStyle;
|
|
94
|
+
default: NeonOutlineStyle;
|
|
95
|
+
};
|
|
96
|
+
/**
|
|
97
|
+
* Color of the tooltip target when it is focussed.
|
|
98
|
+
*/
|
|
99
|
+
outlineColor: {
|
|
100
|
+
type: () => NeonFunctionalColor;
|
|
101
|
+
default: NeonFunctionalColor;
|
|
102
|
+
};
|
|
103
|
+
/**
|
|
104
|
+
* Restrict placement to within this container.
|
|
105
|
+
*/
|
|
106
|
+
placementContainer: {
|
|
107
|
+
type: () => HTMLElement;
|
|
108
|
+
default: null;
|
|
109
|
+
};
|
|
110
|
+
}>>, {
|
|
111
|
+
outlineStyle: NeonOutlineStyle;
|
|
112
|
+
id: string;
|
|
113
|
+
placement: NeonPlacement;
|
|
114
|
+
placementContainer: HTMLElement;
|
|
115
|
+
tooltipStyle: NeonTooltipStyle;
|
|
116
|
+
outlineColor: NeonFunctionalColor;
|
|
117
|
+
}>;
|
|
118
|
+
export default _default;
|