@jscutlery/playwright-ct-angular 0.1.3 → 0.2.0

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.
@@ -0,0 +1,10 @@
1
+ 'use strict';
2
+
3
+ var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
4
+
5
+ function commonjsRequire (path) {
6
+ throw new Error('Could not dynamically require "' + path + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
7
+ }
8
+
9
+ exports.commonjsGlobal = commonjsGlobal;
10
+ exports.commonjsRequire = commonjsRequire;
@@ -0,0 +1,7 @@
1
+ var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
2
+
3
+ function commonjsRequire (path) {
4
+ throw new Error('Could not dynamically require "' + path + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
5
+ }
6
+
7
+ export { commonjsRequire as a, commonjsGlobal as c };
package/hooks.cjs.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from "./src/hooks";
@@ -0,0 +1 @@
1
+ exports._default = require('./hooks.cjs.js').default;
package/hooks.cjs.js ADDED
@@ -0,0 +1,32 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ /**
6
+ * Copyright (c) Microsoft Corporation.
7
+ *
8
+ * Licensed under the Apache License, Version 2.0 (the "License");
9
+ * you may not use this file except in compliance with the License.
10
+ * You may obtain a copy of the License at
11
+ *
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ *
14
+ * Unless required by applicable law or agreed to in writing, software
15
+ * distributed under the License is distributed on an "AS IS" BASIS,
16
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
+ * See the License for the specific language governing permissions and
18
+ * limitations under the License.
19
+ */
20
+ const __pw_hooks_before_mount = [];
21
+ const __pw_hooks_after_mount = [];
22
+ window['__pw_hooks_before_mount'] = __pw_hooks_before_mount;
23
+ window['__pw_hooks_after_mount'] = __pw_hooks_after_mount;
24
+ const beforeMount = (callback) => {
25
+ __pw_hooks_before_mount.push(callback);
26
+ };
27
+ const afterMount = (callback) => {
28
+ __pw_hooks_after_mount.push(callback);
29
+ };
30
+
31
+ exports.afterMount = afterMount;
32
+ exports.beforeMount = beforeMount;
package/hooks.cjs.mjs ADDED
@@ -0,0 +1,2 @@
1
+ export * from './hooks.cjs.js';
2
+ export { _default as default } from './hooks.cjs.default.js';
package/hooks.esm.js ADDED
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Copyright (c) Microsoft Corporation.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ const __pw_hooks_before_mount = [];
17
+ const __pw_hooks_after_mount = [];
18
+ window['__pw_hooks_before_mount'] = __pw_hooks_before_mount;
19
+ window['__pw_hooks_after_mount'] = __pw_hooks_after_mount;
20
+ const beforeMount = (callback) => {
21
+ __pw_hooks_before_mount.push(callback);
22
+ };
23
+ const afterMount = (callback) => {
24
+ __pw_hooks_after_mount.push(callback);
25
+ };
26
+
27
+ export { afterMount, beforeMount };
package/index.cjs.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from "./src/index";
@@ -0,0 +1 @@
1
+ exports._default = require('./index.cjs.js').default;