@scalar/components 0.19.0 → 0.19.2
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/ScalarButton/ScalarButton.vue.d.ts +3 -2
- package/dist/components/ScalarButton/ScalarButton.vue.d.ts.map +1 -1
- package/dist/components/ScalarCard/ScalarCard.vue.d.ts +3 -2
- package/dist/components/ScalarCard/ScalarCard.vue.d.ts.map +1 -1
- package/dist/components/ScalarCard/ScalarCardFooter.vue.d.ts +3 -2
- package/dist/components/ScalarCard/ScalarCardFooter.vue.d.ts.map +1 -1
- package/dist/components/ScalarCard/ScalarCardHeader.vue.d.ts +3 -2
- package/dist/components/ScalarCard/ScalarCardHeader.vue.d.ts.map +1 -1
- package/dist/components/ScalarCard/ScalarCardSection.vue.d.ts +3 -2
- package/dist/components/ScalarCard/ScalarCardSection.vue.d.ts.map +1 -1
- package/dist/components/ScalarCheckboxInput/ScalarCheckbox.vue.d.ts +3 -2
- package/dist/components/ScalarCheckboxInput/ScalarCheckbox.vue.d.ts.map +1 -1
- package/dist/components/ScalarCheckboxInput/ScalarCheckboxGroup.vue.d.ts +3 -2
- package/dist/components/ScalarCheckboxInput/ScalarCheckboxGroup.vue.d.ts.map +1 -1
- package/dist/components/ScalarCheckboxInput/ScalarCheckboxInput.vue.d.ts +3 -2
- package/dist/components/ScalarCheckboxInput/ScalarCheckboxInput.vue.d.ts.map +1 -1
- package/dist/components/ScalarCheckboxInput/ScalarCheckboxRadioGroup.vue.d.ts +3 -2
- package/dist/components/ScalarCheckboxInput/ScalarCheckboxRadioGroup.vue.d.ts.map +1 -1
- package/dist/components/ScalarCodeBlock/ScalarCodeBlock.vue.d.ts +2 -1
- package/dist/components/ScalarCodeBlock/ScalarCodeBlock.vue.d.ts.map +1 -1
- package/dist/components/ScalarCodeBlock/ScalarCodeBlockCopy.vue.d.ts +7 -5
- package/dist/components/ScalarCodeBlock/ScalarCodeBlockCopy.vue.d.ts.map +1 -1
- package/dist/components/ScalarColorModeToggle/ScalarColorModeToggle.vue.d.ts +3 -2
- package/dist/components/ScalarColorModeToggle/ScalarColorModeToggle.vue.d.ts.map +1 -1
- package/dist/components/ScalarColorModeToggle/ScalarColorModeToggleButton.vue.d.ts +3 -2
- package/dist/components/ScalarColorModeToggle/ScalarColorModeToggleButton.vue.d.ts.map +1 -1
- package/dist/components/ScalarColorModeToggle/ScalarColorModeToggleIcon.vue.d.ts +3 -2
- package/dist/components/ScalarColorModeToggle/ScalarColorModeToggleIcon.vue.d.ts.map +1 -1
- package/dist/components/ScalarCombobox/ScalarCombobox.vue.d.ts +15 -10
- package/dist/components/ScalarCombobox/ScalarCombobox.vue.d.ts.map +1 -1
- package/dist/components/ScalarCombobox/ScalarComboboxMultiselect.vue.d.ts +16 -11
- package/dist/components/ScalarCombobox/ScalarComboboxMultiselect.vue.d.ts.map +1 -1
- package/dist/components/ScalarCombobox/ScalarComboboxOption.vue.d.ts +3 -2
- package/dist/components/ScalarCombobox/ScalarComboboxOption.vue.d.ts.map +1 -1
- package/dist/components/ScalarCombobox/ScalarComboboxOptionGroup.vue.d.ts +3 -2
- package/dist/components/ScalarCombobox/ScalarComboboxOptionGroup.vue.d.ts.map +1 -1
- package/dist/components/ScalarCombobox/ScalarComboboxOptions.vue.d.ts +15 -10
- package/dist/components/ScalarCombobox/ScalarComboboxOptions.vue.d.ts.map +1 -1
- package/dist/components/ScalarCombobox/ScalarComboboxPopover.vue.d.ts +3 -2
- package/dist/components/ScalarCombobox/ScalarComboboxPopover.vue.d.ts.map +1 -1
- package/dist/components/ScalarContextMenu/ScalarContextMenu.vue.d.ts +6 -5
- package/dist/components/ScalarContextMenu/ScalarContextMenu.vue.d.ts.map +1 -1
- package/dist/components/ScalarCopy/ScalarCopy.vue.d.ts +3 -2
- package/dist/components/ScalarCopy/ScalarCopy.vue.d.ts.map +1 -1
- package/dist/components/ScalarCopy/ScalarCopyBackdrop.vue.d.ts +2 -1
- package/dist/components/ScalarCopy/ScalarCopyBackdrop.vue.d.ts.map +1 -1
- package/dist/components/ScalarCopy/ScalarCopyButton.vue.d.ts +3 -2
- package/dist/components/ScalarCopy/ScalarCopyButton.vue.d.ts.map +1 -1
- package/dist/components/ScalarDropdown/ScalarDropdown.vue.d.ts +3 -2
- package/dist/components/ScalarDropdown/ScalarDropdown.vue.d.ts.map +1 -1
- package/dist/components/ScalarDropdown/ScalarDropdownButton.vue.d.ts +3 -2
- package/dist/components/ScalarDropdown/ScalarDropdownButton.vue.d.ts.map +1 -1
- package/dist/components/ScalarDropdown/ScalarDropdownDivider.vue.d.ts +2 -1
- package/dist/components/ScalarDropdown/ScalarDropdownDivider.vue.d.ts.map +1 -1
- package/dist/components/ScalarDropdown/ScalarDropdownItem.vue.d.ts +3 -2
- package/dist/components/ScalarDropdown/ScalarDropdownItem.vue.d.ts.map +1 -1
- package/dist/components/ScalarDropdown/ScalarDropdownMenu.vue.d.ts +3 -2
- package/dist/components/ScalarDropdown/ScalarDropdownMenu.vue.d.ts.map +1 -1
- package/dist/components/ScalarErrorBoundary/ScalarErrorBoundary.vue.d.ts +3 -2
- package/dist/components/ScalarErrorBoundary/ScalarErrorBoundary.vue.d.ts.map +1 -1
- package/dist/components/ScalarFileUpload/ScalarFileUpload.vue.d.ts +3 -2
- package/dist/components/ScalarFileUpload/ScalarFileUpload.vue.d.ts.map +1 -1
- package/dist/components/ScalarFileUpload/ScalarFileUploadDropTarget.vue.d.ts +3 -2
- package/dist/components/ScalarFileUpload/ScalarFileUploadDropTarget.vue.d.ts.map +1 -1
- package/dist/components/ScalarFileUpload/ScalarFileUploadError.vue.d.ts +3 -2
- package/dist/components/ScalarFileUpload/ScalarFileUploadError.vue.d.ts.map +1 -1
- package/dist/components/ScalarFileUpload/ScalarFileUploadFileList.vue.d.ts +3 -2
- package/dist/components/ScalarFileUpload/ScalarFileUploadFileList.vue.d.ts.map +1 -1
- package/dist/components/ScalarFileUpload/ScalarFileUploadInput.vue.d.ts +3 -2
- package/dist/components/ScalarFileUpload/ScalarFileUploadInput.vue.d.ts.map +1 -1
- package/dist/components/ScalarFileUpload/ScalarFileUploadInputCompact.vue.d.ts +3 -2
- package/dist/components/ScalarFileUpload/ScalarFileUploadInputCompact.vue.d.ts.map +1 -1
- package/dist/components/ScalarFileUpload/ScalarFileUploadLoading.vue.d.ts +3 -2
- package/dist/components/ScalarFileUpload/ScalarFileUploadLoading.vue.d.ts.map +1 -1
- package/dist/components/ScalarFloating/ScalarFloating.vue.d.ts +3 -2
- package/dist/components/ScalarFloating/ScalarFloating.vue.d.ts.map +1 -1
- package/dist/components/ScalarFloating/ScalarFloatingBackdrop.vue.d.ts +3 -2
- package/dist/components/ScalarFloating/ScalarFloatingBackdrop.vue.d.ts.map +1 -1
- package/dist/components/ScalarForm/ScalarForm.vue.d.ts +3 -2
- package/dist/components/ScalarForm/ScalarForm.vue.d.ts.map +1 -1
- package/dist/components/ScalarForm/ScalarFormError.vue.d.ts +5 -4
- package/dist/components/ScalarForm/ScalarFormError.vue.d.ts.map +1 -1
- package/dist/components/ScalarForm/ScalarFormField.vue.d.ts +3 -2
- package/dist/components/ScalarForm/ScalarFormField.vue.d.ts.map +1 -1
- package/dist/components/ScalarForm/ScalarFormInput.vue.d.ts +3 -2
- package/dist/components/ScalarForm/ScalarFormInput.vue.d.ts.map +1 -1
- package/dist/components/ScalarForm/ScalarFormInputGroup.vue.d.ts +3 -2
- package/dist/components/ScalarForm/ScalarFormInputGroup.vue.d.ts.map +1 -1
- package/dist/components/ScalarForm/ScalarFormSection.vue.d.ts +2 -1
- package/dist/components/ScalarForm/ScalarFormSection.vue.d.ts.map +1 -1
- package/dist/components/ScalarHeader/ScalarHeader.vue.d.ts +3 -2
- package/dist/components/ScalarHeader/ScalarHeader.vue.d.ts.map +1 -1
- package/dist/components/ScalarHeader/ScalarHeaderButton.vue.d.ts +3 -2
- package/dist/components/ScalarHeader/ScalarHeaderButton.vue.d.ts.map +1 -1
- package/dist/components/ScalarHotkey/ScalarHotkey.vue.d.ts +2 -1
- package/dist/components/ScalarHotkey/ScalarHotkey.vue.d.ts.map +1 -1
- package/dist/components/ScalarIcon/IconList.vue.d.ts +2 -1
- package/dist/components/ScalarIcon/IconList.vue.d.ts.map +1 -1
- package/dist/components/ScalarIcon/ScalarIcon.vue.d.ts +2 -1
- package/dist/components/ScalarIcon/ScalarIcon.vue.d.ts.map +1 -1
- package/dist/components/ScalarIcon/ScalarIconLegacyAdapter.vue.d.ts +3 -2
- package/dist/components/ScalarIcon/ScalarIconLegacyAdapter.vue.d.ts.map +1 -1
- package/dist/components/ScalarIconButton/ScalarIconButton.vue.d.ts +2 -1
- package/dist/components/ScalarIconButton/ScalarIconButton.vue.d.ts.map +1 -1
- package/dist/components/ScalarListbox/ScalarListbox.vue.d.ts +3 -2
- package/dist/components/ScalarListbox/ScalarListbox.vue.d.ts.map +1 -1
- package/dist/components/ScalarListbox/ScalarListboxCheckbox.vue.d.ts +2 -1
- package/dist/components/ScalarListbox/ScalarListboxCheckbox.vue.d.ts.map +1 -1
- package/dist/components/ScalarListbox/ScalarListboxInput.vue.d.ts +3 -2
- package/dist/components/ScalarListbox/ScalarListboxInput.vue.d.ts.map +1 -1
- package/dist/components/ScalarListbox/ScalarListboxItem.vue.d.ts +2 -1
- package/dist/components/ScalarListbox/ScalarListboxItem.vue.d.ts.map +1 -1
- package/dist/components/ScalarLoading/ScalarLoading.vue.d.ts +3 -2
- package/dist/components/ScalarLoading/ScalarLoading.vue.d.ts.map +1 -1
- package/dist/components/ScalarMarkdown/ScalarMarkdown.vue.d.ts +3 -2
- package/dist/components/ScalarMarkdown/ScalarMarkdown.vue.d.ts.map +1 -1
- package/dist/components/ScalarMarkdown/ScalarMarkdownSummary.vue.d.ts +7 -5
- package/dist/components/ScalarMarkdown/ScalarMarkdownSummary.vue.d.ts.map +1 -1
- package/dist/components/ScalarMenu/ScalarMenu.vue.d.ts +3 -2
- package/dist/components/ScalarMenu/ScalarMenu.vue.d.ts.map +1 -1
- package/dist/components/ScalarMenu/ScalarMenuButton.vue.d.ts +3 -2
- package/dist/components/ScalarMenu/ScalarMenuButton.vue.d.ts.map +1 -1
- package/dist/components/ScalarMenu/ScalarMenuLink.vue.d.ts +5 -4
- package/dist/components/ScalarMenu/ScalarMenuLink.vue.d.ts.map +1 -1
- package/dist/components/ScalarMenu/ScalarMenuProduct.vue.d.ts +5 -4
- package/dist/components/ScalarMenu/ScalarMenuProduct.vue.d.ts.map +1 -1
- package/dist/components/ScalarMenu/ScalarMenuProducts.vue.d.ts +2 -1
- package/dist/components/ScalarMenu/ScalarMenuProducts.vue.d.ts.map +1 -1
- package/dist/components/ScalarMenu/ScalarMenuResources.vue.d.ts +2 -1
- package/dist/components/ScalarMenu/ScalarMenuResources.vue.d.ts.map +1 -1
- package/dist/components/ScalarMenu/ScalarMenuSection.vue.d.ts +5 -4
- package/dist/components/ScalarMenu/ScalarMenuSection.vue.d.ts.map +1 -1
- package/dist/components/ScalarMenu/ScalarMenuSupport.vue.d.ts +2 -1
- package/dist/components/ScalarMenu/ScalarMenuSupport.vue.d.ts.map +1 -1
- package/dist/components/ScalarMenu/ScalarMenuTeamPicker.vue.d.ts +2 -1
- package/dist/components/ScalarMenu/ScalarMenuTeamPicker.vue.d.ts.map +1 -1
- package/dist/components/ScalarMenu/ScalarMenuTeamProfile.vue.d.ts +2 -1
- package/dist/components/ScalarMenu/ScalarMenuTeamProfile.vue.d.ts.map +1 -1
- package/dist/components/ScalarMenu/ScalarMenuWorkspacePicker.vue.d.ts +4 -2
- package/dist/components/ScalarMenu/ScalarMenuWorkspacePicker.vue.d.ts.map +1 -1
- package/dist/components/ScalarModal/ScalarModal.vue.d.ts +3 -2
- package/dist/components/ScalarModal/ScalarModal.vue.d.ts.map +1 -1
- package/dist/components/ScalarPopover/ScalarPopover.vue.d.ts +3 -2
- package/dist/components/ScalarPopover/ScalarPopover.vue.d.ts.map +1 -1
- package/dist/components/ScalarSearchInput/ScalarSearchInput.vue.d.ts +3 -2
- package/dist/components/ScalarSearchInput/ScalarSearchInput.vue.d.ts.map +1 -1
- package/dist/components/ScalarSearchResults/ScalarSearchResultItem.vue.d.ts +7 -6
- package/dist/components/ScalarSearchResults/ScalarSearchResultItem.vue.d.ts.map +1 -1
- package/dist/components/ScalarSearchResults/ScalarSearchResultList.vue.d.ts +3 -2
- package/dist/components/ScalarSearchResults/ScalarSearchResultList.vue.d.ts.map +1 -1
- package/dist/components/ScalarSidebar/ScalarSidebar.vue.d.ts +3 -2
- package/dist/components/ScalarSidebar/ScalarSidebar.vue.d.ts.map +1 -1
- package/dist/components/ScalarSidebar/ScalarSidebarButton.vue.d.ts +2 -1
- package/dist/components/ScalarSidebar/ScalarSidebarButton.vue.d.ts.map +1 -1
- package/dist/components/ScalarSidebar/ScalarSidebarButton.vue.js +7 -7
- package/dist/components/ScalarSidebar/ScalarSidebarFooter.vue.d.ts +3 -2
- package/dist/components/ScalarSidebar/ScalarSidebarFooter.vue.d.ts.map +1 -1
- package/dist/components/ScalarSidebar/ScalarSidebarGroup.vue.d.ts +3 -2
- package/dist/components/ScalarSidebar/ScalarSidebarGroup.vue.d.ts.map +1 -1
- package/dist/components/ScalarSidebar/ScalarSidebarGroup.vue.js +64 -67
- package/dist/components/ScalarSidebar/ScalarSidebarGroupToggle.vue.d.ts +3 -2
- package/dist/components/ScalarSidebar/ScalarSidebarGroupToggle.vue.d.ts.map +1 -1
- package/dist/components/ScalarSidebar/ScalarSidebarIndent.vue.d.ts +3 -2
- package/dist/components/ScalarSidebar/ScalarSidebarIndent.vue.d.ts.map +1 -1
- package/dist/components/ScalarSidebar/ScalarSidebarItem.vue.d.ts +2 -1
- package/dist/components/ScalarSidebar/ScalarSidebarItem.vue.d.ts.map +1 -1
- package/dist/components/ScalarSidebar/ScalarSidebarItem.vue.js +1 -1
- package/dist/components/ScalarSidebar/ScalarSidebarItems.vue.d.ts +3 -2
- package/dist/components/ScalarSidebar/ScalarSidebarItems.vue.d.ts.map +1 -1
- package/dist/components/ScalarSidebar/ScalarSidebarNestedItems.vue.d.ts +3 -2
- package/dist/components/ScalarSidebar/ScalarSidebarNestedItems.vue.d.ts.map +1 -1
- package/dist/components/ScalarSidebar/ScalarSidebarNestedItems.vue.js +64 -70
- package/dist/components/ScalarSidebar/ScalarSidebarPlayground.vue.d.ts +3 -2
- package/dist/components/ScalarSidebar/ScalarSidebarPlayground.vue.d.ts.map +1 -1
- package/dist/components/ScalarSidebar/ScalarSidebarSearchButton.vue.d.ts +6 -5
- package/dist/components/ScalarSidebar/ScalarSidebarSearchButton.vue.d.ts.map +1 -1
- package/dist/components/ScalarSidebar/ScalarSidebarSearchInput.vue.d.ts +4 -2
- package/dist/components/ScalarSidebar/ScalarSidebarSearchInput.vue.d.ts.map +1 -1
- package/dist/components/ScalarSidebar/ScalarSidebarSection.vue.d.ts +3 -2
- package/dist/components/ScalarSidebar/ScalarSidebarSection.vue.d.ts.map +1 -1
- package/dist/components/ScalarSidebar/ScalarSidebarSpacer.vue.d.ts +3 -2
- package/dist/components/ScalarSidebar/ScalarSidebarSpacer.vue.d.ts.map +1 -1
- package/dist/components/ScalarSidebar/types.d.ts +4 -0
- package/dist/components/ScalarSidebar/types.d.ts.map +1 -1
- package/dist/components/ScalarTeleport/ScalarTeleport.vue.d.ts +3 -2
- package/dist/components/ScalarTeleport/ScalarTeleport.vue.d.ts.map +1 -1
- package/dist/components/ScalarTeleport/ScalarTeleportRoot.vue.d.ts +3 -2
- package/dist/components/ScalarTeleport/ScalarTeleportRoot.vue.d.ts.map +1 -1
- package/dist/components/ScalarTextArea/ScalarTextArea.vue.d.ts +3 -2
- package/dist/components/ScalarTextArea/ScalarTextArea.vue.d.ts.map +1 -1
- package/dist/components/ScalarTextInput/ScalarTextInput.vue.d.ts +3 -2
- package/dist/components/ScalarTextInput/ScalarTextInput.vue.d.ts.map +1 -1
- package/dist/components/ScalarThemeSwatches/ScalarThemeSwatches.vue.d.ts +3 -2
- package/dist/components/ScalarThemeSwatches/ScalarThemeSwatches.vue.d.ts.map +1 -1
- package/dist/components/ScalarToggle/ScalarToggle.vue.d.ts +4 -2
- package/dist/components/ScalarToggle/ScalarToggle.vue.d.ts.map +1 -1
- package/dist/components/ScalarToggle/ScalarToggleGroup.vue.d.ts +3 -2
- package/dist/components/ScalarToggle/ScalarToggleGroup.vue.d.ts.map +1 -1
- package/dist/components/ScalarToggle/ScalarToggleInput.vue.d.ts +3 -2
- package/dist/components/ScalarToggle/ScalarToggleInput.vue.d.ts.map +1 -1
- package/dist/components/ScalarTooltip/ScalarHotkeyTooltip.vue.d.ts +3 -2
- package/dist/components/ScalarTooltip/ScalarHotkeyTooltip.vue.d.ts.map +1 -1
- package/dist/components/ScalarTooltip/ScalarTooltip.vue.d.ts +3 -2
- package/dist/components/ScalarTooltip/ScalarTooltip.vue.d.ts.map +1 -1
- package/dist/components/ScalarVirtualText/ScalarVirtualText.vue.d.ts +2 -1
- package/dist/components/ScalarVirtualText/ScalarVirtualText.vue.d.ts.map +1 -1
- package/dist/components/ScalarWrappingText/ScalarWrappingText.vue.d.ts +2 -1
- package/dist/components/ScalarWrappingText/ScalarWrappingText.vue.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +6 -6
|
@@ -5,8 +5,9 @@ type __VLS_Props = {
|
|
|
5
5
|
focus?: boolean;
|
|
6
6
|
} & ScalarFloatingOptions;
|
|
7
7
|
type __VLS_Slots = Slots;
|
|
8
|
-
declare const
|
|
9
|
-
declare const
|
|
8
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
10
11
|
export default _default;
|
|
11
12
|
type __VLS_WithSlots<T, S> = T & {
|
|
12
13
|
new (): {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScalarPopover.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarPopover/ScalarPopover.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ScalarPopover.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarPopover/ScalarPopover.vue"],"names":[],"mappings":"AAyDA,OAAO,EAGL,KAAK,qBAAqB,EAC3B,MAAM,mBAAmB,CAAA;AAC1B,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAEpC,KAAK,WAAW,GAAG;IACf,0DAA0D;IAC1D,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB,GAAG,qBAAqB,CAAC;AAK5B,KAAK,WAAW,GAAG,KAAK,CAAC;AA6HzB,QAAA,MAAM,UAAU,kSAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -11,7 +11,9 @@ import { type LoadingState } from '../ScalarLoading';
|
|
|
11
11
|
* @example
|
|
12
12
|
* <ScalarSearchInput v-model="search" />
|
|
13
13
|
*/
|
|
14
|
-
declare const _default:
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
15
|
+
export default _default;
|
|
16
|
+
declare const __VLS_export: import("vue").DefineComponent<{
|
|
15
17
|
loader?: LoadingState;
|
|
16
18
|
label?: string;
|
|
17
19
|
} & {
|
|
@@ -26,5 +28,4 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
26
28
|
}> & Readonly<{
|
|
27
29
|
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
28
30
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
29
|
-
export default _default;
|
|
30
31
|
//# sourceMappingURL=ScalarSearchInput.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScalarSearchInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarSearchInput/ScalarSearchInput.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ScalarSearchInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarSearchInput/ScalarSearchInput.vue"],"names":[],"mappings":"AAqFA,OAAO,EAAE,KAAK,YAAY,EAAiB,MAAM,kBAAkB,CAAA;AAGnE;;;;;;;;;;;GAWG;wBACkB,OAAO,YAAY;AAAxC,wBAAyC;AAGzC,QAAA,MAAM,YAAY;aAEP,YAAY;YACb,MAAM;;iBAqBH,MAAM;;;;aAtBR,YAAY;YACb,MAAM;;iBAqBH,MAAM;;;kFA4Hf,CAAC"}
|
|
@@ -4,18 +4,19 @@ type __VLS_Props = {
|
|
|
4
4
|
icon?: Icon | ScalarIconComponent;
|
|
5
5
|
selected?: boolean;
|
|
6
6
|
};
|
|
7
|
-
declare var __VLS_1: {},
|
|
7
|
+
declare var __VLS_1: {}, __VLS_8: {}, __VLS_10: {}, __VLS_12: {};
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
9
|
icon?: (props: typeof __VLS_1) => any;
|
|
10
10
|
} & {
|
|
11
|
-
default?: (props: typeof
|
|
11
|
+
default?: (props: typeof __VLS_8) => any;
|
|
12
12
|
} & {
|
|
13
|
-
addon?: (props: typeof
|
|
13
|
+
addon?: (props: typeof __VLS_10) => any;
|
|
14
14
|
} & {
|
|
15
|
-
description?: (props: typeof
|
|
15
|
+
description?: (props: typeof __VLS_12) => any;
|
|
16
16
|
};
|
|
17
|
-
declare const
|
|
18
|
-
declare const
|
|
17
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
19
|
+
declare const _default: typeof __VLS_export;
|
|
19
20
|
export default _default;
|
|
20
21
|
type __VLS_WithSlots<T, S> = T & {
|
|
21
22
|
new (): {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScalarSearchResultItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarSearchResults/ScalarSearchResultItem.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ScalarSearchResultItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarSearchResults/ScalarSearchResultItem.vue"],"names":[],"mappings":"AA6DA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAG9D,OAAO,EAAE,KAAK,IAAI,EAA2B,MAAM,eAAe,CAAA;AAElE,KAAK,WAAW,GAAG;IACjB,IAAI,CAAC,EAAE,IAAI,GAAG,mBAAmB,CAAA;IACjC,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAC;AAiHF,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAU,EAAE,QAAQ,IAAU,EAAE,QAAQ,IAAY,CAAE;AACpF,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GACzC;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC5C;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC3C;IAAE,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAKpD,QAAA,MAAM,UAAU,kSAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -7,8 +7,9 @@ type __VLS_Slots = {} & {
|
|
|
7
7
|
} & {
|
|
8
8
|
default?: (props: typeof __VLS_3) => any;
|
|
9
9
|
};
|
|
10
|
-
declare const
|
|
11
|
-
declare const
|
|
10
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
12
13
|
export default _default;
|
|
13
14
|
type __VLS_WithSlots<T, S> = T & {
|
|
14
15
|
new (): {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScalarSearchResultList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarSearchResults/ScalarSearchResultList.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ScalarSearchResultList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarSearchResults/ScalarSearchResultList.vue"],"names":[],"mappings":"AAiCA,KAAK,WAAW,GAAG;IACjB,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,CAAC;AAkDF,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAW,CAAE;AAC3C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC9C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK/C,QAAA,MAAM,UAAU,kSAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -8,10 +8,11 @@
|
|
|
8
8
|
* <!-- Sidebar content -->
|
|
9
9
|
* </ScalarSidebar>
|
|
10
10
|
*/
|
|
11
|
-
declare const _default:
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
13
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
12
14
|
default?: (props: {}) => any;
|
|
13
15
|
}>;
|
|
14
|
-
export default _default;
|
|
15
16
|
type __VLS_WithSlots<T, S> = T & {
|
|
16
17
|
new (): {
|
|
17
18
|
$slots: S;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScalarSidebar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarSidebar/ScalarSidebar.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ScalarSidebar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarSidebar/ScalarSidebar.vue"],"names":[],"mappings":"AAiCA;;;;;;;;;GASG;wBACkB,OAAO,YAAY;AAAxC,wBAAyC;AAGzC,QAAA,MAAM,YAAY;cA4BJ,CAAC,KAAK,IAAgB,KAAK,GAAG;EAQxC,CAAC;AACL,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -21,8 +21,9 @@ import type { ScalarSidebarButtonSlots, ScalarSidebarItemProps } from './types';
|
|
|
21
21
|
* </template>
|
|
22
22
|
* </ScalarSidebarButton>
|
|
23
23
|
*/
|
|
24
|
-
declare const _default:
|
|
24
|
+
declare const _default: typeof __VLS_export;
|
|
25
25
|
export default _default;
|
|
26
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<ScalarSidebarItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ScalarSidebarItemProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ScalarSidebarButtonSlots>;
|
|
26
27
|
type __VLS_WithSlots<T, S> = T & {
|
|
27
28
|
new (): {
|
|
28
29
|
$slots: S;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScalarSidebarButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarSidebar/ScalarSidebarButton.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ScalarSidebarButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarSidebar/ScalarSidebarButton.vue"],"names":[],"mappings":"AAsGA,OAAO,KAAK,EAAE,wBAAwB,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAA;AAG/E;;;;;;;;;;;;;;;;;;;;;GAqBG;wBACkB,OAAO,YAAY;AAAxC,wBAAyC;AAGzC,QAAA,MAAM,YAAY,mWAsId,CAAC;AACL,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as c, createBlock as d, openBlock as s, resolveDynamicComponent as r, mergeProps as b, unref as i, withCtx as u, renderSlot as a, createElementBlock as f, createCommentVNode as l, createElementVNode as
|
|
1
|
+
import { defineComponent as c, createBlock as d, openBlock as s, resolveDynamicComponent as r, mergeProps as b, unref as i, withCtx as u, renderSlot as a, createElementBlock as f, createCommentVNode as l, createElementVNode as m, createVNode as v } from "vue";
|
|
2
2
|
import { cva as h, useBindCx as y } from "@scalar/use-hooks/useBindCx";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
3
|
+
import x from "./ScalarSidebarIndent.vue.js";
|
|
4
|
+
import B from "../ScalarIcon/ScalarIconLegacyAdapter.vue.js";
|
|
5
5
|
const g = {
|
|
6
6
|
key: 0,
|
|
7
|
-
class: "h-[1lh] *:size-4 mr-1"
|
|
7
|
+
class: "h-[1lh] *:size-4 mr-1 flex items-center"
|
|
8
8
|
}, k = { class: "group/button-label flex-1 min-w-0" }, $ = {}, p = /* @__PURE__ */ c({
|
|
9
9
|
...$,
|
|
10
10
|
inheritAttrs: !1,
|
|
@@ -52,7 +52,7 @@ const g = {
|
|
|
52
52
|
}, i(o)(i(n)({ selected: e.selected, disabled: e.disabled, active: e.active }))), {
|
|
53
53
|
default: u(() => [
|
|
54
54
|
a(t.$slots, "indent", {}, () => [
|
|
55
|
-
|
|
55
|
+
v(x, {
|
|
56
56
|
class: "-my-2",
|
|
57
57
|
disabled: e.disabled,
|
|
58
58
|
indent: e.indent,
|
|
@@ -61,13 +61,13 @@ const g = {
|
|
|
61
61
|
]),
|
|
62
62
|
e.icon || t.$slots.icon ? (s(), f("div", g, [
|
|
63
63
|
a(t.$slots, "icon", {}, () => [
|
|
64
|
-
e.icon ? (s(), d(i(
|
|
64
|
+
e.icon ? (s(), d(i(B), {
|
|
65
65
|
key: 0,
|
|
66
66
|
icon: e.icon
|
|
67
67
|
}, null, 8, ["icon"])) : l("", !0)
|
|
68
68
|
])
|
|
69
69
|
])) : l("", !0),
|
|
70
|
-
|
|
70
|
+
m("div", k, [
|
|
71
71
|
a(t.$slots, "default")
|
|
72
72
|
]),
|
|
73
73
|
a(t.$slots, "aside")
|
|
@@ -15,7 +15,9 @@
|
|
|
15
15
|
* </template>
|
|
16
16
|
* </ScalarSidebarFooter>
|
|
17
17
|
*/
|
|
18
|
-
declare const _default:
|
|
18
|
+
declare const _default: typeof __VLS_export;
|
|
19
|
+
export default _default;
|
|
20
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
19
21
|
/** Footer content at the top of the footer */
|
|
20
22
|
default?(): unknown;
|
|
21
23
|
/** Replaces the Powered by Scalar link */
|
|
@@ -23,7 +25,6 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{}, {}, {}
|
|
|
23
25
|
/** Replaces the color mode toggle */
|
|
24
26
|
toggle?(): unknown;
|
|
25
27
|
}>;
|
|
26
|
-
export default _default;
|
|
27
28
|
type __VLS_WithSlots<T, S> = T & {
|
|
28
29
|
new (): {
|
|
29
30
|
$slots: S;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScalarSidebarFooter.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarSidebar/ScalarSidebarFooter.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ScalarSidebarFooter.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarSidebar/ScalarSidebarFooter.vue"],"names":[],"mappings":"AAiEA;;;;;;;;;;;;;;;;GAgBG;wBACkB,OAAO,YAAY;AAAxC,wBAAyC;AAGzC,QAAA,MAAM,YAAY;IAEhB,8CAA8C;gBAClC,OAAO;IACnB,0CAA0C;oBAC1B,OAAO;IACvB,qCAAqC;eAC1B,OAAO;EAmEhB,CAAC;AACL,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -22,7 +22,9 @@ import type { ScalarSidebarGroupSlots } from './types';
|
|
|
22
22
|
* controlled by passing the `controlled` prop and using binding the :open prop.
|
|
23
23
|
*
|
|
24
24
|
*/
|
|
25
|
-
declare const _default:
|
|
25
|
+
declare const _default: typeof __VLS_export;
|
|
26
|
+
export default _default;
|
|
27
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<import("./types").ScalarSidebarItemProps & {
|
|
26
28
|
controlled?: boolean;
|
|
27
29
|
discrete?: boolean;
|
|
28
30
|
} & {
|
|
@@ -42,7 +44,6 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<import("./
|
|
|
42
44
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
43
45
|
onToggle?: ((event: MouseEvent) => any) | undefined;
|
|
44
46
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ScalarSidebarGroupSlots>;
|
|
45
|
-
export default _default;
|
|
46
47
|
type __VLS_WithSlots<T, S> = T & {
|
|
47
48
|
new (): {
|
|
48
49
|
$slots: S;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScalarSidebarGroup.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarSidebar/ScalarSidebarGroup.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ScalarSidebarGroup.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarSidebar/ScalarSidebarGroup.vue"],"names":[],"mappings":"AAiLA,OAAO,KAAK,EAA2B,uBAAuB,EAAE,MAAM,SAAS,CAAA;AAI/E;;;;;;;;;;;;;;;;;;;;;;GAsBG;wBACkB,OAAO,YAAY;AAAxC,wBAAyC;AAGzC,QAAA,MAAM,YAAY;;;;WAuDT,OAAO;;;;;;;;;;WAAP,OAAO;;;;;4GAyNZ,CAAC;AACL,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useBindCx as
|
|
3
|
-
import
|
|
1
|
+
import { defineComponent as h, mergeModels as u, useModel as y, createBlock as k, openBlock as n, resolveDynamicComponent as $, normalizeProps as x, guardReactiveProps as B, unref as s, withCtx as a, createElementVNode as C, createElementBlock as c, createCommentVNode as v, renderSlot as l, createVNode as i, createSlots as S, normalizeClass as N, createTextVNode as V, toDisplayString as z } from "vue";
|
|
2
|
+
import { useBindCx as M } from "@scalar/use-hooks/useBindCx";
|
|
3
|
+
import D from "./ScalarSidebarButton.vue.js";
|
|
4
4
|
import m from "./ScalarSidebarGroupToggle.vue.js";
|
|
5
|
-
import
|
|
6
|
-
import { useSidebarGroups as
|
|
7
|
-
const
|
|
5
|
+
import E from "./ScalarSidebarIndent.vue.js";
|
|
6
|
+
import { useSidebarGroups as G } from "./useSidebarGroups.js";
|
|
7
|
+
const O = { class: "group/group-button relative flex flex-col leading-5" }, P = {
|
|
8
8
|
key: 0,
|
|
9
9
|
class: "size-4"
|
|
10
|
-
},
|
|
10
|
+
}, T = ["aria-expanded"], j = {
|
|
11
11
|
key: 0,
|
|
12
12
|
class: "group/items flex flex-col gap-px"
|
|
13
|
-
},
|
|
14
|
-
...
|
|
13
|
+
}, w = {}, K = /* @__PURE__ */ h({
|
|
14
|
+
...w,
|
|
15
15
|
inheritAttrs: !1,
|
|
16
16
|
__name: "ScalarSidebarGroup",
|
|
17
17
|
props: /* @__PURE__ */ u({
|
|
@@ -28,90 +28,87 @@ const P = { class: "group/group-button relative flex flex-col leading-5" }, T =
|
|
|
28
28
|
openModifiers: {}
|
|
29
29
|
}),
|
|
30
30
|
emits: /* @__PURE__ */ u(["click", "toggle"], ["update:open"]),
|
|
31
|
-
setup(
|
|
32
|
-
const r =
|
|
33
|
-
r("click",
|
|
34
|
-
},
|
|
35
|
-
r("toggle",
|
|
31
|
+
setup(o, { emit: p }) {
|
|
32
|
+
const r = p, e = y(o, "open"), { level: d } = G({ increment: !0 }), { cx: f } = M(), b = (t) => {
|
|
33
|
+
r("click", t), !o.controlled && !o.discrete && (e.value = !e.value);
|
|
34
|
+
}, g = (t) => {
|
|
35
|
+
r("toggle", t), !o.controlled && o.discrete && (e.value = !e.value);
|
|
36
36
|
};
|
|
37
|
-
return (
|
|
37
|
+
return (t, A) => (n(), k($(o.is), x(B(s(f)("group/item flex flex-col gap-px"))), {
|
|
38
38
|
default: a(() => [
|
|
39
|
-
C("div",
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
level:
|
|
39
|
+
C("div", O, [
|
|
40
|
+
l(t.$slots, "before", { open: e.value }),
|
|
41
|
+
l(t.$slots, "button", {
|
|
42
|
+
level: s(d),
|
|
43
43
|
open: e.value
|
|
44
44
|
}, () => [
|
|
45
|
-
|
|
46
|
-
key: 0,
|
|
47
|
-
type: "button",
|
|
48
|
-
"aria-expanded": e.value,
|
|
49
|
-
class: z([
|
|
50
|
-
"absolute top-[1lh] -translate-y-1/2 p-0.75 rounded left-[calc(4px+var(--scalar-sidebar-indent)*var(--scalar-sidebar-level))]",
|
|
51
|
-
t.selected ? "text-sidebar-c-1 hover:bg-sidebar-b-1 hover:text-sidebar-c-1" : "text-c-3 hover:bg-sidebar-b-hover hover:text-sidebar-c-hover"
|
|
52
|
-
]),
|
|
53
|
-
style: S({ "--scalar-sidebar-level": n(i) }),
|
|
54
|
-
onClick: y
|
|
55
|
-
}, [
|
|
56
|
-
o(l.$slots, "icon", { open: e.value }, () => [
|
|
57
|
-
d(m, {
|
|
58
|
-
icon: t.icon,
|
|
59
|
-
open: e.value
|
|
60
|
-
}, {
|
|
61
|
-
label: a(() => [
|
|
62
|
-
N(V(e.value ? "Close" : "Open") + " ", 1),
|
|
63
|
-
o(l.$slots, "default", { open: e.value })
|
|
64
|
-
]),
|
|
65
|
-
_: 3
|
|
66
|
-
}, 8, ["icon", "open"])
|
|
67
|
-
])
|
|
68
|
-
], 14, T)) : v("", !0),
|
|
69
|
-
d(E, {
|
|
45
|
+
i(D, {
|
|
70
46
|
is: "button",
|
|
71
|
-
active:
|
|
47
|
+
active: o.active,
|
|
72
48
|
"aria-expanded": e.value,
|
|
73
|
-
disabled:
|
|
74
|
-
|
|
75
|
-
|
|
49
|
+
disabled: o.disabled,
|
|
50
|
+
icon: o.icon,
|
|
51
|
+
indent: s(d),
|
|
52
|
+
selected: o.selected,
|
|
76
53
|
onClick: b
|
|
77
|
-
},
|
|
54
|
+
}, S({
|
|
78
55
|
indent: a(() => [
|
|
79
|
-
|
|
56
|
+
i(E, {
|
|
80
57
|
class: "mr-0 -my-2",
|
|
81
|
-
indent:
|
|
82
|
-
selected:
|
|
58
|
+
indent: s(d),
|
|
59
|
+
selected: o.selected
|
|
83
60
|
}, null, 8, ["indent", "selected"])
|
|
84
61
|
]),
|
|
85
|
-
|
|
86
|
-
t
|
|
62
|
+
aside: a(() => [
|
|
63
|
+
l(t.$slots, "aside", { open: e.value }),
|
|
64
|
+
o.discrete ? (n(), c("div", P)) : l(t.$slots, "toggle", {
|
|
87
65
|
key: 1,
|
|
88
66
|
open: e.value
|
|
89
67
|
}, () => [
|
|
90
|
-
|
|
91
|
-
class: "text-c-
|
|
92
|
-
icon: t.icon,
|
|
68
|
+
i(m, {
|
|
69
|
+
class: "text-sidebar-c-2",
|
|
93
70
|
open: e.value
|
|
94
|
-
}, null, 8, ["
|
|
71
|
+
}, null, 8, ["open"])
|
|
95
72
|
])
|
|
96
73
|
]),
|
|
97
74
|
default: a(() => [
|
|
98
|
-
|
|
75
|
+
l(t.$slots, "default", { open: e.value })
|
|
99
76
|
]),
|
|
100
77
|
_: 2
|
|
101
78
|
}, [
|
|
102
|
-
|
|
103
|
-
name: "
|
|
79
|
+
t.$slots.icon ? {
|
|
80
|
+
name: "icon",
|
|
104
81
|
fn: a(() => [
|
|
105
|
-
|
|
82
|
+
l(t.$slots, "icon", { open: e.value })
|
|
106
83
|
]),
|
|
107
84
|
key: "0"
|
|
108
85
|
} : void 0
|
|
109
|
-
]), 1032, ["active", "aria-expanded", "disabled", "indent", "selected"])
|
|
86
|
+
]), 1032, ["active", "aria-expanded", "disabled", "icon", "indent", "selected"]),
|
|
87
|
+
o.discrete ? (n(), c("button", {
|
|
88
|
+
key: 0,
|
|
89
|
+
"aria-expanded": e.value,
|
|
90
|
+
class: N([
|
|
91
|
+
"absolute top-[1lh] -translate-y-1/2 p-0.75 rounded right-1.25 text-sidebar-c-2",
|
|
92
|
+
o.selected ? "hover:bg-sidebar-b-1 hover:text-sidebar-c-1" : "hover:bg-sidebar-b-hover hover:text-sidebar-c-hover"
|
|
93
|
+
]),
|
|
94
|
+
type: "button",
|
|
95
|
+
onClick: g
|
|
96
|
+
}, [
|
|
97
|
+
l(t.$slots, "toggle", { open: e.value }, () => [
|
|
98
|
+
i(m, { open: e.value }, {
|
|
99
|
+
label: a(() => [
|
|
100
|
+
V(z(e.value ? "Close" : "Open") + " ", 1),
|
|
101
|
+
l(t.$slots, "default", { open: e.value })
|
|
102
|
+
]),
|
|
103
|
+
_: 3
|
|
104
|
+
}, 8, ["open"])
|
|
105
|
+
])
|
|
106
|
+
], 10, T)) : v("", !0)
|
|
110
107
|
]),
|
|
111
|
-
|
|
108
|
+
l(t.$slots, "after", { open: e.value })
|
|
112
109
|
]),
|
|
113
|
-
e.value ? (
|
|
114
|
-
|
|
110
|
+
e.value ? (n(), c("ul", j, [
|
|
111
|
+
l(t.$slots, "items", { open: e.value })
|
|
115
112
|
])) : v("", !0)
|
|
116
113
|
]),
|
|
117
114
|
_: 3
|
|
@@ -119,5 +116,5 @@ const P = { class: "group/group-button relative flex flex-col leading-5" }, T =
|
|
|
119
116
|
}
|
|
120
117
|
});
|
|
121
118
|
export {
|
|
122
|
-
|
|
119
|
+
K as default
|
|
123
120
|
};
|
|
@@ -9,7 +9,9 @@ import { type Icon } from '../ScalarIcon';
|
|
|
9
9
|
* @example
|
|
10
10
|
* <ScalarSidebarGroupToggle :open="..." />
|
|
11
11
|
*/
|
|
12
|
-
declare const _default:
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
14
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
13
15
|
/** Override the element tag */
|
|
14
16
|
is?: Component | string;
|
|
15
17
|
/** Whether or not the toggle is open */
|
|
@@ -33,7 +35,6 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
33
35
|
open: boolean;
|
|
34
36
|
}): unknown;
|
|
35
37
|
}>;
|
|
36
|
-
export default _default;
|
|
37
38
|
type __VLS_WithSlots<T, S> = T & {
|
|
38
39
|
new (): {
|
|
39
40
|
$slots: S;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScalarSidebarGroupToggle.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarSidebar/ScalarSidebarGroupToggle.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ScalarSidebarGroupToggle.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarSidebar/ScalarSidebarGroupToggle.vue"],"names":[],"mappings":"AAsEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAE9D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AAEpC,OAAO,EAAE,KAAK,IAAI,EAA2B,MAAM,eAAe,CAAA;AAGlE;;;;;;;GAOG;wBACkB,OAAO,YAAY;AAAxC,wBAAyC;AAGzC,QAAA,MAAM,YAAY;IAEhB,+BAA+B;SAC1B,SAAS,GAAG,MAAM;IACvB,wCAAwC;WACjC,OAAO;IACd,yBAAyB;WAClB,IAAI,GAAG,mBAAmB;;IALjC,+BAA+B;SAC1B,SAAS,GAAG,MAAM;IACvB,wCAAwC;WACjC,OAAO;IACd,yBAAyB;WAClB,IAAI,GAAG,mBAAmB;;IAMjC,+BAA+B;oBACf;QAAE,IAAI,EAAE,OAAO,CAAA;KAAE,GAAG,OAAO;IAC3C,uCAAuC;kBACzB;QAAE,IAAI,EAAE,OAAO,CAAA;KAAE,GAAG,OAAO;EA6FvC,CAAC;AACL,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -5,7 +5,9 @@ import type { SidebarGroupLevel } from './useSidebarGroups.js';
|
|
|
5
5
|
* @example
|
|
6
6
|
* <ScalarSidebarIndent :indent="1" />
|
|
7
7
|
*/
|
|
8
|
-
declare const _default:
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
9
|
+
export default _default;
|
|
10
|
+
declare const __VLS_export: import("vue").DefineComponent<{
|
|
9
11
|
/** The number of indents to render @default 0 */
|
|
10
12
|
indent?: SidebarGroupLevel;
|
|
11
13
|
/** Whether the indent is selected @default false */
|
|
@@ -20,5 +22,4 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
20
22
|
/** Whether the indent hover is disabled @default false */
|
|
21
23
|
disabled?: boolean;
|
|
22
24
|
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
23
|
-
export default _default;
|
|
24
25
|
//# sourceMappingURL=ScalarSidebarIndent.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScalarSidebarIndent.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarSidebar/ScalarSidebarIndent.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ScalarSidebarIndent.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarSidebar/ScalarSidebarIndent.vue"],"names":[],"mappings":"AA0FA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AAG3D;;;;;GAKG;wBACkB,OAAO,YAAY;AAAxC,wBAAyC;AAGzC,QAAA,MAAM,YAAY;IAEhB,iDAAiD;aACxC,iBAAiB;IAC1B,oDAAoD;eACzC,OAAO;IAClB,0DAA0D;eAC/C,OAAO;;IALlB,iDAAiD;aACxC,iBAAiB;IAC1B,oDAAoD;eACzC,OAAO;IAClB,0DAA0D;eAC/C,OAAO;iGAuFhB,CAAC"}
|
|
@@ -25,8 +25,9 @@ import type { ScalarSidebarItemProps, ScalarSidebarItemSlots } from './types';
|
|
|
25
25
|
* </template>
|
|
26
26
|
* </ScalarSidebarItem>
|
|
27
27
|
*/
|
|
28
|
-
declare const _default:
|
|
28
|
+
declare const _default: typeof __VLS_export;
|
|
29
29
|
export default _default;
|
|
30
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<ScalarSidebarItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ScalarSidebarItemProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ScalarSidebarItemSlots>;
|
|
30
31
|
type __VLS_WithSlots<T, S> = T & {
|
|
31
32
|
new (): {
|
|
32
33
|
$slots: S;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScalarSidebarItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarSidebar/ScalarSidebarItem.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ScalarSidebarItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarSidebar/ScalarSidebarItem.vue"],"names":[],"mappings":"AAiFA,OAAO,KAAK,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAA;AAI7E;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;wBACkB,OAAO,YAAY;AAAxC,wBAAyC;AAGzC,QAAA,MAAM,YAAY,iWAyFd,CAAC;AACL,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -16,7 +16,7 @@ const B = {}, P = /* @__PURE__ */ a({
|
|
|
16
16
|
},
|
|
17
17
|
setup(s) {
|
|
18
18
|
const l = s, { level: i } = b(), { cx: r } = v();
|
|
19
|
-
return (e, k) => (f(), d("li", m(p(t(r)("group/item flex flex-col"))), [
|
|
19
|
+
return (e, k) => (f(), d("li", m(p(t(r)("group/item flex flex-col leading-5"))), [
|
|
20
20
|
o(e.$slots, "before"),
|
|
21
21
|
o(e.$slots, "button", { level: t(i) }, () => [
|
|
22
22
|
c(y, u(l, {
|
|
@@ -12,14 +12,15 @@ import type { Component } from 'vue';
|
|
|
12
12
|
* <ScalarSidebarItem>...</ScalarSidebarItem>
|
|
13
13
|
* </ScalarSidebarItems>
|
|
14
14
|
*/
|
|
15
|
-
declare const _default:
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
export default _default;
|
|
17
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
16
18
|
is?: Component | string;
|
|
17
19
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
18
20
|
is?: Component | string;
|
|
19
21
|
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
20
22
|
default?: (props: {}) => any;
|
|
21
23
|
}>;
|
|
22
|
-
export default _default;
|
|
23
24
|
type __VLS_WithSlots<T, S> = T & {
|
|
24
25
|
new (): {
|
|
25
26
|
$slots: S;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScalarSidebarItems.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarSidebar/ScalarSidebarItems.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ScalarSidebarItems.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarSidebar/ScalarSidebarItems.vue"],"names":[],"mappings":"AAwEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AAKpC;;;;;;;;;;;;GAYG;wBACkB,OAAO,YAAY;AAAxC,wBAAyC;AAGzC,QAAA,MAAM,YAAY;SAEX,SAAS,GAAG,MAAM;;SAAlB,SAAS,GAAG,MAAM;;cAwDX,CAAC,KAAK,IAAgB,KAAK,GAAG;EASxC,CAAC;AACL,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -14,7 +14,9 @@
|
|
|
14
14
|
* </template>
|
|
15
15
|
* </ScalarSidebarNestedItems>
|
|
16
16
|
*/
|
|
17
|
-
declare const _default:
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
18
|
+
export default _default;
|
|
19
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<import("./types").ScalarSidebarItemProps & {
|
|
18
20
|
controlled?: boolean;
|
|
19
21
|
discrete?: boolean;
|
|
20
22
|
} & {
|
|
@@ -49,7 +51,6 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<import("./
|
|
|
49
51
|
/** The list of sidebar subitems */
|
|
50
52
|
items?: () => unknown;
|
|
51
53
|
}>;
|
|
52
|
-
export default _default;
|
|
53
54
|
type __VLS_WithSlots<T, S> = T & {
|
|
54
55
|
new (): {
|
|
55
56
|
$slots: S;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScalarSidebarNestedItems.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarSidebar/ScalarSidebarNestedItems.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ScalarSidebarNestedItems.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarSidebar/ScalarSidebarNestedItems.vue"],"names":[],"mappings":"AAyLA;;;;;;;;;;;;;;;GAeG;wBACkB,OAAO,YAAY;AAAxC,wBAAyC;AAGzC,QAAA,MAAM,YAAY;;;;WA2FT,OAAO;;;;;;;;;;WAAP,OAAO;;;;;;IA1Ed,qCAAqC;cACzB,MAAM,OAAO;IACzB,iCAAiC;aACtB,MAAM,OAAO;IACxB,wBAAwB;WACf,MAAM,OAAO;IACtB,8BAA8B;YACpB,MAAM,OAAO;IACvB,+BAA+B;WACtB,MAAM,OAAO;IACtB,qCAAqC;mBACtB,MAAM,OAAO;IAC5B,mCAAmC;YACzB,MAAM,OAAO;EA0RrB,CAAC;AACL,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|