@everymatrix/cashier-method-details 1.43.4 → 1.45.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. package/components/CashierConfirmModal-B-t1-wAt.js +1063 -0
  2. package/components/CashierConfirmModal-O8Y6vOPF.cjs +4 -0
  3. package/components/CashierError-CnDiY61e.cjs +5 -0
  4. package/components/CashierError-DaumM6Zr.js +3758 -0
  5. package/components/CashierHeader-4ARwc1sM.cjs +1 -0
  6. package/components/CashierHeader-CYcLko5g.js +361 -0
  7. package/components/CashierIframeRedirect-BOPLcueW.cjs +1 -0
  8. package/components/CashierIframeRedirect-Bilctj-5.js +384 -0
  9. package/components/CashierMethodDetails-7O4DrJHq.cjs +18 -0
  10. package/components/CashierMethodDetails-CJU3RjOA.js +8096 -0
  11. package/components/CashierModal-CdNYc0Aj.js +220 -0
  12. package/components/CashierModal-DjXj2L6b.cjs +1 -0
  13. package/components/CashierNotifications-BVX2JvTh.cjs +1 -0
  14. package/components/CashierNotifications-DOgyzpyH.js +136 -0
  15. package/components/CashierReceiptPage-D9_BjYHP.cjs +1 -0
  16. package/components/CashierReceiptPage-DT7FhfRz.js +1093 -0
  17. package/components/CashierSpinner-BUe-mWNE.js +71 -0
  18. package/components/CashierSpinner-C7awkOxo.cjs +1 -0
  19. package/es2015/cashier-method-details.cjs +1 -0
  20. package/es2015/cashier-method-details.js +16 -0
  21. package/package.json +22 -32
  22. package/CHANGELOG.md +0 -35
  23. package/README.md +0 -30
  24. package/dist/cashier-method-details.js +0 -875
  25. package/dist/cashier-method-details.js.map +0 -1
  26. package/index.html +0 -36
  27. package/index.js +0 -1
  28. package/public/favicon.png +0 -0
  29. package/public/reset.css +0 -48
  30. package/rollup.config.js +0 -65
  31. package/src/CashierMethodDetails.svelte +0 -1539
  32. package/src/CashierMethodDetails.types.ts +0 -68
  33. package/src/i18n.js +0 -32
  34. package/src/index.ts +0 -4
  35. package/src/translations.js +0 -46
  36. package/stories/CashierMethodDetails.stories.js +0 -13
  37. package/tsconfig.json +0 -6
