@onereach/ui-components 8.18.3-beta.3946.0 → 8.18.3
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/bundled/v2/components/OrModal/OrModal.js +1 -1
- package/dist/bundled/v2/components/OrRichTextEditorV3/OrRichTextEditor.js +1 -1
- package/dist/bundled/v2/components/OrSelectV3/OrSelect.vue.d.ts +7 -7
- package/dist/bundled/v2/components/OrTabsV3/OrTabs.js +20 -2
- package/dist/bundled/v2/components/OrTabsV3/OrTabs.vue.d.ts +13 -0
- package/dist/bundled/v2/{useFocusTrap-2df16342.js → useFocusTrap-2354d4f3.js} +120 -307
- package/dist/bundled/v3/components/OrCode/OrCode.js +1 -1
- package/dist/bundled/v3/components/OrCode/constants.js +1 -1
- package/dist/bundled/v3/components/OrCode/index.js +1 -1
- package/dist/bundled/v3/components/OrCode/lang.js +1 -1
- package/dist/bundled/v3/components/OrCode/libs.js +1 -1
- package/dist/bundled/v3/components/OrCode/theme.js +1 -1
- package/dist/bundled/v3/components/{OrCode-f7708644.js → OrCode-46b1b8aa.js} +1 -1
- package/dist/bundled/v3/components/OrCodeV3/OrCode.js +1 -1
- package/dist/bundled/v3/components/OrCodeV3/index.js +2 -2
- package/dist/bundled/v3/components/OrCodeV3/libs.js +1 -1
- package/dist/bundled/v3/components/OrCodeV3/props.js +1 -1
- package/dist/bundled/v3/components/OrCodeV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrCodeV3-6dbd233d.js → OrCodeV3-d8e1ec2f.js} +7 -7
- package/dist/bundled/v3/components/OrConfirm/OrConfirm.js +1 -1
- package/dist/bundled/v3/components/OrConfirm/index.js +1 -1
- package/dist/bundled/v3/components/{OrConfirm-66387c1f.js → OrConfirm-f95a3ce6.js} +1 -1
- package/dist/bundled/v3/components/OrConfirmV3/OrConfirm.js +1 -1
- package/dist/bundled/v3/components/OrConfirmV3/index.js +1 -1
- package/dist/bundled/v3/components/OrConfirmV3/props.js +1 -1
- package/dist/bundled/v3/components/OrConfirmV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrConfirmV3-0a0d83f0.js → OrConfirmV3-26accd85.js} +1 -1
- package/dist/bundled/v3/components/OrModal/OrModal.js +1 -1
- package/dist/bundled/v3/components/OrModal/constants.js +1 -1
- package/dist/bundled/v3/components/OrModal/index.js +1 -1
- package/dist/bundled/v3/components/{OrModal-70fa6d2d.js → OrModal-3aad4d27.js} +120 -307
- package/dist/bundled/v3/components/OrRichTextEditorV3/OrRichTextEditor.js +1 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/index.js +1 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/props.js +1 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/styles.js +1 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/codemirrorNode.js +2 -2
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/codemirrorView.js +2 -2
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/index.js +1 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/theme.js +2 -2
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/markdown.js +1 -1
- package/dist/bundled/v3/components/{OrRichTextEditorV3-51a86e18.js → OrRichTextEditorV3-243f2ed9.js} +2 -2
- package/dist/bundled/v3/components/OrSelectV3/OrSelect.vue.d.ts +4 -4
- package/dist/bundled/v3/components/OrTabsV3/OrTabs.js +1 -1
- package/dist/bundled/v3/components/OrTabsV3/OrTabs.vue.d.ts +10 -0
- package/dist/bundled/v3/components/OrTabsV3/index.js +1 -1
- package/dist/bundled/v3/components/OrTabsV3/props.js +1 -1
- package/dist/bundled/v3/components/OrTabsV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrTabsV3-b1db1d5a.js → OrTabsV3-d1028c81.js} +15 -3
- package/dist/bundled/v3/components/index.js +7 -7
- package/dist/bundled/v3/index.js +7 -7
- package/dist/esm/v2/{OrTabs-4935a772.js → OrTabs-b8df5b2e.js} +20 -2
- package/dist/esm/v2/components/index.js +1 -1
- package/dist/esm/v2/components/or-select-v3/OrSelect.vue.d.ts +7 -7
- package/dist/esm/v2/components/or-tabs-v3/OrTabs.vue.d.ts +13 -0
- package/dist/esm/v2/components/or-tabs-v3/index.js +1 -1
- package/dist/esm/v2/index.js +1 -1
- package/dist/esm/v3/{OrTabs-c1a7955f.js → OrTabs-cd217d74.js} +15 -3
- package/dist/esm/v3/components/index.js +1 -1
- package/dist/esm/v3/components/or-select-v3/OrSelect.vue.d.ts +4 -4
- package/dist/esm/v3/components/or-tabs-v3/OrTabs.vue.d.ts +10 -0
- package/dist/esm/v3/components/or-tabs-v3/index.js +1 -1
- package/dist/esm/v3/index.js +1 -1
- package/package.json +6 -6
- package/src/components/or-select-v3/OrSelect.vue +3 -3
- package/src/components/or-tabs-v3/OrTabs.vue +19 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { C as default } from '../../../OrRichTextEditorV3-
|
|
2
|
-
import '../../../OrCode-
|
|
1
|
+
export { C as default } from '../../../OrRichTextEditorV3-243f2ed9.js';
|
|
2
|
+
import '../../../OrCode-46b1b8aa.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { C as CodeMirrorView } from '../../../OrRichTextEditorV3-
|
|
1
|
+
export { C as CodeMirrorView } from '../../../OrRichTextEditorV3-243f2ed9.js';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import '../../../OrCode-
|
|
1
|
+
import '../../../OrCode-46b1b8aa.js';
|
|
2
2
|
import '../../../../hooks/useTheme.js';
|
|
3
|
-
export { g as color, t as default, h as orCodeHighlightStyle, o as orCodeTheme } from '../../../OrRichTextEditorV3-
|
|
3
|
+
export { g as color, t as default, h as orCodeHighlightStyle, o as orCodeTheme } from '../../../OrRichTextEditorV3-243f2ed9.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { d as deserialize, a as serialize } from '../../OrRichTextEditorV3-
|
|
1
|
+
export { d as deserialize, a as serialize } from '../../OrRichTextEditorV3-243f2ed9.js';
|
package/dist/bundled/v3/components/{OrRichTextEditorV3-51a86e18.js → OrRichTextEditorV3-243f2ed9.js}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createVNode, withCtx, createTextVNode, toDisplayString, createElementVNode, Fragment as Fragment$1, renderList, createBlock, createCommentVNode, withDirectives, vShow, vModelText, renderSlot } from 'vue';
|
|
2
2
|
import { s as styleInject } from './OrAvatar-28d247a6.js';
|
|
3
3
|
import { defineComponent, ref, onMounted, onBeforeUnmount, computed, watch, nextTick } from 'vue-demi';
|
|
4
|
-
import { u as useFocusTrap } from './OrModal-
|
|
4
|
+
import { u as useFocusTrap } from './OrModal-3aad4d27.js';
|
|
5
5
|
import { k as useResizeObserver, l as useDebounceFn, o as onClickOutside } from './OrBottomSheetV3-66815f6f.js';
|
|
6
6
|
import { j as commonjsGlobal, k as getDefaultExportFromCjs } from './OrDateTimePicker-118c12fd.js';
|
|
7
|
-
import { f as keyName, g as base, a as EditorView$1, H as HighlightStyle, t as tags, s as syntaxHighlighting, E as EditorState$1, m as highlightActiveLine, n as highlightActiveLineGutter, o as lineNumbers, k as keymap$1, p as minimalSetup, j as javascript } from './OrCode-
|
|
7
|
+
import { f as keyName, g as base, a as EditorView$1, H as HighlightStyle, t as tags, s as syntaxHighlighting, E as EditorState$1, m as highlightActiveLine, n as highlightActiveLineGutter, o as lineNumbers, k as keymap$1, p as minimalSetup, j as javascript } from './OrCode-46b1b8aa.js';
|
|
8
8
|
import { s as script$1 } from './OrIconButtonV3-4e12fe82.js';
|
|
9
9
|
import { s as script$2 } from './OrLabelV3-44afce27.js';
|
|
10
10
|
import { s as script$3 } from './OrMenuItemV3-7b557536.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PropType } from 'vue-demi';
|
|
2
2
|
import { TagsOverflow } from '../or-tags-v3';
|
|
3
3
|
import { SelectSize } from './props';
|
|
4
|
-
import {
|
|
4
|
+
import { SelectGroupByFunction, SelectOption, SelectSearchFunction, SelectValue } from './types';
|
|
5
5
|
declare const _default: import("vue-demi").DefineComponent<{
|
|
6
6
|
options: {
|
|
7
7
|
type: PropType<SelectOption[]>;
|
|
@@ -99,7 +99,7 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
99
99
|
showClear: import("vue-demi").ComputedRef<boolean>;
|
|
100
100
|
searchText: import("vue-demi").Ref<string>;
|
|
101
101
|
internalSearchOptions: import("vue-demi").Ref<{
|
|
102
|
-
value: RawValue;
|
|
102
|
+
value: import("./types").RawValue;
|
|
103
103
|
label: string;
|
|
104
104
|
disabled?: boolean | undefined;
|
|
105
105
|
}[]>;
|
|
@@ -108,8 +108,8 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
108
108
|
toggle: () => void;
|
|
109
109
|
close: () => void;
|
|
110
110
|
open: () => void;
|
|
111
|
-
deselect: (option:
|
|
112
|
-
toggleOption: (option:
|
|
111
|
+
deselect: (option: string) => void;
|
|
112
|
+
toggleOption: (option: string) => void;
|
|
113
113
|
clearSearchControl: () => void;
|
|
114
114
|
isDesktop: import("vue-demi").ComputedRef<boolean>;
|
|
115
115
|
isMobile: import("vue-demi").ComputedRef<boolean>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { s as default } from '../OrTabsV3-
|
|
1
|
+
export { s as default } from '../OrTabsV3-d1028c81.js';
|
|
@@ -14,6 +14,10 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
14
14
|
type: PropType<"default" | "fitted">;
|
|
15
15
|
default: () => TabsVariant;
|
|
16
16
|
};
|
|
17
|
+
keepAlive: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
default: boolean;
|
|
20
|
+
};
|
|
17
21
|
}, {
|
|
18
22
|
root: import("vue-demi").Ref<HTMLElement | undefined>;
|
|
19
23
|
overflowTab: import("vue-demi").Ref<any>;
|
|
@@ -40,6 +44,7 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
40
44
|
proxyModelValue: import("../../hooks").UseProxyModelValueReturn<string | number | undefined>;
|
|
41
45
|
activeTab: import("vue-demi").ComputedRef<TabsItem>;
|
|
42
46
|
selectTab: (tab: TabsItem) => void;
|
|
47
|
+
isTabRendered: (value: string | number) => boolean;
|
|
43
48
|
}, unknown, {}, {}, import("vue-demi").ComponentOptionsMixin, import("vue-demi").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue-demi").VNodeProps & import("vue-demi").AllowedComponentProps & import("vue-demi").ComponentCustomProps, Readonly<import("vue-demi").ExtractPropTypes<{
|
|
44
49
|
modelValue: {
|
|
45
50
|
type: (StringConstructor | NumberConstructor)[];
|
|
@@ -53,10 +58,15 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
53
58
|
type: PropType<"default" | "fitted">;
|
|
54
59
|
default: () => TabsVariant;
|
|
55
60
|
};
|
|
61
|
+
keepAlive: {
|
|
62
|
+
type: BooleanConstructor;
|
|
63
|
+
default: boolean;
|
|
64
|
+
};
|
|
56
65
|
}>> & {
|
|
57
66
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
58
67
|
}, {
|
|
59
68
|
modelValue: string | number;
|
|
60
69
|
variant: "default" | "fitted";
|
|
70
|
+
keepAlive: boolean;
|
|
61
71
|
}>;
|
|
62
72
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { s as OrTabsV3, T as TabsVariant } from '../OrTabsV3-
|
|
1
|
+
export { s as OrTabsV3, T as TabsVariant } from '../OrTabsV3-d1028c81.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { T as TabsVariant } from '../OrTabsV3-
|
|
1
|
+
export { T as TabsVariant } from '../OrTabsV3-d1028c81.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { b as Tabs, a as TabsContainer, d as TabsContent, c as TabsVariants } from '../OrTabsV3-
|
|
1
|
+
export { b as Tabs, a as TabsContainer, d as TabsContent, c as TabsVariants } from '../OrTabsV3-d1028c81.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, mergeProps, Fragment, renderList, createBlock, withModifiers, withCtx, renderSlot, createTextVNode, toDisplayString, createVNode, createCommentVNode } from 'vue';
|
|
1
|
+
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, mergeProps, Fragment, renderList, createBlock, withModifiers, withCtx, renderSlot, createTextVNode, toDisplayString, createVNode, createCommentVNode, withDirectives, vShow } from 'vue';
|
|
2
2
|
import { k as useResizeObserver } from './OrBottomSheetV3-66815f6f.js';
|
|
3
3
|
import { defineComponent, ref, computed, reactive, toRef, watch, nextTick, onMounted } from 'vue-demi';
|
|
4
4
|
import { s as script$1 } from './OrIconV3-5db4e349.js';
|
|
@@ -68,6 +68,10 @@ var script = defineComponent({
|
|
|
68
68
|
variant: {
|
|
69
69
|
type: String,
|
|
70
70
|
default: () => TabsVariant.Default
|
|
71
|
+
},
|
|
72
|
+
keepAlive: {
|
|
73
|
+
type: Boolean,
|
|
74
|
+
default: false
|
|
71
75
|
}
|
|
72
76
|
},
|
|
73
77
|
emits: ['update:modelValue'],
|
|
@@ -129,6 +133,9 @@ var script = defineComponent({
|
|
|
129
133
|
hidden: nextHiddenTabs
|
|
130
134
|
};
|
|
131
135
|
}
|
|
136
|
+
function isTabRendered(value) {
|
|
137
|
+
return props.keepAlive || proxyModelValue.value === value;
|
|
138
|
+
}
|
|
132
139
|
// Effects
|
|
133
140
|
watch([() => props.items, activeTab, root], _ref2 => {
|
|
134
141
|
let [items, activeTab, rootElement] = _ref2;
|
|
@@ -163,7 +170,8 @@ var script = defineComponent({
|
|
|
163
170
|
tabs,
|
|
164
171
|
proxyModelValue,
|
|
165
172
|
activeTab,
|
|
166
|
-
selectTab
|
|
173
|
+
selectTab,
|
|
174
|
+
isTabRendered
|
|
167
175
|
};
|
|
168
176
|
}
|
|
169
177
|
});
|
|
@@ -227,7 +235,11 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
227
235
|
_: 1 /* STABLE */
|
|
228
236
|
}, 8 /* PROPS */, ["trigger"])], 64 /* STABLE_FRAGMENT */)) : createCommentVNode("v-if", true)], 16 /* FULL_PROPS */), createElementVNode("div", {
|
|
229
237
|
class: normalizeClass(_ctx.contentStyles)
|
|
230
|
-
}, [
|
|
238
|
+
}, [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.items, tab => {
|
|
239
|
+
return openBlock(), createElementBlock(Fragment, null, [_ctx.isTabRendered(tab.value) ? withDirectives((openBlock(), createElementBlock("div", {
|
|
240
|
+
key: tab.value
|
|
241
|
+
}, [renderSlot(_ctx.$slots, String(tab.value))])), [[vShow, String(_ctx.proxyModelValue) === String(tab.value)]]) : createCommentVNode("v-if", true)], 64 /* STABLE_FRAGMENT */);
|
|
242
|
+
}), 256 /* UNKEYED_FRAGMENT */))], 2 /* CLASS */)], 2 /* CLASS */);
|
|
231
243
|
}
|
|
232
244
|
|
|
233
245
|
script.render = render;
|
|
@@ -15,14 +15,14 @@ export { default as OrCheckboxGroupV3 } from './OrCheckboxGroupV3/OrCheckboxGrou
|
|
|
15
15
|
export { s as OrCheckboxTreeV3 } from './OrCheckboxTreeV3-bedfb3ff.js';
|
|
16
16
|
export { s as OrCheckboxV3 } from './OrCheckboxV3-96eb3430.js';
|
|
17
17
|
export { s as OrChip, a as OrChips } from './OrChips-ba5bb85b.js';
|
|
18
|
-
export { E as EditorState, a as EditorView, q as OrCode, O as OrCodeLanguages, b as basicSetup, h as html, j as javascript, d as json, e as jsonParseLinter, c as lintGutter, l as linter } from './OrCode-
|
|
19
|
-
export { C as CodeLanguage, s as OrCodeV3 } from './OrCodeV3-
|
|
18
|
+
export { E as EditorState, a as EditorView, q as OrCode, O as OrCodeLanguages, b as basicSetup, h as html, j as javascript, d as json, e as jsonParseLinter, c as lintGutter, l as linter } from './OrCode-46b1b8aa.js';
|
|
19
|
+
export { C as CodeLanguage, s as OrCodeV3 } from './OrCodeV3-d8e1ec2f.js';
|
|
20
20
|
export { default as OrCollapse } from './OrCollapse/OrCollapse.js';
|
|
21
21
|
export { s as OrColorPicker, h as amber, n as black, b as blue, m as blueGrey, k as brown, c as cyan, j as deepOrange, d as deepPurple, g as green, i as indigo, l as lightBlue, e as lightGreen, f as lime, o as orange, p as pink, a as purple, r as red, t as teal, w as white, y as yellow } from './OrColorPicker-2271c176.js';
|
|
22
22
|
export { s as OrCombinedInputV3 } from './OrCombinedInputV3-bd03f7e5.js';
|
|
23
23
|
export { I as CombinedInputSize, I as DatePickerSize, I as DateRangePickerSize, I as DateTimePickerSize, I as InputBoxSize, a as InputBoxVariant, I as InputSize, s as OrInputBoxV3, I as SearchSize, I as SelectSize, I as TagInputSize, I as TextareaSize, I as TimePickerSize, I as TimeRangePickerSize } from './OrInputBoxV3-ddd117f0.js';
|
|
24
|
-
export { s as OrConfirm } from './OrConfirm-
|
|
25
|
-
export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirmV3-
|
|
24
|
+
export { s as OrConfirm } from './OrConfirm-f95a3ce6.js';
|
|
25
|
+
export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirmV3-26accd85.js';
|
|
26
26
|
export { OrContextMenuV3 } from './OrContextMenuV3/index.js';
|
|
27
27
|
export { P as ContextMenuPlacement, P as MenuPlacement, s as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from './OrPopoverV3-dad6308c.js';
|
|
28
28
|
export { s as OrDateFormatV3 } from './OrDateFormatV3-b88a046a.js';
|
|
@@ -60,7 +60,7 @@ export { LoaderViews, OrLoader } from './OrLoader/index.js';
|
|
|
60
60
|
export { a as LoaderColor, b as LoaderSize, L as LoaderVariant, s as OrLoaderV3 } from './OrLoaderV3-b7b7afab.js';
|
|
61
61
|
export { s as OrMenuItemV3 } from './OrMenuItemV3-7b557536.js';
|
|
62
62
|
export { s as OrMenuV3 } from './OrMenuV3-07fec3f7.js';
|
|
63
|
-
export { s as OrModal, O as OrModalSizes } from './OrModal-
|
|
63
|
+
export { s as OrModal, O as OrModalSizes } from './OrModal-3aad4d27.js';
|
|
64
64
|
export { M as ModalSize, s as OrModalV3 } from './OrModalV3-7c79dd79.js';
|
|
65
65
|
export { OR_NOTIFICATION_SIZE, OR_NOTIFICATION_TYPE, OrNotification } from './OrNotification/index.js';
|
|
66
66
|
export { N as NotificationVariant, s as OrNotificationV3 } from './OrNotificationV3-722fcfc1.js';
|
|
@@ -80,7 +80,7 @@ export { s as OrRangeSliderV3 } from './OrRangeSliderV3-f8024c15.js';
|
|
|
80
80
|
export { s as OrSliderV3, S as RangeSliderColor, a as RangeSliderOrientation, S as SliderColor, a as SliderOrientation } from './OrSliderV3-b69331d1.js';
|
|
81
81
|
export { s as OrRatingV3 } from './OrRatingV3-b6b47938.js';
|
|
82
82
|
export { s as OrResizeablePanelV3, R as ResizeablePanelPadding, a as ResizeablePanelPlacement, R as SidebarPadding } from './OrResizeablePanelV3-39bf5dc7.js';
|
|
83
|
-
export { F as Formats, s as OrRichTextEditorV3 } from './OrRichTextEditorV3-
|
|
83
|
+
export { F as Formats, s as OrRichTextEditorV3 } from './OrRichTextEditorV3-243f2ed9.js';
|
|
84
84
|
export { default as OrSearch } from './OrSearch/OrSearch.js';
|
|
85
85
|
export { OrSearchV3 } from './OrSearchV3/index.js';
|
|
86
86
|
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControlV3-56862f95.js';
|
|
@@ -100,7 +100,7 @@ export { default as OrTab } from './OrTab/OrTab.js';
|
|
|
100
100
|
export { default as OrTabHeaderItem } from './OrTabHeaderItem/OrTabHeaderItem.js';
|
|
101
101
|
export { s as OrTabV3 } from './OrTabV3-9dbd8ad9.js';
|
|
102
102
|
export { default as OrTabs } from './OrTabs/OrTabs.js';
|
|
103
|
-
export { s as OrTabsV3, T as TabsVariant } from './OrTabsV3-
|
|
103
|
+
export { s as OrTabsV3, T as TabsVariant } from './OrTabsV3-d1028c81.js';
|
|
104
104
|
export { default as OrTag } from './OrTag/OrTag.js';
|
|
105
105
|
export { s as OrTagInputV3 } from './OrTagInputV3-4f147729.js';
|
|
106
106
|
export { s as OrTagV3, T as TagColor, a as TagVariant } from './OrTagV3-f0fb51b7.js';
|
package/dist/bundled/v3/index.js
CHANGED
|
@@ -8,12 +8,12 @@ export { C as CardCollectionView, s as OrCardCollectionV3, d as defaultViewModes
|
|
|
8
8
|
export { C as CardPadding, s as OrCardV3 } from './components/OrCardV3-f9908b34.js';
|
|
9
9
|
export { default as OrCheckboxGroupV3 } from './components/OrCheckboxGroupV3/OrCheckboxGroup.js';
|
|
10
10
|
export { s as OrChip, a as OrChips } from './components/OrChips-ba5bb85b.js';
|
|
11
|
-
export { E as EditorState, a as EditorView, q as OrCode, O as OrCodeLanguages, b as basicSetup, h as html, j as javascript, d as json, e as jsonParseLinter, c as lintGutter, l as linter } from './components/OrCode-
|
|
12
|
-
export { C as CodeLanguage, s as OrCodeV3 } from './components/OrCodeV3-
|
|
11
|
+
export { E as EditorState, a as EditorView, q as OrCode, O as OrCodeLanguages, b as basicSetup, h as html, j as javascript, d as json, e as jsonParseLinter, c as lintGutter, l as linter } from './components/OrCode-46b1b8aa.js';
|
|
12
|
+
export { C as CodeLanguage, s as OrCodeV3 } from './components/OrCodeV3-d8e1ec2f.js';
|
|
13
13
|
export { s as OrColorPicker, h as amber, n as black, b as blue, m as blueGrey, k as brown, c as cyan, j as deepOrange, d as deepPurple, g as green, i as indigo, l as lightBlue, e as lightGreen, f as lime, o as orange, p as pink, a as purple, r as red, t as teal, w as white, y as yellow } from './components/OrColorPicker-2271c176.js';
|
|
14
14
|
export { s as OrCombinedInputV3 } from './components/OrCombinedInputV3-bd03f7e5.js';
|
|
15
|
-
export { s as OrConfirm } from './components/OrConfirm-
|
|
16
|
-
export { C as ConfirmType, s as OrConfirmV3 } from './components/OrConfirmV3-
|
|
15
|
+
export { s as OrConfirm } from './components/OrConfirm-f95a3ce6.js';
|
|
16
|
+
export { C as ConfirmType, s as OrConfirmV3 } from './components/OrConfirmV3-26accd85.js';
|
|
17
17
|
export { OrContextMenuV3 } from './components/OrContextMenuV3/index.js';
|
|
18
18
|
export { s as OrDateFormatV3 } from './components/OrDateFormatV3-b88a046a.js';
|
|
19
19
|
export { s as OrDatePickerV3 } from './components/OrDatePickerV3-cf890376.js';
|
|
@@ -42,7 +42,7 @@ export { default as OrRadioGroup } from './components/OrRadioGroup/OrRadioGroup.
|
|
|
42
42
|
export { default as OrRadioGroupV3 } from './components/OrRadioGroupV3/OrRadioGroup.js';
|
|
43
43
|
export { s as OrRangeSliderV3 } from './components/OrRangeSliderV3-f8024c15.js';
|
|
44
44
|
export { s as OrRatingV3 } from './components/OrRatingV3-b6b47938.js';
|
|
45
|
-
export { F as Formats, s as OrRichTextEditorV3 } from './components/OrRichTextEditorV3-
|
|
45
|
+
export { F as Formats, s as OrRichTextEditorV3 } from './components/OrRichTextEditorV3-243f2ed9.js';
|
|
46
46
|
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from './components/OrSegmentedControlV3-56862f95.js';
|
|
47
47
|
export { s as OrSelect } from './components/OrSelect-ab9e3084.js';
|
|
48
48
|
export { s as OrSelectV3 } from './components/OrSelectV3-c604ca91.js';
|
|
@@ -58,7 +58,7 @@ export { default as OrSwitch } from './components/OrSwitch/OrSwitch.js';
|
|
|
58
58
|
export { s as OrSwitchV3 } from './components/OrSwitchV3-b2e3d181.js';
|
|
59
59
|
export { default as OrTab } from './components/OrTab/OrTab.js';
|
|
60
60
|
export { default as OrTabs } from './components/OrTabs/OrTabs.js';
|
|
61
|
-
export { s as OrTabsV3, T as TabsVariant } from './components/OrTabsV3-
|
|
61
|
+
export { s as OrTabsV3, T as TabsVariant } from './components/OrTabsV3-d1028c81.js';
|
|
62
62
|
export { default as OrTag } from './components/OrTag/OrTag.js';
|
|
63
63
|
export { s as OrTagInputV3 } from './components/OrTagInputV3-4f147729.js';
|
|
64
64
|
export { s as OrTextV3 } from './components/OrTextV3-ff806d55.js';
|
|
@@ -102,7 +102,7 @@ export { LoaderViews, OrLoader } from './components/OrLoader/index.js';
|
|
|
102
102
|
export { a as LoaderColor, b as LoaderSize, L as LoaderVariant, s as OrLoaderV3 } from './components/OrLoaderV3-b7b7afab.js';
|
|
103
103
|
export { s as OrMenuItemV3 } from './components/OrMenuItemV3-7b557536.js';
|
|
104
104
|
export { s as OrMenuV3 } from './components/OrMenuV3-07fec3f7.js';
|
|
105
|
-
export { s as OrModal, O as OrModalSizes } from './components/OrModal-
|
|
105
|
+
export { s as OrModal, O as OrModalSizes } from './components/OrModal-3aad4d27.js';
|
|
106
106
|
export { M as ModalSize, s as OrModalV3 } from './components/OrModalV3-7c79dd79.js';
|
|
107
107
|
export { default as OrOverlay } from './components/OrOverlay/OrOverlay.js';
|
|
108
108
|
export { s as OrOverlayV3 } from './components/OrOverlayV3-b2576ca1.js';
|
|
@@ -72,6 +72,10 @@ var script = defineComponent({
|
|
|
72
72
|
variant: {
|
|
73
73
|
type: String,
|
|
74
74
|
default: () => TabsVariant.Default
|
|
75
|
+
},
|
|
76
|
+
keepAlive: {
|
|
77
|
+
type: Boolean,
|
|
78
|
+
default: false
|
|
75
79
|
}
|
|
76
80
|
},
|
|
77
81
|
emits: ['update:modelValue'],
|
|
@@ -133,6 +137,9 @@ var script = defineComponent({
|
|
|
133
137
|
hidden: nextHiddenTabs
|
|
134
138
|
};
|
|
135
139
|
}
|
|
140
|
+
function isTabRendered(value) {
|
|
141
|
+
return props.keepAlive || proxyModelValue.value === value;
|
|
142
|
+
}
|
|
136
143
|
// Effects
|
|
137
144
|
watch([() => props.items, activeTab, root], _ref2 => {
|
|
138
145
|
let [items, activeTab, rootElement] = _ref2;
|
|
@@ -167,7 +174,8 @@ var script = defineComponent({
|
|
|
167
174
|
tabs,
|
|
168
175
|
proxyModelValue,
|
|
169
176
|
activeTab,
|
|
170
|
-
selectTab
|
|
177
|
+
selectTab,
|
|
178
|
+
isTabRendered
|
|
171
179
|
};
|
|
172
180
|
}
|
|
173
181
|
});
|
|
@@ -239,7 +247,17 @@ var __vue_render__ = function () {
|
|
|
239
247
|
}, [_vm._v("\n " + _vm._s(tab.label) + "\n ")]);
|
|
240
248
|
}), 1)] : _vm._e()], 2), _vm._v(" "), _c('div', {
|
|
241
249
|
class: _vm.contentStyles
|
|
242
|
-
}, [_vm.
|
|
250
|
+
}, [_vm._l(_vm.items, function (tab) {
|
|
251
|
+
return [_vm.isTabRendered(tab.value) ? _c('div', {
|
|
252
|
+
directives: [{
|
|
253
|
+
name: "show",
|
|
254
|
+
rawName: "v-show",
|
|
255
|
+
value: String(_vm.proxyModelValue) === String(tab.value),
|
|
256
|
+
expression: "String(proxyModelValue) === String(tab.value)"
|
|
257
|
+
}],
|
|
258
|
+
key: tab.value
|
|
259
|
+
}, [_vm._t(String(tab.value))], 2) : _vm._e()];
|
|
260
|
+
})], 2)]);
|
|
243
261
|
};
|
|
244
262
|
var __vue_staticRenderFns__ = [];
|
|
245
263
|
|
|
@@ -122,7 +122,7 @@ export { _ as OrTab } from '../OrTab-58821c9b.js';
|
|
|
122
122
|
export { _ as OrTabHeaderItem } from '../OrTabHeaderItem-424f2986.js';
|
|
123
123
|
export { _ as OrTabV3 } from '../OrTab-a989b4fd.js';
|
|
124
124
|
export { _ as OrTabs } from '../OrTabs-62e7e478.js';
|
|
125
|
-
export { _ as OrTabsV3, T as TabsVariant } from '../OrTabs-
|
|
125
|
+
export { _ as OrTabsV3, T as TabsVariant } from '../OrTabs-b8df5b2e.js';
|
|
126
126
|
export { _ as OrTag } from '../OrTag-ce728fad.js';
|
|
127
127
|
export { _ as OrTagInputV3 } from '../OrTagInput-097f0f6d.js';
|
|
128
128
|
export { _ as OrTagV3, a as TagColor, T as TagVariant } from '../OrTag-83582a3d.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PropType } from 'vue-demi';
|
|
2
2
|
import { TagsOverflow } from '../or-tags-v3';
|
|
3
3
|
import { SelectSize } from './props';
|
|
4
|
-
import {
|
|
4
|
+
import { SelectGroupByFunction, SelectOption, SelectSearchFunction, SelectValue } from './types';
|
|
5
5
|
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
6
6
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
7
7
|
inputBox: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
@@ -42,7 +42,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
42
42
|
showClear: import("@vue/composition-api").ComputedRef<boolean>;
|
|
43
43
|
searchText: import("@vue/composition-api").Ref<string>;
|
|
44
44
|
internalSearchOptions: import("@vue/composition-api").Ref<{
|
|
45
|
-
value: RawValue;
|
|
45
|
+
value: import("./types").RawValue;
|
|
46
46
|
label: string;
|
|
47
47
|
disabled?: boolean | undefined;
|
|
48
48
|
}[]>;
|
|
@@ -51,8 +51,8 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
51
51
|
toggle: () => void;
|
|
52
52
|
close: () => void;
|
|
53
53
|
open: () => void;
|
|
54
|
-
deselect: (option:
|
|
55
|
-
toggleOption: (option:
|
|
54
|
+
deselect: (option: string) => void;
|
|
55
|
+
toggleOption: (option: string) => void;
|
|
56
56
|
clearSearchControl: () => void;
|
|
57
57
|
isDesktop: import("@vue/composition-api").ComputedRef<boolean>;
|
|
58
58
|
isMobile: import("@vue/composition-api").ComputedRef<boolean>;
|
|
@@ -263,7 +263,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
263
263
|
showClear: import("@vue/composition-api").ComputedRef<boolean>;
|
|
264
264
|
searchText: import("@vue/composition-api").Ref<string>;
|
|
265
265
|
internalSearchOptions: import("@vue/composition-api").Ref<{
|
|
266
|
-
value: RawValue;
|
|
266
|
+
value: import("./types").RawValue;
|
|
267
267
|
label: string;
|
|
268
268
|
disabled?: boolean | undefined;
|
|
269
269
|
}[]>;
|
|
@@ -272,8 +272,8 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
272
272
|
toggle: () => void;
|
|
273
273
|
close: () => void;
|
|
274
274
|
open: () => void;
|
|
275
|
-
deselect: (option:
|
|
276
|
-
toggleOption: (option:
|
|
275
|
+
deselect: (option: string) => void;
|
|
276
|
+
toggleOption: (option: string) => void;
|
|
277
277
|
clearSearchControl: () => void;
|
|
278
278
|
isDesktop: import("@vue/composition-api").ComputedRef<boolean>;
|
|
279
279
|
isMobile: import("@vue/composition-api").ComputedRef<boolean>;
|
|
@@ -35,6 +35,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
35
35
|
proxyModelValue: import("../../hooks").UseProxyModelValueReturn<string | number>;
|
|
36
36
|
activeTab: import("@vue/composition-api").ComputedRef<TabsItem>;
|
|
37
37
|
selectTab: (tab: TabsItem) => void;
|
|
38
|
+
isTabRendered: (value: string | number) => boolean;
|
|
38
39
|
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
39
40
|
modelValue: {
|
|
40
41
|
type: (StringConstructor | NumberConstructor)[];
|
|
@@ -48,6 +49,10 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
48
49
|
type: PropType<"default" | "fitted">;
|
|
49
50
|
default: () => TabsVariant.Default;
|
|
50
51
|
};
|
|
52
|
+
keepAlive: {
|
|
53
|
+
type: BooleanConstructor;
|
|
54
|
+
default: boolean;
|
|
55
|
+
};
|
|
51
56
|
}, import("@vue/composition-api").ExtractPropTypes<{
|
|
52
57
|
modelValue: {
|
|
53
58
|
type: (StringConstructor | NumberConstructor)[];
|
|
@@ -61,10 +66,15 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
61
66
|
type: PropType<"default" | "fitted">;
|
|
62
67
|
default: () => TabsVariant.Default;
|
|
63
68
|
};
|
|
69
|
+
keepAlive: {
|
|
70
|
+
type: BooleanConstructor;
|
|
71
|
+
default: boolean;
|
|
72
|
+
};
|
|
64
73
|
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
65
74
|
modelValue: string | number;
|
|
66
75
|
items: TabsItem[];
|
|
67
76
|
variant: "default" | "fitted";
|
|
77
|
+
keepAlive: boolean;
|
|
68
78
|
} & {} & {
|
|
69
79
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
70
80
|
}, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
@@ -101,14 +111,17 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
101
111
|
proxyModelValue: import("../../hooks").UseProxyModelValueReturn<string | number>;
|
|
102
112
|
activeTab: import("@vue/composition-api").ComputedRef<TabsItem>;
|
|
103
113
|
selectTab: (tab: TabsItem) => void;
|
|
114
|
+
isTabRendered: (value: string | number) => boolean;
|
|
104
115
|
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
|
|
105
116
|
modelValue: string | number;
|
|
106
117
|
items: TabsItem[];
|
|
107
118
|
variant: "default" | "fitted";
|
|
119
|
+
keepAlive: boolean;
|
|
108
120
|
} & {} & {
|
|
109
121
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
110
122
|
}, {
|
|
111
123
|
modelValue: string | number;
|
|
112
124
|
variant: "default" | "fitted";
|
|
125
|
+
keepAlive: boolean;
|
|
113
126
|
}, true>);
|
|
114
127
|
export default _default;
|
package/dist/esm/v2/index.js
CHANGED
|
@@ -122,7 +122,7 @@ export { _ as OrTab } from './OrTab-58821c9b.js';
|
|
|
122
122
|
export { _ as OrTabHeaderItem } from './OrTabHeaderItem-424f2986.js';
|
|
123
123
|
export { _ as OrTabV3 } from './OrTab-a989b4fd.js';
|
|
124
124
|
export { _ as OrTabs } from './OrTabs-62e7e478.js';
|
|
125
|
-
export { _ as OrTabsV3, T as TabsVariant } from './OrTabs-
|
|
125
|
+
export { _ as OrTabsV3, T as TabsVariant } from './OrTabs-b8df5b2e.js';
|
|
126
126
|
export { _ as OrTag } from './OrTag-ce728fad.js';
|
|
127
127
|
export { _ as OrTagInputV3 } from './OrTagInput-097f0f6d.js';
|
|
128
128
|
export { _ as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-83582a3d.js';
|
|
@@ -9,7 +9,7 @@ import { s as script$3 } from './OrMenuItem-2928ba60.js';
|
|
|
9
9
|
import { s as script$2 } from './OrMenu-192543a9.js';
|
|
10
10
|
import './OrPopover-79d76269.js';
|
|
11
11
|
import { s as script$4 } from './OrTab-42be32d1.js';
|
|
12
|
-
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, mergeProps, Fragment, renderList, createBlock, withModifiers, withCtx, renderSlot, createTextVNode, toDisplayString, createVNode, createCommentVNode } from 'vue';
|
|
12
|
+
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, mergeProps, Fragment, renderList, createBlock, withModifiers, withCtx, renderSlot, createTextVNode, toDisplayString, createVNode, createCommentVNode, withDirectives, vShow } from 'vue';
|
|
13
13
|
|
|
14
14
|
var TabsVariant;
|
|
15
15
|
(function (TabsVariant) {
|
|
@@ -72,6 +72,10 @@ var script = defineComponent({
|
|
|
72
72
|
variant: {
|
|
73
73
|
type: String,
|
|
74
74
|
default: () => TabsVariant.Default
|
|
75
|
+
},
|
|
76
|
+
keepAlive: {
|
|
77
|
+
type: Boolean,
|
|
78
|
+
default: false
|
|
75
79
|
}
|
|
76
80
|
},
|
|
77
81
|
emits: ['update:modelValue'],
|
|
@@ -133,6 +137,9 @@ var script = defineComponent({
|
|
|
133
137
|
hidden: nextHiddenTabs
|
|
134
138
|
};
|
|
135
139
|
}
|
|
140
|
+
function isTabRendered(value) {
|
|
141
|
+
return props.keepAlive || proxyModelValue.value === value;
|
|
142
|
+
}
|
|
136
143
|
// Effects
|
|
137
144
|
watch([() => props.items, activeTab, root], _ref2 => {
|
|
138
145
|
let [items, activeTab, rootElement] = _ref2;
|
|
@@ -167,7 +174,8 @@ var script = defineComponent({
|
|
|
167
174
|
tabs,
|
|
168
175
|
proxyModelValue,
|
|
169
176
|
activeTab,
|
|
170
|
-
selectTab
|
|
177
|
+
selectTab,
|
|
178
|
+
isTabRendered
|
|
171
179
|
};
|
|
172
180
|
}
|
|
173
181
|
});
|
|
@@ -231,7 +239,11 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
231
239
|
_: 1 /* STABLE */
|
|
232
240
|
}, 8 /* PROPS */, ["trigger"])], 64 /* STABLE_FRAGMENT */)) : createCommentVNode("v-if", true)], 16 /* FULL_PROPS */), createElementVNode("div", {
|
|
233
241
|
class: normalizeClass(_ctx.contentStyles)
|
|
234
|
-
}, [
|
|
242
|
+
}, [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.items, tab => {
|
|
243
|
+
return openBlock(), createElementBlock(Fragment, null, [_ctx.isTabRendered(tab.value) ? withDirectives((openBlock(), createElementBlock("div", {
|
|
244
|
+
key: tab.value
|
|
245
|
+
}, [renderSlot(_ctx.$slots, String(tab.value))])), [[vShow, String(_ctx.proxyModelValue) === String(tab.value)]]) : createCommentVNode("v-if", true)], 64 /* STABLE_FRAGMENT */);
|
|
246
|
+
}), 256 /* UNKEYED_FRAGMENT */))], 2 /* CLASS */)], 2 /* CLASS */);
|
|
235
247
|
}
|
|
236
248
|
|
|
237
249
|
script.render = render;
|
|
@@ -118,7 +118,7 @@ export { s as OrTab } from '../OrTab-d8d4e871.js';
|
|
|
118
118
|
export { s as OrTabHeaderItem } from '../OrTabHeaderItem-c2af7ca3.js';
|
|
119
119
|
export { s as OrTabV3 } from '../OrTab-42be32d1.js';
|
|
120
120
|
export { s as OrTabs } from '../OrTabs-3da3ea89.js';
|
|
121
|
-
export { s as OrTabsV3, T as TabsVariant } from '../OrTabs-
|
|
121
|
+
export { s as OrTabsV3, T as TabsVariant } from '../OrTabs-cd217d74.js';
|
|
122
122
|
export { s as OrTag } from '../OrTag-bc8177a4.js';
|
|
123
123
|
export { s as OrTagInputV3 } from '../OrTagInput-2ba3e438.js';
|
|
124
124
|
export { s as OrTagV3, a as TagColor, T as TagVariant } from '../OrTag-e3aee1d9.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PropType } from 'vue-demi';
|
|
2
2
|
import { TagsOverflow } from '../or-tags-v3';
|
|
3
3
|
import { SelectSize } from './props';
|
|
4
|
-
import {
|
|
4
|
+
import { SelectGroupByFunction, SelectOption, SelectSearchFunction, SelectValue } from './types';
|
|
5
5
|
declare const _default: import("vue-demi").DefineComponent<{
|
|
6
6
|
options: {
|
|
7
7
|
type: PropType<SelectOption[]>;
|
|
@@ -99,7 +99,7 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
99
99
|
showClear: import("vue-demi").ComputedRef<boolean>;
|
|
100
100
|
searchText: import("vue-demi").Ref<string>;
|
|
101
101
|
internalSearchOptions: import("vue-demi").Ref<{
|
|
102
|
-
value: RawValue;
|
|
102
|
+
value: import("./types").RawValue;
|
|
103
103
|
label: string;
|
|
104
104
|
disabled?: boolean | undefined;
|
|
105
105
|
}[]>;
|
|
@@ -108,8 +108,8 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
108
108
|
toggle: () => void;
|
|
109
109
|
close: () => void;
|
|
110
110
|
open: () => void;
|
|
111
|
-
deselect: (option:
|
|
112
|
-
toggleOption: (option:
|
|
111
|
+
deselect: (option: string) => void;
|
|
112
|
+
toggleOption: (option: string) => void;
|
|
113
113
|
clearSearchControl: () => void;
|
|
114
114
|
isDesktop: import("vue-demi").ComputedRef<boolean>;
|
|
115
115
|
isMobile: import("vue-demi").ComputedRef<boolean>;
|
|
@@ -14,6 +14,10 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
14
14
|
type: PropType<"default" | "fitted">;
|
|
15
15
|
default: () => TabsVariant;
|
|
16
16
|
};
|
|
17
|
+
keepAlive: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
default: boolean;
|
|
20
|
+
};
|
|
17
21
|
}, {
|
|
18
22
|
root: import("vue-demi").Ref<HTMLElement | undefined>;
|
|
19
23
|
overflowTab: import("vue-demi").Ref<any>;
|
|
@@ -40,6 +44,7 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
40
44
|
proxyModelValue: import("../../hooks").UseProxyModelValueReturn<string | number | undefined>;
|
|
41
45
|
activeTab: import("vue-demi").ComputedRef<TabsItem>;
|
|
42
46
|
selectTab: (tab: TabsItem) => void;
|
|
47
|
+
isTabRendered: (value: string | number) => boolean;
|
|
43
48
|
}, unknown, {}, {}, import("vue-demi").ComponentOptionsMixin, import("vue-demi").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue-demi").VNodeProps & import("vue-demi").AllowedComponentProps & import("vue-demi").ComponentCustomProps, Readonly<import("vue-demi").ExtractPropTypes<{
|
|
44
49
|
modelValue: {
|
|
45
50
|
type: (StringConstructor | NumberConstructor)[];
|
|
@@ -53,10 +58,15 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
53
58
|
type: PropType<"default" | "fitted">;
|
|
54
59
|
default: () => TabsVariant;
|
|
55
60
|
};
|
|
61
|
+
keepAlive: {
|
|
62
|
+
type: BooleanConstructor;
|
|
63
|
+
default: boolean;
|
|
64
|
+
};
|
|
56
65
|
}>> & {
|
|
57
66
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
58
67
|
}, {
|
|
59
68
|
modelValue: string | number;
|
|
60
69
|
variant: "default" | "fitted";
|
|
70
|
+
keepAlive: boolean;
|
|
61
71
|
}>;
|
|
62
72
|
export default _default;
|
package/dist/esm/v3/index.js
CHANGED
|
@@ -118,7 +118,7 @@ export { s as OrTab } from './OrTab-d8d4e871.js';
|
|
|
118
118
|
export { s as OrTabHeaderItem } from './OrTabHeaderItem-c2af7ca3.js';
|
|
119
119
|
export { s as OrTabV3 } from './OrTab-42be32d1.js';
|
|
120
120
|
export { s as OrTabs } from './OrTabs-3da3ea89.js';
|
|
121
|
-
export { s as OrTabsV3, T as TabsVariant } from './OrTabs-
|
|
121
|
+
export { s as OrTabsV3, T as TabsVariant } from './OrTabs-cd217d74.js';
|
|
122
122
|
export { s as OrTag } from './OrTag-bc8177a4.js';
|
|
123
123
|
export { s as OrTagInputV3 } from './OrTagInput-2ba3e438.js';
|
|
124
124
|
export { s as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-e3aee1d9.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onereach/ui-components",
|
|
3
|
-
"version": "8.18.3
|
|
3
|
+
"version": "8.18.3",
|
|
4
4
|
"npmUnpacked": "4.15.2",
|
|
5
5
|
"description": "Vue components library for v2/3",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"@vueuse/integrations": "9.13.0",
|
|
67
67
|
"@vueuse/math": "9.13.0",
|
|
68
68
|
"codemirror": "6.0.1",
|
|
69
|
-
"focus-trap": "7.
|
|
69
|
+
"focus-trap": "7.2.0",
|
|
70
70
|
"prosemirror-markdown": "1.10.1",
|
|
71
71
|
"sortablejs": "1.14.0",
|
|
72
72
|
"tailwindcss": "3.3.3",
|
|
@@ -82,10 +82,9 @@
|
|
|
82
82
|
"sass": "1.63.4",
|
|
83
83
|
"typescript": "5.1.6",
|
|
84
84
|
"vue": "2.6.14",
|
|
85
|
-
"vue-demi": "0.14.6",
|
|
86
85
|
"vue-template-compiler": "2.6.14",
|
|
87
86
|
"vue2": "npm:vue@2.6.14",
|
|
88
|
-
"vue3": "npm:vue@3.
|
|
87
|
+
"vue3": "npm:vue@3.2.40"
|
|
89
88
|
},
|
|
90
89
|
"peerDependencies": {
|
|
91
90
|
"@vue/composition-api": ">=1",
|
|
@@ -93,7 +92,7 @@
|
|
|
93
92
|
"lodash": ">=4.17.21",
|
|
94
93
|
"portal-vue": ">=2.1.7 <3.0.0",
|
|
95
94
|
"vue": ">=2.6.14 || >=3.0.5",
|
|
96
|
-
"vue-demi": "
|
|
95
|
+
"vue-demi": "0.13.11"
|
|
97
96
|
},
|
|
98
97
|
"peerDependenciesMeta": {
|
|
99
98
|
"@vue/composition-api": {
|
|
@@ -177,5 +176,6 @@
|
|
|
177
176
|
"default": "./dist/bundled/v3/components/*/index.js"
|
|
178
177
|
},
|
|
179
178
|
"./package.json": "./package.json"
|
|
180
|
-
}
|
|
179
|
+
},
|
|
180
|
+
"gitHead": "f62a00e1643ef244ed6dd3101d477d8b84f361ef"
|
|
181
181
|
}
|