@atscript/vue-aooth 0.1.78 → 0.1.79
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/{as-password-rules-f9ouYgev.mjs → as-password-rules-9OToIqwo.mjs} +9 -16
- package/dist/{as-password-rules-DkFih-lL.cjs → as-password-rules-Dqk2jgol.cjs} +8 -15
- package/dist/as-password-rules.cjs +1 -1
- package/dist/as-password-rules.mjs +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +7 -7
|
@@ -1,17 +1,10 @@
|
|
|
1
|
-
import { Fragment, computed, createBlock, createElementBlock, createElementVNode, defineComponent, mergeProps, openBlock, renderList, toDisplayString, unref, withCtx } from "vue";
|
|
1
|
+
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, mergeProps, openBlock, renderList, toDisplayString, unref, withCtx } from "vue";
|
|
2
2
|
import { AsFieldShell } from "@atscript/vue-form";
|
|
3
3
|
import { compileFieldFn } from "@atscript/ui-fns";
|
|
4
4
|
//#region src/components/as-password-rules.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
-
const _hoisted_1 = {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
};
|
|
9
|
-
const _hoisted_2 = {
|
|
10
|
-
key: 1,
|
|
11
|
-
class: "as-password-rules-list"
|
|
12
|
-
};
|
|
13
|
-
const _hoisted_3 = ["data-passed"];
|
|
14
|
-
const _hoisted_4 = { class: "as-password-rules-text" };
|
|
5
|
+
const _hoisted_1 = { class: "as-password-rules-list" };
|
|
6
|
+
const _hoisted_2 = ["data-passed"];
|
|
7
|
+
const _hoisted_3 = { class: "as-password-rules-text" };
|
|
15
8
|
//#endregion
|
|
16
9
|
//#region src/components/as-password-rules.vue
|
|
17
10
|
var as_password_rules_default = /* @__PURE__ */ defineComponent({
|
|
@@ -243,11 +236,11 @@ var as_password_rules_default = /* @__PURE__ */ defineComponent({
|
|
|
243
236
|
return out;
|
|
244
237
|
});
|
|
245
238
|
return (_ctx, _cache) => {
|
|
246
|
-
return openBlock(), createBlock(unref(AsFieldShell), mergeProps(_ctx.$props, {
|
|
239
|
+
return evaluated.value.length > 0 ? (openBlock(), createBlock(unref(AsFieldShell), mergeProps({ key: 0 }, _ctx.$props, {
|
|
247
240
|
chromeless: true,
|
|
248
241
|
"field-class": "as-password-rules"
|
|
249
242
|
}), {
|
|
250
|
-
default: withCtx(() => [
|
|
243
|
+
default: withCtx(() => [createElementVNode("div", _hoisted_1, [(openBlock(true), createElementBlock(Fragment, null, renderList(evaluated.value, (policy, index) => {
|
|
251
244
|
return openBlock(), createElementBlock("div", {
|
|
252
245
|
key: index,
|
|
253
246
|
class: "as-password-rules-row",
|
|
@@ -255,10 +248,10 @@ var as_password_rules_default = /* @__PURE__ */ defineComponent({
|
|
|
255
248
|
}, [_cache[0] || (_cache[0] = createElementVNode("span", {
|
|
256
249
|
class: "as-password-rules-icon",
|
|
257
250
|
"aria-hidden": "true"
|
|
258
|
-
}, null, -1)), createElementVNode("span",
|
|
259
|
-
}), 128))])
|
|
251
|
+
}, null, -1)), createElementVNode("span", _hoisted_3, toDisplayString(policy.description), 1)], 8, _hoisted_2);
|
|
252
|
+
}), 128))])]),
|
|
260
253
|
_: 1
|
|
261
|
-
}, 16);
|
|
254
|
+
}, 16)) : createCommentVNode("v-if", true);
|
|
262
255
|
};
|
|
263
256
|
}
|
|
264
257
|
});
|
|
@@ -2,16 +2,9 @@ let vue = require("vue");
|
|
|
2
2
|
let _atscript_vue_form = require("@atscript/vue-form");
|
|
3
3
|
let _atscript_ui_fns = require("@atscript/ui-fns");
|
|
4
4
|
//#region src/components/as-password-rules.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
-
const _hoisted_1 = {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
};
|
|
9
|
-
const _hoisted_2 = {
|
|
10
|
-
key: 1,
|
|
11
|
-
class: "as-password-rules-list"
|
|
12
|
-
};
|
|
13
|
-
const _hoisted_3 = ["data-passed"];
|
|
14
|
-
const _hoisted_4 = { class: "as-password-rules-text" };
|
|
5
|
+
const _hoisted_1 = { class: "as-password-rules-list" };
|
|
6
|
+
const _hoisted_2 = ["data-passed"];
|
|
7
|
+
const _hoisted_3 = { class: "as-password-rules-text" };
|
|
15
8
|
//#endregion
|
|
16
9
|
//#region src/components/as-password-rules.vue
|
|
17
10
|
var as_password_rules_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -243,11 +236,11 @@ var as_password_rules_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
243
236
|
return out;
|
|
244
237
|
});
|
|
245
238
|
return (_ctx, _cache) => {
|
|
246
|
-
return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(_atscript_vue_form.AsFieldShell), (0, vue.mergeProps)(_ctx.$props, {
|
|
239
|
+
return evaluated.value.length > 0 ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(_atscript_vue_form.AsFieldShell), (0, vue.mergeProps)({ key: 0 }, _ctx.$props, {
|
|
247
240
|
chromeless: true,
|
|
248
241
|
"field-class": "as-password-rules"
|
|
249
242
|
}), {
|
|
250
|
-
default: (0, vue.withCtx)(() => [
|
|
243
|
+
default: (0, vue.withCtx)(() => [(0, vue.createElementVNode)("div", _hoisted_1, [((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)(evaluated.value, (policy, index) => {
|
|
251
244
|
return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
|
|
252
245
|
key: index,
|
|
253
246
|
class: "as-password-rules-row",
|
|
@@ -255,10 +248,10 @@ var as_password_rules_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
255
248
|
}, [_cache[0] || (_cache[0] = (0, vue.createElementVNode)("span", {
|
|
256
249
|
class: "as-password-rules-icon",
|
|
257
250
|
"aria-hidden": "true"
|
|
258
|
-
}, null, -1)), (0, vue.createElementVNode)("span",
|
|
259
|
-
}), 128))])
|
|
251
|
+
}, null, -1)), (0, vue.createElementVNode)("span", _hoisted_3, (0, vue.toDisplayString)(policy.description), 1)], 8, _hoisted_2);
|
|
252
|
+
}), 128))])]),
|
|
260
253
|
_: 1
|
|
261
|
-
}, 16);
|
|
254
|
+
}, 16)) : (0, vue.createCommentVNode)("v-if", true);
|
|
262
255
|
};
|
|
263
256
|
}
|
|
264
257
|
});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const require_as_password_rules = require("./as-password-rules-
|
|
1
|
+
const require_as_password_rules = require("./as-password-rules-Dqk2jgol.cjs");
|
|
2
2
|
module.exports = require_as_password_rules.as_password_rules_default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as as_password_rules_default } from "./as-password-rules-
|
|
1
|
+
import { t as as_password_rules_default } from "./as-password-rules-9OToIqwo.mjs";
|
|
2
2
|
export { as_password_rules_default as default };
|
package/dist/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_as_consent_array = require("./as-consent-array-B8gtVvew.cjs");
|
|
3
|
-
const require_as_password_rules = require("./as-password-rules-
|
|
3
|
+
const require_as_password_rules = require("./as-password-rules-Dqk2jgol.cjs");
|
|
4
4
|
exports.AsConsentArray = require_as_consent_array.as_consent_array_default;
|
|
5
5
|
exports.AsPasswordRules = require_as_password_rules.as_password_rules_default;
|
package/dist/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { t as as_consent_array_default } from "./as-consent-array-C1GpSvgX.mjs";
|
|
2
|
-
import { t as as_password_rules_default } from "./as-password-rules-
|
|
2
|
+
import { t as as_password_rules_default } from "./as-password-rules-9OToIqwo.mjs";
|
|
3
3
|
export { as_consent_array_default as AsConsentArray, as_password_rules_default as AsPasswordRules };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atscript/vue-aooth",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.79",
|
|
4
4
|
"description": "Custom form components for the Aooth auth system, built on @atscript/vue-form",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"aooth",
|
|
@@ -50,8 +50,8 @@
|
|
|
50
50
|
"access": "public"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@atscript/ui": "^0.1.
|
|
54
|
-
"@atscript/vue-form": "^0.1.
|
|
53
|
+
"@atscript/ui": "^0.1.79",
|
|
54
|
+
"@atscript/vue-form": "^0.1.79"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@atscript/core": "^0.1.64",
|
|
@@ -64,13 +64,13 @@
|
|
|
64
64
|
"vitest": "npm:@voidzero-dev/vite-plus-test@0.1.14",
|
|
65
65
|
"vue": "^3",
|
|
66
66
|
"vue-tsc": "~3.2.9",
|
|
67
|
-
"vunor": "^0.2",
|
|
68
|
-
"@atscript/ui-fns": "^0.1.
|
|
67
|
+
"vunor": "^0.2.1",
|
|
68
|
+
"@atscript/ui-fns": "^0.1.79"
|
|
69
69
|
},
|
|
70
70
|
"peerDependencies": {
|
|
71
71
|
"vue": "^3",
|
|
72
|
-
"@atscript/ui-fns": "^0.1.
|
|
73
|
-
"@atscript/vue-form": "^0.1.
|
|
72
|
+
"@atscript/ui-fns": "^0.1.79",
|
|
73
|
+
"@atscript/vue-form": "^0.1.79"
|
|
74
74
|
},
|
|
75
75
|
"scripts": {
|
|
76
76
|
"build": "node ../../scripts/gen-exports.mjs && vp pack",
|