doFilter(value2) {
    if (this.filter) {
      const splitFilter = this.filter.split(".");
      let globalFn = globalThis[splitFilter[0]];
      if (globalFn && splitFilter.length > 1) {
        const parts2 = [splitFilter.pop()];
        parts2.forEach((part) => {
          globalFn = globalFn[part];
        });
      }
      if (!globalFn && this.uib === true) globalFn = this.uibuilder[splitFilter[0]];
      if (globalFn && typeof globalFn !== "function") globalFn = void 0;
      if (globalFn) {
        const argList = value2 === void 0 ? [...this.filterArgs] : [value2, ...this.filterArgs];
        value2 = Reflect.apply(globalFn, value2 != null ? value2 : globalFn, argList);
      } else {
        console.warn('\u26A0\uFE0F [uib-var] Filter function "'.concat(this.filter, '" ').concat(typeof globalFn === "object" ? "is an object not a function" : "not found"));
      }
    }
    return value2;
  }
Apply value filter if specified
@param {*} value The value to change
@returns {*} The amended value that will be displayed