"use strict";

exports.__esModule = true;
exports.DocumentViewUniDriver = DocumentViewUniDriver;
var _unidriver = require("../../../../unidriver");
function DocumentViewUniDriver(base, _body) {
  return {
    ...(0, _unidriver.baseUniDriverFactory)(base),
    hasTag: () => base.$('[data-hook="cell-document-tag"]').exists(),
    getTagText: async () => (await base.$('[data-hook="cell-document-tag"]').text()) ?? '',
    isEmpty: async () => !(await base.$('[data-hook="cell-document-tag"]').exists())
  };
}
//# sourceMappingURL=View.uni.driver.js.map