@bitrix24/b24ui-nuxt 0.6.1 → 0.6.3
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/dropdown-menu.ts +1 -1
- package/.nuxt/b24ui/input-menu.ts +1 -1
- package/.nuxt/b24ui/popover.ts +1 -1
- package/.nuxt/b24ui/select-menu.ts +4 -1
- package/.nuxt/b24ui/select.ts +1 -1
- package/.nuxt/b24ui/tooltip.ts +1 -1
- package/dist/meta.d.mts +419 -18
- package/dist/meta.mjs +419 -18
- package/dist/module.json +1 -1
- package/dist/module.mjs +2 -2
- package/dist/runtime/components/Form.vue +2 -1
- package/dist/runtime/components/Form.vue.d.ts +6 -0
- package/dist/runtime/inertia/components/Link.vue +153 -0
- package/dist/runtime/inertia/components/Link.vue.d.ts +97 -0
- package/dist/runtime/inertia/stubs.d.ts +45 -0
- package/dist/runtime/inertia/stubs.js +84 -0
- package/dist/runtime/types/utils.d.ts +5 -4
- package/dist/runtime/utils/link.js +1 -0
- package/dist/runtime/vue/components/Link.vue +2 -2
- package/dist/runtime/vue/stubs.d.ts +1 -1
- package/dist/shared/{b24ui-nuxt.wBs9vEU5.mjs → b24ui-nuxt.jU270f-Q.mjs} +13 -5
- package/dist/unplugin.d.mts +4 -0
- package/dist/unplugin.mjs +25 -4
- package/dist/vite.mjs +1 -1
- package/package.json +18 -12
package/dist/meta.mjs
CHANGED
|
@@ -9003,11 +9003,34 @@ const B24UIMeta = {
|
|
|
9003
9003
|
"identifier": {
|
|
9004
9004
|
"name": "identifier",
|
|
9005
9005
|
"global": false,
|
|
9006
|
-
"description": "A string identifier for the calendar, as defined by Unicode CLDR.",
|
|
9006
|
+
"description": "A string identifier for the calendar, as defined by Unicode CLDR.\nSee [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/supportedValuesOf#supported_calendar_types).",
|
|
9007
9007
|
"tags": [],
|
|
9008
9008
|
"required": true,
|
|
9009
|
-
"type": "
|
|
9010
|
-
"schema":
|
|
9009
|
+
"type": "CalendarIdentifier",
|
|
9010
|
+
"schema": {
|
|
9011
|
+
"kind": "enum",
|
|
9012
|
+
"type": "CalendarIdentifier",
|
|
9013
|
+
"schema": {
|
|
9014
|
+
"0": '"gregory"',
|
|
9015
|
+
"1": '"buddhist"',
|
|
9016
|
+
"2": '"chinese"',
|
|
9017
|
+
"3": '"coptic"',
|
|
9018
|
+
"4": '"dangi"',
|
|
9019
|
+
"5": '"ethioaa"',
|
|
9020
|
+
"6": '"ethiopic"',
|
|
9021
|
+
"7": '"hebrew"',
|
|
9022
|
+
"8": '"indian"',
|
|
9023
|
+
"9": '"islamic"',
|
|
9024
|
+
"10": '"islamic-umalqura"',
|
|
9025
|
+
"11": '"islamic-tbla"',
|
|
9026
|
+
"12": '"islamic-civil"',
|
|
9027
|
+
"13": '"islamic-rgsa"',
|
|
9028
|
+
"14": '"iso8601"',
|
|
9029
|
+
"15": '"japanese"',
|
|
9030
|
+
"16": '"persian"',
|
|
9031
|
+
"17": '"roc"'
|
|
9032
|
+
}
|
|
9033
|
+
}
|
|
9011
9034
|
},
|
|
9012
9035
|
"fromJulianDay": {
|
|
9013
9036
|
"name": "fromJulianDay",
|
|
@@ -9126,6 +9149,46 @@ const B24UIMeta = {
|
|
|
9126
9149
|
}
|
|
9127
9150
|
}
|
|
9128
9151
|
},
|
|
9152
|
+
"getFormattableMonth": {
|
|
9153
|
+
"name": "getFormattableMonth",
|
|
9154
|
+
"global": false,
|
|
9155
|
+
"description": "Returns a date that is the first day of the month for the given date.\nThis is used to determine the month that the given date falls in, if\nthe calendar has months that do not align with the standard calendar months\n(e.g. fiscal calendars).",
|
|
9156
|
+
"tags": [],
|
|
9157
|
+
"required": false,
|
|
9158
|
+
"type": "((date: AnyCalendarDate) => CalendarDate) | undefined",
|
|
9159
|
+
"schema": {
|
|
9160
|
+
"kind": "enum",
|
|
9161
|
+
"type": "((date: AnyCalendarDate) => CalendarDate) | undefined",
|
|
9162
|
+
"schema": {
|
|
9163
|
+
"0": "undefined",
|
|
9164
|
+
"1": {
|
|
9165
|
+
"kind": "event",
|
|
9166
|
+
"type": "(date: AnyCalendarDate): CalendarDate",
|
|
9167
|
+
"schema": []
|
|
9168
|
+
}
|
|
9169
|
+
}
|
|
9170
|
+
}
|
|
9171
|
+
},
|
|
9172
|
+
"isEqual": {
|
|
9173
|
+
"name": "isEqual",
|
|
9174
|
+
"global": false,
|
|
9175
|
+
"description": "Returns whether the given calendar is the same as this calendar.",
|
|
9176
|
+
"tags": [],
|
|
9177
|
+
"required": false,
|
|
9178
|
+
"type": "((calendar: Calendar) => boolean) | undefined",
|
|
9179
|
+
"schema": {
|
|
9180
|
+
"kind": "enum",
|
|
9181
|
+
"type": "((calendar: Calendar) => boolean) | undefined",
|
|
9182
|
+
"schema": {
|
|
9183
|
+
"0": "undefined",
|
|
9184
|
+
"1": {
|
|
9185
|
+
"kind": "event",
|
|
9186
|
+
"type": "(calendar: Calendar): boolean",
|
|
9187
|
+
"schema": []
|
|
9188
|
+
}
|
|
9189
|
+
}
|
|
9190
|
+
}
|
|
9191
|
+
},
|
|
9129
9192
|
"balanceDate": {
|
|
9130
9193
|
"name": "balanceDate",
|
|
9131
9194
|
"global": false,
|
|
@@ -9881,11 +9944,34 @@ const B24UIMeta = {
|
|
|
9881
9944
|
"identifier": {
|
|
9882
9945
|
"name": "identifier",
|
|
9883
9946
|
"global": false,
|
|
9884
|
-
"description": "A string identifier for the calendar, as defined by Unicode CLDR.",
|
|
9947
|
+
"description": "A string identifier for the calendar, as defined by Unicode CLDR.\nSee [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/supportedValuesOf#supported_calendar_types).",
|
|
9885
9948
|
"tags": [],
|
|
9886
9949
|
"required": true,
|
|
9887
|
-
"type": "
|
|
9888
|
-
"schema":
|
|
9950
|
+
"type": "CalendarIdentifier",
|
|
9951
|
+
"schema": {
|
|
9952
|
+
"kind": "enum",
|
|
9953
|
+
"type": "CalendarIdentifier",
|
|
9954
|
+
"schema": {
|
|
9955
|
+
"0": '"gregory"',
|
|
9956
|
+
"1": '"buddhist"',
|
|
9957
|
+
"2": '"chinese"',
|
|
9958
|
+
"3": '"coptic"',
|
|
9959
|
+
"4": '"dangi"',
|
|
9960
|
+
"5": '"ethioaa"',
|
|
9961
|
+
"6": '"ethiopic"',
|
|
9962
|
+
"7": '"hebrew"',
|
|
9963
|
+
"8": '"indian"',
|
|
9964
|
+
"9": '"islamic"',
|
|
9965
|
+
"10": '"islamic-umalqura"',
|
|
9966
|
+
"11": '"islamic-tbla"',
|
|
9967
|
+
"12": '"islamic-civil"',
|
|
9968
|
+
"13": '"islamic-rgsa"',
|
|
9969
|
+
"14": '"iso8601"',
|
|
9970
|
+
"15": '"japanese"',
|
|
9971
|
+
"16": '"persian"',
|
|
9972
|
+
"17": '"roc"'
|
|
9973
|
+
}
|
|
9974
|
+
}
|
|
9889
9975
|
},
|
|
9890
9976
|
"fromJulianDay": {
|
|
9891
9977
|
"name": "fromJulianDay",
|
|
@@ -10004,6 +10090,46 @@ const B24UIMeta = {
|
|
|
10004
10090
|
}
|
|
10005
10091
|
}
|
|
10006
10092
|
},
|
|
10093
|
+
"getFormattableMonth": {
|
|
10094
|
+
"name": "getFormattableMonth",
|
|
10095
|
+
"global": false,
|
|
10096
|
+
"description": "Returns a date that is the first day of the month for the given date.\nThis is used to determine the month that the given date falls in, if\nthe calendar has months that do not align with the standard calendar months\n(e.g. fiscal calendars).",
|
|
10097
|
+
"tags": [],
|
|
10098
|
+
"required": false,
|
|
10099
|
+
"type": "((date: AnyCalendarDate) => CalendarDate) | undefined",
|
|
10100
|
+
"schema": {
|
|
10101
|
+
"kind": "enum",
|
|
10102
|
+
"type": "((date: AnyCalendarDate) => CalendarDate) | undefined",
|
|
10103
|
+
"schema": {
|
|
10104
|
+
"0": "undefined",
|
|
10105
|
+
"1": {
|
|
10106
|
+
"kind": "event",
|
|
10107
|
+
"type": "(date: AnyCalendarDate): CalendarDate",
|
|
10108
|
+
"schema": []
|
|
10109
|
+
}
|
|
10110
|
+
}
|
|
10111
|
+
}
|
|
10112
|
+
},
|
|
10113
|
+
"isEqual": {
|
|
10114
|
+
"name": "isEqual",
|
|
10115
|
+
"global": false,
|
|
10116
|
+
"description": "Returns whether the given calendar is the same as this calendar.",
|
|
10117
|
+
"tags": [],
|
|
10118
|
+
"required": false,
|
|
10119
|
+
"type": "((calendar: Calendar) => boolean) | undefined",
|
|
10120
|
+
"schema": {
|
|
10121
|
+
"kind": "enum",
|
|
10122
|
+
"type": "((calendar: Calendar) => boolean) | undefined",
|
|
10123
|
+
"schema": {
|
|
10124
|
+
"0": "undefined",
|
|
10125
|
+
"1": {
|
|
10126
|
+
"kind": "event",
|
|
10127
|
+
"type": "(calendar: Calendar): boolean",
|
|
10128
|
+
"schema": []
|
|
10129
|
+
}
|
|
10130
|
+
}
|
|
10131
|
+
}
|
|
10132
|
+
},
|
|
10007
10133
|
"balanceDate": {
|
|
10008
10134
|
"name": "balanceDate",
|
|
10009
10135
|
"global": false,
|
|
@@ -10791,11 +10917,34 @@ const B24UIMeta = {
|
|
|
10791
10917
|
"identifier": {
|
|
10792
10918
|
"name": "identifier",
|
|
10793
10919
|
"global": false,
|
|
10794
|
-
"description": "A string identifier for the calendar, as defined by Unicode CLDR.",
|
|
10920
|
+
"description": "A string identifier for the calendar, as defined by Unicode CLDR.\nSee [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/supportedValuesOf#supported_calendar_types).",
|
|
10795
10921
|
"tags": [],
|
|
10796
10922
|
"required": true,
|
|
10797
|
-
"type": "
|
|
10798
|
-
"schema":
|
|
10923
|
+
"type": "CalendarIdentifier",
|
|
10924
|
+
"schema": {
|
|
10925
|
+
"kind": "enum",
|
|
10926
|
+
"type": "CalendarIdentifier",
|
|
10927
|
+
"schema": {
|
|
10928
|
+
"0": '"gregory"',
|
|
10929
|
+
"1": '"buddhist"',
|
|
10930
|
+
"2": '"chinese"',
|
|
10931
|
+
"3": '"coptic"',
|
|
10932
|
+
"4": '"dangi"',
|
|
10933
|
+
"5": '"ethioaa"',
|
|
10934
|
+
"6": '"ethiopic"',
|
|
10935
|
+
"7": '"hebrew"',
|
|
10936
|
+
"8": '"indian"',
|
|
10937
|
+
"9": '"islamic"',
|
|
10938
|
+
"10": '"islamic-umalqura"',
|
|
10939
|
+
"11": '"islamic-tbla"',
|
|
10940
|
+
"12": '"islamic-civil"',
|
|
10941
|
+
"13": '"islamic-rgsa"',
|
|
10942
|
+
"14": '"iso8601"',
|
|
10943
|
+
"15": '"japanese"',
|
|
10944
|
+
"16": '"persian"',
|
|
10945
|
+
"17": '"roc"'
|
|
10946
|
+
}
|
|
10947
|
+
}
|
|
10799
10948
|
},
|
|
10800
10949
|
"fromJulianDay": {
|
|
10801
10950
|
"name": "fromJulianDay",
|
|
@@ -10914,6 +11063,46 @@ const B24UIMeta = {
|
|
|
10914
11063
|
}
|
|
10915
11064
|
}
|
|
10916
11065
|
},
|
|
11066
|
+
"getFormattableMonth": {
|
|
11067
|
+
"name": "getFormattableMonth",
|
|
11068
|
+
"global": false,
|
|
11069
|
+
"description": "Returns a date that is the first day of the month for the given date.\nThis is used to determine the month that the given date falls in, if\nthe calendar has months that do not align with the standard calendar months\n(e.g. fiscal calendars).",
|
|
11070
|
+
"tags": [],
|
|
11071
|
+
"required": false,
|
|
11072
|
+
"type": "((date: AnyCalendarDate) => CalendarDate) | undefined",
|
|
11073
|
+
"schema": {
|
|
11074
|
+
"kind": "enum",
|
|
11075
|
+
"type": "((date: AnyCalendarDate) => CalendarDate) | undefined",
|
|
11076
|
+
"schema": {
|
|
11077
|
+
"0": "undefined",
|
|
11078
|
+
"1": {
|
|
11079
|
+
"kind": "event",
|
|
11080
|
+
"type": "(date: AnyCalendarDate): CalendarDate",
|
|
11081
|
+
"schema": []
|
|
11082
|
+
}
|
|
11083
|
+
}
|
|
11084
|
+
}
|
|
11085
|
+
},
|
|
11086
|
+
"isEqual": {
|
|
11087
|
+
"name": "isEqual",
|
|
11088
|
+
"global": false,
|
|
11089
|
+
"description": "Returns whether the given calendar is the same as this calendar.",
|
|
11090
|
+
"tags": [],
|
|
11091
|
+
"required": false,
|
|
11092
|
+
"type": "((calendar: Calendar) => boolean) | undefined",
|
|
11093
|
+
"schema": {
|
|
11094
|
+
"kind": "enum",
|
|
11095
|
+
"type": "((calendar: Calendar) => boolean) | undefined",
|
|
11096
|
+
"schema": {
|
|
11097
|
+
"0": "undefined",
|
|
11098
|
+
"1": {
|
|
11099
|
+
"kind": "event",
|
|
11100
|
+
"type": "(calendar: Calendar): boolean",
|
|
11101
|
+
"schema": []
|
|
11102
|
+
}
|
|
11103
|
+
}
|
|
11104
|
+
}
|
|
11105
|
+
},
|
|
10917
11106
|
"balanceDate": {
|
|
10918
11107
|
"name": "balanceDate",
|
|
10919
11108
|
"global": false,
|
|
@@ -11620,11 +11809,34 @@ const B24UIMeta = {
|
|
|
11620
11809
|
"identifier": {
|
|
11621
11810
|
"name": "identifier",
|
|
11622
11811
|
"global": false,
|
|
11623
|
-
"description": "A string identifier for the calendar, as defined by Unicode CLDR.",
|
|
11812
|
+
"description": "A string identifier for the calendar, as defined by Unicode CLDR.\nSee [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/supportedValuesOf#supported_calendar_types).",
|
|
11624
11813
|
"tags": [],
|
|
11625
11814
|
"required": true,
|
|
11626
|
-
"type": "
|
|
11627
|
-
"schema":
|
|
11815
|
+
"type": "CalendarIdentifier",
|
|
11816
|
+
"schema": {
|
|
11817
|
+
"kind": "enum",
|
|
11818
|
+
"type": "CalendarIdentifier",
|
|
11819
|
+
"schema": {
|
|
11820
|
+
"0": '"gregory"',
|
|
11821
|
+
"1": '"buddhist"',
|
|
11822
|
+
"2": '"chinese"',
|
|
11823
|
+
"3": '"coptic"',
|
|
11824
|
+
"4": '"dangi"',
|
|
11825
|
+
"5": '"ethioaa"',
|
|
11826
|
+
"6": '"ethiopic"',
|
|
11827
|
+
"7": '"hebrew"',
|
|
11828
|
+
"8": '"indian"',
|
|
11829
|
+
"9": '"islamic"',
|
|
11830
|
+
"10": '"islamic-umalqura"',
|
|
11831
|
+
"11": '"islamic-tbla"',
|
|
11832
|
+
"12": '"islamic-civil"',
|
|
11833
|
+
"13": '"islamic-rgsa"',
|
|
11834
|
+
"14": '"iso8601"',
|
|
11835
|
+
"15": '"japanese"',
|
|
11836
|
+
"16": '"persian"',
|
|
11837
|
+
"17": '"roc"'
|
|
11838
|
+
}
|
|
11839
|
+
}
|
|
11628
11840
|
},
|
|
11629
11841
|
"fromJulianDay": {
|
|
11630
11842
|
"name": "fromJulianDay",
|
|
@@ -11743,6 +11955,46 @@ const B24UIMeta = {
|
|
|
11743
11955
|
}
|
|
11744
11956
|
}
|
|
11745
11957
|
},
|
|
11958
|
+
"getFormattableMonth": {
|
|
11959
|
+
"name": "getFormattableMonth",
|
|
11960
|
+
"global": false,
|
|
11961
|
+
"description": "Returns a date that is the first day of the month for the given date.\nThis is used to determine the month that the given date falls in, if\nthe calendar has months that do not align with the standard calendar months\n(e.g. fiscal calendars).",
|
|
11962
|
+
"tags": [],
|
|
11963
|
+
"required": false,
|
|
11964
|
+
"type": "((date: AnyCalendarDate) => CalendarDate) | undefined",
|
|
11965
|
+
"schema": {
|
|
11966
|
+
"kind": "enum",
|
|
11967
|
+
"type": "((date: AnyCalendarDate) => CalendarDate) | undefined",
|
|
11968
|
+
"schema": {
|
|
11969
|
+
"0": "undefined",
|
|
11970
|
+
"1": {
|
|
11971
|
+
"kind": "event",
|
|
11972
|
+
"type": "(date: AnyCalendarDate): CalendarDate",
|
|
11973
|
+
"schema": []
|
|
11974
|
+
}
|
|
11975
|
+
}
|
|
11976
|
+
}
|
|
11977
|
+
},
|
|
11978
|
+
"isEqual": {
|
|
11979
|
+
"name": "isEqual",
|
|
11980
|
+
"global": false,
|
|
11981
|
+
"description": "Returns whether the given calendar is the same as this calendar.",
|
|
11982
|
+
"tags": [],
|
|
11983
|
+
"required": false,
|
|
11984
|
+
"type": "((calendar: Calendar) => boolean) | undefined",
|
|
11985
|
+
"schema": {
|
|
11986
|
+
"kind": "enum",
|
|
11987
|
+
"type": "((calendar: Calendar) => boolean) | undefined",
|
|
11988
|
+
"schema": {
|
|
11989
|
+
"0": "undefined",
|
|
11990
|
+
"1": {
|
|
11991
|
+
"kind": "event",
|
|
11992
|
+
"type": "(calendar: Calendar): boolean",
|
|
11993
|
+
"schema": []
|
|
11994
|
+
}
|
|
11995
|
+
}
|
|
11996
|
+
}
|
|
11997
|
+
},
|
|
11746
11998
|
"balanceDate": {
|
|
11747
11999
|
"name": "balanceDate",
|
|
11748
12000
|
"global": false,
|
|
@@ -12558,11 +12810,34 @@ const B24UIMeta = {
|
|
|
12558
12810
|
"identifier": {
|
|
12559
12811
|
"name": "identifier",
|
|
12560
12812
|
"global": false,
|
|
12561
|
-
"description": "A string identifier for the calendar, as defined by Unicode CLDR.",
|
|
12813
|
+
"description": "A string identifier for the calendar, as defined by Unicode CLDR.\nSee [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/supportedValuesOf#supported_calendar_types).",
|
|
12562
12814
|
"tags": [],
|
|
12563
12815
|
"required": true,
|
|
12564
|
-
"type": "
|
|
12565
|
-
"schema":
|
|
12816
|
+
"type": "CalendarIdentifier",
|
|
12817
|
+
"schema": {
|
|
12818
|
+
"kind": "enum",
|
|
12819
|
+
"type": "CalendarIdentifier",
|
|
12820
|
+
"schema": {
|
|
12821
|
+
"0": '"gregory"',
|
|
12822
|
+
"1": '"buddhist"',
|
|
12823
|
+
"2": '"chinese"',
|
|
12824
|
+
"3": '"coptic"',
|
|
12825
|
+
"4": '"dangi"',
|
|
12826
|
+
"5": '"ethioaa"',
|
|
12827
|
+
"6": '"ethiopic"',
|
|
12828
|
+
"7": '"hebrew"',
|
|
12829
|
+
"8": '"indian"',
|
|
12830
|
+
"9": '"islamic"',
|
|
12831
|
+
"10": '"islamic-umalqura"',
|
|
12832
|
+
"11": '"islamic-tbla"',
|
|
12833
|
+
"12": '"islamic-civil"',
|
|
12834
|
+
"13": '"islamic-rgsa"',
|
|
12835
|
+
"14": '"iso8601"',
|
|
12836
|
+
"15": '"japanese"',
|
|
12837
|
+
"16": '"persian"',
|
|
12838
|
+
"17": '"roc"'
|
|
12839
|
+
}
|
|
12840
|
+
}
|
|
12566
12841
|
},
|
|
12567
12842
|
"fromJulianDay": {
|
|
12568
12843
|
"name": "fromJulianDay",
|
|
@@ -12681,6 +12956,46 @@ const B24UIMeta = {
|
|
|
12681
12956
|
}
|
|
12682
12957
|
}
|
|
12683
12958
|
},
|
|
12959
|
+
"getFormattableMonth": {
|
|
12960
|
+
"name": "getFormattableMonth",
|
|
12961
|
+
"global": false,
|
|
12962
|
+
"description": "Returns a date that is the first day of the month for the given date.\nThis is used to determine the month that the given date falls in, if\nthe calendar has months that do not align with the standard calendar months\n(e.g. fiscal calendars).",
|
|
12963
|
+
"tags": [],
|
|
12964
|
+
"required": false,
|
|
12965
|
+
"type": "((date: AnyCalendarDate) => CalendarDate) | undefined",
|
|
12966
|
+
"schema": {
|
|
12967
|
+
"kind": "enum",
|
|
12968
|
+
"type": "((date: AnyCalendarDate) => CalendarDate) | undefined",
|
|
12969
|
+
"schema": {
|
|
12970
|
+
"0": "undefined",
|
|
12971
|
+
"1": {
|
|
12972
|
+
"kind": "event",
|
|
12973
|
+
"type": "(date: AnyCalendarDate): CalendarDate",
|
|
12974
|
+
"schema": []
|
|
12975
|
+
}
|
|
12976
|
+
}
|
|
12977
|
+
}
|
|
12978
|
+
},
|
|
12979
|
+
"isEqual": {
|
|
12980
|
+
"name": "isEqual",
|
|
12981
|
+
"global": false,
|
|
12982
|
+
"description": "Returns whether the given calendar is the same as this calendar.",
|
|
12983
|
+
"tags": [],
|
|
12984
|
+
"required": false,
|
|
12985
|
+
"type": "((calendar: Calendar) => boolean) | undefined",
|
|
12986
|
+
"schema": {
|
|
12987
|
+
"kind": "enum",
|
|
12988
|
+
"type": "((calendar: Calendar) => boolean) | undefined",
|
|
12989
|
+
"schema": {
|
|
12990
|
+
"0": "undefined",
|
|
12991
|
+
"1": {
|
|
12992
|
+
"kind": "event",
|
|
12993
|
+
"type": "(calendar: Calendar): boolean",
|
|
12994
|
+
"schema": []
|
|
12995
|
+
}
|
|
12996
|
+
}
|
|
12997
|
+
}
|
|
12998
|
+
},
|
|
12684
12999
|
"balanceDate": {
|
|
12685
13000
|
"name": "balanceDate",
|
|
12686
13001
|
"global": false,
|
|
@@ -13387,11 +13702,34 @@ const B24UIMeta = {
|
|
|
13387
13702
|
"identifier": {
|
|
13388
13703
|
"name": "identifier",
|
|
13389
13704
|
"global": false,
|
|
13390
|
-
"description": "A string identifier for the calendar, as defined by Unicode CLDR.",
|
|
13705
|
+
"description": "A string identifier for the calendar, as defined by Unicode CLDR.\nSee [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/supportedValuesOf#supported_calendar_types).",
|
|
13391
13706
|
"tags": [],
|
|
13392
13707
|
"required": true,
|
|
13393
|
-
"type": "
|
|
13394
|
-
"schema":
|
|
13708
|
+
"type": "CalendarIdentifier",
|
|
13709
|
+
"schema": {
|
|
13710
|
+
"kind": "enum",
|
|
13711
|
+
"type": "CalendarIdentifier",
|
|
13712
|
+
"schema": {
|
|
13713
|
+
"0": '"gregory"',
|
|
13714
|
+
"1": '"buddhist"',
|
|
13715
|
+
"2": '"chinese"',
|
|
13716
|
+
"3": '"coptic"',
|
|
13717
|
+
"4": '"dangi"',
|
|
13718
|
+
"5": '"ethioaa"',
|
|
13719
|
+
"6": '"ethiopic"',
|
|
13720
|
+
"7": '"hebrew"',
|
|
13721
|
+
"8": '"indian"',
|
|
13722
|
+
"9": '"islamic"',
|
|
13723
|
+
"10": '"islamic-umalqura"',
|
|
13724
|
+
"11": '"islamic-tbla"',
|
|
13725
|
+
"12": '"islamic-civil"',
|
|
13726
|
+
"13": '"islamic-rgsa"',
|
|
13727
|
+
"14": '"iso8601"',
|
|
13728
|
+
"15": '"japanese"',
|
|
13729
|
+
"16": '"persian"',
|
|
13730
|
+
"17": '"roc"'
|
|
13731
|
+
}
|
|
13732
|
+
}
|
|
13395
13733
|
},
|
|
13396
13734
|
"fromJulianDay": {
|
|
13397
13735
|
"name": "fromJulianDay",
|
|
@@ -13510,6 +13848,46 @@ const B24UIMeta = {
|
|
|
13510
13848
|
}
|
|
13511
13849
|
}
|
|
13512
13850
|
},
|
|
13851
|
+
"getFormattableMonth": {
|
|
13852
|
+
"name": "getFormattableMonth",
|
|
13853
|
+
"global": false,
|
|
13854
|
+
"description": "Returns a date that is the first day of the month for the given date.\nThis is used to determine the month that the given date falls in, if\nthe calendar has months that do not align with the standard calendar months\n(e.g. fiscal calendars).",
|
|
13855
|
+
"tags": [],
|
|
13856
|
+
"required": false,
|
|
13857
|
+
"type": "((date: AnyCalendarDate) => CalendarDate) | undefined",
|
|
13858
|
+
"schema": {
|
|
13859
|
+
"kind": "enum",
|
|
13860
|
+
"type": "((date: AnyCalendarDate) => CalendarDate) | undefined",
|
|
13861
|
+
"schema": {
|
|
13862
|
+
"0": "undefined",
|
|
13863
|
+
"1": {
|
|
13864
|
+
"kind": "event",
|
|
13865
|
+
"type": "(date: AnyCalendarDate): CalendarDate",
|
|
13866
|
+
"schema": []
|
|
13867
|
+
}
|
|
13868
|
+
}
|
|
13869
|
+
}
|
|
13870
|
+
},
|
|
13871
|
+
"isEqual": {
|
|
13872
|
+
"name": "isEqual",
|
|
13873
|
+
"global": false,
|
|
13874
|
+
"description": "Returns whether the given calendar is the same as this calendar.",
|
|
13875
|
+
"tags": [],
|
|
13876
|
+
"required": false,
|
|
13877
|
+
"type": "((calendar: Calendar) => boolean) | undefined",
|
|
13878
|
+
"schema": {
|
|
13879
|
+
"kind": "enum",
|
|
13880
|
+
"type": "((calendar: Calendar) => boolean) | undefined",
|
|
13881
|
+
"schema": {
|
|
13882
|
+
"0": "undefined",
|
|
13883
|
+
"1": {
|
|
13884
|
+
"kind": "event",
|
|
13885
|
+
"type": "(calendar: Calendar): boolean",
|
|
13886
|
+
"schema": []
|
|
13887
|
+
}
|
|
13888
|
+
}
|
|
13889
|
+
}
|
|
13890
|
+
},
|
|
13513
13891
|
"balanceDate": {
|
|
13514
13892
|
"name": "balanceDate",
|
|
13515
13893
|
"global": false,
|
|
@@ -32757,6 +33135,29 @@ const B24UIMeta = {
|
|
|
32757
33135
|
}
|
|
32758
33136
|
},
|
|
32759
33137
|
"default": "true"
|
|
33138
|
+
},
|
|
33139
|
+
{
|
|
33140
|
+
"name": "loadingAuto",
|
|
33141
|
+
"global": false,
|
|
33142
|
+
"description": "When `true`, all form elements will be disabled on `@submit` event.\nThis will cause any focused input elements to lose their focus state.",
|
|
33143
|
+
"tags": [
|
|
33144
|
+
{
|
|
33145
|
+
"name": "defaultValue",
|
|
33146
|
+
"text": "`true`"
|
|
33147
|
+
}
|
|
33148
|
+
],
|
|
33149
|
+
"required": false,
|
|
33150
|
+
"type": "boolean | undefined",
|
|
33151
|
+
"schema": {
|
|
33152
|
+
"kind": "enum",
|
|
33153
|
+
"type": "boolean | undefined",
|
|
33154
|
+
"schema": {
|
|
33155
|
+
"0": "undefined",
|
|
33156
|
+
"1": "false",
|
|
33157
|
+
"2": "true"
|
|
33158
|
+
}
|
|
33159
|
+
},
|
|
33160
|
+
"default": "true"
|
|
32760
33161
|
}
|
|
32761
33162
|
],
|
|
32762
33163
|
"slots": [
|
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
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.jU270f-Q.mjs';
|
|
4
4
|
import 'node:url';
|
|
5
5
|
import 'scule';
|
|
6
6
|
|
|
7
7
|
const name = "@bitrix24/b24ui-nuxt";
|
|
8
|
-
const version = "0.6.
|
|
8
|
+
const version = "0.6.3";
|
|
9
9
|
|
|
10
10
|
const module = defineNuxtModule({
|
|
11
11
|
meta: {
|
|
@@ -21,6 +21,7 @@ const props = defineProps({
|
|
|
21
21
|
disabled: { type: Boolean, required: false },
|
|
22
22
|
validateOnInputDelay: { type: Number, required: false, default: 300 },
|
|
23
23
|
transform: { type: Boolean, required: false, default: true },
|
|
24
|
+
loadingAuto: { type: Boolean, required: false, default: true },
|
|
24
25
|
class: { type: null, required: false },
|
|
25
26
|
onSubmit: { type: Function, required: false }
|
|
26
27
|
});
|
|
@@ -136,7 +137,7 @@ async function _validate(opts = { silent: false, nested: true, transform: false
|
|
|
136
137
|
const loading = ref(false);
|
|
137
138
|
provide(formLoadingInjectionKey, readonly(loading));
|
|
138
139
|
async function onSubmitWrapper(payload) {
|
|
139
|
-
loading.value = true;
|
|
140
|
+
loading.value = props.loadingAuto && true;
|
|
140
141
|
const event = payload;
|
|
141
142
|
try {
|
|
142
143
|
event.data = await _validate({ nested: true, transform: props.transform });
|
|
@@ -28,6 +28,12 @@ export interface FormProps<T extends object> {
|
|
|
28
28
|
* @defaultValue `true`
|
|
29
29
|
*/
|
|
30
30
|
transform?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* When `true`, all form elements will be disabled on `@submit` event.
|
|
33
|
+
* This will cause any focused input elements to lose their focus state.
|
|
34
|
+
* @defaultValue `true`
|
|
35
|
+
*/
|
|
36
|
+
loadingAuto?: boolean;
|
|
31
37
|
class?: any;
|
|
32
38
|
onSubmit?: ((event: FormSubmitEvent<T>) => void | Promise<void>) | (() => void | Promise<void>);
|
|
33
39
|
}
|