@feugene/granularity 0.42.0 → 0.44.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/README.md +2 -2
- package/dist/chunks/config-BXRmsn3t.js +172 -0
- package/dist/chunks/config-BXRmsn3t.js.map +1 -0
- package/dist/chunks/config-BkQ2jvXv.js +49 -0
- package/dist/chunks/config-BkQ2jvXv.js.map +1 -0
- package/dist/chunks/config-Dg0bSoGw.js +81 -0
- package/dist/chunks/config-Dg0bSoGw.js.map +1 -0
- package/dist/chunks/config-DmED6aJV.js +237 -0
- package/dist/chunks/config-DmED6aJV.js.map +1 -0
- package/dist/chunks/{config-DWL81-aM.js → config-hnoZvcIM.js} +2 -20
- package/dist/chunks/config-hnoZvcIM.js.map +1 -0
- package/dist/chunks/dragSortGeometry-CY-llfrQ.js +87 -0
- package/dist/chunks/dragSortGeometry-CY-llfrQ.js.map +1 -0
- package/dist/chunks/{en-B9E3jO6m.js → en-DiHzFact.js} +34 -1
- package/dist/chunks/en-DiHzFact.js.map +1 -0
- package/dist/chunks/{es-QpzdIEut.js → es-1ZL6NtkB.js} +34 -1
- package/dist/chunks/es-1ZL6NtkB.js.map +1 -0
- package/dist/chunks/{es-DCkqHTlU.js → es-CeKkMxZ_.js} +3 -3
- package/dist/chunks/{es-DCkqHTlU.js.map → es-CeKkMxZ_.js.map} +1 -1
- package/dist/chunks/{generated-B95IBXs6.js → generated-Hxu_sWPs.js} +238 -0
- package/dist/chunks/generated-Hxu_sWPs.js.map +1 -0
- package/dist/chunks/{granular-provider-BG_2XqkS.js → granular-provider-CCNbQa5U.js} +9 -1
- package/dist/chunks/granular-provider-CCNbQa5U.js.map +1 -0
- package/dist/chunks/{ru-D_1Ya489.js → ru-Dr2RYn0P.js} +34 -1
- package/dist/chunks/ru-Dr2RYn0P.js.map +1 -0
- package/dist/chunks/scrollOverflow-B_kEdcol.js +31 -0
- package/dist/chunks/scrollOverflow-B_kEdcol.js.map +1 -0
- package/dist/chunks/tones-CRJAaYyg.js +21 -0
- package/dist/chunks/tones-CRJAaYyg.js.map +1 -0
- package/dist/chunks/useScrollSpy-CIJpw0RI.js +360 -0
- package/dist/chunks/useScrollSpy-CIJpw0RI.js.map +1 -0
- package/dist/components/GrAffix/chunks/GrAffix-CWtC7yi8.js +272 -0
- package/dist/components/GrAffix/chunks/GrAffix-CWtC7yi8.js.map +1 -0
- package/dist/components/GrAffix/index.js +3 -0
- package/dist/components/GrCarousel/chunks/GrCarousel-ByuughtI.js +761 -0
- package/dist/components/GrCarousel/chunks/GrCarousel-ByuughtI.js.map +1 -0
- package/dist/components/GrCarousel/index.js +3 -0
- package/dist/components/GrCarousel/styles.css +1 -0
- package/dist/components/GrColorPicker/chunks/{GrColorPicker-BwzRLs-i.js → GrColorPicker-9mTR-YZ_.js} +1 -1
- package/dist/components/GrColorPicker/chunks/{GrColorPicker-BwzRLs-i.js.map → GrColorPicker-9mTR-YZ_.js.map} +1 -1
- package/dist/components/GrColorPicker/index.js +1 -1
- package/dist/components/GrDataTable/chunks/{GrDataTable-BBe7-uUe.js → GrDataTable-xNSmO_I-.js} +4 -3
- package/dist/components/GrDataTable/chunks/{GrDataTable-BBe7-uUe.js.map → GrDataTable-xNSmO_I-.js.map} +1 -1
- package/dist/components/GrDataTable/index.js +1 -1
- package/dist/components/GrImageViewer/chunks/{GrImageViewer-Dd2gJ-j_.js.map → GrImageViewer-DK-iVHHC.js.map} +1 -1
- package/dist/components/GrImageViewer/index.js +1 -1
- package/dist/components/GrInputTag/chunks/{GrInputTag-BKzm1PKw.js.map → GrInputTag-Ci8AO1ze.js.map} +1 -1
- package/dist/components/GrInputTag/index.js +1 -1
- package/dist/components/GrJsonViewer/chunks/{GrJsonViewer-BLCEWlwg.js → GrJsonViewer-CwCBMh4h.js} +2 -2
- package/dist/components/GrJsonViewer/chunks/{GrJsonViewer-BLCEWlwg.js.map → GrJsonViewer-CwCBMh4h.js.map} +1 -1
- package/dist/components/GrJsonViewer/index.js +1 -1
- package/dist/components/GrNumberInput/chunks/{GrNumberInput-Bm-V59TG.js.map → GrNumberInput-CL5QhOmx.js.map} +1 -1
- package/dist/components/GrNumberInput/index.js +1 -1
- package/dist/components/GrProgressBar/index.js +1 -1
- package/dist/components/GrScrollSpy/chunks/GrScrollSpy-CQCH3zLC.js +207 -0
- package/dist/components/GrScrollSpy/chunks/GrScrollSpy-CQCH3zLC.js.map +1 -0
- package/dist/components/GrScrollSpy/index.js +3 -0
- package/dist/components/GrSlider/chunks/{GrSlider-Db-jACXz.js.map → GrSlider-CO8N9SF6.js.map} +1 -1
- package/dist/components/GrSlider/index.js +1 -1
- package/dist/components/GrSortableList/chunks/{GrSortableList-ce1psLL0.js → GrSortableList-NKriuGm_.js} +2 -1
- package/dist/components/GrSortableList/chunks/{GrSortableList-ce1psLL0.js.map → GrSortableList-NKriuGm_.js.map} +1 -1
- package/dist/components/GrSortableList/index.js +1 -1
- package/dist/components/GrTabs/chunks/{GrTabs-BArefUFv.js → GrTabs-s9RzC1WX.js} +2 -31
- package/dist/components/GrTabs/chunks/GrTabs-s9RzC1WX.js.map +1 -0
- package/dist/components/GrTabs/index.js +1 -1
- package/dist/components/GrTransfer/chunks/GrTransfer-8FA78ny6.js +1368 -0
- package/dist/components/GrTransfer/chunks/GrTransfer-8FA78ny6.js.map +1 -0
- package/dist/components/GrTransfer/index.js +3 -0
- package/dist/components/GrTransfer/styles.css +1 -0
- package/dist/components/GrTree/chunks/{GrTree-BFWFc0Bm.js → GrTree-CkHzgYg1.js} +3 -3
- package/dist/components/GrTree/chunks/{GrTree-BFWFc0Bm.js.map → GrTree-CkHzgYg1.js.map} +1 -1
- package/dist/components/GrTree/index.js +1 -1
- package/dist/components/GrTreeSelect/chunks/{GrTreeSelect-DJa2lYGe.js → GrTreeSelect-DUsv3_mF.js} +1 -1
- package/dist/components/GrTreeSelect/chunks/{GrTreeSelect-DJa2lYGe.js.map → GrTreeSelect-DUsv3_mF.js.map} +1 -1
- package/dist/components/GrTreeSelect/index.js +1 -1
- package/dist/composables/useDragSort.js +179 -1
- package/dist/composables/useDragSort.js.map +1 -0
- package/dist/composables/useScrollSpy.js +2 -0
- package/dist/granular-provider-node.js +1 -1
- package/dist/granular-provider.js +1 -1
- package/dist/i18n/all.js +1 -1
- package/dist/i18n/index.js +1 -1
- package/dist/index.js +26 -19
- package/dist/theme.js +1 -1
- package/dist/tokens.js +1 -1
- package/dist/types/components/GrAffix/GrAffix.vue.d.ts +91 -0
- package/dist/types/components/GrAffix/affixState.d.ts +81 -0
- package/dist/types/components/GrAffix/config.d.ts +1 -0
- package/dist/types/components/GrAffix/grAffixStyles.d.ts +46 -0
- package/dist/types/components/GrAffix/index.d.ts +9 -0
- package/dist/types/components/GrAffix/safelist.d.ts +1 -0
- package/dist/types/components/GrAlert/GrAlert.vue.d.ts +1 -1
- package/dist/types/components/GrBadgeWrap/GrBadgeWrap.vue.d.ts +2 -2
- package/dist/types/components/GrButton/GrButton.vue.d.ts +2 -2
- package/dist/types/components/GrCard/GrCard.vue.d.ts +1 -1
- package/dist/types/components/GrCarousel/GrCarousel.vue.d.ts +151 -0
- package/dist/types/components/GrCarousel/GrCarouselSlide.vue.d.ts +53 -0
- package/dist/types/components/GrCarousel/carouselNavigation.d.ts +57 -0
- package/dist/types/components/GrCarousel/composables/useCarouselAutoplay.d.ts +33 -0
- package/dist/types/components/GrCarousel/composables/useCarouselSwipe.d.ts +20 -0
- package/dist/types/components/GrCarousel/config.d.ts +7 -0
- package/dist/types/components/GrCarousel/defaults.d.ts +13 -0
- package/dist/types/components/GrCarousel/grCarouselContext.d.ts +46 -0
- package/dist/types/components/GrCarousel/grCarouselStyles.d.ts +80 -0
- package/dist/types/components/GrCarousel/index.d.ts +12 -0
- package/dist/types/components/GrCarousel/safelist.d.ts +1 -0
- package/dist/types/components/GrCheckbox/GrCheckbox.vue.d.ts +3 -3
- package/dist/types/components/GrCheckboxGroup/GrCheckboxGroup.vue.d.ts +2 -2
- package/dist/types/components/GrChip/GrChip.vue.d.ts +2 -2
- package/dist/types/components/GrChipGroup/GrChipGroup.vue.d.ts +2 -2
- package/dist/types/components/GrCollapse/GrCollapse.vue.d.ts +1 -1
- package/dist/types/components/GrCollapse/GrCollapseItem.vue.d.ts +1 -1
- package/dist/types/components/GrColorPicker/GrColorPicker.vue.d.ts +3 -3
- package/dist/types/components/GrCommandPalette/GrCommandPalette.vue.d.ts +1 -1
- package/dist/types/components/GrConfirmDialog/GrConfirmDialog.vue.d.ts +1 -1
- package/dist/types/components/GrContextMenu/GrContextMenu.vue.d.ts +2 -2
- package/dist/types/components/GrDialog/GrDialog.vue.d.ts +1 -1
- package/dist/types/components/GrDivider/GrDivider.vue.d.ts +2 -2
- package/dist/types/components/GrDrawer/GrDrawer.vue.d.ts +1 -1
- package/dist/types/components/GrDropdown/GrDropdown.vue.d.ts +3 -3
- package/dist/types/components/GrDropdownMenu/GrDropdownMenu.vue.d.ts +3 -3
- package/dist/types/components/GrDropdownMenu/GrDropdownMenuItem.vue.d.ts +1 -1
- package/dist/types/components/GrEmptyState/GrEmptyState.vue.d.ts +1 -1
- package/dist/types/components/GrFileUpload/GrFileUpload.vue.d.ts +1 -1
- package/dist/types/components/GrFormField/GrFormField.vue.d.ts +3 -3
- package/dist/types/components/GrFormFile/GrFormFile.vue.d.ts +2 -2
- package/dist/types/components/GrFormSection/GrFormSection.vue.d.ts +1 -1
- package/dist/types/components/GrIcon/GrIcon.vue.d.ts +1 -1
- package/dist/types/components/GrImageViewer/GrImageViewer.vue.d.ts +3 -3
- package/dist/types/components/GrInput/GrInput.vue.d.ts +4 -4
- package/dist/types/components/GrInputTag/GrInputTag.vue.d.ts +3 -3
- package/dist/types/components/GrKbd/GrKbd.vue.d.ts +1 -1
- package/dist/types/components/GrLink/GrLink.vue.d.ts +1 -1
- package/dist/types/components/GrList/GrListItem.vue.d.ts +2 -2
- package/dist/types/components/GrNavbar/GrNavbar.vue.d.ts +2 -2
- package/dist/types/components/GrNumberInput/GrNumberInput.vue.d.ts +3 -3
- package/dist/types/components/GrPagination/GrPagination.vue.d.ts +1 -1
- package/dist/types/components/GrPopover/GrPopover.vue.d.ts +3 -3
- package/dist/types/components/GrPromptDialog/GrPromptDialog.vue.d.ts +3 -3
- package/dist/types/components/GrRadio/GrRadio.vue.d.ts +2 -2
- package/dist/types/components/GrRadioGroup/GrRadioGroup.vue.d.ts +2 -2
- package/dist/types/components/GrRating/GrRating.vue.d.ts +2 -2
- package/dist/types/components/GrScrollSpy/GrScrollSpy.vue.d.ts +105 -0
- package/dist/types/components/GrScrollSpy/config.d.ts +1 -0
- package/dist/types/components/GrScrollSpy/grScrollSpyStyles.d.ts +26 -0
- package/dist/types/components/GrScrollSpy/index.d.ts +9 -0
- package/dist/types/components/GrScrollSpy/safelist.d.ts +1 -0
- package/dist/types/components/GrScrollSpy/scrollSpyItems.d.ts +44 -0
- package/dist/types/components/GrSegmented/GrSegmented.vue.d.ts +2 -2
- package/dist/types/components/GrSidebar/GrSidebarItem.vue.d.ts +1 -1
- package/dist/types/components/GrSkeleton/GrSkeleton.vue.d.ts +1 -1
- package/dist/types/components/GrSlider/GrSlider.vue.d.ts +3 -3
- package/dist/types/components/GrSplitter/GrSplitter.vue.d.ts +1 -1
- package/dist/types/components/GrStatistic/GrStatistic.vue.d.ts +2 -2
- package/dist/types/components/GrSwitch/GrSwitch.vue.d.ts +3 -3
- package/dist/types/components/GrTable/GrTable.vue.d.ts +1 -1
- package/dist/types/components/GrTabs/GrTabs.vue.d.ts +1 -1
- package/dist/types/components/GrTextarea/GrTextarea.vue.d.ts +2 -2
- package/dist/types/components/GrTimeline/GrTimelineItem.vue.d.ts +2 -2
- package/dist/types/components/GrToaster/GrToaster.vue.d.ts +1 -1
- package/dist/types/components/GrTooltip/GrTooltip.vue.d.ts +3 -3
- package/dist/types/components/GrTransfer/GrTransfer.vue.d.ts +103 -0
- package/dist/types/components/GrTransfer/config.d.ts +1 -0
- package/dist/types/components/GrTransfer/defaults.d.ts +15 -0
- package/dist/types/components/GrTransfer/grTransferStyles.d.ts +127 -0
- package/dist/types/components/GrTransfer/index.d.ts +11 -0
- package/dist/types/components/GrTransfer/safelist.d.ts +1 -0
- package/dist/types/components/GrTransfer/transferGeometry.d.ts +44 -0
- package/dist/types/components/GrTransfer/transferModel.d.ts +68 -0
- package/dist/types/components/GrTransfer/transferSelection.d.ts +36 -0
- package/dist/types/components/GrTransfer/useTransferDrag.d.ts +48 -0
- package/dist/types/composables/internal/scrollSpyGeometry.d.ts +67 -0
- package/dist/types/composables/useScrollSpy.d.ts +59 -0
- package/dist/types/granular-provider/shared.d.ts +4 -0
- package/dist/types/i18n/messages/en.d.ts +64 -0
- package/dist/types/i18n/messages/es.d.ts +64 -0
- package/dist/types/i18n/messages/ru.d.ts +64 -0
- package/dist/types/index.d.ts +6 -0
- package/dist/web-types.json +809 -284
- package/package.json +25 -1
- package/dist/chunks/config-DWL81-aM.js.map +0 -1
- package/dist/chunks/en-B9E3jO6m.js.map +0 -1
- package/dist/chunks/es-QpzdIEut.js.map +0 -1
- package/dist/chunks/generated-B95IBXs6.js.map +0 -1
- package/dist/chunks/granular-provider-BG_2XqkS.js.map +0 -1
- package/dist/chunks/ru-D_1Ya489.js.map +0 -1
- package/dist/chunks/useDragSort-0l47h4yb.js +0 -265
- package/dist/chunks/useDragSort-0l47h4yb.js.map +0 -1
- package/dist/components/GrTabs/chunks/GrTabs-BArefUFv.js.map +0 -1
- package/dist/components/GrImageViewer/chunks/{GrImageViewer-Dd2gJ-j_.js → GrImageViewer-DK-iVHHC.js} +3 -3
- package/dist/components/GrInputTag/chunks/{GrInputTag-BKzm1PKw.js → GrInputTag-Ci8AO1ze.js} +1 -1
- package/dist/components/GrNumberInput/chunks/{GrNumberInput-Bm-V59TG.js → GrNumberInput-CL5QhOmx.js} +1 -1
- package/dist/components/GrSlider/chunks/{GrSlider-Db-jACXz.js → GrSlider-CO8N9SF6.js} +1 -1
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import type { Ref } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* Отслеживание того, до какого раздела дочитали.
|
|
4
|
+
*
|
|
5
|
+
* Композабл владеет всем, что следует из **положения прокрутки**: линией
|
|
6
|
+
* активации, выбором раздела, прокруткой к нему и закрепом на время этой
|
|
7
|
+
* прокрутки. Всё, что следует из того, что пункт оглавления является
|
|
8
|
+
* **ссылкой** — разметка, `aria-current`, модификаторы клика, — остаётся у
|
|
9
|
+
* компонента `GrScrollSpy`.
|
|
10
|
+
*
|
|
11
|
+
* ```ts
|
|
12
|
+
* const spy = useScrollSpy({
|
|
13
|
+
* sections: () => ids.value,
|
|
14
|
+
* offset: () => headerHeight.value,
|
|
15
|
+
* onChange: id => emit('activeChange', id),
|
|
16
|
+
* })
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
export interface UseScrollSpyOptions {
|
|
20
|
+
/**
|
|
21
|
+
* Идентификаторы разделов. Порядок задаёт порядок пунктов у потребителя, но
|
|
22
|
+
* на ответ не влияет: активный выбирается по геометрии.
|
|
23
|
+
*/
|
|
24
|
+
sections: () => readonly string[];
|
|
25
|
+
/**
|
|
26
|
+
* Элемент раздела. По умолчанию — `document.getElementById`.
|
|
27
|
+
*
|
|
28
|
+
* Дефолт не догадка: идентификаторы разделов и есть цели ссылок `#id`, то
|
|
29
|
+
* есть DOM-id по определению жанра.
|
|
30
|
+
*/
|
|
31
|
+
elementFor?: (id: string) => HTMLElement | null | undefined;
|
|
32
|
+
/** Скроллпорт. Не задан — ищется от первого раздела, не найден — документ. */
|
|
33
|
+
scroller?: () => HTMLElement | null | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* Отступ линии активации от верха скроллпорта, **в пикселях**.
|
|
36
|
+
*
|
|
37
|
+
* Именно число, а не CSS-длина: резолв `4rem` или `var(...)` требует
|
|
38
|
+
* `getComputedStyle`, то есть DOM, — а композабл обязан оставаться
|
|
39
|
+
* проверяемым без него. Длину резолвит потребитель.
|
|
40
|
+
*/
|
|
41
|
+
offset?: () => number;
|
|
42
|
+
/** Наблюдение выключено: `active` сбрасывается в `null`. */
|
|
43
|
+
disabled?: () => boolean;
|
|
44
|
+
/** Активный сменился. Зовётся на смене, а не на каждой записи наблюдателя. */
|
|
45
|
+
onChange?: (id: string | null, previous: string | null) => void;
|
|
46
|
+
}
|
|
47
|
+
export interface UseScrollSpyReturn {
|
|
48
|
+
/** Активный раздел. `null` — линия ещё не дошла до первого. */
|
|
49
|
+
active: Readonly<Ref<string | null>>;
|
|
50
|
+
/** Прокрутить к разделу и закрепить его активным до следующей прокрутки. */
|
|
51
|
+
scrollTo: (id: string, options?: {
|
|
52
|
+
behavior?: ScrollBehavior;
|
|
53
|
+
}) => void;
|
|
54
|
+
/** Перечитать отступ, скроллпорт и геометрию. */
|
|
55
|
+
refresh: () => void;
|
|
56
|
+
/** Закрепить активным вручную: страницу прокручивает не оглавление. */
|
|
57
|
+
pin: (id: string | null) => void;
|
|
58
|
+
}
|
|
59
|
+
export declare function useScrollSpy(options: UseScrollSpyOptions): UseScrollSpyReturn;
|
|
@@ -11,6 +11,7 @@ export declare const granularityDefaultThemes: readonly GranularityThemeName[];
|
|
|
11
11
|
* `@feugene/granularity/components/<Name>`.
|
|
12
12
|
*/
|
|
13
13
|
export declare const granularityComponentConfigs: {
|
|
14
|
+
GrAffix: GranularComponentDescriptor<"GrAffix">;
|
|
14
15
|
GrAlert: GranularComponentDescriptor<"GrAlert">;
|
|
15
16
|
GrAutocomplete: GranularComponentDescriptor<"GrAutocomplete">;
|
|
16
17
|
GrAvatar: GranularComponentDescriptor<"GrAvatar">;
|
|
@@ -21,6 +22,7 @@ export declare const granularityComponentConfigs: {
|
|
|
21
22
|
GrButton: GranularComponentDescriptor<"GrButton">;
|
|
22
23
|
GrButtonGroup: GranularComponentDescriptor<"GrButtonGroup">;
|
|
23
24
|
GrCard: GranularComponentDescriptor<"GrCard">;
|
|
25
|
+
GrCarousel: GranularComponentDescriptor<"GrCarousel">;
|
|
24
26
|
GrCheckbox: GranularComponentDescriptor<"GrCheckbox">;
|
|
25
27
|
GrCheckboxGroup: GranularComponentDescriptor<"GrCheckboxGroup">;
|
|
26
28
|
GrChip: GranularComponentDescriptor<"GrChip">;
|
|
@@ -68,6 +70,7 @@ export declare const granularityComponentConfigs: {
|
|
|
68
70
|
GrRadioGroup: GranularComponentDescriptor<"GrRadioGroup">;
|
|
69
71
|
GrRating: GranularComponentDescriptor<"GrRating">;
|
|
70
72
|
GrResponseErrorBanner: GranularComponentDescriptor<"GrResponseErrorBanner">;
|
|
73
|
+
GrScrollSpy: GranularComponentDescriptor<"GrScrollSpy">;
|
|
71
74
|
GrSegmented: GranularComponentDescriptor<"GrSegmented">;
|
|
72
75
|
GrSelect: GranularComponentDescriptor<"GrSelect">;
|
|
73
76
|
GrSidebar: GranularComponentDescriptor<"GrSidebar">;
|
|
@@ -85,6 +88,7 @@ export declare const granularityComponentConfigs: {
|
|
|
85
88
|
GrTimeline: GranularComponentDescriptor<"GrTimeline">;
|
|
86
89
|
GrToaster: GranularComponentDescriptor<"GrToaster">;
|
|
87
90
|
GrTooltip: GranularComponentDescriptor<"GrTooltip">;
|
|
91
|
+
GrTransfer: GranularComponentDescriptor<"GrTransfer">;
|
|
88
92
|
GrTree: GranularComponentDescriptor<"GrTree">;
|
|
89
93
|
GrTreeSelect: GranularComponentDescriptor<"GrTreeSelect">;
|
|
90
94
|
GrValue: GranularComponentDescriptor<"GrValue">;
|
|
@@ -9,6 +9,35 @@ export declare const en: {
|
|
|
9
9
|
en: {
|
|
10
10
|
gr: () => Promise<{
|
|
11
11
|
default: {
|
|
12
|
+
transfer: {
|
|
13
|
+
sourceTitle: string;
|
|
14
|
+
targetTitle: string;
|
|
15
|
+
search: string;
|
|
16
|
+
toTarget: string;
|
|
17
|
+
toSource: string;
|
|
18
|
+
selectAll: string;
|
|
19
|
+
moveUp: string;
|
|
20
|
+
moveDown: string;
|
|
21
|
+
selected: string;
|
|
22
|
+
shown: string;
|
|
23
|
+
empty: string;
|
|
24
|
+
emptyFiltered: string;
|
|
25
|
+
moved: string;
|
|
26
|
+
reordered: string;
|
|
27
|
+
reorderFiltered: string;
|
|
28
|
+
cancelled: string;
|
|
29
|
+
};
|
|
30
|
+
carousel: {
|
|
31
|
+
roledescription: string;
|
|
32
|
+
slideRoledescription: string;
|
|
33
|
+
slidePosition: string;
|
|
34
|
+
previous: string;
|
|
35
|
+
next: string;
|
|
36
|
+
play: string;
|
|
37
|
+
pause: string;
|
|
38
|
+
indicators: string;
|
|
39
|
+
autoplayStopped: string;
|
|
40
|
+
};
|
|
12
41
|
chip: {
|
|
13
42
|
remove: string;
|
|
14
43
|
removeNamed: string;
|
|
@@ -147,6 +176,9 @@ export declare const en: {
|
|
|
147
176
|
navbar: {
|
|
148
177
|
openMenu: string;
|
|
149
178
|
};
|
|
179
|
+
scrollSpy: {
|
|
180
|
+
label: string;
|
|
181
|
+
};
|
|
150
182
|
responseError: {
|
|
151
183
|
networkTitle: string;
|
|
152
184
|
networkMessage: string;
|
|
@@ -370,6 +402,35 @@ export declare const en: {
|
|
|
370
402
|
label: string;
|
|
371
403
|
};
|
|
372
404
|
};
|
|
405
|
+
transfer: {
|
|
406
|
+
sourceTitle: string;
|
|
407
|
+
targetTitle: string;
|
|
408
|
+
search: string;
|
|
409
|
+
toTarget: string;
|
|
410
|
+
toSource: string;
|
|
411
|
+
selectAll: string;
|
|
412
|
+
moveUp: string;
|
|
413
|
+
moveDown: string;
|
|
414
|
+
selected: string;
|
|
415
|
+
shown: string;
|
|
416
|
+
empty: string;
|
|
417
|
+
emptyFiltered: string;
|
|
418
|
+
moved: string;
|
|
419
|
+
reordered: string;
|
|
420
|
+
reorderFiltered: string;
|
|
421
|
+
cancelled: string;
|
|
422
|
+
};
|
|
423
|
+
carousel: {
|
|
424
|
+
roledescription: string;
|
|
425
|
+
slideRoledescription: string;
|
|
426
|
+
slidePosition: string;
|
|
427
|
+
previous: string;
|
|
428
|
+
next: string;
|
|
429
|
+
play: string;
|
|
430
|
+
pause: string;
|
|
431
|
+
indicators: string;
|
|
432
|
+
autoplayStopped: string;
|
|
433
|
+
};
|
|
373
434
|
chip: {
|
|
374
435
|
remove: string;
|
|
375
436
|
removeNamed: string;
|
|
@@ -508,6 +569,9 @@ export declare const en: {
|
|
|
508
569
|
navbar: {
|
|
509
570
|
openMenu: string;
|
|
510
571
|
};
|
|
572
|
+
scrollSpy: {
|
|
573
|
+
label: string;
|
|
574
|
+
};
|
|
511
575
|
responseError: {
|
|
512
576
|
networkTitle: string;
|
|
513
577
|
networkMessage: string;
|
|
@@ -2,6 +2,35 @@ export declare const es: {
|
|
|
2
2
|
es: {
|
|
3
3
|
gr: () => Promise<{
|
|
4
4
|
default: {
|
|
5
|
+
transfer: {
|
|
6
|
+
sourceTitle: string;
|
|
7
|
+
targetTitle: string;
|
|
8
|
+
search: string;
|
|
9
|
+
toTarget: string;
|
|
10
|
+
toSource: string;
|
|
11
|
+
selectAll: string;
|
|
12
|
+
moveUp: string;
|
|
13
|
+
moveDown: string;
|
|
14
|
+
selected: string;
|
|
15
|
+
shown: string;
|
|
16
|
+
empty: string;
|
|
17
|
+
emptyFiltered: string;
|
|
18
|
+
moved: string;
|
|
19
|
+
reordered: string;
|
|
20
|
+
reorderFiltered: string;
|
|
21
|
+
cancelled: string;
|
|
22
|
+
};
|
|
23
|
+
carousel: {
|
|
24
|
+
roledescription: string;
|
|
25
|
+
slideRoledescription: string;
|
|
26
|
+
slidePosition: string;
|
|
27
|
+
previous: string;
|
|
28
|
+
next: string;
|
|
29
|
+
play: string;
|
|
30
|
+
pause: string;
|
|
31
|
+
indicators: string;
|
|
32
|
+
autoplayStopped: string;
|
|
33
|
+
};
|
|
5
34
|
chip: {
|
|
6
35
|
remove: string;
|
|
7
36
|
removeNamed: string;
|
|
@@ -141,6 +170,9 @@ export declare const es: {
|
|
|
141
170
|
navbar: {
|
|
142
171
|
openMenu: string;
|
|
143
172
|
};
|
|
173
|
+
scrollSpy: {
|
|
174
|
+
label: string;
|
|
175
|
+
};
|
|
144
176
|
responseError: {
|
|
145
177
|
networkTitle: string;
|
|
146
178
|
networkMessage: string;
|
|
@@ -365,6 +397,35 @@ export declare const es: {
|
|
|
365
397
|
label: string;
|
|
366
398
|
};
|
|
367
399
|
};
|
|
400
|
+
transfer: {
|
|
401
|
+
sourceTitle: string;
|
|
402
|
+
targetTitle: string;
|
|
403
|
+
search: string;
|
|
404
|
+
toTarget: string;
|
|
405
|
+
toSource: string;
|
|
406
|
+
selectAll: string;
|
|
407
|
+
moveUp: string;
|
|
408
|
+
moveDown: string;
|
|
409
|
+
selected: string;
|
|
410
|
+
shown: string;
|
|
411
|
+
empty: string;
|
|
412
|
+
emptyFiltered: string;
|
|
413
|
+
moved: string;
|
|
414
|
+
reordered: string;
|
|
415
|
+
reorderFiltered: string;
|
|
416
|
+
cancelled: string;
|
|
417
|
+
};
|
|
418
|
+
carousel: {
|
|
419
|
+
roledescription: string;
|
|
420
|
+
slideRoledescription: string;
|
|
421
|
+
slidePosition: string;
|
|
422
|
+
previous: string;
|
|
423
|
+
next: string;
|
|
424
|
+
play: string;
|
|
425
|
+
pause: string;
|
|
426
|
+
indicators: string;
|
|
427
|
+
autoplayStopped: string;
|
|
428
|
+
};
|
|
368
429
|
chip: {
|
|
369
430
|
remove: string;
|
|
370
431
|
removeNamed: string;
|
|
@@ -504,6 +565,9 @@ export declare const es: {
|
|
|
504
565
|
navbar: {
|
|
505
566
|
openMenu: string;
|
|
506
567
|
};
|
|
568
|
+
scrollSpy: {
|
|
569
|
+
label: string;
|
|
570
|
+
};
|
|
507
571
|
responseError: {
|
|
508
572
|
networkTitle: string;
|
|
509
573
|
networkMessage: string;
|
|
@@ -2,6 +2,35 @@ export declare const ru: {
|
|
|
2
2
|
ru: {
|
|
3
3
|
gr: () => Promise<{
|
|
4
4
|
default: {
|
|
5
|
+
transfer: {
|
|
6
|
+
sourceTitle: string;
|
|
7
|
+
targetTitle: string;
|
|
8
|
+
search: string;
|
|
9
|
+
toTarget: string;
|
|
10
|
+
toSource: string;
|
|
11
|
+
selectAll: string;
|
|
12
|
+
moveUp: string;
|
|
13
|
+
moveDown: string;
|
|
14
|
+
selected: string;
|
|
15
|
+
shown: string;
|
|
16
|
+
empty: string;
|
|
17
|
+
emptyFiltered: string;
|
|
18
|
+
moved: string;
|
|
19
|
+
reordered: string;
|
|
20
|
+
reorderFiltered: string;
|
|
21
|
+
cancelled: string;
|
|
22
|
+
};
|
|
23
|
+
carousel: {
|
|
24
|
+
roledescription: string;
|
|
25
|
+
slideRoledescription: string;
|
|
26
|
+
slidePosition: string;
|
|
27
|
+
previous: string;
|
|
28
|
+
next: string;
|
|
29
|
+
play: string;
|
|
30
|
+
pause: string;
|
|
31
|
+
indicators: string;
|
|
32
|
+
autoplayStopped: string;
|
|
33
|
+
};
|
|
5
34
|
chip: {
|
|
6
35
|
remove: string;
|
|
7
36
|
removeNamed: string;
|
|
@@ -142,6 +171,9 @@ export declare const ru: {
|
|
|
142
171
|
navbar: {
|
|
143
172
|
openMenu: string;
|
|
144
173
|
};
|
|
174
|
+
scrollSpy: {
|
|
175
|
+
label: string;
|
|
176
|
+
};
|
|
145
177
|
responseError: {
|
|
146
178
|
networkTitle: string;
|
|
147
179
|
networkMessage: string;
|
|
@@ -367,6 +399,35 @@ export declare const ru: {
|
|
|
367
399
|
label: string;
|
|
368
400
|
};
|
|
369
401
|
};
|
|
402
|
+
transfer: {
|
|
403
|
+
sourceTitle: string;
|
|
404
|
+
targetTitle: string;
|
|
405
|
+
search: string;
|
|
406
|
+
toTarget: string;
|
|
407
|
+
toSource: string;
|
|
408
|
+
selectAll: string;
|
|
409
|
+
moveUp: string;
|
|
410
|
+
moveDown: string;
|
|
411
|
+
selected: string;
|
|
412
|
+
shown: string;
|
|
413
|
+
empty: string;
|
|
414
|
+
emptyFiltered: string;
|
|
415
|
+
moved: string;
|
|
416
|
+
reordered: string;
|
|
417
|
+
reorderFiltered: string;
|
|
418
|
+
cancelled: string;
|
|
419
|
+
};
|
|
420
|
+
carousel: {
|
|
421
|
+
roledescription: string;
|
|
422
|
+
slideRoledescription: string;
|
|
423
|
+
slidePosition: string;
|
|
424
|
+
previous: string;
|
|
425
|
+
next: string;
|
|
426
|
+
play: string;
|
|
427
|
+
pause: string;
|
|
428
|
+
indicators: string;
|
|
429
|
+
autoplayStopped: string;
|
|
430
|
+
};
|
|
370
431
|
chip: {
|
|
371
432
|
remove: string;
|
|
372
433
|
removeNamed: string;
|
|
@@ -507,6 +568,9 @@ export declare const ru: {
|
|
|
507
568
|
navbar: {
|
|
508
569
|
openMenu: string;
|
|
509
570
|
};
|
|
571
|
+
scrollSpy: {
|
|
572
|
+
label: string;
|
|
573
|
+
};
|
|
510
574
|
responseError: {
|
|
511
575
|
networkTitle: string;
|
|
512
576
|
networkMessage: string;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * from './components/GrAffix';
|
|
1
2
|
export * from './components/GrAlert';
|
|
2
3
|
export * from './components/GrAutocomplete';
|
|
3
4
|
export * from './components/GrAvatar';
|
|
@@ -8,6 +9,7 @@ export * from './components/GrBreadcrumbs';
|
|
|
8
9
|
export * from './components/GrButton';
|
|
9
10
|
export * from './components/GrButtonGroup';
|
|
10
11
|
export * from './components/GrCard';
|
|
12
|
+
export * from './components/GrCarousel';
|
|
11
13
|
export * from './components/GrCheckbox';
|
|
12
14
|
export * from './components/GrCheckboxGroup';
|
|
13
15
|
export * from './components/GrChip';
|
|
@@ -55,6 +57,7 @@ export * from './components/GrRadio';
|
|
|
55
57
|
export * from './components/GrRadioGroup';
|
|
56
58
|
export * from './components/GrRating';
|
|
57
59
|
export * from './components/GrResponseErrorBanner';
|
|
60
|
+
export * from './components/GrScrollSpy';
|
|
58
61
|
export * from './components/GrSegmented';
|
|
59
62
|
export * from './components/GrSelect';
|
|
60
63
|
export * from './components/GrSidebar';
|
|
@@ -72,6 +75,7 @@ export * from './components/GrTextarea';
|
|
|
72
75
|
export * from './components/GrTimeline';
|
|
73
76
|
export * from './components/GrToaster';
|
|
74
77
|
export * from './components/GrTooltip';
|
|
78
|
+
export * from './components/GrTransfer';
|
|
75
79
|
export * from './components/GrTree';
|
|
76
80
|
export * from './components/GrTreeSelect';
|
|
77
81
|
export * from './components/GrValue';
|
|
@@ -83,6 +87,8 @@ export { usePortalTarget } from './composables/usePortalTarget';
|
|
|
83
87
|
export type { PortalTarget } from './composables/usePortalTarget';
|
|
84
88
|
export { useOverlayLayer } from './composables/useOverlayLayer';
|
|
85
89
|
export type { OverlayLayerHandle, UseOverlayLayerOptions } from './composables/useOverlayLayer';
|
|
90
|
+
export { useScrollSpy } from './composables/useScrollSpy';
|
|
91
|
+
export type { UseScrollSpyOptions, UseScrollSpyReturn } from './composables/useScrollSpy';
|
|
86
92
|
export { useRovingFocus } from './composables/useRovingFocus';
|
|
87
93
|
export type { GrRovingEdge, GrRovingOrientation, UseRovingFocusOptions, UseRovingFocusReturn, } from './composables/useRovingFocus';
|
|
88
94
|
export * from './composables/useGrComponentConfig';
|