getGroupsByPath(path) {
      if (!path) {
        return [];
      }
      const result = /* @__PURE__ */ new Set();
      this.conditionalGroups.forEach((group) => {
        const hasDependency = group.some((item) => {
          if (!item.expression) return false;
          return item.expression.includes(path) || path.startsWith(this.extractBasePath(item.expression));
        });
        if (hasDependency) {
          result.add(group);
        }
      });
      return Array.from(result);
    }
Finds all conditional groups that depend on a specific model path.
- Uses Set to avoid duplicate groups
- Checks direct path matches and path prefix matches
- Filters groups based on their expressions

@param {string} path - The model path to check dependencies against
@returns {Array} Array of unique conditional groups dependent on the path
@private