@gostudent/shared-ui-library 2.2.0-DT-17014-students-tab.1 → 2.2.0

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.
@@ -1,6 +1,6 @@
1
1
  import { jsx as e, jsxs as c } from "react/jsx-runtime";
2
2
  import { ResponsiveContainer as W, LineChart as S, CartesianGrid as C, XAxis as A, YAxis as I, Tooltip as B, Line as E, ReferenceLine as R } from "recharts";
3
- import { s as t, f as x, e as T } from "./index-D7keyuHL.js";
3
+ import { s as t, f as x, e as T } from "./index-UU-WiHZy.js";
4
4
  const m = 28, g = [
5
5
  "var(--color-chart-series-1)",
6
6
  "var(--color-chart-series-2)",
@@ -3533,7 +3533,7 @@ const zr = "_root_n6was_1", Br = "_trigger_n6was_8", Or = "_labelButton_n6was_23
3533
3533
  labelButton: Or,
3534
3534
  iconButton: Lr
3535
3535
  };
3536
- function Td({
3536
+ function Gd({
3537
3537
  label: e,
3538
3538
  onOpen: t,
3539
3539
  onClear: n,
@@ -3680,7 +3680,7 @@ const Yr = "_drawerPanel_jsdwi_3", Zr = "_sheet_jsdwi_2", et = {
3680
3680
  drawerPanel: Yr,
3681
3681
  sheet: Zr
3682
3682
  };
3683
- function Id({
3683
+ function Pd({
3684
3684
  variant: e = "overlay",
3685
3685
  isOpen: t,
3686
3686
  onClose: n,
@@ -3834,7 +3834,7 @@ function vt({ size: e = "md", color: t, style: n, className: o, ...s }) {
3834
3834
  }
3835
3835
  );
3836
3836
  }
3837
- function Gd({ size: e = "md", color: t, style: n, className: o, ...s }) {
3837
+ function Ed({ size: e = "md", color: t, style: n, className: o, ...s }) {
3838
3838
  const a = B(e, o);
3839
3839
  return /* @__PURE__ */ r(
3840
3840
  "svg",
@@ -3850,7 +3850,7 @@ function Gd({ size: e = "md", color: t, style: n, className: o, ...s }) {
3850
3850
  }
3851
3851
  );
3852
3852
  }
3853
- function Pd({ size: e = "md", color: t, style: n, className: o, ...s }) {
3853
+ function Rd({ size: e = "md", color: t, style: n, className: o, ...s }) {
3854
3854
  const a = B(e, o);
3855
3855
  return /* @__PURE__ */ r(
3856
3856
  "svg",
@@ -3866,7 +3866,7 @@ function Pd({ size: e = "md", color: t, style: n, className: o, ...s }) {
3866
3866
  }
3867
3867
  );
3868
3868
  }
3869
- function Ed({ size: e = "md", color: t, style: n, className: o, ...s }) {
3869
+ function jd({ size: e = "md", color: t, style: n, className: o, ...s }) {
3870
3870
  const a = B(e, o);
3871
3871
  return /* @__PURE__ */ r(
3872
3872
  "svg",
@@ -3914,7 +3914,7 @@ function yt({ size: e = "md", color: t, style: n, className: o, ...s }) {
3914
3914
  }
3915
3915
  );
3916
3916
  }
3917
- function Rd({ size: e = "md", color: t, style: n, className: o, ...s }) {
3917
+ function Vd({ size: e = "md", color: t, style: n, className: o, ...s }) {
3918
3918
  const a = B(e, o);
3919
3919
  return /* @__PURE__ */ r(
3920
3920
  "svg",
@@ -3946,7 +3946,7 @@ function Rn({ size: e = "md", color: t, style: n, className: o, ...s }) {
3946
3946
  }
3947
3947
  );
3948
3948
  }
3949
- function jd({ size: e = "md", color: t, style: n, className: o, ...s }) {
3949
+ function Fd({ size: e = "md", color: t, style: n, className: o, ...s }) {
3950
3950
  const a = B(e, o);
3951
3951
  return /* @__PURE__ */ r(
3952
3952
  "svg",
@@ -3962,7 +3962,7 @@ function jd({ size: e = "md", color: t, style: n, className: o, ...s }) {
3962
3962
  }
3963
3963
  );
3964
3964
  }
3965
- function Vd({ size: e = "md", color: t, style: n, className: o, ...s }) {
3965
+ function Yd({ size: e = "md", color: t, style: n, className: o, ...s }) {
3966
3966
  const a = B(e, o);
3967
3967
  return /* @__PURE__ */ r(
3968
3968
  "svg",
@@ -4042,7 +4042,7 @@ function jn({ size: e = "md", color: t, style: n, className: o, ...s }) {
4042
4042
  }
4043
4043
  );
4044
4044
  }
4045
- function Fd({ size: e = "md", className: t, ...n }) {
4045
+ function Zd({ size: e = "md", className: t, ...n }) {
4046
4046
  const o = B(e, t);
4047
4047
  return /* @__PURE__ */ r(
4048
4048
  "svg",
@@ -4120,7 +4120,7 @@ function _7({ size: e = "md", color: t, style: n, className: o, ...s }) {
4120
4120
  }
4121
4121
  );
4122
4122
  }
4123
- function Yd({ size: e = "md", color: t, style: n, className: o, ...s }) {
4123
+ function Xd({ size: e = "md", color: t, style: n, className: o, ...s }) {
4124
4124
  const a = B(e, o);
4125
4125
  return /* @__PURE__ */ r(
4126
4126
  "svg",
@@ -4152,7 +4152,7 @@ function h7({ size: e = "md", color: t, style: n, className: o, ...s }) {
4152
4152
  }
4153
4153
  );
4154
4154
  }
4155
- function Zd({ size: e = "md", color: t, style: n, className: o, ...s }) {
4155
+ function qd({ size: e = "md", color: t, style: n, className: o, ...s }) {
4156
4156
  const a = B(e, o);
4157
4157
  return /* @__PURE__ */ r(
4158
4158
  "svg",
@@ -4168,7 +4168,7 @@ function Zd({ size: e = "md", color: t, style: n, className: o, ...s }) {
4168
4168
  }
4169
4169
  );
4170
4170
  }
4171
- function Xd({ size: e = "md", color: t, style: n, className: o, ...s }) {
4171
+ function Ad({ size: e = "md", color: t, style: n, className: o, ...s }) {
4172
4172
  const a = B(e, o);
4173
4173
  return /* @__PURE__ */ r(
4174
4174
  "svg",
@@ -4206,7 +4206,7 @@ function p7({ size: e = "md", color: t, style: n, className: o, ...s }) {
4206
4206
  }
4207
4207
  );
4208
4208
  }
4209
- function qd({ size: e = "md", color: t, style: n, className: o, ...s }) {
4209
+ function Ud({ size: e = "md", color: t, style: n, className: o, ...s }) {
4210
4210
  const a = B(e, o);
4211
4211
  return /* @__PURE__ */ r(
4212
4212
  "svg",
@@ -4280,7 +4280,7 @@ function g7({ size: e = "md", color: t, style: n, className: o, ...s }) {
4280
4280
  }
4281
4281
  );
4282
4282
  }
4283
- function Ad({ size: e = "md", color: t, style: n, className: o, ...s }) {
4283
+ function Kd({ size: e = "md", color: t, style: n, className: o, ...s }) {
4284
4284
  const a = B(e, o);
4285
4285
  return /* @__PURE__ */ r(
4286
4286
  "svg",
@@ -4296,7 +4296,7 @@ function Ad({ size: e = "md", color: t, style: n, className: o, ...s }) {
4296
4296
  }
4297
4297
  );
4298
4298
  }
4299
- function Ud({ size: e = "md", color: t, style: n, className: o, ...s }) {
4299
+ function Qd({ size: e = "md", color: t, style: n, className: o, ...s }) {
4300
4300
  const a = B(e, o);
4301
4301
  return /* @__PURE__ */ r(
4302
4302
  "svg",
@@ -4312,7 +4312,7 @@ function Ud({ size: e = "md", color: t, style: n, className: o, ...s }) {
4312
4312
  }
4313
4313
  );
4314
4314
  }
4315
- function Kd({ size: e = "md", color: t, style: n, className: o, ...s }) {
4315
+ function Jd({ size: e = "md", color: t, style: n, className: o, ...s }) {
4316
4316
  const a = B(e, o);
4317
4317
  return /* @__PURE__ */ r(
4318
4318
  "svg",
@@ -4328,7 +4328,7 @@ function Kd({ size: e = "md", color: t, style: n, className: o, ...s }) {
4328
4328
  }
4329
4329
  );
4330
4330
  }
4331
- function Qd({ size: e = "md", color: t, style: n, className: o, ...s }) {
4331
+ function eu({ size: e = "md", color: t, style: n, className: o, ...s }) {
4332
4332
  const a = B(e, o);
4333
4333
  return /* @__PURE__ */ r(
4334
4334
  "svg",
@@ -4344,7 +4344,7 @@ function Qd({ size: e = "md", color: t, style: n, className: o, ...s }) {
4344
4344
  }
4345
4345
  );
4346
4346
  }
4347
- function Jd({ size: e = "md", color: t, style: n, className: o, ...s }) {
4347
+ function tu({ size: e = "md", color: t, style: n, className: o, ...s }) {
4348
4348
  const a = B(e, o);
4349
4349
  return /* @__PURE__ */ r(
4350
4350
  "svg",
@@ -4360,7 +4360,7 @@ function Jd({ size: e = "md", color: t, style: n, className: o, ...s }) {
4360
4360
  }
4361
4361
  );
4362
4362
  }
4363
- function eu({ size: e = "md", color: t, style: n, className: o, ...s }) {
4363
+ function nu({ size: e = "md", color: t, style: n, className: o, ...s }) {
4364
4364
  const a = B(e, o);
4365
4365
  return /* @__PURE__ */ r(
4366
4366
  "svg",
@@ -4376,7 +4376,7 @@ function eu({ size: e = "md", color: t, style: n, className: o, ...s }) {
4376
4376
  }
4377
4377
  );
4378
4378
  }
4379
- function tu({ size: e = "md", color: t, style: n, className: o, ...s }) {
4379
+ function ou({ size: e = "md", color: t, style: n, className: o, ...s }) {
4380
4380
  const a = B(e, o);
4381
4381
  return /* @__PURE__ */ r(
4382
4382
  "svg",
@@ -4392,7 +4392,7 @@ function tu({ size: e = "md", color: t, style: n, className: o, ...s }) {
4392
4392
  }
4393
4393
  );
4394
4394
  }
4395
- function nu({ size: e = "md", color: t, style: n, className: o, ...s }) {
4395
+ function su({ size: e = "md", color: t, style: n, className: o, ...s }) {
4396
4396
  const a = B(e, o);
4397
4397
  return /* @__PURE__ */ r(
4398
4398
  "svg",
@@ -4424,7 +4424,7 @@ function w7({ size: e = "md", color: t, style: n, className: o, ...s }) {
4424
4424
  }
4425
4425
  );
4426
4426
  }
4427
- function ou({ size: e = "md", color: t, style: n, className: o, ...s }) {
4427
+ function au({ size: e = "md", color: t, style: n, className: o, ...s }) {
4428
4428
  const a = B(e, o);
4429
4429
  return /* @__PURE__ */ r(
4430
4430
  "svg",
@@ -4440,7 +4440,7 @@ function ou({ size: e = "md", color: t, style: n, className: o, ...s }) {
4440
4440
  }
4441
4441
  );
4442
4442
  }
4443
- function su({ size: e = "md", color: t, style: n, className: o, ...s }) {
4443
+ function ru({ size: e = "md", color: t, style: n, className: o, ...s }) {
4444
4444
  const a = B(e, o);
4445
4445
  return /* @__PURE__ */ r(
4446
4446
  "svg",
@@ -4520,7 +4520,7 @@ function y7({ size: e = "md", color: t, style: n, className: o, ...s }) {
4520
4520
  }
4521
4521
  );
4522
4522
  }
4523
- function au({ size: e = "md", color: t, style: n, className: o, ...s }) {
4523
+ function iu({ size: e = "md", color: t, style: n, className: o, ...s }) {
4524
4524
  const a = B(e, o);
4525
4525
  return /* @__PURE__ */ r(
4526
4526
  "svg",
@@ -4584,7 +4584,7 @@ function Mt({ size: e = "md", color: t, style: n, className: o, ...s }) {
4584
4584
  }
4585
4585
  );
4586
4586
  }
4587
- function ru({ size: e = "md", color: t, style: n, className: o, ...s }) {
4587
+ function lu({ size: e = "md", color: t, style: n, className: o, ...s }) {
4588
4588
  const a = B(e, o);
4589
4589
  return /* @__PURE__ */ r(
4590
4590
  "svg",
@@ -4923,7 +4923,7 @@ const An = dt(null);
4923
4923
  function Nt() {
4924
4924
  return ct(An);
4925
4925
  }
4926
- function iu({
4926
+ function cu({
4927
4927
  defaultValue: e = "",
4928
4928
  value: t,
4929
4929
  onChange: n,
@@ -5022,7 +5022,7 @@ function a3({ children: e, className: t, showBorder: n = !0, fullWidth: o = !1 }
5022
5022
  /* @__PURE__ */ r("span", { ref: a, className: O1.indicator, "aria-hidden": "true" })
5023
5023
  ] });
5024
5024
  }
5025
- function lu({ value: e, children: t, className: n }) {
5025
+ function du({ value: e, children: t, className: n }) {
5026
5026
  const o = Nt(), s = o ? o.selectedValue === e : !0, a = o ? `${o.baseId}-panel-${e}` : void 0, i = o ? `${o.baseId}-tab-${e}` : void 0;
5027
5027
  return /* @__PURE__ */ r(
5028
5028
  "div",
@@ -5208,7 +5208,7 @@ const G3 = "_root_1fgk5_1", P3 = "_stateDefault_1fgk5_29", E3 = "_stateSelected_
5208
5208
  done: ne.stateDone,
5209
5209
  "done-selected": ne.stateDoneSelected
5210
5210
  };
5211
- function cu({
5211
+ function uu({
5212
5212
  children: e,
5213
5213
  state: t = "default",
5214
5214
  onClick: n,
@@ -5324,7 +5324,7 @@ const J3 = "_root_y0ylu_11", e8 = "_bar_y0ylu_21", t8 = "_left_y0ylu_37", n8 = "
5324
5324
  navigation: "Navigation",
5325
5325
  linkedAccounts: "Linked accounts"
5326
5326
  };
5327
- function du({
5327
+ function fu({
5328
5328
  logo: e,
5329
5329
  mobileLogo: t,
5330
5330
  tabs: n,
@@ -5962,7 +5962,7 @@ const $0 = {
5962
5962
  lessonInProgress: "Lesson is in progress",
5963
5963
  startsIn: ""
5964
5964
  };
5965
- function uu({
5965
+ function mu({
5966
5966
  title: e,
5967
5967
  modality: t,
5968
5968
  type: n,
@@ -6091,7 +6091,7 @@ const R0 = "_root_1nb9e_1", j0 = "_lines_1nb9e_7", V0 = "_footer_1nb9e_13", at =
6091
6091
  lines: j0,
6092
6092
  footer: V0
6093
6093
  };
6094
- function fu({ className: e }) {
6094
+ function Cu({ className: e }) {
6095
6095
  return /* @__PURE__ */ m(U1, { padding: "lg", radius: "sm", bordered: !0, className: [at.root, e].filter(Boolean).join(" "), children: [
6096
6096
  /* @__PURE__ */ m("div", { className: at.lines, children: [
6097
6097
  /* @__PURE__ */ r(F1, { width: "60%", height: 28, radius: "full" }),
@@ -6337,7 +6337,7 @@ const x6 = {
6337
6337
  studentsCount: (e) => `${e} students`,
6338
6338
  moreStudents: (e) => `${e} more`
6339
6339
  };
6340
- function mu({
6340
+ function _u({
6341
6341
  title: e,
6342
6342
  modality: t,
6343
6343
  type: n,
@@ -6414,7 +6414,7 @@ const N6 = "_root_1nb9e_1", S6 = "_lines_1nb9e_7", D6 = "_footer_1nb9e_13", rt =
6414
6414
  lines: S6,
6415
6415
  footer: D6
6416
6416
  };
6417
- function Cu({ className: e }) {
6417
+ function hu({ className: e }) {
6418
6418
  return /* @__PURE__ */ m(U1, { padding: "lg", radius: "sm", bordered: !0, className: [rt.root, e].filter(Boolean).join(" "), children: [
6419
6419
  /* @__PURE__ */ m("div", { className: rt.lines, children: [
6420
6420
  /* @__PURE__ */ r(F1, { width: "60%", height: 28, radius: "full" }),
@@ -6467,7 +6467,7 @@ const z6 = "_root_ejmgm_7", B6 = "_header_ejmgm_21", O6 = "_subject_ejmgm_28", L
6467
6467
  absent: A.attendanceNegative,
6468
6468
  "absent-with-reason": A.attendanceNegative
6469
6469
  };
6470
- function _u({
6470
+ function pu({
6471
6471
  subject: e,
6472
6472
  date: t,
6473
6473
  time: n,
@@ -6586,7 +6586,7 @@ const K6 = "_root_14tdj_7", Q6 = "_indicator_14tdj_13", J6 = "_textGroup_14tdj_1
6586
6586
  up: q1.trendUp,
6587
6587
  down: q1.trendDown
6588
6588
  };
6589
- function hu({
6589
+ function gu({
6590
6590
  grade: e,
6591
6591
  subject: t,
6592
6592
  subjectCode: n = "OT",
@@ -6626,7 +6626,7 @@ const r4 = "_root_72k77_1", i4 = "_avatar_72k77_32", l4 = "_name_72k77_37", c4 =
6626
6626
  gradesDeclining: "Grades declining",
6627
6627
  gradesGrowth: "Grades growth"
6628
6628
  };
6629
- function pu({
6629
+ function wu({
6630
6630
  name: e,
6631
6631
  avatarSrc: t,
6632
6632
  subjects: n,
@@ -6856,7 +6856,7 @@ const C4 = "_root_1iwev_1", _4 = "_columns1_1iwev_8", h4 = "_columns2_1iwev_9",
6856
6856
  function it(e) {
6857
6857
  return Array.isArray(e) ? e.length === 2 ? [e[0], void 0, e[1]] : [e[0], e[1], e[2]] : [e, void 0, void 0];
6858
6858
  }
6859
- function gu({
6859
+ function bu({
6860
6860
  children: e,
6861
6861
  columns: t = 1,
6862
6862
  gap: n = "md",
@@ -6899,7 +6899,7 @@ const nl = "_overlay_e1ec2_8", ol = "_scrim_e1ec2_21", sl = "_dialog_e1ec2_34",
6899
6899
  md: E1.sizeMd,
6900
6900
  lg: E1.sizeLg
6901
6901
  };
6902
- function wu({
6902
+ function vu({
6903
6903
  isOpen: e,
6904
6904
  onClose: t,
6905
6905
  labelledBy: n,
@@ -6994,7 +6994,7 @@ const fl = "_root_84m7q_6", ml = "_labelRow_84m7q_13", Cl = "_label_84m7q_13", _
6994
6994
  md: l1.desktopSizeMd,
6995
6995
  lg: l1.desktopSizeLg
6996
6996
  };
6997
- function bu(e) {
6997
+ function yu(e) {
6998
6998
  const {
6999
6999
  label: t,
7000
7000
  error: n,
@@ -7079,7 +7079,7 @@ const Ll = "_root_jf49n_1", Hl = "_infoNeutral_jf49n_10 _infoNeutral_1kogu_1", $
7079
7079
  warning: f1.warning,
7080
7080
  error: f1.error
7081
7081
  };
7082
- function vu({
7082
+ function ku({
7083
7083
  type: e = "info-neutral",
7084
7084
  title: t,
7085
7085
  message: n,
@@ -7150,7 +7150,7 @@ const Ul = "_container_10l2d_3", Kl = "_card_10l2d_17", Ql = "_infoNeutral_10l2d
7150
7150
  dismissButton: dc,
7151
7151
  actionLinkStacked: uc
7152
7152
  }, Jn = dt(null);
7153
- function yu() {
7153
+ function Mu() {
7154
7154
  const e = ct(Jn);
7155
7155
  if (!e)
7156
7156
  throw new Error("useToast must be used inside <ToastProvider>");
@@ -7227,7 +7227,7 @@ function _c({
7227
7227
  }
7228
7228
  );
7229
7229
  }
7230
- function ku({ children: e }) {
7230
+ function xu({ children: e }) {
7231
7231
  const [t, n] = K([]), [o, s] = K(!1), a = q(0);
7232
7232
  m1(() => {
7233
7233
  s(!0);
@@ -7269,7 +7269,7 @@ const hc = "_root_r8bzl_1", pc = "_infoNeutral_r8bzl_8 _infoNeutral_1kogu_1", gc
7269
7269
  warning: C1.warning,
7270
7270
  error: C1.error
7271
7271
  };
7272
- function Mu({
7272
+ function Nu({
7273
7273
  type: e = "info-neutral",
7274
7274
  title: t,
7275
7275
  message: n,
@@ -7322,7 +7322,7 @@ const Lc = "_root_19l95_1", Hc = "_metadata_19l95_11", $c = "_stepLabel_19l95_19
7322
7322
  fill: Gc,
7323
7323
  dot: Pc
7324
7324
  };
7325
- function xu({
7325
+ function Su({
7326
7326
  currentStep: e,
7327
7327
  totalSteps: t,
7328
7328
  stepLabel: n,
@@ -7455,7 +7455,7 @@ function id({
7455
7455
  ] }) })
7456
7456
  ] });
7457
7457
  }
7458
- function Nu({
7458
+ function Du({
7459
7459
  title: e,
7460
7460
  items: t,
7461
7461
  size: n = "sm",
@@ -7540,7 +7540,7 @@ const ld = "_root_17rtq_3", cd = "_disabled_17rtq_10", dd = "_label_17rtq_16", u
7540
7540
  )
7541
7541
  );
7542
7542
  Cd.displayName = "Checkbox";
7543
- const _d = Lo(() => import("./LineChartImpl-Bu7Rr5X0.js"));
7543
+ const _d = Lo(() => import("./LineChartImpl-DyP4bJg-.js"));
7544
7544
  function hd(e) {
7545
7545
  return /* @__PURE__ */ r(Ho, { fallback: /* @__PURE__ */ r(F1, { height: e.height ?? 240, "aria-label": "Loading chart" }), children: /* @__PURE__ */ r(_d, { ...e }) });
7546
7546
  }
@@ -7592,7 +7592,7 @@ function Ld({ active: e, payload: t, label: n, locale: o }) {
7592
7592
  })
7593
7593
  ] });
7594
7594
  }
7595
- function Su({
7595
+ function zu({
7596
7596
  entries: e,
7597
7597
  gradeSystem: t,
7598
7598
  minValue: n,
@@ -7620,99 +7620,111 @@ function Su({
7620
7620
  }
7621
7621
  );
7622
7622
  }
7623
+ function Hd(e = typeof window < "u" ? window.location.hostname : "") {
7624
+ return !e.includes("gostudent");
7625
+ }
7626
+ function $d() {
7627
+ return Hd() ? "sk" : "gs";
7628
+ }
7629
+ function Bu(e, t = $d) {
7630
+ const n = typeof e == "string" ? e.trim().toLowerCase() : e;
7631
+ return n === "sk" || n === "gs" ? n : t();
7632
+ }
7623
7633
  export {
7624
- jd as $,
7634
+ Fd as $,
7625
7635
  Ya as A,
7626
- tu as B,
7627
- nu as C,
7628
- Vd as D,
7636
+ ou as B,
7637
+ su as C,
7638
+ Yd as D,
7629
7639
  Pn as E,
7630
7640
  xt as F,
7631
7641
  Pe as G,
7632
7642
  Zn as H,
7633
- qd as I,
7634
- Ad as J,
7635
- Yd as K,
7636
- Pd as L,
7643
+ Ud as I,
7644
+ Kd as J,
7645
+ Xd as K,
7646
+ Rd as L,
7637
7647
  En as M,
7638
7648
  qt as N,
7639
- hu as O,
7640
- Su as P,
7649
+ gu as O,
7650
+ zu as P,
7641
7651
  w7 as Q,
7642
7652
  g7 as R,
7643
- gu as S,
7653
+ bu as S,
7644
7654
  Rn as T,
7645
- Gd as U,
7646
- _u as V,
7647
- Rd as W,
7655
+ Ed as U,
7656
+ pu as V,
7657
+ Vd as W,
7648
7658
  za as X,
7649
7659
  fe as Y,
7650
7660
  v7 as Z,
7651
7661
  At as _,
7652
7662
  Za as a,
7653
- vu as a0,
7663
+ ku as a0,
7654
7664
  Jt as a1,
7655
- bu as a2,
7665
+ yu as a2,
7656
7666
  vt as a3,
7657
- uu as a4,
7658
- fu as a5,
7667
+ mu as a4,
7668
+ Cu as a5,
7659
7669
  Qn as a6,
7660
7670
  hd as a7,
7661
- Fd as a8,
7662
- Kd as a9,
7671
+ Zd as a8,
7672
+ Jd as a9,
7663
7673
  s3 as aA,
7664
7674
  a3 as aB,
7665
- lu as aC,
7666
- iu as aD,
7675
+ du as aC,
7676
+ cu as aD,
7667
7677
  S1 as aE,
7668
- su as aF,
7678
+ ru as aF,
7669
7679
  Vn as aG,
7670
7680
  jn as aH,
7671
- ku as aI,
7681
+ xu as aI,
7672
7682
  Be as aJ,
7673
- Mu as aK,
7674
- du as aL,
7683
+ Nu as aK,
7684
+ fu as aL,
7675
7685
  A0 as aM,
7676
7686
  te as aN,
7677
- Ed as aO,
7687
+ jd as aO,
7678
7688
  h7 as aP,
7679
- eu as aQ,
7680
- yu as aR,
7689
+ nu as aQ,
7690
+ Hd as aR,
7691
+ Bu as aS,
7692
+ Mu as aT,
7681
7693
  Xt as aa,
7682
7694
  m7 as ab,
7683
7695
  p1 as ac,
7684
- wu as ad,
7685
- ou as ae,
7696
+ vu as ad,
7697
+ au as ae,
7686
7698
  C7 as af,
7687
7699
  k7 as ag,
7688
- ru as ah,
7700
+ lu as ah,
7689
7701
  Yn as ai,
7690
- Qd as aj,
7691
- Xd as ak,
7702
+ eu as aj,
7703
+ Ad as ak,
7692
7704
  p7 as al,
7693
7705
  ve as am,
7694
7706
  Mt as an,
7695
7707
  _i as ao,
7696
7708
  Xn as ap,
7697
- Jd as aq,
7698
- cu as ar,
7709
+ tu as aq,
7710
+ uu as ar,
7699
7711
  F1 as as,
7700
- Zd as at,
7701
- xu as au,
7702
- pu as av,
7712
+ qd as at,
7713
+ Su as au,
7714
+ wu as av,
7703
7715
  P1 as aw,
7704
- mu as ax,
7705
- Cu as ay,
7716
+ _u as ax,
7717
+ hu as ay,
7706
7718
  y7 as az,
7707
7719
  B1 as b,
7708
7720
  Qt as c,
7709
- Ud as d,
7721
+ Qd as d,
7710
7722
  bn as e,
7711
7723
  ee as f,
7712
7724
  r1 as g,
7713
7725
  Dr as h,
7714
- Id as i,
7715
- Td as j,
7726
+ Pd as i,
7727
+ Gd as j,
7716
7728
  _7 as k,
7717
7729
  U1 as l,
7718
7730
  kt as m,
@@ -7723,8 +7735,8 @@ export {
7723
7735
  yt as r,
7724
7736
  K1 as s,
7725
7737
  se as t,
7726
- au as u,
7727
- Nu as v,
7738
+ iu as u,
7739
+ Du as v,
7728
7740
  b7 as w,
7729
7741
  Fn as x,
7730
7742
  qn as y,
package/dist/index.js CHANGED
@@ -1,11 +1,11 @@
1
- import { A as o, a as n, b as e, c as t, B as c, d as r, g as I, C as i, h as l, i as d, j as C, k as u, l as S, m as T, n as p, o as L, p as g, q as h, r as D, t as v, u as b, D as k, v as E, w as G, x as f, y as B, z as O, E as P, F as w, G as y, H as F, I as M, J as N, K as R, L as m, M as A, N as H, O as x, P as K, Q as _, R as j, S as q, T as J, U, V as W, W as z, X as Q, Y as Z, Z as V, _ as X, $ as Y, a0 as $, a1 as aa, a2 as sa, a3 as oa, a4 as na, a5 as ea, a6 as ta, a7 as ca, a8 as ra, a9 as Ia, aa as ia, ab as la, ac as da, ad as Ca, ae as ua, af as Sa, ag as Ta, ah as pa, ai as La, aj as ga, ak as ha, al as Da, am as va, an as ba, ao as ka, ap as Ea, aq as Ga, ar as fa, as as Ba, at as Oa, au as Pa, av as wa, aw as ya, ax as Fa, ay as Ma, az as Na, aA as Ra, aB as ma, aC as Aa, aD as Ha, aE as xa, aF as Ka, aG as _a, aH as ja, aI as qa, aJ as Ja, aK as Ua, aL as Wa, aM as za, a4 as Qa, aN as Za, aO as Va, aP as Xa, aQ as Ya, aR as $a } from "./index-D7keyuHL.js";
1
+ import { A as o, a as n, b as e, c as r, B as t, d as c, g as I, C as i, h as l, i as d, j as C, k as u, l as S, m as T, n as p, o as L, p as g, q as h, r as v, t as D, u as k, D as b, v as B, w as E, x as G, y as f, z as O, E as P, F as w, G as y, H as F, I as M, J as N, K as R, L as m, M as A, N as H, O as x, P as K, Q as _, R as j, S as q, T as J, U, V as W, W as z, X as Q, Y as Z, Z as V, _ as X, $ as Y, a0 as $, a1 as aa, a2 as sa, a3 as oa, a4 as na, a5 as ea, a6 as ra, a7 as ta, a8 as ca, a9 as Ia, aa as ia, ab as la, ac as da, ad as Ca, ae as ua, af as Sa, ag as Ta, ah as pa, ai as La, aj as ga, ak as ha, al as va, am as Da, an as ka, ao as ba, ap as Ba, aq as Ea, ar as Ga, as as fa, at as Oa, au as Pa, av as wa, aw as ya, ax as Fa, ay as Ma, az as Na, aA as Ra, aB as ma, aC as Aa, aD as Ha, aE as xa, aF as Ka, aG as _a, aH as ja, aI as qa, aJ as Ja, aK as Ua, aL as Wa, aM as za, a4 as Qa, aN as Za, aO as Va, aP as Xa, aQ as Ya, aR as $a, aS as as, aT as ss } from "./index-UU-WiHZy.js";
2
2
  export {
3
3
  o as ArrowLeftIcon,
4
4
  n as ArrowRightIcon,
5
5
  e as Avatar,
6
- t as AvatarGroup,
7
- c as BookIcon,
8
- r as BookStarIcon,
6
+ r as AvatarGroup,
7
+ t as BookIcon,
8
+ c as BookStarIcon,
9
9
  I as Button,
10
10
  i as CakeIcon,
11
11
  l as Calendar,
@@ -18,14 +18,14 @@ export {
18
18
  L as ChevronDownIcon,
19
19
  g as ChevronLeftIcon,
20
20
  h as ChevronRightIcon,
21
- D as ClockIcon,
22
- v as CloseIcon,
23
- b as ContractIcon,
24
- k as DashboardIcon,
25
- E as DataList,
26
- G as DecreaseIcon,
27
- f as DeleteIcon,
28
- B as Disclosure,
21
+ v as ClockIcon,
22
+ D as CloseIcon,
23
+ k as ContractIcon,
24
+ b as DashboardIcon,
25
+ B as DataList,
26
+ E as DecreaseIcon,
27
+ G as DeleteIcon,
28
+ f as Disclosure,
29
29
  O as Divider,
30
30
  P as Drawer,
31
31
  w as DropdownMenu,
@@ -57,9 +57,9 @@ export {
57
57
  oa as KebabIcon,
58
58
  na as LessonCard,
59
59
  ea as LessonCardSkeleton,
60
- ta as LessonStatusTag,
61
- ca as LineChart,
62
- ra as LocationCenterIcon,
60
+ ra as LessonStatusTag,
61
+ ta as LineChart,
62
+ ca as LocationCenterIcon,
63
63
  Ia as LocationIcon,
64
64
  ia as LogoutIcon,
65
65
  la as MenuIcon,
@@ -72,14 +72,14 @@ export {
72
72
  La as PendingFilledIcon,
73
73
  ga as PhoneIcon,
74
74
  ha as PlanetIcon,
75
- Da as PlusIcon,
76
- va as RoleTag,
77
- ba as RoomIcon,
78
- ka as SUBJECT_COLOR_TOKENS,
79
- Ea as ScoreIndicator,
80
- Ga as SearchIcon,
81
- fa as SelectionControl,
82
- Ba as Skeleton,
75
+ va as PlusIcon,
76
+ Da as RoleTag,
77
+ ka as RoomIcon,
78
+ ba as SUBJECT_COLOR_TOKENS,
79
+ Ba as ScoreIndicator,
80
+ Ea as SearchIcon,
81
+ Ga as SelectionControl,
82
+ fa as Skeleton,
83
83
  Oa as StarsIcon,
84
84
  Pa as Stepper,
85
85
  wa as StudentCard,
@@ -105,5 +105,7 @@ export {
105
105
  Va as UploadIcon,
106
106
  Xa as WarningFilledIcon,
107
107
  Ya as WarningOutlinedIcon,
108
- $a as useToast
108
+ $a as isSkBrand,
109
+ as as resolveBrand,
110
+ ss as useToast
109
111
  };
@@ -90,4 +90,6 @@ export { LineChart } from './components/LineChart';
90
90
  export type { LineChartProps, LineChartDataPoint, LineChartSeries, LineChartReferenceLine, LineChartTooltipProps, LineChartTooltipPayloadEntry, } from './components/LineChart';
91
91
  export { GradeHistoryChart } from './compositions/GradeHistoryChart';
92
92
  export type { GradeHistoryChartProps, GradeEntry, GradeSystem, } from './compositions/GradeHistoryChart';
93
+ export { resolveBrand, isSkBrand } from './theme/resolveBrand';
94
+ export type { Brand } from './theme/resolveBrand';
93
95
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
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AY,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAEzD,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,YAAY,EAAE,aAAa,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAEvF,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,YAAY,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAE3D,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,YAAY,EACV,cAAc,EACd,kBAAkB,EAClB,eAAe,EACf,sBAAsB,EACtB,qBAAqB,EACrB,4BAA4B,GAC7B,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,YAAY,EACV,sBAAsB,EACtB,UAAU,EACV,WAAW,GACZ,MAAM,kCAAkC,CAAC;AAM1C,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAC/D,YAAY,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC"}
@@ -0,0 +1,29 @@
1
+ export type Brand = 'gs' | 'sk';
2
+ /**
3
+ * Hostname-based brand fallback for callers with no account/studio brand
4
+ * signal yet: pre-auth render (before studio data loads) or an account with
5
+ * no studio at all (e.g. platform Admin). Consumers own their own hostname
6
+ * heuristics (env-aware, per-portal) — this is intentionally generic:
7
+ * any hostname containing 'gostudent' resolves to 'gs', everything else to
8
+ * 'sk'. Portals with more nuanced non-prod handling should compute their own
9
+ * boolean/brand and pass it in via the `fallback` parameter of
10
+ * `resolveBrand` instead of relying on this default.
11
+ */
12
+ export declare function isSkBrand(hostname?: string): boolean;
13
+ /**
14
+ * Resolves the FE brand/theme from the account/studio's computed `brand`
15
+ * field (as returned by `GET /studio/user` / `GET /studio/user/main`).
16
+ *
17
+ * The backend already derives and normalizes `brand` to `'sk' | 'gs'` — this
18
+ * helper just passes a valid value through defensively (trimming whitespace,
19
+ * normalizing casing) and falls back to hostname-based resolution when
20
+ * `brand` is `undefined`/`null`/empty/unrecognized. That fallback covers:
21
+ * pre-auth render (before studio data has loaded) and accounts with no
22
+ * studio at all (e.g. platform Admin).
23
+ *
24
+ * Pure and side-effect free with respect to its `brand` argument — does not
25
+ * read `window.location` itself unless the fallback path is taken (no
26
+ * explicit `fallback` override supplied).
27
+ */
28
+ export declare function resolveBrand(brand: Brand | string | null | undefined, fallback?: () => Brand): Brand;
29
+ //# sourceMappingURL=resolveBrand.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resolveBrand.d.ts","sourceRoot":"","sources":["../../../src/theme/resolveBrand.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,KAAK,GAAG,IAAI,GAAG,IAAI,CAAA;AAE/B;;;;;;;;;GASG;AACH,wBAAgB,SAAS,CAAC,QAAQ,GAAE,MAAsE,GAAG,OAAO,CAEnH;AAMD;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,EAAE,QAAQ,GAAE,MAAM,KAAuB,GAAG,KAAK,CAMrH"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gostudent/shared-ui-library",
3
- "version": "2.2.0-DT-17014-students-tab.1",
3
+ "version": "2.2.0",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",