@bitrix24/b24ui-nuxt 0.4.3 → 0.4.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/.nuxt/b24ui/prose/img.ts +5 -0
- package/dist/meta.cjs +125 -20
- package/dist/meta.d.cts +125 -20
- package/dist/meta.d.mts +125 -20
- package/dist/meta.d.ts +125 -20
- package/dist/meta.mjs +125 -20
- package/dist/module.cjs +2 -2
- package/dist/module.json +2 -2
- package/dist/module.mjs +2 -2
- package/dist/runtime/components/Button.vue +1 -0
- package/dist/runtime/components/Form.vue +1 -1
- package/dist/runtime/components/Input.vue +7 -3
- package/dist/runtime/components/LinkBase.vue +4 -2
- package/dist/runtime/components/Textarea.vue +7 -3
- package/dist/runtime/locale/ar.js +55 -0
- package/dist/runtime/locale/br.d.ts +2 -0
- package/dist/runtime/locale/br.js +54 -0
- package/dist/runtime/locale/de.d.ts +2 -0
- package/dist/runtime/locale/de.js +54 -0
- package/dist/runtime/locale/en.js +6 -0
- package/dist/runtime/locale/fr.d.ts +2 -0
- package/dist/runtime/locale/fr.js +54 -0
- package/dist/runtime/locale/id.d.ts +2 -0
- package/dist/runtime/locale/id.js +54 -0
- package/dist/runtime/locale/index.d.ts +44 -1
- package/dist/runtime/locale/index.js +17 -1
- package/dist/runtime/locale/it.d.ts +2 -0
- package/dist/runtime/locale/it.js +54 -0
- package/dist/runtime/locale/ja.d.ts +2 -0
- package/dist/runtime/locale/ja.js +54 -0
- package/dist/runtime/locale/kz.d.ts +2 -0
- package/dist/runtime/locale/kz.js +54 -0
- package/dist/runtime/locale/la.d.ts +2 -0
- package/dist/runtime/locale/{es.js → la.js} +7 -1
- package/dist/runtime/locale/ms.d.ts +2 -0
- package/dist/runtime/locale/ms.js +54 -0
- package/dist/runtime/locale/pl.d.ts +2 -0
- package/dist/runtime/locale/pl.js +54 -0
- package/dist/runtime/locale/ru.js +6 -0
- package/dist/runtime/locale/sc.d.ts +2 -0
- package/dist/runtime/locale/sc.js +54 -0
- package/dist/runtime/locale/tc.d.ts +2 -0
- package/dist/runtime/locale/tc.js +54 -0
- package/dist/runtime/locale/th.d.ts +2 -0
- package/dist/runtime/locale/th.js +54 -0
- package/dist/runtime/locale/tr.d.ts +2 -0
- package/dist/runtime/locale/tr.js +54 -0
- package/dist/runtime/locale/ua.d.ts +2 -0
- package/dist/runtime/locale/ua.js +54 -0
- package/dist/runtime/locale/vn.d.ts +2 -0
- package/dist/runtime/locale/vn.js +54 -0
- package/dist/runtime/prose/A.vue +1 -1
- package/dist/runtime/prose/Img.vue +32 -0
- package/dist/runtime/types/index.d.ts +1 -0
- package/dist/runtime/types/index.js +1 -0
- package/dist/runtime/types/locale.d.ts +6 -0
- package/dist/runtime/utils/tv.d.ts +1 -1
- package/dist/runtime/vue/plugins/head.d.ts +1 -1
- package/dist/runtime/vue/plugins/head.js +4 -3
- package/dist/runtime/vue/stubs.d.ts +1 -1
- package/dist/runtime/vue/stubs.js +1 -1
- package/dist/shared/{b24ui-nuxt.BRwBcdAH.mjs → b24ui-nuxt.BH-d1ImO.mjs} +10 -0
- package/dist/shared/{b24ui-nuxt.C1tIhR9w.cjs → b24ui-nuxt.DxEKoBT7.cjs} +10 -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 +14 -15
- /package/dist/runtime/locale/{es.d.ts → ar.d.ts} +0 -0
package/dist/meta.d.ts
CHANGED
|
@@ -2144,6 +2144,56 @@ var B24UIMeta = {
|
|
|
2144
2144
|
}
|
|
2145
2145
|
}
|
|
2146
2146
|
},
|
|
2147
|
+
"calendar": {
|
|
2148
|
+
"name": "calendar",
|
|
2149
|
+
"global": false,
|
|
2150
|
+
"description": "",
|
|
2151
|
+
"tags": [],
|
|
2152
|
+
"required": true,
|
|
2153
|
+
"type": "{ prevYear: string; nextYear: string; prevMonth: string; nextMonth: string; }",
|
|
2154
|
+
"schema": {
|
|
2155
|
+
"kind": "object",
|
|
2156
|
+
"type": "{ prevYear: string; nextYear: string; prevMonth: string; nextMonth: string; }",
|
|
2157
|
+
"schema": {
|
|
2158
|
+
"prevYear": {
|
|
2159
|
+
"name": "prevYear",
|
|
2160
|
+
"global": false,
|
|
2161
|
+
"description": "",
|
|
2162
|
+
"tags": [],
|
|
2163
|
+
"required": true,
|
|
2164
|
+
"type": "string",
|
|
2165
|
+
"schema": "string"
|
|
2166
|
+
},
|
|
2167
|
+
"nextYear": {
|
|
2168
|
+
"name": "nextYear",
|
|
2169
|
+
"global": false,
|
|
2170
|
+
"description": "",
|
|
2171
|
+
"tags": [],
|
|
2172
|
+
"required": true,
|
|
2173
|
+
"type": "string",
|
|
2174
|
+
"schema": "string"
|
|
2175
|
+
},
|
|
2176
|
+
"prevMonth": {
|
|
2177
|
+
"name": "prevMonth",
|
|
2178
|
+
"global": false,
|
|
2179
|
+
"description": "",
|
|
2180
|
+
"tags": [],
|
|
2181
|
+
"required": true,
|
|
2182
|
+
"type": "string",
|
|
2183
|
+
"schema": "string"
|
|
2184
|
+
},
|
|
2185
|
+
"nextMonth": {
|
|
2186
|
+
"name": "nextMonth",
|
|
2187
|
+
"global": false,
|
|
2188
|
+
"description": "",
|
|
2189
|
+
"tags": [],
|
|
2190
|
+
"required": true,
|
|
2191
|
+
"type": "string",
|
|
2192
|
+
"schema": "string"
|
|
2193
|
+
}
|
|
2194
|
+
}
|
|
2195
|
+
}
|
|
2196
|
+
},
|
|
2147
2197
|
"inputNumber": {
|
|
2148
2198
|
"name": "inputNumber",
|
|
2149
2199
|
"global": false,
|
|
@@ -18082,15 +18132,15 @@ var B24UIMeta = {
|
|
|
18082
18132
|
}
|
|
18083
18133
|
],
|
|
18084
18134
|
"required": false,
|
|
18085
|
-
"type": "\"start\" | \"
|
|
18135
|
+
"type": "\"start\" | \"center\" | \"end\" | undefined",
|
|
18086
18136
|
"schema": {
|
|
18087
18137
|
"kind": "enum",
|
|
18088
|
-
"type": "\"start\" | \"
|
|
18138
|
+
"type": "\"start\" | \"center\" | \"end\" | undefined",
|
|
18089
18139
|
"schema": {
|
|
18090
18140
|
"0": "undefined",
|
|
18091
18141
|
"1": "\"start\"",
|
|
18092
|
-
"2": "\"
|
|
18093
|
-
"3": "\"
|
|
18142
|
+
"2": "\"center\"",
|
|
18143
|
+
"3": "\"end\""
|
|
18094
18144
|
}
|
|
18095
18145
|
}
|
|
18096
18146
|
},
|
|
@@ -19104,14 +19154,15 @@ var B24UIMeta = {
|
|
|
19104
19154
|
"description": "",
|
|
19105
19155
|
"tags": [],
|
|
19106
19156
|
"required": false,
|
|
19107
|
-
"type": "string | number | undefined",
|
|
19157
|
+
"type": "string | number | null | undefined",
|
|
19108
19158
|
"schema": {
|
|
19109
19159
|
"kind": "enum",
|
|
19110
|
-
"type": "string | number | undefined",
|
|
19160
|
+
"type": "string | number | null | undefined",
|
|
19111
19161
|
"schema": {
|
|
19112
19162
|
"0": "undefined",
|
|
19113
|
-
"1": "
|
|
19114
|
-
"2": "
|
|
19163
|
+
"1": "null",
|
|
19164
|
+
"2": "string",
|
|
19165
|
+
"3": "number"
|
|
19115
19166
|
}
|
|
19116
19167
|
}
|
|
19117
19168
|
},
|
|
@@ -29018,34 +29069,53 @@ var B24UIMeta = {
|
|
|
29018
29069
|
}
|
|
29019
29070
|
},
|
|
29020
29071
|
{
|
|
29021
|
-
"name": "
|
|
29072
|
+
"name": "target",
|
|
29022
29073
|
"global": false,
|
|
29023
29074
|
"description": "",
|
|
29024
29075
|
"tags": [],
|
|
29025
29076
|
"required": false,
|
|
29026
|
-
"type": "string | undefined",
|
|
29077
|
+
"type": "\"_blank\" | \"_parent\" | \"_self\" | \"_top\" | (string & {}) | null | undefined",
|
|
29027
29078
|
"schema": {
|
|
29028
29079
|
"kind": "enum",
|
|
29029
|
-
"type": "string | undefined",
|
|
29080
|
+
"type": "\"_blank\" | \"_parent\" | \"_self\" | \"_top\" | (string & {}) | null | undefined",
|
|
29030
29081
|
"schema": {
|
|
29031
29082
|
"0": "undefined",
|
|
29032
|
-
"1": "
|
|
29083
|
+
"1": "null",
|
|
29084
|
+
"2": "\"_blank\"",
|
|
29085
|
+
"3": "\"_parent\"",
|
|
29086
|
+
"4": "\"_self\"",
|
|
29087
|
+
"5": "\"_top\"",
|
|
29088
|
+
"6": {
|
|
29089
|
+
"kind": "object",
|
|
29090
|
+
"type": "string & {}",
|
|
29091
|
+
"schema": {}
|
|
29092
|
+
}
|
|
29033
29093
|
}
|
|
29034
29094
|
}
|
|
29035
29095
|
},
|
|
29036
29096
|
{
|
|
29037
|
-
"name": "
|
|
29097
|
+
"name": "rel",
|
|
29038
29098
|
"global": false,
|
|
29039
29099
|
"description": "",
|
|
29040
29100
|
"tags": [],
|
|
29041
29101
|
"required": false,
|
|
29042
|
-
"type": "string | undefined",
|
|
29102
|
+
"type": "(string & {}) | \"noopener\" | \"noreferrer\" | \"nofollow\" | \"sponsored\" | \"ugc\" | null | undefined",
|
|
29043
29103
|
"schema": {
|
|
29044
29104
|
"kind": "enum",
|
|
29045
|
-
"type": "string | undefined",
|
|
29105
|
+
"type": "(string & {}) | \"noopener\" | \"noreferrer\" | \"nofollow\" | \"sponsored\" | \"ugc\" | null | undefined",
|
|
29046
29106
|
"schema": {
|
|
29047
29107
|
"0": "undefined",
|
|
29048
|
-
"1": "
|
|
29108
|
+
"1": "null",
|
|
29109
|
+
"2": {
|
|
29110
|
+
"kind": "object",
|
|
29111
|
+
"type": "string & {}",
|
|
29112
|
+
"schema": {}
|
|
29113
|
+
},
|
|
29114
|
+
"3": "\"noopener\"",
|
|
29115
|
+
"4": "\"noreferrer\"",
|
|
29116
|
+
"5": "\"nofollow\"",
|
|
29117
|
+
"6": "\"sponsored\"",
|
|
29118
|
+
"7": "\"ugc\""
|
|
29049
29119
|
}
|
|
29050
29120
|
}
|
|
29051
29121
|
},
|
|
@@ -42589,14 +42659,15 @@ var B24UIMeta = {
|
|
|
42589
42659
|
"description": "",
|
|
42590
42660
|
"tags": [],
|
|
42591
42661
|
"required": false,
|
|
42592
|
-
"type": "string | number | undefined",
|
|
42662
|
+
"type": "string | number | null | undefined",
|
|
42593
42663
|
"schema": {
|
|
42594
42664
|
"kind": "enum",
|
|
42595
|
-
"type": "string | number | undefined",
|
|
42665
|
+
"type": "string | number | null | undefined",
|
|
42596
42666
|
"schema": {
|
|
42597
42667
|
"0": "undefined",
|
|
42598
|
-
"1": "
|
|
42599
|
-
"2": "
|
|
42668
|
+
"1": "null",
|
|
42669
|
+
"2": "string",
|
|
42670
|
+
"3": "number"
|
|
42600
42671
|
}
|
|
42601
42672
|
}
|
|
42602
42673
|
},
|
|
@@ -45888,6 +45959,40 @@ var B24UIMeta = {
|
|
|
45888
45959
|
"exposed": []
|
|
45889
45960
|
}
|
|
45890
45961
|
},
|
|
45962
|
+
"ProseImg": {
|
|
45963
|
+
"mode": "all",
|
|
45964
|
+
"prefetch": false,
|
|
45965
|
+
"preload": false,
|
|
45966
|
+
"pascalName": "ProseImg",
|
|
45967
|
+
"kebabName": "prose-img",
|
|
45968
|
+
"chunkName": "components/prose-img",
|
|
45969
|
+
"priority": 0,
|
|
45970
|
+
"_scanned": true,
|
|
45971
|
+
"meta": {
|
|
45972
|
+
"type": 0,
|
|
45973
|
+
"props": [
|
|
45974
|
+
{
|
|
45975
|
+
"name": "b24ui",
|
|
45976
|
+
"global": false,
|
|
45977
|
+
"description": "",
|
|
45978
|
+
"tags": [],
|
|
45979
|
+
"required": false,
|
|
45980
|
+
"type": "Partial<{ base: string; }> | undefined",
|
|
45981
|
+
"schema": {
|
|
45982
|
+
"kind": "enum",
|
|
45983
|
+
"type": "Partial<{ base: string; }> | undefined",
|
|
45984
|
+
"schema": {
|
|
45985
|
+
"0": "undefined",
|
|
45986
|
+
"1": "Partial<{ base: string; }>"
|
|
45987
|
+
}
|
|
45988
|
+
}
|
|
45989
|
+
}
|
|
45990
|
+
],
|
|
45991
|
+
"slots": [],
|
|
45992
|
+
"events": [],
|
|
45993
|
+
"exposed": []
|
|
45994
|
+
}
|
|
45995
|
+
},
|
|
45891
45996
|
"ProseLi": {
|
|
45892
45997
|
"mode": "all",
|
|
45893
45998
|
"prefetch": false,
|
package/dist/meta.mjs
CHANGED
|
@@ -2144,6 +2144,56 @@ const B24UIMeta = {
|
|
|
2144
2144
|
}
|
|
2145
2145
|
}
|
|
2146
2146
|
},
|
|
2147
|
+
"calendar": {
|
|
2148
|
+
"name": "calendar",
|
|
2149
|
+
"global": false,
|
|
2150
|
+
"description": "",
|
|
2151
|
+
"tags": [],
|
|
2152
|
+
"required": true,
|
|
2153
|
+
"type": "{ prevYear: string; nextYear: string; prevMonth: string; nextMonth: string; }",
|
|
2154
|
+
"schema": {
|
|
2155
|
+
"kind": "object",
|
|
2156
|
+
"type": "{ prevYear: string; nextYear: string; prevMonth: string; nextMonth: string; }",
|
|
2157
|
+
"schema": {
|
|
2158
|
+
"prevYear": {
|
|
2159
|
+
"name": "prevYear",
|
|
2160
|
+
"global": false,
|
|
2161
|
+
"description": "",
|
|
2162
|
+
"tags": [],
|
|
2163
|
+
"required": true,
|
|
2164
|
+
"type": "string",
|
|
2165
|
+
"schema": "string"
|
|
2166
|
+
},
|
|
2167
|
+
"nextYear": {
|
|
2168
|
+
"name": "nextYear",
|
|
2169
|
+
"global": false,
|
|
2170
|
+
"description": "",
|
|
2171
|
+
"tags": [],
|
|
2172
|
+
"required": true,
|
|
2173
|
+
"type": "string",
|
|
2174
|
+
"schema": "string"
|
|
2175
|
+
},
|
|
2176
|
+
"prevMonth": {
|
|
2177
|
+
"name": "prevMonth",
|
|
2178
|
+
"global": false,
|
|
2179
|
+
"description": "",
|
|
2180
|
+
"tags": [],
|
|
2181
|
+
"required": true,
|
|
2182
|
+
"type": "string",
|
|
2183
|
+
"schema": "string"
|
|
2184
|
+
},
|
|
2185
|
+
"nextMonth": {
|
|
2186
|
+
"name": "nextMonth",
|
|
2187
|
+
"global": false,
|
|
2188
|
+
"description": "",
|
|
2189
|
+
"tags": [],
|
|
2190
|
+
"required": true,
|
|
2191
|
+
"type": "string",
|
|
2192
|
+
"schema": "string"
|
|
2193
|
+
}
|
|
2194
|
+
}
|
|
2195
|
+
}
|
|
2196
|
+
},
|
|
2147
2197
|
"inputNumber": {
|
|
2148
2198
|
"name": "inputNumber",
|
|
2149
2199
|
"global": false,
|
|
@@ -18082,15 +18132,15 @@ const B24UIMeta = {
|
|
|
18082
18132
|
}
|
|
18083
18133
|
],
|
|
18084
18134
|
"required": false,
|
|
18085
|
-
"type": "\"start\" | \"
|
|
18135
|
+
"type": "\"start\" | \"center\" | \"end\" | undefined",
|
|
18086
18136
|
"schema": {
|
|
18087
18137
|
"kind": "enum",
|
|
18088
|
-
"type": "\"start\" | \"
|
|
18138
|
+
"type": "\"start\" | \"center\" | \"end\" | undefined",
|
|
18089
18139
|
"schema": {
|
|
18090
18140
|
"0": "undefined",
|
|
18091
18141
|
"1": "\"start\"",
|
|
18092
|
-
"2": "\"
|
|
18093
|
-
"3": "\"
|
|
18142
|
+
"2": "\"center\"",
|
|
18143
|
+
"3": "\"end\""
|
|
18094
18144
|
}
|
|
18095
18145
|
}
|
|
18096
18146
|
},
|
|
@@ -19104,14 +19154,15 @@ const B24UIMeta = {
|
|
|
19104
19154
|
"description": "",
|
|
19105
19155
|
"tags": [],
|
|
19106
19156
|
"required": false,
|
|
19107
|
-
"type": "string | number | undefined",
|
|
19157
|
+
"type": "string | number | null | undefined",
|
|
19108
19158
|
"schema": {
|
|
19109
19159
|
"kind": "enum",
|
|
19110
|
-
"type": "string | number | undefined",
|
|
19160
|
+
"type": "string | number | null | undefined",
|
|
19111
19161
|
"schema": {
|
|
19112
19162
|
"0": "undefined",
|
|
19113
|
-
"1": "
|
|
19114
|
-
"2": "
|
|
19163
|
+
"1": "null",
|
|
19164
|
+
"2": "string",
|
|
19165
|
+
"3": "number"
|
|
19115
19166
|
}
|
|
19116
19167
|
}
|
|
19117
19168
|
},
|
|
@@ -29018,34 +29069,53 @@ const B24UIMeta = {
|
|
|
29018
29069
|
}
|
|
29019
29070
|
},
|
|
29020
29071
|
{
|
|
29021
|
-
"name": "
|
|
29072
|
+
"name": "target",
|
|
29022
29073
|
"global": false,
|
|
29023
29074
|
"description": "",
|
|
29024
29075
|
"tags": [],
|
|
29025
29076
|
"required": false,
|
|
29026
|
-
"type": "string | undefined",
|
|
29077
|
+
"type": "\"_blank\" | \"_parent\" | \"_self\" | \"_top\" | (string & {}) | null | undefined",
|
|
29027
29078
|
"schema": {
|
|
29028
29079
|
"kind": "enum",
|
|
29029
|
-
"type": "string | undefined",
|
|
29080
|
+
"type": "\"_blank\" | \"_parent\" | \"_self\" | \"_top\" | (string & {}) | null | undefined",
|
|
29030
29081
|
"schema": {
|
|
29031
29082
|
"0": "undefined",
|
|
29032
|
-
"1": "
|
|
29083
|
+
"1": "null",
|
|
29084
|
+
"2": "\"_blank\"",
|
|
29085
|
+
"3": "\"_parent\"",
|
|
29086
|
+
"4": "\"_self\"",
|
|
29087
|
+
"5": "\"_top\"",
|
|
29088
|
+
"6": {
|
|
29089
|
+
"kind": "object",
|
|
29090
|
+
"type": "string & {}",
|
|
29091
|
+
"schema": {}
|
|
29092
|
+
}
|
|
29033
29093
|
}
|
|
29034
29094
|
}
|
|
29035
29095
|
},
|
|
29036
29096
|
{
|
|
29037
|
-
"name": "
|
|
29097
|
+
"name": "rel",
|
|
29038
29098
|
"global": false,
|
|
29039
29099
|
"description": "",
|
|
29040
29100
|
"tags": [],
|
|
29041
29101
|
"required": false,
|
|
29042
|
-
"type": "string | undefined",
|
|
29102
|
+
"type": "(string & {}) | \"noopener\" | \"noreferrer\" | \"nofollow\" | \"sponsored\" | \"ugc\" | null | undefined",
|
|
29043
29103
|
"schema": {
|
|
29044
29104
|
"kind": "enum",
|
|
29045
|
-
"type": "string | undefined",
|
|
29105
|
+
"type": "(string & {}) | \"noopener\" | \"noreferrer\" | \"nofollow\" | \"sponsored\" | \"ugc\" | null | undefined",
|
|
29046
29106
|
"schema": {
|
|
29047
29107
|
"0": "undefined",
|
|
29048
|
-
"1": "
|
|
29108
|
+
"1": "null",
|
|
29109
|
+
"2": {
|
|
29110
|
+
"kind": "object",
|
|
29111
|
+
"type": "string & {}",
|
|
29112
|
+
"schema": {}
|
|
29113
|
+
},
|
|
29114
|
+
"3": "\"noopener\"",
|
|
29115
|
+
"4": "\"noreferrer\"",
|
|
29116
|
+
"5": "\"nofollow\"",
|
|
29117
|
+
"6": "\"sponsored\"",
|
|
29118
|
+
"7": "\"ugc\""
|
|
29049
29119
|
}
|
|
29050
29120
|
}
|
|
29051
29121
|
},
|
|
@@ -42589,14 +42659,15 @@ const B24UIMeta = {
|
|
|
42589
42659
|
"description": "",
|
|
42590
42660
|
"tags": [],
|
|
42591
42661
|
"required": false,
|
|
42592
|
-
"type": "string | number | undefined",
|
|
42662
|
+
"type": "string | number | null | undefined",
|
|
42593
42663
|
"schema": {
|
|
42594
42664
|
"kind": "enum",
|
|
42595
|
-
"type": "string | number | undefined",
|
|
42665
|
+
"type": "string | number | null | undefined",
|
|
42596
42666
|
"schema": {
|
|
42597
42667
|
"0": "undefined",
|
|
42598
|
-
"1": "
|
|
42599
|
-
"2": "
|
|
42668
|
+
"1": "null",
|
|
42669
|
+
"2": "string",
|
|
42670
|
+
"3": "number"
|
|
42600
42671
|
}
|
|
42601
42672
|
}
|
|
42602
42673
|
},
|
|
@@ -45888,6 +45959,40 @@ const B24UIMeta = {
|
|
|
45888
45959
|
"exposed": []
|
|
45889
45960
|
}
|
|
45890
45961
|
},
|
|
45962
|
+
"ProseImg": {
|
|
45963
|
+
"mode": "all",
|
|
45964
|
+
"prefetch": false,
|
|
45965
|
+
"preload": false,
|
|
45966
|
+
"pascalName": "ProseImg",
|
|
45967
|
+
"kebabName": "prose-img",
|
|
45968
|
+
"chunkName": "components/prose-img",
|
|
45969
|
+
"priority": 0,
|
|
45970
|
+
"_scanned": true,
|
|
45971
|
+
"meta": {
|
|
45972
|
+
"type": 0,
|
|
45973
|
+
"props": [
|
|
45974
|
+
{
|
|
45975
|
+
"name": "b24ui",
|
|
45976
|
+
"global": false,
|
|
45977
|
+
"description": "",
|
|
45978
|
+
"tags": [],
|
|
45979
|
+
"required": false,
|
|
45980
|
+
"type": "Partial<{ base: string; }> | undefined",
|
|
45981
|
+
"schema": {
|
|
45982
|
+
"kind": "enum",
|
|
45983
|
+
"type": "Partial<{ base: string; }> | undefined",
|
|
45984
|
+
"schema": {
|
|
45985
|
+
"0": "undefined",
|
|
45986
|
+
"1": "Partial<{ base: string; }>"
|
|
45987
|
+
}
|
|
45988
|
+
}
|
|
45989
|
+
}
|
|
45990
|
+
],
|
|
45991
|
+
"slots": [],
|
|
45992
|
+
"events": [],
|
|
45993
|
+
"exposed": []
|
|
45994
|
+
}
|
|
45995
|
+
},
|
|
45891
45996
|
"ProseLi": {
|
|
45892
45997
|
"mode": "all",
|
|
45893
45998
|
"prefetch": false,
|
package/dist/module.cjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
const defu = require('defu');
|
|
4
4
|
const kit = require('@nuxt/kit');
|
|
5
|
-
const templates = require('./shared/b24ui-nuxt.
|
|
5
|
+
const templates = require('./shared/b24ui-nuxt.DxEKoBT7.cjs');
|
|
6
6
|
require('node:url');
|
|
7
7
|
require('scule');
|
|
8
8
|
|
|
@@ -12,7 +12,7 @@ const module$1 = kit.defineNuxtModule({
|
|
|
12
12
|
name: "b24ui",
|
|
13
13
|
configKey: "b24ui",
|
|
14
14
|
compatibility: {
|
|
15
|
-
nuxt: ">=3.
|
|
15
|
+
nuxt: ">=3.16.0"
|
|
16
16
|
},
|
|
17
17
|
docs: "https://bitrix24.github.io/b24ui/guide/installation-nuxt-app.html"
|
|
18
18
|
},
|
package/dist/module.json
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"name": "b24ui",
|
|
3
3
|
"configKey": "b24ui",
|
|
4
4
|
"compatibility": {
|
|
5
|
-
"nuxt": ">=3.
|
|
5
|
+
"nuxt": ">=3.16.0"
|
|
6
6
|
},
|
|
7
7
|
"docs": "https://bitrix24.github.io/b24ui/guide/installation-nuxt-app.html",
|
|
8
|
-
"version": "0.4.
|
|
8
|
+
"version": "0.4.5",
|
|
9
9
|
"builder": {
|
|
10
10
|
"@nuxt/module-builder": "0.8.4",
|
|
11
11
|
"unbuild": "2.0.0"
|
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.BH-d1ImO.mjs';
|
|
4
4
|
import 'node:url';
|
|
5
5
|
import 'scule';
|
|
6
6
|
|
|
@@ -9,7 +9,7 @@ const module = defineNuxtModule({
|
|
|
9
9
|
name: "b24ui",
|
|
10
10
|
configKey: "b24ui",
|
|
11
11
|
compatibility: {
|
|
12
|
-
nuxt: ">=3.
|
|
12
|
+
nuxt: ">=3.16.0"
|
|
13
13
|
},
|
|
14
14
|
docs: "https://bitrix24.github.io/b24ui/guide/installation-nuxt-app.html"
|
|
15
15
|
},
|
|
@@ -98,6 +98,7 @@ import { omit } from '../utils'
|
|
|
98
98
|
import { pickLinkProps } from '../utils/link'
|
|
99
99
|
import B24Avatar from './Avatar.vue'
|
|
100
100
|
import B24Link from './Link.vue'
|
|
101
|
+
import B24LinkBase from './LinkBase.vue'
|
|
101
102
|
import ChevronDownIcon from '@bitrix24/b24icons-vue/actions/ChevronDownIcon'
|
|
102
103
|
import LoaderWaitIcon from '@bitrix24/b24icons-vue/animated/LoaderWaitIcon'
|
|
103
104
|
import LoaderClockIcon from '@bitrix24/b24icons-vue/animated/LoaderClockIcon'
|
|
@@ -68,7 +68,7 @@ onMounted(async () => {
|
|
|
68
68
|
nestedForms.value.set(event.formId, { validate: event.validate })
|
|
69
69
|
} else if (event.type === 'detach') {
|
|
70
70
|
nestedForms.value.delete(event.formId)
|
|
71
|
-
} else if (props.validateOn?.includes(event.type)) {
|
|
71
|
+
} else if (props.validateOn?.includes(event.type) && !loading.value) {
|
|
72
72
|
if (event.type !== 'input') {
|
|
73
73
|
await _validate({ name: event.name, silent: true, nested: false })
|
|
74
74
|
} else if (event.eager || blurredFields.has(event.name)) {
|
|
@@ -125,7 +125,7 @@ const props = withDefaults(defineProps<InputProps>(), {
|
|
|
125
125
|
const emits = defineEmits<InputEmits>()
|
|
126
126
|
const slots = defineSlots<InputSlots>()
|
|
127
127
|
|
|
128
|
-
const [modelValue, modelModifiers] = defineModel<string | number>()
|
|
128
|
+
const [modelValue, modelModifiers] = defineModel<string | number | null>()
|
|
129
129
|
|
|
130
130
|
const { emitFormBlur, emitFormInput, emitFormChange, size: formGroupSize, color, id, name, highlight, disabled, emitFormFocus, ariaAttrs } = useFormField<InputProps>(props, { deferInputValidation: true })
|
|
131
131
|
const { orientation, size: buttonGroupSize } = useButtonGroup<InputProps>(props)
|
|
@@ -162,15 +162,19 @@ function autoFocus() {
|
|
|
162
162
|
}
|
|
163
163
|
|
|
164
164
|
// Custom function to handle the v-model properties
|
|
165
|
-
function updateInput(value: string) {
|
|
165
|
+
function updateInput(value: string | null) {
|
|
166
166
|
if (modelModifiers.trim) {
|
|
167
|
-
value = value
|
|
167
|
+
value = value?.trim() ?? null
|
|
168
168
|
}
|
|
169
169
|
|
|
170
170
|
if (modelModifiers.number || props.type === 'number') {
|
|
171
171
|
value = looseToNumber(value)
|
|
172
172
|
}
|
|
173
173
|
|
|
174
|
+
if (modelModifiers.nullify) {
|
|
175
|
+
value ||= null
|
|
176
|
+
}
|
|
177
|
+
|
|
174
178
|
modelValue.value = value
|
|
175
179
|
emitFormInput()
|
|
176
180
|
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
+
import type { LinkProps } from '../types'
|
|
3
|
+
|
|
2
4
|
export interface LinkBaseProps {
|
|
3
5
|
as?: string
|
|
4
6
|
type?: string
|
|
@@ -6,8 +8,8 @@ export interface LinkBaseProps {
|
|
|
6
8
|
onClick?: ((e: MouseEvent) => void | Promise<void>) | Array<((e: MouseEvent) => void | Promise<void>)>
|
|
7
9
|
href?: string
|
|
8
10
|
navigate?: (e: MouseEvent) => void
|
|
9
|
-
|
|
10
|
-
|
|
11
|
+
target?: LinkProps['target']
|
|
12
|
+
rel?: LinkProps['rel']
|
|
11
13
|
isExternal?: boolean
|
|
12
14
|
}
|
|
13
15
|
</script>
|
|
@@ -117,7 +117,7 @@ const props = withDefaults(defineProps<TextareaProps>(), {
|
|
|
117
117
|
defineSlots<TextareaSlots>()
|
|
118
118
|
const emits = defineEmits<TextareaEmits>()
|
|
119
119
|
|
|
120
|
-
const [modelValue, modelModifiers] = defineModel<string | number>()
|
|
120
|
+
const [modelValue, modelModifiers] = defineModel<string | number | null>()
|
|
121
121
|
|
|
122
122
|
const { emitFormFocus, emitFormBlur, emitFormInput, emitFormChange, color, id, name, highlight, disabled, ariaAttrs } = useFormField<TextareaProps>(props, { deferInputValidation: true })
|
|
123
123
|
|
|
@@ -144,15 +144,19 @@ function autoFocus() {
|
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
// Custom function to handle the v-model properties
|
|
147
|
-
function updateInput(value: string) {
|
|
147
|
+
function updateInput(value: string | null) {
|
|
148
148
|
if (modelModifiers.trim) {
|
|
149
|
-
value = value
|
|
149
|
+
value = value?.trim() ?? null
|
|
150
150
|
}
|
|
151
151
|
|
|
152
152
|
if (modelModifiers.number) {
|
|
153
153
|
value = looseToNumber(value)
|
|
154
154
|
}
|
|
155
155
|
|
|
156
|
+
if (modelModifiers.nullify) {
|
|
157
|
+
value ||= null
|
|
158
|
+
}
|
|
159
|
+
|
|
156
160
|
modelValue.value = value
|
|
157
161
|
emitFormInput()
|
|
158
162
|
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { defineLocale } from "../composables/defineLocale.js";
|
|
2
|
+
export default defineLocale({
|
|
3
|
+
name: "\u0639\u0631\u0628\u064A,",
|
|
4
|
+
code: "ar",
|
|
5
|
+
dir: "rtl",
|
|
6
|
+
messages: {
|
|
7
|
+
inputMenu: {
|
|
8
|
+
noMatch: "\u0644\u0627 \u062A\u0648\u062C\u062F \u0646\u062A\u0627\u0626\u062C \u0645\u0637\u0627\u0628\u0642\u0629",
|
|
9
|
+
noData: "\u0644\u0627 \u062A\u0648\u062C\u062F \u0628\u064A\u0627\u0646\u0627\u062A",
|
|
10
|
+
create: '\u0625\u0646\u0634\u0627\u0621 "{label}"'
|
|
11
|
+
},
|
|
12
|
+
calendar: {
|
|
13
|
+
prevYear: "\u0627\u0644\u0633\u0646\u0629 \u0627\u0644\u0633\u0627\u0628\u0642\u0629",
|
|
14
|
+
nextYear: "\u0627\u0644\u0633\u0646\u0629 \u0627\u0644\u0645\u0642\u0628\u0644\u0629",
|
|
15
|
+
prevMonth: "\u0627\u0644\u0634\u0647\u0631 \u0627\u0644\u0633\u0627\u0628\u0642",
|
|
16
|
+
nextMonth: "\u0627\u0644\u0634\u0647\u0631 \u0627\u0644\u0645\u0642\u0628\u0644"
|
|
17
|
+
},
|
|
18
|
+
inputNumber: {
|
|
19
|
+
increment: "\u0632\u064A\u0627\u062F\u0629",
|
|
20
|
+
decrement: "\u062A\u0642\u0644\u064A\u0644"
|
|
21
|
+
},
|
|
22
|
+
commandPalette: {
|
|
23
|
+
placeholder: "\u0627\u0643\u062A\u0628 \u0623\u0645\u0631\u064B\u0627 \u0623\u0648 \u0627\u0628\u062D\u062B...",
|
|
24
|
+
noMatch: "\u0644\u0627 \u062A\u0648\u062C\u062F \u0646\u062A\u0627\u0626\u062C \u0645\u0637\u0627\u0628\u0642\u0629",
|
|
25
|
+
noData: "\u0644\u0627 \u062A\u0648\u062C\u062F \u0628\u064A\u0627\u0646\u0627\u062A",
|
|
26
|
+
close: "\u0625\u063A\u0644\u0627\u0642"
|
|
27
|
+
},
|
|
28
|
+
selectMenu: {
|
|
29
|
+
noMatch: "\u0644\u0627 \u062A\u0648\u062C\u062F \u0646\u062A\u0627\u0626\u062C \u0645\u0637\u0627\u0628\u0642\u0629",
|
|
30
|
+
noData: "\u0644\u0627 \u062A\u0648\u062C\u062F \u0628\u064A\u0627\u0646\u0627\u062A",
|
|
31
|
+
create: '\u0625\u0646\u0634\u0627\u0621 "{label}"',
|
|
32
|
+
search: "\u0628\u062D\u062B..."
|
|
33
|
+
},
|
|
34
|
+
toast: {
|
|
35
|
+
close: "\u0625\u063A\u0644\u0627\u0642"
|
|
36
|
+
},
|
|
37
|
+
carousel: {
|
|
38
|
+
prev: "\u0627\u0644\u0633\u0627\u0628\u0642",
|
|
39
|
+
next: "\u0627\u0644\u062A\u0627\u0644\u064A",
|
|
40
|
+
goto: "\u0627\u0644\u0630\u0647\u0627\u0628 \u0625\u0644\u064A \u0634\u0631\u064A\u062D\u0629 {slide}"
|
|
41
|
+
},
|
|
42
|
+
modal: {
|
|
43
|
+
close: "\u0625\u063A\u0644\u0627\u0642"
|
|
44
|
+
},
|
|
45
|
+
slideover: {
|
|
46
|
+
close: "\u0625\u063A\u0644\u0627\u0642"
|
|
47
|
+
},
|
|
48
|
+
alert: {
|
|
49
|
+
close: "\u0625\u063A\u0644\u0627\u0642"
|
|
50
|
+
},
|
|
51
|
+
table: {
|
|
52
|
+
noData: "\u0644\u0627 \u062A\u0648\u062C\u062F \u0628\u064A\u0627\u0646\u0627\u062A"
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
});
|