@onereach/ui-components 26.6.4 → 26.6.5
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/esm/{OrAutocomplete-DHadCcDG.mjs → OrAutocomplete-DwXEt9aq.mjs} +2 -2
- package/dist/esm/{OrAutocomplete-DHadCcDG.mjs.map → OrAutocomplete-DwXEt9aq.mjs.map} +1 -1
- package/dist/esm/{OrCardCollection-Dy4e0uU0.mjs → OrCardCollection-CQlpVaj3.mjs} +2 -2
- package/dist/esm/{OrCardCollection-Dy4e0uU0.mjs.map → OrCardCollection-CQlpVaj3.mjs.map} +1 -1
- package/dist/esm/{OrConfirm-bJHqUudY.mjs → OrConfirm-CeXBV1NK.mjs} +2 -2
- package/dist/esm/{OrConfirm-bJHqUudY.mjs.map → OrConfirm-CeXBV1NK.mjs.map} +1 -1
- package/dist/esm/{OrDataGrid-TQ-iAsg2.mjs → OrDataGrid-BsjzHZ6q.mjs} +4 -4
- package/dist/esm/{OrDataGrid-TQ-iAsg2.mjs.map → OrDataGrid-BsjzHZ6q.mjs.map} +1 -1
- package/dist/esm/OrInput-CxGhwo0q.mjs +350 -0
- package/dist/esm/OrInput-CxGhwo0q.mjs.map +1 -0
- package/dist/esm/{OrRichTextEditor-CzVp-mm9.mjs → OrRichTextEditor-zb1kQ0es.mjs} +2 -2
- package/dist/esm/{OrRichTextEditor-CzVp-mm9.mjs.map → OrRichTextEditor-zb1kQ0es.mjs.map} +1 -1
- package/dist/esm/{OrSearch-B92dyPu6.mjs → OrSearch-B_YGTJN8.mjs} +2 -2
- package/dist/esm/{OrSearch-B92dyPu6.mjs.map → OrSearch-B_YGTJN8.mjs.map} +1 -1
- package/dist/esm/{OrSelect-DC2IC8A9.mjs → OrSelect-BXBDdzDF.mjs} +2 -2
- package/dist/esm/{OrSelect-DC2IC8A9.mjs.map → OrSelect-BXBDdzDF.mjs.map} +1 -1
- package/dist/esm/components/index.mjs +8 -8
- package/dist/esm/components/or-autocomplete-v3/index.mjs +1 -1
- package/dist/esm/components/or-card-collection-v3/index.mjs +1 -1
- package/dist/esm/components/or-confirm-v3/index.mjs +1 -1
- package/dist/esm/components/or-data-grid-v3/index.mjs +1 -1
- package/dist/esm/components/or-input-v3/index.mjs +1 -1
- package/dist/esm/components/or-rich-text-editor-v3/index.mjs +1 -1
- package/dist/esm/components/or-search-v3/index.mjs +1 -1
- package/dist/esm/components/or-select-v3/index.mjs +1 -1
- package/dist/esm/index.mjs +8 -8
- package/package.json +4 -4
- package/dist/esm/OrInput-DGZPyIWa.mjs +0 -326
- package/dist/esm/OrInput-DGZPyIWa.mjs.map +0 -1
|
@@ -0,0 +1,350 @@
|
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode("input[data-v-29afd138]{min-width:0;background:none;outline:none}input[type=search][data-v-29afd138]::-webkit-search-cancel-button{display:none}")),document.head.appendChild(e)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}})();
|
|
2
|
+
import { useIdAttribute as H, useControlAttributes as P, useValidationAttributes as T, useProxyModelValue as _, useResponsive as F } from "@onereach/ui-components-common/hooks";
|
|
3
|
+
import { O as K } from "./OrError-B5ihH6-3.mjs";
|
|
4
|
+
import { O as R } from "./OrHint-NvbZyURY.mjs";
|
|
5
|
+
import { O as U } from "./OrIconButton-Ds8k8FmS.mjs";
|
|
6
|
+
import { O as j } from "./OrIcon-k8cyvh-D.mjs";
|
|
7
|
+
import { O as G } from "./OrInputBox-6ciokFdU.mjs";
|
|
8
|
+
import { a as J } from "./OrInputBox.vue_vue_type_script_lang-q2L7rmth.mjs";
|
|
9
|
+
import { O as Q } from "./OrLabel-K7_HgvcK.mjs";
|
|
10
|
+
import { O as W } from "./OrLoader-2SaTMxmZ.mjs";
|
|
11
|
+
import { defineComponent as X, reactive as Y, ref as O, computed as f, toRef as Z, resolveComponent as l, openBlock as t, createElementBlock as $, normalizeClass as M, createBlock as s, withCtx as a, renderSlot as n, createTextVNode as u, toDisplayString as d, createCommentVNode as k, createElementVNode as L, createVNode as z, createSlots as S, withDirectives as B, mergeProps as x, vModelDynamic as oo, Fragment as C, withModifiers as q, vShow as E } from "vue";
|
|
12
|
+
import { _ as ro } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
13
|
+
const eo = [
|
|
14
|
+
// Layout
|
|
15
|
+
"layout-column",
|
|
16
|
+
// Spacing
|
|
17
|
+
"gap-xs"
|
|
18
|
+
], to = [
|
|
19
|
+
// Box
|
|
20
|
+
"flex-auto",
|
|
21
|
+
// Typography
|
|
22
|
+
"typography-inherit",
|
|
23
|
+
// Ensure text color inherits from container theme (preflight uses `color: revert`, so keep it important)
|
|
24
|
+
"!text-inherit",
|
|
25
|
+
// Theme (placeholder)
|
|
26
|
+
"placeholder:theme-foreground-outline",
|
|
27
|
+
"dark:placeholder:theme-foreground-outline-dark",
|
|
28
|
+
// Autofill hack.
|
|
29
|
+
// Chrome/WebKit may apply very long autofill transitions; keep it only for background,
|
|
30
|
+
// so theme text color switches instantly.
|
|
31
|
+
"autofill:[transition-property:background-color] autofill:duration-[5000s]",
|
|
32
|
+
// Safari UA styles may force `color: black` in autofill state.
|
|
33
|
+
// Don’t rely on `currentColor` here: set text/caret color directly via theme CSS vars.
|
|
34
|
+
"autofill:[-webkit-text-fill-color:var(--or-c-on-background-light)!important]",
|
|
35
|
+
"dark:autofill:[-webkit-text-fill-color:var(--or-c-on-background-dark)!important]",
|
|
36
|
+
"autofill:[caret-color:var(--or-c-on-background-light)!important]",
|
|
37
|
+
"dark:autofill:[caret-color:var(--or-c-on-background-dark)!important]",
|
|
38
|
+
// Override Safari/Chrome autofill background (yellow) via box-shadow using theme CSS vars.
|
|
39
|
+
"autofill:[-webkit-box-shadow:0_0_0px_1000px_var(--or-c-primary-opacity-0-08-light)_inset!important]",
|
|
40
|
+
"autofill:[box-shadow:0_0_0px_1000px_var(--or-c-primary-opacity-0-08-light)_inset!important]",
|
|
41
|
+
"dark:autofill:[-webkit-box-shadow:0_0_0px_1000px_var(--or-c-primary-opacity-0-08-dark)_inset!important]",
|
|
42
|
+
"dark:autofill:[box-shadow:0_0_0px_1000px_var(--or-c-primary-opacity-0-08-dark)_inset!important]",
|
|
43
|
+
// Safari password/credential autofill variants (when they don’t also match `:-webkit-autofill`)
|
|
44
|
+
"[&:-webkit-autofill-strong-password]:[-webkit-text-fill-color:var(--or-c-on-background-light)!important]",
|
|
45
|
+
"dark:[&:-webkit-autofill-strong-password]:[-webkit-text-fill-color:var(--or-c-on-background-dark)!important]",
|
|
46
|
+
"[&:-webkit-autofill-strong-password]:[caret-color:var(--or-c-on-background-light)!important]",
|
|
47
|
+
"dark:[&:-webkit-autofill-strong-password]:[caret-color:var(--or-c-on-background-dark)!important]",
|
|
48
|
+
"[&:-webkit-autofill-strong-password]:[-webkit-box-shadow:0_0_0px_1000px_var(--or-c-primary-opacity-0-08-light)_inset!important]",
|
|
49
|
+
"[&:-webkit-autofill-strong-password]:[box-shadow:0_0_0px_1000px_var(--or-c-primary-opacity-0-08-light)_inset!important]",
|
|
50
|
+
"dark:[&:-webkit-autofill-strong-password]:[-webkit-box-shadow:0_0_0px_1000px_var(--or-c-primary-opacity-0-08-dark)_inset!important]",
|
|
51
|
+
"dark:[&:-webkit-autofill-strong-password]:[box-shadow:0_0_0px_1000px_var(--or-c-primary-opacity-0-08-dark)_inset!important]",
|
|
52
|
+
"[&:-webkit-autofill-strong-password-viewable]:[-webkit-text-fill-color:var(--or-c-on-background-light)!important]",
|
|
53
|
+
"dark:[&:-webkit-autofill-strong-password-viewable]:[-webkit-text-fill-color:var(--or-c-on-background-dark)!important]",
|
|
54
|
+
"[&:-webkit-autofill-strong-password-viewable]:[caret-color:var(--or-c-on-background-light)!important]",
|
|
55
|
+
"dark:[&:-webkit-autofill-strong-password-viewable]:[caret-color:var(--or-c-on-background-dark)!important]",
|
|
56
|
+
"[&:-webkit-autofill-strong-password-viewable]:[-webkit-box-shadow:0_0_0px_1000px_var(--or-c-primary-opacity-0-08-light)_inset!important]",
|
|
57
|
+
"[&:-webkit-autofill-strong-password-viewable]:[box-shadow:0_0_0px_1000px_var(--or-c-primary-opacity-0-08-light)_inset!important]",
|
|
58
|
+
"dark:[&:-webkit-autofill-strong-password-viewable]:[-webkit-box-shadow:0_0_0px_1000px_var(--or-c-primary-opacity-0-08-dark)_inset!important]",
|
|
59
|
+
"dark:[&:-webkit-autofill-strong-password-viewable]:[box-shadow:0_0_0px_1000px_var(--or-c-primary-opacity-0-08-dark)_inset!important]"
|
|
60
|
+
];
|
|
61
|
+
var N = /* @__PURE__ */ ((o) => (o.Text = "text", o.Number = "number", o.Password = "password", o.Search = "search", o))(N || {}), D = /* @__PURE__ */ ((o) => (o.None = "none", o.Text = "text", o.Tel = "tel", o.Url = "url", o.Email = "email", o.Numeric = "numeric", o.Decimal = "decimal", o.Search = "search", o))(D || {});
|
|
62
|
+
const ao = X({
|
|
63
|
+
name: "OrInput",
|
|
64
|
+
components: {
|
|
65
|
+
OrError: K,
|
|
66
|
+
OrHint: R,
|
|
67
|
+
OrIcon: j,
|
|
68
|
+
OrIconButton: U,
|
|
69
|
+
OrInputBox: G,
|
|
70
|
+
OrLabel: Q,
|
|
71
|
+
OrLoader: W
|
|
72
|
+
},
|
|
73
|
+
model: {
|
|
74
|
+
prop: "modelValue",
|
|
75
|
+
event: "update:modelValue"
|
|
76
|
+
},
|
|
77
|
+
props: {
|
|
78
|
+
modelValue: {
|
|
79
|
+
type: void 0,
|
|
80
|
+
default: void 0
|
|
81
|
+
},
|
|
82
|
+
name: {
|
|
83
|
+
type: String,
|
|
84
|
+
default: void 0
|
|
85
|
+
},
|
|
86
|
+
type: {
|
|
87
|
+
type: String,
|
|
88
|
+
default: () => N.Text
|
|
89
|
+
},
|
|
90
|
+
autocomplete: {
|
|
91
|
+
type: String,
|
|
92
|
+
default: "off"
|
|
93
|
+
},
|
|
94
|
+
inputmode: {
|
|
95
|
+
type: String,
|
|
96
|
+
default: D.Text
|
|
97
|
+
},
|
|
98
|
+
variant: {
|
|
99
|
+
type: String,
|
|
100
|
+
default: void 0
|
|
101
|
+
},
|
|
102
|
+
size: {
|
|
103
|
+
type: String,
|
|
104
|
+
default: void 0
|
|
105
|
+
},
|
|
106
|
+
label: {
|
|
107
|
+
type: String,
|
|
108
|
+
default: void 0
|
|
109
|
+
},
|
|
110
|
+
placeholder: {
|
|
111
|
+
type: String,
|
|
112
|
+
default: void 0
|
|
113
|
+
},
|
|
114
|
+
hint: {
|
|
115
|
+
type: String,
|
|
116
|
+
default: void 0
|
|
117
|
+
},
|
|
118
|
+
error: {
|
|
119
|
+
type: [String, Boolean],
|
|
120
|
+
default: void 0
|
|
121
|
+
},
|
|
122
|
+
loading: {
|
|
123
|
+
type: Boolean,
|
|
124
|
+
default: !1
|
|
125
|
+
},
|
|
126
|
+
required: {
|
|
127
|
+
type: Boolean,
|
|
128
|
+
default: !1
|
|
129
|
+
},
|
|
130
|
+
readonly: {
|
|
131
|
+
type: Boolean,
|
|
132
|
+
default: !1
|
|
133
|
+
},
|
|
134
|
+
disabled: {
|
|
135
|
+
type: Boolean,
|
|
136
|
+
default: !1
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
emits: [
|
|
140
|
+
"update:modelValue",
|
|
141
|
+
"input",
|
|
142
|
+
"keydown",
|
|
143
|
+
"keyup",
|
|
144
|
+
"focus",
|
|
145
|
+
"blur"
|
|
146
|
+
],
|
|
147
|
+
expose: [
|
|
148
|
+
"root",
|
|
149
|
+
"clear",
|
|
150
|
+
"focus",
|
|
151
|
+
"blur"
|
|
152
|
+
],
|
|
153
|
+
setup(o, r) {
|
|
154
|
+
const y = Y({
|
|
155
|
+
id: H(),
|
|
156
|
+
...P(),
|
|
157
|
+
...T()
|
|
158
|
+
}), V = O(), I = f(() => [
|
|
159
|
+
"or-input-v3",
|
|
160
|
+
...eo,
|
|
161
|
+
...o.variant === J.Embedded ? ["grow"] : []
|
|
162
|
+
]), m = O(), v = f(() => [
|
|
163
|
+
...to
|
|
164
|
+
]), p = _(Z(o, "modelValue"), r.emit), b = O(!1), c = f(() => {
|
|
165
|
+
var i;
|
|
166
|
+
return ((i = p.value) == null ? void 0 : i.toString().length) ?? 0;
|
|
167
|
+
}), g = f(() => y.maxlength);
|
|
168
|
+
function w() {
|
|
169
|
+
p.value = void 0;
|
|
170
|
+
}
|
|
171
|
+
function h() {
|
|
172
|
+
var i;
|
|
173
|
+
(i = m.value) == null || i.focus();
|
|
174
|
+
}
|
|
175
|
+
function e() {
|
|
176
|
+
var i;
|
|
177
|
+
(i = m.value) == null || i.blur();
|
|
178
|
+
}
|
|
179
|
+
const { isMobile: A } = F();
|
|
180
|
+
return {
|
|
181
|
+
attributes: y,
|
|
182
|
+
root: V,
|
|
183
|
+
rootStyles: I,
|
|
184
|
+
control: m,
|
|
185
|
+
controlStyles: v,
|
|
186
|
+
model: p,
|
|
187
|
+
disclosed: b,
|
|
188
|
+
length: c,
|
|
189
|
+
maxLength: g,
|
|
190
|
+
clear: w,
|
|
191
|
+
focus: h,
|
|
192
|
+
blur: e,
|
|
193
|
+
isMobile: A
|
|
194
|
+
};
|
|
195
|
+
}
|
|
196
|
+
}), io = { class: "layout-row gap-md md:gap-md" }, lo = ["name", "type", "inputmode", "autocomplete", "placeholder", "required", "readonly", "disabled"];
|
|
197
|
+
function no(o, r, y, V, I, m) {
|
|
198
|
+
const v = l("OrLabel"), p = l("OrLoader"), b = l("OrIconButton"), c = l("OrIcon"), g = l("OrInputBox"), w = l("OrHint"), h = l("OrError");
|
|
199
|
+
return t(), $("div", {
|
|
200
|
+
ref: "root",
|
|
201
|
+
class: M(o.rootStyles)
|
|
202
|
+
}, [
|
|
203
|
+
o.$slots.label || o.$slots.addon || o.label ? (t(), s(v, {
|
|
204
|
+
key: 0,
|
|
205
|
+
"control-id": o.attributes.id,
|
|
206
|
+
variant: "input",
|
|
207
|
+
required: o.required,
|
|
208
|
+
disabled: o.disabled
|
|
209
|
+
}, {
|
|
210
|
+
addon: a(() => [
|
|
211
|
+
n(o.$slots, "addon", {}, void 0, !0)
|
|
212
|
+
]),
|
|
213
|
+
default: a(() => [
|
|
214
|
+
n(o.$slots, "label", {}, () => [
|
|
215
|
+
u(d(o.label), 1)
|
|
216
|
+
], !0)
|
|
217
|
+
]),
|
|
218
|
+
_: 3
|
|
219
|
+
}, 8, ["control-id", "required", "disabled"])) : k("", !0),
|
|
220
|
+
L("div", io, [
|
|
221
|
+
n(o.$slots, "prepend", {}, void 0, !0),
|
|
222
|
+
z(g, {
|
|
223
|
+
variant: o.variant,
|
|
224
|
+
size: o.size,
|
|
225
|
+
invalid: !!o.error,
|
|
226
|
+
readonly: o.readonly || o.loading,
|
|
227
|
+
disabled: o.disabled
|
|
228
|
+
}, S({
|
|
229
|
+
default: a(() => [
|
|
230
|
+
B(L("input", x({ ref: "control" }, o.attributes, {
|
|
231
|
+
"onUpdate:modelValue": r[0] || (r[0] = (e) => o.model = e),
|
|
232
|
+
class: o.controlStyles,
|
|
233
|
+
name: o.name,
|
|
234
|
+
type: o.type === "password" && o.disclosed ? "text" : o.type,
|
|
235
|
+
inputmode: o.inputmode,
|
|
236
|
+
autocomplete: o.autocomplete,
|
|
237
|
+
placeholder: o.placeholder,
|
|
238
|
+
required: o.required,
|
|
239
|
+
readonly: o.readonly || o.loading,
|
|
240
|
+
disabled: o.disabled,
|
|
241
|
+
onInput: r[1] || (r[1] = (e) => o.$emit("input", e)),
|
|
242
|
+
onKeydown: r[2] || (r[2] = (e) => o.$emit("keydown", e)),
|
|
243
|
+
onKeyup: r[3] || (r[3] = (e) => o.$emit("keyup", e)),
|
|
244
|
+
onFocus: r[4] || (r[4] = (e) => o.$emit("focus", e)),
|
|
245
|
+
onBlur: r[5] || (r[5] = (e) => o.$emit("blur", e))
|
|
246
|
+
}), null, 16, lo), [
|
|
247
|
+
[
|
|
248
|
+
oo,
|
|
249
|
+
o.model,
|
|
250
|
+
void 0,
|
|
251
|
+
{ trim: !0 }
|
|
252
|
+
]
|
|
253
|
+
])
|
|
254
|
+
]),
|
|
255
|
+
_: 2
|
|
256
|
+
}, [
|
|
257
|
+
o.$slots.prependInner ? {
|
|
258
|
+
name: "prepend",
|
|
259
|
+
fn: a(() => [
|
|
260
|
+
n(o.$slots, "prependInner", {}, void 0, !0)
|
|
261
|
+
]),
|
|
262
|
+
key: "0"
|
|
263
|
+
} : void 0,
|
|
264
|
+
o.loading || o.type === "password" || o.type === "search" || o.$slots.appendInner ? {
|
|
265
|
+
name: "addon",
|
|
266
|
+
fn: a(() => [
|
|
267
|
+
n(o.$slots, "appendInner", {}, () => [
|
|
268
|
+
o.loading ? (t(), s(p, {
|
|
269
|
+
key: 0,
|
|
270
|
+
variant: "circular",
|
|
271
|
+
color: o.error ? "danger" : "primary",
|
|
272
|
+
size: o.isMobile ? "m" : "s"
|
|
273
|
+
}, null, 8, ["color", "size"])) : (t(), $(C, { key: 1 }, [
|
|
274
|
+
o.type === "password" ? (t(), s(b, {
|
|
275
|
+
key: 0,
|
|
276
|
+
icon: { icon: o.disclosed ? "visibility" : "visibility_off", variant: "filled" },
|
|
277
|
+
size: "l",
|
|
278
|
+
color: "inherit",
|
|
279
|
+
disabled: o.disabled,
|
|
280
|
+
onClick: r[6] || (r[6] = q((e) => o.disclosed = !o.disclosed, ["stop"]))
|
|
281
|
+
}, null, 8, ["icon", "disabled"])) : k("", !0),
|
|
282
|
+
o.type === "search" ? (t(), $(C, { key: 1 }, [
|
|
283
|
+
o.modelValue && !o.readonly ? (t(), s(b, {
|
|
284
|
+
key: 0,
|
|
285
|
+
icon: "close",
|
|
286
|
+
color: "inherit",
|
|
287
|
+
size: "l",
|
|
288
|
+
disabled: o.disabled,
|
|
289
|
+
onClick: r[7] || (r[7] = q((e) => o.clear(), ["stop"]))
|
|
290
|
+
}, null, 8, ["disabled"])) : (t(), s(c, {
|
|
291
|
+
key: 1,
|
|
292
|
+
icon: "search",
|
|
293
|
+
size: "l",
|
|
294
|
+
variant: "outlined"
|
|
295
|
+
}))
|
|
296
|
+
], 64)) : k("", !0)
|
|
297
|
+
], 64))
|
|
298
|
+
], !0)
|
|
299
|
+
]),
|
|
300
|
+
key: "1"
|
|
301
|
+
} : void 0
|
|
302
|
+
]), 1032, ["variant", "size", "invalid", "readonly", "disabled"]),
|
|
303
|
+
n(o.$slots, "append", {}, void 0, !0)
|
|
304
|
+
]),
|
|
305
|
+
o.$slots.hint || o.hint || o.maxLength ? B((t(), s(w, {
|
|
306
|
+
key: 1,
|
|
307
|
+
disabled: o.disabled
|
|
308
|
+
}, S({
|
|
309
|
+
default: a(() => [
|
|
310
|
+
n(o.$slots, "hint", {}, () => [
|
|
311
|
+
u(d(o.hint), 1)
|
|
312
|
+
], !0)
|
|
313
|
+
]),
|
|
314
|
+
_: 2
|
|
315
|
+
}, [
|
|
316
|
+
o.maxLength ? {
|
|
317
|
+
name: "addon",
|
|
318
|
+
fn: a(() => [
|
|
319
|
+
u(d(o.length) + " / " + d(o.maxLength), 1)
|
|
320
|
+
]),
|
|
321
|
+
key: "0"
|
|
322
|
+
} : void 0
|
|
323
|
+
]), 1032, ["disabled"])), [
|
|
324
|
+
[E, !o.error]
|
|
325
|
+
]) : k("", !0),
|
|
326
|
+
B(z(h, { disabled: o.disabled }, S({
|
|
327
|
+
default: a(() => [
|
|
328
|
+
u(d(o.error) + " ", 1)
|
|
329
|
+
]),
|
|
330
|
+
_: 2
|
|
331
|
+
}, [
|
|
332
|
+
o.maxLength ? {
|
|
333
|
+
name: "addon",
|
|
334
|
+
fn: a(() => [
|
|
335
|
+
u(d(o.length) + " / " + d(o.maxLength), 1)
|
|
336
|
+
]),
|
|
337
|
+
key: "0"
|
|
338
|
+
} : void 0
|
|
339
|
+
]), 1032, ["disabled"]), [
|
|
340
|
+
[E, typeof o.error == "string" && o.error.length > 0]
|
|
341
|
+
])
|
|
342
|
+
], 2);
|
|
343
|
+
}
|
|
344
|
+
const wo = /* @__PURE__ */ ro(ao, [["render", no], ["__scopeId", "data-v-29afd138"]]);
|
|
345
|
+
export {
|
|
346
|
+
N as I,
|
|
347
|
+
wo as O,
|
|
348
|
+
D as a
|
|
349
|
+
};
|
|
350
|
+
//# sourceMappingURL=OrInput-CxGhwo0q.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OrInput-CxGhwo0q.mjs","sources":["../../../components/or-input-v3/src/styles.ts","../../../components/or-input-v3/src/types.ts","../../../components/or-input-v3/src/OrInput.vue"],"sourcesContent":["export const Input: string[] = [\n // Layout\n 'layout-column',\n\n // Spacing\n 'gap-xs',\n];\n\nexport const InputControl: string[] = [\n // Box\n 'flex-auto',\n\n // Typography\n 'typography-inherit',\n // Ensure text color inherits from container theme (preflight uses `color: revert`, so keep it important)\n '!text-inherit',\n\n // Theme (placeholder)\n 'placeholder:theme-foreground-outline',\n 'dark:placeholder:theme-foreground-outline-dark',\n\n // Autofill hack.\n // Chrome/WebKit may apply very long autofill transitions; keep it only for background,\n // so theme text color switches instantly.\n 'autofill:[transition-property:background-color] autofill:duration-[5000s]',\n\n // Safari UA styles may force `color: black` in autofill state.\n // Don’t rely on `currentColor` here: set text/caret color directly via theme CSS vars.\n 'autofill:[-webkit-text-fill-color:var(--or-c-on-background-light)!important]',\n 'dark:autofill:[-webkit-text-fill-color:var(--or-c-on-background-dark)!important]',\n 'autofill:[caret-color:var(--or-c-on-background-light)!important]',\n 'dark:autofill:[caret-color:var(--or-c-on-background-dark)!important]',\n\n // Override Safari/Chrome autofill background (yellow) via box-shadow using theme CSS vars.\n 'autofill:[-webkit-box-shadow:0_0_0px_1000px_var(--or-c-primary-opacity-0-08-light)_inset!important]',\n 'autofill:[box-shadow:0_0_0px_1000px_var(--or-c-primary-opacity-0-08-light)_inset!important]',\n 'dark:autofill:[-webkit-box-shadow:0_0_0px_1000px_var(--or-c-primary-opacity-0-08-dark)_inset!important]',\n 'dark:autofill:[box-shadow:0_0_0px_1000px_var(--or-c-primary-opacity-0-08-dark)_inset!important]',\n\n // Safari password/credential autofill variants (when they don’t also match `:-webkit-autofill`)\n '[&:-webkit-autofill-strong-password]:[-webkit-text-fill-color:var(--or-c-on-background-light)!important]',\n 'dark:[&:-webkit-autofill-strong-password]:[-webkit-text-fill-color:var(--or-c-on-background-dark)!important]',\n '[&:-webkit-autofill-strong-password]:[caret-color:var(--or-c-on-background-light)!important]',\n 'dark:[&:-webkit-autofill-strong-password]:[caret-color:var(--or-c-on-background-dark)!important]',\n '[&:-webkit-autofill-strong-password]:[-webkit-box-shadow:0_0_0px_1000px_var(--or-c-primary-opacity-0-08-light)_inset!important]',\n '[&:-webkit-autofill-strong-password]:[box-shadow:0_0_0px_1000px_var(--or-c-primary-opacity-0-08-light)_inset!important]',\n 'dark:[&:-webkit-autofill-strong-password]:[-webkit-box-shadow:0_0_0px_1000px_var(--or-c-primary-opacity-0-08-dark)_inset!important]',\n 'dark:[&:-webkit-autofill-strong-password]:[box-shadow:0_0_0px_1000px_var(--or-c-primary-opacity-0-08-dark)_inset!important]',\n\n '[&:-webkit-autofill-strong-password-viewable]:[-webkit-text-fill-color:var(--or-c-on-background-light)!important]',\n 'dark:[&:-webkit-autofill-strong-password-viewable]:[-webkit-text-fill-color:var(--or-c-on-background-dark)!important]',\n '[&:-webkit-autofill-strong-password-viewable]:[caret-color:var(--or-c-on-background-light)!important]',\n 'dark:[&:-webkit-autofill-strong-password-viewable]:[caret-color:var(--or-c-on-background-dark)!important]',\n '[&:-webkit-autofill-strong-password-viewable]:[-webkit-box-shadow:0_0_0px_1000px_var(--or-c-primary-opacity-0-08-light)_inset!important]',\n '[&:-webkit-autofill-strong-password-viewable]:[box-shadow:0_0_0px_1000px_var(--or-c-primary-opacity-0-08-light)_inset!important]',\n 'dark:[&:-webkit-autofill-strong-password-viewable]:[-webkit-box-shadow:0_0_0px_1000px_var(--or-c-primary-opacity-0-08-dark)_inset!important]',\n 'dark:[&:-webkit-autofill-strong-password-viewable]:[box-shadow:0_0_0px_1000px_var(--or-c-primary-opacity-0-08-dark)_inset!important]',\n];\n","import { ModelValue } from '@onereach/ui-components-common/types';\n\nexport type InputModelValue = ModelValue<string | number>;\n\nexport enum InputType {\n Text = 'text',\n Number = 'number',\n Password = 'password',\n Search = 'search',\n}\n\nexport enum InputMode {\n None = 'none',\n Text = 'text',\n Tel = 'tel',\n Url = 'url',\n Email = 'email',\n Numeric = 'numeric',\n Decimal = 'decimal',\n Search = 'search',\n}\n","<template>\n <div\n :ref=\"'root'\"\n :class=\"rootStyles\"\n >\n <template v-if=\"$slots.label || $slots.addon || label\">\n <OrLabel\n :control-id=\"attributes.id\"\n :variant=\"'input'\"\n :required=\"required\"\n :disabled=\"disabled\"\n >\n <slot name=\"label\">\n {{ label }}\n </slot>\n\n <template v-slot:addon>\n <slot name=\"addon\" />\n </template>\n </OrLabel>\n </template>\n\n <div class=\"layout-row gap-md md:gap-md\">\n <slot name=\"prepend\" />\n <OrInputBox\n :variant=\"variant\"\n :size=\"size\"\n :invalid=\"!!error\"\n :readonly=\"readonly || loading\"\n :disabled=\"disabled\"\n >\n <template\n v-if=\"$slots.prependInner\"\n v-slot:prepend\n >\n <slot name=\"prependInner\" />\n </template>\n <input\n :ref=\"'control'\"\n v-bind=\"attributes\"\n v-model.trim=\"model\"\n :class=\"controlStyles\"\n :name=\"name\"\n :type=\"type === 'password' && disclosed ? 'text' : type\"\n :inputmode=\"inputmode\"\n :autocomplete=\"autocomplete\"\n :placeholder=\"placeholder\"\n :required=\"required\"\n :readonly=\"readonly || loading\"\n :disabled=\"disabled\"\n @input=\"$emit('input', $event)\"\n @keydown=\"$emit('keydown', $event)\"\n @keyup=\"$emit('keyup', $event)\"\n @focus=\"$emit('focus', $event)\"\n @blur=\"$emit('blur', $event)\"\n >\n\n <template\n v-if=\"loading || type === 'password' || type === 'search' || $slots.appendInner\"\n v-slot:addon\n >\n <slot name=\"appendInner\">\n <template v-if=\"loading\">\n <OrLoader\n :variant=\"'circular'\"\n :color=\"error ? 'danger' : 'primary'\"\n :size=\"isMobile ? 'm' : 's'\"\n />\n </template>\n\n <template v-else>\n <template v-if=\"type === 'password'\">\n <OrIconButton\n :icon=\"{ icon: disclosed ? 'visibility' : 'visibility_off', variant: 'filled' }\"\n :size=\"'l'\"\n :color=\"'inherit'\"\n :disabled=\"disabled\"\n @click.stop=\"disclosed = !disclosed\"\n />\n </template>\n\n <template v-if=\"type === 'search'\">\n <template v-if=\"modelValue && !readonly\">\n <OrIconButton\n :icon=\"'close'\"\n :color=\"'inherit'\"\n :size=\"'l'\"\n :disabled=\"disabled\"\n @click.stop=\"clear()\"\n />\n </template>\n\n <template v-else>\n <OrIcon\n :icon=\"'search'\"\n :size=\"'l'\"\n :variant=\"'outlined'\"\n />\n </template>\n </template>\n </template>\n </slot>\n </template>\n </OrInputBox>\n <slot name=\"append\" />\n </div>\n <template v-if=\"$slots.hint || hint || maxLength\">\n <OrHint\n v-show=\"!error\"\n :disabled=\"disabled\"\n >\n <slot name=\"hint\">\n {{ hint }}\n </slot>\n\n <template\n v-if=\"maxLength\"\n v-slot:addon\n >\n {{ length }} / {{ maxLength }}\n </template>\n </OrHint>\n </template>\n\n <OrError\n v-show=\"typeof error === 'string' && error.length > 0\"\n :disabled=\"disabled\"\n >\n {{ error }}\n\n <template\n v-if=\"maxLength\"\n v-slot:addon\n >\n {{ length }} / {{ maxLength }}\n </template>\n </OrError>\n </div>\n</template>\n\n<script lang=\"ts\">\nimport { useControlAttributes, useIdAttribute, useProxyModelValue, useResponsive, useValidationAttributes } from '@onereach/ui-components-common/hooks';\nimport { OrErrorV3 as OrError } from '@onereach/ui-components.or-error-v3';\nimport { OrHintV3 as OrHint } from '@onereach/ui-components.or-hint-v3';\nimport { OrIconButtonV3 as OrIconButton } from '@onereach/ui-components.or-icon-button-v3';\nimport { OrIconV3 as OrIcon } from '@onereach/ui-components.or-icon-v3';\nimport { InputBoxSize, InputBoxVariant, OrInputBoxV3 as OrInputBox } from '@onereach/ui-components.or-input-box-v3';\nimport { OrLabelV3 as OrLabel } from '@onereach/ui-components.or-label-v3';\nimport { OrLoaderV3 as OrLoader } from '@onereach/ui-components.or-loader-v3';\nimport { PropType, computed, defineComponent, reactive, ref, toRef } from 'vue';\n\nimport * as Styles from './styles';\nimport { InputMode, InputModelValue, InputType } from './types';\n\nexport default defineComponent({\n name: 'OrInput',\n\n components: {\n OrError,\n OrHint,\n OrIcon,\n OrIconButton,\n OrInputBox,\n OrLabel,\n OrLoader,\n },\n\n model: {\n prop: 'modelValue',\n event: 'update:modelValue',\n },\n\n props: {\n modelValue: {\n type: undefined as unknown as PropType<InputModelValue>,\n default: undefined,\n },\n\n name: {\n type: String,\n default: undefined,\n },\n\n type: {\n type: String as PropType<`${InputType}`>,\n default: () => InputType.Text,\n },\n\n autocomplete: {\n type: String,\n default: 'off',\n },\n\n inputmode: {\n type: String as PropType<`${InputMode}`>,\n default: InputMode.Text,\n },\n\n variant: {\n type: String as PropType<`${InputBoxVariant}`>,\n default: undefined,\n },\n\n size: {\n type: String as PropType<`${InputBoxSize}`>,\n default: undefined,\n },\n\n label: {\n type: String,\n default: undefined,\n },\n\n placeholder: {\n type: String,\n default: undefined,\n },\n\n hint: {\n type: String,\n default: undefined,\n },\n\n error: {\n type: [String, Boolean],\n default: undefined,\n },\n\n loading: {\n type: Boolean,\n default: false,\n },\n\n required: {\n type: Boolean,\n default: false,\n },\n\n readonly: {\n type: Boolean,\n default: false,\n },\n\n disabled: {\n type: Boolean,\n default: false,\n },\n },\n\n emits: [\n 'update:modelValue',\n\n 'input',\n 'keydown',\n 'keyup',\n 'focus',\n 'blur',\n ],\n\n expose: [\n 'root',\n\n 'clear',\n 'focus',\n 'blur',\n ],\n\n setup(props, context) {\n const attributes = reactive({\n id: useIdAttribute(),\n ...useControlAttributes(),\n ...useValidationAttributes(),\n });\n\n // Refs & Styles\n const root = ref<HTMLElement>();\n\n const rootStyles = computed(() => [\n 'or-input-v3',\n ...Styles.Input,\n ...props.variant === InputBoxVariant.Embedded ? ['grow'] : [],\n ]);\n\n const control = ref<HTMLInputElement>();\n\n const controlStyles = computed(() => [\n ...Styles.InputControl,\n ]);\n\n // State\n const model = useProxyModelValue(toRef(props, 'modelValue'), context.emit);\n const disclosed = ref(false);\n\n const length = computed(() => {\n return model.value?.toString().length ?? 0;\n });\n\n const maxLength = computed(() => {\n return attributes.maxlength;\n });\n\n // Methods\n function clear(): void {\n model.value = undefined;\n }\n\n function focus(): void {\n control.value?.focus();\n }\n\n function blur(): void {\n control.value?.blur();\n }\n\n // Helpers\n const { isMobile } = useResponsive();\n\n return {\n attributes,\n\n root,\n rootStyles,\n\n control,\n controlStyles,\n\n model,\n disclosed,\n\n length,\n maxLength,\n\n clear,\n focus,\n blur,\n\n isMobile,\n };\n },\n});\n</script>\n\n<style scoped>\ninput {\n min-width: 0;\n background: none;\n outline: none;\n}\n\ninput[type=\"search\"]::-webkit-search-cancel-button {\n display: none;\n}\n</style>\n"],"names":["Input","InputControl","InputType","InputMode","_sfc_main","defineComponent","OrError","OrHint","OrIcon","OrIconButton","OrInputBox","OrLabel","OrLoader","props","context","attributes","reactive","useIdAttribute","useControlAttributes","useValidationAttributes","root","ref","rootStyles","computed","Styles.Input","InputBoxVariant","control","controlStyles","Styles.InputControl","model","useProxyModelValue","toRef","disclosed","length","_a","maxLength","clear","focus","blur","isMobile","useResponsive","_resolveComponent","_openBlock","_createElementBlock","_normalizeClass","_ctx","_createBlock","_component_OrLabel","_renderSlot","_createCommentVNode","_createElementVNode","_hoisted_1","_createVNode","_component_OrInputBox","_mergeProps","_cache","$event","_withCtx","_component_OrLoader","_Fragment","_component_OrIconButton","_withModifiers","_component_OrIcon","_component_OrHint","_createSlots","_withDirectives","_component_OrError"],"mappings":";;;;;;;;;;;AAAO,MAAMA,KAAkB;AAAA;AAAA,EAE7B;AAAA;AAAA,EAGA;AACF,GAEaC,KAAyB;AAAA;AAAA,EAEpC;AAAA;AAAA,EAGA;AAAA;AAAA,EAEA;AAAA;AAAA,EAGA;AAAA,EACA;AAAA;AAAA;AAAA;AAAA,EAKA;AAAA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,oBAAA,MAAA;AAAA;;;;;;;QAQf,IAAA;AAAA,MAAA,CAAA,GAAA,MAAA,CAAA,WAAA,QAAA,WAAA,YAAA,UAAA,CAAA;AAAA,MAEcd,EAAOH,EAAI,QAAI,UAAQ,CAAA,GAAS,QAAA,EAAA;AAAA,IAAA,CAAA;AAAA,gDAGjCH,KAAQI,EAAAiB,GAAA;AAAA,MAAA,KAAA;AAAA;IAIZ,GAAAC,EAAA;AAAA,MAAA,SAAAP,EAAA,MAAA;AAAA;;;;MAGC,GAAA;AAAA,IAAA,GAAA;AAAA;;;;;;;;;IAYC,CAAA,IAAAR,EAAA,IAAA,EAAA;AAAA,IAAAgB,EAAAb,EAAAc,GAAH,EAER,UAAArB,EAAA,SAAA,GAAAmB,EAAA;AAAA,MAAA,SAAAP,EAAA,MAAA;AAAA;;MACQ,GAAA;AAAA,IAAA,GAAA;AAAA;;;;;;;;;;;;;"}
|
|
@@ -6,7 +6,7 @@ import { O as vt } from "./OrError-B5ihH6-3.mjs";
|
|
|
6
6
|
import { O as bt } from "./OrHint-NvbZyURY.mjs";
|
|
7
7
|
import { O as kt } from "./OrIconButton-Ds8k8FmS.mjs";
|
|
8
8
|
import { O as yt } from "./OrInputBox-6ciokFdU.mjs";
|
|
9
|
-
import { O as Ct } from "./OrInput-
|
|
9
|
+
import { O as Ct } from "./OrInput-CxGhwo0q.mjs";
|
|
10
10
|
import { O as wt } from "./OrLabel-K7_HgvcK.mjs";
|
|
11
11
|
import { O as Ot } from "./OrMenuItem-VyCCXA7Z.mjs";
|
|
12
12
|
import { O as St } from "./OrMenu-Cag_fBXC.mjs";
|
|
@@ -1054,4 +1054,4 @@ export {
|
|
|
1054
1054
|
Ke as R,
|
|
1055
1055
|
Qe as a
|
|
1056
1056
|
};
|
|
1057
|
-
//# sourceMappingURL=OrRichTextEditor-
|
|
1057
|
+
//# sourceMappingURL=OrRichTextEditor-zb1kQ0es.mjs.map
|