@bigbinary/neeto-commons-frontend 4.13.36 → 4.13.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (206) hide show
  1. package/README.md +0 -1
  2. package/configs/eslint/index.mjs +0 -1
  3. package/cypress-utils.d.ts +0 -40
  4. package/dist/cjs/{index-CUYe6FO0.js → index-BskY8dVw.js} +6 -4
  5. package/dist/cjs/index-BskY8dVw.js.map +1 -0
  6. package/dist/cjs/react-utils/BrowserPushNotifications/index.js +1 -2
  7. package/dist/cjs/react-utils/BrowserPushNotifications/index.js.map +1 -1
  8. package/dist/cjs/react-utils/BrowserPushNotifications/pushHelper.js +1 -2
  9. package/dist/cjs/react-utils/BrowserPushNotifications/pushHelper.js.map +1 -1
  10. package/dist/cjs/react-utils/BrowserPushNotifications/registerServiceWorker.js +1 -2
  11. package/dist/cjs/react-utils/BrowserPushNotifications/registerServiceWorker.js.map +1 -1
  12. package/dist/cjs/react-utils/index.js +1 -2
  13. package/dist/cjs/react-utils/index.js.map +1 -1
  14. package/dist/cjs/react-utils/useFetchNeetoApps/index.js +1 -2
  15. package/dist/cjs/react-utils/useFetchNeetoApps/index.js.map +1 -1
  16. package/dist/cjs/react-utils/useFetchNeetoApps/useFetchNeetoApps.js +1 -2
  17. package/dist/cjs/react-utils/useFetchNeetoApps/useFetchNeetoApps.js.map +1 -1
  18. package/dist/cjs/react-utils/useLocalStorage/index.js +1 -2
  19. package/dist/cjs/react-utils/useLocalStorage/index.js.map +1 -1
  20. package/dist/cjs/react-utils/useLocalStorage/useLocalStorage.js +1 -2
  21. package/dist/cjs/react-utils/useLocalStorage/useLocalStorage.js.map +1 -1
  22. package/dist/cjs/react-utils/usePersistedQuery/index.js +1 -2
  23. package/dist/cjs/react-utils/usePersistedQuery/index.js.map +1 -1
  24. package/dist/cjs/react-utils/usePersistedQuery/usePersistedQuery.js +1 -2
  25. package/dist/cjs/react-utils/usePersistedQuery/usePersistedQuery.js.map +1 -1
  26. package/dist/cjs/react-utils/useQueryParams/index.js +1 -2
  27. package/dist/cjs/react-utils/useQueryParams/index.js.map +1 -1
  28. package/dist/cjs/react-utils/useQueryParams/useQueryParams.js +1 -2
  29. package/dist/cjs/react-utils/useQueryParams/useQueryParams.js.map +1 -1
  30. package/dist/cjs/react-utils/useRegisterNavigationCheckpoint/index.js +1 -2
  31. package/dist/cjs/react-utils/useRegisterNavigationCheckpoint/index.js.map +1 -1
  32. package/dist/cjs/react-utils/useRegisterNavigationCheckpoint/useRegisterNavigationCheckpoint.js +1 -2
  33. package/dist/cjs/react-utils/useRegisterNavigationCheckpoint/useRegisterNavigationCheckpoint.js.map +1 -1
  34. package/dist/cjs/utils/createSubscription.js +1 -2
  35. package/dist/cjs/utils/createSubscription.js.map +1 -1
  36. package/dist/cjs/utils/general.js +1 -2
  37. package/dist/cjs/utils/general.js.map +1 -1
  38. package/dist/cjs/utils/index.js +1 -2
  39. package/dist/cjs/utils/index.js.map +1 -1
  40. package/dist/{index-COfUw8MU.js → index-CoBEoJgD.js} +5 -3
  41. package/dist/index-CoBEoJgD.js.map +1 -0
  42. package/dist/react-utils/BrowserPushNotifications/index.js +1 -2
  43. package/dist/react-utils/BrowserPushNotifications/index.js.map +1 -1
  44. package/dist/react-utils/BrowserPushNotifications/pushHelper.js +1 -2
  45. package/dist/react-utils/BrowserPushNotifications/pushHelper.js.map +1 -1
  46. package/dist/react-utils/BrowserPushNotifications/registerServiceWorker.js +1 -2
  47. package/dist/react-utils/BrowserPushNotifications/registerServiceWorker.js.map +1 -1
  48. package/dist/react-utils/index.js +1 -2
  49. package/dist/react-utils/index.js.map +1 -1
  50. package/dist/react-utils/useFetchNeetoApps/index.js +1 -2
  51. package/dist/react-utils/useFetchNeetoApps/index.js.map +1 -1
  52. package/dist/react-utils/useFetchNeetoApps/useFetchNeetoApps.js +1 -2
  53. package/dist/react-utils/useFetchNeetoApps/useFetchNeetoApps.js.map +1 -1
  54. package/dist/react-utils/useLocalStorage/index.js +1 -2
  55. package/dist/react-utils/useLocalStorage/index.js.map +1 -1
  56. package/dist/react-utils/useLocalStorage/useLocalStorage.js +1 -2
  57. package/dist/react-utils/useLocalStorage/useLocalStorage.js.map +1 -1
  58. package/dist/react-utils/usePersistedQuery/index.js +1 -2
  59. package/dist/react-utils/usePersistedQuery/index.js.map +1 -1
  60. package/dist/react-utils/usePersistedQuery/usePersistedQuery.js +1 -2
  61. package/dist/react-utils/usePersistedQuery/usePersistedQuery.js.map +1 -1
  62. package/dist/react-utils/useQueryParams/index.js +1 -2
  63. package/dist/react-utils/useQueryParams/index.js.map +1 -1
  64. package/dist/react-utils/useQueryParams/useQueryParams.js +1 -2
  65. package/dist/react-utils/useQueryParams/useQueryParams.js.map +1 -1
  66. package/dist/react-utils/useRegisterNavigationCheckpoint/index.js +1 -2
  67. package/dist/react-utils/useRegisterNavigationCheckpoint/index.js.map +1 -1
  68. package/dist/react-utils/useRegisterNavigationCheckpoint/useRegisterNavigationCheckpoint.js +1 -2
  69. package/dist/react-utils/useRegisterNavigationCheckpoint/useRegisterNavigationCheckpoint.js.map +1 -1
  70. package/dist/utils/createSubscription.js +1 -2
  71. package/dist/utils/createSubscription.js.map +1 -1
  72. package/dist/utils/general.js +1 -2
  73. package/dist/utils/general.js.map +1 -1
  74. package/dist/utils/index.js +1 -2
  75. package/dist/utils/index.js.map +1 -1
  76. package/package.json +1 -11
  77. package/cypress-configs/initializer.js +0 -32
  78. package/cypress-configs/plugins.js +0 -114
  79. package/cypress-configs/resolve.js +0 -17
  80. package/cypress-configs/webpack.config.js +0 -19
  81. package/dist/_commonjsHelpers-B85MJLTf.js +0 -6
  82. package/dist/_commonjsHelpers-B85MJLTf.js.map +0 -1
  83. package/dist/cjs/_commonjsHelpers-CFO10eej.js +0 -8
  84. package/dist/cjs/_commonjsHelpers-CFO10eej.js.map +0 -1
  85. package/dist/cjs/cypress-utils/.eslintrc.js +0 -40
  86. package/dist/cjs/cypress-utils/.eslintrc.js.map +0 -1
  87. package/dist/cjs/cypress-utils/commands.js +0 -288
  88. package/dist/cjs/cypress-utils/commands.js.map +0 -1
  89. package/dist/cjs/cypress-utils/constants/index.js +0 -11
  90. package/dist/cjs/cypress-utils/constants/index.js.map +0 -1
  91. package/dist/cjs/cypress-utils/constants/routes.js +0 -41
  92. package/dist/cjs/cypress-utils/constants/routes.js.map +0 -1
  93. package/dist/cjs/cypress-utils/constants/selectors/common.js +0 -104
  94. package/dist/cjs/cypress-utils/constants/selectors/common.js.map +0 -1
  95. package/dist/cjs/cypress-utils/constants/selectors/editor.js +0 -30
  96. package/dist/cjs/cypress-utils/constants/selectors/editor.js.map +0 -1
  97. package/dist/cjs/cypress-utils/constants/selectors/ipRestriction.js +0 -20
  98. package/dist/cjs/cypress-utils/constants/selectors/ipRestriction.js.map +0 -1
  99. package/dist/cjs/cypress-utils/constants/selectors/login.js +0 -22
  100. package/dist/cjs/cypress-utils/constants/selectors/login.js.map +0 -1
  101. package/dist/cjs/cypress-utils/constants/selectors/member.js +0 -67
  102. package/dist/cjs/cypress-utils/constants/selectors/member.js.map +0 -1
  103. package/dist/cjs/cypress-utils/constants/selectors/navigation.js +0 -29
  104. package/dist/cjs/cypress-utils/constants/selectors/navigation.js.map +0 -1
  105. package/dist/cjs/cypress-utils/constants/selectors/roles.js +0 -22
  106. package/dist/cjs/cypress-utils/constants/selectors/roles.js.map +0 -1
  107. package/dist/cjs/cypress-utils/constants/selectors/signUp.js +0 -24
  108. package/dist/cjs/cypress-utils/constants/selectors/signUp.js.map +0 -1
  109. package/dist/cjs/cypress-utils/constants/selectors/tags.js +0 -32
  110. package/dist/cjs/cypress-utils/constants/selectors/tags.js.map +0 -1
  111. package/dist/cjs/cypress-utils/constants/texts/common.js +0 -37
  112. package/dist/cjs/cypress-utils/constants/texts/common.js.map +0 -1
  113. package/dist/cjs/cypress-utils/constants/texts/member.js +0 -65
  114. package/dist/cjs/cypress-utils/constants/texts/member.js.map +0 -1
  115. package/dist/cjs/cypress-utils/constants/texts/navigation.js +0 -21
  116. package/dist/cjs/cypress-utils/constants/texts/navigation.js.map +0 -1
  117. package/dist/cjs/cypress-utils/constants/texts/roles.js +0 -22
  118. package/dist/cjs/cypress-utils/constants/texts/roles.js.map +0 -1
  119. package/dist/cjs/cypress-utils/constants/texts/signUp.js +0 -11
  120. package/dist/cjs/cypress-utils/constants/texts/signUp.js.map +0 -1
  121. package/dist/cjs/cypress-utils/constants/texts/tags.js +0 -25
  122. package/dist/cjs/cypress-utils/constants/texts/tags.js.map +0 -1
  123. package/dist/cjs/cypress-utils/fixtures/fake.js +0 -175
  124. package/dist/cjs/cypress-utils/fixtures/fake.js.map +0 -1
  125. package/dist/cjs/cypress-utils/index.js +0 -72
  126. package/dist/cjs/cypress-utils/index.js.map +0 -1
  127. package/dist/cjs/cypress-utils/jsconfig.js +0 -33
  128. package/dist/cjs/cypress-utils/jsconfig.js.map +0 -1
  129. package/dist/cjs/cypress-utils/utils/authentication.js +0 -50
  130. package/dist/cjs/cypress-utils/utils/authentication.js.map +0 -1
  131. package/dist/cjs/cypress-utils/utils/common.js +0 -90
  132. package/dist/cjs/cypress-utils/utils/common.js.map +0 -1
  133. package/dist/cjs/cypress-utils/utils/date.js +0 -25
  134. package/dist/cjs/cypress-utils/utils/date.js.map +0 -1
  135. package/dist/cjs/cypress-utils/utils/email.js +0 -163
  136. package/dist/cjs/cypress-utils/utils/email.js.map +0 -1
  137. package/dist/cjs/cypress-utils/utils/member.js +0 -353
  138. package/dist/cjs/cypress-utils/utils/member.js.map +0 -1
  139. package/dist/cjs/cypress-utils/utils/navigation.js +0 -214
  140. package/dist/cjs/cypress-utils/utils/navigation.js.map +0 -1
  141. package/dist/cjs/cypress-utils/utils/organization.js +0 -110
  142. package/dist/cjs/cypress-utils/utils/organization.js.map +0 -1
  143. package/dist/cjs/cypress-utils/utils/validation.js +0 -19
  144. package/dist/cjs/cypress-utils/utils/validation.js.map +0 -1
  145. package/dist/cjs/index-CUYe6FO0.js.map +0 -1
  146. package/dist/cypress-utils/.eslintrc.js +0 -38
  147. package/dist/cypress-utils/.eslintrc.js.map +0 -1
  148. package/dist/cypress-utils/commands.js +0 -286
  149. package/dist/cypress-utils/commands.js.map +0 -1
  150. package/dist/cypress-utils/constants/index.js +0 -9
  151. package/dist/cypress-utils/constants/index.js.map +0 -1
  152. package/dist/cypress-utils/constants/routes.js +0 -38
  153. package/dist/cypress-utils/constants/routes.js.map +0 -1
  154. package/dist/cypress-utils/constants/selectors/common.js +0 -100
  155. package/dist/cypress-utils/constants/selectors/common.js.map +0 -1
  156. package/dist/cypress-utils/constants/selectors/editor.js +0 -28
  157. package/dist/cypress-utils/constants/selectors/editor.js.map +0 -1
  158. package/dist/cypress-utils/constants/selectors/ipRestriction.js +0 -18
  159. package/dist/cypress-utils/constants/selectors/ipRestriction.js.map +0 -1
  160. package/dist/cypress-utils/constants/selectors/login.js +0 -20
  161. package/dist/cypress-utils/constants/selectors/login.js.map +0 -1
  162. package/dist/cypress-utils/constants/selectors/member.js +0 -63
  163. package/dist/cypress-utils/constants/selectors/member.js.map +0 -1
  164. package/dist/cypress-utils/constants/selectors/navigation.js +0 -26
  165. package/dist/cypress-utils/constants/selectors/navigation.js.map +0 -1
  166. package/dist/cypress-utils/constants/selectors/roles.js +0 -20
  167. package/dist/cypress-utils/constants/selectors/roles.js.map +0 -1
  168. package/dist/cypress-utils/constants/selectors/signUp.js +0 -22
  169. package/dist/cypress-utils/constants/selectors/signUp.js.map +0 -1
  170. package/dist/cypress-utils/constants/selectors/tags.js +0 -29
  171. package/dist/cypress-utils/constants/selectors/tags.js.map +0 -1
  172. package/dist/cypress-utils/constants/texts/common.js +0 -35
  173. package/dist/cypress-utils/constants/texts/common.js.map +0 -1
  174. package/dist/cypress-utils/constants/texts/member.js +0 -61
  175. package/dist/cypress-utils/constants/texts/member.js.map +0 -1
  176. package/dist/cypress-utils/constants/texts/navigation.js +0 -18
  177. package/dist/cypress-utils/constants/texts/navigation.js.map +0 -1
  178. package/dist/cypress-utils/constants/texts/roles.js +0 -20
  179. package/dist/cypress-utils/constants/texts/roles.js.map +0 -1
  180. package/dist/cypress-utils/constants/texts/signUp.js +0 -9
  181. package/dist/cypress-utils/constants/texts/signUp.js.map +0 -1
  182. package/dist/cypress-utils/constants/texts/tags.js +0 -23
  183. package/dist/cypress-utils/constants/texts/tags.js.map +0 -1
  184. package/dist/cypress-utils/fixtures/fake.js +0 -173
  185. package/dist/cypress-utils/fixtures/fake.js.map +0 -1
  186. package/dist/cypress-utils/index.js +0 -28
  187. package/dist/cypress-utils/index.js.map +0 -1
  188. package/dist/cypress-utils/jsconfig.js +0 -26
  189. package/dist/cypress-utils/jsconfig.js.map +0 -1
  190. package/dist/cypress-utils/utils/authentication.js +0 -48
  191. package/dist/cypress-utils/utils/authentication.js.map +0 -1
  192. package/dist/cypress-utils/utils/common.js +0 -78
  193. package/dist/cypress-utils/utils/common.js.map +0 -1
  194. package/dist/cypress-utils/utils/date.js +0 -23
  195. package/dist/cypress-utils/utils/date.js.map +0 -1
  196. package/dist/cypress-utils/utils/email.js +0 -160
  197. package/dist/cypress-utils/utils/email.js.map +0 -1
  198. package/dist/cypress-utils/utils/member.js +0 -351
  199. package/dist/cypress-utils/utils/member.js.map +0 -1
  200. package/dist/cypress-utils/utils/navigation.js +0 -212
  201. package/dist/cypress-utils/utils/navigation.js.map +0 -1
  202. package/dist/cypress-utils/utils/organization.js +0 -108
  203. package/dist/cypress-utils/utils/organization.js.map +0 -1
  204. package/dist/cypress-utils/utils/validation.js +0 -17
  205. package/dist/cypress-utils/utils/validation.js.map +0 -1
  206. package/dist/index-COfUw8MU.js.map +0 -1
