1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | 1130x 1130x 870x 788x 119x 669x | import { isEmpty } from './utils.js'; import Part from './Part.js'; export default class QueryComponent extends Part { constructor (rawValue) { super(rawValue); this._isEmpty = isEmpty(rawValue); } isEmpty () { return this._isEmpty; } toLowerCase (condition) { if (this._value === null) { return this; } return super.toLowerCase(condition); } } |