package/index.html DELETED
@@ -1,36 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset='utf-8'>
5
- <meta name='viewport' content='width=device-width,initial-scale=1'>
6
-
7
- <title>
8
- cashier-method-details
9
- </title>
10
- <link rel="stylesheet" href="public/reset.css">
11
- <script src='dist/cashier-method-details.js'></script>
12
- </head>
13
-
14
- <body>
15
- <style>
16
- html,body { margin: 0; padding: 0; height: 100%; font-family: "Helvetica Neue", "Helvetica", sans-serif; }
17
- .header { display: flex; justify-content: center; align-items: center; padding: 10px 20px; margin-bottom: 20px; background: #42a3e2; box-shadow: 3px 4px 5px 0px rgba(0,0,0, .2); }
18
- .header__logo svg { height: 50px; width: 50px; margin-right: 5px; }
19
- .header__name { color: #fff; }
20
- .header__name span { margin-right: 10px; font-weight: bold; }
21
- .webcomponent { padding: 10px 20px; }
22
- </style>
23
- <header class="header">
24
- <div class="header__logo">
25
- <svg xmlns="http://www.w3.org/2000/svg" width="161" height="132" viewBox="0 0 161 132"><defs><linearGradient x1="0%" y1="50%" y2="50%" id="a"><stop stop-color="#2A3B8F" offset="0%"/><stop stop-color="#29ABE2" offset="100%"/></linearGradient><linearGradient x1="100%" y1="50%" x2="0%" y2="50%" id="c"><stop stop-color="#B4D44E" offset="0%"/><stop stop-color="#E7F716" offset="100%"/></linearGradient></defs><g fill="none" fill-rule="evenodd"><path fill="#166DA5" d="M160.6 65.9l-17.4 29.3-24.4-29.7 24.4-28.9z"/><path fill="#8FDB69" d="M141.3 100.2l-26.5-31.7-15.9 26.6 24.7 36.1z"/><path fill="#166DA5" d="M141 31.4l-26.2 31.8-15.9-26.6L123.6.9z"/><path fill="url(#a)" opacity=".95" d="M61.1 31.4H141L123.4.7H78.7z M114.8 63.3H159l-15.9-26.8H98.8"/><path fill="url(#c)" opacity=".95" d="M141.3 100.3H61l17.6 30.5h45z M114.8 68.4H159l-15.9 26.8H98.8"/><path fill="#010101" d="M78.6 130.8L41 65.8 79.1.8H37.9L.4 65.8l37.5 65z"/></g></svg>
26
- </div>
27
- <h1 class="header__name">
28
- <span>WEBCOMPONENT:</span> cashier-method-details
29
- </h1>
30
- </header>
31
-
32
- <div class="webcomponent">
33
- <cashier-method-details amount="" lang="en" translationurl="https://static.everymatrix.com/mmstage/translations/1995/mm-localization-en.json" endpoint="https://odeonbet-api.stage.norway.everymatrix.com/" customerid="5199917" currency="TRY" session="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjaW8iOiJDTXNQRWdRSUFSQVBLZ2MxTVRrNU9URTNRZ0owY2xJYUNnUlRhWEpwRWdOUGJtVWFCMU5wY21sUGJtVWlCQWlZeXdGYUxBb1FVMlZqYjI1a0lGTjBjbVZsZENBeU14SU5VR3hsWVhOaGJuUjJhV3hzWlNJQ1VrOHFCVGt3TWpFd1lpRUtFbk5vWVhKdmJFQjViM0J0WVdsc0xtTnZiUklMS3prd09UZzNORFUyTlRScUV3Z0JFZzhLQ3pVeU5ETTJPVEUxTVRBMkVBRT0iLCJjdXIiOiJUUlkiLCJjdWMiOiJSTyIsImN1biI6IlNpcmlPbmUiLCJtaWQiOiIxOTk1Iiwic2lkIjoiZDlmNDk3M2NiZDAyNDUwZjg1Mjg4OWJlMzRiNWQxMGEiLCJjaG4iOiJEZXNrdG9wIiwidG50IjoiRGVwb3NpdCIsInNpcCI6IjE5NC40NC4xMjQuMjQyIiwidWFnIjoiQXBhY2hlLUh0dHBDbGllbnQvNC41LjEzIChKYXZhLzExLjAuMTYpIiwiYWNjIjoidGV4dC9wbGFpbiwgYXBwbGljYXRpb24vanNvbiwgYXBwbGljYXRpb24vKitqc29uLCAqLyoiLCJzdWwiOiJodHRwczovL29kZW9uYmV0LWFwaS5zdGFnZS5ub3J3YXkuZXZlcnltYXRyaXguY29tLy9lbi9teS1jYXNpbm8vcGF5bWVudC1oaXN0b3J5L2RlcG9zaXQiLCJjdWwiOiJodHRwczovL29kZW9uYmV0LWFwaS5zdGFnZS5ub3J3YXkuZXZlcnltYXRyaXguY29tLy9lbiIsImZ1bCI6Imh0dHBzOi8vb2Rlb25iZXQtYXBpLnN0YWdlLm5vcndheS5ldmVyeW1hdHJpeC5jb20vL2VuIiwicHNpIjoiMTBmZDYyZmQtMGQ2Mi00NjBmLWI5NGEtODg5NTljNmQ4ODJkIiwiY3JiIjoiZDA3N2E3ZTEtMjJiNC00NThiLTliMjQtZGUyYzYxODVkOTZiIiwicGlwIjoiMTk0LjQ0LjEyNC4yNDIiLCJyZWYiOiI2ODUxMmY0N2I1M2I0OGE2YmIyNzM5YjZjNTRlZDg1OCIsIm5iZiI6MTcwMTcwNTQ5OSwiZXhwIjoxNzAxNzA2Mzk5LCJpYXQiOjE3MDE3MDU0OTksImlzcyI6Imh0dHA6Ly9wYXltZW50b3JjaGVzdHJhdG9yLnBheW1lbnRvcmNoZXN0cmF0b3ItbnMuc3ZjLmNsdXN0ZXIubG9jYWw6ODA4MCIsImF1ZCI6Imh0dHA6Ly9wYXltZW50b3JjaGVzdHJhdG9yLnBheW1lbnRvcmNoZXN0cmF0b3ItbnMuc3ZjLmNsdXN0ZXIubG9jYWw6ODA4MCJ9.XMYexgsx1_ObF5T_kbwxmFRAEIrUrbt25COJMbQBDzw" selectedpaymentmethodname="Jeton"></cashier-method-details> </div>
34
-
35
- </body>
36
- </html>
package/index.js DELETED
@@ -1 +0,0 @@
1
- import './dist/cashier-method-details.js';
Binary file
package/public/reset.css DELETED
@@ -1,48 +0,0 @@
1
- /* http://meyerweb.com/eric/tools/css/reset/
2
- v2.0 | 20110126
3
- License: none (public domain)
4
- */
5
-
6
- html, body, div, span, applet, object, iframe,
7
- h1, h2, h3, h4, h5, h6, p, blockquote, pre,
8
- a, abbr, acronym, address, big, cite, code,
9
- del, dfn, em, img, ins, kbd, q, s, samp,
10
- small, strike, strong, sub, sup, tt, var,
11
- b, u, i, center,
12
- dl, dt, dd, ol, ul, li,
13
- fieldset, form, label, legend,
14
- table, caption, tbody, tfoot, thead, tr, th, td,
15
- article, aside, canvas, details, embed,
16
- figure, figcaption, footer, header, hgroup,
17
- menu, nav, output, ruby, section, summary,
18
- time, mark, audio, video {
19
- margin: 0;
20
- padding: 0;
21
- border: 0;
22
- font-size: 100%;
23
- font: inherit;
24
- vertical-align: baseline;
25
- }
26
- /* HTML5 display-role reset for older browsers */
27
- article, aside, details, figcaption, figure,
28
- footer, header, hgroup, menu, nav, section {
29
- display: block;
30
- }
31
- body {
32
- line-height: 1;
33
- }
34
- ol, ul {
35
- list-style: none;
36
- }
37
- blockquote, q {
38
- quotes: none;
39
- }
40
- blockquote:before, blockquote:after,
41
- q:before, q:after {
42
- content: '';
43
- content: none;
44
- }
45
- table {
46
- border-collapse: collapse;
47
- border-spacing: 0;
48
- }
package/rollup.config.js DELETED
@@ -1,65 +0,0 @@
1
- import svelte from 'rollup-plugin-svelte';
2
- import commonjs from '@rollup/plugin-commonjs';
3
- import resolve from '@rollup/plugin-node-resolve';
4
- import serve from 'rollup-plugin-dev-server';
5
- import livereload from 'rollup-plugin-livereload';
6
- import { terser } from 'rollup-plugin-terser';
7
- import sveltePreprocess from 'svelte-preprocess';
8
- import image from '@rollup/plugin-image';
9
- import typescript from '@rollup/plugin-typescript';
10
- import postcss from 'rollup-plugin-postcss';
11
- const production = process.env.NODE_ENV === 'production';
12
- const dev = process.env.NODE_ENV === 'development';
13
-
14
- export default {
15
- input: 'src/index.ts',
16
- output: {
17
- sourcemap: true,
18
- format: 'umd',
19
- name: 'app',
20
- file: 'dist/cashier-method-details.js'
21
- },
22
- plugins: [
23
- postcss({
24
- extensions:['.css']
25
- }),
26
- svelte({
27
- preprocess: sveltePreprocess(),
28
- compilerOptions: {
29
- // enable run-time checks when not in production
30
- customElement: true,
31
- dev: !production
32
- }
33
- }),
34
- commonjs(),
35
- resolve({
36
- browser: true,
37
- dedupe: ['svelte']
38
- }),
39
- dev && serve({
40
- open: true,
41
- verbose: true,
42
- allowCrossOrigin: true,
43
- historyApiFallback: false,
44
- host: 'localhost',
45
- port: 5050,
46
- }),
47
- dev && livereload({ watch: ['', 'dist'] }),
48
- image(),
49
- typescript({
50
- sourceMap: !production,
51
- inlineSources: !production,
52
- }),
53
- // If we're building for production (npm run build
54
- // instead of npm run dev), minify
55
- production &&
56
- terser({
57
- output: {
58
- comments: "all"
59
- },
60
- })
61
- ],
62
- watch: {
63
- clearScreen: false
64
- }
65
- };