@bagelink/vue 1.15.621 → 1.15.627
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/AddToCalendar.vue.d.ts +1 -1
- package/dist/components/AddToCalendar.vue.d.ts.map +1 -1
- package/dist/components/AddressSearch.vue.d.ts +9 -9
- package/dist/components/AddressSearch.vue.d.ts.map +1 -1
- package/dist/components/Alert.vue.d.ts +1 -1
- package/dist/components/Alert.vue.d.ts.map +1 -1
- package/dist/components/Avatar.vue.d.ts +1 -1
- package/dist/components/Avatar.vue.d.ts.map +1 -1
- package/dist/components/Badge.vue.d.ts +1 -3
- package/dist/components/Badge.vue.d.ts.map +1 -1
- package/dist/components/Btn.vue.d.ts +1 -4
- package/dist/components/Btn.vue.d.ts.map +1 -1
- package/dist/components/Card.vue.d.ts +1 -1
- package/dist/components/Card.vue.d.ts.map +1 -1
- package/dist/components/DataPreview.vue.d.ts +1 -1
- package/dist/components/DataPreview.vue.d.ts.map +1 -1
- package/dist/components/Dropdown.vue.d.ts +1 -1
- package/dist/components/Dropdown.vue.d.ts.map +1 -1
- package/dist/components/EmptyState.vue.d.ts +1 -1
- package/dist/components/EmptyState.vue.d.ts.map +1 -1
- package/dist/components/Icon/Icon.vue.d.ts +1 -1
- package/dist/components/Icon/Icon.vue.d.ts.map +1 -1
- package/dist/components/ListItem.vue.d.ts +1 -1
- package/dist/components/ListItem.vue.d.ts.map +1 -1
- package/dist/components/Loading.vue.d.ts +1 -1
- package/dist/components/Loading.vue.d.ts.map +1 -1
- package/dist/components/Menu.vue.d.ts +1 -1
- package/dist/components/Menu.vue.d.ts.map +1 -1
- package/dist/components/NavBar.vue.d.ts +1 -1
- package/dist/components/NavBar.vue.d.ts.map +1 -1
- package/dist/components/Progress.vue.d.ts +1 -1
- package/dist/components/Progress.vue.d.ts.map +1 -1
- package/dist/components/Rating.vue.d.ts +1 -1
- package/dist/components/Rating.vue.d.ts.map +1 -1
- package/dist/components/Swiper.vue.d.ts.map +1 -1
- package/dist/components/calendar/CalendarPopover.vue.d.ts +12 -12
- package/dist/components/calendar/CalendarPopover.vue.d.ts.map +1 -1
- package/dist/components/dataTable/DataTable.vue.d.ts +1 -1
- package/dist/components/dataTable/DataTable.vue.d.ts.map +1 -1
- package/dist/components/dataTable/tableTypes.d.ts +1 -1
- package/dist/components/dataTable/tableTypes.d.ts.map +1 -1
- package/dist/components/dataTable/useTableData.d.ts +1 -1
- package/dist/components/dataTable/useTableData.d.ts.map +1 -1
- package/dist/components/form/inputs/EmailInput.vue.d.ts +1 -1
- package/dist/components/form/inputs/EmailInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/IconPickerInput.vue.d.ts +9 -9
- package/dist/components/form/inputs/IconPickerInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/NumberInput.vue.d.ts +1 -1
- package/dist/components/form/inputs/NumberInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/PasswordInput.vue.d.ts +1 -1
- package/dist/components/form/inputs/PasswordInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/RadioGroup.vue.d.ts +1 -1
- package/dist/components/form/inputs/RadioGroup.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/RichText/index.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/SelectBtn.vue.d.ts +1 -1
- package/dist/components/form/inputs/SelectBtn.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/SelectInput.vue.d.ts +7 -7
- package/dist/components/form/inputs/SelectInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/TextInput.vue.d.ts +1 -1
- package/dist/components/form/inputs/TextInput.vue.d.ts.map +1 -1
- package/dist/components/layout/AppNav.vue.d.ts +1 -1
- package/dist/components/layout/AppNav.vue.d.ts.map +1 -1
- package/dist/components/layout/AppSidebar.vue.d.ts +1 -1
- package/dist/components/layout/AppSidebar.vue.d.ts.map +1 -1
- package/dist/components/layout/BottomMenu.vue.d.ts +1 -1
- package/dist/components/layout/BottomMenu.vue.d.ts.map +1 -1
- package/dist/components/layout/SidebarMenu.vue.d.ts +1 -1
- package/dist/components/layout/SidebarMenu.vue.d.ts.map +1 -1
- package/dist/components/layout/SidebarNavItem.vue.d.ts +1 -1
- package/dist/components/layout/SidebarNavItem.vue.d.ts.map +1 -1
- package/dist/components/layout/Tabs.vue.d.ts +1 -1
- package/dist/components/layout/Tabs.vue.d.ts.map +1 -1
- package/dist/components/layout/TabsNav.vue.d.ts +1 -1
- package/dist/components/layout/TabsNav.vue.d.ts.map +1 -1
- package/dist/components/layout/Timeline.types.d.ts +1 -1
- package/dist/components/layout/Timeline.types.d.ts.map +1 -1
- package/dist/components/layout/TimelineItem.vue.d.ts +1 -1
- package/dist/components/layout/TimelineItem.vue.d.ts.map +1 -1
- package/dist/composables/index.d.ts +1 -1
- package/dist/composables/index.d.ts.map +1 -1
- package/dist/composables/useValidateFieldValue.d.ts +1 -1
- package/dist/composables/useValidateFieldValue.d.ts.map +1 -1
- package/dist/core.css +1 -1
- package/dist/index.cjs +13 -13
- package/dist/index.css +1 -1
- package/dist/index.mjs +56 -61
- package/dist/style.css +1 -1
- package/dist/types/BtnOptions.d.ts +0 -2
- package/dist/types/BtnOptions.d.ts.map +1 -1
- package/dist/types/TableSchema.d.ts +1 -1
- package/dist/types/TableSchema.d.ts.map +1 -1
- package/dist/utils/elementUtils.d.ts +1 -1
- package/dist/utils/elementUtils.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/AddToCalendar.vue +2 -2
- package/src/components/AddressSearch.vue +1 -1
- package/src/components/Alert.vue +2 -2
- package/src/components/Avatar.vue +2 -2
- package/src/components/Badge.vue +3 -5
- package/src/components/Btn.vue +6 -9
- package/src/components/Card.vue +2 -2
- package/src/components/DataPreview.vue +1 -1
- package/src/components/DragOver.vue +1 -1
- package/src/components/Dropdown.vue +2 -2
- package/src/components/EmptyState.vue +2 -2
- package/src/components/FilterQuery.vue +1 -1
- package/src/components/Icon/Icon.vue +2 -2
- package/src/components/Image.vue +1 -1
- package/src/components/JSONSchema.vue +1 -1
- package/src/components/JsonBuilder.vue +1 -1
- package/src/components/ListItem.vue +2 -2
- package/src/components/Loading.vue +1 -1
- package/src/components/MapEmbed/Index.vue +1 -1
- package/src/components/Menu.vue +2 -2
- package/src/components/NavBar.vue +2 -2
- package/src/components/Pagination.vue +2 -2
- package/src/components/Progress.vue +1 -1
- package/src/components/Rating.vue +2 -2
- package/src/components/Spreadsheet/Index.vue +1 -1
- package/src/components/Spreadsheet/SpreadsheetCell.vue +1 -1
- package/src/components/Spreadsheet/SpreadsheetTable.vue +1 -1
- package/src/components/Swiper.vue +1 -1
- package/src/components/Toast.vue +1 -1
- package/src/components/Zoomer.vue +1 -1
- package/src/components/calendar/CalendarPopover.vue +1 -1
- package/src/components/calendar/Index.vue +1 -1
- package/src/components/calendar/views/AgendaView.vue +1 -1
- package/src/components/calendar/views/DayView.vue +1 -1
- package/src/components/calendar/views/MonthView.vue +1 -1
- package/src/components/calendar/views/WeekView.vue +1 -1
- package/src/components/charts/ChartTooltip.vue +1 -1
- package/src/components/charts/Donut.vue +1 -1
- package/src/components/dataTable/DataTable.vue +2 -2
- package/src/components/dataTable/tableTypes.ts +1 -1
- package/src/components/dataTable/useTableData.ts +2 -2
- package/src/components/form/inputs/ArrayInput.vue +1 -1
- package/src/components/form/inputs/CheckInput.vue +1 -1
- package/src/components/form/inputs/CodeEditor/Index.vue +1 -1
- package/src/components/form/inputs/CodeEditor/useHighlight.ts +1 -1
- package/src/components/form/inputs/ColorInput.vue +1 -1
- package/src/components/form/inputs/DateInput.vue +1 -1
- package/src/components/form/inputs/DatePicker.vue +1 -1
- package/src/components/form/inputs/EmailInput.vue +2 -2
- package/src/components/form/inputs/IconPickerInput.vue +1 -1
- package/src/components/form/inputs/MarkdownEditor.vue +1 -1
- package/src/components/form/inputs/NumberInput.vue +2 -2
- package/src/components/form/inputs/PasswordInput.vue +2 -2
- package/src/components/form/inputs/RadioGroup.vue +2 -2
- package/src/components/form/inputs/RangeInput.vue +1 -1
- package/src/components/form/inputs/RichText/components/EditorToolbar.vue +1 -1
- package/src/components/form/inputs/RichText/components/TableGridSelector.vue +1 -1
- package/src/components/form/inputs/RichText/index.vue +1 -1
- package/src/components/form/inputs/SelectBtn.vue +2 -2
- package/src/components/form/inputs/SelectInput.vue +2 -2
- package/src/components/form/inputs/SignaturePad.vue +1 -1
- package/src/components/form/inputs/TableField.vue +1 -1
- package/src/components/form/inputs/TelInput.vue +2 -2
- package/src/components/form/inputs/TextInput.vue +2 -2
- package/src/components/form/inputs/ToggleInput.vue +1 -1
- package/src/components/form/inputs/Upload/UploadInput.vue +1 -1
- package/src/components/layout/AppContent.vue +1 -1
- package/src/components/layout/AppNav.vue +2 -2
- package/src/components/layout/AppSidebar.vue +2 -2
- package/src/components/layout/BottomMenu.vue +2 -2
- package/src/components/layout/SidebarMenu.vue +2 -2
- package/src/components/layout/SidebarNavItem.vue +2 -2
- package/src/components/layout/Tabs.vue +2 -2
- package/src/components/layout/TabsNav.vue +2 -2
- package/src/components/layout/Timeline.types.ts +1 -1
- package/src/components/layout/TimelineItem.vue +2 -2
- package/src/components/lightbox/Lightbox.vue +1 -1
- package/src/components/lightbox/LightboxImage.vue +1 -1
- package/src/components/lightbox/index.ts +1 -1
- package/src/composables/index.ts +2 -2
- package/src/composables/useImageSrc.ts +1 -1
- package/src/composables/useSchemaField.ts +1 -1
- package/src/composables/useValidateFieldValue.ts +1 -1
- package/src/dialog/Dialog.vue +1 -1
- package/src/dialog/DialogConfirm.vue +1 -1
- package/src/types/BtnOptions.ts +0 -2
- package/src/types/TableSchema.ts +1 -1
- package/src/utils/elementUtils.ts +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BtnOptions.d.ts","sourceRoot":"","sources":["../../src/types/BtnOptions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,GAAG,CAAA;AAE5C,MAAM,WAAW,UAAU;IAC1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A"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableSchema.d.ts","sourceRoot":"","sources":["../../src/types/TableSchema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"TableSchema.d.ts","sourceRoot":"","sources":["../../src/types/TableSchema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;AACxD,OAAO,KAAK,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,KAAK,CAAA;AAExD,MAAM,MAAM,eAAe,GAAG,KAAK,GAAG,MAAM,CAAA;AAC5C,MAAM,MAAM,UAAU,GAAG,GAAG,MAAM,IAAI,eAAe,EAAE,CAAA;AAEvD,MAAM,WAAW,gBAAgB,CAAC,CAAC,SAAS;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE;IAC1F,IAAI,EAAE,CAAC,EAAE,CAAA;IACT,MAAM,CAAC,EAAE,gBAAgB,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAA;IAC5C,OAAO,CAAC,EAAE,gBAAgB,CAAC,MAAM,EAAE,CAAC,CAAA;IACpC,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,GAAG;QAAE,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,CAAA;IACxC,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAA;IAC9B,iFAAiF;IACjF,SAAS,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAA;IAC7B,kEAAkE;IAClE,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,qDAAqD;IACrD,gBAAgB,CAAC,EAAE,MAAM,CAAA;CACzB;AAED,MAAM,WAAW,cAAc;IAC9B,MAAM,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,eAAe,KAAK,IAAI,CAAA;CAC3D;AAED,MAAM,WAAW,qBAAqB,CAAC,CAAC;IACvC,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,aAAa,EAAE;QAAE,KAAK,EAAE,MAAM,EAAE,CAAA;KAAE,CAAA;IAClC,QAAQ,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,IAAI,CAAA;CAC3B;AAED,MAAM,WAAW,0BAA0B,CAAC,CAAC;IAC5C,IAAI,EAAE,WAAW,CAAC,CAAC,EAAE,CAAC,CAAA;IACtB,UAAU,EAAE,MAAM,CAAA;IAClB,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAA;CAC9B;AAED,MAAM,WAAW,gBAAgB,CAAC,CAAC;IAClC,IAAI,EAAE,gBAAgB,CAAC,CAAC,EAAE,CAAC,CAAA;IAC3B,MAAM,CAAC,EAAE,gBAAgB,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAA;IAC5C,OAAO,CAAC,EAAE,gBAAgB,CAAC,MAAM,EAAE,CAAC,CAAA;IACpC,SAAS,EAAE,MAAM,CAAA;IACjB,aAAa,EAAE,eAAe,CAAA;IAC9B,aAAa,CAAC,EAAE,OAAO,CAAA;CACvB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ElementField, IconType, Option, Path } from '
|
|
1
|
+
import { ElementField, IconType, Option, Path } from '../index';
|
|
2
2
|
export type DefaultPathsOptions = Record<string, any>;
|
|
3
3
|
export type PathsOptions = Record<string, any>;
|
|
4
4
|
export type BaseElementField<T, PO extends PathsOptions = DefaultPathsOptions> = ElementField<T, PO>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"elementUtils.d.ts","sourceRoot":"","sources":["../../src/utils/elementUtils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,MAA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E,MAAM,EACV,QAAQ,EAAE,gBAAgB,CAAC,CAAC,EAAE,GAAG,CAAC,EAAE,GAClC,gBAAgB,CAAC,CAAC,EAAE,GAAG,CAAC,GAAG,SAAS,CAStC;AAED,wBAAgB,MAAM,CAAC,CAAC,GAAG,GAAG,EAAE,CAAC,SAAS,IAAI,CAAC,CAAC,EAAE,EAAE,CAAC,GAAG,GAAG,EAAE,EAAE,SAAS,YAAY,GAAG,mBAAmB,EACzG,EAAE,CAAC,EAAE,CAAC,EACN,cAAc,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAC1D,OAAO,CAAC,EAAE,OAAO,CAAC,gBAAgB,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,GACxC,gBAAgB,CAAC,CAAC,EAAE,EAAE,CAAC,CAqBzB;AAED,eAAO,MAAM,GAAG,eAAS,CAAA;AAEzB,wBAAgB,WAAW;;;;;;;;;;;;EAc1B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import type { AddToCalendarEvent } from '
|
|
3
|
-
import { Btn, Dropdown, ListItem, useI18n } from '
|
|
2
|
+
import type { AddToCalendarEvent } from '../index'
|
|
3
|
+
import { Btn, Dropdown, ListItem, useI18n } from '../index'
|
|
4
4
|
import { computed } from 'vue'
|
|
5
5
|
|
|
6
6
|
const { t } = useI18n()
|
package/src/components/Alert.vue
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
defineOptions({ name: 'BglAlert' })
|
|
3
|
-
import type { IconType } from '
|
|
4
|
-
import { Icon } from '
|
|
3
|
+
import type { IconType } from '../index'
|
|
4
|
+
import { Icon } from '../index'
|
|
5
5
|
import { computed, ref, useSlots } from 'vue'
|
|
6
6
|
import Btn from './Btn.vue'
|
|
7
7
|
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
// style the inner rounded/clipped element (e.g. a custom background that must
|
|
5
5
|
// stay circular), use the `innerClass` prop — mirrors `triggerClass` on Dropdown.
|
|
6
6
|
defineOptions({ name: 'BglAvatar' })
|
|
7
|
-
import type { IconType, ThemeType } from '
|
|
8
|
-
import { initials, Icon, useDevice } from '
|
|
7
|
+
import type { IconType, ThemeType } from '../index'
|
|
8
|
+
import { initials, Icon, useDevice } from '../index'
|
|
9
9
|
import { computed } from 'vue'
|
|
10
10
|
import Image from './Image.vue'
|
|
11
11
|
|
package/src/components/Badge.vue
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
defineOptions({ name: 'BglBadge' })
|
|
3
|
-
import type { IconType, ThemeType, GradientProp, GradientDirProp } from '
|
|
3
|
+
import type { IconType, ThemeType, GradientProp, GradientDirProp } from '../index'
|
|
4
4
|
import type { SetupContext } from 'vue'
|
|
5
|
-
import { Btn, Icon, useGradientVariant } from '
|
|
5
|
+
import { Btn, Icon, useGradientVariant } from '../index'
|
|
6
6
|
import { computed, useSlots } from 'vue'
|
|
7
7
|
import '../styles/base-colors.css'
|
|
8
8
|
|
|
@@ -46,8 +46,6 @@ const props = defineProps<{
|
|
|
46
46
|
right-aligned in a column, or as the only pill in a cell) the margin pushes
|
|
47
47
|
it off the edge and it reads as misaligned. Set `flush` in that case. */
|
|
48
48
|
flush?: boolean
|
|
49
|
-
/** @deprecated Use `outline` */
|
|
50
|
-
border?: boolean
|
|
51
49
|
loading?: boolean
|
|
52
50
|
value?: string
|
|
53
51
|
round?: boolean
|
|
@@ -111,7 +109,7 @@ const computedVariant = computed(() => {
|
|
|
111
109
|
if (props.glass) { return 'glass' }
|
|
112
110
|
if (props.soft) { return 'soft' }
|
|
113
111
|
if (props.flat) { return 'flat' }
|
|
114
|
-
if (props.outline
|
|
112
|
+
if (props.outline) { return 'outline' }
|
|
115
113
|
return 'solid'
|
|
116
114
|
})
|
|
117
115
|
|
package/src/components/Btn.vue
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import type { IconType, ExtendedThemeType, TranslatableString, GradientProp, GradientDirProp } from '
|
|
2
|
+
import type { IconType, ExtendedThemeType, TranslatableString, GradientProp, GradientDirProp } from '../index'
|
|
3
3
|
import type { SetupContext } from 'vue'
|
|
4
|
-
import { Icon, Loading, useDialog, useI18n, resolveI18n, useGradientVariant, MOBILE_BREAKPOINT } from '
|
|
4
|
+
import { Icon, Loading, useDialog, useI18n, resolveI18n, useGradientVariant, MOBILE_BREAKPOINT } from '../index'
|
|
5
5
|
import { useSlots, ref, onMounted, onUnmounted, computed } from 'vue'
|
|
6
6
|
import { RouterLink } from 'vue-router'
|
|
7
7
|
defineOptions({ name: 'BglBtn' })
|
|
@@ -32,8 +32,6 @@ const props = withDefaults(
|
|
|
32
32
|
gradientDir?: GradientDirProp
|
|
33
33
|
/** Solid fill + a hairline border (keeps the background, unlike `outline`). */
|
|
34
34
|
frame?: boolean
|
|
35
|
-
/** @deprecated Use `outline` */
|
|
36
|
-
border?: boolean
|
|
37
35
|
thin?: boolean
|
|
38
36
|
/** Thin only on mobile screens (<= mobile breakpoint) */
|
|
39
37
|
thinMobile?: boolean
|
|
@@ -68,7 +66,6 @@ const props = withDefaults(
|
|
|
68
66
|
type: 'button',
|
|
69
67
|
role: 'button',
|
|
70
68
|
is: 'button',
|
|
71
|
-
border: false,
|
|
72
69
|
outline: false,
|
|
73
70
|
ripple: true,
|
|
74
71
|
fullWidth: false,
|
|
@@ -97,10 +94,10 @@ const computedVariant = computed(() => {
|
|
|
97
94
|
if (isGradient.value) { return 'gradient' }
|
|
98
95
|
if (props.frost) { return 'frost' }
|
|
99
96
|
if (props.soft) { return 'soft' }
|
|
100
|
-
// An explicit `outline
|
|
101
|
-
//
|
|
102
|
-
//
|
|
103
|
-
if (props.outline
|
|
97
|
+
// An explicit `outline` wins over `flat` — components like Dropdown default
|
|
98
|
+
// the trigger to `flat`, so `<Dropdown outline>` must still resolve to the
|
|
99
|
+
// outline variant rather than being swallowed by the inherited flat.
|
|
100
|
+
if (props.outline) { return 'outline' }
|
|
104
101
|
// `frame` is "solid fill + a border", so it also overrides an inherited
|
|
105
102
|
// `flat` (e.g. Dropdown's flat trigger) to restore the solid background.
|
|
106
103
|
if (props.frame) { return 'solid' }
|
package/src/components/Card.vue
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
defineOptions({ name: 'BglCard' })
|
|
3
|
-
import type { GradientDirProp, GradientProp } from '
|
|
3
|
+
import type { GradientDirProp, GradientProp } from '../index'
|
|
4
4
|
import { computed, useSlots } from 'vue'
|
|
5
5
|
import type { Slots } from 'vue'
|
|
6
|
-
import { useGradientVariant } from '
|
|
6
|
+
import { useGradientVariant } from '../index'
|
|
7
7
|
|
|
8
8
|
// Explicit type breaks a vue-tsc dts circular-inference (TS7022) where `slots`
|
|
9
9
|
// is referenced inside a computed's initializer.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script setup lang="ts" generic="T extends { [key: string]: any }, P extends Path<T>">
|
|
2
|
-
import type { Path, BaseBagelField } from '
|
|
2
|
+
import type { Path, BaseBagelField } from '../index'
|
|
3
3
|
import type { Slots } from 'vue'
|
|
4
4
|
import type { TableSchemaProps } from '../types/TableSchema'
|
|
5
5
|
import { computed, useSlots } from 'vue'
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<!-- prettier-ignore-start -->
|
|
2
2
|
<!-- eslint-disable -->
|
|
3
3
|
<script setup lang="ts">
|
|
4
|
-
import type { IconType, ThemeType } from '
|
|
5
|
-
import { Btn, useDevice, useEscapeKey } from '
|
|
4
|
+
import type { IconType, ThemeType } from '../index'
|
|
5
|
+
import { Btn, useDevice, useEscapeKey } from '../index'
|
|
6
6
|
import { autoPlacement, computePosition, flip, offset, shift } from '@floating-ui/dom'
|
|
7
7
|
import { computed, nextTick, onBeforeUnmount, onMounted, ref, useId, watch } from 'vue'
|
|
8
8
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
2
|
defineOptions({ name: 'BglEmptyState' })
|
|
3
|
-
import type { IconType } from '
|
|
4
|
-
import { Icon } from '
|
|
3
|
+
import type { IconType } from '../index'
|
|
4
|
+
import { Icon } from '../index'
|
|
5
5
|
import { useSlots } from 'vue'
|
|
6
6
|
import Btn from './Btn.vue'
|
|
7
7
|
|
|
@@ -7,7 +7,7 @@ export type { FilterField, QueryOption, OptionsSource }
|
|
|
7
7
|
<script setup lang="ts" generic="T extends Record<string, any>">
|
|
8
8
|
import type { ComparisonOperator, LogicalOperator, QueryConditions } from '../utils/queryFilter'
|
|
9
9
|
import { parseQuery } from '../utils/queryFilter'
|
|
10
|
-
import { Btn, Card, DateInput, Dropdown, Icon, SelectInput, TextInput, useI18n, useDebounceFn } from '
|
|
10
|
+
import { Btn, Card, DateInput, Dropdown, Icon, SelectInput, TextInput, useI18n, useDebounceFn } from '../index'
|
|
11
11
|
import { computed, getCurrentInstance, ref } from 'vue'
|
|
12
12
|
|
|
13
13
|
interface UICondition {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import type { IconType } from '
|
|
3
|
-
import { useDevice } from '
|
|
2
|
+
import type { IconType } from '../../index'
|
|
3
|
+
import { useDevice } from '../../index'
|
|
4
4
|
import { computed, ref, onMounted, watchEffect } from 'vue'
|
|
5
5
|
import { FONT_AWESOME_ICONS, MATERIAL_ICONS, FONT_AWESOME_BRANDS_ICONS } from './constants'
|
|
6
6
|
|
package/src/components/Image.vue
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
defineOptions({ name: 'BglImage', inheritAttrs: false })
|
|
3
|
-
import { Skeleton, normalizeDimension, Icon, useImageSrc } from '
|
|
3
|
+
import { Skeleton, normalizeDimension, Icon, useImageSrc } from '../index'
|
|
4
4
|
import { Comment, computed, ref, useSlots, watch, type StyleValue, type VNode } from 'vue'
|
|
5
5
|
|
|
6
6
|
interface ImageProps {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import { Btn, Card, CheckInput, NumberInput, SelectBtn, SelectInput, TextInput } from '
|
|
2
|
+
import { Btn, Card, CheckInput, NumberInput, SelectBtn, SelectInput, TextInput } from '../index'
|
|
3
3
|
import { computed, ref, watch } from 'vue'
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
|
-
import type { IconType, ThemeType } from '
|
|
3
|
-
import { Avatar, Icon } from '
|
|
2
|
+
import type { IconType, ThemeType } from '../index'
|
|
3
|
+
import { Avatar, Icon } from '../index'
|
|
4
4
|
import { computed, useAttrs, useSlots } from 'vue'
|
|
5
5
|
|
|
6
6
|
defineOptions({ inheritAttrs: false })
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import type { LatLngExpression, Map, Marker } from 'leaflet'
|
|
3
|
-
import { appendScript, awaitGlobal } from '
|
|
3
|
+
import { appendScript, awaitGlobal } from '../../index'
|
|
4
4
|
import { onMounted, onUnmounted, ref, watch } from 'vue'
|
|
5
5
|
import './leaflet.css'
|
|
6
6
|
|
package/src/components/Menu.vue
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import type { NavLink } from '
|
|
3
|
-
import { Btn, Icon, Dropdown } from '
|
|
2
|
+
import type { NavLink } from '../index'
|
|
3
|
+
import { Btn, Icon, Dropdown } from '../index'
|
|
4
4
|
import { resolveI18n } from '../i18n'
|
|
5
5
|
|
|
6
6
|
defineProps<{ items: NavLink[] }>()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
|
-
import type { IconType, NavLink } from '
|
|
3
|
-
import { Icon, MOBILE_BREAKPOINT } from '
|
|
2
|
+
import type { IconType, NavLink } from '../index'
|
|
3
|
+
import { Icon, MOBILE_BREAKPOINT } from '../index'
|
|
4
4
|
import { onMounted, ref } from 'vue'
|
|
5
5
|
import { resolveI18n } from '../i18n'
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import type { Option } from '
|
|
3
|
-
import { Btn, SelectInput, useI18n } from '
|
|
2
|
+
import type { Option } from '../index'
|
|
3
|
+
import { Btn, SelectInput, useI18n } from '../index'
|
|
4
4
|
import { computed, ref, watch, nextTick, onMounted, onBeforeUnmount } from 'vue'
|
|
5
5
|
import { getOptionValue } from '../utils/options'
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
|
-
import type { IconType } from '
|
|
3
|
-
import { Icon } from '
|
|
2
|
+
import type { IconType } from '../index'
|
|
3
|
+
import { Icon } from '../index'
|
|
4
4
|
|
|
5
5
|
const { rating, totalStars = 5, iconType = 'star', fillColor = '#fabf05', emptyColor = 'lightgray', size = 1.4 } = defineProps<{
|
|
6
6
|
rating: number | string
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
2
|
import type { SpreadsheetProps, CellPosition } from './types'
|
|
3
|
-
import { Btn, CheckInput, TextInput, ToggleInput, useLocalStore, ListItem, Dropdown, useI18n } from '
|
|
3
|
+
import { Btn, CheckInput, TextInput, ToggleInput, useLocalStore, ListItem, Dropdown, useI18n } from '../../index'
|
|
4
4
|
import { computed, ref, watch, nextTick } from 'vue'
|
|
5
5
|
import { useSpreadsheetClipboard } from './composables/useSpreadsheetClipboard'
|
|
6
6
|
import { useSpreadsheetColumns } from './composables/useSpreadsheetColumns'
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script setup lang="ts" generic="T = any">
|
|
2
2
|
import type { Swiper as SwiperType } from 'swiper'
|
|
3
3
|
import type { AutoplayOptions, CoverflowEffectOptions, PaginationOptions, SwiperOptions } from 'swiper/types'
|
|
4
|
-
import { Icon } from '
|
|
4
|
+
import { Icon } from '../index'
|
|
5
5
|
import { Autoplay, EffectCoverflow, EffectCube, EffectFade, EffectFlip, Navigation, Pagination, EffectCards } from 'swiper/modules'
|
|
6
6
|
import { Swiper, SwiperSlide } from 'swiper/vue'
|
|
7
7
|
import { computed, ref, watch } from 'vue'
|
package/src/components/Toast.vue
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import type { Component } from 'vue'
|
|
3
3
|
import type { AvailabilitySlot, CalendarEvent, CalendarView, CalendarViewState, WeekStart } from './CalendarTypes'
|
|
4
|
-
import { timeDelta, Btn, ListItem, Dropdown, TabsNav, formatDate, useI18n } from '
|
|
4
|
+
import { timeDelta, Btn, ListItem, Dropdown, TabsNav, formatDate, useI18n } from '../../index'
|
|
5
5
|
import { ref, computed, onMounted } from 'vue'
|
|
6
6
|
import CalendarPopover from './CalendarPopover.vue'
|
|
7
7
|
import AgendaView from './views/AgendaView.vue'
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import type { SetupContext } from 'vue'
|
|
3
3
|
import type { CalendarEvent } from '../CalendarTypes'
|
|
4
|
-
import { formatDate, getI18n, useI18n, Icon, Card } from '
|
|
4
|
+
import { formatDate, getI18n, useI18n, Icon, Card } from '../../../index'
|
|
5
5
|
import { ref, computed, watch, watchEffect, nextTick, onMounted, onUnmounted, useSlots } from 'vue'
|
|
6
6
|
|
|
7
7
|
interface AgendaViewEvent extends CalendarEvent {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import type { SetupContext } from 'vue'
|
|
3
3
|
import type { CalendarEvent } from '../CalendarTypes'
|
|
4
|
-
import { formatDate } from '
|
|
4
|
+
import { formatDate } from '../../../index'
|
|
5
5
|
import { ref, computed, onMounted, onUnmounted, useSlots } from 'vue'
|
|
6
6
|
|
|
7
7
|
const props = defineProps<{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import type { SetupContext } from 'vue'
|
|
3
3
|
import type { CalendarEvent } from '../CalendarTypes'
|
|
4
|
-
import { formatDate, getI18n, useDevice } from '
|
|
4
|
+
import { formatDate, getI18n, useDevice } from '../../../index'
|
|
5
5
|
import { computed, useSlots } from 'vue'
|
|
6
6
|
|
|
7
7
|
interface MonthViewEvent {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import type { SetupContext, ComponentPublicInstance } from 'vue'
|
|
3
3
|
import type { AvailabilitySlot, CalendarEvent, WeekStart } from '../CalendarTypes'
|
|
4
|
-
import { formatDate } from '
|
|
4
|
+
import { formatDate } from '../../../index'
|
|
5
5
|
import { ref, computed, onMounted, onUnmounted, useSlots, nextTick, watch } from 'vue'
|
|
6
6
|
|
|
7
7
|
interface WeekViewEvent extends CalendarEvent {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* `{ left }` only; no vertical flip.
|
|
15
15
|
*/
|
|
16
16
|
import { computed, nextTick, onMounted, onUpdated, ref, watch } from 'vue'
|
|
17
|
-
import { useI18n } from '
|
|
17
|
+
import { useI18n } from '../../index'
|
|
18
18
|
|
|
19
19
|
export interface TipRow { name: string; color?: string; value: string }
|
|
20
20
|
export interface TipStat { label: string; value: string }
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* <Donut :data="segments" :legend-value="false" /> // legend shows only %
|
|
11
11
|
*/
|
|
12
12
|
import { computed, ref } from 'vue'
|
|
13
|
-
import { useI18n } from '
|
|
13
|
+
import { useI18n } from '../../index'
|
|
14
14
|
import type { ThemeType } from '../../types'
|
|
15
15
|
import ChartTooltip from './ChartTooltip.vue'
|
|
16
16
|
import { slicePath } from './core/arc'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script setup lang="ts" generic="T extends { [key: string]: any }, P extends Path<T>">
|
|
2
|
-
import type { BaseBagelField, Field, Path } from '
|
|
2
|
+
import type { BaseBagelField, Field, Path } from '../../index'
|
|
3
3
|
import type { SetupContext } from 'vue'
|
|
4
4
|
import type { TableSchemaProps } from '../../types/TableSchema'
|
|
5
5
|
import type { DraggableEvent } from '../draggable/useDraggable'
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
Icon,
|
|
9
9
|
keyToLabel,
|
|
10
10
|
Loading
|
|
11
|
-
} from '
|
|
11
|
+
} from '../../index'
|
|
12
12
|
import { useSlots, watch, computed, toValue, ref, nextTick, onMounted } from 'vue'
|
|
13
13
|
import { useSchemaField } from '../../composables/useSchemaField'
|
|
14
14
|
import { useDraggable } from '../draggable/useDraggable'
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { BglFormSchemaT, Field, SchemaField } from '
|
|
1
|
+
import type { BglFormSchemaT, Field, SchemaField } from '../../index'
|
|
2
2
|
import type { DefaultPathsOptions } from 'type-fest/source/paths'
|
|
3
3
|
import type { MaybeRefOrGetter } from 'vue'
|
|
4
4
|
import type { SortDirectionsT } from '../../types/TableSchema'
|
|
5
|
-
import { useBglSchema, isDate, keyToLabel, formatDate } from '
|
|
5
|
+
import { useBglSchema, isDate, keyToLabel, formatDate } from '../../index'
|
|
6
6
|
import { computed, ref, watch, toValue } from 'vue'
|
|
7
7
|
|
|
8
8
|
const NON_DIGIT_REGEX = /[^\d.-]/g
|
|
@@ -4,7 +4,7 @@ import type { Ref, WritableComputedRef } from 'vue'
|
|
|
4
4
|
import type { DraggableEvent } from '../../draggable/useDraggable'
|
|
5
5
|
import { reorderItems } from '../../draggable/reorder'
|
|
6
6
|
|
|
7
|
-
import { Btn, resolveI18n, useI18n, pathKeyToURL, richTextToPlainText } from '
|
|
7
|
+
import { Btn, resolveI18n, useI18n, pathKeyToURL, richTextToPlainText } from '../../../index'
|
|
8
8
|
import { computed, ref, watch, useSlots, type VNode } from 'vue'
|
|
9
9
|
import Draggable from '../../draggable/Draggable.vue'
|
|
10
10
|
import type { BagelInputShellProps } from './bagelInputShell'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script setup lang="ts" generic="T extends boolean | undefined | any[]">
|
|
2
|
-
import { resolveI18n } from '
|
|
2
|
+
import { resolveI18n } from '../../../index'
|
|
3
3
|
import { computed, onMounted } from 'vue'
|
|
4
4
|
import type { BagelInputShellProps } from './bagelInputShell'
|
|
5
5
|
import { useBagelInputShell } from './bagelInputShell'
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import type { PropType } from 'vue'
|
|
3
3
|
import type { Language, HighlightTheme } from './CodeTypes'
|
|
4
|
-
import { useDevice } from '
|
|
4
|
+
import { useDevice } from '../../../../index'
|
|
5
5
|
import { onMounted, ref, computed, watch } from 'vue'
|
|
6
6
|
import { useBagelInputShell } from '../bagelInputShell'
|
|
7
7
|
import { useHighlight } from './useHighlight'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { HighlightJS, HighlightTheme } from './CodeTypes'
|
|
2
|
-
import { appendStyle, appendScript, awaitGlobal } from '
|
|
2
|
+
import { appendStyle, appendScript, awaitGlobal } from '../../../../index'
|
|
3
3
|
import { ref } from 'vue'
|
|
4
4
|
|
|
5
5
|
// Extend the Window interface
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import { Btn, useI18n, resolveI18n } from '
|
|
2
|
+
import { Btn, useI18n, resolveI18n } from '../../../index'
|
|
3
3
|
import { computed, ref, watch } from 'vue'
|
|
4
4
|
import type { BagelInputShellProps } from './bagelInputShell'
|
|
5
5
|
import { useBagelInputShell } from './bagelInputShell'
|