@bitrix24/b24ui-nuxt 2.1.0 → 2.1.1
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/meta.d.mts +27 -90
- package/dist/meta.mjs +27 -90
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/components/Advice.d.vue.ts +1 -1
- package/dist/runtime/components/Advice.vue +3 -1
- package/dist/runtime/components/Advice.vue.d.ts +1 -1
- package/dist/runtime/components/Calendar.vue +1 -3
- package/dist/runtime/components/InputDate.d.vue.ts +0 -5
- package/dist/runtime/components/InputDate.vue +0 -6
- package/dist/runtime/components/InputDate.vue.d.ts +0 -5
- package/dist/runtime/components/InputNumber.d.vue.ts +0 -5
- package/dist/runtime/components/InputNumber.vue +1 -4
- package/dist/runtime/components/InputNumber.vue.d.ts +0 -5
- package/dist/runtime/components/InputTime.d.vue.ts +0 -5
- package/dist/runtime/components/InputTime.vue +1 -7
- package/dist/runtime/components/InputTime.vue.d.ts +0 -5
- package/dist/shared/{b24ui-nuxt.CXLCGBie.mjs → b24ui-nuxt.B13KxxqP.mjs} +3 -3
- package/dist/unplugin.mjs +1 -1
- package/dist/vite.mjs +1 -1
- package/package.json +1 -1
package/dist/meta.d.mts
CHANGED
|
@@ -16480,7 +16480,7 @@ var B24UIMeta = {
|
|
|
16480
16480
|
],
|
|
16481
16481
|
"events": [],
|
|
16482
16482
|
"exposed": [],
|
|
16483
|
-
"hash": "
|
|
16483
|
+
"hash": "UaC6uVq3WnnPyNs2AjQaxxMTEAFhwvFbe7WUPz0ASWU"
|
|
16484
16484
|
}
|
|
16485
16485
|
},
|
|
16486
16486
|
"B24Alert": {
|
|
@@ -39330,7 +39330,7 @@ var B24UIMeta = {
|
|
|
39330
39330
|
],
|
|
39331
39331
|
"events": [],
|
|
39332
39332
|
"exposed": [],
|
|
39333
|
-
"hash": "
|
|
39333
|
+
"hash": "3AXpCfw-MlhbPCltoq0RG4ZGD4k9Gg7tMDftvmdVrwI"
|
|
39334
39334
|
}
|
|
39335
39335
|
},
|
|
39336
39336
|
"B24Card": {
|
|
@@ -72852,27 +72852,6 @@ var B24UIMeta = {
|
|
|
72852
72852
|
}
|
|
72853
72853
|
}
|
|
72854
72854
|
},
|
|
72855
|
-
{
|
|
72856
|
-
"name": "locale",
|
|
72857
|
-
"global": false,
|
|
72858
|
-
"description": "The locale to use for formatting and parsing numbers.",
|
|
72859
|
-
"tags": [
|
|
72860
|
-
{
|
|
72861
|
-
"name": "defaultValue",
|
|
72862
|
-
"text": "B24App.locale.code"
|
|
72863
|
-
}
|
|
72864
|
-
],
|
|
72865
|
-
"required": false,
|
|
72866
|
-
"type": "string | undefined",
|
|
72867
|
-
"schema": {
|
|
72868
|
-
"kind": "enum",
|
|
72869
|
-
"type": "string | undefined",
|
|
72870
|
-
"schema": {
|
|
72871
|
-
"0": "undefined",
|
|
72872
|
-
"1": "string"
|
|
72873
|
-
}
|
|
72874
|
-
}
|
|
72875
|
-
},
|
|
72876
72855
|
{
|
|
72877
72856
|
"name": "defaultValue",
|
|
72878
72857
|
"global": false,
|
|
@@ -79188,7 +79167,7 @@ var B24UIMeta = {
|
|
|
79188
79167
|
],
|
|
79189
79168
|
"events": [],
|
|
79190
79169
|
"exposed": [],
|
|
79191
|
-
"hash": "
|
|
79170
|
+
"hash": "9COSq2Z8hrlcOOrGAxqLH-RnFiCYT4lifBRMptxDxfg"
|
|
79192
79171
|
}
|
|
79193
79172
|
},
|
|
79194
79173
|
"B24InputMenu": {
|
|
@@ -82628,15 +82607,15 @@ var B24UIMeta = {
|
|
|
82628
82607
|
}
|
|
82629
82608
|
],
|
|
82630
82609
|
"required": false,
|
|
82631
|
-
"type": '"
|
|
82610
|
+
"type": '"light" | "normal" | "dark" | undefined',
|
|
82632
82611
|
"schema": {
|
|
82633
82612
|
"kind": "enum",
|
|
82634
|
-
"type": '"
|
|
82613
|
+
"type": '"light" | "normal" | "dark" | undefined',
|
|
82635
82614
|
"schema": {
|
|
82636
82615
|
"0": "undefined",
|
|
82637
|
-
"1": '"
|
|
82638
|
-
"2": '"
|
|
82639
|
-
"3": '"
|
|
82616
|
+
"1": '"light"',
|
|
82617
|
+
"2": '"normal"',
|
|
82618
|
+
"3": '"dark"'
|
|
82640
82619
|
}
|
|
82641
82620
|
}
|
|
82642
82621
|
},
|
|
@@ -82646,8 +82625,8 @@ var B24UIMeta = {
|
|
|
82646
82625
|
"description": "",
|
|
82647
82626
|
"tags": [],
|
|
82648
82627
|
"required": false,
|
|
82649
|
-
"type": '"
|
|
82650
|
-
"schema": '"
|
|
82628
|
+
"type": '"light" | "normal" | "dark" | undefined',
|
|
82629
|
+
"schema": '"light" | "normal" | "dark" | undefined'
|
|
82651
82630
|
},
|
|
82652
82631
|
"size": {
|
|
82653
82632
|
"name": "size",
|
|
@@ -83500,14 +83479,14 @@ var B24UIMeta = {
|
|
|
83500
83479
|
}
|
|
83501
83480
|
],
|
|
83502
83481
|
"required": false,
|
|
83503
|
-
"type": '"
|
|
83482
|
+
"type": '"reset" | "submit" | "button" | undefined',
|
|
83504
83483
|
"schema": {
|
|
83505
83484
|
"kind": "enum",
|
|
83506
|
-
"type": '"
|
|
83485
|
+
"type": '"reset" | "submit" | "button" | undefined',
|
|
83507
83486
|
"schema": {
|
|
83508
83487
|
"0": "undefined",
|
|
83509
|
-
"1": '"
|
|
83510
|
-
"2": '"
|
|
83488
|
+
"1": '"reset"',
|
|
83489
|
+
"2": '"submit"',
|
|
83511
83490
|
"3": '"button"'
|
|
83512
83491
|
}
|
|
83513
83492
|
}
|
|
@@ -84159,15 +84138,15 @@ var B24UIMeta = {
|
|
|
84159
84138
|
}
|
|
84160
84139
|
],
|
|
84161
84140
|
"required": false,
|
|
84162
|
-
"type": '"
|
|
84141
|
+
"type": '"light" | "normal" | "dark" | undefined',
|
|
84163
84142
|
"schema": {
|
|
84164
84143
|
"kind": "enum",
|
|
84165
|
-
"type": '"
|
|
84144
|
+
"type": '"light" | "normal" | "dark" | undefined',
|
|
84166
84145
|
"schema": {
|
|
84167
84146
|
"0": "undefined",
|
|
84168
|
-
"1": '"
|
|
84169
|
-
"2": '"
|
|
84170
|
-
"3": '"
|
|
84147
|
+
"1": '"light"',
|
|
84148
|
+
"2": '"normal"',
|
|
84149
|
+
"3": '"dark"'
|
|
84171
84150
|
}
|
|
84172
84151
|
}
|
|
84173
84152
|
},
|
|
@@ -84177,8 +84156,8 @@ var B24UIMeta = {
|
|
|
84177
84156
|
"description": "",
|
|
84178
84157
|
"tags": [],
|
|
84179
84158
|
"required": false,
|
|
84180
|
-
"type": '"
|
|
84181
|
-
"schema": '"
|
|
84159
|
+
"type": '"light" | "normal" | "dark" | undefined',
|
|
84160
|
+
"schema": '"light" | "normal" | "dark" | undefined'
|
|
84182
84161
|
},
|
|
84183
84162
|
"size": {
|
|
84184
84163
|
"name": "size",
|
|
@@ -85031,14 +85010,14 @@ var B24UIMeta = {
|
|
|
85031
85010
|
}
|
|
85032
85011
|
],
|
|
85033
85012
|
"required": false,
|
|
85034
|
-
"type": '"
|
|
85013
|
+
"type": '"reset" | "submit" | "button" | undefined',
|
|
85035
85014
|
"schema": {
|
|
85036
85015
|
"kind": "enum",
|
|
85037
|
-
"type": '"
|
|
85016
|
+
"type": '"reset" | "submit" | "button" | undefined',
|
|
85038
85017
|
"schema": {
|
|
85039
85018
|
"0": "undefined",
|
|
85040
|
-
"1": '"
|
|
85041
|
-
"2": '"
|
|
85019
|
+
"1": '"reset"',
|
|
85020
|
+
"2": '"submit"',
|
|
85042
85021
|
"3": '"button"'
|
|
85043
85022
|
}
|
|
85044
85023
|
}
|
|
@@ -85633,27 +85612,6 @@ var B24UIMeta = {
|
|
|
85633
85612
|
}
|
|
85634
85613
|
}
|
|
85635
85614
|
},
|
|
85636
|
-
{
|
|
85637
|
-
"name": "locale",
|
|
85638
|
-
"global": false,
|
|
85639
|
-
"description": "The locale to use for formatting and parsing numbers.",
|
|
85640
|
-
"tags": [
|
|
85641
|
-
{
|
|
85642
|
-
"name": "defaultValue",
|
|
85643
|
-
"text": "B24App.locale.code"
|
|
85644
|
-
}
|
|
85645
|
-
],
|
|
85646
|
-
"required": false,
|
|
85647
|
-
"type": "string | undefined",
|
|
85648
|
-
"schema": {
|
|
85649
|
-
"kind": "enum",
|
|
85650
|
-
"type": "string | undefined",
|
|
85651
|
-
"schema": {
|
|
85652
|
-
"0": "undefined",
|
|
85653
|
-
"1": "string"
|
|
85654
|
-
}
|
|
85655
|
-
}
|
|
85656
|
-
},
|
|
85657
85615
|
{
|
|
85658
85616
|
"name": "b24ui",
|
|
85659
85617
|
"global": false,
|
|
@@ -86073,7 +86031,7 @@ var B24UIMeta = {
|
|
|
86073
86031
|
],
|
|
86074
86032
|
"events": [],
|
|
86075
86033
|
"exposed": [],
|
|
86076
|
-
"hash": "
|
|
86034
|
+
"hash": "eKSCYEuWLPvZARdlStxaboV9aSonu9Y4Q-PqT90dS5k"
|
|
86077
86035
|
}
|
|
86078
86036
|
},
|
|
86079
86037
|
"B24InputTags": {
|
|
@@ -87779,27 +87737,6 @@ var B24UIMeta = {
|
|
|
87779
87737
|
},
|
|
87780
87738
|
"default": "0"
|
|
87781
87739
|
},
|
|
87782
|
-
{
|
|
87783
|
-
"name": "locale",
|
|
87784
|
-
"global": false,
|
|
87785
|
-
"description": "The locale to use for formatting and parsing numbers.",
|
|
87786
|
-
"tags": [
|
|
87787
|
-
{
|
|
87788
|
-
"name": "defaultValue",
|
|
87789
|
-
"text": "B24App.locale.code"
|
|
87790
|
-
}
|
|
87791
|
-
],
|
|
87792
|
-
"required": false,
|
|
87793
|
-
"type": "string | undefined",
|
|
87794
|
-
"schema": {
|
|
87795
|
-
"kind": "enum",
|
|
87796
|
-
"type": "string | undefined",
|
|
87797
|
-
"schema": {
|
|
87798
|
-
"0": "undefined",
|
|
87799
|
-
"1": "string"
|
|
87800
|
-
}
|
|
87801
|
-
}
|
|
87802
|
-
},
|
|
87803
87740
|
{
|
|
87804
87741
|
"name": "b24ui",
|
|
87805
87742
|
"global": false,
|
|
@@ -93891,7 +93828,7 @@ var B24UIMeta = {
|
|
|
93891
93828
|
],
|
|
93892
93829
|
"events": [],
|
|
93893
93830
|
"exposed": [],
|
|
93894
|
-
"hash": "
|
|
93831
|
+
"hash": "1cQDz7jdn-qJ-P8qMnzzXJpByTlStjopmX3hwp8IQo8"
|
|
93895
93832
|
}
|
|
93896
93833
|
},
|
|
93897
93834
|
"B24Kbd": {
|
package/dist/meta.mjs
CHANGED
|
@@ -16480,7 +16480,7 @@ const B24UIMeta = {
|
|
|
16480
16480
|
],
|
|
16481
16481
|
"events": [],
|
|
16482
16482
|
"exposed": [],
|
|
16483
|
-
"hash": "
|
|
16483
|
+
"hash": "UaC6uVq3WnnPyNs2AjQaxxMTEAFhwvFbe7WUPz0ASWU"
|
|
16484
16484
|
}
|
|
16485
16485
|
},
|
|
16486
16486
|
"B24Alert": {
|
|
@@ -39330,7 +39330,7 @@ const B24UIMeta = {
|
|
|
39330
39330
|
],
|
|
39331
39331
|
"events": [],
|
|
39332
39332
|
"exposed": [],
|
|
39333
|
-
"hash": "
|
|
39333
|
+
"hash": "3AXpCfw-MlhbPCltoq0RG4ZGD4k9Gg7tMDftvmdVrwI"
|
|
39334
39334
|
}
|
|
39335
39335
|
},
|
|
39336
39336
|
"B24Card": {
|
|
@@ -72852,27 +72852,6 @@ const B24UIMeta = {
|
|
|
72852
72852
|
}
|
|
72853
72853
|
}
|
|
72854
72854
|
},
|
|
72855
|
-
{
|
|
72856
|
-
"name": "locale",
|
|
72857
|
-
"global": false,
|
|
72858
|
-
"description": "The locale to use for formatting and parsing numbers.",
|
|
72859
|
-
"tags": [
|
|
72860
|
-
{
|
|
72861
|
-
"name": "defaultValue",
|
|
72862
|
-
"text": "B24App.locale.code"
|
|
72863
|
-
}
|
|
72864
|
-
],
|
|
72865
|
-
"required": false,
|
|
72866
|
-
"type": "string | undefined",
|
|
72867
|
-
"schema": {
|
|
72868
|
-
"kind": "enum",
|
|
72869
|
-
"type": "string | undefined",
|
|
72870
|
-
"schema": {
|
|
72871
|
-
"0": "undefined",
|
|
72872
|
-
"1": "string"
|
|
72873
|
-
}
|
|
72874
|
-
}
|
|
72875
|
-
},
|
|
72876
72855
|
{
|
|
72877
72856
|
"name": "defaultValue",
|
|
72878
72857
|
"global": false,
|
|
@@ -79188,7 +79167,7 @@ const B24UIMeta = {
|
|
|
79188
79167
|
],
|
|
79189
79168
|
"events": [],
|
|
79190
79169
|
"exposed": [],
|
|
79191
|
-
"hash": "
|
|
79170
|
+
"hash": "9COSq2Z8hrlcOOrGAxqLH-RnFiCYT4lifBRMptxDxfg"
|
|
79192
79171
|
}
|
|
79193
79172
|
},
|
|
79194
79173
|
"B24InputMenu": {
|
|
@@ -82628,15 +82607,15 @@ const B24UIMeta = {
|
|
|
82628
82607
|
}
|
|
82629
82608
|
],
|
|
82630
82609
|
"required": false,
|
|
82631
|
-
"type": '"
|
|
82610
|
+
"type": '"light" | "normal" | "dark" | undefined',
|
|
82632
82611
|
"schema": {
|
|
82633
82612
|
"kind": "enum",
|
|
82634
|
-
"type": '"
|
|
82613
|
+
"type": '"light" | "normal" | "dark" | undefined',
|
|
82635
82614
|
"schema": {
|
|
82636
82615
|
"0": "undefined",
|
|
82637
|
-
"1": '"
|
|
82638
|
-
"2": '"
|
|
82639
|
-
"3": '"
|
|
82616
|
+
"1": '"light"',
|
|
82617
|
+
"2": '"normal"',
|
|
82618
|
+
"3": '"dark"'
|
|
82640
82619
|
}
|
|
82641
82620
|
}
|
|
82642
82621
|
},
|
|
@@ -82646,8 +82625,8 @@ const B24UIMeta = {
|
|
|
82646
82625
|
"description": "",
|
|
82647
82626
|
"tags": [],
|
|
82648
82627
|
"required": false,
|
|
82649
|
-
"type": '"
|
|
82650
|
-
"schema": '"
|
|
82628
|
+
"type": '"light" | "normal" | "dark" | undefined',
|
|
82629
|
+
"schema": '"light" | "normal" | "dark" | undefined'
|
|
82651
82630
|
},
|
|
82652
82631
|
"size": {
|
|
82653
82632
|
"name": "size",
|
|
@@ -83500,14 +83479,14 @@ const B24UIMeta = {
|
|
|
83500
83479
|
}
|
|
83501
83480
|
],
|
|
83502
83481
|
"required": false,
|
|
83503
|
-
"type": '"
|
|
83482
|
+
"type": '"reset" | "submit" | "button" | undefined',
|
|
83504
83483
|
"schema": {
|
|
83505
83484
|
"kind": "enum",
|
|
83506
|
-
"type": '"
|
|
83485
|
+
"type": '"reset" | "submit" | "button" | undefined',
|
|
83507
83486
|
"schema": {
|
|
83508
83487
|
"0": "undefined",
|
|
83509
|
-
"1": '"
|
|
83510
|
-
"2": '"
|
|
83488
|
+
"1": '"reset"',
|
|
83489
|
+
"2": '"submit"',
|
|
83511
83490
|
"3": '"button"'
|
|
83512
83491
|
}
|
|
83513
83492
|
}
|
|
@@ -84159,15 +84138,15 @@ const B24UIMeta = {
|
|
|
84159
84138
|
}
|
|
84160
84139
|
],
|
|
84161
84140
|
"required": false,
|
|
84162
|
-
"type": '"
|
|
84141
|
+
"type": '"light" | "normal" | "dark" | undefined',
|
|
84163
84142
|
"schema": {
|
|
84164
84143
|
"kind": "enum",
|
|
84165
|
-
"type": '"
|
|
84144
|
+
"type": '"light" | "normal" | "dark" | undefined',
|
|
84166
84145
|
"schema": {
|
|
84167
84146
|
"0": "undefined",
|
|
84168
|
-
"1": '"
|
|
84169
|
-
"2": '"
|
|
84170
|
-
"3": '"
|
|
84147
|
+
"1": '"light"',
|
|
84148
|
+
"2": '"normal"',
|
|
84149
|
+
"3": '"dark"'
|
|
84171
84150
|
}
|
|
84172
84151
|
}
|
|
84173
84152
|
},
|
|
@@ -84177,8 +84156,8 @@ const B24UIMeta = {
|
|
|
84177
84156
|
"description": "",
|
|
84178
84157
|
"tags": [],
|
|
84179
84158
|
"required": false,
|
|
84180
|
-
"type": '"
|
|
84181
|
-
"schema": '"
|
|
84159
|
+
"type": '"light" | "normal" | "dark" | undefined',
|
|
84160
|
+
"schema": '"light" | "normal" | "dark" | undefined'
|
|
84182
84161
|
},
|
|
84183
84162
|
"size": {
|
|
84184
84163
|
"name": "size",
|
|
@@ -85031,14 +85010,14 @@ const B24UIMeta = {
|
|
|
85031
85010
|
}
|
|
85032
85011
|
],
|
|
85033
85012
|
"required": false,
|
|
85034
|
-
"type": '"
|
|
85013
|
+
"type": '"reset" | "submit" | "button" | undefined',
|
|
85035
85014
|
"schema": {
|
|
85036
85015
|
"kind": "enum",
|
|
85037
|
-
"type": '"
|
|
85016
|
+
"type": '"reset" | "submit" | "button" | undefined',
|
|
85038
85017
|
"schema": {
|
|
85039
85018
|
"0": "undefined",
|
|
85040
|
-
"1": '"
|
|
85041
|
-
"2": '"
|
|
85019
|
+
"1": '"reset"',
|
|
85020
|
+
"2": '"submit"',
|
|
85042
85021
|
"3": '"button"'
|
|
85043
85022
|
}
|
|
85044
85023
|
}
|
|
@@ -85633,27 +85612,6 @@ const B24UIMeta = {
|
|
|
85633
85612
|
}
|
|
85634
85613
|
}
|
|
85635
85614
|
},
|
|
85636
|
-
{
|
|
85637
|
-
"name": "locale",
|
|
85638
|
-
"global": false,
|
|
85639
|
-
"description": "The locale to use for formatting and parsing numbers.",
|
|
85640
|
-
"tags": [
|
|
85641
|
-
{
|
|
85642
|
-
"name": "defaultValue",
|
|
85643
|
-
"text": "B24App.locale.code"
|
|
85644
|
-
}
|
|
85645
|
-
],
|
|
85646
|
-
"required": false,
|
|
85647
|
-
"type": "string | undefined",
|
|
85648
|
-
"schema": {
|
|
85649
|
-
"kind": "enum",
|
|
85650
|
-
"type": "string | undefined",
|
|
85651
|
-
"schema": {
|
|
85652
|
-
"0": "undefined",
|
|
85653
|
-
"1": "string"
|
|
85654
|
-
}
|
|
85655
|
-
}
|
|
85656
|
-
},
|
|
85657
85615
|
{
|
|
85658
85616
|
"name": "b24ui",
|
|
85659
85617
|
"global": false,
|
|
@@ -86073,7 +86031,7 @@ const B24UIMeta = {
|
|
|
86073
86031
|
],
|
|
86074
86032
|
"events": [],
|
|
86075
86033
|
"exposed": [],
|
|
86076
|
-
"hash": "
|
|
86034
|
+
"hash": "eKSCYEuWLPvZARdlStxaboV9aSonu9Y4Q-PqT90dS5k"
|
|
86077
86035
|
}
|
|
86078
86036
|
},
|
|
86079
86037
|
"B24InputTags": {
|
|
@@ -87779,27 +87737,6 @@ const B24UIMeta = {
|
|
|
87779
87737
|
},
|
|
87780
87738
|
"default": "0"
|
|
87781
87739
|
},
|
|
87782
|
-
{
|
|
87783
|
-
"name": "locale",
|
|
87784
|
-
"global": false,
|
|
87785
|
-
"description": "The locale to use for formatting and parsing numbers.",
|
|
87786
|
-
"tags": [
|
|
87787
|
-
{
|
|
87788
|
-
"name": "defaultValue",
|
|
87789
|
-
"text": "B24App.locale.code"
|
|
87790
|
-
}
|
|
87791
|
-
],
|
|
87792
|
-
"required": false,
|
|
87793
|
-
"type": "string | undefined",
|
|
87794
|
-
"schema": {
|
|
87795
|
-
"kind": "enum",
|
|
87796
|
-
"type": "string | undefined",
|
|
87797
|
-
"schema": {
|
|
87798
|
-
"0": "undefined",
|
|
87799
|
-
"1": "string"
|
|
87800
|
-
}
|
|
87801
|
-
}
|
|
87802
|
-
},
|
|
87803
87740
|
{
|
|
87804
87741
|
"name": "b24ui",
|
|
87805
87742
|
"global": false,
|
|
@@ -93891,7 +93828,7 @@ const B24UIMeta = {
|
|
|
93891
93828
|
],
|
|
93892
93829
|
"events": [],
|
|
93893
93830
|
"exposed": [],
|
|
93894
|
-
"hash": "
|
|
93831
|
+
"hash": "1cQDz7jdn-qJ-P8qMnzzXJpByTlStjopmX3hwp8IQo8"
|
|
93895
93832
|
}
|
|
93896
93833
|
},
|
|
93897
93834
|
"B24Kbd": {
|
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, addPlugin, hasNuxtModule, addComponentsDir, addImportsDir } from '@nuxt/kit';
|
|
3
|
-
import { d as defaultOptions, v as version, n as name, a as getDefaultConfig, b as addTemplates } from './shared/b24ui-nuxt.
|
|
3
|
+
import { d as defaultOptions, v as version, n as name, a as getDefaultConfig, b as addTemplates } from './shared/b24ui-nuxt.B13KxxqP.mjs';
|
|
4
4
|
import 'node:url';
|
|
5
5
|
import 'scule';
|
|
6
6
|
import 'knitwork';
|
|
@@ -3,7 +3,7 @@ import theme from '#build/b24ui/advice';
|
|
|
3
3
|
import type { UseComponentIconsProps } from '../composables/useComponentIcons';
|
|
4
4
|
import type { ComponentConfig } from '../types/tv';
|
|
5
5
|
type Advice = ComponentConfig<typeof theme, AppConfig, 'advice'>;
|
|
6
|
-
export interface AdviceProps extends
|
|
6
|
+
export interface AdviceProps extends Omit<UseComponentIconsProps, 'loading' | 'trailing' | 'trailingIcon'> {
|
|
7
7
|
/**
|
|
8
8
|
* The element or component this component should render as.
|
|
9
9
|
* @defaultValue 'div'
|
|
@@ -15,7 +15,9 @@ const props = defineProps({
|
|
|
15
15
|
description: { type: String, required: false },
|
|
16
16
|
angle: { type: null, required: false, default: "bottom" },
|
|
17
17
|
class: { type: null, required: false },
|
|
18
|
-
b24ui: { type: null, required: false }
|
|
18
|
+
b24ui: { type: null, required: false },
|
|
19
|
+
icon: { type: [Function, Object], required: false },
|
|
20
|
+
avatar: { type: Object, required: false }
|
|
19
21
|
});
|
|
20
22
|
const slots = defineSlots();
|
|
21
23
|
const appConfig = useAppConfig();
|
|
@@ -3,7 +3,7 @@ import theme from '#build/b24ui/advice';
|
|
|
3
3
|
import type { UseComponentIconsProps } from '../composables/useComponentIcons';
|
|
4
4
|
import type { ComponentConfig } from '../types/tv';
|
|
5
5
|
type Advice = ComponentConfig<typeof theme, AppConfig, 'advice'>;
|
|
6
|
-
export interface AdviceProps extends
|
|
6
|
+
export interface AdviceProps extends Omit<UseComponentIconsProps, 'loading' | 'trailing' | 'trailingIcon'> {
|
|
7
7
|
/**
|
|
8
8
|
* The element or component this component should render as.
|
|
9
9
|
* @defaultValue 'div'
|
|
@@ -58,7 +58,7 @@ const props = defineProps({
|
|
|
58
58
|
});
|
|
59
59
|
const emits = defineEmits(["update:modelValue", "update:placeholder", "update:validModelValue", "update:startValue"]);
|
|
60
60
|
defineSlots();
|
|
61
|
-
const {
|
|
61
|
+
const { dir, t } = useLocale();
|
|
62
62
|
const appConfig = useAppConfig();
|
|
63
63
|
const rootProps = useForwardPropsEmits(reactiveOmit(props, "range", "modelValue", "defaultValue", "color", "size", "monthControls", "yearControls", "class", "b24ui"), emits);
|
|
64
64
|
const nextYearIcon = computed(() => props.nextYearIcon || (dir.value === "rtl" ? icons.chevronDoubleLeft : icons.chevronDoubleRight));
|
|
@@ -92,8 +92,6 @@ const btnSize = computed(() => {
|
|
|
92
92
|
v-bind="rootProps"
|
|
93
93
|
:model-value="modelValue"
|
|
94
94
|
:default-value="defaultValue"
|
|
95
|
-
:locale="locale"
|
|
96
|
-
:dir="dir"
|
|
97
95
|
:class="b24ui.root({ class: [props.b24ui?.root, props.class] })"
|
|
98
96
|
>
|
|
99
97
|
<Calendar.Header :class="b24ui.header({ class: props.b24ui?.header })">
|
|
@@ -61,11 +61,6 @@ export interface InputDateProps<R extends boolean = false> extends UseComponentI
|
|
|
61
61
|
separatorIcon?: IconComponent;
|
|
62
62
|
/** Whether or not a range of dates can be selected */
|
|
63
63
|
range?: R & boolean;
|
|
64
|
-
/**
|
|
65
|
-
* The locale to use for formatting and parsing numbers.
|
|
66
|
-
* @defaultValue B24App.locale.code
|
|
67
|
-
*/
|
|
68
|
-
locale?: string;
|
|
69
64
|
defaultValue?: InputDateDefaultValue<R>;
|
|
70
65
|
modelValue?: InputDateModelValue<R>;
|
|
71
66
|
class?: any;
|
|
@@ -11,7 +11,6 @@ import { useAppConfig } from "#imports";
|
|
|
11
11
|
import { useFieldGroup } from "../composables/useFieldGroup";
|
|
12
12
|
import { useComponentIcons } from "../composables/useComponentIcons";
|
|
13
13
|
import { useFormField } from "../composables/useFormField";
|
|
14
|
-
import { useLocale } from "../composables/useLocale";
|
|
15
14
|
import { tv } from "../utils/tv";
|
|
16
15
|
import icons from "../dictionary/icons";
|
|
17
16
|
import B24Badge from "./Badge.vue";
|
|
@@ -32,7 +31,6 @@ const props = defineProps({
|
|
|
32
31
|
autofocusDelay: { type: Number, required: false, default: 0 },
|
|
33
32
|
separatorIcon: { type: [Function, Object], required: false },
|
|
34
33
|
range: { type: Boolean, required: false },
|
|
35
|
-
locale: { type: String, required: false },
|
|
36
34
|
defaultValue: { type: null, required: false },
|
|
37
35
|
modelValue: { type: null, required: false },
|
|
38
36
|
class: { type: null, required: false },
|
|
@@ -59,14 +57,12 @@ const props = defineProps({
|
|
|
59
57
|
});
|
|
60
58
|
const emits = defineEmits(["update:modelValue", "change", "blur", "focus", "update:placeholder"]);
|
|
61
59
|
const slots = defineSlots();
|
|
62
|
-
const { code: codeLocale, dir } = useLocale();
|
|
63
60
|
const appConfig = useAppConfig();
|
|
64
61
|
const rootProps = useForwardPropsEmits(reactiveOmit(props, "id", "name", "range", "modelValue", "defaultValue", "color", "size", "highlight", "disabled", "autofocus", "autofocusDelay", "icon", "avatar", "trailingIcon", "loading", "separatorIcon", "class", "b24ui"), emits);
|
|
65
62
|
const { emitFormBlur, emitFormFocus, emitFormChange, emitFormInput, size: formGroupSize, color, id, name, highlight, disabled, ariaAttrs } = useFormField(props);
|
|
66
63
|
const { orientation, size: fieldGroupSize } = useFieldGroup(props);
|
|
67
64
|
const { isLeading, isTrailing, leadingIconName, trailingIconName } = useComponentIcons(props);
|
|
68
65
|
const [DefineSegmentsTemplate, ReuseSegmentsTemplate] = createReusableTemplate();
|
|
69
|
-
const locale = computed(() => props.locale || codeLocale.value);
|
|
70
66
|
const inputSize = computed(() => fieldGroupSize.value || formGroupSize.value);
|
|
71
67
|
const isTag = computed(() => {
|
|
72
68
|
return props.tag;
|
|
@@ -138,8 +134,6 @@ defineExpose({
|
|
|
138
134
|
:default-value="defaultValue"
|
|
139
135
|
:name="name"
|
|
140
136
|
:disabled="disabled"
|
|
141
|
-
:locale="locale"
|
|
142
|
-
:dir="dir"
|
|
143
137
|
:class="b24ui.base({ class: [props.b24ui?.base, props.class] })"
|
|
144
138
|
@update:model-value="onUpdate"
|
|
145
139
|
@blur="onBlur"
|
|
@@ -61,11 +61,6 @@ export interface InputDateProps<R extends boolean = false> extends UseComponentI
|
|
|
61
61
|
separatorIcon?: IconComponent;
|
|
62
62
|
/** Whether or not a range of dates can be selected */
|
|
63
63
|
range?: R & boolean;
|
|
64
|
-
/**
|
|
65
|
-
* The locale to use for formatting and parsing numbers.
|
|
66
|
-
* @defaultValue B24App.locale.code
|
|
67
|
-
*/
|
|
68
|
-
locale?: string;
|
|
69
64
|
defaultValue?: InputDateDefaultValue<R>;
|
|
70
65
|
modelValue?: InputDateModelValue<R>;
|
|
71
66
|
class?: any;
|
|
@@ -79,11 +79,6 @@ export interface InputNumberProps<T extends InputNumberValue = InputNumberValue>
|
|
|
79
79
|
autofocus?: boolean;
|
|
80
80
|
autofocusDelay?: number;
|
|
81
81
|
modelModifiers?: Pick<ModelModifiers<T>, 'optional'>;
|
|
82
|
-
/**
|
|
83
|
-
* The locale to use for formatting and parsing numbers.
|
|
84
|
-
* @defaultValue B24App.locale.code
|
|
85
|
-
*/
|
|
86
|
-
locale?: string;
|
|
87
82
|
class?: any;
|
|
88
83
|
b24ui?: InputNumber['slots'];
|
|
89
84
|
}
|
|
@@ -36,7 +36,6 @@ const props = defineProps({
|
|
|
36
36
|
autofocus: { type: Boolean, required: false },
|
|
37
37
|
autofocusDelay: { type: Number, required: false },
|
|
38
38
|
modelModifiers: { type: Object, required: false },
|
|
39
|
-
locale: { type: String, required: false },
|
|
40
39
|
class: { type: null, required: false },
|
|
41
40
|
b24ui: { type: null, required: false },
|
|
42
41
|
modelValue: { type: [Number, null], required: false },
|
|
@@ -57,12 +56,11 @@ const props = defineProps({
|
|
|
57
56
|
const emits = defineEmits(["update:modelValue", "blur", "change"]);
|
|
58
57
|
defineSlots();
|
|
59
58
|
const modelValue = useVModel(props, "modelValue", emits, { defaultValue: props.defaultValue });
|
|
60
|
-
const { t
|
|
59
|
+
const { t } = useLocale();
|
|
61
60
|
const appConfig = useAppConfig();
|
|
62
61
|
const rootProps = useForwardPropsEmits(reactivePick(props, "as", "defaultValue", "min", "max", "step", "stepSnapping", "formatOptions", "disableWheelChange", "invertWheelChange", "readonly"), emits);
|
|
63
62
|
const { emitFormBlur, emitFormFocus, emitFormChange, emitFormInput, id, color, size: formGroupSize, name, highlight, disabled, ariaAttrs } = useFormField(props);
|
|
64
63
|
const { orientation, size: fieldGroupSize } = useFieldGroup(props);
|
|
65
|
-
const locale = computed(() => props.locale || codeLocale.value);
|
|
66
64
|
const inputSize = computed(() => fieldGroupSize.value || formGroupSize.value);
|
|
67
65
|
const isTag = computed(() => {
|
|
68
66
|
return props.tag;
|
|
@@ -118,7 +116,6 @@ defineExpose({
|
|
|
118
116
|
:class="b24ui.root({ class: [props.b24ui?.root, props.class] })"
|
|
119
117
|
:name="name"
|
|
120
118
|
:disabled="disabled"
|
|
121
|
-
:locale="locale"
|
|
122
119
|
@update:model-value="onUpdate"
|
|
123
120
|
>
|
|
124
121
|
<B24Badge
|
|
@@ -79,11 +79,6 @@ export interface InputNumberProps<T extends InputNumberValue = InputNumberValue>
|
|
|
79
79
|
autofocus?: boolean;
|
|
80
80
|
autofocusDelay?: number;
|
|
81
81
|
modelModifiers?: Pick<ModelModifiers<T>, 'optional'>;
|
|
82
|
-
/**
|
|
83
|
-
* The locale to use for formatting and parsing numbers.
|
|
84
|
-
* @defaultValue B24App.locale.code
|
|
85
|
-
*/
|
|
86
|
-
locale?: string;
|
|
87
82
|
class?: any;
|
|
88
83
|
b24ui?: InputNumber['slots'];
|
|
89
84
|
}
|
|
@@ -49,11 +49,6 @@ export interface InputTimeProps extends Omit<TimeFieldRootProps, 'as' | 'asChild
|
|
|
49
49
|
highlight?: boolean;
|
|
50
50
|
autofocus?: boolean;
|
|
51
51
|
autofocusDelay?: number;
|
|
52
|
-
/**
|
|
53
|
-
* The locale to use for formatting and parsing numbers.
|
|
54
|
-
* @defaultValue B24App.locale.code
|
|
55
|
-
*/
|
|
56
|
-
locale?: string;
|
|
57
52
|
class?: any;
|
|
58
53
|
b24ui?: InputTime['slots'];
|
|
59
54
|
}
|
|
@@ -10,7 +10,6 @@ import { useAppConfig } from "#imports";
|
|
|
10
10
|
import { useFieldGroup } from "../composables/useFieldGroup";
|
|
11
11
|
import { useComponentIcons } from "../composables/useComponentIcons";
|
|
12
12
|
import { useFormField } from "../composables/useFormField";
|
|
13
|
-
import { useLocale } from "../composables/useLocale";
|
|
14
13
|
import { tv } from "../utils/tv";
|
|
15
14
|
import B24Badge from "./Badge.vue";
|
|
16
15
|
import B24Avatar from "./Avatar.vue";
|
|
@@ -27,7 +26,6 @@ const props = defineProps({
|
|
|
27
26
|
highlight: { type: Boolean, required: false },
|
|
28
27
|
autofocus: { type: Boolean, required: false },
|
|
29
28
|
autofocusDelay: { type: Number, required: false, default: 0 },
|
|
30
|
-
locale: { type: String, required: false },
|
|
31
29
|
class: { type: null, required: false },
|
|
32
30
|
b24ui: { type: null, required: false },
|
|
33
31
|
defaultValue: { type: Object, required: false },
|
|
@@ -53,13 +51,11 @@ const props = defineProps({
|
|
|
53
51
|
});
|
|
54
52
|
const emits = defineEmits(["change", "blur", "focus", "update:modelValue", "update:placeholder"]);
|
|
55
53
|
const slots = defineSlots();
|
|
56
|
-
const { code: codeLocale, dir } = useLocale();
|
|
57
54
|
const appConfig = useAppConfig();
|
|
58
|
-
const rootProps = useForwardPropsEmits(reactiveOmit(props, "id", "name", "color", "size", "highlight", "disabled", "autofocus", "autofocusDelay", "
|
|
55
|
+
const rootProps = useForwardPropsEmits(reactiveOmit(props, "id", "name", "color", "size", "highlight", "disabled", "autofocus", "autofocusDelay", "icon", "avatar", "trailingIcon", "loading", "class", "b24ui"), emits);
|
|
59
56
|
const { emitFormBlur, emitFormFocus, emitFormChange, emitFormInput, id, color, size: formGroupSize, name, highlight, disabled, ariaAttrs } = useFormField(props);
|
|
60
57
|
const { orientation, size: fieldGroupSize } = useFieldGroup(props);
|
|
61
58
|
const { isLeading, isTrailing, leadingIconName, trailingIconName } = useComponentIcons(props);
|
|
62
|
-
const locale = computed(() => props.locale || codeLocale.value);
|
|
63
59
|
const inputSize = computed(() => fieldGroupSize.value || formGroupSize.value);
|
|
64
60
|
const isTag = computed(() => {
|
|
65
61
|
return props.tag;
|
|
@@ -114,8 +110,6 @@ defineExpose({
|
|
|
114
110
|
v-slot="{ segments }"
|
|
115
111
|
:name="name"
|
|
116
112
|
:disabled="disabled"
|
|
117
|
-
:locale="locale"
|
|
118
|
-
:dir="dir"
|
|
119
113
|
:class="b24ui.base({ class: [props.b24ui?.base, props.class] })"
|
|
120
114
|
@update:model-value="onUpdate"
|
|
121
115
|
@blur="onBlur"
|
|
@@ -49,11 +49,6 @@ export interface InputTimeProps extends Omit<TimeFieldRootProps, 'as' | 'asChild
|
|
|
49
49
|
highlight?: boolean;
|
|
50
50
|
autofocus?: boolean;
|
|
51
51
|
autofocusDelay?: number;
|
|
52
|
-
/**
|
|
53
|
-
* The locale to use for formatting and parsing numbers.
|
|
54
|
-
* @defaultValue B24App.locale.code
|
|
55
|
-
*/
|
|
56
|
-
locale?: string;
|
|
57
52
|
class?: any;
|
|
58
53
|
b24ui?: InputTime['slots'];
|
|
59
54
|
}
|
|
@@ -8,7 +8,7 @@ import { globSync } from 'tinyglobby';
|
|
|
8
8
|
import { defuFn } from 'defu';
|
|
9
9
|
|
|
10
10
|
const name = "@bitrix24/b24ui-nuxt";
|
|
11
|
-
const version = "2.1.
|
|
11
|
+
const version = "2.1.1";
|
|
12
12
|
|
|
13
13
|
function getDefaultConfig(theme) {
|
|
14
14
|
return {
|
|
@@ -1650,7 +1650,7 @@ const chatMessage = {
|
|
|
1650
1650
|
root: "group/message relative w-full",
|
|
1651
1651
|
container: "relative flex items-start",
|
|
1652
1652
|
leading: "inline-flex items-center justify-center min-h-6",
|
|
1653
|
-
leadingIcon: "shrink-0",
|
|
1653
|
+
leadingIcon: "shrink-0 text-(--ui-color-design-plain-content-icon-secondary)",
|
|
1654
1654
|
leadingAvatar: "shrink-0",
|
|
1655
1655
|
leadingAvatarSize: "",
|
|
1656
1656
|
content: "relative text-pretty min-w-0 *:first:mt-0 *:last:mb-0",
|
|
@@ -10037,7 +10037,7 @@ const pre = {
|
|
|
10037
10037
|
"text-(length:--ui-font-size-md)/(--ui-font-line-height-md)",
|
|
10038
10038
|
"font-[family-name:var(--ui-font-family-system-mono)]",
|
|
10039
10039
|
"border border-(--ui-color-design-tinted-na-stroke)",
|
|
10040
|
-
"bg-(--ui-color-gray-90) dark:bg-(--ui-color-gray-90)/20",
|
|
10040
|
+
"bg-(--ui-color-gray-90) dark:bg-(--ui-color-gray-90)/20 light:bg-(--ui-color-gray-90)",
|
|
10041
10041
|
"rounded-(--ui-border-radius-md)",
|
|
10042
10042
|
"px-4 py-3",
|
|
10043
10043
|
"whitespace-pre-wrap",
|
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 getDefaultConfig } from './shared/b24ui-nuxt.
|
|
6
|
+
import { g as getTemplates, d as defaultOptions, a as getDefaultConfig } from './shared/b24ui-nuxt.B13KxxqP.mjs';
|
|
7
7
|
import fs from 'node:fs';
|
|
8
8
|
import path from 'node:path';
|
|
9
9
|
import MagicString from 'magic-string';
|
package/dist/vite.mjs
CHANGED
package/package.json
CHANGED