@onereach/ui-components 17.2.0 → 17.3.0-beta.4891.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundled/v2/components/OrFilterPopoverV3/OrFilterPopover.js +29 -1
- package/dist/bundled/v2/components/OrFilterPopoverV3/OrFilterPopover.vue.d.ts +9 -0
- package/dist/bundled/v3/components/OrFilterPopoverV3/OrFilterPopover.js +1 -1
- package/dist/bundled/v3/components/OrFilterPopoverV3/OrFilterPopover.vue.d.ts +9 -0
- package/dist/bundled/v3/components/OrFilterPopoverV3/index.js +1 -1
- package/dist/bundled/v3/components/OrFilterPopoverV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrFilterPopoverV3-27296b60.js → OrFilterPopoverV3-2e88e21d.js} +26 -5
- package/dist/bundled/v3/components/OrFilterV3/OrFilter.js +1 -1
- package/dist/bundled/v3/components/OrFilterV3/index.js +1 -1
- package/dist/bundled/v3/components/OrFilterV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrFilterV3-b28a3688.js → OrFilterV3-eb8750eb.js} +1 -1
- package/dist/bundled/v3/components/index.js +2 -2
- package/dist/bundled/v3/index.js +2 -2
- package/dist/esm/v2/{OrFilter-3ed01d2f.js → OrFilter-140e4850.js} +1 -1
- package/dist/esm/v2/{OrFilterPopover-36bc0e6d.js → OrFilterPopover-a3bb9348.js} +29 -1
- package/dist/esm/v2/components/index.js +2 -2
- package/dist/esm/v2/components/or-filter-popover-v3/OrFilterPopover.vue.d.ts +9 -0
- package/dist/esm/v2/components/or-filter-popover-v3/index.js +1 -1
- package/dist/esm/v2/components/or-filter-v3/index.js +2 -2
- package/dist/esm/v2/index.js +2 -2
- package/dist/esm/v3/{OrFilter-b38dcd0e.js → OrFilter-d3b39b0d.js} +1 -1
- package/dist/esm/v3/{OrFilterPopover-624150ff.js → OrFilterPopover-28255b45.js} +26 -5
- package/dist/esm/v3/components/index.js +2 -2
- package/dist/esm/v3/components/or-filter-popover-v3/OrFilterPopover.vue.d.ts +9 -0
- package/dist/esm/v3/components/or-filter-popover-v3/index.js +1 -1
- package/dist/esm/v3/components/or-filter-v3/index.js +2 -2
- package/dist/esm/v3/index.js +2 -2
- package/package.json +3 -4
- package/src/components/or-filter-popover-v3/OrFilterPopover.vue +27 -1
|
@@ -45,6 +45,10 @@ var script = defineComponent({
|
|
|
45
45
|
type: String,
|
|
46
46
|
default: undefined
|
|
47
47
|
},
|
|
48
|
+
enableDesktopControls: {
|
|
49
|
+
type: Boolean,
|
|
50
|
+
default: false
|
|
51
|
+
},
|
|
48
52
|
offset: {
|
|
49
53
|
type: [Number, Object, Function],
|
|
50
54
|
default: 8
|
|
@@ -134,7 +138,31 @@ var __vue_render__ = function () {
|
|
|
134
138
|
return _vm.reset();
|
|
135
139
|
}
|
|
136
140
|
}
|
|
137
|
-
}, [_vm._v("\n " + _vm._s(_vm.resetLabel) + "\n ")])], 1), _vm._v(" "), _vm._t("default"), _vm._v(" "), _vm._t('actions',
|
|
141
|
+
}, [_vm._v("\n " + _vm._s(_vm.resetLabel) + "\n ")])], 1), _vm._v(" "), _vm._t("default"), _vm._v(" "), _vm._t('actions', function () {
|
|
142
|
+
return [_vm.enableDesktopControls ? _c('div', {
|
|
143
|
+
class: _vm.footerStyles
|
|
144
|
+
}, [_c('OrButton', {
|
|
145
|
+
class: ['grow'],
|
|
146
|
+
attrs: {
|
|
147
|
+
"variant": 'contained'
|
|
148
|
+
},
|
|
149
|
+
on: {
|
|
150
|
+
"click": function ($event) {
|
|
151
|
+
return _vm.apply();
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
}, [_vm._v("\n " + _vm._s(_vm.applyLabel) + "\n ")]), _vm._v(" "), _c('OrButton', {
|
|
155
|
+
class: ['grow'],
|
|
156
|
+
attrs: {
|
|
157
|
+
"variant": 'outlined'
|
|
158
|
+
},
|
|
159
|
+
on: {
|
|
160
|
+
"click": function ($event) {
|
|
161
|
+
return _vm.reset();
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}, [_vm._v("\n " + _vm._s(_vm.resetLabel) + "\n ")])], 1) : _vm._e()];
|
|
165
|
+
}, null, {
|
|
138
166
|
apply: _vm.apply,
|
|
139
167
|
reset: _vm.reset,
|
|
140
168
|
isDesktop: _vm.isDesktop,
|
|
@@ -30,6 +30,10 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
30
30
|
type: PropType<"none" | "start" | "end" | undefined>;
|
|
31
31
|
default: undefined;
|
|
32
32
|
};
|
|
33
|
+
enableDesktopControls: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
default: boolean;
|
|
36
|
+
};
|
|
33
37
|
offset: {
|
|
34
38
|
type: PropType<PopoverOffset>;
|
|
35
39
|
default: number;
|
|
@@ -76,6 +80,10 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
76
80
|
type: PropType<"none" | "start" | "end" | undefined>;
|
|
77
81
|
default: undefined;
|
|
78
82
|
};
|
|
83
|
+
enableDesktopControls: {
|
|
84
|
+
type: BooleanConstructor;
|
|
85
|
+
default: boolean;
|
|
86
|
+
};
|
|
79
87
|
offset: {
|
|
80
88
|
type: PropType<PopoverOffset>;
|
|
81
89
|
default: number;
|
|
@@ -94,6 +102,7 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
94
102
|
trigger: ReferenceElement;
|
|
95
103
|
placement: "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end";
|
|
96
104
|
fallbackPlacement: "none" | "start" | "end" | undefined;
|
|
105
|
+
enableDesktopControls: boolean;
|
|
97
106
|
offset: PopoverOffset;
|
|
98
107
|
}>;
|
|
99
108
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { s as default } from '../OrFilterPopoverV3-
|
|
1
|
+
export { s as default } from '../OrFilterPopoverV3-2e88e21d.js';
|
|
@@ -30,6 +30,10 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
30
30
|
type: PropType<"none" | "start" | "end" | undefined>;
|
|
31
31
|
default: undefined;
|
|
32
32
|
};
|
|
33
|
+
enableDesktopControls: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
default: boolean;
|
|
36
|
+
};
|
|
33
37
|
offset: {
|
|
34
38
|
type: PropType<PopoverOffset>;
|
|
35
39
|
default: number;
|
|
@@ -76,6 +80,10 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
76
80
|
type: PropType<"none" | "start" | "end" | undefined>;
|
|
77
81
|
default: undefined;
|
|
78
82
|
};
|
|
83
|
+
enableDesktopControls: {
|
|
84
|
+
type: BooleanConstructor;
|
|
85
|
+
default: boolean;
|
|
86
|
+
};
|
|
79
87
|
offset: {
|
|
80
88
|
type: PropType<PopoverOffset>;
|
|
81
89
|
default: number;
|
|
@@ -94,6 +102,7 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
94
102
|
trigger: ReferenceElement;
|
|
95
103
|
placement: "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end";
|
|
96
104
|
fallbackPlacement: "none" | "start" | "end" | undefined;
|
|
105
|
+
enableDesktopControls: boolean;
|
|
97
106
|
offset: PopoverOffset;
|
|
98
107
|
}>;
|
|
99
108
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { s as OrFilterPopoverV3 } from '../OrFilterPopoverV3-
|
|
1
|
+
export { s as OrFilterPopoverV3 } from '../OrFilterPopoverV3-2e88e21d.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { F as FilterPopover, b as FilterPopoverFooter, a as FilterPopoverHeader } from '../OrFilterPopoverV3-
|
|
1
|
+
export { F as FilterPopover, b as FilterPopoverFooter, a as FilterPopoverHeader } from '../OrFilterPopoverV3-2e88e21d.js';
|
package/dist/bundled/v3/components/{OrFilterPopoverV3-27296b60.js → OrFilterPopoverV3-2e88e21d.js}
RENAMED
|
@@ -63,6 +63,10 @@ var script = defineComponent({
|
|
|
63
63
|
type: String,
|
|
64
64
|
default: undefined
|
|
65
65
|
},
|
|
66
|
+
enableDesktopControls: {
|
|
67
|
+
type: Boolean,
|
|
68
|
+
default: false
|
|
69
|
+
},
|
|
66
70
|
offset: {
|
|
67
71
|
type: [Number, Object, Function],
|
|
68
72
|
default: 8
|
|
@@ -130,7 +134,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
130
134
|
placement: _ctx.placement,
|
|
131
135
|
"fallback-placement": _ctx.fallbackPlacement,
|
|
132
136
|
offset: _ctx.offset,
|
|
133
|
-
"onUpdate:state": _cache[
|
|
137
|
+
"onUpdate:state": _cache[3] || (_cache[3] = $event => $event === 'open' ? _ctx.open() : _ctx.close())
|
|
134
138
|
}, {
|
|
135
139
|
default: withCtx(() => [createElementVNode("div", mergeProps(_ctx.$attrs, {
|
|
136
140
|
ref: 'root',
|
|
@@ -148,12 +152,29 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
148
152
|
reset: _ctx.reset,
|
|
149
153
|
isDesktop: _ctx.isDesktop,
|
|
150
154
|
isMobile: _ctx.isMobile
|
|
151
|
-
}))
|
|
155
|
+
})), () => [_ctx.enableDesktopControls ? (openBlock(), createElementBlock("div", {
|
|
156
|
+
key: 0,
|
|
157
|
+
class: normalizeClass(_ctx.footerStyles)
|
|
158
|
+
}, [createVNode(_component_OrButton, {
|
|
159
|
+
class: normalizeClass(['grow']),
|
|
160
|
+
variant: 'contained',
|
|
161
|
+
onClick: _cache[1] || (_cache[1] = $event => _ctx.apply())
|
|
162
|
+
}, {
|
|
163
|
+
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.applyLabel), 1 /* TEXT */)]),
|
|
164
|
+
_: 1 /* STABLE */
|
|
165
|
+
}), createVNode(_component_OrButton, {
|
|
166
|
+
class: normalizeClass(['grow']),
|
|
167
|
+
variant: 'outlined',
|
|
168
|
+
onClick: _cache[2] || (_cache[2] = $event => _ctx.reset())
|
|
169
|
+
}, {
|
|
170
|
+
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.resetLabel), 1 /* TEXT */)]),
|
|
171
|
+
_: 1 /* STABLE */
|
|
172
|
+
})], 2 /* CLASS */)) : createCommentVNode("v-if", true)])], 16 /* FULL_PROPS */)]),
|
|
152
173
|
_: 3 /* FORWARDED */
|
|
153
174
|
}, 8 /* PROPS */, ["is-open", "trigger", "placement", "fallback-placement", "offset"])) : createCommentVNode("v-if", true), _ctx.isMobile ? (openBlock(), createBlock(_component_OrModal, {
|
|
154
175
|
key: 1,
|
|
155
176
|
"is-open": _ctx.state === 'open',
|
|
156
|
-
"onUpdate:state": _cache[
|
|
177
|
+
"onUpdate:state": _cache[6] || (_cache[6] = $event => $event === 'open' ? _ctx.open() : _ctx.close())
|
|
157
178
|
}, {
|
|
158
179
|
header: withCtx(() => [createTextVNode(toDisplayString(_ctx.title), 1 /* TEXT */)]),
|
|
159
180
|
footer: withCtx(() => [renderSlot(_ctx.$slots, 'actions', normalizeProps(guardReactiveProps({
|
|
@@ -166,14 +187,14 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
166
187
|
}, [createVNode(_component_OrButton, {
|
|
167
188
|
class: normalizeClass(['grow']),
|
|
168
189
|
variant: 'contained',
|
|
169
|
-
onClick: _cache[
|
|
190
|
+
onClick: _cache[4] || (_cache[4] = $event => _ctx.apply())
|
|
170
191
|
}, {
|
|
171
192
|
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.applyLabel), 1 /* TEXT */)]),
|
|
172
193
|
_: 1 /* STABLE */
|
|
173
194
|
}), createVNode(_component_OrButton, {
|
|
174
195
|
class: normalizeClass(['grow']),
|
|
175
196
|
variant: 'outlined',
|
|
176
|
-
onClick: _cache[
|
|
197
|
+
onClick: _cache[5] || (_cache[5] = $event => _ctx.reset())
|
|
177
198
|
}, {
|
|
178
199
|
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.resetLabel), 1 /* TEXT */)]),
|
|
179
200
|
_: 1 /* STABLE */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { s as default } from '../OrFilterV3-
|
|
1
|
+
export { s as default } from '../OrFilterV3-eb8750eb.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { s as OrFilterV3 } from '../OrFilterV3-
|
|
1
|
+
export { s as OrFilterV3 } from '../OrFilterV3-eb8750eb.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { F as Filter } from '../OrFilterV3-
|
|
1
|
+
export { F as Filter } from '../OrFilterV3-eb8750eb.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createVNode, mergeProps, withCtx, renderSlot, normalizeProps, guardReactiveProps } from 'vue';
|
|
2
2
|
import { defineComponent, ref, computed, toRef } from 'vue-demi';
|
|
3
|
-
import { s as script$1 } from './OrFilterPopoverV3-
|
|
3
|
+
import { s as script$1 } from './OrFilterPopoverV3-2e88e21d.js';
|
|
4
4
|
import { s as script$2 } from './OrFilterTriggerV3-2d84c0ae.js';
|
|
5
5
|
import { usePopoverState } from '../hooks/usePopoverState.js';
|
|
6
6
|
|
|
@@ -40,9 +40,9 @@ export { s as OrErrorTagV3 } from './OrErrorTagV3-1b00b9d5.js';
|
|
|
40
40
|
export { s as OrErrorV3 } from './OrErrorV3-b04d76aa.js';
|
|
41
41
|
export { b as ExpansionPanelBackgroundColor, a as ExpansionPanelColor, E as ExpansionPanelVariant, s as OrExpansionPanelV3 } from './OrExpansionPanelV3-8711a407.js';
|
|
42
42
|
export { F as FabColor, s as OrFabV3 } from './OrFabV3-86cf1da1.js';
|
|
43
|
-
export { s as OrFilterPopoverV3 } from './OrFilterPopoverV3-
|
|
43
|
+
export { s as OrFilterPopoverV3 } from './OrFilterPopoverV3-2e88e21d.js';
|
|
44
44
|
export { s as OrFilterTriggerV3 } from './OrFilterTriggerV3-2d84c0ae.js';
|
|
45
|
-
export { s as OrFilterV3 } from './OrFilterV3-
|
|
45
|
+
export { s as OrFilterV3 } from './OrFilterV3-eb8750eb.js';
|
|
46
46
|
export { s as OrFloating, e as OrFloatingHideStrategy, O as OrFloatingPlacements } from './OrFloating-1ff6fef4.js';
|
|
47
47
|
export { F as FormGroupDirection, s as OrFormGroupV3 } from './OrFormGroupV3-37b7d9a1.js';
|
|
48
48
|
export { default as OrHint } from './OrHint/OrHint.js';
|
package/dist/bundled/v3/index.js
CHANGED
|
@@ -27,7 +27,7 @@ export { E as EditorTabsOverflow, s as OrEditorTabsV3 } from './components/OrEdi
|
|
|
27
27
|
export { E as EmptyStateSize, s as OrEmptyStateV3 } from './components/OrEmptyStateV3-af47ab45.js';
|
|
28
28
|
export { s as OrErrorTagV3 } from './components/OrErrorTagV3-1b00b9d5.js';
|
|
29
29
|
export { F as FabColor, s as OrFabV3 } from './components/OrFabV3-86cf1da1.js';
|
|
30
|
-
export { s as OrFilterV3 } from './components/OrFilterV3-
|
|
30
|
+
export { s as OrFilterV3 } from './components/OrFilterV3-eb8750eb.js';
|
|
31
31
|
export { I as InlineInputType, s as OrInlineInputV3 } from './components/OrInlineInputV3-51563d74.js';
|
|
32
32
|
export { InlineTextEditTrimmingTypes, InlineTextEditTypes, OrInlineTextEdit } from './components/OrInlineTextEdit/index.js';
|
|
33
33
|
export { s as OrInlineTextareaV3 } from './components/OrInlineTextareaV3-f1c61121.js';
|
|
@@ -84,7 +84,7 @@ export { a as OrDateTimePickerDateControl, b as OrDateTimePickerDateSelect, c as
|
|
|
84
84
|
export { default as OrError } from './components/OrError/OrError.js';
|
|
85
85
|
export { s as OrErrorV3 } from './components/OrErrorV3-b04d76aa.js';
|
|
86
86
|
export { b as ExpansionPanelBackgroundColor, a as ExpansionPanelColor, E as ExpansionPanelVariant, s as OrExpansionPanelV3 } from './components/OrExpansionPanelV3-8711a407.js';
|
|
87
|
-
export { s as OrFilterPopoverV3 } from './components/OrFilterPopoverV3-
|
|
87
|
+
export { s as OrFilterPopoverV3 } from './components/OrFilterPopoverV3-2e88e21d.js';
|
|
88
88
|
export { s as OrFilterTriggerV3 } from './components/OrFilterTriggerV3-2d84c0ae.js';
|
|
89
89
|
export { s as OrFloating, e as OrFloatingHideStrategy, O as OrFloatingPlacements } from './components/OrFloating-1ff6fef4.js';
|
|
90
90
|
export { F as FormGroupDirection, s as OrFormGroupV3 } from './components/OrFormGroupV3-37b7d9a1.js';
|
|
@@ -5,7 +5,7 @@ import '@vueuse/core';
|
|
|
5
5
|
import { u as usePopoverState } from './usePopoverState-7267fa91.js';
|
|
6
6
|
import '@onereach/styles/screens.json';
|
|
7
7
|
import '@onereach/styles/tailwind.config.json';
|
|
8
|
-
import { _ as __vue_component__$1 } from './OrFilterPopover-
|
|
8
|
+
import { _ as __vue_component__$1 } from './OrFilterPopover-a3bb9348.js';
|
|
9
9
|
import { _ as __vue_component__$2 } from './OrFilterTrigger-1e4aa34c.js';
|
|
10
10
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
11
11
|
|
|
@@ -68,6 +68,10 @@ var script = defineComponent({
|
|
|
68
68
|
type: String,
|
|
69
69
|
default: undefined
|
|
70
70
|
},
|
|
71
|
+
enableDesktopControls: {
|
|
72
|
+
type: Boolean,
|
|
73
|
+
default: false
|
|
74
|
+
},
|
|
71
75
|
offset: {
|
|
72
76
|
type: [Number, Object, Function],
|
|
73
77
|
default: 8
|
|
@@ -157,7 +161,31 @@ var __vue_render__ = function () {
|
|
|
157
161
|
return _vm.reset();
|
|
158
162
|
}
|
|
159
163
|
}
|
|
160
|
-
}, [_vm._v("\n " + _vm._s(_vm.resetLabel) + "\n ")])], 1), _vm._v(" "), _vm._t("default"), _vm._v(" "), _vm._t('actions',
|
|
164
|
+
}, [_vm._v("\n " + _vm._s(_vm.resetLabel) + "\n ")])], 1), _vm._v(" "), _vm._t("default"), _vm._v(" "), _vm._t('actions', function () {
|
|
165
|
+
return [_vm.enableDesktopControls ? _c('div', {
|
|
166
|
+
class: _vm.footerStyles
|
|
167
|
+
}, [_c('OrButton', {
|
|
168
|
+
class: ['grow'],
|
|
169
|
+
attrs: {
|
|
170
|
+
"variant": 'contained'
|
|
171
|
+
},
|
|
172
|
+
on: {
|
|
173
|
+
"click": function ($event) {
|
|
174
|
+
return _vm.apply();
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
}, [_vm._v("\n " + _vm._s(_vm.applyLabel) + "\n ")]), _vm._v(" "), _c('OrButton', {
|
|
178
|
+
class: ['grow'],
|
|
179
|
+
attrs: {
|
|
180
|
+
"variant": 'outlined'
|
|
181
|
+
},
|
|
182
|
+
on: {
|
|
183
|
+
"click": function ($event) {
|
|
184
|
+
return _vm.reset();
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
}, [_vm._v("\n " + _vm._s(_vm.resetLabel) + "\n ")])], 1) : _vm._e()];
|
|
188
|
+
}, null, {
|
|
161
189
|
apply: _vm.apply,
|
|
162
190
|
reset: _vm.reset,
|
|
163
191
|
isDesktop: _vm.isDesktop,
|
|
@@ -56,9 +56,9 @@ export { _ as OrErrorTagV3 } from '../OrErrorTag-fb59988e.js';
|
|
|
56
56
|
export { _ as OrErrorV3 } from '../OrError-b25d782d.js';
|
|
57
57
|
export { b as ExpansionPanelBackgroundColor, a as ExpansionPanelColor, E as ExpansionPanelVariant, _ as OrExpansionPanelV3 } from '../OrExpansionPanel-c10defa5.js';
|
|
58
58
|
export { F as FabColor, _ as OrFabV3 } from '../OrFab-26e22be7.js';
|
|
59
|
-
export { _ as OrFilterPopoverV3 } from '../OrFilterPopover-
|
|
59
|
+
export { _ as OrFilterPopoverV3 } from '../OrFilterPopover-a3bb9348.js';
|
|
60
60
|
export { _ as OrFilterTriggerV3 } from '../OrFilterTrigger-1e4aa34c.js';
|
|
61
|
-
export { _ as OrFilterV3 } from '../OrFilter-
|
|
61
|
+
export { _ as OrFilterV3 } from '../OrFilter-140e4850.js';
|
|
62
62
|
export { _ as OrFloating, a as OrFloatingHideStrategy, O as OrFloatingPlacements } from '../OrFloating-517737ad.js';
|
|
63
63
|
export { F as FormGroupDirection, _ as OrFormGroupV3 } from '../OrFormGroup-f0b30b3b.js';
|
|
64
64
|
export { _ as OrHint } from '../OrHint-7eadc91e.js';
|
|
@@ -30,6 +30,10 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
30
30
|
type: PropType<"none" | "start" | "end" | undefined>;
|
|
31
31
|
default: undefined;
|
|
32
32
|
};
|
|
33
|
+
enableDesktopControls: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
default: boolean;
|
|
36
|
+
};
|
|
33
37
|
offset: {
|
|
34
38
|
type: PropType<PopoverOffset>;
|
|
35
39
|
default: number;
|
|
@@ -76,6 +80,10 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
76
80
|
type: PropType<"none" | "start" | "end" | undefined>;
|
|
77
81
|
default: undefined;
|
|
78
82
|
};
|
|
83
|
+
enableDesktopControls: {
|
|
84
|
+
type: BooleanConstructor;
|
|
85
|
+
default: boolean;
|
|
86
|
+
};
|
|
79
87
|
offset: {
|
|
80
88
|
type: PropType<PopoverOffset>;
|
|
81
89
|
default: number;
|
|
@@ -94,6 +102,7 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
94
102
|
trigger: ReferenceElement;
|
|
95
103
|
placement: "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end";
|
|
96
104
|
fallbackPlacement: "none" | "start" | "end" | undefined;
|
|
105
|
+
enableDesktopControls: boolean;
|
|
97
106
|
offset: PopoverOffset;
|
|
98
107
|
}>;
|
|
99
108
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { _ as OrFilterV3 } from '../../OrFilter-
|
|
1
|
+
export { _ as OrFilterV3 } from '../../OrFilter-140e4850.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import '../../TimeFormat-a7f5565b.js';
|
|
4
4
|
import '../../dom-53c9635b.js';
|
|
@@ -8,7 +8,7 @@ import '@vueuse/core';
|
|
|
8
8
|
import '../../usePopoverState-7267fa91.js';
|
|
9
9
|
import '@onereach/styles/screens.json';
|
|
10
10
|
import '@onereach/styles/tailwind.config.json';
|
|
11
|
-
import '../../OrFilterPopover-
|
|
11
|
+
import '../../OrFilterPopover-a3bb9348.js';
|
|
12
12
|
import '../../useResponsive-491da8c6.js';
|
|
13
13
|
import '../../OrButton-01ca6705.js';
|
|
14
14
|
import '../../OrButton.vue_rollup-plugin-vue_script-0b37151a.js';
|
package/dist/esm/v2/index.js
CHANGED
|
@@ -56,9 +56,9 @@ export { _ as OrErrorTagV3 } from './OrErrorTag-fb59988e.js';
|
|
|
56
56
|
export { _ as OrErrorV3 } from './OrError-b25d782d.js';
|
|
57
57
|
export { b as ExpansionPanelBackgroundColor, a as ExpansionPanelColor, E as ExpansionPanelVariant, _ as OrExpansionPanelV3 } from './OrExpansionPanel-c10defa5.js';
|
|
58
58
|
export { F as FabColor, _ as OrFabV3 } from './OrFab-26e22be7.js';
|
|
59
|
-
export { _ as OrFilterPopoverV3 } from './OrFilterPopover-
|
|
59
|
+
export { _ as OrFilterPopoverV3 } from './OrFilterPopover-a3bb9348.js';
|
|
60
60
|
export { _ as OrFilterTriggerV3 } from './OrFilterTrigger-1e4aa34c.js';
|
|
61
|
-
export { _ as OrFilterV3 } from './OrFilter-
|
|
61
|
+
export { _ as OrFilterV3 } from './OrFilter-140e4850.js';
|
|
62
62
|
export { _ as OrFloating, a as OrFloatingHideStrategy, O as OrFloatingPlacements } from './OrFloating-517737ad.js';
|
|
63
63
|
export { F as FormGroupDirection, _ as OrFormGroupV3 } from './OrFormGroup-f0b30b3b.js';
|
|
64
64
|
export { _ as OrHint } from './OrHint-7eadc91e.js';
|
|
@@ -5,7 +5,7 @@ import '@vueuse/core';
|
|
|
5
5
|
import { u as usePopoverState } from './usePopoverState-7267fa91.js';
|
|
6
6
|
import '@onereach/styles/screens.json';
|
|
7
7
|
import '@onereach/styles/tailwind.config.json';
|
|
8
|
-
import { s as script$1 } from './OrFilterPopover-
|
|
8
|
+
import { s as script$1 } from './OrFilterPopover-28255b45.js';
|
|
9
9
|
import { s as script$2 } from './OrFilterTrigger-7fe3a2dc.js';
|
|
10
10
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createVNode, mergeProps, withCtx, renderSlot, normalizeProps, guardReactiveProps } from 'vue';
|
|
11
11
|
|
|
@@ -67,6 +67,10 @@ var script = defineComponent({
|
|
|
67
67
|
type: String,
|
|
68
68
|
default: undefined
|
|
69
69
|
},
|
|
70
|
+
enableDesktopControls: {
|
|
71
|
+
type: Boolean,
|
|
72
|
+
default: false
|
|
73
|
+
},
|
|
70
74
|
offset: {
|
|
71
75
|
type: [Number, Object, Function],
|
|
72
76
|
default: 8
|
|
@@ -134,7 +138,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
134
138
|
placement: _ctx.placement,
|
|
135
139
|
"fallback-placement": _ctx.fallbackPlacement,
|
|
136
140
|
offset: _ctx.offset,
|
|
137
|
-
"onUpdate:state": _cache[
|
|
141
|
+
"onUpdate:state": _cache[3] || (_cache[3] = $event => $event === 'open' ? _ctx.open() : _ctx.close())
|
|
138
142
|
}, {
|
|
139
143
|
default: withCtx(() => [createElementVNode("div", mergeProps(_ctx.$attrs, {
|
|
140
144
|
ref: 'root',
|
|
@@ -152,12 +156,29 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
152
156
|
reset: _ctx.reset,
|
|
153
157
|
isDesktop: _ctx.isDesktop,
|
|
154
158
|
isMobile: _ctx.isMobile
|
|
155
|
-
}))
|
|
159
|
+
})), () => [_ctx.enableDesktopControls ? (openBlock(), createElementBlock("div", {
|
|
160
|
+
key: 0,
|
|
161
|
+
class: normalizeClass(_ctx.footerStyles)
|
|
162
|
+
}, [createVNode(_component_OrButton, {
|
|
163
|
+
class: normalizeClass(['grow']),
|
|
164
|
+
variant: 'contained',
|
|
165
|
+
onClick: _cache[1] || (_cache[1] = $event => _ctx.apply())
|
|
166
|
+
}, {
|
|
167
|
+
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.applyLabel), 1 /* TEXT */)]),
|
|
168
|
+
_: 1 /* STABLE */
|
|
169
|
+
}), createVNode(_component_OrButton, {
|
|
170
|
+
class: normalizeClass(['grow']),
|
|
171
|
+
variant: 'outlined',
|
|
172
|
+
onClick: _cache[2] || (_cache[2] = $event => _ctx.reset())
|
|
173
|
+
}, {
|
|
174
|
+
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.resetLabel), 1 /* TEXT */)]),
|
|
175
|
+
_: 1 /* STABLE */
|
|
176
|
+
})], 2 /* CLASS */)) : createCommentVNode("v-if", true)])], 16 /* FULL_PROPS */)]),
|
|
156
177
|
_: 3 /* FORWARDED */
|
|
157
178
|
}, 8 /* PROPS */, ["is-open", "trigger", "placement", "fallback-placement", "offset"])) : createCommentVNode("v-if", true), _ctx.isMobile ? (openBlock(), createBlock(_component_OrModal, {
|
|
158
179
|
key: 1,
|
|
159
180
|
"is-open": _ctx.state === 'open',
|
|
160
|
-
"onUpdate:state": _cache[
|
|
181
|
+
"onUpdate:state": _cache[6] || (_cache[6] = $event => $event === 'open' ? _ctx.open() : _ctx.close())
|
|
161
182
|
}, {
|
|
162
183
|
header: withCtx(() => [createTextVNode(toDisplayString(_ctx.title), 1 /* TEXT */)]),
|
|
163
184
|
footer: withCtx(() => [renderSlot(_ctx.$slots, 'actions', normalizeProps(guardReactiveProps({
|
|
@@ -170,14 +191,14 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
170
191
|
}, [createVNode(_component_OrButton, {
|
|
171
192
|
class: normalizeClass(['grow']),
|
|
172
193
|
variant: 'contained',
|
|
173
|
-
onClick: _cache[
|
|
194
|
+
onClick: _cache[4] || (_cache[4] = $event => _ctx.apply())
|
|
174
195
|
}, {
|
|
175
196
|
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.applyLabel), 1 /* TEXT */)]),
|
|
176
197
|
_: 1 /* STABLE */
|
|
177
198
|
}), createVNode(_component_OrButton, {
|
|
178
199
|
class: normalizeClass(['grow']),
|
|
179
200
|
variant: 'outlined',
|
|
180
|
-
onClick: _cache[
|
|
201
|
+
onClick: _cache[5] || (_cache[5] = $event => _ctx.reset())
|
|
181
202
|
}, {
|
|
182
203
|
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.resetLabel), 1 /* TEXT */)]),
|
|
183
204
|
_: 1 /* STABLE */
|
|
@@ -54,9 +54,9 @@ export { s as OrErrorTagV3 } from '../OrErrorTag-94f074a2.js';
|
|
|
54
54
|
export { s as OrErrorV3 } from '../OrError-331220bc.js';
|
|
55
55
|
export { b as ExpansionPanelBackgroundColor, a as ExpansionPanelColor, E as ExpansionPanelVariant, s as OrExpansionPanelV3 } from '../OrExpansionPanel-99c697c1.js';
|
|
56
56
|
export { F as FabColor, s as OrFabV3 } from '../OrFab-f949bf4f.js';
|
|
57
|
-
export { s as OrFilterPopoverV3 } from '../OrFilterPopover-
|
|
57
|
+
export { s as OrFilterPopoverV3 } from '../OrFilterPopover-28255b45.js';
|
|
58
58
|
export { s as OrFilterTriggerV3 } from '../OrFilterTrigger-7fe3a2dc.js';
|
|
59
|
-
export { s as OrFilterV3 } from '../OrFilter-
|
|
59
|
+
export { s as OrFilterV3 } from '../OrFilter-d3b39b0d.js';
|
|
60
60
|
export { s as OrFloating, a as OrFloatingHideStrategy, O as OrFloatingPlacements } from '../OrFloating-00617713.js';
|
|
61
61
|
export { F as FormGroupDirection, s as OrFormGroupV3 } from '../OrFormGroup-45c7904c.js';
|
|
62
62
|
export { s as OrHint } from '../OrHint-8822005b.js';
|
|
@@ -30,6 +30,10 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
30
30
|
type: PropType<"none" | "start" | "end" | undefined>;
|
|
31
31
|
default: undefined;
|
|
32
32
|
};
|
|
33
|
+
enableDesktopControls: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
default: boolean;
|
|
36
|
+
};
|
|
33
37
|
offset: {
|
|
34
38
|
type: PropType<PopoverOffset>;
|
|
35
39
|
default: number;
|
|
@@ -76,6 +80,10 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
76
80
|
type: PropType<"none" | "start" | "end" | undefined>;
|
|
77
81
|
default: undefined;
|
|
78
82
|
};
|
|
83
|
+
enableDesktopControls: {
|
|
84
|
+
type: BooleanConstructor;
|
|
85
|
+
default: boolean;
|
|
86
|
+
};
|
|
79
87
|
offset: {
|
|
80
88
|
type: PropType<PopoverOffset>;
|
|
81
89
|
default: number;
|
|
@@ -94,6 +102,7 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
94
102
|
trigger: ReferenceElement;
|
|
95
103
|
placement: "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end";
|
|
96
104
|
fallbackPlacement: "none" | "start" | "end" | undefined;
|
|
105
|
+
enableDesktopControls: boolean;
|
|
97
106
|
offset: PopoverOffset;
|
|
98
107
|
}>;
|
|
99
108
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { s as OrFilterV3 } from '../../OrFilter-
|
|
1
|
+
export { s as OrFilterV3 } from '../../OrFilter-d3b39b0d.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import '../../TimeFormat-a7f5565b.js';
|
|
4
4
|
import '../../dom-53c9635b.js';
|
|
@@ -8,7 +8,7 @@ import '@vueuse/core';
|
|
|
8
8
|
import '../../usePopoverState-7267fa91.js';
|
|
9
9
|
import '@onereach/styles/screens.json';
|
|
10
10
|
import '@onereach/styles/tailwind.config.json';
|
|
11
|
-
import '../../OrFilterPopover-
|
|
11
|
+
import '../../OrFilterPopover-28255b45.js';
|
|
12
12
|
import '../../useResponsive-491da8c6.js';
|
|
13
13
|
import '../../OrButton-9154d1be.js';
|
|
14
14
|
import '../../OrLoader-472e965e.js';
|
package/dist/esm/v3/index.js
CHANGED
|
@@ -54,9 +54,9 @@ export { s as OrErrorTagV3 } from './OrErrorTag-94f074a2.js';
|
|
|
54
54
|
export { s as OrErrorV3 } from './OrError-331220bc.js';
|
|
55
55
|
export { b as ExpansionPanelBackgroundColor, a as ExpansionPanelColor, E as ExpansionPanelVariant, s as OrExpansionPanelV3 } from './OrExpansionPanel-99c697c1.js';
|
|
56
56
|
export { F as FabColor, s as OrFabV3 } from './OrFab-f949bf4f.js';
|
|
57
|
-
export { s as OrFilterPopoverV3 } from './OrFilterPopover-
|
|
57
|
+
export { s as OrFilterPopoverV3 } from './OrFilterPopover-28255b45.js';
|
|
58
58
|
export { s as OrFilterTriggerV3 } from './OrFilterTrigger-7fe3a2dc.js';
|
|
59
|
-
export { s as OrFilterV3 } from './OrFilter-
|
|
59
|
+
export { s as OrFilterV3 } from './OrFilter-d3b39b0d.js';
|
|
60
60
|
export { s as OrFloating, a as OrFloatingHideStrategy, O as OrFloatingPlacements } from './OrFloating-00617713.js';
|
|
61
61
|
export { F as FormGroupDirection, s as OrFormGroupV3 } from './OrFormGroup-45c7904c.js';
|
|
62
62
|
export { s as OrHint } from './OrHint-8822005b.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onereach/ui-components",
|
|
3
|
-
"version": "17.
|
|
3
|
+
"version": "17.3.0-beta.4891.0",
|
|
4
4
|
"npmUnpacked": "4.15.2",
|
|
5
5
|
"description": "Vue components library for v2/3",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"@codemirror/lang-json": "6.0.1",
|
|
41
41
|
"@codemirror/lang-markdown": "6.1.1",
|
|
42
42
|
"@floating-ui/dom": "1.5.3",
|
|
43
|
-
"@onereach/styles": "^17.
|
|
43
|
+
"@onereach/styles": "^17.3.0-beta.4891.0",
|
|
44
44
|
"@splidejs/splide": "4.0.6",
|
|
45
45
|
"@tiptap/core": "2.0.3",
|
|
46
46
|
"@tiptap/extension-blockquote": "2.0.3",
|
|
@@ -179,6 +179,5 @@
|
|
|
179
179
|
"default": "./dist/bundled/v3/components/*/index.js"
|
|
180
180
|
},
|
|
181
181
|
"./package.json": "./package.json"
|
|
182
|
-
}
|
|
183
|
-
"gitHead": "38ac2e816cf061627046041fa96f7a489f342d4d"
|
|
182
|
+
}
|
|
184
183
|
}
|
|
@@ -33,7 +33,28 @@
|
|
|
33
33
|
<slot
|
|
34
34
|
v-bind="{ apply, reset, isDesktop, isMobile }"
|
|
35
35
|
:name="'actions'"
|
|
36
|
-
|
|
36
|
+
>
|
|
37
|
+
<div
|
|
38
|
+
v-if="enableDesktopControls"
|
|
39
|
+
:class="footerStyles"
|
|
40
|
+
>
|
|
41
|
+
<OrButton
|
|
42
|
+
:class="['grow']"
|
|
43
|
+
:variant="'contained'"
|
|
44
|
+
@click="apply()"
|
|
45
|
+
>
|
|
46
|
+
{{ applyLabel }}
|
|
47
|
+
</OrButton>
|
|
48
|
+
|
|
49
|
+
<OrButton
|
|
50
|
+
:class="['grow']"
|
|
51
|
+
:variant="'outlined'"
|
|
52
|
+
@click="reset()"
|
|
53
|
+
>
|
|
54
|
+
{{ resetLabel }}
|
|
55
|
+
</OrButton>
|
|
56
|
+
</div>
|
|
57
|
+
</slot>
|
|
37
58
|
</div>
|
|
38
59
|
</OrPopover>
|
|
39
60
|
</template>
|
|
@@ -140,6 +161,11 @@ export default defineComponent({
|
|
|
140
161
|
default: undefined,
|
|
141
162
|
},
|
|
142
163
|
|
|
164
|
+
enableDesktopControls: {
|
|
165
|
+
type: Boolean,
|
|
166
|
+
default: false,
|
|
167
|
+
},
|
|
168
|
+
|
|
143
169
|
offset: {
|
|
144
170
|
type: [Number, Object, Function] as PropType<PopoverOffset>,
|
|
145
171
|
default: 8,
|