@everymatrix/cashier-session-expiration-modal 1.43.4 → 1.45.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.
- package/es2015/cashier-session-expiration-modal.cjs +1 -0
- package/es2015/cashier-session-expiration-modal.js +16 -0
- package/package.json +14 -33
- package/CHANGELOG.md +0 -9
- package/README.md +0 -30
- package/dist/cashier-session-expiration-modal.js +0 -1019
- package/dist/cashier-session-expiration-modal.js.map +0 -1
- package/index.html +0 -37
- package/index.js +0 -1
- package/public/favicon.png +0 -0
- package/public/reset.css +0 -48
- package/rollup.config.js +0 -61
- package/src/CashierSessionExpirationModal.svelte +0 -328
- package/src/assets/set-timeout-icon.png +0 -0
- package/src/i18n.js +0 -33
- package/src/index.ts +0 -4
- package/src/translations.js +0 -14
- package/stories/CashierSessionExpirationModal.stories.js +0 -13
- package/tsconfig.json +0 -6
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let s=function(t){return function(...n){try{return t.apply(this,n)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("../components/CashierSessionExpirationModal-8xTjLNmp.cjs")).then(({default:t})=>{!customElements.get("cashier-session-expiration-modal")&&customElements.define("cashier-session-expiration-modal",t.element)})}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
if (typeof window != "undefined") {
|
|
2
|
+
let n = function(t) {
|
|
3
|
+
return function(...s) {
|
|
4
|
+
try {
|
|
5
|
+
return t.apply(this, s);
|
|
6
|
+
} catch (e) {
|
|
7
|
+
if (e instanceof DOMException && e.message.includes("has already been used with this registry") || e.message.includes("Cannot define multiple custom elements with the same tag name"))
|
|
8
|
+
return !1;
|
|
9
|
+
throw e;
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CashierSessionExpirationModal-Dealptvu.js").then(({ default: t }) => {
|
|
14
|
+
!customElements.get("cashier-session-expiration-modal") && customElements.define("cashier-session-expiration-modal", t.element);
|
|
15
|
+
});
|
|
16
|
+
}
|
package/package.json
CHANGED
|
@@ -1,39 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@everymatrix/cashier-session-expiration-modal",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
"devDependencies": {
|
|
14
|
-
"@rollup/plugin-babel": "^5.3.0",
|
|
15
|
-
"@rollup/plugin-commonjs": "^16.0.0",
|
|
16
|
-
"@rollup/plugin-node-resolve": "^10.0.0",
|
|
17
|
-
"@rollup/plugin-typescript": "^6.0.0",
|
|
18
|
-
"@tsconfig/svelte": "^1.0.0",
|
|
19
|
-
"rollup": "^2.3.4",
|
|
20
|
-
"rollup-plugin-dev-server": "^0.4.3",
|
|
21
|
-
"rollup-plugin-livereload": "^2.0.0",
|
|
22
|
-
"rollup-plugin-svelte": "^7.0.0",
|
|
23
|
-
"rollup-plugin-terser": "^7.0.0",
|
|
24
|
-
"rollup-plugin-uglify": "^6.0.4",
|
|
25
|
-
"svelte-check": "^1.0.0",
|
|
26
|
-
"svelte-preprocess": "^5.0.0",
|
|
27
|
-
"tslib": "^2.0.0",
|
|
28
|
-
"typescript": "^3.9.3"
|
|
29
|
-
},
|
|
30
|
-
"dependencies": {
|
|
31
|
-
"cross-env": "^7.0.3",
|
|
32
|
-
"sirv-cli": "^1.0.0",
|
|
33
|
-
"svelte": "^3.0.0"
|
|
3
|
+
"version": "1.45.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"main": "es2015/cashier-session-expiration-modal.cjs",
|
|
6
|
+
"module": "es2015/cashier-session-expiration-modal.js",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"import": "./es2015/cashier-session-expiration-modal.js",
|
|
10
|
+
"require": "./es2015/cashier-session-expiration-modal.cjs"
|
|
11
|
+
},
|
|
12
|
+
"./es2015/cashier-session-expiration-modal.cjs": "./es2015/cashier-session-expiration-modal.cjs"
|
|
34
13
|
},
|
|
14
|
+
"files": [
|
|
15
|
+
"es2015/"
|
|
16
|
+
],
|
|
35
17
|
"publishConfig": {
|
|
36
18
|
"access": "public"
|
|
37
|
-
}
|
|
38
|
-
"gitHead": "8464c47cb49b4ffa1c9debfac3a7dfc3097cf57a"
|
|
19
|
+
}
|
|
39
20
|
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
## cashier-session-expiration-modal widget changelogs
|
|
3
|
-
|
|
4
|
-
| Version | Release date | Impacted areas | Changes |
|
|
5
|
-
| ------- | ------------ | ----------------------------- | --------------------------------------- |
|
|
6
|
-
| 1.43.3 | Fri Oct 04 2024 | cashier-session-expiration-modal | fix(MMFE-1201)(cashier-confirm-modal,cashier-error,cashier-method-details,cashier-modal,cashier-notifications,cashier-page,cashier-session-expiration-modal): decrease z-index value, set height for main widget |
|
|
7
|
-
| 1.43.1 | Thu Sep 26 2024 | cashier-session-expiration-modal | fix(MMFE-817)(cashier-method-details,cashier-method-list,cashier-page,cashier-receipt-page,cashier-session-expiration-modal,cashier-verifications): added extra header to requests to backend <br /> fix(MMFE-1194)(cashier-page,cashier-modal,cashier-session-expiration-modal): add reinit method to clear variables, change positioning for modals |
|
|
8
|
-
| 1.39.2 | Tue Sep 10 2024 | cashier-session-expiration-modal | fix(MMFE-1162)(cashier-session-expiration-modal): fix the positioning of session expiration modal window <br /> style(MMFE-1104)(cashier-iframe-redirect,cashier-method-details,cashier-methods-list,cashier-modal,cashier-session-expiration-modal): decrease selectors priority |
|
|
9
|
-
| 1.38.0 | Fri Aug 30 2024 | cashier-session-expiration-modal | feat(MMFE-1100)(cashier-error,cashier-method-details,cashier-page,cashier-session-expiration-modal): add session expiration widget |
|
package/README.md
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
# @everymatrix/cashier-session-expiration-modal
|
|
2
|
-
---------
|
|
3
|
-
|
|
4
|
-
## First step
|
|
5
|
-
---------
|
|
6
|
-
```
|
|
7
|
-
lerna bootstrap
|
|
8
|
-
```
|
|
9
|
-
|
|
10
|
-
## Run Widget
|
|
11
|
-
---------
|
|
12
|
-
- starts server at port 5050
|
|
13
|
-
- has livereload
|
|
14
|
-
|
|
15
|
-
```
|
|
16
|
-
yarn run dev
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
## Build Widget
|
|
20
|
-
---------
|
|
21
|
-
```
|
|
22
|
-
yarn run build
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
## Publishing widget
|
|
26
|
-
---------
|
|
27
|
-
- Note add your user to the npm
|
|
28
|
-
```
|
|
29
|
-
lerna publish
|
|
30
|
-
```
|