@onereach/ui-components 2.69.5-beta.2145.0 → 2.69.5-beta.2156.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/{OrCardCollection-c4209a92.js → OrCardCollection-0a99b05d.js} +9 -13
- package/dist/bundled/v2/{OrConfirm-cab6535b.js → OrConfirm-598e1e5f.js} +1 -1
- package/dist/bundled/v2/{OrInput-8b90e08f.js → OrInput-dd24c12a.js} +18 -11
- package/dist/bundled/v2/{OrInputBox-79ec54ad.js → OrInputBox-dfdcbdce.js} +4 -14
- package/dist/bundled/v2/{OrSearch-76b002cf.js → OrSearch-57e32e96.js} +3 -3
- package/dist/bundled/v2/{OrSelect-b20a9be0.js → OrSelect-e9664990.js} +8 -2
- package/dist/bundled/v2/{OrTextarea-5593fbe9.js → OrTextarea-ff2ba975.js} +2 -1
- package/dist/bundled/v2/components/index.js +8 -7
- package/dist/bundled/v2/components/or-card-collection-v3/OrCardCollection.stories3.d.ts +0 -5
- package/dist/bundled/v2/components/or-card-collection-v3/OrCardCollection.vue.d.ts +0 -22
- package/dist/bundled/v2/components/or-card-collection-v3/index.js +5 -4
- package/dist/bundled/v2/components/or-combined-input-v3/OrCombinedInput.stories3.d.ts +27 -0
- package/dist/bundled/v2/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +98 -0
- package/dist/bundled/v2/components/or-combined-input-v3/index.d.ts +2 -0
- package/dist/bundled/v2/components/or-combined-input-v3/index.js +149 -0
- package/dist/bundled/v2/components/or-combined-input-v3/props.d.ts +1 -0
- package/dist/bundled/v2/components/or-combined-input-v3/styles.d.ts +2 -0
- package/dist/bundled/v2/components/or-confirm-v3/index.js +4 -3
- package/dist/bundled/v2/components/or-input-box-v3/index.js +2 -1
- package/dist/bundled/v2/components/or-input-v3/index.js +3 -2
- package/dist/bundled/v2/components/or-search-v3/OrSearch.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-search-v3/index.js +4 -3
- package/dist/bundled/v2/components/or-select-v3/OrSelect.vue.d.ts +11 -0
- package/dist/bundled/v2/components/or-select-v3/index.js +4 -3
- package/dist/bundled/v2/components/or-textarea-v3/index.js +3 -2
- package/dist/bundled/v2/index.js +9 -8
- package/dist/bundled/v2/props-78496a2d.js +12 -0
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-9a2ae9a3.js → OrCardCollection.vue_vue_type_script_lang-7ea6bb76.js} +2 -10
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-f57ffa1a.js → OrConfirm.vue_vue_type_script_lang-a4f3eba0.js} +2 -2
- package/dist/bundled/v3/{OrInput-fa782fc1.js → OrInput-df58f2a6.js} +17 -14
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-f6d793d3.js → OrInput.vue_vue_type_script_lang-a9f3e530.js} +3 -2
- package/dist/bundled/v3/{OrInputBox-eb54d73d.js → OrInputBox-1b143e00.js} +1 -1
- package/dist/{esm/v2/OrInputBox-4d5a318d.js → bundled/v3/OrInputBox.vue_vue_type_script_lang-70dec655.js} +6 -57
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-014ad470.js → OrSearch.vue_vue_type_script_lang-3ca575f7.js} +4 -4
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-15285ce4.js → OrSelect.vue_vue_type_script_lang-034fc4a9.js} +9 -4
- package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-8e3531cd.js → OrTextarea.vue_vue_type_script_lang-115a1244.js} +3 -2
- package/dist/bundled/v3/components/index.js +10 -9
- package/dist/bundled/v3/components/or-card-collection-v3/OrCardCollection.stories3.d.ts +0 -5
- package/dist/bundled/v3/components/or-card-collection-v3/OrCardCollection.vue.d.ts +0 -22
- package/dist/bundled/v3/components/or-card-collection-v3/index.js +7 -6
- package/dist/bundled/v3/components/or-combined-input-v3/OrCombinedInput.stories3.d.ts +27 -0
- package/dist/bundled/v3/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +98 -0
- package/dist/bundled/v3/components/or-combined-input-v3/index.d.ts +2 -0
- package/dist/bundled/v3/components/or-combined-input-v3/index.js +132 -0
- package/dist/bundled/v3/components/or-combined-input-v3/props.d.ts +1 -0
- package/dist/bundled/v3/components/or-combined-input-v3/styles.d.ts +2 -0
- package/dist/bundled/v3/components/or-confirm-v3/index.js +6 -5
- package/dist/bundled/v3/components/or-input-box-v3/index.js +2 -1
- package/dist/bundled/v3/components/or-input-v3/index.js +4 -3
- package/dist/bundled/v3/components/or-search-v3/OrSearch.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-search-v3/index.js +6 -5
- package/dist/bundled/v3/components/or-select-v3/OrSelect.vue.d.ts +11 -0
- package/dist/bundled/v3/components/or-select-v3/index.js +6 -5
- package/dist/bundled/v3/components/or-textarea-v3/index.js +4 -3
- package/dist/bundled/v3/index.js +20 -19
- package/dist/bundled/v3/props-78496a2d.js +12 -0
- package/dist/esm/v2/{OrCardCollection-57d11adf.js → OrCardCollection-4a0a900c.js} +10 -14
- package/dist/esm/v2/{OrConfirm-ec7aef0e.js → OrConfirm-7c909593.js} +1 -1
- package/dist/esm/v2/{OrInput-2f16a7ac.js → OrInput-3a7666e1.js} +18 -11
- package/dist/esm/v2/OrInputBox-ad7c1875.js +43 -0
- package/dist/{bundled/v3/OrInputBox.vue_vue_type_script_lang-5ee4ee45.js → esm/v2/OrInputBox.vue_rollup-plugin-vue_script-52a54a49.js} +5 -4
- package/dist/esm/v2/{OrSearch-2f260b09.js → OrSearch-618e649d.js} +3 -3
- package/dist/esm/v2/{OrSelect-f0ff5a85.js → OrSelect-913f4a40.js} +8 -2
- package/dist/esm/v2/{OrTextarea-6712a150.js → OrTextarea-823d0529.js} +2 -1
- package/dist/esm/v2/components/index.js +8 -7
- package/dist/esm/v2/components/or-card-collection-v3/OrCardCollection.stories3.d.ts +0 -5
- package/dist/esm/v2/components/or-card-collection-v3/OrCardCollection.vue.d.ts +0 -22
- package/dist/esm/v2/components/or-card-collection-v3/index.js +5 -4
- package/dist/esm/v2/components/or-combined-input-v3/OrCombinedInput.stories3.d.ts +27 -0
- package/dist/esm/v2/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +98 -0
- package/dist/esm/v2/components/or-combined-input-v3/index.d.ts +2 -0
- package/dist/esm/v2/components/or-combined-input-v3/index.js +147 -0
- package/dist/esm/v2/components/or-combined-input-v3/props.d.ts +1 -0
- package/dist/esm/v2/components/or-combined-input-v3/styles.d.ts +2 -0
- package/dist/esm/v2/components/or-confirm-v3/index.js +4 -3
- package/dist/esm/v2/components/or-input-box-v3/index.js +3 -2
- package/dist/esm/v2/components/or-input-v3/index.js +3 -2
- package/dist/esm/v2/components/or-search-v3/OrSearch.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-search-v3/index.js +4 -3
- package/dist/esm/v2/components/or-select-v3/OrSelect.vue.d.ts +11 -0
- package/dist/esm/v2/components/or-select-v3/index.js +4 -3
- package/dist/esm/v2/components/or-textarea-v3/index.js +3 -2
- package/dist/esm/v2/index.js +8 -7
- package/dist/esm/v3/{OrCardCollection-2a6514f3.js → OrCardCollection-aa3bde6c.js} +6 -15
- package/dist/esm/v3/{OrConfirm-5d56cbd3.js → OrConfirm-3c91a2b3.js} +1 -1
- package/dist/esm/v3/{OrInput-41691fb3.js → OrInput-5c1c2041.js} +17 -14
- package/dist/esm/v3/{OrInputBox-5247ab25.js → OrInputBox-36c102a4.js} +2 -2
- package/dist/esm/v3/{OrSearch-e5a2e93e.js → OrSearch-1d73323d.js} +3 -3
- package/dist/esm/v3/{OrSelect-7e813982.js → OrSelect-22e551f2.js} +8 -3
- package/dist/esm/v3/{OrTextarea-bb9ef3f2.js → OrTextarea-b3ecc40d.js} +1 -1
- package/dist/esm/v3/components/index.js +7 -7
- package/dist/esm/v3/components/or-card-collection-v3/OrCardCollection.stories3.d.ts +0 -5
- package/dist/esm/v3/components/or-card-collection-v3/OrCardCollection.vue.d.ts +0 -22
- package/dist/esm/v3/components/or-card-collection-v3/index.js +4 -4
- package/dist/esm/v3/components/or-combined-input-v3/OrCombinedInput.stories3.d.ts +27 -0
- package/dist/esm/v3/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +98 -0
- package/dist/esm/v3/components/or-combined-input-v3/index.d.ts +2 -0
- package/dist/esm/v3/components/or-combined-input-v3/index.js +132 -0
- package/dist/esm/v3/components/or-combined-input-v3/props.d.ts +1 -0
- package/dist/esm/v3/components/or-combined-input-v3/styles.d.ts +2 -0
- package/dist/esm/v3/components/or-confirm-v3/index.js +3 -3
- package/dist/esm/v3/components/or-input-box-v3/index.js +1 -1
- package/dist/esm/v3/components/or-input-v3/index.js +2 -2
- package/dist/esm/v3/components/or-search-v3/OrSearch.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-search-v3/index.js +3 -3
- package/dist/esm/v3/components/or-select-v3/OrSelect.vue.d.ts +11 -0
- package/dist/esm/v3/components/or-select-v3/index.js +3 -3
- package/dist/esm/v3/components/or-textarea-v3/index.js +2 -2
- package/dist/esm/v3/index.js +7 -7
- package/package.json +2 -2
- package/src/components/or-card-collection-v3/OrCardCollection.stories3.ts +0 -16
- package/src/components/or-card-collection-v3/OrCardCollection.vue +1 -13
- package/src/components/or-card-collection-v3/styles.ts +1 -3
- package/src/components/or-combined-input-v3/OrCombinedInput.docs.mdx +7 -0
- package/src/components/or-combined-input-v3/OrCombinedInput.stories3.ts +202 -0
- package/src/components/or-combined-input-v3/OrCombinedInput.vue +134 -0
- package/src/components/or-combined-input-v3/index.ts +2 -0
- package/src/components/or-combined-input-v3/props.ts +1 -0
- package/src/components/or-combined-input-v3/styles.ts +25 -0
- package/src/components/or-input-box-v3/styles.ts +3 -3
- package/src/components/or-input-v3/OrInput.vue +28 -22
- package/src/components/or-search-v3/OrSearch.stories3.ts +1 -1
- package/src/components/or-search-v3/OrSearch.vue +1 -1
- package/src/components/or-select-v3/OrSelect.stories3.ts +4 -0
- package/src/components/or-select-v3/OrSelect.vue +6 -0
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
|
+
import { u as useClassAttribute } from '../../useClassAttribute-47fdb016.js';
|
|
3
|
+
import '@vueuse/core';
|
|
4
|
+
import { _ as __vue_component__$1 } from '../../OrError-d267ee9a.js';
|
|
5
|
+
import { _ as __vue_component__$2 } from '../../OrHint-42dc9ebb.js';
|
|
6
|
+
import { _ as __vue_component__$3 } from '../../OrLabel-2a9f1477.js';
|
|
7
|
+
import { a as InputBoxSize } from '../../OrInputBox.vue_rollup-plugin-vue_script-52a54a49.js';
|
|
8
|
+
export { a as CombinedInputSize } from '../../OrInputBox.vue_rollup-plugin-vue_script-52a54a49.js';
|
|
9
|
+
import { n as normalizeComponent } from '../../normalize-component-6e8e3d80.js';
|
|
10
|
+
|
|
11
|
+
const CombinedInputRoot = [
|
|
12
|
+
// Layout
|
|
13
|
+
'layout-column',
|
|
14
|
+
// Spacing
|
|
15
|
+
'gap-xs'];
|
|
16
|
+
const CombinedInputControlGroup = [
|
|
17
|
+
// Layout
|
|
18
|
+
'layout-row',
|
|
19
|
+
// Box
|
|
20
|
+
'w-full',
|
|
21
|
+
// Shape (.or-input-box)
|
|
22
|
+
'[&_.or-input-box]:first-child:rounded-r-none', '[&_.or-input-box]:intermediate-child:rounded-none', '[&_.or-input-box]:last-child:rounded-l-none',
|
|
23
|
+
// Spacing (.or-input-box)
|
|
24
|
+
'[&_.or-input-box]:first-child:mr-[-1px]', '[&_.or-input-box]:intermediate-child:border-x-0', '[&_.or-input-box]:last-child:ml-[-1px]'];
|
|
25
|
+
|
|
26
|
+
var script = defineComponent({
|
|
27
|
+
name: 'OrCombinedInput',
|
|
28
|
+
components: {
|
|
29
|
+
OrError: __vue_component__$1,
|
|
30
|
+
OrHint: __vue_component__$2,
|
|
31
|
+
OrLabel: __vue_component__$3
|
|
32
|
+
},
|
|
33
|
+
inheritAttrs: false,
|
|
34
|
+
props: {
|
|
35
|
+
size: {
|
|
36
|
+
type: String,
|
|
37
|
+
default: InputBoxSize.M
|
|
38
|
+
},
|
|
39
|
+
label: {
|
|
40
|
+
type: String,
|
|
41
|
+
default: undefined
|
|
42
|
+
},
|
|
43
|
+
hint: {
|
|
44
|
+
type: String,
|
|
45
|
+
default: undefined
|
|
46
|
+
},
|
|
47
|
+
error: {
|
|
48
|
+
type: String,
|
|
49
|
+
default: undefined
|
|
50
|
+
},
|
|
51
|
+
required: {
|
|
52
|
+
type: Boolean,
|
|
53
|
+
default: false
|
|
54
|
+
},
|
|
55
|
+
disabled: {
|
|
56
|
+
type: Boolean,
|
|
57
|
+
default: false
|
|
58
|
+
},
|
|
59
|
+
disableDefaultStyles: {
|
|
60
|
+
type: Boolean,
|
|
61
|
+
default: false
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
setup(props, context) {
|
|
65
|
+
// Refs
|
|
66
|
+
const root = ref();
|
|
67
|
+
// Styles
|
|
68
|
+
const classAttribute = useClassAttribute();
|
|
69
|
+
const rootStyles = computed(() => ['or-combined-input', ...CombinedInputRoot, classAttribute.value]);
|
|
70
|
+
const controlGroup = computed(() => [...CombinedInputControlGroup]);
|
|
71
|
+
// State
|
|
72
|
+
const invalid = computed(() => !!props.error);
|
|
73
|
+
const readonly = computed(() => context.attrs.readonly);
|
|
74
|
+
return {
|
|
75
|
+
root,
|
|
76
|
+
rootStyles,
|
|
77
|
+
controlGroup,
|
|
78
|
+
invalid,
|
|
79
|
+
readonly
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
});
|
|
83
|
+
|
|
84
|
+
/* script */
|
|
85
|
+
const __vue_script__ = script;
|
|
86
|
+
|
|
87
|
+
/* template */
|
|
88
|
+
var __vue_render__ = function () {
|
|
89
|
+
var _vm = this;
|
|
90
|
+
var _h = _vm.$createElement;
|
|
91
|
+
var _c = _vm._self._c || _h;
|
|
92
|
+
return _c('div', _vm._b({
|
|
93
|
+
ref: "root",
|
|
94
|
+
class: _vm.rootStyles
|
|
95
|
+
}, 'div', _vm.$attrs, false), [_vm.label ? [_c('OrLabel', {
|
|
96
|
+
attrs: {
|
|
97
|
+
"variant": 'input',
|
|
98
|
+
"required": _vm.required,
|
|
99
|
+
"disabled": _vm.disabled
|
|
100
|
+
},
|
|
101
|
+
scopedSlots: _vm._u([{
|
|
102
|
+
key: "addon",
|
|
103
|
+
fn: function () {
|
|
104
|
+
return [_vm._t("addon")];
|
|
105
|
+
},
|
|
106
|
+
proxy: true
|
|
107
|
+
}], null, true)
|
|
108
|
+
}, [_vm._v("\n " + _vm._s(_vm.label) + "\n\n ")])] : _vm._e(), _vm._v(" "), _c('div', {
|
|
109
|
+
class: _vm.controlGroup
|
|
110
|
+
}, [_vm._t("default", null, {
|
|
111
|
+
"size": _vm.size,
|
|
112
|
+
"required": _vm.required,
|
|
113
|
+
"readonly": _vm.readonly,
|
|
114
|
+
"disabled": _vm.disabled,
|
|
115
|
+
"disableDefaultStyles": _vm.disableDefaultStyles
|
|
116
|
+
})], 2), _vm._v(" "), !_vm.invalid ? [_vm.hint ? [_c('OrHint', {
|
|
117
|
+
attrs: {
|
|
118
|
+
"disabled": _vm.disabled
|
|
119
|
+
}
|
|
120
|
+
}, [_vm._v("\n " + _vm._s(_vm.hint) + "\n ")])] : _vm._e()] : [_c('OrError', {
|
|
121
|
+
attrs: {
|
|
122
|
+
"disabled": _vm.disabled
|
|
123
|
+
}
|
|
124
|
+
}, [_vm._v("\n " + _vm._s(_vm.error) + "\n ")])]], 2);
|
|
125
|
+
};
|
|
126
|
+
var __vue_staticRenderFns__ = [];
|
|
127
|
+
|
|
128
|
+
/* style */
|
|
129
|
+
const __vue_inject_styles__ = undefined;
|
|
130
|
+
/* scoped */
|
|
131
|
+
const __vue_scope_id__ = undefined;
|
|
132
|
+
/* module identifier */
|
|
133
|
+
const __vue_module_identifier__ = undefined;
|
|
134
|
+
/* functional template */
|
|
135
|
+
const __vue_is_functional_template__ = false;
|
|
136
|
+
/* style inject */
|
|
137
|
+
|
|
138
|
+
/* style inject SSR */
|
|
139
|
+
|
|
140
|
+
/* style inject shadow dom */
|
|
141
|
+
|
|
142
|
+
const __vue_component__ = /*#__PURE__*/normalizeComponent({
|
|
143
|
+
render: __vue_render__,
|
|
144
|
+
staticRenderFns: __vue_staticRenderFns__
|
|
145
|
+
}, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);
|
|
146
|
+
|
|
147
|
+
export { __vue_component__ as OrCombinedInputV3 };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { InputBoxSize as CombinedInputSize } from '../or-input-box-v3';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as ConfirmType, _ as OrConfirmV3 } from '../../OrConfirm-
|
|
1
|
+
export { C as ConfirmType, _ as OrConfirmV3 } from '../../OrConfirm-7c909593.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import '../../OrButton-357e1e2c.js';
|
|
4
4
|
import '../../useClassAttribute-47fdb016.js';
|
|
@@ -9,7 +9,7 @@ import '../../OrOverlay-18ba2dc6.js';
|
|
|
9
9
|
import '../../useElevation-31bfe1f6.js';
|
|
10
10
|
import '../../OrTeleport.vue2-fb92f29f.js';
|
|
11
11
|
import 'portal-vue';
|
|
12
|
-
import '../../OrInput-
|
|
12
|
+
import '../../OrInput-3a7666e1.js';
|
|
13
13
|
import '../../OrError-d267ee9a.js';
|
|
14
14
|
import '../../OrHint-42dc9ebb.js';
|
|
15
15
|
import '../../OrIconButton-e17e4944.js';
|
|
@@ -19,7 +19,8 @@ import '../../OrPopover-9bafbdb4.js';
|
|
|
19
19
|
import '@floating-ui/dom';
|
|
20
20
|
import '../../useResponsive-a02e95b7.js';
|
|
21
21
|
import '../../OrBottomSheet-16c2e610.js';
|
|
22
|
-
import '../../OrInputBox-
|
|
22
|
+
import '../../OrInputBox-ad7c1875.js';
|
|
23
|
+
import '../../OrInputBox.vue_rollup-plugin-vue_script-52a54a49.js';
|
|
23
24
|
import '../../OrLabel-2a9f1477.js';
|
|
24
25
|
import '../../browser-82dea9ed.js';
|
|
25
26
|
import '@vueuse/math';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { _ as OrInputBoxV3 } from '../../OrInputBox-ad7c1875.js';
|
|
2
|
+
export { a as InputBoxSize, I as InputBoxVariant } from '../../OrInputBox.vue_rollup-plugin-vue_script-52a54a49.js';
|
|
3
|
+
import '../../normalize-component-6e8e3d80.js';
|
|
2
4
|
import 'vue-demi';
|
|
3
5
|
import '../../useClassAttribute-47fdb016.js';
|
|
4
6
|
import '@vueuse/core';
|
|
5
|
-
import '../../normalize-component-6e8e3d80.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { I as InputType, _ as OrInputV3 } from '../../OrInput-
|
|
2
|
-
export { a as InputSize } from '../../OrInputBox-
|
|
1
|
+
export { I as InputType, _ as OrInputV3 } from '../../OrInput-3a7666e1.js';
|
|
2
|
+
export { a as InputSize } from '../../OrInputBox.vue_rollup-plugin-vue_script-52a54a49.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../../useClassAttribute-47fdb016.js';
|
|
5
5
|
import '@vueuse/core';
|
|
@@ -17,5 +17,6 @@ import '../../OrBottomSheet-16c2e610.js';
|
|
|
17
17
|
import '../../OrOverlay-18ba2dc6.js';
|
|
18
18
|
import '../../OrTeleport.vue2-fb92f29f.js';
|
|
19
19
|
import 'portal-vue';
|
|
20
|
+
import '../../OrInputBox-ad7c1875.js';
|
|
20
21
|
import '../../OrLabel-2a9f1477.js';
|
|
21
22
|
import '../../browser-82dea9ed.js';
|
|
@@ -22,7 +22,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
22
22
|
};
|
|
23
23
|
placeholder: {
|
|
24
24
|
type: StringConstructor;
|
|
25
|
-
default:
|
|
25
|
+
default: undefined;
|
|
26
26
|
};
|
|
27
27
|
debounce: {
|
|
28
28
|
type: NumberConstructor;
|
|
@@ -48,7 +48,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
48
48
|
};
|
|
49
49
|
placeholder: {
|
|
50
50
|
type: StringConstructor;
|
|
51
|
-
default:
|
|
51
|
+
default: undefined;
|
|
52
52
|
};
|
|
53
53
|
debounce: {
|
|
54
54
|
type: NumberConstructor;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { _ as OrSearchV3 } from '../../OrSearch-
|
|
2
|
-
export { a as SearchSize } from '../../OrInputBox-
|
|
1
|
+
export { _ as OrSearchV3 } from '../../OrSearch-618e649d.js';
|
|
2
|
+
export { a as SearchSize } from '../../OrInputBox.vue_rollup-plugin-vue_script-52a54a49.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '@vueuse/core';
|
|
5
5
|
import '../../useClassAttribute-47fdb016.js';
|
|
6
|
-
import '../../OrInput-
|
|
6
|
+
import '../../OrInput-3a7666e1.js';
|
|
7
7
|
import '../../OrError-d267ee9a.js';
|
|
8
8
|
import '../../normalize-component-6e8e3d80.js';
|
|
9
9
|
import '../../OrHint-42dc9ebb.js';
|
|
@@ -18,5 +18,6 @@ import '../../OrBottomSheet-16c2e610.js';
|
|
|
18
18
|
import '../../OrOverlay-18ba2dc6.js';
|
|
19
19
|
import '../../OrTeleport.vue2-fb92f29f.js';
|
|
20
20
|
import 'portal-vue';
|
|
21
|
+
import '../../OrInputBox-ad7c1875.js';
|
|
21
22
|
import '../../OrLabel-2a9f1477.js';
|
|
22
23
|
import '../../browser-82dea9ed.js';
|
|
@@ -88,6 +88,10 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
88
88
|
type: BooleanConstructor;
|
|
89
89
|
default: boolean;
|
|
90
90
|
};
|
|
91
|
+
disableDefaultStyles: {
|
|
92
|
+
type: BooleanConstructor;
|
|
93
|
+
default: boolean;
|
|
94
|
+
};
|
|
91
95
|
enableSearch: {
|
|
92
96
|
type: BooleanConstructor;
|
|
93
97
|
default: boolean;
|
|
@@ -153,6 +157,10 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
153
157
|
type: BooleanConstructor;
|
|
154
158
|
default: boolean;
|
|
155
159
|
};
|
|
160
|
+
disableDefaultStyles: {
|
|
161
|
+
type: BooleanConstructor;
|
|
162
|
+
default: boolean;
|
|
163
|
+
};
|
|
156
164
|
enableSearch: {
|
|
157
165
|
type: BooleanConstructor;
|
|
158
166
|
default: boolean;
|
|
@@ -182,6 +190,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
182
190
|
error: string;
|
|
183
191
|
required: boolean;
|
|
184
192
|
disabled: boolean;
|
|
193
|
+
disableDefaultStyles: boolean;
|
|
185
194
|
enableSearch: boolean;
|
|
186
195
|
searchFunction: SelectSearchFunction;
|
|
187
196
|
groupByFunction: SelectGroupByFunction;
|
|
@@ -239,6 +248,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
239
248
|
error: string;
|
|
240
249
|
required: boolean;
|
|
241
250
|
disabled: boolean;
|
|
251
|
+
disableDefaultStyles: boolean;
|
|
242
252
|
enableSearch: boolean;
|
|
243
253
|
searchFunction: SelectSearchFunction;
|
|
244
254
|
groupByFunction: SelectGroupByFunction;
|
|
@@ -258,6 +268,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
258
268
|
error: string;
|
|
259
269
|
required: boolean;
|
|
260
270
|
disabled: boolean;
|
|
271
|
+
disableDefaultStyles: boolean;
|
|
261
272
|
enableSearch: boolean;
|
|
262
273
|
searchFunction: SelectSearchFunction;
|
|
263
274
|
groupByFunction: SelectGroupByFunction;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { _ as OrSelectV3 } from '../../OrSelect-
|
|
2
|
-
export { a as SelectSize } from '../../OrInputBox-
|
|
1
|
+
export { _ as OrSelectV3 } from '../../OrSelect-913f4a40.js';
|
|
2
|
+
export { a as SelectSize } from '../../OrInputBox.vue_rollup-plugin-vue_script-52a54a49.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../../dropdown-open-0d314aa4.js';
|
|
5
5
|
import '../../useClassAttribute-47fdb016.js';
|
|
@@ -13,7 +13,8 @@ import '../../OrError-d267ee9a.js';
|
|
|
13
13
|
import '../../OrExpansionPanel-968ddc61.js';
|
|
14
14
|
import '../../OrIcon-5e394c62.js';
|
|
15
15
|
import '../../OrHint-42dc9ebb.js';
|
|
16
|
-
import '../../
|
|
16
|
+
import '../../OrInputBox-ad7c1875.js';
|
|
17
|
+
import '../../OrInput-3a7666e1.js';
|
|
17
18
|
import '../../OrIconButton-e17e4944.js';
|
|
18
19
|
import '../../OrTooltip-513bee30.js';
|
|
19
20
|
import '../../OrPopover-9bafbdb4.js';
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
export { _ as OrTextareaV3 } from '../../OrTextarea-
|
|
2
|
-
export { a as TextareaSize } from '../../OrInputBox-
|
|
1
|
+
export { _ as OrTextareaV3 } from '../../OrTextarea-823d0529.js';
|
|
2
|
+
export { a as TextareaSize } from '../../OrInputBox.vue_rollup-plugin-vue_script-52a54a49.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../../useClassAttribute-47fdb016.js';
|
|
5
5
|
import '@vueuse/core';
|
|
6
6
|
import '../../OrError-d267ee9a.js';
|
|
7
7
|
import '../../normalize-component-6e8e3d80.js';
|
|
8
8
|
import '../../OrHint-42dc9ebb.js';
|
|
9
|
+
import '../../OrInputBox-ad7c1875.js';
|
|
9
10
|
import '../../OrLabel-2a9f1477.js';
|
|
10
11
|
import '../../browser-82dea9ed.js';
|
package/dist/esm/v2/index.js
CHANGED
|
@@ -8,7 +8,7 @@ export { a as BUTTON_COLOR, c as BUTTON_LOADER_TYPE, b as BUTTON_SIZE, B as BUTT
|
|
|
8
8
|
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, _ as OrButtonV3 } from './OrButton-357e1e2c.js';
|
|
9
9
|
export { _ as OrCard } from './OrCard-b7268256.js';
|
|
10
10
|
export { C as CARD_COLLECTION_LAYOUT, _ as OrCardCollection } from './OrCardCollection-f6b07557.js';
|
|
11
|
-
export { D as DefaultCardCollectionViews, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-
|
|
11
|
+
export { D as DefaultCardCollectionViews, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-4a0a900c.js';
|
|
12
12
|
export { _ as OrCardV3 } from './OrCard-de799db0.js';
|
|
13
13
|
export { a as OrCarousel, _ as OrCarouselItem } from './OrCarouselItem-4e2cf3d8.js';
|
|
14
14
|
export { _ as OrCheckbox } from './OrCheckbox-915f1f0a.js';
|
|
@@ -19,7 +19,7 @@ export { _ as OrCode, O as OrCodeLanguages } from './OrCode-41dd5f9b.js';
|
|
|
19
19
|
export { _ as OrCollapse } from './OrCollapse-4d892ca3.js';
|
|
20
20
|
export { _ 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-75abefdd.js';
|
|
21
21
|
export { _ as OrConfirm } from './OrConfirm-d7112dd3.js';
|
|
22
|
-
export { C as ConfirmType, _ as OrConfirmV3 } from './OrConfirm-
|
|
22
|
+
export { C as ConfirmType, _ as OrConfirmV3 } from './OrConfirm-7c909593.js';
|
|
23
23
|
export { D as DEFAULT_TEXT, _ as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from './OrDateTimePicker-349df9b2.js';
|
|
24
24
|
export { _ as OrError } from './OrError-081130bb.js';
|
|
25
25
|
export { _ as OrErrorTagV3 } from './OrErrorTag-782dd714.js';
|
|
@@ -36,8 +36,9 @@ export { I as InlineInputBoxSize, I as InlineInputSize, _ as OrInlineInputBoxV3
|
|
|
36
36
|
export { I as InlineInputType, _ as OrInlineInputV3 } from './OrInlineInput-cfeeea33.js';
|
|
37
37
|
export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, _ as OrInlineTextEdit } from './OrInlineTextEdit-b47cfc2d.js';
|
|
38
38
|
export { _ as OrInlineTextareaV3 } from './OrInlineTextarea-897b5377.js';
|
|
39
|
-
export {
|
|
40
|
-
export { I as
|
|
39
|
+
export { _ as OrInputBoxV3 } from './OrInputBox-ad7c1875.js';
|
|
40
|
+
export { a as InputBoxSize, I as InputBoxVariant, a as InputSize, a as SearchSize, a as SelectSize, a as TextareaSize } from './OrInputBox.vue_rollup-plugin-vue_script-52a54a49.js';
|
|
41
|
+
export { I as InputType, _ as OrInputV3 } from './OrInput-3a7666e1.js';
|
|
41
42
|
export { a as OrNumberInput, b as OrPassword, _ as OrTextarea } from './OrPassword-1fa97156.js';
|
|
42
43
|
export { _ as OrInput } from './OrSearch.vue_rollup-plugin-vue_script-197d77fc.js';
|
|
43
44
|
export { _ as OrSearch } from './OrSearch-0589d17d.js';
|
|
@@ -63,10 +64,10 @@ export { _ as OrProgressV3, P as ProgressColor, a as ProgressType } from './OrPr
|
|
|
63
64
|
export { _ as OrRadio } from './OrRadio-e4198532.js';
|
|
64
65
|
export { _ as OrRadioGroup } from './OrRadioGroup-d9d32cba.js';
|
|
65
66
|
export { _ as OrRadioV3 } from './OrRadio-848ce55d.js';
|
|
66
|
-
export { _ as OrSearchV3 } from './OrSearch-
|
|
67
|
+
export { _ as OrSearchV3 } from './OrSearch-618e649d.js';
|
|
67
68
|
export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-e8dce8f9.js';
|
|
68
69
|
export { _ as OrSelect } from './OrSelect-dae2b069.js';
|
|
69
|
-
export { _ as OrSelectV3 } from './OrSelect-
|
|
70
|
+
export { _ as OrSelectV3 } from './OrSelect-913f4a40.js';
|
|
70
71
|
export { _ as OrSidebar, O as OrSidebarSide } from './OrSidebar-7d6125bb.js';
|
|
71
72
|
export { O as OrSidebarPlacement, _ as OrSidebarV3 } from './OrSidebar-fabc7bc9.js';
|
|
72
73
|
export { _ as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from './OrSkeletonText-cc94bdc9.js';
|
|
@@ -86,7 +87,7 @@ export { _ as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-cf9c6195.j
|
|
|
86
87
|
export { _ as OrTeleport } from './OrTeleportVue2-8ef4ceca.js';
|
|
87
88
|
export { _ as OrTeleportV3 } from './OrTeleport.vue2-fb92f29f.js';
|
|
88
89
|
export { _ as OrTextV3 } from './OrText-ba5a2b6c.js';
|
|
89
|
-
export { _ as OrTextareaV3 } from './OrTextarea-
|
|
90
|
+
export { _ as OrTextareaV3 } from './OrTextarea-823d0529.js';
|
|
90
91
|
export { _ as OrTextbox, T as TextboxTypes } from './OrTextbox-2594c980.js';
|
|
91
92
|
export { _ as OrToast, a as OrToastContainer } from './OrToastContainer-2fbd4358.js';
|
|
92
93
|
export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from './useToast-4fbe0e5a.js';
|
|
@@ -8,8 +8,8 @@ import { s as script$5 } from './OrMenuItem-9da279f6.js';
|
|
|
8
8
|
import { s as script$6 } from './OrIcon-b195169c.js';
|
|
9
9
|
import { openBlock, createElementBlock, normalizeClass, Fragment, renderList, renderSlot, mergeProps, createTextVNode, toDisplayString, resolveComponent, createElementVNode, createVNode, withCtx, createBlock, createCommentVNode, normalizeProps, guardReactiveProps } from 'vue';
|
|
10
10
|
import { s as script$3 } from './OrButton-bb6bf8a9.js';
|
|
11
|
-
import { s as script$7 } from './OrSearch-
|
|
12
|
-
import './OrInputBox-
|
|
11
|
+
import { s as script$7 } from './OrSearch-1d73323d.js';
|
|
12
|
+
import './OrInputBox-36c102a4.js';
|
|
13
13
|
|
|
14
14
|
const CardCollectionRoot = [
|
|
15
15
|
// Layout
|
|
@@ -37,7 +37,7 @@ const CardCollectionContentViews = {
|
|
|
37
37
|
'grid': [
|
|
38
38
|
// Layout
|
|
39
39
|
'sm:grid-cols-1', 'md:grid-cols-2', 'lg:grid-cols-4', 'xl:grid-cols-6'],
|
|
40
|
-
'list': [
|
|
40
|
+
'list': []
|
|
41
41
|
};
|
|
42
42
|
|
|
43
43
|
var script$1 = defineComponent({
|
|
@@ -127,14 +127,6 @@ var script = defineComponent({
|
|
|
127
127
|
search: {
|
|
128
128
|
type: String,
|
|
129
129
|
default: ''
|
|
130
|
-
},
|
|
131
|
-
searchPlaceholder: {
|
|
132
|
-
type: String,
|
|
133
|
-
default: undefined
|
|
134
|
-
},
|
|
135
|
-
searchDebounce: {
|
|
136
|
-
type: Number,
|
|
137
|
-
default: undefined
|
|
138
130
|
}
|
|
139
131
|
},
|
|
140
132
|
emits: ['viewChange', 'sortChange', 'searchChange'],
|
|
@@ -255,13 +247,12 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
255
247
|
}, 8 /* PROPS */, ["trigger"])], 64 /* STABLE_FRAGMENT */)) : createCommentVNode("v-if", true)], 2 /* CLASS */), createElementVNode("div", {
|
|
256
248
|
class: normalizeClass(_ctx.toolbarPanelStyles)
|
|
257
249
|
}, [createVNode(_component_OrSearch, {
|
|
258
|
-
|
|
250
|
+
modelValue: _ctx.proxySearch,
|
|
251
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = $event => _ctx.proxySearch = $event),
|
|
259
252
|
class: "md:w-[350px]",
|
|
260
|
-
placeholder: _ctx.searchPlaceholder,
|
|
261
|
-
debounce: _ctx.searchDebounce,
|
|
262
253
|
size: "s",
|
|
263
254
|
onSearch: _ctx.handleSearch
|
|
264
|
-
}, null, 8 /* PROPS */, ["
|
|
255
|
+
}, null, 8 /* PROPS */, ["modelValue", "onSearch"]), createElementVNode("div", _hoisted_1, [_ctx.viewModes.length > 1 ? (openBlock(true), createElementBlock(Fragment, {
|
|
265
256
|
key: 0
|
|
266
257
|
}, renderList(_ctx.viewModes, viewOption => {
|
|
267
258
|
return openBlock(), createBlock(_component_OrIconButton, {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
2
2
|
import { s as script$2, a as ButtonColor } from './OrButton-bb6bf8a9.js';
|
|
3
3
|
import { s as script$1 } from './OrOverlay-738a44d5.js';
|
|
4
|
-
import { s as script$3 } from './OrInput-
|
|
4
|
+
import { s as script$3 } from './OrInput-5c1c2041.js';
|
|
5
5
|
import { useMagicKeys, whenever } from '@vueuse/core';
|
|
6
6
|
import { logicAnd } from '@vueuse/math';
|
|
7
7
|
import { resolveComponent, openBlock, createBlock, withCtx, createElementVNode, mergeProps, normalizeClass, renderSlot, createTextVNode, toDisplayString, createElementBlock, createVNode, createCommentVNode } from 'vue';
|
|
@@ -5,9 +5,9 @@ import { s as script$1 } from './OrError-ec8c709d.js';
|
|
|
5
5
|
import { s as script$2 } from './OrHint-74bb732d.js';
|
|
6
6
|
import { s as script$4 } from './OrIconButton-1eebcafc.js';
|
|
7
7
|
import { s as script$3 } from './OrIcon-b195169c.js';
|
|
8
|
-
import { s as script$5, a as InputBoxSize } from './OrInputBox-
|
|
8
|
+
import { s as script$5, a as InputBoxSize } from './OrInputBox-36c102a4.js';
|
|
9
9
|
import { s as script$6 } from './OrLabel-bdaec602.js';
|
|
10
|
-
import { resolveComponent, openBlock, createElementBlock,
|
|
10
|
+
import { resolveComponent, openBlock, createElementBlock, mergeProps, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createVNode, withDirectives, createElementVNode, normalizeClass, vModelDynamic, withModifiers, Fragment, createSlots } from 'vue';
|
|
11
11
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
12
12
|
|
|
13
13
|
var InputType;
|
|
@@ -143,8 +143,9 @@ var script = defineComponent({
|
|
|
143
143
|
}
|
|
144
144
|
});
|
|
145
145
|
|
|
146
|
-
const _hoisted_1 = ["id", "type", "placeholder", "required", "disabled"];
|
|
146
|
+
const _hoisted_1 = ["id", "type", "placeholder", "required", "disabled", "readonly", "maxlength"];
|
|
147
147
|
const _hoisted_2 = {
|
|
148
|
+
key: 0,
|
|
148
149
|
class: /*#__PURE__*/normalizeClass(['layout-row'])
|
|
149
150
|
};
|
|
150
151
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -154,10 +155,11 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
154
155
|
const _component_OrInputBox = resolveComponent("OrInputBox");
|
|
155
156
|
const _component_OrHint = resolveComponent("OrHint");
|
|
156
157
|
const _component_OrError = resolveComponent("OrError");
|
|
157
|
-
return openBlock(), createElementBlock("div", {
|
|
158
|
-
ref: "root"
|
|
159
|
-
|
|
160
|
-
|
|
158
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
159
|
+
ref: "root"
|
|
160
|
+
}, _ctx.$attrs, {
|
|
161
|
+
class: _ctx.rootStyles
|
|
162
|
+
}), [_ctx.label ? (openBlock(), createBlock(_component_OrLabel, {
|
|
161
163
|
key: 0,
|
|
162
164
|
"control-id": _ctx.controlId,
|
|
163
165
|
variant: 'input',
|
|
@@ -175,21 +177,22 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
175
177
|
readonly: _ctx.readonly,
|
|
176
178
|
disabled: _ctx.disabled
|
|
177
179
|
}, {
|
|
178
|
-
default: withCtx(() => [withDirectives(createElementVNode("input",
|
|
180
|
+
default: withCtx(() => [withDirectives(createElementVNode("input", {
|
|
179
181
|
id: _ctx.controlId,
|
|
180
182
|
ref: "input",
|
|
181
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.proxyModelValue = $event)
|
|
182
|
-
|
|
183
|
-
class: _ctx.controlStyles,
|
|
183
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.proxyModelValue = $event),
|
|
184
|
+
class: normalizeClass(_ctx.controlStyles),
|
|
184
185
|
type: _ctx.type === 'password' && _ctx.disclosed ? 'text' : _ctx.type,
|
|
185
186
|
placeholder: _ctx.placeholder,
|
|
186
187
|
required: _ctx.required,
|
|
187
188
|
disabled: _ctx.disabled,
|
|
189
|
+
readonly: _ctx.readonly,
|
|
190
|
+
maxlength: _ctx.maxLength,
|
|
188
191
|
onKeydown: _cache[1] || (_cache[1] = $event => _ctx.$emit('keydown', $event)),
|
|
189
192
|
onKeyup: _cache[2] || (_cache[2] = $event => _ctx.$emit('keyup', $event)),
|
|
190
193
|
onFocus: _cache[3] || (_cache[3] = $event => _ctx.$emit('focus', $event)),
|
|
191
194
|
onBlur: _cache[4] || (_cache[4] = $event => _ctx.$emit('blur', $event))
|
|
192
|
-
}
|
|
195
|
+
}, null, 42 /* CLASS, PROPS, HYDRATE_EVENTS */, _hoisted_1), [[vModelDynamic, _ctx.proxyModelValue]]), _ctx.type !== 'text' ? (openBlock(), createElementBlock("div", _hoisted_2, [_ctx.type === 'password' ? (openBlock(), createBlock(_component_OrIconButton, {
|
|
193
196
|
key: 0,
|
|
194
197
|
icon: {
|
|
195
198
|
icon: _ctx.disclosed ? 'visibility_off' : 'visibility',
|
|
@@ -210,7 +213,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
210
213
|
key: 1,
|
|
211
214
|
icon: 'search',
|
|
212
215
|
variant: 'outlined'
|
|
213
|
-
}))], 64 /* STABLE_FRAGMENT */)) : createCommentVNode("v-if", true)])]),
|
|
216
|
+
}))], 64 /* STABLE_FRAGMENT */)) : createCommentVNode("v-if", true)])) : createCommentVNode("v-if", true)]),
|
|
214
217
|
_: 1 /* STABLE */
|
|
215
218
|
}, 8 /* PROPS */, ["variant", "size", "invalid", "readonly", "disabled"]), !_ctx.invalid ? (openBlock(), createElementBlock(Fragment, {
|
|
216
219
|
key: 1
|
|
@@ -238,7 +241,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
238
241
|
fn: withCtx(() => [createTextVNode(toDisplayString(_ctx.currentLength) + " / " + toDisplayString(_ctx.maxLength), 1 /* TEXT */)]),
|
|
239
242
|
|
|
240
243
|
key: "0"
|
|
241
|
-
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"]))],
|
|
244
|
+
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"]))], 16 /* FULL_PROPS */);
|
|
242
245
|
}
|
|
243
246
|
|
|
244
247
|
var css_248z = "\ninput[data-v-78975fa2] {\n min-width: 0;\n background: none;\n outline: none;\n}\ninput[type=\"number\"][data-v-78975fa2]::-webkit-inner-spin-button {\n display: none;\n}\ninput[type=\"search\"][data-v-78975fa2]::-webkit-search-cancel-button {\n display: none;\n}\n";
|
|
@@ -46,14 +46,14 @@ const InputBoxRootSizes = {
|
|
|
46
46
|
// Box
|
|
47
47
|
'children:min-h-[34px]',
|
|
48
48
|
// Spacing
|
|
49
|
-
'first-child:pl-md first-child:md:pl-sm+', '
|
|
49
|
+
'first-child:pl-md first-child:md:pl-sm+', 'intermediate-child:pt-[11px] intermediate-child:md:pt-[7px]', 'intermediate-child:pb-[11px] intermediate-child:md:pb-[6px]', 'last-child:pr-md last-child:md:pr-sm+', 'gap-sm+ md:gap-sm',
|
|
50
50
|
// Typography
|
|
51
51
|
'typography-body-2-regular'],
|
|
52
52
|
's': [
|
|
53
53
|
// Box
|
|
54
54
|
'children:min-h-[30px]',
|
|
55
55
|
// Spacing
|
|
56
|
-
'first-child:pl-sm', '
|
|
56
|
+
'first-child:pl-sm', 'intermediate-child:py-[6px]', 'last-child:pr-sm', 'gap-[6px]',
|
|
57
57
|
// Typography
|
|
58
58
|
'typography-caption-regular']
|
|
59
59
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
2
2
|
import { debouncedWatch } from '@vueuse/core';
|
|
3
3
|
import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
|
|
4
|
-
import { s as script$1 } from './OrInput-
|
|
5
|
-
import { a as InputBoxSize } from './OrInputBox-
|
|
4
|
+
import { s as script$1 } from './OrInput-5c1c2041.js';
|
|
5
|
+
import { a as InputBoxSize } from './OrInputBox-36c102a4.js';
|
|
6
6
|
import { resolveComponent, openBlock, createBlock, mergeProps } from 'vue';
|
|
7
7
|
|
|
8
8
|
var script = defineComponent({
|
|
@@ -23,7 +23,7 @@ var script = defineComponent({
|
|
|
23
23
|
},
|
|
24
24
|
placeholder: {
|
|
25
25
|
type: String,
|
|
26
|
-
default:
|
|
26
|
+
default: undefined
|
|
27
27
|
},
|
|
28
28
|
debounce: {
|
|
29
29
|
type: Number,
|
|
@@ -8,8 +8,8 @@ import { s as script$2 } from './OrError-ec8c709d.js';
|
|
|
8
8
|
import { s as script$3 } from './OrExpansionPanel-311e64cf.js';
|
|
9
9
|
import { s as script$4 } from './OrHint-74bb732d.js';
|
|
10
10
|
import { s as script$5 } from './OrIcon-b195169c.js';
|
|
11
|
-
import { s as script$7, a as InputBoxSize } from './OrInputBox-
|
|
12
|
-
import { s as script$6 } from './OrInput-
|
|
11
|
+
import { s as script$7, a as InputBoxSize } from './OrInputBox-36c102a4.js';
|
|
12
|
+
import { s as script$6 } from './OrInput-5c1c2041.js';
|
|
13
13
|
import { s as script$8 } from './OrLabel-bdaec602.js';
|
|
14
14
|
import { s as script$9 } from './OrMenuItem-9da279f6.js';
|
|
15
15
|
import { s as script$a } from './OrPopover-1075dd38.js';
|
|
@@ -121,6 +121,10 @@ var script = defineComponent({
|
|
|
121
121
|
type: Boolean,
|
|
122
122
|
default: false
|
|
123
123
|
},
|
|
124
|
+
disableDefaultStyles: {
|
|
125
|
+
type: Boolean,
|
|
126
|
+
default: false
|
|
127
|
+
},
|
|
124
128
|
enableSearch: {
|
|
125
129
|
type: Boolean,
|
|
126
130
|
default: false
|
|
@@ -322,6 +326,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
322
326
|
}, 8 /* PROPS */, ["control-id", "required", "disabled"])) : createCommentVNode("v-if", true), withDirectives((openBlock(), createBlock(_component_OrInputBox, {
|
|
323
327
|
ref: "inputBox",
|
|
324
328
|
class: normalizeClass([_ctx.popoverState === 'open' && 'rounded-b-0']),
|
|
329
|
+
variant: _ctx.disableDefaultStyles ? 'unstyled' : 'styled',
|
|
325
330
|
size: _ctx.size,
|
|
326
331
|
invalid: _ctx.invalid,
|
|
327
332
|
readonly: _ctx.readonly,
|
|
@@ -471,7 +476,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
471
476
|
_: 3 /* FORWARDED */
|
|
472
477
|
}, 8 /* PROPS */, ["class", "trigger"])]),
|
|
473
478
|
_: 3 /* FORWARDED */
|
|
474
|
-
}, 8 /* PROPS */, ["class", "size", "invalid", "readonly", "disabled"])), [[_directive_dropdown_open, _ctx.toggle], [_directive_dropdown_close, _ctx.close]]), !_ctx.invalid ? (openBlock(), createElementBlock(Fragment, {
|
|
479
|
+
}, 8 /* PROPS */, ["class", "variant", "size", "invalid", "readonly", "disabled"])), [[_directive_dropdown_open, _ctx.toggle], [_directive_dropdown_close, _ctx.close]]), !_ctx.invalid ? (openBlock(), createElementBlock(Fragment, {
|
|
475
480
|
key: 1
|
|
476
481
|
}, [_ctx.hint ? (openBlock(), createBlock(_component_OrHint, {
|
|
477
482
|
key: 0,
|
|
@@ -3,7 +3,7 @@ import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
|
|
|
3
3
|
import '@vueuse/core';
|
|
4
4
|
import { s as script$1 } from './OrError-ec8c709d.js';
|
|
5
5
|
import { s as script$2 } from './OrHint-74bb732d.js';
|
|
6
|
-
import { s as script$3, a as InputBoxSize } from './OrInputBox-
|
|
6
|
+
import { s as script$3, a as InputBoxSize } from './OrInputBox-36c102a4.js';
|
|
7
7
|
import { s as script$4 } from './OrLabel-bdaec602.js';
|
|
8
8
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createVNode, withDirectives, createElementVNode, mergeProps, vModelText, Fragment, createSlots } from 'vue';
|
|
9
9
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|