@bitrix24/b24ui-nuxt 0.4.4 → 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 +75 -20
- package/dist/meta.d.cts +75 -20
- package/dist/meta.d.mts +75 -20
- package/dist/meta.d.ts +75 -20
- package/dist/meta.mjs +75 -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/index.d.ts +1 -1
- package/dist/runtime/locale/index.js +1 -1
- 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/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/meta.cjs
CHANGED
|
@@ -18134,15 +18134,15 @@ const B24UIMeta = {
|
|
|
18134
18134
|
}
|
|
18135
18135
|
],
|
|
18136
18136
|
"required": false,
|
|
18137
|
-
"type": "\"start\" | \"
|
|
18137
|
+
"type": "\"start\" | \"center\" | \"end\" | undefined",
|
|
18138
18138
|
"schema": {
|
|
18139
18139
|
"kind": "enum",
|
|
18140
|
-
"type": "\"start\" | \"
|
|
18140
|
+
"type": "\"start\" | \"center\" | \"end\" | undefined",
|
|
18141
18141
|
"schema": {
|
|
18142
18142
|
"0": "undefined",
|
|
18143
18143
|
"1": "\"start\"",
|
|
18144
|
-
"2": "\"
|
|
18145
|
-
"3": "\"
|
|
18144
|
+
"2": "\"center\"",
|
|
18145
|
+
"3": "\"end\""
|
|
18146
18146
|
}
|
|
18147
18147
|
}
|
|
18148
18148
|
},
|
|
@@ -19156,14 +19156,15 @@ const B24UIMeta = {
|
|
|
19156
19156
|
"description": "",
|
|
19157
19157
|
"tags": [],
|
|
19158
19158
|
"required": false,
|
|
19159
|
-
"type": "string | number | undefined",
|
|
19159
|
+
"type": "string | number | null | undefined",
|
|
19160
19160
|
"schema": {
|
|
19161
19161
|
"kind": "enum",
|
|
19162
|
-
"type": "string | number | undefined",
|
|
19162
|
+
"type": "string | number | null | undefined",
|
|
19163
19163
|
"schema": {
|
|
19164
19164
|
"0": "undefined",
|
|
19165
|
-
"1": "
|
|
19166
|
-
"2": "
|
|
19165
|
+
"1": "null",
|
|
19166
|
+
"2": "string",
|
|
19167
|
+
"3": "number"
|
|
19167
19168
|
}
|
|
19168
19169
|
}
|
|
19169
19170
|
},
|
|
@@ -29070,34 +29071,53 @@ const B24UIMeta = {
|
|
|
29070
29071
|
}
|
|
29071
29072
|
},
|
|
29072
29073
|
{
|
|
29073
|
-
"name": "
|
|
29074
|
+
"name": "target",
|
|
29074
29075
|
"global": false,
|
|
29075
29076
|
"description": "",
|
|
29076
29077
|
"tags": [],
|
|
29077
29078
|
"required": false,
|
|
29078
|
-
"type": "string | undefined",
|
|
29079
|
+
"type": "\"_blank\" | \"_parent\" | \"_self\" | \"_top\" | (string & {}) | null | undefined",
|
|
29079
29080
|
"schema": {
|
|
29080
29081
|
"kind": "enum",
|
|
29081
|
-
"type": "string | undefined",
|
|
29082
|
+
"type": "\"_blank\" | \"_parent\" | \"_self\" | \"_top\" | (string & {}) | null | undefined",
|
|
29082
29083
|
"schema": {
|
|
29083
29084
|
"0": "undefined",
|
|
29084
|
-
"1": "
|
|
29085
|
+
"1": "null",
|
|
29086
|
+
"2": "\"_blank\"",
|
|
29087
|
+
"3": "\"_parent\"",
|
|
29088
|
+
"4": "\"_self\"",
|
|
29089
|
+
"5": "\"_top\"",
|
|
29090
|
+
"6": {
|
|
29091
|
+
"kind": "object",
|
|
29092
|
+
"type": "string & {}",
|
|
29093
|
+
"schema": {}
|
|
29094
|
+
}
|
|
29085
29095
|
}
|
|
29086
29096
|
}
|
|
29087
29097
|
},
|
|
29088
29098
|
{
|
|
29089
|
-
"name": "
|
|
29099
|
+
"name": "rel",
|
|
29090
29100
|
"global": false,
|
|
29091
29101
|
"description": "",
|
|
29092
29102
|
"tags": [],
|
|
29093
29103
|
"required": false,
|
|
29094
|
-
"type": "string | undefined",
|
|
29104
|
+
"type": "(string & {}) | \"noopener\" | \"noreferrer\" | \"nofollow\" | \"sponsored\" | \"ugc\" | null | undefined",
|
|
29095
29105
|
"schema": {
|
|
29096
29106
|
"kind": "enum",
|
|
29097
|
-
"type": "string | undefined",
|
|
29107
|
+
"type": "(string & {}) | \"noopener\" | \"noreferrer\" | \"nofollow\" | \"sponsored\" | \"ugc\" | null | undefined",
|
|
29098
29108
|
"schema": {
|
|
29099
29109
|
"0": "undefined",
|
|
29100
|
-
"1": "
|
|
29110
|
+
"1": "null",
|
|
29111
|
+
"2": {
|
|
29112
|
+
"kind": "object",
|
|
29113
|
+
"type": "string & {}",
|
|
29114
|
+
"schema": {}
|
|
29115
|
+
},
|
|
29116
|
+
"3": "\"noopener\"",
|
|
29117
|
+
"4": "\"noreferrer\"",
|
|
29118
|
+
"5": "\"nofollow\"",
|
|
29119
|
+
"6": "\"sponsored\"",
|
|
29120
|
+
"7": "\"ugc\""
|
|
29101
29121
|
}
|
|
29102
29122
|
}
|
|
29103
29123
|
},
|
|
@@ -42641,14 +42661,15 @@ const B24UIMeta = {
|
|
|
42641
42661
|
"description": "",
|
|
42642
42662
|
"tags": [],
|
|
42643
42663
|
"required": false,
|
|
42644
|
-
"type": "string | number | undefined",
|
|
42664
|
+
"type": "string | number | null | undefined",
|
|
42645
42665
|
"schema": {
|
|
42646
42666
|
"kind": "enum",
|
|
42647
|
-
"type": "string | number | undefined",
|
|
42667
|
+
"type": "string | number | null | undefined",
|
|
42648
42668
|
"schema": {
|
|
42649
42669
|
"0": "undefined",
|
|
42650
|
-
"1": "
|
|
42651
|
-
"2": "
|
|
42670
|
+
"1": "null",
|
|
42671
|
+
"2": "string",
|
|
42672
|
+
"3": "number"
|
|
42652
42673
|
}
|
|
42653
42674
|
}
|
|
42654
42675
|
},
|
|
@@ -45940,6 +45961,40 @@ const B24UIMeta = {
|
|
|
45940
45961
|
"exposed": []
|
|
45941
45962
|
}
|
|
45942
45963
|
},
|
|
45964
|
+
"ProseImg": {
|
|
45965
|
+
"mode": "all",
|
|
45966
|
+
"prefetch": false,
|
|
45967
|
+
"preload": false,
|
|
45968
|
+
"pascalName": "ProseImg",
|
|
45969
|
+
"kebabName": "prose-img",
|
|
45970
|
+
"chunkName": "components/prose-img",
|
|
45971
|
+
"priority": 0,
|
|
45972
|
+
"_scanned": true,
|
|
45973
|
+
"meta": {
|
|
45974
|
+
"type": 0,
|
|
45975
|
+
"props": [
|
|
45976
|
+
{
|
|
45977
|
+
"name": "b24ui",
|
|
45978
|
+
"global": false,
|
|
45979
|
+
"description": "",
|
|
45980
|
+
"tags": [],
|
|
45981
|
+
"required": false,
|
|
45982
|
+
"type": "Partial<{ base: string; }> | undefined",
|
|
45983
|
+
"schema": {
|
|
45984
|
+
"kind": "enum",
|
|
45985
|
+
"type": "Partial<{ base: string; }> | undefined",
|
|
45986
|
+
"schema": {
|
|
45987
|
+
"0": "undefined",
|
|
45988
|
+
"1": "Partial<{ base: string; }>"
|
|
45989
|
+
}
|
|
45990
|
+
}
|
|
45991
|
+
}
|
|
45992
|
+
],
|
|
45993
|
+
"slots": [],
|
|
45994
|
+
"events": [],
|
|
45995
|
+
"exposed": []
|
|
45996
|
+
}
|
|
45997
|
+
},
|
|
45943
45998
|
"ProseLi": {
|
|
45944
45999
|
"mode": "all",
|
|
45945
46000
|
"prefetch": false,
|
package/dist/meta.d.cts
CHANGED
|
@@ -18132,15 +18132,15 @@ var B24UIMeta = {
|
|
|
18132
18132
|
}
|
|
18133
18133
|
],
|
|
18134
18134
|
"required": false,
|
|
18135
|
-
"type": "\"start\" | \"
|
|
18135
|
+
"type": "\"start\" | \"center\" | \"end\" | undefined",
|
|
18136
18136
|
"schema": {
|
|
18137
18137
|
"kind": "enum",
|
|
18138
|
-
"type": "\"start\" | \"
|
|
18138
|
+
"type": "\"start\" | \"center\" | \"end\" | undefined",
|
|
18139
18139
|
"schema": {
|
|
18140
18140
|
"0": "undefined",
|
|
18141
18141
|
"1": "\"start\"",
|
|
18142
|
-
"2": "\"
|
|
18143
|
-
"3": "\"
|
|
18142
|
+
"2": "\"center\"",
|
|
18143
|
+
"3": "\"end\""
|
|
18144
18144
|
}
|
|
18145
18145
|
}
|
|
18146
18146
|
},
|
|
@@ -19154,14 +19154,15 @@ var B24UIMeta = {
|
|
|
19154
19154
|
"description": "",
|
|
19155
19155
|
"tags": [],
|
|
19156
19156
|
"required": false,
|
|
19157
|
-
"type": "string | number | undefined",
|
|
19157
|
+
"type": "string | number | null | undefined",
|
|
19158
19158
|
"schema": {
|
|
19159
19159
|
"kind": "enum",
|
|
19160
|
-
"type": "string | number | undefined",
|
|
19160
|
+
"type": "string | number | null | undefined",
|
|
19161
19161
|
"schema": {
|
|
19162
19162
|
"0": "undefined",
|
|
19163
|
-
"1": "
|
|
19164
|
-
"2": "
|
|
19163
|
+
"1": "null",
|
|
19164
|
+
"2": "string",
|
|
19165
|
+
"3": "number"
|
|
19165
19166
|
}
|
|
19166
19167
|
}
|
|
19167
19168
|
},
|
|
@@ -29068,34 +29069,53 @@ var B24UIMeta = {
|
|
|
29068
29069
|
}
|
|
29069
29070
|
},
|
|
29070
29071
|
{
|
|
29071
|
-
"name": "
|
|
29072
|
+
"name": "target",
|
|
29072
29073
|
"global": false,
|
|
29073
29074
|
"description": "",
|
|
29074
29075
|
"tags": [],
|
|
29075
29076
|
"required": false,
|
|
29076
|
-
"type": "string | undefined",
|
|
29077
|
+
"type": "\"_blank\" | \"_parent\" | \"_self\" | \"_top\" | (string & {}) | null | undefined",
|
|
29077
29078
|
"schema": {
|
|
29078
29079
|
"kind": "enum",
|
|
29079
|
-
"type": "string | undefined",
|
|
29080
|
+
"type": "\"_blank\" | \"_parent\" | \"_self\" | \"_top\" | (string & {}) | null | undefined",
|
|
29080
29081
|
"schema": {
|
|
29081
29082
|
"0": "undefined",
|
|
29082
|
-
"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
|
+
}
|
|
29083
29093
|
}
|
|
29084
29094
|
}
|
|
29085
29095
|
},
|
|
29086
29096
|
{
|
|
29087
|
-
"name": "
|
|
29097
|
+
"name": "rel",
|
|
29088
29098
|
"global": false,
|
|
29089
29099
|
"description": "",
|
|
29090
29100
|
"tags": [],
|
|
29091
29101
|
"required": false,
|
|
29092
|
-
"type": "string | undefined",
|
|
29102
|
+
"type": "(string & {}) | \"noopener\" | \"noreferrer\" | \"nofollow\" | \"sponsored\" | \"ugc\" | null | undefined",
|
|
29093
29103
|
"schema": {
|
|
29094
29104
|
"kind": "enum",
|
|
29095
|
-
"type": "string | undefined",
|
|
29105
|
+
"type": "(string & {}) | \"noopener\" | \"noreferrer\" | \"nofollow\" | \"sponsored\" | \"ugc\" | null | undefined",
|
|
29096
29106
|
"schema": {
|
|
29097
29107
|
"0": "undefined",
|
|
29098
|
-
"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\""
|
|
29099
29119
|
}
|
|
29100
29120
|
}
|
|
29101
29121
|
},
|
|
@@ -42639,14 +42659,15 @@ var B24UIMeta = {
|
|
|
42639
42659
|
"description": "",
|
|
42640
42660
|
"tags": [],
|
|
42641
42661
|
"required": false,
|
|
42642
|
-
"type": "string | number | undefined",
|
|
42662
|
+
"type": "string | number | null | undefined",
|
|
42643
42663
|
"schema": {
|
|
42644
42664
|
"kind": "enum",
|
|
42645
|
-
"type": "string | number | undefined",
|
|
42665
|
+
"type": "string | number | null | undefined",
|
|
42646
42666
|
"schema": {
|
|
42647
42667
|
"0": "undefined",
|
|
42648
|
-
"1": "
|
|
42649
|
-
"2": "
|
|
42668
|
+
"1": "null",
|
|
42669
|
+
"2": "string",
|
|
42670
|
+
"3": "number"
|
|
42650
42671
|
}
|
|
42651
42672
|
}
|
|
42652
42673
|
},
|
|
@@ -45938,6 +45959,40 @@ var B24UIMeta = {
|
|
|
45938
45959
|
"exposed": []
|
|
45939
45960
|
}
|
|
45940
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
|
+
},
|
|
45941
45996
|
"ProseLi": {
|
|
45942
45997
|
"mode": "all",
|
|
45943
45998
|
"prefetch": false,
|
package/dist/meta.d.mts
CHANGED
|
@@ -18132,15 +18132,15 @@ var B24UIMeta = {
|
|
|
18132
18132
|
}
|
|
18133
18133
|
],
|
|
18134
18134
|
"required": false,
|
|
18135
|
-
"type": "\"start\" | \"
|
|
18135
|
+
"type": "\"start\" | \"center\" | \"end\" | undefined",
|
|
18136
18136
|
"schema": {
|
|
18137
18137
|
"kind": "enum",
|
|
18138
|
-
"type": "\"start\" | \"
|
|
18138
|
+
"type": "\"start\" | \"center\" | \"end\" | undefined",
|
|
18139
18139
|
"schema": {
|
|
18140
18140
|
"0": "undefined",
|
|
18141
18141
|
"1": "\"start\"",
|
|
18142
|
-
"2": "\"
|
|
18143
|
-
"3": "\"
|
|
18142
|
+
"2": "\"center\"",
|
|
18143
|
+
"3": "\"end\""
|
|
18144
18144
|
}
|
|
18145
18145
|
}
|
|
18146
18146
|
},
|
|
@@ -19154,14 +19154,15 @@ var B24UIMeta = {
|
|
|
19154
19154
|
"description": "",
|
|
19155
19155
|
"tags": [],
|
|
19156
19156
|
"required": false,
|
|
19157
|
-
"type": "string | number | undefined",
|
|
19157
|
+
"type": "string | number | null | undefined",
|
|
19158
19158
|
"schema": {
|
|
19159
19159
|
"kind": "enum",
|
|
19160
|
-
"type": "string | number | undefined",
|
|
19160
|
+
"type": "string | number | null | undefined",
|
|
19161
19161
|
"schema": {
|
|
19162
19162
|
"0": "undefined",
|
|
19163
|
-
"1": "
|
|
19164
|
-
"2": "
|
|
19163
|
+
"1": "null",
|
|
19164
|
+
"2": "string",
|
|
19165
|
+
"3": "number"
|
|
19165
19166
|
}
|
|
19166
19167
|
}
|
|
19167
19168
|
},
|
|
@@ -29068,34 +29069,53 @@ var B24UIMeta = {
|
|
|
29068
29069
|
}
|
|
29069
29070
|
},
|
|
29070
29071
|
{
|
|
29071
|
-
"name": "
|
|
29072
|
+
"name": "target",
|
|
29072
29073
|
"global": false,
|
|
29073
29074
|
"description": "",
|
|
29074
29075
|
"tags": [],
|
|
29075
29076
|
"required": false,
|
|
29076
|
-
"type": "string | undefined",
|
|
29077
|
+
"type": "\"_blank\" | \"_parent\" | \"_self\" | \"_top\" | (string & {}) | null | undefined",
|
|
29077
29078
|
"schema": {
|
|
29078
29079
|
"kind": "enum",
|
|
29079
|
-
"type": "string | undefined",
|
|
29080
|
+
"type": "\"_blank\" | \"_parent\" | \"_self\" | \"_top\" | (string & {}) | null | undefined",
|
|
29080
29081
|
"schema": {
|
|
29081
29082
|
"0": "undefined",
|
|
29082
|
-
"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
|
+
}
|
|
29083
29093
|
}
|
|
29084
29094
|
}
|
|
29085
29095
|
},
|
|
29086
29096
|
{
|
|
29087
|
-
"name": "
|
|
29097
|
+
"name": "rel",
|
|
29088
29098
|
"global": false,
|
|
29089
29099
|
"description": "",
|
|
29090
29100
|
"tags": [],
|
|
29091
29101
|
"required": false,
|
|
29092
|
-
"type": "string | undefined",
|
|
29102
|
+
"type": "(string & {}) | \"noopener\" | \"noreferrer\" | \"nofollow\" | \"sponsored\" | \"ugc\" | null | undefined",
|
|
29093
29103
|
"schema": {
|
|
29094
29104
|
"kind": "enum",
|
|
29095
|
-
"type": "string | undefined",
|
|
29105
|
+
"type": "(string & {}) | \"noopener\" | \"noreferrer\" | \"nofollow\" | \"sponsored\" | \"ugc\" | null | undefined",
|
|
29096
29106
|
"schema": {
|
|
29097
29107
|
"0": "undefined",
|
|
29098
|
-
"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\""
|
|
29099
29119
|
}
|
|
29100
29120
|
}
|
|
29101
29121
|
},
|
|
@@ -42639,14 +42659,15 @@ var B24UIMeta = {
|
|
|
42639
42659
|
"description": "",
|
|
42640
42660
|
"tags": [],
|
|
42641
42661
|
"required": false,
|
|
42642
|
-
"type": "string | number | undefined",
|
|
42662
|
+
"type": "string | number | null | undefined",
|
|
42643
42663
|
"schema": {
|
|
42644
42664
|
"kind": "enum",
|
|
42645
|
-
"type": "string | number | undefined",
|
|
42665
|
+
"type": "string | number | null | undefined",
|
|
42646
42666
|
"schema": {
|
|
42647
42667
|
"0": "undefined",
|
|
42648
|
-
"1": "
|
|
42649
|
-
"2": "
|
|
42668
|
+
"1": "null",
|
|
42669
|
+
"2": "string",
|
|
42670
|
+
"3": "number"
|
|
42650
42671
|
}
|
|
42651
42672
|
}
|
|
42652
42673
|
},
|
|
@@ -45938,6 +45959,40 @@ var B24UIMeta = {
|
|
|
45938
45959
|
"exposed": []
|
|
45939
45960
|
}
|
|
45940
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
|
+
},
|
|
45941
45996
|
"ProseLi": {
|
|
45942
45997
|
"mode": "all",
|
|
45943
45998
|
"prefetch": false,
|
package/dist/meta.d.ts
CHANGED
|
@@ -18132,15 +18132,15 @@ var B24UIMeta = {
|
|
|
18132
18132
|
}
|
|
18133
18133
|
],
|
|
18134
18134
|
"required": false,
|
|
18135
|
-
"type": "\"start\" | \"
|
|
18135
|
+
"type": "\"start\" | \"center\" | \"end\" | undefined",
|
|
18136
18136
|
"schema": {
|
|
18137
18137
|
"kind": "enum",
|
|
18138
|
-
"type": "\"start\" | \"
|
|
18138
|
+
"type": "\"start\" | \"center\" | \"end\" | undefined",
|
|
18139
18139
|
"schema": {
|
|
18140
18140
|
"0": "undefined",
|
|
18141
18141
|
"1": "\"start\"",
|
|
18142
|
-
"2": "\"
|
|
18143
|
-
"3": "\"
|
|
18142
|
+
"2": "\"center\"",
|
|
18143
|
+
"3": "\"end\""
|
|
18144
18144
|
}
|
|
18145
18145
|
}
|
|
18146
18146
|
},
|
|
@@ -19154,14 +19154,15 @@ var B24UIMeta = {
|
|
|
19154
19154
|
"description": "",
|
|
19155
19155
|
"tags": [],
|
|
19156
19156
|
"required": false,
|
|
19157
|
-
"type": "string | number | undefined",
|
|
19157
|
+
"type": "string | number | null | undefined",
|
|
19158
19158
|
"schema": {
|
|
19159
19159
|
"kind": "enum",
|
|
19160
|
-
"type": "string | number | undefined",
|
|
19160
|
+
"type": "string | number | null | undefined",
|
|
19161
19161
|
"schema": {
|
|
19162
19162
|
"0": "undefined",
|
|
19163
|
-
"1": "
|
|
19164
|
-
"2": "
|
|
19163
|
+
"1": "null",
|
|
19164
|
+
"2": "string",
|
|
19165
|
+
"3": "number"
|
|
19165
19166
|
}
|
|
19166
19167
|
}
|
|
19167
19168
|
},
|
|
@@ -29068,34 +29069,53 @@ var B24UIMeta = {
|
|
|
29068
29069
|
}
|
|
29069
29070
|
},
|
|
29070
29071
|
{
|
|
29071
|
-
"name": "
|
|
29072
|
+
"name": "target",
|
|
29072
29073
|
"global": false,
|
|
29073
29074
|
"description": "",
|
|
29074
29075
|
"tags": [],
|
|
29075
29076
|
"required": false,
|
|
29076
|
-
"type": "string | undefined",
|
|
29077
|
+
"type": "\"_blank\" | \"_parent\" | \"_self\" | \"_top\" | (string & {}) | null | undefined",
|
|
29077
29078
|
"schema": {
|
|
29078
29079
|
"kind": "enum",
|
|
29079
|
-
"type": "string | undefined",
|
|
29080
|
+
"type": "\"_blank\" | \"_parent\" | \"_self\" | \"_top\" | (string & {}) | null | undefined",
|
|
29080
29081
|
"schema": {
|
|
29081
29082
|
"0": "undefined",
|
|
29082
|
-
"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
|
+
}
|
|
29083
29093
|
}
|
|
29084
29094
|
}
|
|
29085
29095
|
},
|
|
29086
29096
|
{
|
|
29087
|
-
"name": "
|
|
29097
|
+
"name": "rel",
|
|
29088
29098
|
"global": false,
|
|
29089
29099
|
"description": "",
|
|
29090
29100
|
"tags": [],
|
|
29091
29101
|
"required": false,
|
|
29092
|
-
"type": "string | undefined",
|
|
29102
|
+
"type": "(string & {}) | \"noopener\" | \"noreferrer\" | \"nofollow\" | \"sponsored\" | \"ugc\" | null | undefined",
|
|
29093
29103
|
"schema": {
|
|
29094
29104
|
"kind": "enum",
|
|
29095
|
-
"type": "string | undefined",
|
|
29105
|
+
"type": "(string & {}) | \"noopener\" | \"noreferrer\" | \"nofollow\" | \"sponsored\" | \"ugc\" | null | undefined",
|
|
29096
29106
|
"schema": {
|
|
29097
29107
|
"0": "undefined",
|
|
29098
|
-
"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\""
|
|
29099
29119
|
}
|
|
29100
29120
|
}
|
|
29101
29121
|
},
|
|
@@ -42639,14 +42659,15 @@ var B24UIMeta = {
|
|
|
42639
42659
|
"description": "",
|
|
42640
42660
|
"tags": [],
|
|
42641
42661
|
"required": false,
|
|
42642
|
-
"type": "string | number | undefined",
|
|
42662
|
+
"type": "string | number | null | undefined",
|
|
42643
42663
|
"schema": {
|
|
42644
42664
|
"kind": "enum",
|
|
42645
|
-
"type": "string | number | undefined",
|
|
42665
|
+
"type": "string | number | null | undefined",
|
|
42646
42666
|
"schema": {
|
|
42647
42667
|
"0": "undefined",
|
|
42648
|
-
"1": "
|
|
42649
|
-
"2": "
|
|
42668
|
+
"1": "null",
|
|
42669
|
+
"2": "string",
|
|
42670
|
+
"3": "number"
|
|
42650
42671
|
}
|
|
42651
42672
|
}
|
|
42652
42673
|
},
|
|
@@ -45938,6 +45959,40 @@ var B24UIMeta = {
|
|
|
45938
45959
|
"exposed": []
|
|
45939
45960
|
}
|
|
45940
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
|
+
},
|
|
45941
45996
|
"ProseLi": {
|
|
45942
45997
|
"mode": "all",
|
|
45943
45998
|
"prefetch": false,
|
package/dist/meta.mjs
CHANGED
|
@@ -18132,15 +18132,15 @@ const B24UIMeta = {
|
|
|
18132
18132
|
}
|
|
18133
18133
|
],
|
|
18134
18134
|
"required": false,
|
|
18135
|
-
"type": "\"start\" | \"
|
|
18135
|
+
"type": "\"start\" | \"center\" | \"end\" | undefined",
|
|
18136
18136
|
"schema": {
|
|
18137
18137
|
"kind": "enum",
|
|
18138
|
-
"type": "\"start\" | \"
|
|
18138
|
+
"type": "\"start\" | \"center\" | \"end\" | undefined",
|
|
18139
18139
|
"schema": {
|
|
18140
18140
|
"0": "undefined",
|
|
18141
18141
|
"1": "\"start\"",
|
|
18142
|
-
"2": "\"
|
|
18143
|
-
"3": "\"
|
|
18142
|
+
"2": "\"center\"",
|
|
18143
|
+
"3": "\"end\""
|
|
18144
18144
|
}
|
|
18145
18145
|
}
|
|
18146
18146
|
},
|
|
@@ -19154,14 +19154,15 @@ const B24UIMeta = {
|
|
|
19154
19154
|
"description": "",
|
|
19155
19155
|
"tags": [],
|
|
19156
19156
|
"required": false,
|
|
19157
|
-
"type": "string | number | undefined",
|
|
19157
|
+
"type": "string | number | null | undefined",
|
|
19158
19158
|
"schema": {
|
|
19159
19159
|
"kind": "enum",
|
|
19160
|
-
"type": "string | number | undefined",
|
|
19160
|
+
"type": "string | number | null | undefined",
|
|
19161
19161
|
"schema": {
|
|
19162
19162
|
"0": "undefined",
|
|
19163
|
-
"1": "
|
|
19164
|
-
"2": "
|
|
19163
|
+
"1": "null",
|
|
19164
|
+
"2": "string",
|
|
19165
|
+
"3": "number"
|
|
19165
19166
|
}
|
|
19166
19167
|
}
|
|
19167
19168
|
},
|
|
@@ -29068,34 +29069,53 @@ const B24UIMeta = {
|
|
|
29068
29069
|
}
|
|
29069
29070
|
},
|
|
29070
29071
|
{
|
|
29071
|
-
"name": "
|
|
29072
|
+
"name": "target",
|
|
29072
29073
|
"global": false,
|
|
29073
29074
|
"description": "",
|
|
29074
29075
|
"tags": [],
|
|
29075
29076
|
"required": false,
|
|
29076
|
-
"type": "string | undefined",
|
|
29077
|
+
"type": "\"_blank\" | \"_parent\" | \"_self\" | \"_top\" | (string & {}) | null | undefined",
|
|
29077
29078
|
"schema": {
|
|
29078
29079
|
"kind": "enum",
|
|
29079
|
-
"type": "string | undefined",
|
|
29080
|
+
"type": "\"_blank\" | \"_parent\" | \"_self\" | \"_top\" | (string & {}) | null | undefined",
|
|
29080
29081
|
"schema": {
|
|
29081
29082
|
"0": "undefined",
|
|
29082
|
-
"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
|
+
}
|
|
29083
29093
|
}
|
|
29084
29094
|
}
|
|
29085
29095
|
},
|
|
29086
29096
|
{
|
|
29087
|
-
"name": "
|
|
29097
|
+
"name": "rel",
|
|
29088
29098
|
"global": false,
|
|
29089
29099
|
"description": "",
|
|
29090
29100
|
"tags": [],
|
|
29091
29101
|
"required": false,
|
|
29092
|
-
"type": "string | undefined",
|
|
29102
|
+
"type": "(string & {}) | \"noopener\" | \"noreferrer\" | \"nofollow\" | \"sponsored\" | \"ugc\" | null | undefined",
|
|
29093
29103
|
"schema": {
|
|
29094
29104
|
"kind": "enum",
|
|
29095
|
-
"type": "string | undefined",
|
|
29105
|
+
"type": "(string & {}) | \"noopener\" | \"noreferrer\" | \"nofollow\" | \"sponsored\" | \"ugc\" | null | undefined",
|
|
29096
29106
|
"schema": {
|
|
29097
29107
|
"0": "undefined",
|
|
29098
|
-
"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\""
|
|
29099
29119
|
}
|
|
29100
29120
|
}
|
|
29101
29121
|
},
|
|
@@ -42639,14 +42659,15 @@ const B24UIMeta = {
|
|
|
42639
42659
|
"description": "",
|
|
42640
42660
|
"tags": [],
|
|
42641
42661
|
"required": false,
|
|
42642
|
-
"type": "string | number | undefined",
|
|
42662
|
+
"type": "string | number | null | undefined",
|
|
42643
42663
|
"schema": {
|
|
42644
42664
|
"kind": "enum",
|
|
42645
|
-
"type": "string | number | undefined",
|
|
42665
|
+
"type": "string | number | null | undefined",
|
|
42646
42666
|
"schema": {
|
|
42647
42667
|
"0": "undefined",
|
|
42648
|
-
"1": "
|
|
42649
|
-
"2": "
|
|
42668
|
+
"1": "null",
|
|
42669
|
+
"2": "string",
|
|
42670
|
+
"3": "number"
|
|
42650
42671
|
}
|
|
42651
42672
|
}
|
|
42652
42673
|
},
|
|
@@ -45938,6 +45959,40 @@ const B24UIMeta = {
|
|
|
45938
45959
|
"exposed": []
|
|
45939
45960
|
}
|
|
45940
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
|
+
},
|
|
45941
45996
|
"ProseLi": {
|
|
45942
45997
|
"mode": "all",
|
|
45943
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
|
}
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
*/
|
|
28
28
|
export { default as en } from './en';
|
|
29
29
|
export { default as de } from './de';
|
|
30
|
-
export { default as
|
|
30
|
+
export { default as la } from './la';
|
|
31
31
|
export { default as br } from './br';
|
|
32
32
|
export { default as fr } from './fr';
|
|
33
33
|
export { default as it } from './it';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { default as en } from "./en.js";
|
|
2
2
|
export { default as de } from "./de.js";
|
|
3
|
-
export { default as
|
|
3
|
+
export { default as la } from "./la.js";
|
|
4
4
|
export { default as br } from "./br.js";
|
|
5
5
|
export { default as fr } from "./fr.js";
|
|
6
6
|
export { default as it } from "./it.js";
|
package/dist/runtime/prose/A.vue
CHANGED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import type { AppConfig } from '@nuxt/schema'
|
|
3
|
+
import _appConfig from '#build/app.config'
|
|
4
|
+
import theme from '#build/b24ui/prose/img'
|
|
5
|
+
import { tv } from '../utils/tv'
|
|
6
|
+
|
|
7
|
+
const appConfigProseImg = _appConfig as AppConfig & { b24ui: { prose: { img: Partial<typeof theme> } } }
|
|
8
|
+
|
|
9
|
+
const proseImg = tv({ extend: tv(theme), ...(appConfigProseImg.b24ui?.prose?.img || {}) })
|
|
10
|
+
|
|
11
|
+
export interface proseImgProps {
|
|
12
|
+
class?: any
|
|
13
|
+
b24ui?: Partial<typeof proseImg.slots>
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export interface proseImgSlots {
|
|
17
|
+
default(props?: {}): any
|
|
18
|
+
}
|
|
19
|
+
</script>
|
|
20
|
+
|
|
21
|
+
<script setup lang="ts">
|
|
22
|
+
const props = defineProps<proseImgProps>()
|
|
23
|
+
|
|
24
|
+
// eslint-disable-next-line vue/no-dupe-keys
|
|
25
|
+
const b24ui = proseImg({})
|
|
26
|
+
</script>
|
|
27
|
+
|
|
28
|
+
<template>
|
|
29
|
+
<img
|
|
30
|
+
:class="b24ui.base({ class: [props.class, props.b24ui?.base] })"
|
|
31
|
+
/>
|
|
32
|
+
</template>
|
|
@@ -51,6 +51,7 @@ export * from '../prose/Ol.vue';
|
|
|
51
51
|
export * from '../prose/Ul.vue';
|
|
52
52
|
export * from '../prose/Li.vue';
|
|
53
53
|
export * from '../prose/Hr.vue';
|
|
54
|
+
export * from '../prose/Img.vue';
|
|
54
55
|
export * from '../prose/Code.vue';
|
|
55
56
|
export * from '../prose/Pre.vue';
|
|
56
57
|
export * from './form';
|
|
@@ -51,6 +51,7 @@ export * from "../prose/Ol.vue";
|
|
|
51
51
|
export * from "../prose/Ul.vue";
|
|
52
52
|
export * from "../prose/Li.vue";
|
|
53
53
|
export * from "../prose/Hr.vue";
|
|
54
|
+
export * from "../prose/Img.vue";
|
|
54
55
|
export * from "../prose/Code.vue";
|
|
55
56
|
export * from "../prose/Pre.vue";
|
|
56
57
|
export * from "./form.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const tv: import("tailwind-variants").CreateTV
|
|
1
|
+
export declare const tv: import("tailwind-variants").CreateTV;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { createHead
|
|
1
|
+
import { createHead } from "@unhead/vue/client";
|
|
2
2
|
export default {
|
|
3
|
-
install() {
|
|
4
|
-
|
|
3
|
+
install(app) {
|
|
4
|
+
const head = createHead();
|
|
5
|
+
app.use(head);
|
|
5
6
|
}
|
|
6
7
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Ref } from 'vue';
|
|
2
2
|
import type { NuxtApp } from '#app';
|
|
3
|
-
export { useHead } from '@unhead/vue';
|
|
3
|
+
export { useHead } from '@unhead/vue/legacy';
|
|
4
4
|
export { useRoute, useRouter } from 'vue-router';
|
|
5
5
|
export { defineShortcuts } from '../composables/defineShortcuts';
|
|
6
6
|
export { useLocale } from '../composables/useLocale';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ref } from "vue";
|
|
2
2
|
import appConfig from "#build/app.config";
|
|
3
3
|
import { useColorMode as useColorModeVueUse } from "@vueuse/core";
|
|
4
|
-
export { useHead } from "@unhead/vue";
|
|
4
|
+
export { useHead } from "@unhead/vue/legacy";
|
|
5
5
|
export { useRoute, useRouter } from "vue-router";
|
|
6
6
|
export { defineShortcuts } from "../composables/defineShortcuts.js";
|
|
7
7
|
export { useLocale } from "../composables/useLocale.js";
|
|
@@ -5534,6 +5534,12 @@ const hr = {
|
|
|
5534
5534
|
}
|
|
5535
5535
|
};
|
|
5536
5536
|
|
|
5537
|
+
const img = {
|
|
5538
|
+
slots: {
|
|
5539
|
+
base: ""
|
|
5540
|
+
}
|
|
5541
|
+
};
|
|
5542
|
+
|
|
5537
5543
|
const code = {
|
|
5538
5544
|
slots: {
|
|
5539
5545
|
base: [
|
|
@@ -5620,6 +5626,7 @@ const themeProse = {
|
|
|
5620
5626
|
h5: h5,
|
|
5621
5627
|
h6: h6,
|
|
5622
5628
|
hr: hr,
|
|
5629
|
+
img: img,
|
|
5623
5630
|
li: li,
|
|
5624
5631
|
ol: ol,
|
|
5625
5632
|
p: p,
|
|
@@ -5832,6 +5839,9 @@ type AppConfigUI = {
|
|
|
5832
5839
|
|
|
5833
5840
|
declare module '@nuxt/schema' {
|
|
5834
5841
|
interface AppConfigInput {
|
|
5842
|
+
/**
|
|
5843
|
+
* Bitrix24 UI theme configuration
|
|
5844
|
+
*/
|
|
5835
5845
|
b24ui?: AppConfigUI
|
|
5836
5846
|
}
|
|
5837
5847
|
}
|
|
@@ -5536,6 +5536,12 @@ const hr = {
|
|
|
5536
5536
|
}
|
|
5537
5537
|
};
|
|
5538
5538
|
|
|
5539
|
+
const img = {
|
|
5540
|
+
slots: {
|
|
5541
|
+
base: ""
|
|
5542
|
+
}
|
|
5543
|
+
};
|
|
5544
|
+
|
|
5539
5545
|
const code = {
|
|
5540
5546
|
slots: {
|
|
5541
5547
|
base: [
|
|
@@ -5622,6 +5628,7 @@ const themeProse = {
|
|
|
5622
5628
|
h5: h5,
|
|
5623
5629
|
h6: h6,
|
|
5624
5630
|
hr: hr,
|
|
5631
|
+
img: img,
|
|
5625
5632
|
li: li,
|
|
5626
5633
|
ol: ol,
|
|
5627
5634
|
p: p,
|
|
@@ -5834,6 +5841,9 @@ type AppConfigUI = {
|
|
|
5834
5841
|
|
|
5835
5842
|
declare module '@nuxt/schema' {
|
|
5836
5843
|
interface AppConfigInput {
|
|
5844
|
+
/**
|
|
5845
|
+
* Bitrix24 UI theme configuration
|
|
5846
|
+
*/
|
|
5837
5847
|
b24ui?: AppConfigUI
|
|
5838
5848
|
}
|
|
5839
5849
|
}
|
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.DxEKoBT7.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.BH-d1ImO.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.4.
|
|
4
|
+
"version": "0.4.5",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/bitrix24/b24ui.git"
|
|
@@ -72,13 +72,13 @@
|
|
|
72
72
|
"@bitrix24/b24style": "^1.0.1",
|
|
73
73
|
"@internationalized/date": "^3.7.0",
|
|
74
74
|
"@internationalized/number": "^3.6.0",
|
|
75
|
-
"@nuxt/kit": "^3.
|
|
76
|
-
"@nuxt/schema": "^3.
|
|
75
|
+
"@nuxt/kit": "^3.16.0",
|
|
76
|
+
"@nuxt/schema": "^3.16.0",
|
|
77
77
|
"@nuxtjs/color-mode": "^3.5.2",
|
|
78
|
-
"@tailwindcss/postcss": "^4.0.
|
|
79
|
-
"@tailwindcss/vite": "^4.0.
|
|
78
|
+
"@tailwindcss/postcss": "^4.0.12",
|
|
79
|
+
"@tailwindcss/vite": "^4.0.12",
|
|
80
80
|
"@tanstack/vue-table": "^8.21.2",
|
|
81
|
-
"@unhead/vue": "^
|
|
81
|
+
"@unhead/vue": "^2.0.0-rc.9",
|
|
82
82
|
"@vueuse/core": "^12.8.2",
|
|
83
83
|
"@vueuse/integrations": "^12.8.2",
|
|
84
84
|
"canvas-confetti": "^1.9.3",
|
|
@@ -100,8 +100,8 @@
|
|
|
100
100
|
"pathe": "^2.0.3",
|
|
101
101
|
"reka-ui": "^2.0.2",
|
|
102
102
|
"scule": "^1.3.0",
|
|
103
|
-
"tailwind-variants": "^0.
|
|
104
|
-
"tailwindcss": "^4.0.
|
|
103
|
+
"tailwind-variants": "^1.0.0",
|
|
104
|
+
"tailwindcss": "^4.0.12",
|
|
105
105
|
"tinyglobby": "^0.2.12",
|
|
106
106
|
"unplugin": "^2.2.0",
|
|
107
107
|
"unplugin-auto-import": "^19.1.1",
|
|
@@ -110,21 +110,21 @@
|
|
|
110
110
|
},
|
|
111
111
|
"devDependencies": {
|
|
112
112
|
"@types/canvas-confetti": "^1.9.0",
|
|
113
|
-
"@nuxt/eslint-config": "^1.
|
|
113
|
+
"@nuxt/eslint-config": "^1.2.0",
|
|
114
114
|
"@nuxt/module-builder": "^0.8.4",
|
|
115
|
-
"@nuxt/test-utils": "^3.17.
|
|
115
|
+
"@nuxt/test-utils": "^3.17.2",
|
|
116
116
|
"@standard-schema/spec": "^1.0.0",
|
|
117
117
|
"@vue/test-utils": "^2.4.6",
|
|
118
118
|
"embla-carousel": "^8.5.2",
|
|
119
|
-
"eslint": "^9.
|
|
119
|
+
"eslint": "^9.22.0",
|
|
120
120
|
"happy-dom": "^17.1.2",
|
|
121
121
|
"joi": "^17.13.3",
|
|
122
|
-
"nuxt": "^3.
|
|
122
|
+
"nuxt": "^3.16.0",
|
|
123
123
|
"nuxt-component-meta": "^0.10.0",
|
|
124
124
|
"superstruct": "^2.0.2",
|
|
125
125
|
"valibot": "^0.42.1",
|
|
126
126
|
"vitepress": "^1.5.0",
|
|
127
|
-
"vitest": "^3.0.
|
|
127
|
+
"vitest": "^3.0.8",
|
|
128
128
|
"vitest-environment-nuxt": "^1.0.1",
|
|
129
129
|
"vue-tsc": "^2.2.0",
|
|
130
130
|
"yup": "^1.6.1",
|
|
@@ -138,9 +138,8 @@
|
|
|
138
138
|
"chokidar": "3.6.0",
|
|
139
139
|
"debug": "4.3.7",
|
|
140
140
|
"happy-dom": "17.1.2",
|
|
141
|
-
"rollup": "4.
|
|
141
|
+
"rollup": "4.34.9",
|
|
142
142
|
"typescript": "5.6.3",
|
|
143
|
-
"unimport": "3.14.5",
|
|
144
143
|
"unplugin": "^2.2.0",
|
|
145
144
|
"vue": "3.5.13",
|
|
146
145
|
"vue-tsc": "2.2.0"
|