@@ -1,286 +0,0 @@
1
- import { _ as _defineProperty } from '../defineProperty-CrCYjjU3.js';
2
- import { _ as _toConsumableArray } from '../toConsumableArray-B7CFjjkW.js';
3
- import { _ as _typeof } from '../typeof-D-UKOauR.js';
4
- import { requestApis } from './constants/routes.js';
5
- import { commonSelectors } from './constants/selectors/common.js';
6
- import { commonTexts } from './constants/texts/common.js';
7
- import { isStagingEnv } from './utils/common.js';
8
- import '../unsupportedIterableToArray-Dqz8Y8_I.js';
9
- import './constants/index.js';
10
-
11
- function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
12
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), true).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
13
- var initCustomCommands = function initCustomCommands() {
14
- Cypress.Commands.add("clearAndType", function (selector, text) {
15
- cy.get(selector).clear().type(text);
16
- });
17
- Cypress.Commands.add("clearAndTypeFast", function (selector, text) {
18
- cy.get(selector).clear().type(text, {
19
- delay: 0
20
- });
21
- });
22
- Cypress.Commands.add("clearByClickAndTypeFast", function (selector, text) {
23
- cy.get(selector).click().clear().type(text, {
24
- delay: 0
25
- });
26
- });
27
- Cypress.Commands.add("typeFast", function (selector, text) {
28
- cy.get(selector).type(text, {
29
- delay: 0
30
- });
31
- });
32
- Cypress.Commands.add("typeAndEnter", function (selector, text) {
33
- cy.get(selector).clear().type("".concat(text, "{enter}"));
34
- });
35
- Cypress.Commands.add("verifyToastMessage", function (message) {
36
- cy.get(commonSelectors.toastMessage).should("be.visible").should("have.text", message);
37
-
38
- // close toast message
39
- cy.get(commonSelectors.toastCloseButton).click();
40
- cy.get(commonSelectors.toastMessage).should("not.exist");
41
- });
42
- Cypress.Commands.add("verifyToastIcon", function () {
43
- var closeToastr = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;
44
- cy.document().its("body").find(commonSelectors.toastIcon).should("have.text", "👍");
45
- closeToastr && cy.document().its("body").find(commonSelectors.toastCloseButton).click();
46
- cy.document().its("body").find(commonSelectors.toastIcon).should("not.exist");
47
- });
48
- Cypress.Commands.add("continueOnAlert", function (args) {
49
- var props = _typeof(args) === "object" ? args : {
50
- alias: args
51
- };
52
- var alias = props.alias,
53
- title = props.title,
54
- _props$requestCount = props.requestCount,
55
- requestCount = _props$requestCount === void 0 ? 1 : _props$requestCount,
56
- verifyToastIcon = props.verifyToastIcon,
57
- toastMessage = props.toastMessage;
58
- var hasMoreThanOneRequest = requestCount > 1;
59
- title && cy.get(commonSelectors.alertTitle).should("have.text", title);
60
- cy.interceptApi(alias, requestCount);
61
- cy.get(commonSelectors.alertModalSubmitButton).click();
62
- cy.wait("@".concat(alias));
63
- verifyToastIcon && cy.verifyToastIcon();
64
- toastMessage && cy.verifyToastMessage(toastMessage);
65
- hasMoreThanOneRequest && cy.waitForMultipleRequest("@".concat(alias), requestCount - 1);
66
- });
67
- Cypress.Commands.add("interceptApi", function (alias) {
68
- var times = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;
69
- return times > 0 && cy.intercept({
70
- url: requestApis.allPath,
71
- resourceType: "xhr",
72
- times: times
73
- }).as(alias);
74
- });
75
- Cypress.Commands.add("waitForMultipleRequest", function (alias) {
76
- var times = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;
77
- return cy.wrap(_toConsumableArray(new Array(times))).each(function () {
78
- return cy.wait(alias);
79
- });
80
- });
81
- Cypress.Commands.add("apiRequest", function (options) {
82
- return cy.get("@requestHeaders").then(function (requestHeaders) {
83
- return requestHeaders ? cy.request(_objectSpread(_objectSpread({}, options), {}, {
84
- headers: _objectSpread(_objectSpread({}, requestHeaders), {}, {
85
- "accept-encoding": "gzip"
86
- })
87
- })) : cy.log("No request headers found");
88
- });
89
- });
90
- Cypress.Commands.add("reloadAndWait", function () {
91
- var requestCount = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
92
- if (!(requestCount > 0)) return;
93
- cy.interceptApi("reloadAllRequests", requestCount);
94
- cy.reload();
95
- cy.waitForMultipleRequest("@reloadAllRequests", requestCount);
96
- });
97
- Cypress.Commands.add("selectOption", function (containerSelector, optionText) {
98
- cy.get(containerSelector).click().type(optionText);
99
- cy.get(commonSelectors.selectOption(optionText)).invoke("click");
100
- });
101
- Cypress.Commands.add("clickDropdownOption", function (optionText) {
102
- var dropdownSelector = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : commonSelectors.dropdownIcon;
103
- cy.get(dropdownSelector).click();
104
- cy.get(commonSelectors.dropdownContainer).contains(optionText).invoke("click");
105
- });
106
- Cypress.Commands.add("getText", function (selector) {
107
- return cy.get(selector).invoke("text");
108
- });
109
- Cypress.Commands.add("getValue", function (selector) {
110
- return cy.get(selector).invoke("val");
111
- });
112
-
113
- // Deprecated. Use withinIframe.
114
- Cypress.Commands.add("getIframe", function (iframeSelector) {
115
- return cy.get(iframeSelector).its("0.contentDocument.body").should("not.be.empty");
116
- });
117
- Cypress.Commands.add("withinIframe", function (selector, callback) {
118
- cy.get(selector, {
119
- timeout: 10000
120
- }).its("0.contentDocument.body").should("be.visible").and("not.be.empty");
121
- cy.get(selector, {
122
- timeout: 10000
123
- }).its("0.contentDocument.body").eq(0).within(callback);
124
- });
125
- Cypress.Commands.add("openInSameTabOnClick", function (_ref) {
126
- var url = _ref.url,
127
- alias = _ref.alias,
128
- selector = _ref.selector;
129
- cy.window().then(function (win) {
130
- cy.stub(win, "open").as(alias)
131
- // eslint-disable-next-line xss/no-location-href-assign
132
- .callsFake(function (newUrl) {
133
- return win.location.href = newUrl;
134
- });
135
- });
136
- cy.get(selector).click();
137
- cy.get("@".concat(alias)).should("be.called");
138
- cy.url().should("include", url);
139
- });
140
- Cypress.Commands.add("globalState", function (key) {
141
- return cy.task("getGlobalState", key);
142
- });
143
- Cypress.Commands.add("ifExist", function (selector, callback) {
144
- cy.get(commonSelectors.body).then(function ($body) {
145
- if ($body.find(selector).length) callback();
146
- });
147
- });
148
- Cypress.Commands.add("ifNotExist", function (selector, callback) {
149
- cy.get(commonSelectors.body).then(function ($body) {
150
- if (!$body.find(selector).length) callback();
151
- });
152
- });
153
- Cypress.Commands.add("dragAndDrop", function (_ref2) {
154
- var subject = _ref2.subject,
155
- target = _ref2.target,
156
- _ref2$dragIndex = _ref2.dragIndex,
157
- dragIndex = _ref2$dragIndex === void 0 ? 0 : _ref2$dragIndex,
158
- _ref2$dropIndex = _ref2.dropIndex,
159
- dropIndex = _ref2$dropIndex === void 0 ? 0 : _ref2$dropIndex;
160
- cy.get(subject).should("be.visible", {
161
- timeout: 20000
162
- });
163
- Cypress.log({
164
- name: "DRAGNDROP",
165
- message: "Dragging element ".concat(subject, " to ").concat(target),
166
- consoleProps: function consoleProps() {
167
- return {
168
- subject: subject,
169
- target: target
170
- };
171
- }
172
- });
173
- cy.get(target).eq(dropIndex).then(function ($target) {
174
- var coordsDrop = $target[0].getBoundingClientRect();
175
- cy.get(subject).eq(dragIndex).then(function (subject) {
176
- var coordsDrag = subject[0].getBoundingClientRect();
177
- cy.wrap(subject).trigger("mousedown", {
178
- button: 0,
179
- // BUTTON_INDEX
180
- clientX: coordsDrag.x,
181
- clientY: coordsDrag.y,
182
- force: true
183
- }).trigger("mousemove", {
184
- button: 0,
185
- // BUTTON_INDEX
186
- clientX: coordsDrag.x + 10,
187
- // SLOPPY_CLICK_THRESHOLD
188
- clientY: coordsDrag.y,
189
- force: true
190
- });
191
- cy.get("body").trigger("mousemove", {
192
- button: 0,
193
- // BUTTON_INDEX
194
- clientX: coordsDrop.x,
195
- clientY: coordsDrop.y,
196
- force: true
197
- }).trigger("mouseup");
198
- });
199
- });
200
- });
201
- Cypress.Commands.add("verifyPlaceholder", function (textInputSelector, value) {
202
- cy.get(textInputSelector).should("have.attr", "placeholder").and("eq", value);
203
- });
204
- Cypress.Commands.add("enableOrDisableSwitch", function (switchButton, value) {
205
- cy.get(switchButton).invoke("click");
206
- cy.get(switchButton).should("have.prop", "value").and("eq", value);
207
- });
208
- Cypress.Commands.add("interceptNonVersionedApi", function (_ref3) {
209
- var _ref3$url = _ref3.url,
210
- url = _ref3$url === void 0 ? "*" : _ref3$url,
211
- alias = _ref3.alias,
212
- _ref3$times = _ref3.times,
213
- times = _ref3$times === void 0 ? 1 : _ref3$times;
214
- cy.intercept({
215
- url: url,
216
- times: times
217
- }).as(alias);
218
- });
219
- Cypress.Commands.add("typeOnSearchField", function (_ref4) {
220
- var selector = _ref4.selector,
221
- value = _ref4.value,
222
- _ref4$skipSearchReque = _ref4.skipSearchRequest,
223
- skipSearchRequest = _ref4$skipSearchReque === void 0 ? true : _ref4$skipSearchReque,
224
- delay = _ref4.delay;
225
- cy.get(selector).invoke("val").then(function (currentValue) {
226
- if (currentValue !== value) {
227
- !skipSearchRequest && cy.interceptApi("searchRequest");
228
- cy.clearAndTypeFast(selector, value);
229
- !skipSearchRequest && cy.wait("@searchRequest");
230
- } else delay && cy.wait(delay);
231
- });
232
- });
233
- Cypress.Commands.add("clickByRemoveTargetAttr", function (selector) {
234
- cy.get(selector).invoke("removeAttr", "target").click();
235
- });
236
- Cypress.Commands.add("navigateToPreviewPage", function (selector) {
237
- var fetchRequestCount = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;
238
- cy.interceptApi("fetchRequests", fetchRequestCount);
239
- cy.clickByRemoveTargetAttr(selector);
240
- fetchRequestCount === 1 ? cy.wait("@fetchRequests") : cy.waitForMultipleRequest("@fetchRequests", fetchRequestCount);
241
- });
242
- Cypress.Commands.add("saveChanges", function (aliasName) {
243
- var requestCount = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;
244
- cy.interceptApi(aliasName, requestCount);
245
- cy.get(commonSelectors.saveChangesButton).click();
246
- cy.wait("@".concat(aliasName));
247
- cy.verifyToastIcon();
248
- requestCount > 1 && cy.waitForMultipleRequest("@".concat(aliasName), requestCount - 1);
249
- });
250
- Cypress.Commands.add("verifyAttribute", function (_ref5) {
251
- var selector = _ref5.selector,
252
- attr = _ref5.attr,
253
- value = _ref5.value;
254
- cy.get(selector).should("have.attr", attr).and("include", value);
255
- });
256
- Cypress.Commands.add("verifyUnsavedAlertModal", function (cancelButton) {
257
- cy.get(cancelButton).click();
258
- cy.get(commonSelectors.alertTitle).should("have.text", commonTexts.unsavedChangesAlertTitle);
259
- cy.get(commonSelectors.alertMessage).should("have.text", commonTexts.unsavedChangesAlertMessage);
260
- });
261
- Cypress.Commands.add("verifyTooltip", function (selector, text) {
262
- cy.get(selector).realHover();
263
- cy.document().its("body").find(commonSelectors.tooltip).should("have.text", text);
264
- cy.document().find("body").click("topRight", {
265
- force: true
266
- });
267
- cy.document().its("body").find(commonSelectors.tooltip).should("not.exist");
268
- });
269
- Cypress.Commands.add("getEmailContent", function (props, options) {
270
- return cy.mailosaurGetMessage(Cypress.env("MAILOSAUR_SERVER_ID"), props, options);
271
- });
272
- Cypress.Commands.add("rewriteHeaders", function () {
273
- if (!isStagingEnv) return;
274
- cy.intercept("*", function (req) {
275
- return req.on("response", function (res) {
276
- var setCookies = res.headers["set-cookie"];
277
- res.headers["set-cookie"] = (Array.isArray(setCookies) ? setCookies : [setCookies]).filter(Boolean).map(function (headerContent) {
278
- return headerContent.concat("secure; samesite=none");
279
- });
280
- });
281
- });
282
- });
283
- };
284
-
285
- export { initCustomCommands };
286
- //# sourceMappingURL=commands.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"commands.js","sources":["../../src/cypress-utils/commands.js"],"sourcesContent":["import { requestApis } from \"./constants/routes\";\nimport { commonSelectors } from \"./constants/selectors/common\";\nimport { commonTexts } from \"./constants/texts/common\";\nimport { isStagingEnv } from \"./utils/common\";\n\nexport const initCustomCommands = () => {\n Cypress.Commands.add(\"clearAndType\", (selector, text) => {\n cy.get(selector).clear().type(text);\n });\n\n Cypress.Commands.add(\"clearAndTypeFast\", (selector, text) => {\n cy.get(selector).clear().type(text, { delay: 0 });\n });\n\n Cypress.Commands.add(\"clearByClickAndTypeFast\", (selector, text) => {\n cy.get(selector).click().clear().type(text, { delay: 0 });\n });\n\n Cypress.Commands.add(\"typeFast\", (selector, text) => {\n cy.get(selector).type(text, { delay: 0 });\n });\n\n Cypress.Commands.add(\"typeAndEnter\", (selector, text) => {\n cy.get(selector).clear().type(`${text}{enter}`);\n });\n\n Cypress.Commands.add(\"verifyToastMessage\", message => {\n cy.get(commonSelectors.toastMessage)\n .should(\"be.visible\")\n .should(\"have.text\", message);\n\n // close toast message\n cy.get(commonSelectors.toastCloseButton).click();\n cy.get(commonSelectors.toastMessage).should(\"not.exist\");\n });\n\n Cypress.Commands.add(\"verifyToastIcon\", (closeToastr = true) => {\n cy.document()\n .its(\"body\")\n .find(commonSelectors.toastIcon)\n .should(\"have.text\", \"👍\");\n\n closeToastr &&\n cy.document().its(\"body\").find(commonSelectors.toastCloseButton).click();\n\n cy.document()\n .its(\"body\")\n .find(commonSelectors.toastIcon)\n .should(\"not.exist\");\n });\n\n Cypress.Commands.add(\"continueOnAlert\", args => {\n const props = typeof args === \"object\" ? args : { alias: args };\n const {\n alias,\n title,\n requestCount = 1,\n verifyToastIcon,\n toastMessage,\n } = props;\n const hasMoreThanOneRequest = requestCount > 1;\n\n title && cy.get(commonSelectors.alertTitle).should(\"have.text\", title);\n cy.interceptApi(alias, requestCount);\n cy.get(commonSelectors.alertModalSubmitButton).click();\n cy.wait(`@${alias}`);\n verifyToastIcon && cy.verifyToastIcon();\n toastMessage && cy.verifyToastMessage(toastMessage);\n hasMoreThanOneRequest &&\n cy.waitForMultipleRequest(`@${alias}`, requestCount - 1);\n });\n\n Cypress.Commands.add(\n \"interceptApi\",\n (alias, times = 1) =>\n times > 0 &&\n cy\n .intercept({ url: requestApis.allPath, resourceType: \"xhr\", times })\n .as(alias)\n );\n\n Cypress.Commands.add(\"waitForMultipleRequest\", (alias, times = 1) =>\n cy.wrap([...new Array(times)]).each(() => cy.wait(alias))\n );\n\n Cypress.Commands.add(\"apiRequest\", options =>\n cy.get(\"@requestHeaders\").then(requestHeaders =>\n requestHeaders\n ? cy.request({\n ...options,\n headers: { ...requestHeaders, \"accept-encoding\": \"gzip\" },\n })\n : cy.log(\"No request headers found\")\n )\n );\n\n Cypress.Commands.add(\"reloadAndWait\", (requestCount = 0) => {\n if (!(requestCount > 0)) return;\n cy.interceptApi(\"reloadAllRequests\", requestCount);\n cy.reload();\n cy.waitForMultipleRequest(\"@reloadAllRequests\", requestCount);\n });\n\n Cypress.Commands.add(\"selectOption\", (containerSelector, optionText) => {\n cy.get(containerSelector).click().type(optionText);\n cy.get(commonSelectors.selectOption(optionText)).invoke(\"click\");\n });\n\n Cypress.Commands.add(\n \"clickDropdownOption\",\n (optionText, dropdownSelector = commonSelectors.dropdownIcon) => {\n cy.get(dropdownSelector).click();\n cy.get(commonSelectors.dropdownContainer)\n .contains(optionText)\n .invoke(\"click\");\n }\n );\n\n Cypress.Commands.add(\"getText\", selector => cy.get(selector).invoke(\"text\"));\n\n Cypress.Commands.add(\"getValue\", selector => cy.get(selector).invoke(\"val\"));\n\n // Deprecated. Use withinIframe.\n Cypress.Commands.add(\"getIframe\", iframeSelector =>\n cy.get(iframeSelector).its(\"0.contentDocument.body\").should(\"not.be.empty\")\n );\n\n Cypress.Commands.add(\"withinIframe\", (selector, callback) => {\n cy.get(selector, { timeout: 10000 })\n .its(\"0.contentDocument.body\")\n .should(\"be.visible\")\n .and(\"not.be.empty\");\n\n cy.get(selector, { timeout: 10000 })\n .its(\"0.contentDocument.body\")\n .eq(0)\n .within(callback);\n });\n\n Cypress.Commands.add(\"openInSameTabOnClick\", ({ url, alias, selector }) => {\n cy.window().then(win => {\n cy.stub(win, \"open\")\n .as(alias)\n // eslint-disable-next-line xss/no-location-href-assign\n .callsFake(newUrl => (win.location.href = newUrl));\n });\n cy.get(selector).click();\n cy.get(`@${alias}`).should(\"be.called\");\n cy.url().should(\"include\", url);\n });\n\n Cypress.Commands.add(\"globalState\", key => cy.task(\"getGlobalState\", key));\n\n Cypress.Commands.add(\"ifExist\", (selector, callback) => {\n cy.get(commonSelectors.body).then($body => {\n if ($body.find(selector).length) callback();\n });\n });\n\n Cypress.Commands.add(\"ifNotExist\", (selector, callback) => {\n cy.get(commonSelectors.body).then($body => {\n if (!$body.find(selector).length) callback();\n });\n });\n\n Cypress.Commands.add(\n \"dragAndDrop\",\n ({ subject, target, dragIndex = 0, dropIndex = 0 }) => {\n cy.get(subject).should(\"be.visible\", { timeout: 20000 });\n Cypress.log({\n name: \"DRAGNDROP\",\n message: `Dragging element ${subject} to ${target}`,\n consoleProps: () => ({ subject, target }),\n });\n\n cy.get(target)\n .eq(dropIndex)\n .then($target => {\n const coordsDrop = $target[0].getBoundingClientRect();\n cy.get(subject)\n .eq(dragIndex)\n .then(subject => {\n const coordsDrag = subject[0].getBoundingClientRect();\n cy.wrap(subject)\n .trigger(\"mousedown\", {\n button: 0, // BUTTON_INDEX\n clientX: coordsDrag.x,\n clientY: coordsDrag.y,\n force: true,\n })\n .trigger(\"mousemove\", {\n button: 0, // BUTTON_INDEX\n clientX: coordsDrag.x + 10, // SLOPPY_CLICK_THRESHOLD\n clientY: coordsDrag.y,\n force: true,\n });\n\n cy.get(\"body\")\n .trigger(\"mousemove\", {\n button: 0, // BUTTON_INDEX\n clientX: coordsDrop.x,\n clientY: coordsDrop.y,\n force: true,\n })\n .trigger(\"mouseup\");\n });\n });\n }\n );\n\n Cypress.Commands.add(\"verifyPlaceholder\", (textInputSelector, value) => {\n cy.get(textInputSelector)\n .should(\"have.attr\", \"placeholder\")\n .and(\"eq\", value);\n });\n\n Cypress.Commands.add(\"enableOrDisableSwitch\", (switchButton, value) => {\n cy.get(switchButton).invoke(\"click\");\n cy.get(switchButton).should(\"have.prop\", \"value\").and(\"eq\", value);\n });\n\n Cypress.Commands.add(\n \"interceptNonVersionedApi\",\n ({ url = \"*\", alias, times = 1 }) => {\n cy.intercept({ url, times }).as(alias);\n }\n );\n\n Cypress.Commands.add(\n \"typeOnSearchField\",\n ({ selector, value, skipSearchRequest = true, delay }) => {\n cy.get(selector)\n .invoke(\"val\")\n .then(currentValue => {\n if (currentValue !== value) {\n !skipSearchRequest && cy.interceptApi(\"searchRequest\");\n cy.clearAndTypeFast(selector, value);\n !skipSearchRequest && cy.wait(\"@searchRequest\");\n } else delay && cy.wait(delay);\n });\n }\n );\n\n Cypress.Commands.add(\"clickByRemoveTargetAttr\", selector => {\n cy.get(selector).invoke(\"removeAttr\", \"target\").click();\n });\n\n Cypress.Commands.add(\n \"navigateToPreviewPage\",\n (selector, fetchRequestCount = 1) => {\n cy.interceptApi(\"fetchRequests\", fetchRequestCount);\n cy.clickByRemoveTargetAttr(selector);\n fetchRequestCount === 1\n ? cy.wait(\"@fetchRequests\")\n : cy.waitForMultipleRequest(\"@fetchRequests\", fetchRequestCount);\n }\n );\n\n Cypress.Commands.add(\"saveChanges\", (aliasName, requestCount = 1) => {\n cy.interceptApi(aliasName, requestCount);\n cy.get(commonSelectors.saveChangesButton).click();\n cy.wait(`@${aliasName}`);\n cy.verifyToastIcon();\n requestCount > 1 &&\n cy.waitForMultipleRequest(`@${aliasName}`, requestCount - 1);\n });\n\n Cypress.Commands.add(\"verifyAttribute\", ({ selector, attr, value }) => {\n cy.get(selector).should(\"have.attr\", attr).and(\"include\", value);\n });\n\n Cypress.Commands.add(\"verifyUnsavedAlertModal\", cancelButton => {\n cy.get(cancelButton).click();\n cy.get(commonSelectors.alertTitle).should(\n \"have.text\",\n commonTexts.unsavedChangesAlertTitle\n );\n\n cy.get(commonSelectors.alertMessage).should(\n \"have.text\",\n commonTexts.unsavedChangesAlertMessage\n );\n });\n\n Cypress.Commands.add(\"verifyTooltip\", (selector, text) => {\n cy.get(selector).realHover();\n cy.document()\n .its(\"body\")\n .find(commonSelectors.tooltip)\n .should(\"have.text\", text);\n cy.document().find(\"body\").click(\"topRight\", { force: true });\n cy.document().its(\"body\").find(commonSelectors.tooltip).should(\"not.exist\");\n });\n\n Cypress.Commands.add(\"getEmailContent\", (props, options) =>\n cy.mailosaurGetMessage(Cypress.env(\"MAILOSAUR_SERVER_ID\"), props, options)\n );\n\n Cypress.Commands.add(\"rewriteHeaders\", () => {\n if (!isStagingEnv) return;\n\n cy.intercept(\"*\", req =>\n req.on(\"response\", res => {\n const setCookies = res.headers[\"set-cookie\"];\n res.headers[\"set-cookie\"] = (\n Array.isArray(setCookies) ? setCookies : [setCookies]\n )\n .filter(Boolean)\n .map(headerContent => headerContent.concat(\"secure; samesite=none\"));\n })\n );\n });\n};\n"],"names":["initCustomCommands","Cypress","Commands","add","selector","text","cy","get","clear","type","delay","click","concat","message","commonSelectors","toastMessage","should","toastCloseButton","closeToastr","arguments","length","undefined","document","its","find","toastIcon","args","props","_typeof","alias","title","_props$requestCount","requestCount","verifyToastIcon","hasMoreThanOneRequest","alertTitle","interceptApi","alertModalSubmitButton","wait","verifyToastMessage","waitForMultipleRequest","times","intercept","url","requestApis","allPath","resourceType","as","wrap","_toConsumableArray","Array","each","options","then","requestHeaders","request","_objectSpread","headers","log","reload","containerSelector","optionText","selectOption","invoke","dropdownSelector","dropdownIcon","dropdownContainer","contains","iframeSelector","callback","timeout","and","eq","within","_ref","window","win","stub","callsFake","newUrl","location","href","key","task","body","$body","_ref2","subject","target","_ref2$dragIndex","dragIndex","_ref2$dropIndex","dropIndex","name","consoleProps","$target","coordsDrop","getBoundingClientRect","coordsDrag","trigger","button","clientX","x","clientY","y","force","textInputSelector","value","switchButton","_ref3","_ref3$url","_ref3$times","_ref4","_ref4$skipSearchReque","skipSearchRequest","currentValue","clearAndTypeFast","fetchRequestCount","clickByRemoveTargetAttr","aliasName","saveChangesButton","_ref5","attr","cancelButton","commonTexts","unsavedChangesAlertTitle","alertMessage","unsavedChangesAlertMessage","realHover","tooltip","mailosaurGetMessage","env","isStagingEnv","req","on","res","setCookies","isArray","filter","Boolean","map","headerContent"],"mappings":";;;;;;;;;;;;IAKaA,kBAAkB,GAAG,SAArBA,kBAAkBA,GAAS;EACtCC,OAAO,CAACC,QAAQ,CAACC,GAAG,CAAC,cA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EAAE,CAAC,UAAU,EAAE,UAAAC,GAAG,EAAI;AACxB,QAAA,IAAMC,UAAU,GAAGD,GAAG,CAAC9E,OAAO,CAAC,YAAY,CAAC;AAC5C8E,QAAAA,GAAG,CAAC9E,OAAO,CAAC,YAAY,CAAC,GAAG,CAC1BP,KAAK,CAACuF,OAAO,CAACD,UAAU,CAAC,GAAGA,UAAU,GAAG,CAACA,UAAU,CAAC,EAEpDE,MAAM,CAACC,OAAO,CAAC,CACfC,GAAG,CAAC,UAAAC,aAAa,EAAA;AAAA,UAAA,OAAIA,aAAa,CAACjI,MAAM,CAAC,uBAAuB,CAAC;SAAC,CAAA;AACxE,OAAC,CAAC;AAAA,KACJ,CAAC;AACH,GAAC,CAAC;AACJ;;;;"}
@@ -1,9 +0,0 @@
1
- var environment = {
2
- development: "development",
3
- staging: "staging",
4
- review: "review",
5
- production: "production"
6
- };
7
-
8
- export { environment };
9
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sources":["../../../src/cypress-utils/constants/index.js"],"sourcesContent":["export const environment = {\n development: \"development\",\n staging: \"staging\",\n review: \"review\",\n production: \"production\",\n};\n"],"names":["environment","development","staging","review","production"],"mappings":"AAAO,IAAMA,WAAW,GAAG;AACzBC,EAAAA,WAAW,EAAE,aAAa;AAC1BC,EAAAA,OAAO,EAAE,SAAS;AAClBC,EAAAA,MAAM,EAAE,QAAQ;AAChBC,EAAAA,UAAU,EAAE;AACd;;;;"}
@@ -1,38 +0,0 @@
1
- import { getUrl, env } from '../utils/common.js';
2
- import '../../defineProperty-CrCYjjU3.js';
3
- import '../../typeof-D-UKOauR.js';
4
- import './index.js';
5
-
6
- var allPath = function allPath() {
7
- return "".concat(Cypress.config("baseUrl"), "/**");
8
- };
9
- var tld = env.isProduction ? "com" : "net";
10
- var requestApis = {
11
- countries: getUrl("countries"),
12
- signUp: getUrl("signups/**"),
13
- subdomainAvailability: getUrl("subdomain_availability/**"),
14
- teamMembers: {
15
- all: "/team_members*/**",
16
- bulkUpdate: "/team_members/teams/bulk_update",
17
- index: "/team_members/teams",
18
- show: function show(id) {
19
- return "/team_members/teams/".concat(id);
20
- }
21
- },
22
- allChatPath: "https://*.neetochat.".concat(tld).concat(getUrl("**")),
23
- myProfilePath: function myProfilePath(subdomain) {
24
- return "https://".concat(subdomain, ".neetoauth.").concat(tld, "/my/profile");
25
- },
26
- settingsPath: function settingsPath(subdomain) {
27
- return "https://".concat(subdomain, ".neetoauth.").concat(tld, "/settings");
28
- }
29
- };
30
- var urlPaths = {
31
- members: "/members"
32
- };
33
- Object.defineProperty(requestApis, "allPath", {
34
- get: allPath
35
- });
36
-
37
- export { requestApis, urlPaths };
38
- //# sourceMappingURL=routes.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"routes.js","sources":["../../../src/cypress-utils/constants/routes.js"],"sourcesContent":["import { env, getUrl } from \"../utils/common\";\n\nconst allPath = () => `${Cypress.config(\"baseUrl\")}/**`;\nconst tld = env.isProduction ? \"com\" : \"net\";\nconst requestApis = {\n countries: getUrl(\"countries\"),\n signUp: getUrl(\"signups/**\"),\n subdomainAvailability: getUrl(\"subdomain_availability/**\"),\n teamMembers: {\n all: \"/team_members*/**\",\n bulkUpdate: \"/team_members/teams/bulk_update\",\n index: \"/team_members/teams\",\n show: id => `/team_members/teams/${id}`,\n },\n allChatPath: `https://*.neetochat.${tld}${getUrl(\"**\")}`,\n myProfilePath: subdomain =>\n `https://${subdomain}.neetoauth.${tld}/my/profile`,\n settingsPath: subdomain => `https://${subdomain}.neetoauth.${tld}/settings`,\n};\n\nconst urlPaths = { members: \"/members\" };\n\nObject.defineProperty(requestApis, \"allPath\", { get: allPath });\n\nexport { requestApis, urlPaths };\n"],"names":["allPath","concat","Cypress","config","tld","env","isProduction","requestApis","countries","getUrl","signUp","subdomainAvailability","teamMembers","all","bulkUpdate","index","show","id","allChatPath","myProfilePath","subdomain","settingsPath","urlPaths","members","Object","defineProperty","get"],"mappings":";;;;;AAEA,IA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ACC,cAAc,CAAClB,WAAW,EAAE,SAAS,EAAE;AAAEmB,EAAAA,GAAG,EAAE1B;AAAQ,CAAC,CAAC;;;;"}
@@ -1,100 +0,0 @@
1
- import { dataCy, dataTestId, hyphenize } from '../../utils/common.js';
2
- import '../../../defineProperty-CrCYjjU3.js';
3
- import '../../../typeof-D-UKOauR.js';
4
- import '../index.js';
5
-
6
- var commonSelectors = {
7
- alertTitle: dataCy("alert-title"),
8
- alertModalMessage: dataCy("alert-message"),
9
- alertModalSubmitButton: dataCy("alert-submit-button"),
10
- checkbox: dataCy("nui-checkbox-input"),
11
- checkboxLabel: dataCy("nui-checkbox-label"),
12
- dropdownContainer: dataCy("nui-dropdown-container"),
13
- dropdownIcon: dataCy("nui-dropdown-icon"),
14
- heading: dataCy("main-header"),
15
- paneBody: dataCy("pane-body"),
16
- paneHeader: dataCy("pane-header"),
17
- profileSidebar: dataCy("profile-section"),
18
- selectOption: function selectOption(label) {
19
- return dataCy("".concat(hyphenize(label), "-select-option"));
20
- },
21
- toastMessage: dataCy("toastr-message-container"),
22
- toastCloseButton: dataCy("toastr-close-button"),
23
- windowAlert: "#alert-box",
24
- body: "body",
25
- toastIcon: ".Toastify__toast-icon",
26
- paneModalCrossIcon: dataCy("pane-close-button"),
27
- inputField: dataCy("nui-input-field"),
28
- alertConfirmationText: dataCy("alert-confirmation-text"),
29
- alertCancelButton: dataCy("alert-cancel-button"),
30
- alertModalCrossIcon: dataCy("modal-close-button"),
31
- saveChangesButton: dataCy("save-changes-button"),
32
- cancelButton: dataCy("cancel-button"),
33
- inputFieldError: dataCy("nui-input-error"),
34
- selectDropDownError: dataCy("nui-select-error"),
35
- subTitleHeading: function subTitleHeading(index) {
36
- return dataCy("menubar-subtitle-heading", ":eq(".concat(index, ")"));
37
- },
38
- noDataTitle: dataCy("no-data-title"),
39
- noDataDescription: dataCy("no-data-description"),
40
- backdrop: dataCy("neeto-backdrop"),
41
- menuBarHeading: dataCy("menubar-heading"),
42
- nthTabItem: function nthTabItem(index) {
43
- return dataCy("tab-item", ":eq(".concat(index, ")"));
44
- },
45
- dropdownWrapper: function dropdownWrapper(index) {
46
- return dataCy("nui-select-container-wrapper", ":eq(".concat(index, ")"));
47
- },
48
- toggleButton: dataCy("menubar-toggle-button"),
49
- tooltip: dataCy("tooltip-box"),
50
- articlePageTitle: ".serene-article__title",
51
- tabItem: dataCy("tab-item"),
52
- labelInputError: dataCy("label-input-error"),
53
- urlInputError: dataCy("url-input-error"),
54
- noDataPrimaryButton: dataCy("no-data-primary-button"),
55
- modalHeader: dataCy("modal-header"),
56
- nameInputError: dataCy("name-input-error"),
57
- selectContainer: dataCy("nui-select-container"),
58
- dropdownMenu: dataCy("nui-select-menu"),
59
- nthDropdownIcon: function nthDropdownIcon(index) {
60
- return dataCy("nui-dropdown-icon", ":eq(".concat(index, ")"));
61
- },
62
- sidebarToggle: dataCy("neeto-molecules-sidebar-toggler"),
63
- customDataCy: function customDataCy(name) {
64
- return dataCy(name);
65
- },
66
- leftSubHeader: dataCy("subheader-left"),
67
- subheader: dataCy("subheader"),
68
- settingsLink: dataCy("Settings"),
69
- nthInputField: function nthInputField(index) {
70
- return dataCy("nui-input-field", ":eq(".concat(index, ")"));
71
- },
72
- ticketFieldTextInput: function ticketFieldTextInput(label) {
73
- return dataCy("".concat(hyphenize(label), "-text-input"));
74
- }
75
- };
76
- var tableSelectors = {
77
- nthColumn: function nthColumn(n) {
78
- return "td:nth-child(".concat(n, ")");
79
- },
80
- tableBody: ".ant-table-body",
81
- tableHeader: ".ant-table-thead th",
82
- tableRow: ".ant-table-tbody tr",
83
- spinner: ".ant-spin",
84
- nthHeading: function nthHeading(n) {
85
- return "tr > th:nth-child(".concat(n, ")");
86
- }
87
- };
88
- var profileSelectors = {
89
- tab: dataCy("profile-section"),
90
- logoutLink: dataCy("profile-logout-button"),
91
- myProfileButton: dataCy("my-profile-button"),
92
- organizationSettingsButton: dataCy("profile-organization-settings-button"),
93
- loader: dataTestId("spinner"),
94
- appSwitcherBody: dataCy("app-switcher-body-wrapper"),
95
- sidebarInfo: dataCy("sidebar-info"),
96
- appSwitcherBackButton: dataCy("app-switcher-back-button")
97
- };
98
-
99
- export { commonSelectors, profileSelectors, tableSelectors };
100
- //# sourceMappingURL=common.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"common.js","sources":["../../../../src/cypress-utils/constants/selectors/common.js"],"sourcesContent":["import { dataCy, dataTestId, hyphenize } from \"../../utils/common\";\n\nexport const commonSelectors = {\n alertTitle: dataCy(\"alert-title\"),\n alertModalMessage: dataCy(\"alert-message\"),\n alertModalSubmitButton: dataCy(\"alert-submit-button\"),\n checkbox: dataCy(\"nui-checkbox-input\"),\n checkboxLabel: dataCy(\"nui-checkbox-label\"),\n dropdownContainer: dataCy(\"nui-dropdown-container\"),\n dropdownIcon: dataCy(\"nui-dropdown-icon\"),\n heading: dataCy(\"main-header\"),\n paneBody: dataCy(\"pane-body\"),\n paneHeader: dataCy(\"pane-header\"),\n profileSidebar: dataCy(\"profile-section\"),\n selectOption: label => dataCy(`${hyphenize(label)}-select-option`),\n toastMessage: dataCy(\"toastr-message-container\"),\n toastCloseButton: dataCy(\"toastr-close-button\"),\n windowAlert: \"#alert-box\",\n body: \"body\",\n toastIcon: \".Toastify__toast-icon\",\n paneModalCrossIcon: dataCy(\"pane-close-button\"),\n inputField: dataCy(\"nui-input-field\"),\n alertConfirmationText: dataCy(\"alert-confirmation-text\"),\n alertCancelButton: dataCy(\"alert-cancel-button\"),\n alertModalCrossIcon: dataCy(\"modal-close-button\"),\n saveChangesButton: dataCy(\"save-changes-button\"),\n cancelButton: dataCy(\"cancel-button\"),\n inputFieldError: dataCy(\"nui-input-error\"),\n selectDropDownError: dataCy(\"nui-select-error\"),\n subTitleHeading: index => dataCy(\"menubar-subtitle-heading\", `:eq(${index})`),\n noDataTitle: dataCy(\"no-data-title\"),\n noDataDescription: dataCy(\"no-data-description\"),\n backdrop: dataCy(\"neeto-backdrop\"),\n menuBarHeading: dataCy(\"menubar-heading\"),\n nthTabItem: index => dataCy(\"tab-item\", `:eq(${index})`),\n dropdownWrapper: index =>\n dataCy(\"nui-select-container-wrapper\", `:eq(${index})`),\n toggleButton: dataCy(\"menubar-toggle-button\"),\n tooltip: dataCy(\"tooltip-box\"),\n articlePageTitle: \".serene-article__title\",\n tabItem: dataCy(\"tab-item\"),\n labelInputError: dataCy(\"label-input-error\"),\n urlInputError: dataCy(\"url-input-error\"),\n noDataPrimaryButton: dataCy(\"no-data-primary-button\"),\n modalHeader: dataCy(\"modal-header\"),\n nameInputError: dataCy(\"name-input-error\"),\n selectContainer: dataCy(\"nui-select-container\"),\n dropdownMenu: dataCy(\"nui-select-menu\"),\n nthDropdownIcon: index => dataCy(\"nui-dropdown-icon\", `:eq(${index})`),\n sidebarToggle: dataCy(\"neeto-molecules-sidebar-toggler\"),\n customDataCy: name => dataCy(name),\n leftSubHeader: dataCy(\"subheader-left\"),\n subheader: dataCy(\"subheader\"),\n settingsLink: dataCy(\"Settings\"),\n nthInputField: index => dataCy(\"nui-input-field\", `:eq(${index})`),\n ticketFieldTextInput: label => dataCy(`${hyphenize(label)}-text-input`),\n};\n\nexport const tableSelectors = {\n nthColumn: n => `td:nth-child(${n})`,\n tableBody: \".ant-table-body\",\n tableHeader: \".ant-table-thead th\",\n tableRow: \".ant-table-tbody tr\",\n spinner: \".ant-spin\",\n nthHeading: n => `tr > th:nth-child(${n})`,\n};\n\nexport const profileSelectors = {\n tab: dataCy(\"profile-section\"),\n logoutLink: dataCy(\"profile-logout-button\"),\n myProfileButton: dataCy(\"my-profile-button\"),\n organizationSettingsButton: dataCy(\"profile-organization-settings-button\"),\n loader: dataTestId(\"spinner\"),\n appSwitcherBody: dataCy(\"app-switcher-body-wrapper\"),\n sidebarInfo: dataCy(\"sidebar-info\"),\n appSwitcherBackButton: dataCy(\"app-switcher-back-button\"),\n};\n"],"names":["commonSelectors","alertTitle","dataCy","alertModalMessage","alertModalSubmitButton","checkbox","checkboxLabel","dropdownContainer","dropdownIcon","heading","paneBody","paneHeader","profileSidebar","selectOption","label","concat","hyphenize","toastMessage","toastCloseButton","windowAlert","body","toastIcon","paneModalCrossIcon","inputField","alertConfirmationText","alertCancelButton","alertModalCrossIcon","saveChangesButton","cancelButton","inputFieldError","selectDropDownError","subTitleHeading","index","noDataTitle","noDataDescription","backdrop","menuBarHeading","nthTabItem","dropdownWrapper","toggleButton","tooltip","articlePageTitle","tabItem","labelInputError","urlInputError","noDataPrimaryButton","modalHeader","nameInputError","selectContainer","dropdownMenu","nthDropdownIcon","sidebarToggle","customDataCy","name","leftSubHeader","subheader","settingsLink","nthInputField","ticketFieldTextInput","tableSelectors","nthColumn","n","tableBody","tableHeader","tableRow","spinner","nthHeading","profileSelectors","tab","logoutLink","myProfileButton","organizationSettingsButton","loader","dataTestId","appSwitcherBody","sidebarInfo","appSwitcherBackButton"],"mappings":";;;;;AAEO,IAAMA,eAAe,GAAG;AAC7BC,EAAAA,UAAU,EAAEC,MAAM,CAAC,aAAa,CAAC;AACjCC,EAAAA,iBAAiB,EAAED,MAAM,CAAC,eAAe,CAAC;AAC1CE,EAAAA,sBAAsB,EAAEF,MAAM,CAAC,qBAAqB,CAAC;AACrDG,EAAAA,QAAQ,EAAEH,MAAM,CAAC,oBAAoB,CAAC;AACtCI,EAAAA,aAAa,EAAEJ,MAAM,CAAC,oBAAoB,CAAC;AAC3CK,EAAAA,iBAAiB,EAAEL,MAAM,CAAC,wBAAwB,CAAC;AACnDM,EAAAA,YAAY,EAAEN,MAAM,CAAC,mBAAmB,CAAC;AACzCO,EAAAA,OAAO,EAAEP,MAAM,CAAC,aAAa,CAAC;AAC9BQ,EAAAA,QAAQ,EAAER,MAAM,CAAC,WAAW,CAAC;AAC7BS,EAAAA,UAAU,EAAET,MAAM,CAAC,aAAa,CAAC;AACjCU,EAAAA,cAAc,EAAEV,MAAM,CAAC,iBAAiB,CAAC;AACzCW,EAAAA,YAAY,EAAE,SAAdA,YAAYA,CAAEC,KAAK,EAAA;I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AAU,CAAC,SAAS,CAAC;AAC7BC,EAAAA,eAAe,EAAExE,MAAM,CAAC,2BAA2B,CAAC;AACpDyE,EAAAA,WAAW,EAAEzE,MAAM,CAAC,cAAc,CAAC;EACnC0E,qBAAqB,EAAE1E,MAAM,CAAC,0BAA0B;AAC1D;;;;"}
@@ -1,28 +0,0 @@
1
- import { dataCy } from '../../utils/common.js';
2
- import '../../../defineProperty-CrCYjjU3.js';
3
- import '../../../typeof-D-UKOauR.js';
4
- import '../index.js';
5
-
6
- var neetoEditorSelectors = {
7
- boldOption: dataCy("neeto-editor-fixed-menu-bold-option"),
8
- italicOption: dataCy("neeto-editor-fixed-menu-italic-option"),
9
- underlineOption: dataCy("neeto-editor-fixed-menu-underline-option"),
10
- strikeOption: dataCy("neeto-editor-fixed-menu-strike-option"),
11
- codeBlockOption: dataCy("neeto-editor-fixed-menu-code-option"),
12
- highlightOption: dataCy("neeto-editor-fixed-menu-highlight-option"),
13
- linkInput: dataCy("neeto-editor-fixed-menu-link-option-input"),
14
- linkSubmitButton: dataCy("neeto-editor-fixed-menu-link-option-link-button"),
15
- commandList: function commandList(index) {
16
- return dataCy("neeto-editor-command-list-item-".concat(index));
17
- },
18
- imageUploadUrlSubmitButton: dataCy("neeto-editor-media-upload-url-submit"),
19
- imageUploadUrlInputTextField: dataCy("neeto-editor-media-upload-url-input"),
20
- uploadInput: dataCy("neeto-editor-media-uploader-input"),
21
- editorMenuBarWrapper: dataCy("neeto-editor-fixed-menu-wrapper"),
22
- undoOption: dataCy("neeto-editor-fixed-menu-undo-option"),
23
- redoOption: dataCy("neeto-editor-fixed-menu-redo-option"),
24
- imageWrapper: dataCy("neeto-editor-image-wrapper")
25
- };
26
-
27
- export { neetoEditorSelectors };
28
- //# sourceMappingURL=editor.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"editor.js","sources":["../../../../src/cypress-utils/constants/selectors/editor.js"],"sourcesContent":["import { dataCy } from \"../../utils/common\";\n\nexport const neetoEditorSelectors = {\n boldOption: dataCy(\"neeto-editor-fixed-menu-bold-option\"),\n italicOption: dataCy(\"neeto-editor-fixed-menu-italic-option\"),\n underlineOption: dataCy(\"neeto-editor-fixed-menu-underline-option\"),\n strikeOption: dataCy(\"neeto-editor-fixed-menu-strike-option\"),\n codeBlockOption: dataCy(\"neeto-editor-fixed-menu-code-option\"),\n highlightOption: dataCy(\"neeto-editor-fixed-menu-highlight-option\"),\n linkInput: dataCy(\"neeto-editor-fixed-menu-link-option-input\"),\n linkSubmitButton: dataCy(\"neeto-editor-fixed-menu-link-option-link-button\"),\n commandList: index => dataCy(`neeto-editor-command-list-item-${index}`),\n imageUploadUrlSubmitButton: dataCy(\"neeto-editor-media-upload-url-submit\"),\n imageUploadUrlInputTextField: dataCy(\"neeto-editor-media-upload-url-input\"),\n uploadInput: dataCy(\"neeto-editor-media-uploader-input\"),\n editorMenuBarWrapper: dataCy(\"neeto-editor-fixed-menu-wrapper\"),\n undoOption: dataCy(\"neeto-editor-fixed-menu-undo-option\"),\n redoOption: dataCy(\"neeto-editor-fixed-menu-redo-option\"),\n imageWrapper: dataCy(\"neeto-editor-image-wrapper\"),\n};\n"],"names":["neetoEditorSelectors","boldOption","dataCy","italicOption","underlineOption","strikeOption","codeBlockOption","highlightOption","linkInput","linkSubmitButton","commandList","index","concat","imageUploadUrlSubmitButton","imageUploadUrlInputTextField","uploadInput","editorMenuBarWrapper","undoOption","redoOption","imageWrapper"],"mappings":";;;;;AAEO,IAAMA,oBAAoB,GAAG;AAClCC,EAAAA,UAAU,EAAEC,MAAM,CAAC,qCAAqC,CAAC;AACzDC,EAAAA,YAAY,EAAED,MAAM,CAAC,uCAAuC,CAAC;AAC7DE,EAAAA,eAAe,EAAEF,MAAM,CAAC,0CAA0C,CAAC;AACnEG,EAAAA,YAAY,EAAEH,MAAM,CAAC,uCAAuC,CAAC;AAC7DI,EAAAA,eAAe,EAAEJ,MAAM,CAAC,qCAAqC,CAAC;AAC9DK,EAAAA,eAAe,EAAEL,MAAM,CAAC,0CAA0C,CAAC;AACnEM,EAAAA,SAAS,EAAEN,MAAM,CAAC,2CAA2C,CAAC;AAC9DO,EAAAA,gBAAgB,EAAEP,MAAM,CAAC,iDAAiD,CAAC;AAC3EQ,EAAAA,WAAW,EAAE,SAAbA,WAAWA,CAAEC,KAAK,EAAA;AAAA,IAAA,OAAIT,MAAM,CAAAU,iCAAAA,CAAAA,MAAA,CAAmCD,KAAK,CAAE,CAAC;AAAA,GAAA;AACvEE,EAAAA,0BAA0B,EAAEX,MAAM,CAAC,sCAAsC,CAAC;AAC1EY,EAAAA,4BAA4B,EAAEZ,MAAM,CAAC,qCAAqC,CAAC;AAC3Ea,EAAAA,WAAW,EAAEb,MAAM,CAAC,mCAAmC,CAAC;AACxDc,EAAAA,oBAAoB,EAAEd,MAAM,CAAC,iCAAiC,CAAC;AAC/De,EAAAA,UAAU,EAAEf,MAAM,CAAC,qCAAqC,CAAC;AACzDgB,EAAAA,UAAU,EAAEhB,MAAM,CAAC,qCAAqC,CAAC;EACzDiB,YAAY,EAAEjB,MAAM,CAAC,4BAA4B;AACnD;;;;"}
@@ -1,18 +0,0 @@
1
- import { dataCy } from '../../utils/common.js';
2
- import '../../../defineProperty-CrCYjjU3.js';
3
- import '../../../typeof-D-UKOauR.js';
4
- import '../index.js';
5
-
6
- var ipRestrictionSelectors = {
7
- addButton: dataCy("add-allowed-ip-range-button"),
8
- ipStartTextField: function ipStartTextField(index) {
9
- return dataCy("ip-start-text-field", ":eq(".concat(index, ")"));
10
- },
11
- ipEndTextField: dataCy("ip-end-text-field"),
12
- cancelButton: dataCy("ip-cancel-button"),
13
- ipRangeRow: dataCy("ip-range-row"),
14
- enableIpRestrictionCheckbox: dataCy("enable-ip-restriction-checkbox")
15
- };
16
-
17
- export { ipRestrictionSelectors };
18
- //# sourceMappingURL=ipRestriction.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ipRestriction.js","sources":["../../../../src/cypress-utils/constants/selectors/ipRestriction.js"],"sourcesContent":["import { dataCy } from \"../../utils/common\";\n\nexport const ipRestrictionSelectors = {\n addButton: dataCy(\"add-allowed-ip-range-button\"),\n ipStartTextField: index => dataCy(\"ip-start-text-field\", `:eq(${index})`),\n ipEndTextField: dataCy(\"ip-end-text-field\"),\n cancelButton: dataCy(\"ip-cancel-button\"),\n ipRangeRow: dataCy(\"ip-range-row\"),\n enableIpRestrictionCheckbox: dataCy(\"enable-ip-restriction-checkbox\"),\n};\n"],"names":["ipRestrictionSelectors","addButton","dataCy","ipStartTextField","index","concat","ipEndTextField","cancelButton","ipRangeRow","enableIpRestrictionCheckbox"],"mappings":";;;;;AAEO,IAAMA,sBAAsB,GAAG;AACpCC,EAAAA,SAAS,EAAEC,MAAM,CAAC,6BAA6B,CAAC;AAChDC,EAAAA,gBAAgB,EAAE,SAAlBA,gBAAgBA,CAAEC,KAAK,EAAA;IAAA,OAAIF,MAAM,CAAC,qBAAqB,EAAA,MAAA,CAAAG,MAAA,CAASD,KAAK,MAAG,CAAC;AAAA,GAAA;AACzEE,EAAAA,cAAc,EAAEJ,MAAM,CAAC,mBAAmB,CAAC;AAC3CK,EAAAA,YAAY,EAAEL,MAAM,CAAC,kBAAkB,CAAC;AACxCM,EAAAA,UAAU,EAAEN,MAAM,CAAC,cAAc,CAAC;EAClCO,2BAA2B,EAAEP,MAAM,CAAC,gCAAgC;AACtE;;;;"}
@@ -1,20 +0,0 @@
1
- import { dataCy } from '../../utils/common.js';
2
- import '../../../defineProperty-CrCYjjU3.js';
3
- import '../../../typeof-D-UKOauR.js';
4
- import '../index.js';
5
-
6
- var loginSelectors = {
7
- appleAuthenticationButton: dataCy("apple-authentication-button"),
8
- emailTextField: dataCy("login-email-text-field"),
9
- googleAuthenticationButton: dataCy("google-authentication-button"),
10
- githubAuthenticationButton: dataCy("github-authentication-button"),
11
- loginViaEmailButton: dataCy("login-via-email-button"),
12
- otpField: dataCy("otpinput-otp-number"),
13
- passwordTextField: dataCy("login-password-text-field"),
14
- rememberMeCheckBox: dataCy("login-remember-me-check-box"),
15
- submitButton: dataCy("login-submit-button"),
16
- twitterAuthenticationButton: dataCy("twitter-authentication-button")
17
- };
18
-
19
- export { loginSelectors };
20
- //# sourceMappingURL=login.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"login.js","sources":["../../../../src/cypress-utils/constants/selectors/login.js"],"sourcesContent":["import { dataCy } from \"../../utils/common\";\n\nexport const loginSelectors = {\n appleAuthenticationButton: dataCy(\"apple-authentication-button\"),\n emailTextField: dataCy(\"login-email-text-field\"),\n googleAuthenticationButton: dataCy(\"google-authentication-button\"),\n githubAuthenticationButton: dataCy(\"github-authentication-button\"),\n loginViaEmailButton: dataCy(\"login-via-email-button\"),\n otpField: dataCy(\"otpinput-otp-number\"),\n passwordTextField: dataCy(\"login-password-text-field\"),\n rememberMeCheckBox: dataCy(\"login-remember-me-check-box\"),\n submitButton: dataCy(\"login-submit-button\"),\n twitterAuthenticationButton: dataCy(\"twitter-authentication-button\"),\n};\n"],"names":["loginSelectors","appleAuthenticationButton","dataCy","emailTextField","googleAuthenticationButton","githubAuthenticationButton","loginViaEmailButton","otpField","passwordTextField","rememberMeCheckBox","submitButton","twitterAuthenticationButton"],"mappings":";;;;;AAEO,IAAMA,cAAc,GAAG;AAC5BC,EAAAA,yBAAyB,EAAEC,MAAM,CAAC,6BAA6B,CAAC;AAChEC,EAAAA,cAAc,EAAED,MAAM,CAAC,wBAAwB,CAAC;AAChDE,EAAAA,0BAA0B,EAAEF,MAAM,CAAC,8BAA8B,CAAC;AAClEG,EAAAA,0BAA0B,EAAEH,MAAM,CAAC,8BAA8B,CAAC;AAClEI,EAAAA,mBAAmB,EAAEJ,MAAM,CAAC,wBAAwB,CAAC;AACrDK,EAAAA,QAAQ,EAAEL,MAAM,CAAC,qBAAqB,CAAC;AACvCM,EAAAA,iBAAiB,EAAEN,MAAM,CAAC,2BAA2B,CAAC;AACtDO,EAAAA,kBAAkB,EAAEP,MAAM,CAAC,6BAA6B,CAAC;AACzDQ,EAAAA,YAAY,EAAER,MAAM,CAAC,qBAAqB,CAAC;EAC3CS,2BAA2B,EAAET,MAAM,CAAC,+BAA+B;AACrE;;;;"}