discourse/app/assets/javascripts/select-kit/addon/lib
Kelv 6cda3c728a
DEV: refactor select-kit utils mixin to property-utils lib (#32665)
Follow up to refactoring the generic utils mixin used in select-kit
components in https://github.com/discourse/discourse/pull/32594.

This PR follows a different approach as the util functions related to
properties here aren't easily extracted without a major change to the
interface due to the dependency on `this.selectKit`. These util
functions are instead declared on the prototype with a class decorator
which ensures the same behaviour is maintained without relying on a
mixin.

It's largely a lift-and-shift with some minor refactoring of the
conditional logic to reduce nesting and improve readability of the
functions.
2025-05-23 09:03:10 +08:00
..
input-utils.js DEV: replace select-kit utils mixin methods with input-utils lib (#32594) 2025-05-07 09:25:52 +08:00
plugin-api.js
select-kit-prop-utils.js DEV: refactor select-kit utils mixin to property-utils lib (#32665) 2025-05-23 09:03:10 +08:00