@producteca/producteca-ui-kit 1.78.1 → 1.79.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.
- package/dist/components/patterns/pickChannelModal/pickChannelModal.examples.d.ts +1 -0
- package/dist/components/patterns/pickChannelModal/pickChannelModal.types.d.ts +3 -1
- package/dist/locales/description.d.ts +2 -1
- package/dist/locales/es.d.ts +2 -0
- package/dist/producteca-ui-kit.es.js +331 -311
- package/dist/producteca-ui-kit.umd.js +21 -21
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -8615,7 +8615,7 @@ function createSvgIcon(path, displayName) {
|
|
|
8615
8615
|
const CloseRoundedIcon = createSvgIcon(/* @__PURE__ */ jsx$1("path", {
|
|
8616
8616
|
d: "M18.3 5.71a.996.996 0 0 0-1.41 0L12 10.59 7.11 5.7a.996.996 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41L10.59 12 5.7 16.89c-.39.39-.39 1.02 0 1.41s1.02.39 1.41 0L12 13.41l4.89 4.89c.39.39 1.02.39 1.41 0s.39-1.02 0-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4"
|
|
8617
8617
|
}), "CloseRounded");
|
|
8618
|
-
function compact(array) {
|
|
8618
|
+
function compact$1(array) {
|
|
8619
8619
|
var index2 = -1, length2 = array == null ? 0 : array.length, resIndex = 0, result = [];
|
|
8620
8620
|
while (++index2 < length2) {
|
|
8621
8621
|
var value = array[index2];
|
|
@@ -8625,8 +8625,8 @@ function compact(array) {
|
|
|
8625
8625
|
}
|
|
8626
8626
|
return result;
|
|
8627
8627
|
}
|
|
8628
|
-
var compact_1 = compact;
|
|
8629
|
-
const compact$
|
|
8628
|
+
var compact_1 = compact$1;
|
|
8629
|
+
const compact$2 = /* @__PURE__ */ getDefaultExportFromCjs(compact_1);
|
|
8630
8630
|
function arrayPush$3(array, values2) {
|
|
8631
8631
|
var index2 = -1, length2 = values2.length, offset2 = array.length;
|
|
8632
8632
|
while (++index2 < length2) {
|
|
@@ -10029,7 +10029,7 @@ const getColor = (category, shade) => {
|
|
|
10029
10029
|
};
|
|
10030
10030
|
const allColors = flatMap$1(
|
|
10031
10031
|
Colors,
|
|
10032
|
-
(shades, category) => compact$
|
|
10032
|
+
(shades, category) => compact$2(
|
|
10033
10033
|
map$2(shades, (color2, shade) => color2 ? { title: `${category} ${shade}`, color: color2 } : null)
|
|
10034
10034
|
)
|
|
10035
10035
|
);
|
|
@@ -19709,7 +19709,7 @@ El componente \`ConditionalOperator\` permite elegir entre operador lógico "Y"
|
|
|
19709
19709
|
const pickChannelModalExample = `
|
|
19710
19710
|
## Uso del componente
|
|
19711
19711
|
|
|
19712
|
-
El componente \`PickChannelModal\` muestra un modal con una grilla de canales seleccionables. Recibe el listado \`channels\` con \`{ clientId, iconUrl, name? }\`. Opcionalmente, mediante \`showGeneralEdition\`, agrega una sección superior con la opción Producteca (exportada como \`productecaStrategy\`) para editar atributos generales — se comporta como un canal más y se notifica por el mismo \`onSelectChannel\`. El header acepta cualquier \`ModalTitleProps\` vía \`titleProps\` (\`title\`, \`icon\`, \`subtitle\`, \`helpArticleUrl\`, \`helpTooltip\`).
|
|
19712
|
+
El componente \`PickChannelModal\` muestra un modal con una grilla de canales seleccionables. Recibe el listado \`channels\` con \`{ clientId, iconUrl, name?, disabled?, tooltipMessage? }\`. Un canal con \`disabled\` se muestra atenuado y no dispara \`onSelectChannel\` al clickearlo; \`tooltipMessage\` agrega un tooltip a la card, visible al pasar el mouse. Opcionalmente, mediante \`showGeneralEdition\`, agrega una sección superior con la opción Producteca (exportada como \`productecaStrategy\`) para editar atributos generales — se comporta como un canal más y se notifica por el mismo \`onSelectChannel\`. El header acepta cualquier \`ModalTitleProps\` vía \`titleProps\` (\`title\`, \`icon\`, \`subtitle\`, \`helpArticleUrl\`, \`helpTooltip\`).
|
|
19713
19713
|
|
|
19714
19714
|
### Ejemplo básico:
|
|
19715
19715
|
|
|
@@ -19747,6 +19747,9 @@ Muestra el modal con una gran cantidad de canales para verificar que el contenid
|
|
|
19747
19747
|
const pickChannelModalWithoutText = `
|
|
19748
19748
|
Sin \`channelEditionTitle\` ni \`channelEditionDescription\` (ni los textos de edición general): los \`<h3>\` y \`<p>\` no se renderizan y la grilla de cards queda sin margen superior. Verifica el render condicional de los textos opcionales y el margen condicional del grid.
|
|
19749
19749
|
`;
|
|
19750
|
+
const pickChannelModalWithDisabledChannel = `
|
|
19751
|
+
Uno de los canales se pasa con \`disabled\` y \`tooltipMessage\`: la card se muestra atenuada, no dispara \`onSelectChannel\` al clickearla y expone un tooltip explicando el motivo al pasar el mouse.
|
|
19752
|
+
`;
|
|
19750
19753
|
const emptyStateExample = `
|
|
19751
19754
|
## Uso del componente
|
|
19752
19755
|
|
|
@@ -20162,7 +20165,8 @@ const es$3 = {
|
|
|
20162
20165
|
customTexts: pickChannelModalCustomTexts,
|
|
20163
20166
|
withFullTitle: pickChannelModalWithFullTitle,
|
|
20164
20167
|
scrollableContent: pickChannelModalScrollableContent,
|
|
20165
|
-
withoutText: pickChannelModalWithoutText
|
|
20168
|
+
withoutText: pickChannelModalWithoutText,
|
|
20169
|
+
withDisabledChannel: pickChannelModalWithDisabledChannel
|
|
20166
20170
|
},
|
|
20167
20171
|
copyButton: {
|
|
20168
20172
|
example: copyButtonExample
|
|
@@ -20350,6 +20354,7 @@ const es$3 = {
|
|
|
20350
20354
|
channelEditionDescription: "Edita los atributos específicos y obligatorios según la categoría del canal",
|
|
20351
20355
|
channelName: "Cuenta {{number}}",
|
|
20352
20356
|
openModal: "Abrir selector de canales",
|
|
20357
|
+
disabledChannelTooltip: "Este canal está deshabilitado. Pasa el mouse para más información.",
|
|
20353
20358
|
fullTitle: {
|
|
20354
20359
|
title: "Editar atributos del producto",
|
|
20355
20360
|
subtitle: "Seleccioná en qué canal querés editar los atributos",
|
|
@@ -21065,293 +21070,287 @@ const VisibilityIcon = ({ showPassword, setShowPassword }) => {
|
|
|
21065
21070
|
return /* @__PURE__ */ jsx$1("div", { "data-testid": "visibility-toggle", onClick: () => setShowPassword(!showPassword), children: showPassword ? /* @__PURE__ */ jsx$1(Visibility, {}) : /* @__PURE__ */ jsx$1(VisibilityOff, {}) });
|
|
21066
21071
|
};
|
|
21067
21072
|
var dayjs_min = { exports: {} };
|
|
21068
|
-
|
|
21069
|
-
function
|
|
21070
|
-
|
|
21071
|
-
|
|
21072
|
-
|
|
21073
|
-
|
|
21074
|
-
|
|
21075
|
-
}
|
|
21076
|
-
var
|
|
21077
|
-
|
|
21078
|
-
|
|
21079
|
-
|
|
21080
|
-
|
|
21081
|
-
|
|
21082
|
-
|
|
21083
|
-
|
|
21084
|
-
|
|
21085
|
-
|
|
21086
|
-
|
|
21087
|
-
|
|
21088
|
-
|
|
21089
|
-
|
|
21090
|
-
|
|
21091
|
-
|
|
21092
|
-
|
|
21093
|
-
|
|
21094
|
-
|
|
21095
|
-
|
|
21096
|
-
|
|
21097
|
-
|
|
21098
|
-
|
|
21099
|
-
|
|
21100
|
-
|
|
21101
|
-
|
|
21102
|
-
if (
|
|
21103
|
-
|
|
21104
|
-
|
|
21105
|
-
|
|
21106
|
-
|
|
21107
|
-
|
|
21108
|
-
|
|
21109
|
-
|
|
21110
|
-
|
|
21111
|
-
|
|
21112
|
-
|
|
21113
|
-
|
|
21114
|
-
|
|
21115
|
-
|
|
21116
|
-
|
|
21117
|
-
|
|
21118
|
-
|
|
21119
|
-
}
|
|
21120
|
-
var
|
|
21121
|
-
|
|
21122
|
-
|
|
21123
|
-
|
|
21124
|
-
|
|
21125
|
-
|
|
21126
|
-
|
|
21127
|
-
|
|
21128
|
-
|
|
21129
|
-
if (
|
|
21130
|
-
|
|
21131
|
-
|
|
21132
|
-
var r3 = e2.match($);
|
|
21133
|
-
if (r3) {
|
|
21134
|
-
var i2 = r3[2] - 1 || 0, s2 = (r3[7] || "0").substring(0, 3);
|
|
21135
|
-
return n2 ? new Date(Date.UTC(r3[1], i2, r3[3] || 1, r3[4] || 0, r3[5] || 0, r3[6] || 0, s2)) : new Date(r3[1], i2, r3[3] || 1, r3[4] || 0, r3[5] || 0, r3[6] || 0, s2);
|
|
21136
|
-
}
|
|
21073
|
+
(function(module, exports) {
|
|
21074
|
+
!function(t, e) {
|
|
21075
|
+
module.exports = e();
|
|
21076
|
+
}(commonjsGlobal, function() {
|
|
21077
|
+
var t = 1e3, e = 6e4, n = 36e5, r2 = "millisecond", i = "second", s = "minute", u = "hour", a = "day", o = "week", c = "month", f = "quarter", h = "year", d = "date", l = "Invalid Date", $ = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, M = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(t2) {
|
|
21078
|
+
var e2 = ["th", "st", "nd", "rd"], n2 = t2 % 100;
|
|
21079
|
+
return "[" + t2 + (e2[(n2 - 20) % 10] || e2[n2] || e2[0]) + "]";
|
|
21080
|
+
} }, m = function(t2, e2, n2) {
|
|
21081
|
+
var r3 = String(t2);
|
|
21082
|
+
return !r3 || r3.length >= e2 ? t2 : "" + Array(e2 + 1 - r3.length).join(n2) + t2;
|
|
21083
|
+
}, v = { s: m, z: function(t2) {
|
|
21084
|
+
var e2 = -t2.utcOffset(), n2 = Math.abs(e2), r3 = Math.floor(n2 / 60), i2 = n2 % 60;
|
|
21085
|
+
return (e2 <= 0 ? "+" : "-") + m(r3, 2, "0") + ":" + m(i2, 2, "0");
|
|
21086
|
+
}, m: function t2(e2, n2) {
|
|
21087
|
+
if (e2.date() < n2.date()) return -t2(n2, e2);
|
|
21088
|
+
var r3 = 12 * (n2.year() - e2.year()) + (n2.month() - e2.month()), i2 = e2.clone().add(r3, c), s2 = n2 - i2 < 0, u2 = e2.clone().add(r3 + (s2 ? -1 : 1), c);
|
|
21089
|
+
return +(-(r3 + (n2 - i2) / (s2 ? i2 - u2 : u2 - i2)) || 0);
|
|
21090
|
+
}, a: function(t2) {
|
|
21091
|
+
return t2 < 0 ? Math.ceil(t2) || 0 : Math.floor(t2);
|
|
21092
|
+
}, p: function(t2) {
|
|
21093
|
+
return { M: c, y: h, w: o, d: a, D: d, h: u, m: s, s: i, ms: r2, Q: f }[t2] || String(t2 || "").toLowerCase().replace(/s$/, "");
|
|
21094
|
+
}, u: function(t2) {
|
|
21095
|
+
return void 0 === t2;
|
|
21096
|
+
} }, g = "en", D = {};
|
|
21097
|
+
D[g] = M;
|
|
21098
|
+
var p = "$isDayjsObject", S = function(t2) {
|
|
21099
|
+
return t2 instanceof _ || !(!t2 || !t2[p]);
|
|
21100
|
+
}, w2 = function t2(e2, n2, r3) {
|
|
21101
|
+
var i2;
|
|
21102
|
+
if (!e2) return g;
|
|
21103
|
+
if ("string" == typeof e2) {
|
|
21104
|
+
var s2 = e2.toLowerCase();
|
|
21105
|
+
D[s2] && (i2 = s2), n2 && (D[s2] = n2, i2 = s2);
|
|
21106
|
+
var u2 = e2.split("-");
|
|
21107
|
+
if (!i2 && u2.length > 1) return t2(u2[0]);
|
|
21108
|
+
} else {
|
|
21109
|
+
var a2 = e2.name;
|
|
21110
|
+
D[a2] = e2, i2 = a2;
|
|
21111
|
+
}
|
|
21112
|
+
return !r3 && i2 && (g = i2), i2 || !r3 && g;
|
|
21113
|
+
}, O = function(t2, e2) {
|
|
21114
|
+
if (S(t2)) return t2.clone();
|
|
21115
|
+
var n2 = "object" == typeof e2 ? e2 : {};
|
|
21116
|
+
return n2.date = t2, n2.args = arguments, new _(n2);
|
|
21117
|
+
}, b = v;
|
|
21118
|
+
b.l = w2, b.i = S, b.w = function(t2, e2) {
|
|
21119
|
+
return O(t2, { locale: e2.$L, utc: e2.$u, x: e2.$x, $offset: e2.$offset });
|
|
21120
|
+
};
|
|
21121
|
+
var _ = function() {
|
|
21122
|
+
function M2(t2) {
|
|
21123
|
+
this.$L = w2(t2.locale, null, true), this.parse(t2), this.$x = this.$x || t2.x || {}, this[p] = true;
|
|
21124
|
+
}
|
|
21125
|
+
var m2 = M2.prototype;
|
|
21126
|
+
return m2.parse = function(t2) {
|
|
21127
|
+
this.$d = function(t3) {
|
|
21128
|
+
var e2 = t3.date, n2 = t3.utc;
|
|
21129
|
+
if (null === e2) return /* @__PURE__ */ new Date(NaN);
|
|
21130
|
+
if (b.u(e2)) return /* @__PURE__ */ new Date();
|
|
21131
|
+
if (e2 instanceof Date) return new Date(e2);
|
|
21132
|
+
if ("string" == typeof e2 && !/Z$/i.test(e2)) {
|
|
21133
|
+
var r3 = e2.match($);
|
|
21134
|
+
if (r3) {
|
|
21135
|
+
var i2 = r3[2] - 1 || 0, s2 = (r3[7] || "0").substring(0, 3);
|
|
21136
|
+
return n2 ? new Date(Date.UTC(r3[1], i2, r3[3] || 1, r3[4] || 0, r3[5] || 0, r3[6] || 0, s2)) : new Date(r3[1], i2, r3[3] || 1, r3[4] || 0, r3[5] || 0, r3[6] || 0, s2);
|
|
21137
21137
|
}
|
|
21138
|
-
return new Date(e2);
|
|
21139
|
-
}(t2), this.init();
|
|
21140
|
-
}, m2.init = function() {
|
|
21141
|
-
var t2 = this.$d;
|
|
21142
|
-
this.$y = t2.getFullYear(), this.$M = t2.getMonth(), this.$D = t2.getDate(), this.$W = t2.getDay(), this.$H = t2.getHours(), this.$m = t2.getMinutes(), this.$s = t2.getSeconds(), this.$ms = t2.getMilliseconds();
|
|
21143
|
-
}, m2.$utils = function() {
|
|
21144
|
-
return b;
|
|
21145
|
-
}, m2.isValid = function() {
|
|
21146
|
-
return !(this.$d.toString() === l);
|
|
21147
|
-
}, m2.isSame = function(t2, e2) {
|
|
21148
|
-
var n2 = O(t2);
|
|
21149
|
-
return this.startOf(e2) <= n2 && n2 <= this.endOf(e2);
|
|
21150
|
-
}, m2.isAfter = function(t2, e2) {
|
|
21151
|
-
return O(t2) < this.startOf(e2);
|
|
21152
|
-
}, m2.isBefore = function(t2, e2) {
|
|
21153
|
-
return this.endOf(e2) < O(t2);
|
|
21154
|
-
}, m2.$g = function(t2, e2, n2) {
|
|
21155
|
-
return b.u(t2) ? this[e2] : this.set(n2, t2);
|
|
21156
|
-
}, m2.unix = function() {
|
|
21157
|
-
return Math.floor(this.valueOf() / 1e3);
|
|
21158
|
-
}, m2.valueOf = function() {
|
|
21159
|
-
return this.$d.getTime();
|
|
21160
|
-
}, m2.startOf = function(t2, e2) {
|
|
21161
|
-
var n2 = this, r3 = !!b.u(e2) || e2, f2 = b.p(t2), l2 = function(t3, e3) {
|
|
21162
|
-
var i2 = b.w(n2.$u ? Date.UTC(n2.$y, e3, t3) : new Date(n2.$y, e3, t3), n2);
|
|
21163
|
-
return r3 ? i2 : i2.endOf(a);
|
|
21164
|
-
}, $2 = function(t3, e3) {
|
|
21165
|
-
return b.w(n2.toDate()[t3].apply(n2.toDate("s"), (r3 ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(e3)), n2);
|
|
21166
|
-
}, y2 = this.$W, M3 = this.$M, m3 = this.$D, v2 = "set" + (this.$u ? "UTC" : "");
|
|
21167
|
-
switch (f2) {
|
|
21168
|
-
case h:
|
|
21169
|
-
return r3 ? l2(1, 0) : l2(31, 11);
|
|
21170
|
-
case c:
|
|
21171
|
-
return r3 ? l2(1, M3) : l2(0, M3 + 1);
|
|
21172
|
-
case o:
|
|
21173
|
-
var g2 = this.$locale().weekStart || 0, D2 = (y2 < g2 ? y2 + 7 : y2) - g2;
|
|
21174
|
-
return l2(r3 ? m3 - D2 : m3 + (6 - D2), M3);
|
|
21175
|
-
case a:
|
|
21176
|
-
case d:
|
|
21177
|
-
return $2(v2 + "Hours", 0);
|
|
21178
|
-
case u:
|
|
21179
|
-
return $2(v2 + "Minutes", 1);
|
|
21180
|
-
case s:
|
|
21181
|
-
return $2(v2 + "Seconds", 2);
|
|
21182
|
-
case i:
|
|
21183
|
-
return $2(v2 + "Milliseconds", 3);
|
|
21184
|
-
default:
|
|
21185
|
-
return this.clone();
|
|
21186
|
-
}
|
|
21187
|
-
}, m2.endOf = function(t2) {
|
|
21188
|
-
return this.startOf(t2, false);
|
|
21189
|
-
}, m2.$set = function(t2, e2) {
|
|
21190
|
-
var n2, o2 = b.p(t2), f2 = "set" + (this.$u ? "UTC" : ""), l2 = (n2 = {}, n2[a] = f2 + "Date", n2[d] = f2 + "Date", n2[c] = f2 + "Month", n2[h] = f2 + "FullYear", n2[u] = f2 + "Hours", n2[s] = f2 + "Minutes", n2[i] = f2 + "Seconds", n2[r2] = f2 + "Milliseconds", n2)[o2], $2 = o2 === a ? this.$D + (e2 - this.$W) : e2;
|
|
21191
|
-
if (o2 === c || o2 === h) {
|
|
21192
|
-
var y2 = this.clone().set(d, 1);
|
|
21193
|
-
y2.$d[l2]($2), y2.init(), this.$d = y2.set(d, Math.min(this.$D, y2.daysInMonth())).$d;
|
|
21194
|
-
} else l2 && this.$d[l2]($2);
|
|
21195
|
-
return this.init(), this;
|
|
21196
|
-
}, m2.set = function(t2, e2) {
|
|
21197
|
-
return this.clone().$set(t2, e2);
|
|
21198
|
-
}, m2.get = function(t2) {
|
|
21199
|
-
return this[b.p(t2)]();
|
|
21200
|
-
}, m2.add = function(r3, f2) {
|
|
21201
|
-
var d2, l2 = this;
|
|
21202
|
-
r3 = Number(r3);
|
|
21203
|
-
var $2 = b.p(f2), y2 = function(t2) {
|
|
21204
|
-
var e2 = O(l2);
|
|
21205
|
-
return b.w(e2.date(e2.date() + Math.round(t2 * r3)), l2);
|
|
21206
|
-
};
|
|
21207
|
-
if ($2 === c) return this.set(c, this.$M + r3);
|
|
21208
|
-
if ($2 === h) return this.set(h, this.$y + r3);
|
|
21209
|
-
if ($2 === a) return y2(1);
|
|
21210
|
-
if ($2 === o) return y2(7);
|
|
21211
|
-
var M3 = (d2 = {}, d2[s] = e, d2[u] = n, d2[i] = t, d2)[$2] || 1, m3 = this.$d.getTime() + r3 * M3;
|
|
21212
|
-
return b.w(m3, this);
|
|
21213
|
-
}, m2.subtract = function(t2, e2) {
|
|
21214
|
-
return this.add(-1 * t2, e2);
|
|
21215
|
-
}, m2.format = function(t2) {
|
|
21216
|
-
var e2 = this, n2 = this.$locale();
|
|
21217
|
-
if (!this.isValid()) return n2.invalidDate || l;
|
|
21218
|
-
var r3 = t2 || "YYYY-MM-DDTHH:mm:ssZ", i2 = b.z(this), s2 = this.$H, u2 = this.$m, a2 = this.$M, o2 = n2.weekdays, c2 = n2.months, f2 = n2.meridiem, h2 = function(t3, n3, i3, s3) {
|
|
21219
|
-
return t3 && (t3[n3] || t3(e2, r3)) || i3[n3].slice(0, s3);
|
|
21220
|
-
}, d2 = function(t3) {
|
|
21221
|
-
return b.s(s2 % 12 || 12, t3, "0");
|
|
21222
|
-
}, $2 = f2 || function(t3, e3, n3) {
|
|
21223
|
-
var r4 = t3 < 12 ? "AM" : "PM";
|
|
21224
|
-
return n3 ? r4.toLowerCase() : r4;
|
|
21225
|
-
};
|
|
21226
|
-
return r3.replace(y, function(t3, r4) {
|
|
21227
|
-
return r4 || function(t4) {
|
|
21228
|
-
switch (t4) {
|
|
21229
|
-
case "YY":
|
|
21230
|
-
return String(e2.$y).slice(-2);
|
|
21231
|
-
case "YYYY":
|
|
21232
|
-
return b.s(e2.$y, 4, "0");
|
|
21233
|
-
case "M":
|
|
21234
|
-
return a2 + 1;
|
|
21235
|
-
case "MM":
|
|
21236
|
-
return b.s(a2 + 1, 2, "0");
|
|
21237
|
-
case "MMM":
|
|
21238
|
-
return h2(n2.monthsShort, a2, c2, 3);
|
|
21239
|
-
case "MMMM":
|
|
21240
|
-
return h2(c2, a2);
|
|
21241
|
-
case "D":
|
|
21242
|
-
return e2.$D;
|
|
21243
|
-
case "DD":
|
|
21244
|
-
return b.s(e2.$D, 2, "0");
|
|
21245
|
-
case "d":
|
|
21246
|
-
return String(e2.$W);
|
|
21247
|
-
case "dd":
|
|
21248
|
-
return h2(n2.weekdaysMin, e2.$W, o2, 2);
|
|
21249
|
-
case "ddd":
|
|
21250
|
-
return h2(n2.weekdaysShort, e2.$W, o2, 3);
|
|
21251
|
-
case "dddd":
|
|
21252
|
-
return o2[e2.$W];
|
|
21253
|
-
case "H":
|
|
21254
|
-
return String(s2);
|
|
21255
|
-
case "HH":
|
|
21256
|
-
return b.s(s2, 2, "0");
|
|
21257
|
-
case "h":
|
|
21258
|
-
return d2(1);
|
|
21259
|
-
case "hh":
|
|
21260
|
-
return d2(2);
|
|
21261
|
-
case "a":
|
|
21262
|
-
return $2(s2, u2, true);
|
|
21263
|
-
case "A":
|
|
21264
|
-
return $2(s2, u2, false);
|
|
21265
|
-
case "m":
|
|
21266
|
-
return String(u2);
|
|
21267
|
-
case "mm":
|
|
21268
|
-
return b.s(u2, 2, "0");
|
|
21269
|
-
case "s":
|
|
21270
|
-
return String(e2.$s);
|
|
21271
|
-
case "ss":
|
|
21272
|
-
return b.s(e2.$s, 2, "0");
|
|
21273
|
-
case "SSS":
|
|
21274
|
-
return b.s(e2.$ms, 3, "0");
|
|
21275
|
-
case "Z":
|
|
21276
|
-
return i2;
|
|
21277
|
-
}
|
|
21278
|
-
return null;
|
|
21279
|
-
}(t3) || i2.replace(":", "");
|
|
21280
|
-
});
|
|
21281
|
-
}, m2.utcOffset = function() {
|
|
21282
|
-
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
21283
|
-
}, m2.diff = function(r3, d2, l2) {
|
|
21284
|
-
var $2, y2 = this, M3 = b.p(d2), m3 = O(r3), v2 = (m3.utcOffset() - this.utcOffset()) * e, g2 = this - m3, D2 = function() {
|
|
21285
|
-
return b.m(y2, m3);
|
|
21286
|
-
};
|
|
21287
|
-
switch (M3) {
|
|
21288
|
-
case h:
|
|
21289
|
-
$2 = D2() / 12;
|
|
21290
|
-
break;
|
|
21291
|
-
case c:
|
|
21292
|
-
$2 = D2();
|
|
21293
|
-
break;
|
|
21294
|
-
case f:
|
|
21295
|
-
$2 = D2() / 3;
|
|
21296
|
-
break;
|
|
21297
|
-
case o:
|
|
21298
|
-
$2 = (g2 - v2) / 6048e5;
|
|
21299
|
-
break;
|
|
21300
|
-
case a:
|
|
21301
|
-
$2 = (g2 - v2) / 864e5;
|
|
21302
|
-
break;
|
|
21303
|
-
case u:
|
|
21304
|
-
$2 = g2 / n;
|
|
21305
|
-
break;
|
|
21306
|
-
case s:
|
|
21307
|
-
$2 = g2 / e;
|
|
21308
|
-
break;
|
|
21309
|
-
case i:
|
|
21310
|
-
$2 = g2 / t;
|
|
21311
|
-
break;
|
|
21312
|
-
default:
|
|
21313
|
-
$2 = g2;
|
|
21314
21138
|
}
|
|
21315
|
-
return
|
|
21316
|
-
},
|
|
21317
|
-
|
|
21318
|
-
|
|
21319
|
-
|
|
21320
|
-
|
|
21321
|
-
|
|
21322
|
-
|
|
21323
|
-
|
|
21324
|
-
|
|
21325
|
-
|
|
21326
|
-
|
|
21327
|
-
|
|
21328
|
-
|
|
21329
|
-
|
|
21330
|
-
|
|
21331
|
-
|
|
21332
|
-
|
|
21333
|
-
|
|
21334
|
-
|
|
21335
|
-
}
|
|
21336
|
-
|
|
21337
|
-
|
|
21338
|
-
|
|
21139
|
+
return new Date(e2);
|
|
21140
|
+
}(t2), this.init();
|
|
21141
|
+
}, m2.init = function() {
|
|
21142
|
+
var t2 = this.$d;
|
|
21143
|
+
this.$y = t2.getFullYear(), this.$M = t2.getMonth(), this.$D = t2.getDate(), this.$W = t2.getDay(), this.$H = t2.getHours(), this.$m = t2.getMinutes(), this.$s = t2.getSeconds(), this.$ms = t2.getMilliseconds();
|
|
21144
|
+
}, m2.$utils = function() {
|
|
21145
|
+
return b;
|
|
21146
|
+
}, m2.isValid = function() {
|
|
21147
|
+
return !(this.$d.toString() === l);
|
|
21148
|
+
}, m2.isSame = function(t2, e2) {
|
|
21149
|
+
var n2 = O(t2);
|
|
21150
|
+
return this.startOf(e2) <= n2 && n2 <= this.endOf(e2);
|
|
21151
|
+
}, m2.isAfter = function(t2, e2) {
|
|
21152
|
+
return O(t2) < this.startOf(e2);
|
|
21153
|
+
}, m2.isBefore = function(t2, e2) {
|
|
21154
|
+
return this.endOf(e2) < O(t2);
|
|
21155
|
+
}, m2.$g = function(t2, e2, n2) {
|
|
21156
|
+
return b.u(t2) ? this[e2] : this.set(n2, t2);
|
|
21157
|
+
}, m2.unix = function() {
|
|
21158
|
+
return Math.floor(this.valueOf() / 1e3);
|
|
21159
|
+
}, m2.valueOf = function() {
|
|
21160
|
+
return this.$d.getTime();
|
|
21161
|
+
}, m2.startOf = function(t2, e2) {
|
|
21162
|
+
var n2 = this, r3 = !!b.u(e2) || e2, f2 = b.p(t2), l2 = function(t3, e3) {
|
|
21163
|
+
var i2 = b.w(n2.$u ? Date.UTC(n2.$y, e3, t3) : new Date(n2.$y, e3, t3), n2);
|
|
21164
|
+
return r3 ? i2 : i2.endOf(a);
|
|
21165
|
+
}, $2 = function(t3, e3) {
|
|
21166
|
+
return b.w(n2.toDate()[t3].apply(n2.toDate("s"), (r3 ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(e3)), n2);
|
|
21167
|
+
}, y2 = this.$W, M3 = this.$M, m3 = this.$D, v2 = "set" + (this.$u ? "UTC" : "");
|
|
21168
|
+
switch (f2) {
|
|
21169
|
+
case h:
|
|
21170
|
+
return r3 ? l2(1, 0) : l2(31, 11);
|
|
21171
|
+
case c:
|
|
21172
|
+
return r3 ? l2(1, M3) : l2(0, M3 + 1);
|
|
21173
|
+
case o:
|
|
21174
|
+
var g2 = this.$locale().weekStart || 0, D2 = (y2 < g2 ? y2 + 7 : y2) - g2;
|
|
21175
|
+
return l2(r3 ? m3 - D2 : m3 + (6 - D2), M3);
|
|
21176
|
+
case a:
|
|
21177
|
+
case d:
|
|
21178
|
+
return $2(v2 + "Hours", 0);
|
|
21179
|
+
case u:
|
|
21180
|
+
return $2(v2 + "Minutes", 1);
|
|
21181
|
+
case s:
|
|
21182
|
+
return $2(v2 + "Seconds", 2);
|
|
21183
|
+
case i:
|
|
21184
|
+
return $2(v2 + "Milliseconds", 3);
|
|
21185
|
+
default:
|
|
21186
|
+
return this.clone();
|
|
21187
|
+
}
|
|
21188
|
+
}, m2.endOf = function(t2) {
|
|
21189
|
+
return this.startOf(t2, false);
|
|
21190
|
+
}, m2.$set = function(t2, e2) {
|
|
21191
|
+
var n2, o2 = b.p(t2), f2 = "set" + (this.$u ? "UTC" : ""), l2 = (n2 = {}, n2[a] = f2 + "Date", n2[d] = f2 + "Date", n2[c] = f2 + "Month", n2[h] = f2 + "FullYear", n2[u] = f2 + "Hours", n2[s] = f2 + "Minutes", n2[i] = f2 + "Seconds", n2[r2] = f2 + "Milliseconds", n2)[o2], $2 = o2 === a ? this.$D + (e2 - this.$W) : e2;
|
|
21192
|
+
if (o2 === c || o2 === h) {
|
|
21193
|
+
var y2 = this.clone().set(d, 1);
|
|
21194
|
+
y2.$d[l2]($2), y2.init(), this.$d = y2.set(d, Math.min(this.$D, y2.daysInMonth())).$d;
|
|
21195
|
+
} else l2 && this.$d[l2]($2);
|
|
21196
|
+
return this.init(), this;
|
|
21197
|
+
}, m2.set = function(t2, e2) {
|
|
21198
|
+
return this.clone().$set(t2, e2);
|
|
21199
|
+
}, m2.get = function(t2) {
|
|
21200
|
+
return this[b.p(t2)]();
|
|
21201
|
+
}, m2.add = function(r3, f2) {
|
|
21202
|
+
var d2, l2 = this;
|
|
21203
|
+
r3 = Number(r3);
|
|
21204
|
+
var $2 = b.p(f2), y2 = function(t2) {
|
|
21205
|
+
var e2 = O(l2);
|
|
21206
|
+
return b.w(e2.date(e2.date() + Math.round(t2 * r3)), l2);
|
|
21339
21207
|
};
|
|
21340
|
-
|
|
21341
|
-
|
|
21342
|
-
|
|
21343
|
-
|
|
21344
|
-
|
|
21345
|
-
|
|
21346
|
-
|
|
21347
|
-
|
|
21348
|
-
}
|
|
21349
|
-
var
|
|
21208
|
+
if ($2 === c) return this.set(c, this.$M + r3);
|
|
21209
|
+
if ($2 === h) return this.set(h, this.$y + r3);
|
|
21210
|
+
if ($2 === a) return y2(1);
|
|
21211
|
+
if ($2 === o) return y2(7);
|
|
21212
|
+
var M3 = (d2 = {}, d2[s] = e, d2[u] = n, d2[i] = t, d2)[$2] || 1, m3 = this.$d.getTime() + r3 * M3;
|
|
21213
|
+
return b.w(m3, this);
|
|
21214
|
+
}, m2.subtract = function(t2, e2) {
|
|
21215
|
+
return this.add(-1 * t2, e2);
|
|
21216
|
+
}, m2.format = function(t2) {
|
|
21217
|
+
var e2 = this, n2 = this.$locale();
|
|
21218
|
+
if (!this.isValid()) return n2.invalidDate || l;
|
|
21219
|
+
var r3 = t2 || "YYYY-MM-DDTHH:mm:ssZ", i2 = b.z(this), s2 = this.$H, u2 = this.$m, a2 = this.$M, o2 = n2.weekdays, c2 = n2.months, f2 = n2.meridiem, h2 = function(t3, n3, i3, s3) {
|
|
21220
|
+
return t3 && (t3[n3] || t3(e2, r3)) || i3[n3].slice(0, s3);
|
|
21221
|
+
}, d2 = function(t3) {
|
|
21222
|
+
return b.s(s2 % 12 || 12, t3, "0");
|
|
21223
|
+
}, $2 = f2 || function(t3, e3, n3) {
|
|
21224
|
+
var r4 = t3 < 12 ? "AM" : "PM";
|
|
21225
|
+
return n3 ? r4.toLowerCase() : r4;
|
|
21226
|
+
};
|
|
21227
|
+
return r3.replace(y, function(t3, r4) {
|
|
21228
|
+
return r4 || function(t4) {
|
|
21229
|
+
switch (t4) {
|
|
21230
|
+
case "YY":
|
|
21231
|
+
return String(e2.$y).slice(-2);
|
|
21232
|
+
case "YYYY":
|
|
21233
|
+
return b.s(e2.$y, 4, "0");
|
|
21234
|
+
case "M":
|
|
21235
|
+
return a2 + 1;
|
|
21236
|
+
case "MM":
|
|
21237
|
+
return b.s(a2 + 1, 2, "0");
|
|
21238
|
+
case "MMM":
|
|
21239
|
+
return h2(n2.monthsShort, a2, c2, 3);
|
|
21240
|
+
case "MMMM":
|
|
21241
|
+
return h2(c2, a2);
|
|
21242
|
+
case "D":
|
|
21243
|
+
return e2.$D;
|
|
21244
|
+
case "DD":
|
|
21245
|
+
return b.s(e2.$D, 2, "0");
|
|
21246
|
+
case "d":
|
|
21247
|
+
return String(e2.$W);
|
|
21248
|
+
case "dd":
|
|
21249
|
+
return h2(n2.weekdaysMin, e2.$W, o2, 2);
|
|
21250
|
+
case "ddd":
|
|
21251
|
+
return h2(n2.weekdaysShort, e2.$W, o2, 3);
|
|
21252
|
+
case "dddd":
|
|
21253
|
+
return o2[e2.$W];
|
|
21254
|
+
case "H":
|
|
21255
|
+
return String(s2);
|
|
21256
|
+
case "HH":
|
|
21257
|
+
return b.s(s2, 2, "0");
|
|
21258
|
+
case "h":
|
|
21259
|
+
return d2(1);
|
|
21260
|
+
case "hh":
|
|
21261
|
+
return d2(2);
|
|
21262
|
+
case "a":
|
|
21263
|
+
return $2(s2, u2, true);
|
|
21264
|
+
case "A":
|
|
21265
|
+
return $2(s2, u2, false);
|
|
21266
|
+
case "m":
|
|
21267
|
+
return String(u2);
|
|
21268
|
+
case "mm":
|
|
21269
|
+
return b.s(u2, 2, "0");
|
|
21270
|
+
case "s":
|
|
21271
|
+
return String(e2.$s);
|
|
21272
|
+
case "ss":
|
|
21273
|
+
return b.s(e2.$s, 2, "0");
|
|
21274
|
+
case "SSS":
|
|
21275
|
+
return b.s(e2.$ms, 3, "0");
|
|
21276
|
+
case "Z":
|
|
21277
|
+
return i2;
|
|
21278
|
+
}
|
|
21279
|
+
return null;
|
|
21280
|
+
}(t3) || i2.replace(":", "");
|
|
21281
|
+
});
|
|
21282
|
+
}, m2.utcOffset = function() {
|
|
21283
|
+
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
21284
|
+
}, m2.diff = function(r3, d2, l2) {
|
|
21285
|
+
var $2, y2 = this, M3 = b.p(d2), m3 = O(r3), v2 = (m3.utcOffset() - this.utcOffset()) * e, g2 = this - m3, D2 = function() {
|
|
21286
|
+
return b.m(y2, m3);
|
|
21287
|
+
};
|
|
21288
|
+
switch (M3) {
|
|
21289
|
+
case h:
|
|
21290
|
+
$2 = D2() / 12;
|
|
21291
|
+
break;
|
|
21292
|
+
case c:
|
|
21293
|
+
$2 = D2();
|
|
21294
|
+
break;
|
|
21295
|
+
case f:
|
|
21296
|
+
$2 = D2() / 3;
|
|
21297
|
+
break;
|
|
21298
|
+
case o:
|
|
21299
|
+
$2 = (g2 - v2) / 6048e5;
|
|
21300
|
+
break;
|
|
21301
|
+
case a:
|
|
21302
|
+
$2 = (g2 - v2) / 864e5;
|
|
21303
|
+
break;
|
|
21304
|
+
case u:
|
|
21305
|
+
$2 = g2 / n;
|
|
21306
|
+
break;
|
|
21307
|
+
case s:
|
|
21308
|
+
$2 = g2 / e;
|
|
21309
|
+
break;
|
|
21310
|
+
case i:
|
|
21311
|
+
$2 = g2 / t;
|
|
21312
|
+
break;
|
|
21313
|
+
default:
|
|
21314
|
+
$2 = g2;
|
|
21315
|
+
}
|
|
21316
|
+
return l2 ? $2 : b.a($2);
|
|
21317
|
+
}, m2.daysInMonth = function() {
|
|
21318
|
+
return this.endOf(c).$D;
|
|
21319
|
+
}, m2.$locale = function() {
|
|
21320
|
+
return D[this.$L];
|
|
21321
|
+
}, m2.locale = function(t2, e2) {
|
|
21322
|
+
if (!t2) return this.$L;
|
|
21323
|
+
var n2 = this.clone(), r3 = w2(t2, e2, true);
|
|
21324
|
+
return r3 && (n2.$L = r3), n2;
|
|
21325
|
+
}, m2.clone = function() {
|
|
21326
|
+
return b.w(this.$d, this);
|
|
21327
|
+
}, m2.toDate = function() {
|
|
21328
|
+
return new Date(this.valueOf());
|
|
21329
|
+
}, m2.toJSON = function() {
|
|
21330
|
+
return this.isValid() ? this.toISOString() : null;
|
|
21331
|
+
}, m2.toISOString = function() {
|
|
21332
|
+
return this.$d.toISOString();
|
|
21333
|
+
}, m2.toString = function() {
|
|
21334
|
+
return this.$d.toUTCString();
|
|
21335
|
+
}, M2;
|
|
21336
|
+
}(), k = _.prototype;
|
|
21337
|
+
return O.prototype = k, [["$ms", r2], ["$s", i], ["$m", s], ["$H", u], ["$W", a], ["$M", c], ["$y", h], ["$D", d]].forEach(function(t2) {
|
|
21338
|
+
k[t2[1]] = function(e2) {
|
|
21339
|
+
return this.$g(e2, t2[0], t2[1]);
|
|
21340
|
+
};
|
|
21341
|
+
}), O.extend = function(t2, e2) {
|
|
21342
|
+
return t2.$i || (t2(e2, _, O), t2.$i = true), O;
|
|
21343
|
+
}, O.locale = w2, O.isDayjs = S, O.unix = function(t2) {
|
|
21344
|
+
return O(1e3 * t2);
|
|
21345
|
+
}, O.en = D[g], O.Ls = D, O.p = {}, O;
|
|
21346
|
+
});
|
|
21347
|
+
})(dayjs_min);
|
|
21348
|
+
var dayjs_minExports = dayjs_min.exports;
|
|
21350
21349
|
const dayjs = /* @__PURE__ */ getDefaultExportFromCjs(dayjs_minExports);
|
|
21351
21350
|
var es$2 = { exports: {} };
|
|
21352
21351
|
(function(module, exports) {
|
|
21353
21352
|
!function(e, o) {
|
|
21354
|
-
module.exports = o(
|
|
21353
|
+
module.exports = o(dayjs_minExports);
|
|
21355
21354
|
}(commonjsGlobal, function(e) {
|
|
21356
21355
|
function o(e2) {
|
|
21357
21356
|
return e2 && "object" == typeof e2 && "default" in e2 ? e2 : { default: e2 };
|
|
@@ -67539,6 +67538,7 @@ const Maintenance = ({
|
|
|
67539
67538
|
] }) });
|
|
67540
67539
|
const modal$1 = "pickChannelModal-module_modal_YGDD7";
|
|
67541
67540
|
const body = "pickChannelModal-module_body_X7L60";
|
|
67541
|
+
const compact = "pickChannelModal-module_compact_hD7b-";
|
|
67542
67542
|
const sections = "pickChannelModal-module_sections_VGJ6N";
|
|
67543
67543
|
const section = "pickChannelModal-module_section_BklUc";
|
|
67544
67544
|
const section__title = "pickChannelModal-module_section__title_fBRgI";
|
|
@@ -67546,6 +67546,7 @@ const section__description = "pickChannelModal-module_section__description_Pgidd
|
|
|
67546
67546
|
const styles$g = {
|
|
67547
67547
|
modal: modal$1,
|
|
67548
67548
|
body,
|
|
67549
|
+
compact,
|
|
67549
67550
|
sections,
|
|
67550
67551
|
section,
|
|
67551
67552
|
section__title,
|
|
@@ -67723,24 +67724,29 @@ const ChannelIcon = ({ iconUrl, name }) => /* @__PURE__ */ jsx$1(
|
|
|
67723
67724
|
sx: { height: "36px", maxHeight: "36px", maxWidth: "128px", width: "128px" }
|
|
67724
67725
|
}
|
|
67725
67726
|
);
|
|
67726
|
-
const ChannelCard = ({ channel, onSelect }) =>
|
|
67727
|
-
|
|
67728
|
-
{
|
|
67729
|
-
|
|
67730
|
-
|
|
67731
|
-
|
|
67732
|
-
|
|
67733
|
-
|
|
67734
|
-
)
|
|
67727
|
+
const ChannelCard = ({ channel, onSelect }) => {
|
|
67728
|
+
const { name, iconUrl, disabled: disabled2, tooltipMessage } = channel;
|
|
67729
|
+
return /* @__PURE__ */ jsx$1(WithTooltip, { content: tooltipMessage, shouldShowTooltip: !!tooltipMessage, children: /* @__PURE__ */ jsx$1("div", { children: /* @__PURE__ */ jsx$1(
|
|
67730
|
+
Card,
|
|
67731
|
+
{
|
|
67732
|
+
disabled: disabled2,
|
|
67733
|
+
description: name,
|
|
67734
|
+
sx: { width: "200px", height: "88px" },
|
|
67735
|
+
onClick: () => !disabled2 && onSelect(channel),
|
|
67736
|
+
icon: /* @__PURE__ */ jsx$1(ChannelIcon, { iconUrl, name })
|
|
67737
|
+
}
|
|
67738
|
+
) }) });
|
|
67739
|
+
};
|
|
67735
67740
|
const productecaStrategy = {
|
|
67736
67741
|
clientId: 1,
|
|
67737
67742
|
iconUrl: "https://imagesproducteca.blob.core.windows.net/producteca/isologo-producteca.svg"
|
|
67738
67743
|
};
|
|
67744
|
+
const COMPACT_CARD_THRESHOLD = 6;
|
|
67739
67745
|
const PickChannelModalBase = ({
|
|
67740
67746
|
open,
|
|
67741
67747
|
onClose,
|
|
67742
67748
|
channels,
|
|
67743
|
-
fitContent
|
|
67749
|
+
fitContent,
|
|
67744
67750
|
generalEditionTitle,
|
|
67745
67751
|
channelEditionTitle,
|
|
67746
67752
|
generalEditionDescription,
|
|
@@ -67749,21 +67755,35 @@ const PickChannelModalBase = ({
|
|
|
67749
67755
|
onSelectChannel = () => {
|
|
67750
67756
|
},
|
|
67751
67757
|
titleProps = { title: locale("pickChannelModal.title") }
|
|
67752
|
-
}) =>
|
|
67753
|
-
|
|
67754
|
-
|
|
67755
|
-
|
|
67756
|
-
|
|
67757
|
-
|
|
67758
|
-
|
|
67759
|
-
|
|
67760
|
-
|
|
67761
|
-
|
|
67762
|
-
|
|
67763
|
-
|
|
67764
|
-
|
|
67765
|
-
|
|
67766
|
-
]
|
|
67758
|
+
}) => {
|
|
67759
|
+
const cardCount = (channels?.length ?? 0) + (showGeneralEdition ? 1 : 0);
|
|
67760
|
+
const isCompact = !fitContent && cardCount <= COMPACT_CARD_THRESHOLD;
|
|
67761
|
+
return /* @__PURE__ */ jsxs(
|
|
67762
|
+
Modal2,
|
|
67763
|
+
{
|
|
67764
|
+
open,
|
|
67765
|
+
onClose,
|
|
67766
|
+
size: "md",
|
|
67767
|
+
fitContent,
|
|
67768
|
+
className: clsx(styles$g["modal"], { [styles$g["compact"]]: isCompact }),
|
|
67769
|
+
children: [
|
|
67770
|
+
/* @__PURE__ */ jsx$1(Modal2.Title, { ...titleProps }),
|
|
67771
|
+
/* @__PURE__ */ jsx$1(Modal2.Body, { className: styles$g["body"], children: /* @__PURE__ */ jsxs("div", { className: styles$g["sections"], children: [
|
|
67772
|
+
showGeneralEdition && /* @__PURE__ */ jsxs("section", { className: styles$g["section"], children: [
|
|
67773
|
+
generalEditionTitle && /* @__PURE__ */ jsx$1("h3", { className: styles$g["section__title"], children: generalEditionTitle }),
|
|
67774
|
+
generalEditionDescription && /* @__PURE__ */ jsx$1("p", { className: styles$g["section__description"], children: generalEditionDescription }),
|
|
67775
|
+
/* @__PURE__ */ jsx$1("div", { className: styles$g["cards-grid"], children: /* @__PURE__ */ jsx$1(ChannelCard, { channel: productecaStrategy, onSelect: onSelectChannel }) })
|
|
67776
|
+
] }),
|
|
67777
|
+
/* @__PURE__ */ jsxs("section", { className: styles$g["section"], children: [
|
|
67778
|
+
channelEditionTitle && /* @__PURE__ */ jsx$1("h3", { className: styles$g["section__title"], children: channelEditionTitle }),
|
|
67779
|
+
channelEditionDescription && /* @__PURE__ */ jsx$1("p", { className: styles$g["section__description"], children: channelEditionDescription }),
|
|
67780
|
+
/* @__PURE__ */ jsx$1("div", { className: styles$g["cards-grid"], children: (channels || []).map((channel) => /* @__PURE__ */ jsx$1(ChannelCard, { channel, onSelect: onSelectChannel }, channel.clientId)) })
|
|
67781
|
+
] })
|
|
67782
|
+
] }) })
|
|
67783
|
+
]
|
|
67784
|
+
}
|
|
67785
|
+
);
|
|
67786
|
+
};
|
|
67767
67787
|
const PickChannelModal = withDebugHandlers(PickChannelModalBase, "PickChannelModal");
|
|
67768
67788
|
function getLinearProgressUtilityClass(slot) {
|
|
67769
67789
|
return generateUtilityClass("MuiLinearProgress", slot);
|