@bagelink/vue 0.0.853 → 0.0.855
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.
|
@@ -22,6 +22,7 @@ export interface TextInputProps {
|
|
|
22
22
|
lines?: number;
|
|
23
23
|
autofocus?: boolean;
|
|
24
24
|
debounceDelay?: number;
|
|
25
|
+
autocomplete?: AutoFillField;
|
|
25
26
|
onFocusout?: (e: FocusEvent) => void;
|
|
26
27
|
}
|
|
27
28
|
declare let __VLS_typeProps: TextInputProps;
|
|
@@ -35,6 +36,8 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
35
36
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
36
37
|
"onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
|
|
37
38
|
"onUpdate:showPwd"?: ((showPwd: boolean) => any) | undefined;
|
|
38
|
-
}>, {
|
|
39
|
+
}>, {
|
|
40
|
+
autocomplete: AutoFillField;
|
|
41
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
39
42
|
export default _default;
|
|
40
43
|
//# sourceMappingURL=PasswordInput.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PasswordInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/inputs/PasswordInput.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PasswordInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/inputs/PasswordInput.vue"],"names":[],"mappings":"AAmEA,OAAO,EAAO,KAAK,aAAa,EAAa,MAAM,eAAe,CAAA;AAElE,MAAM,WAAW,cAAc;IAC9B,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,gBAAgB,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAA;IACzC,IAAI,CAAC,EAAE,aAAa,CAAA;IACpB,SAAS,CAAC,EAAE,aAAa,CAAA;IACzB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,YAAY,CAAC,EAAE,aAAa,CAAA;IAC5B,UAAU,CAAC,EAAE,CAAC,CAAC,EAAE,UAAU,KAAK,IAAI,CAAA;CACpC;AAGD,QAAA,IAAI,eAAe,EAAG,cAAc,CAAC;AAqBrC,KAAK,iBAAiB,GAAG;IACzB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,OAAO,eAAe,CAAC;;;;;;;;kBA7BX,aAAa;;AAyH7B,wBAQG"}
|
package/dist/index.cjs
CHANGED
|
@@ -19143,7 +19143,8 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
|
19143
19143
|
lines: {},
|
|
19144
19144
|
autofocus: { type: Boolean },
|
|
19145
19145
|
debounceDelay: {},
|
|
19146
|
-
|
|
19146
|
+
autocomplete: { default: "current-password" },
|
|
19147
|
+
onFocusout: {}
|
|
19147
19148
|
}, {
|
|
19148
19149
|
"modelValue": {},
|
|
19149
19150
|
"modelModifiers": {},
|
|
@@ -19166,7 +19167,6 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
|
19166
19167
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => password.value = $event)
|
|
19167
19168
|
}, props2, {
|
|
19168
19169
|
type: inputType.value,
|
|
19169
|
-
autocomplete: "current-password",
|
|
19170
19170
|
class: "mb-0"
|
|
19171
19171
|
}), null, 16, ["modelValue", "type"]),
|
|
19172
19172
|
vue.createVNode(vue.unref(Btn), {
|
package/dist/index.mjs
CHANGED
|
@@ -19141,7 +19141,8 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
19141
19141
|
lines: {},
|
|
19142
19142
|
autofocus: { type: Boolean },
|
|
19143
19143
|
debounceDelay: {},
|
|
19144
|
-
|
|
19144
|
+
autocomplete: { default: "current-password" },
|
|
19145
|
+
onFocusout: {}
|
|
19145
19146
|
}, {
|
|
19146
19147
|
"modelValue": {},
|
|
19147
19148
|
"modelModifiers": {},
|
|
@@ -19164,7 +19165,6 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
19164
19165
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => password.value = $event)
|
|
19165
19166
|
}, props2, {
|
|
19166
19167
|
type: inputType.value,
|
|
19167
|
-
autocomplete: "current-password",
|
|
19168
19168
|
class: "mb-0"
|
|
19169
19169
|
}), null, 16, ["modelValue", "type"]),
|
|
19170
19170
|
createVNode(unref(Btn), {
|
package/package.json
CHANGED
|
@@ -22,9 +22,13 @@ export interface TextInputProps {
|
|
|
22
22
|
lines?: number
|
|
23
23
|
autofocus?: boolean
|
|
24
24
|
debounceDelay?: number
|
|
25
|
+
autocomplete?: AutoFillField
|
|
25
26
|
onFocusout?: (e: FocusEvent) => void
|
|
26
27
|
}
|
|
27
|
-
const props =
|
|
28
|
+
const props = withDefaults(
|
|
29
|
+
defineProps<TextInputProps>(),
|
|
30
|
+
{ autocomplete: 'current-password' }
|
|
31
|
+
)
|
|
28
32
|
|
|
29
33
|
const password = defineModel<string>('modelValue')
|
|
30
34
|
const showPwd = defineModel<boolean>('showPwd', { default: false })
|
|
@@ -40,7 +44,6 @@ const inputType = $computed(() => (showPwd.value ? 'text' : 'password'))
|
|
|
40
44
|
v-model="password"
|
|
41
45
|
v-bind="props"
|
|
42
46
|
:type="inputType"
|
|
43
|
-
autocomplete="current-password"
|
|
44
47
|
class="mb-0"
|
|
45
48
|
/>
|
|
46
49
|
<Btn
|