@bitrix24/b24ui-nuxt 0.5.4 → 0.5.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/module.cjs +1 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/components/Form.vue +1 -0
- package/dist/runtime/components/FormField.vue +1 -0
- package/dist/runtime/composables/useFormField.js +1 -1
- package/dist/runtime/types/form.d.ts +1 -0
- package/dist/shared/{b24ui-nuxt.BfU7TRfz.cjs → b24ui-nuxt.BGKKwlPY.cjs} +1 -0
- package/dist/shared/{b24ui-nuxt.CTERD7XY.mjs → b24ui-nuxt.DWwKgFlo.mjs} +1 -0
- package/dist/unplugin.cjs +1 -1
- package/dist/unplugin.mjs +1 -1
- package/dist/vite.cjs +1 -1
- package/dist/vite.mjs +1 -1
- package/package.json +6 -6
package/dist/module.cjs
CHANGED
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defu } from 'defu';
|
|
2
2
|
import { defineNuxtModule, createResolver, addVitePlugin, addPlugin, addComponentsDir, addImportsDir, hasNuxtModule, installModule } from '@nuxt/kit';
|
|
3
|
-
import { d as defaultOptions, a as getDefaultUiConfig, b as addTemplates } from './shared/b24ui-nuxt.
|
|
3
|
+
import { d as defaultOptions, a as getDefaultUiConfig, b as addTemplates } from './shared/b24ui-nuxt.DWwKgFlo.mjs';
|
|
4
4
|
import 'node:url';
|
|
5
5
|
import 'scule';
|
|
6
6
|
|
|
@@ -216,6 +216,7 @@ async function onSubmitWrapper(payload: Event) {
|
|
|
216
216
|
try {
|
|
217
217
|
event.data = await _validate({ nested: true, transform: props.transform })
|
|
218
218
|
await props.onSubmit?.(event)
|
|
219
|
+
dirtyFields.clear()
|
|
219
220
|
} catch (error) {
|
|
220
221
|
if (!(error instanceof FormValidationException)) {
|
|
221
222
|
throw error
|
|
@@ -55,7 +55,7 @@ export function useFormField(props, opts) {
|
|
|
55
55
|
emitFormFocus,
|
|
56
56
|
ariaAttrs: computed(() => {
|
|
57
57
|
if (!formField?.value) return;
|
|
58
|
-
const descriptiveAttrs = ["error", "hint", "description"].filter((type) => formField?.value?.[type]).map((type) => `${formField?.value.ariaId}-${type}`) || [];
|
|
58
|
+
const descriptiveAttrs = ["error", "hint", "description", "help"].filter((type) => formField?.value?.[type]).map((type) => `${formField?.value.ariaId}-${type}`) || [];
|
|
59
59
|
return {
|
|
60
60
|
"aria-describedby": descriptiveAttrs.join(" "),
|
|
61
61
|
"aria-invalid": !!formField?.value.error
|
package/dist/unplugin.cjs
CHANGED
|
@@ -5,7 +5,7 @@ const pathe = require('pathe');
|
|
|
5
5
|
const unplugin = require('unplugin');
|
|
6
6
|
const defu = require('defu');
|
|
7
7
|
const tailwind = require('@tailwindcss/vite');
|
|
8
|
-
const templates = require('./shared/b24ui-nuxt.
|
|
8
|
+
const templates = require('./shared/b24ui-nuxt.BGKKwlPY.cjs');
|
|
9
9
|
const tinyglobby = require('tinyglobby');
|
|
10
10
|
const knitwork = require('knitwork');
|
|
11
11
|
const MagicString = require('magic-string');
|
package/dist/unplugin.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import { join, normalize } from 'pathe';
|
|
|
3
3
|
import { createUnplugin } from 'unplugin';
|
|
4
4
|
import { defu } from 'defu';
|
|
5
5
|
import tailwind from '@tailwindcss/vite';
|
|
6
|
-
import { g as getTemplates, d as defaultOptions, a as getDefaultUiConfig } from './shared/b24ui-nuxt.
|
|
6
|
+
import { g as getTemplates, d as defaultOptions, a as getDefaultUiConfig } from './shared/b24ui-nuxt.DWwKgFlo.mjs';
|
|
7
7
|
import { globSync } from 'tinyglobby';
|
|
8
8
|
import { genSafeVariableName } from 'knitwork';
|
|
9
9
|
import MagicString from 'magic-string';
|
package/dist/vite.cjs
CHANGED
package/dist/vite.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bitrix24/b24ui-nuxt",
|
|
3
3
|
"description": "Bitrix24 UI-Kit for developing web applications REST API for NUXT & VUE",
|
|
4
|
-
"version": "0.5.
|
|
4
|
+
"version": "0.5.5",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/bitrix24/b24ui.git"
|
|
@@ -76,10 +76,10 @@
|
|
|
76
76
|
"@nuxt/schema": "^3.16.1",
|
|
77
77
|
"@nuxtjs/color-mode": "^3.5.2",
|
|
78
78
|
"@standard-schema/spec": "^1.0.0",
|
|
79
|
-
"@tailwindcss/postcss": "^4.0.
|
|
80
|
-
"@tailwindcss/vite": "^4.0.
|
|
79
|
+
"@tailwindcss/postcss": "^4.0.17",
|
|
80
|
+
"@tailwindcss/vite": "^4.0.17",
|
|
81
81
|
"@tanstack/vue-table": "^8.21.2",
|
|
82
|
-
"@unhead/vue": "^2.0.
|
|
82
|
+
"@unhead/vue": "^2.0.1",
|
|
83
83
|
"@vueuse/core": "^13.0.0",
|
|
84
84
|
"@vueuse/integrations": "^13.0.0",
|
|
85
85
|
"canvas-confetti": "^1.9.3",
|
|
@@ -102,10 +102,10 @@
|
|
|
102
102
|
"reka-ui": "^2.1.1",
|
|
103
103
|
"scule": "^1.3.0",
|
|
104
104
|
"tailwind-variants": "^1.0.0",
|
|
105
|
-
"tailwindcss": "^4.0.
|
|
105
|
+
"tailwindcss": "^4.0.17",
|
|
106
106
|
"tinyglobby": "^0.2.12",
|
|
107
107
|
"unplugin": "^2.2.2",
|
|
108
|
-
"unplugin-auto-import": "^19.1.
|
|
108
|
+
"unplugin-auto-import": "^19.1.2",
|
|
109
109
|
"unplugin-vue-components": "^28.4.1",
|
|
110
110
|
"vaul-vue": "^0.4.1",
|
|
111
111
|
"vue": "^3.5.13",
|