@mtdt/observeops-ds-elements 0.1.18 → 0.1.20
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.
|
@@ -5187,7 +5187,7 @@ const ga = ':host{display:inline-block}button,input,select,textarea{font-family:
|
|
|
5187
5187
|
} catch {
|
|
5188
5188
|
}
|
|
5189
5189
|
}, { deep: !0 });
|
|
5190
|
-
const Oe = P(() => o.placeholder || "Select"), Ie = (y) => y === "false" || y === !1, st = (y) => y === "true" || y === !0 || y === "", Q = P(() => Ie(o.searchable) ? !1 : st(o.searchable) ? !0 : H.value.length > kd), Ee = P(() => !Ie(o.asInput)), et = (y, D) => typeof y == "string" ? { value: y, label: y } : { value: y.value, label: y.label ?? y.text ?? y.value, disabled: !!y.disabled || D.has(y.value), description: y.description, color: y.color, icon: y.icon }, je = P(() => {
|
|
5190
|
+
const Oe = P(() => o.placeholder || "Select"), Ie = (y) => y === "false" || y === !1, st = (y) => y === "true" || y === !0 || y === "", Q = P(() => o.canUserAddOptions || o.useAfterMenuDescription ? !0 : Ie(o.searchable) ? !1 : st(o.searchable) ? !0 : H.value.length > kd), Ee = P(() => !Ie(o.asInput)), et = (y, D) => typeof y == "string" ? { value: y, label: y, disabled: D.has(y) } : { value: y.value, label: y.label ?? y.text ?? y.value, disabled: !!y.disabled || D.has(y.value), description: y.description, color: y.color, icon: y.icon }, je = P(() => {
|
|
5191
5191
|
const y = new Set(r(o.disabledOptions));
|
|
5192
5192
|
let D = [];
|
|
5193
5193
|
if (Array.isArray(o.options)) D = o.options;
|