@mjsz-vbr-elements/core 2.2.0 → 2.2.2
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/{SeasonSelector-hqWIAEq6.js → AdditionalStandingsText-nuhfGhAD.js} +505 -460
- package/dist/columns.js +1 -1
- package/dist/components.js +18 -17
- package/dist/composables.js +65 -63
- package/dist/constants.js +1 -1
- package/dist/{convert-PMHuZhPy.js → convert-rWfB71vI.js} +2 -2
- package/dist/{datetime-EyEBo0-h.js → datetime--bMmvxSM.js} +16 -16
- package/dist/index.iife.js +4 -4
- package/dist/index.iife.js.br +0 -0
- package/dist/index.iife.js.gz +0 -0
- package/dist/index.js +98 -96
- package/dist/{useSort-WcJ_BIws.js → useAdditionalText-hj0kZWr7.js} +246 -225
- package/dist/utils.js +4 -4
- package/package.json +2 -2
package/dist/index.iife.js.br
CHANGED
|
Binary file
|
package/dist/index.iife.js.gz
CHANGED
|
Binary file
|
package/dist/index.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* name: @mjsz-vbr-elements/core
|
|
3
|
-
* version: v2.2.
|
|
3
|
+
* version: v2.2.2 - 08/01/2024, 11:28:47
|
|
4
4
|
* (c) 2024
|
|
5
5
|
* description: Data visualization for MJSZ VBR
|
|
6
6
|
* author: Ákos Stegner <akos.stegner@gmail.com>
|
|
7
7
|
*/
|
|
8
|
-
import { c as p, b as
|
|
9
|
-
import { c as
|
|
10
|
-
import { fetchVBRData as
|
|
8
|
+
import { m, c as p, b as f, d as N, e as u, g as R, I as d, _ as g, k as C, a as I, j as M, f as y, h as O, i as P, l as U } from "./AdditionalStandingsText-nuhfGhAD.js";
|
|
9
|
+
import { c as D, i as x, h as F, u as G, b as h, a as b, d as B, e as Y, f as w, g as k, v as V } from "./useAdditionalText-hj0kZWr7.js";
|
|
10
|
+
import { fetchVBRData as z, usePage as K, useScrollToGameDate as X, useServices as Z, useVisibilityChange as H } from "./composables.js";
|
|
11
11
|
import "vue";
|
|
12
|
-
import { I as
|
|
13
|
-
import { b as
|
|
14
|
-
import { externalGameLinkResolver as
|
|
15
|
-
import { COLUMNS_FIELD_PLAYERS as
|
|
16
|
-
import { AVAILABLE_TIMEZONES_BY_COUNTRY as
|
|
12
|
+
import { I as J, U as q, W as Q, i as $, c as ee, e as ae, f as te, h as se, g as re, a as oe, l as ne, p as ie, r as le, s as Se, t as _e, b as Te, d as Ee, u as Le } from "./convert-rWfB71vI.js";
|
|
13
|
+
import { b as ce, c as me, a as pe, f as fe, g as Ne, d as ue, e as Re, i as de, o as ge, h as Ce, t as Ie, y as Me } from "./datetime--bMmvxSM.js";
|
|
14
|
+
import { externalGameLinkResolver as Oe, externalPlayerLinkResolver as Pe, externalTeamLinkResolver as Ue, flagResolver as ve, scrollToTop as De } from "./utils.js";
|
|
15
|
+
import { COLUMNS_FIELD_PLAYERS as Fe, COLUMNS_FIELD_PLAYERS_PENALTY as Ge, COLUMNS_GOALIES as he, COLUMNS_SCHEDULE as be, COLUMNS_SCORING_EFFICIENCY as Be, COLUMNS_STANDINGS_P_2 as Ye, COLUMNS_STANDINGS_P_3 as we, COLUMNS_TEAMS_FAIRPLAY as ke, COLUMNS_TEAMS_PENALTY_KILLING as Ve, COLUMNS_TEAMS_POWERPLAY as We, COLUMNS_TEAM_ATTENDANCE as ze } from "./columns.js";
|
|
16
|
+
import { AVAILABLE_TIMEZONES_BY_COUNTRY as Xe, DEFAULT_EXTERNAL_GAME_URL as Ze, DEFAULT_EXTERNAL_PLAYER_URL as He, DEFAULT_EXTERNAL_TEAM_URL as je, DEFAULT_PORTRAIT_IMAGE_URL as Je, FLAG_BASE_URL as qe, LAZY_LOADING_STATE_DELAY as Qe, LOCALE_FOR_LANG as $e, REFRESH_DELAY as ea, SORT_STATE_ASCEND as aa, SORT_STATE_DESCEND as ta, SORT_STATE_ORIGINAL as sa, VBR_API_BASE_URL as ra } from "./constants.js";
|
|
17
17
|
const S = {
|
|
18
18
|
locale: {
|
|
19
19
|
type: String,
|
|
@@ -88,98 +88,100 @@ const S = {
|
|
|
88
88
|
install: (a, t = {}) => i({ app: a, ...t })
|
|
89
89
|
};
|
|
90
90
|
export {
|
|
91
|
-
|
|
91
|
+
Xe as AVAILABLE_TIMEZONES_BY_COUNTRY,
|
|
92
|
+
m as AdditionalStandingsText,
|
|
92
93
|
p as BaseSelect,
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
94
|
+
Fe as COLUMNS_FIELD_PLAYERS,
|
|
95
|
+
Ge as COLUMNS_FIELD_PLAYERS_PENALTY,
|
|
96
|
+
he as COLUMNS_GOALIES,
|
|
97
|
+
be as COLUMNS_SCHEDULE,
|
|
98
|
+
Be as COLUMNS_SCORING_EFFICIENCY,
|
|
99
|
+
Ye as COLUMNS_STANDINGS_P_2,
|
|
100
|
+
we as COLUMNS_STANDINGS_P_3,
|
|
101
|
+
ke as COLUMNS_TEAMS_FAIRPLAY,
|
|
102
|
+
Ve as COLUMNS_TEAMS_PENALTY_KILLING,
|
|
103
|
+
We as COLUMNS_TEAMS_POWERPLAY,
|
|
104
|
+
ze as COLUMNS_TEAM_ATTENDANCE,
|
|
105
|
+
Ze as DEFAULT_EXTERNAL_GAME_URL,
|
|
106
|
+
He as DEFAULT_EXTERNAL_PLAYER_URL,
|
|
107
|
+
je as DEFAULT_EXTERNAL_TEAM_URL,
|
|
108
|
+
Je as DEFAULT_PORTRAIT_IMAGE_URL,
|
|
109
|
+
f as DataTable,
|
|
110
|
+
N as ErrorNotice,
|
|
111
|
+
u as ErrorProvider,
|
|
112
|
+
qe as FLAG_BASE_URL,
|
|
113
|
+
R as FloatingPanel,
|
|
114
|
+
d as I18NProvider,
|
|
115
|
+
g as Image,
|
|
116
|
+
J as InvalidSeasonName,
|
|
117
|
+
Qe as LAZY_LOADING_STATE_DELAY,
|
|
118
|
+
$e as LOCALE_FOR_LANG,
|
|
119
|
+
C as LoadingIndicator,
|
|
120
|
+
I as Paginator,
|
|
121
|
+
ea as REFRESH_DELAY,
|
|
122
|
+
M as ResponsiveTable,
|
|
123
|
+
aa as SORT_STATE_ASCEND,
|
|
124
|
+
ta as SORT_STATE_DESCEND,
|
|
125
|
+
sa as SORT_STATE_ORIGINAL,
|
|
126
|
+
y as ScheduleTable,
|
|
127
|
+
O as SeasonSelector,
|
|
128
|
+
P as StatisticsTable,
|
|
129
|
+
U as TimezoneSelector,
|
|
130
|
+
q as UndefinedColumn,
|
|
131
|
+
ra as VBR_API_BASE_URL,
|
|
132
|
+
Q as WidgetError,
|
|
133
|
+
$ as appendTo,
|
|
133
134
|
S as baseProps,
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
135
|
+
ee as convert,
|
|
136
|
+
ce as convertMinToMinSec,
|
|
137
|
+
me as convertMinToSec,
|
|
138
|
+
pe as convertSecToMin,
|
|
139
|
+
ae as convertTimes,
|
|
140
|
+
te as convertTimesMinToMinSec,
|
|
141
|
+
se as convertTimesSecToMin,
|
|
141
142
|
i as createConfig,
|
|
142
|
-
|
|
143
|
+
D as createI18n,
|
|
143
144
|
L as default,
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
145
|
+
Oe as externalGameLinkResolver,
|
|
146
|
+
Pe as externalPlayerLinkResolver,
|
|
147
|
+
Ue as externalTeamLinkResolver,
|
|
148
|
+
z as fetchVBRData,
|
|
149
|
+
ve as flagResolver,
|
|
150
|
+
fe as format,
|
|
151
|
+
re as gameDateTime,
|
|
151
152
|
E as gameProps,
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
153
|
+
oe as gameResult,
|
|
154
|
+
Ne as getLocalTimezone,
|
|
155
|
+
x as i18n,
|
|
156
|
+
ue as isBetween,
|
|
157
|
+
Re as isSame,
|
|
158
|
+
de as isSameOrBefore,
|
|
159
|
+
ne as localeSort,
|
|
160
|
+
ge as offsetName,
|
|
161
|
+
ie as playerName,
|
|
161
162
|
T as playerStatsProps,
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
163
|
+
le as rawConvert,
|
|
164
|
+
De as scrollToTop,
|
|
165
|
+
Se as sortGames,
|
|
166
|
+
_e as teamName,
|
|
167
|
+
Te as teamOpponent,
|
|
168
|
+
Ee as teamResultType,
|
|
168
169
|
_ as teamStatsProps,
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
b as
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
170
|
+
Ce as templateReplacer,
|
|
171
|
+
Ie as toKebabCase,
|
|
172
|
+
Le as upperCase,
|
|
173
|
+
F as useAdditionalText,
|
|
174
|
+
G as useColumns,
|
|
175
|
+
h as useError,
|
|
176
|
+
b as useErrorProvider,
|
|
177
|
+
B as useI18n,
|
|
178
|
+
Y as useLazyLoadingState,
|
|
179
|
+
w as useMainClass,
|
|
180
|
+
K as usePage,
|
|
181
|
+
X as useScrollToGameDate,
|
|
182
|
+
Z as useServices,
|
|
183
|
+
k as useSort,
|
|
184
|
+
H as useVisibilityChange,
|
|
185
|
+
V as validateColumnsName,
|
|
186
|
+
Me as yearToNow
|
|
185
187
|
};
|