Commit 749a6447 authored by chaiwat's avatar chaiwat

Add dashboard

parent 3294b268
......@@ -3,6 +3,7 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@line/liff": "^2.17.0",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
......
<!DOCTYPE html>
<html lang="en">
<head>
<head>
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta
name="description"
content="Web site created using create-react-app"
/>
<meta name="description" content="Web site created using create-react-app" />
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<!--
manifest.json provides metadata used when your web app is installed on a
......@@ -24,9 +22,13 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<!-- line sdk -->
<script src="https://static.line-scdn.net/liff/edge/2.1/liff.js"></script>
<!-- line sdk -->
<title>React App</title>
</head>
<body>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<!--
......@@ -39,5 +41,6 @@
To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
-->
</body>
</body>
</html>
\ No newline at end of file
import { lazy } from 'react'
const PagesRoutes = [
// Dashboard
{
path: '/Dashboard',
component: lazy(() => import('../../view/Dashboards/ecommerce')),
layout: 'VerticalLayout',
}
]
export default PagesRoutes
\ No newline at end of file
// Routes Imports
import Pages from "./Pages";
// Merge Routes
const Routes = [...Pages];
export { Routes };
\ No newline at end of file
import React from 'react'
export default function Ecommerce() {
return (
<div>
<h3>สวัสดี, Fariw 👋</h3>
</div>
)
}
\ No newline at end of file
import liff from "@line/liff";
import { Fragment, useEffect, useState } from "react";
function App() {
// const [pictureUrl, setPictureUrl] = useState(logo)
// eslint-disable-next-line no-unused-vars
const [idToken, setIdToken] = useState("");
// const [displayName, setDisplayName] = useState('')
// const [statusMessage, setStatusMessage] = useState('')
// const [userId, setUserId] = useState('')
// const logout = () => {
// liff.logout()
// window.location.reload()
// }
const initLine = () => {
liff.init(
{ liffId: "1656654849-0gQezROW" },
() => {
if (liff.isLoggedIn()) {
runApp();
} else {
liff.login();
}
},
(err) => console.error(err)
);
};
const runApp = () => {
const idToken = liff.getIDToken();
setIdToken(idToken);
liff
.getProfile()
.then((profile) => {
console.log(profile)
setTimeout(() => {
window.location.href = '/Dashboard'
}, 3000);
})
.catch((err) => console.error(err));
};
useEffect(() => {
initLine();
// eslint-disable-next-line react-hooks/exhaustive-deps
}, []);
return (
<div>
<p>Login</p>
</div>
)
<Fragment></Fragment>
);
}
export default App
\ No newline at end of file
export default App;
......@@ -1742,6 +1742,459 @@
"@types/yargs" "^16.0.0"
chalk "^4.0.0"
"@liff/add-to-home-screen@2.17.0":
version "2.17.0"
resolved "https://registry.yarnpkg.com/@liff/add-to-home-screen/-/add-to-home-screen-2.17.0.tgz#8efecd3c552682282571bbbd651683fb97663890"
integrity sha512-uLOqWcGgfNklMNeDl1YpKFb67rRYvuI+rZVuzNYHS3iu+zWNuK13kfyxu2fyBS1Fe3KhnmYFZOUOSPkTi1TaVg==
dependencies:
"@liff/check-availability" "2.17.0"
"@liff/consts" "2.17.0"
"@liff/is-in-client" "2.17.0"
"@liff/is-sub-window" "2.17.0"
"@liff/native-bridge" "2.17.0"
"@liff/open-window" "2.17.0"
"@liff/util" "2.17.0"
"@liff/analytics@2.17.0":
version "2.17.0"
resolved "https://registry.yarnpkg.com/@liff/analytics/-/analytics-2.17.0.tgz#c7cab57a116ba284b2c070519615234e9088d19e"
integrity sha512-X0oWGM/gejTk86Gtt0C3zAcmcQghGlzcbJKm7uu3smRsRkAYb8UgeuhPIspxtg7jEkDQpNi7qVzRyOH9g241Ow==
dependencies:
"@liff/consts" "2.17.0"
"@liff/get-profile" "2.17.0"
"@liff/get-version" "2.17.0"
"@liff/is-logged-in" "2.17.0"
"@liff/logger" "2.17.0"
"@liff/store" "2.17.0"
"@liff/types" "2.17.0"
"@liff/use" "2.17.0"
"@liff/util" "2.17.0"
"@liff/check-availability@2.17.0":
version "2.17.0"
resolved "https://registry.yarnpkg.com/@liff/check-availability/-/check-availability-2.17.0.tgz#9f5690178f49826c5e427809a528e1f8bff6c238"
integrity sha512-YXFe2tVuJNn64B26o8cgB17s78bkwXCXb4Y+ibuT8qam5f0Imc4aVlMmU91pxNufP28GVKNSZ6hNjIYa0mhhmw==
dependencies:
"@liff/get-version" "2.17.0"
"@liff/is-api-available" "2.17.0"
"@liff/util" "2.17.0"
"@liff/close-window@2.17.0":
version "2.17.0"
resolved "https://registry.yarnpkg.com/@liff/close-window/-/close-window-2.17.0.tgz#3e4bcd3ddae0d7b2694494116269602e81958993"
integrity sha512-bXGlR4ymANDihfQhhPfh01pGhVqdYHXTOBDgtZ9+dbx7hMhI9jxBgPnv2Hjw/aElPTyFziENmHrRlA/ISWwYsA==
dependencies:
"@liff/get-line-version" "2.17.0"
"@liff/get-os" "2.17.0"
"@liff/native-bridge" "2.17.0"
"@liff/util" "2.17.0"
"@liff/consts@2.17.0":
version "2.17.0"
resolved "https://registry.yarnpkg.com/@liff/consts/-/consts-2.17.0.tgz#9beaff423d41a47f2fb78a4ac7f7f37c9823e0de"
integrity sha512-IiOTLWq+CTj1UUxpFuc/lNrPObsEMM/penFB59uEEaVoW2Je5i2tncS2526jXyacEg4z7Px51RQTR1soXTN9yg==
"@liff/extensions@2.17.0":
version "2.17.0"
resolved "https://registry.yarnpkg.com/@liff/extensions/-/extensions-2.17.0.tgz#bfd0540bab044ea173d102f705f59f344ccbfc9a"
integrity sha512-Cb1X6pLUzdtdoqzye2xq14NHK7JObhj7nXwodQvB6/YBTh36B1j4l7VRS33itAtGI85Rem4TCwZX/ckHKgxZXA==
dependencies:
"@liff/add-to-home-screen" "2.17.0"
"@liff/check-availability" "2.17.0"
"@liff/consts" "2.17.0"
"@liff/get-advertising-id" "2.17.0"
"@liff/get-line-version" "2.17.0"
"@liff/get-os" "2.17.0"
"@liff/logger" "2.17.0"
"@liff/scan-code" "2.17.0"
"@liff/store" "2.17.0"
"@liff/util" "2.17.0"
"@liff/get-advertising-id@2.17.0":
version "2.17.0"
resolved "https://registry.yarnpkg.com/@liff/get-advertising-id/-/get-advertising-id-2.17.0.tgz#ae00e34fd17a9a72adc1302b1bbdc79c36d88fc5"
integrity sha512-eruBShovXsNr8giJzHgVu2Gt50V6K170UJ7xZgptCTmZRgFY9twJhlp5WZMXUsEPy8seAwxI80324vhJ1+hQpg==
dependencies:
"@liff/check-availability" "2.17.0"
"@liff/consts" "2.17.0"
"@liff/native-bridge" "2.17.0"
"@liff/util" "2.17.0"
"@liff/get-friendship@2.17.0":
version "2.17.0"
resolved "https://registry.yarnpkg.com/@liff/get-friendship/-/get-friendship-2.17.0.tgz#6e1708ebb931a6c4fb1a63827866f66abfb1034e"
integrity sha512-5n6JsLHjigj6d2T//CVeJcJyX8RE71vlOl7l4+3Ma13HdesgjunCDJm1QcD6r3krxK2+4J4wH9O0KF10vf6LwQ==
dependencies:
"@liff/server-api" "2.17.0"
"@liff/get-language@2.17.0":
version "2.17.0"
resolved "https://registry.yarnpkg.com/@liff/get-language/-/get-language-2.17.0.tgz#417e2e303478ea29b666757ba14690bfafa7d710"
integrity sha512-6RJVCkwp5HKmoyKtGrgeZBFu7tNCNcCfMRFiglLQiWQmhxgTebiYA9Nm5AZ5swQUPGte5FJfo2CYGfpmJLewdA==
"@liff/get-line-version@2.17.0":
version "2.17.0"
resolved "https://registry.yarnpkg.com/@liff/get-line-version/-/get-line-version-2.17.0.tgz#91a7c80e2ab8d10970a1a2a087cf320d2959a226"
integrity sha512-lIJDtAdsORSoHOXurnwNHgNiJciZbJQfdSBx1jK8NmN6IizLfv5DBLZLAawZ3s83nrVq3Qo4yYymFuy91CDkpw==
"@liff/get-os@2.17.0":
version "2.17.0"
resolved "https://registry.yarnpkg.com/@liff/get-os/-/get-os-2.17.0.tgz#bd3449d67aae15858e8c21016df52b9d9449463d"
integrity sha512-V6N1TAiXNwe+L8LLYNdwB4BMlgUj2ycrpc8Q0/vLnuS+zVllLUy/OaWz/92gnngghK6zWZPP/1wjq9wMqQlykQ==
"@liff/get-profile@2.17.0":
version "2.17.0"
resolved "https://registry.yarnpkg.com/@liff/get-profile/-/get-profile-2.17.0.tgz#504c4d81fca83dfe895960a302747030f4bb592c"
integrity sha512-zRGSKzAoOVBLUoJUrWFW0SaAZudcvMg3P4kbAyHl38DdRFh5nKj9UQDkswQULGdXN7BJen2Cq8h/deMaBEz+1w==
dependencies:
"@liff/server-api" "2.17.0"
"@liff/get-version@2.17.0":
version "2.17.0"
resolved "https://registry.yarnpkg.com/@liff/get-version/-/get-version-2.17.0.tgz#37d120189bde93c7b9b413f7883c24a4b6b1c39c"
integrity sha512-Apn7ScmhEEVDYthR8KP5u031IFh03goahyVRpi3uI0wxG5nuwjfjD0qaH/3QawckQbIFLdPJUL+p6PbJshablw==
"@liff/init@2.17.0":
version "2.17.0"
resolved "https://registry.yarnpkg.com/@liff/init/-/init-2.17.0.tgz#a7534d753c0606ff3ffbc747705b709da86c80a6"
integrity sha512-784yQT9oj5vSuwwdSX/tkJ6dC2iqq5u0VVa2gPD2k9LokjpE/fZ6/Ek+uiwnAzBA3MID/SG2G6rbmbfzq0Sfmw==
dependencies:
"@liff/consts" "2.17.0"
"@liff/extensions" "2.17.0"
"@liff/get-line-version" "2.17.0"
"@liff/get-os" "2.17.0"
"@liff/is-api-available" "2.17.0"
"@liff/is-in-client" "2.17.0"
"@liff/is-logged-in" "2.17.0"
"@liff/is-sub-window" "2.17.0"
"@liff/logger" "2.17.0"
"@liff/login" "2.17.0"
"@liff/logout" "2.17.0"
"@liff/native-bridge" "2.17.0"
"@liff/ready" "2.17.0"
"@liff/server-api" "2.17.0"
"@liff/store" "2.17.0"
"@liff/sub-window" "2.17.0"
"@liff/types" "2.17.0"
"@liff/use" "2.17.0"
"@liff/util" "2.17.0"
"@liff/is-api-available@2.17.0":
version "2.17.0"
resolved "https://registry.yarnpkg.com/@liff/is-api-available/-/is-api-available-2.17.0.tgz#f79d472f35da5aef89389de99ab81e3c7fd22c9f"
integrity sha512-Kjkeytq7o4A0wpXIc6IC/CEEZ9EfQ7COGJGtBhzm/7M474epKhP2hjmQ5K9Z0Vt0h2s5RzOj0ZBE3xSjuFS0fg==
dependencies:
"@liff/consts" "2.17.0"
"@liff/get-line-version" "2.17.0"
"@liff/is-in-client" "2.17.0"
"@liff/is-logged-in" "2.17.0"
"@liff/store" "2.17.0"
"@liff/util" "2.17.0"
"@liff/is-in-client@2.17.0":
version "2.17.0"
resolved "https://registry.yarnpkg.com/@liff/is-in-client/-/is-in-client-2.17.0.tgz#47f0155a9efd884a18beb7a69b00836b81bc8e4b"
integrity sha512-wxjLtXBsUyxakPh7dKrcVSGO9Q8Veuv8enPwX1uR2eQJrP5eDNd7qtAGDcQO1nXVh5xLL/SczWT9dVp6vDTL4w==
dependencies:
"@liff/consts" "2.17.0"
"@liff/util" "2.17.0"
"@liff/is-logged-in@2.17.0":
version "2.17.0"
resolved "https://registry.yarnpkg.com/@liff/is-logged-in/-/is-logged-in-2.17.0.tgz#00d9b128d3a72dc57f89576842704442e5ce667b"
integrity sha512-yZqWRQ8DQJpnRPDEuU/hEI6EyDHC6b8rv88IpCQcYcNUAzjvnOskJjqzxRCUu58iMy4U8geMp/2J6X0lblCfnA==
dependencies:
"@liff/store" "2.17.0"
"@liff/is-sub-window@2.17.0":
version "2.17.0"
resolved "https://registry.yarnpkg.com/@liff/is-sub-window/-/is-sub-window-2.17.0.tgz#e43db945d12edc7972844af88019257f421e61a1"
integrity sha512-EAw/ozFhfJrMGRAXx9Y88tHr5JfhZTMacUQUvtkcSkQD7Kiv8EV87LPL26ZpFIIQzdR39m91x5gbwtXeu9AxRw==
dependencies:
"@liff/consts" "2.17.0"
"@liff/is-in-client" "2.17.0"
"@liff/store" "2.17.0"
"@liff/use" "2.17.0"
"@liff/util" "2.17.0"
"@liff/liff-types@2.17.0":
version "2.17.0"
resolved "https://registry.yarnpkg.com/@liff/liff-types/-/liff-types-2.17.0.tgz#a8d6ec390460f42c7ca300731095af21d7bdbd9c"
integrity sha512-2DNzFt1NPPVUl+thfD3Ymu4ly4as3PMVEQqIowAqq+jUpw+XEi88mCSxIbOtmS4EE8swPqFzlDL47g83IfpEZA==
dependencies:
"@liff/analytics" "2.17.0"
"@liff/close-window" "2.17.0"
"@liff/get-friendship" "2.17.0"
"@liff/get-language" "2.17.0"
"@liff/get-line-version" "2.17.0"
"@liff/get-os" "2.17.0"
"@liff/get-profile" "2.17.0"
"@liff/get-version" "2.17.0"
"@liff/init" "2.17.0"
"@liff/is-api-available" "2.17.0"
"@liff/is-in-client" "2.17.0"
"@liff/is-logged-in" "2.17.0"
"@liff/is-sub-window" "2.17.0"
"@liff/login" "2.17.0"
"@liff/logout" "2.17.0"
"@liff/native-bridge" "2.17.0"
"@liff/open-window" "2.17.0"
"@liff/permanent-link" "2.17.0"
"@liff/permission" "2.17.0"
"@liff/ready" "2.17.0"
"@liff/scan-code-v2" "2.17.0"
"@liff/send-messages" "2.17.0"
"@liff/share-target-picker" "2.17.0"
"@liff/store" "2.17.0"
"@liff/sub-window" "2.17.0"
"@liff/use" "2.17.0"
"@liff/logger@2.17.0":
version "2.17.0"
resolved "https://registry.yarnpkg.com/@liff/logger/-/logger-2.17.0.tgz#9a7ab04e3089268bf7d7f133258ae801d670e0cf"
integrity sha512-g4jvfiK3UHzlmSZmKyfqFwDuZnqoSrkzwSUuVbMtetD0cNA8ub+5mW9qLqbNKLysb5qeTcF23DmABvpiUHzgCg==
"@liff/login@2.17.0":
version "2.17.0"
resolved "https://registry.yarnpkg.com/@liff/login/-/login-2.17.0.tgz#7876a911ec83dcf7ac230c0ea3af3cc573f6a4a7"
integrity sha512-dstvl3omJCaR5fnM+75dwLPoMnEYLcXwNYL0/dQOv7TNKbaFxcfiyR4dIziIi3l4FWRBKFDEl2/KaTlnrAVnug==
dependencies:
"@liff/consts" "2.17.0"
"@liff/get-version" "2.17.0"
"@liff/is-in-client" "2.17.0"
"@liff/is-sub-window" "2.17.0"
"@liff/logger" "2.17.0"
"@liff/server-api" "2.17.0"
"@liff/store" "2.17.0"
"@liff/use" "2.17.0"
"@liff/util" "2.17.0"
tiny-sha256 "^1.0.2"
"@liff/logout@2.17.0":
version "2.17.0"
resolved "https://registry.yarnpkg.com/@liff/logout/-/logout-2.17.0.tgz#fdbe5ad7a537e8d7336c0f4c9e51ddf5011c42e0"
integrity sha512-0fncULoYk0GUe80kI0gmr0ZMotqgksT1Jt8hQBgC0NoC4nmjG91d4+WViYHVYUwg3hfZDCK5u0OJsIJJLEYLnw==
dependencies:
"@liff/store" "2.17.0"
"@liff/native-bridge@2.17.0":
version "2.17.0"
resolved "https://registry.yarnpkg.com/@liff/native-bridge/-/native-bridge-2.17.0.tgz#97444b26070de4192d9675df92040cb4d018842a"
integrity sha512-2uEmVJ+yvuNJlVs06XdQbXNVKAjkNHwuZp/IPT+H+K08R6+cOHBusqQSvluGHfmaPFwV8+Yw6l9iLyOI3wsRwg==
dependencies:
"@liff/consts" "2.17.0"
"@liff/logger" "2.17.0"
"@liff/store" "2.17.0"
"@liff/util" "2.17.0"
"@liff/open-window@2.17.0":
version "2.17.0"
resolved "https://registry.yarnpkg.com/@liff/open-window/-/open-window-2.17.0.tgz#4dc457eb3126709d11220d51009b561bd2c905af"
integrity sha512-IHJWt0u+9SLbjsWCPdJf+QUFsbjOqjLeNBPWQ9Q+H3fLLf/+yi9QAffpBzpNTp8GSYzK2+OpkJ5STrEDGM+bTw==
dependencies:
"@liff/consts" "2.17.0"
"@liff/get-line-version" "2.17.0"
"@liff/get-os" "2.17.0"
"@liff/is-in-client" "2.17.0"
"@liff/native-bridge" "2.17.0"
"@liff/util" "2.17.0"
"@liff/permanent-link@2.17.0":
version "2.17.0"
resolved "https://registry.yarnpkg.com/@liff/permanent-link/-/permanent-link-2.17.0.tgz#30623ed6f18e8497857f41f5df737926703569c8"
integrity sha512-db1LDBs9IF/mD0iTxaXr6S0MNiXMyQjuyDZqaBTWi5OSzQfs1jmZkEgb1+yPdUUXYWq35rY1aAGMmN+t0n4I/g==
dependencies:
"@liff/consts" "2.17.0"
"@liff/store" "2.17.0"
"@liff/use" "2.17.0"
"@liff/util" "2.17.0"
"@liff/permission@2.17.0":
version "2.17.0"
resolved "https://registry.yarnpkg.com/@liff/permission/-/permission-2.17.0.tgz#71d9ec7cd35a9faadab3a43a18a8d51ea9438997"
integrity sha512-Mm52FxAaDaJqR61RX9tcFevyuU+Xo0UuEEHTtYEd7yl08AYhahowWp0d7brsvFRss7mbsOuy9EQ3IYnUXyh/eQ==
dependencies:
"@liff/consts" "2.17.0"
"@liff/is-in-client" "2.17.0"
"@liff/server-api" "2.17.0"
"@liff/store" "2.17.0"
"@liff/sub-window" "2.17.0"
"@liff/use" "2.17.0"
"@liff/util" "2.17.0"
"@liff/ready@2.17.0":
version "2.17.0"
resolved "https://registry.yarnpkg.com/@liff/ready/-/ready-2.17.0.tgz#1333db6eddc76b50dcb1d1c0b33cf62f9936824a"
integrity sha512-Ady5/T4WEnwnoyw/5OXOpQ2+dt8k3QW9Cg7d93Sea54mWDAA0KqgFxWCGLSaGgjj4xphZo7SXlGNZyqVadH0LA==
"@liff/scan-code-v2@2.17.0":
version "2.17.0"
resolved "https://registry.yarnpkg.com/@liff/scan-code-v2/-/scan-code-v2-2.17.0.tgz#ebcfb37f9b1bbcf3f5afcbdac623e28527a5aa03"
integrity sha512-qqpioDYutW88x+yLwjmKO0y/2GHOD2upGL8Eb/iDwR6KrsDWBcrjTezkzQju/GSeldW34rqBSaqDsgBxJQJQRw==
dependencies:
"@liff/consts" "2.17.0"
"@liff/is-api-available" "2.17.0"
"@liff/sub-window" "2.17.0"
"@liff/use" "2.17.0"
"@liff/util" "2.17.0"
"@liff/scan-code@2.17.0":
version "2.17.0"
resolved "https://registry.yarnpkg.com/@liff/scan-code/-/scan-code-2.17.0.tgz#77fbb2de9b96fca02b88d440dbccbb5575e19efb"
integrity sha512-C1mXURqU8j9ELs5vAKKwQtp8LMhTIeTrcCiu+pCm2FPDgqVm0wv4IrcDAQ4qhyfkMAjjg7KdOS10MCo4t8f5pg==
dependencies:
"@liff/check-availability" "2.17.0"
"@liff/consts" "2.17.0"
"@liff/native-bridge" "2.17.0"
"@liff/util" "2.17.0"
"@liff/send-messages@2.17.0":
version "2.17.0"
resolved "https://registry.yarnpkg.com/@liff/send-messages/-/send-messages-2.17.0.tgz#f664bbfe44fa079eec651b33178a30a5b3d84b99"
integrity sha512-r0iZ+bd9mbPQ/qfCJwD1OosPCBL1eXYirp4QBY4FjbAom6wdDshuHYLZ/KeVn1eMtcuYPBypFokbI6CyGIBHvw==
dependencies:
"@liff/consts" "2.17.0"
"@liff/server-api" "2.17.0"
"@liff/util" "2.17.0"
"@line/bot-sdk" "^7.0.0"
"@liff/server-api@2.17.0":
version "2.17.0"
resolved "https://registry.yarnpkg.com/@liff/server-api/-/server-api-2.17.0.tgz#58038eba69933f7a5023123999bf680d574cf348"
integrity sha512-a+1rCXR39t3PuptYRjsELtzQv9V1IPm2tUUyzSIm3cQGQQsBtxivrY1irZIlAKnekziS9djnswDhW3PLM/Q2MA==
dependencies:
"@liff/consts" "2.17.0"
"@liff/store" "2.17.0"
"@liff/util" "2.17.0"
"@liff/share-target-picker@2.17.0":
version "2.17.0"
resolved "https://registry.yarnpkg.com/@liff/share-target-picker/-/share-target-picker-2.17.0.tgz#49111de7fff55ba7f01a08d336de0cfd65474e67"
integrity sha512-b1q4hcWIjqxU2Los0a4G8AiraGQwa1w5w5OZF2L53WjvdwaeSB+ObARunaB05v7IRYYI2mgrxrs9kRdpNvxpbQ==
dependencies:
"@liff/analytics" "2.17.0"
"@liff/consts" "2.17.0"
"@liff/get-line-version" "2.17.0"
"@liff/get-os" "2.17.0"
"@liff/is-in-client" "2.17.0"
"@liff/is-logged-in" "2.17.0"
"@liff/is-sub-window" "2.17.0"
"@liff/logger" "2.17.0"
"@liff/send-messages" "2.17.0"
"@liff/server-api" "2.17.0"
"@liff/store" "2.17.0"
"@liff/types" "2.17.0"
"@liff/use" "2.17.0"
"@liff/util" "2.17.0"
"@liff/window-postmessage" "2.17.0"
"@liff/store@2.17.0":
version "2.17.0"
resolved "https://registry.yarnpkg.com/@liff/store/-/store-2.17.0.tgz#a0fabc57b95b1ad6a9ab01e3991a6c188f41ff04"
integrity sha512-n+whe+RljpFNwVPbOL5sLS3jf9Q3tU2nSCjQmUu4ORSWCj8rIlCrlTY/4Jq60TU1xsE4guKuD/OmvSksr6rYwg==
dependencies:
"@liff/consts" "2.17.0"
"@liff/is-in-client" "2.17.0"
"@liff/types" "2.17.0"
"@liff/util" "2.17.0"
"@liff/sub-window@2.17.0":
version "2.17.0"
resolved "https://registry.yarnpkg.com/@liff/sub-window/-/sub-window-2.17.0.tgz#3547731f34b4d8ed897b815b9231810e5fb11461"
integrity sha512-fZEzltqWebNSCYK4nTmgbrOn9S39rkIQe4Oq2pBG7Za6I2hsksAjDf2sFHfaMwPZvwD1aDs6VJltEj7utJg36g==
dependencies:
"@liff/close-window" "2.17.0"
"@liff/consts" "2.17.0"
"@liff/get-os" "2.17.0"
"@liff/is-api-available" "2.17.0"
"@liff/is-in-client" "2.17.0"
"@liff/is-sub-window" "2.17.0"
"@liff/logger" "2.17.0"
"@liff/server-api" "2.17.0"
"@liff/store" "2.17.0"
"@liff/util" "2.17.0"
"@liff/types@2.17.0":
version "2.17.0"
resolved "https://registry.yarnpkg.com/@liff/types/-/types-2.17.0.tgz#d49ee6827d41e4a69d10e801daaa7734cbfc076e"
integrity sha512-KmJMFyeOwzCRxnJaqpAMNOkd3eoddVxMArGCmWyNvxwt0ZI35RtlsH+LEN2XhHb02k/4pgvSsJYUQhV/tfbe3Q==
"@liff/use@2.17.0":
version "2.17.0"
resolved "https://registry.yarnpkg.com/@liff/use/-/use-2.17.0.tgz#2d31abb0f740915d80a7898d8b62f3275a82f02c"
integrity sha512-evLGeOxS0NGb5G9d2rq3XI43WP+W574PH7VpUhlSDBmRiMe+2LghxbVgSIvoqwZAlSwV3swxcwPCAldAPmQ4DQ==
dependencies:
"@liff/logger" "2.17.0"
"@liff/util@2.17.0":
version "2.17.0"
resolved "https://registry.yarnpkg.com/@liff/util/-/util-2.17.0.tgz#ad535d49105003aa99743fdc3d65b5039815b824"
integrity sha512-8KgD6eAdN615mgVbuDgip9YhlOe0i8dRZbzQMT1xuBx1PTCBVkv+5WqqWZorNM+uuhm5XiNf32+HXnIGqlzVSQ==
dependencies:
"@liff/consts" "2.17.0"
"@liff/logger" "2.17.0"
"@liff/window-postmessage@2.17.0":
version "2.17.0"
resolved "https://registry.yarnpkg.com/@liff/window-postmessage/-/window-postmessage-2.17.0.tgz#0eb9651e16e788386d1a3131b3d8a80baeedb61d"
integrity sha512-ojo8P+UOIOg7Ydk3rNPimywRXZ7nJeTkox4HLiVhyPbembTcXGfYvvTfZetksN3by9EtFFq5GwDgmeyrkkkyZw==
dependencies:
"@liff/consts" "2.17.0"
"@liff/logger" "2.17.0"
"@liff/util" "2.17.0"
"@line/bot-sdk@^7.0.0":
version "7.4.0"
resolved "https://registry.yarnpkg.com/@line/bot-sdk/-/bot-sdk-7.4.0.tgz#c657fed7fb3eec42f0c352dd5278c953bf0d49d0"
integrity sha512-MNnE9Ew/NRhZIvSchWRaStJGVDcPIGhG7tiZ5Oz3DO+KOgbUffS1Pn+j4aatcBcULLysv0fgp2anIllc+N+hmA==
dependencies:
"@types/body-parser" "^1.19.0"
"@types/node" "^14.10.0"
axios "^0.21.1"
body-parser "^1.19.0"
file-type "^15.0.0"
form-data "^3.0.0"
"@line/liff@^2.17.0":
version "2.17.0"
resolved "https://registry.yarnpkg.com/@line/liff/-/liff-2.17.0.tgz#d869b0d9b54c56358b9de7707c02a56f204c1f68"
integrity sha512-MGDNoBE/eCMd4+Od/YqFBBsRgBzLf+S8SgBH+xrw8MaK/zrl+12x+BxZX+Ji+lTDv5+sYaEYghqlipCh8aqpvw==
dependencies:
"@liff/analytics" "2.17.0"
"@liff/close-window" "2.17.0"
"@liff/consts" "2.17.0"
"@liff/extensions" "2.17.0"
"@liff/get-friendship" "2.17.0"
"@liff/get-language" "2.17.0"
"@liff/get-line-version" "2.17.0"
"@liff/get-os" "2.17.0"
"@liff/get-profile" "2.17.0"
"@liff/get-version" "2.17.0"
"@liff/init" "2.17.0"
"@liff/is-api-available" "2.17.0"
"@liff/is-in-client" "2.17.0"
"@liff/is-logged-in" "2.17.0"
"@liff/is-sub-window" "2.17.0"
"@liff/liff-types" "2.17.0"
"@liff/login" "2.17.0"
"@liff/logout" "2.17.0"
"@liff/native-bridge" "2.17.0"
"@liff/open-window" "2.17.0"
"@liff/permanent-link" "2.17.0"
"@liff/permission" "2.17.0"
"@liff/ready" "2.17.0"
"@liff/scan-code-v2" "2.17.0"
"@liff/send-messages" "2.17.0"
"@liff/server-api" "2.17.0"
"@liff/share-target-picker" "2.17.0"
"@liff/store" "2.17.0"
"@liff/sub-window" "2.17.0"
"@liff/use" "2.17.0"
"@liff/util" "2.17.0"
promise-polyfill "^8.1.3"
tslib "^2.3.0"
whatwg-fetch "^3.0.0"
"@nodelib/fs.scandir@2.1.5":
version "2.1.5"
resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5"
......@@ -1988,6 +2441,16 @@
dependencies:
"@babel/runtime" "^7.12.5"
"@tokenizer/token@^0.1.1":
version "0.1.1"
resolved "https://registry.yarnpkg.com/@tokenizer/token/-/token-0.1.1.tgz#f0d92c12f87079ddfd1b29f614758b9696bc29e3"
integrity sha512-XO6INPbZCxdprl+9qa/AAbFFOMzzwqYxpjPgLICrMD6C2FCw6qfJOPcBk6JqqPLSaZ/Qx87qn4rpPmPMwaAK6w==
"@tokenizer/token@^0.3.0":
version "0.3.0"
resolved "https://registry.yarnpkg.com/@tokenizer/token/-/token-0.3.0.tgz#fe98a93fe789247e998c75e74e9c7c63217aa276"
integrity sha512-OvjF+z51L3ov0OyAU0duzsYuvO01PH7x4t6DJx+guahgTnBHkhJdG7soQeTSFLWN3efnHyibZ4Z8l2EuWwJN3A==
"@tootallnate/once@1":
version "1.1.2"
resolved "https://registry.yarnpkg.com/@tootallnate/once/-/once-1.1.2.tgz#ccb91445360179a04e7fe6aff78c00ffc1eeaf82"
......@@ -2038,11 +2501,26 @@
dependencies:
"@babel/types" "^7.3.0"
"@types/body-parser@^1.19.0":
version "1.19.2"
resolved "https://registry.yarnpkg.com/@types/body-parser/-/body-parser-1.19.2.tgz#aea2059e28b7658639081347ac4fab3de166e6f0"
integrity sha512-ALYone6pm6QmwZoAgeyNksccT9Q4AWZQ6PvfwR37GT6r6FWUPguq6sUmNGSMV2Wr761oQoBxwGGa6DR5o1DC9g==
dependencies:
"@types/connect" "*"
"@types/node" "*"
"@types/color-name@^1.1.1":
version "1.1.1"
resolved "https://registry.yarnpkg.com/@types/color-name/-/color-name-1.1.1.tgz#1c1261bbeaa10a8055bbc5d8ab84b7b2afc846a0"
integrity sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ==
"@types/connect@*":
version "3.4.35"
resolved "https://registry.yarnpkg.com/@types/connect/-/connect-3.4.35.tgz#5fcf6ae445e4021d1fc2219a4873cc73a3bb2ad1"
integrity sha512-cdeYyv4KWoEgpBISTxWvqYsVy444DOqehiF3fM3ne10AmJ62RSyNkUnxMJXHQWRQQX2eR94m5y1IZyDwBjV9FQ==
dependencies:
"@types/node" "*"
"@types/eslint@^7.28.2":
version "7.29.0"
resolved "https://registry.yarnpkg.com/@types/eslint/-/eslint-7.29.0.tgz#e56ddc8e542815272720bb0b4ccc2aff9c3e1c78"
......@@ -2144,6 +2622,11 @@
resolved "https://registry.yarnpkg.com/@types/node/-/node-13.9.2.tgz#ace1880c03594cc3e80206d96847157d8e7fa349"
integrity sha512-bnoqK579sAYrQbp73wwglccjJ4sfRdKU7WNEZ5FW4K2U6Kc0/eZ5kvXG0JKsEKFB50zrFmfFt52/cvBbZa7eXg==
"@types/node@^14.10.0":
version "14.17.34"
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.17.34.tgz#fe4b38b3f07617c0fa31ae923fca9249641038f0"
integrity sha512-USUftMYpmuMzeWobskoPfzDi+vkpe0dvcOBRNOscFrGxVp4jomnRxWuVohgqBow2xyIPC0S3gjxV/5079jhmDg==
"@types/normalize-package-data@^2.4.0":
version "2.4.1"
resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.1.tgz#d3357479a0fdfdd5907fe67e17e0a85c906e1301"
......@@ -2916,6 +3399,13 @@ axe-core@^4.3.5:
resolved "https://registry.yarnpkg.com/axe-core/-/axe-core-4.3.5.tgz#78d6911ba317a8262bfee292aeafcc1e04b49cc5"
integrity sha512-WKTW1+xAzhMS5dJsxWkliixlO/PqC4VhmO9T4juNYcaTg9jzWiJsou6m5pxWYGfigWbwzJWeFY6z47a+4neRXA==
axios@^0.21.1:
version "0.21.4"
resolved "https://registry.yarnpkg.com/axios/-/axios-0.21.4.tgz#c67b90dc0568e5c1cf2b0b858c43ba28e2eda575"
integrity sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==
dependencies:
follow-redirects "^1.14.0"
axobject-query@^2.2.0:
version "2.2.0"
resolved "https://registry.yarnpkg.com/axobject-query/-/axobject-query-2.2.0.tgz#943d47e10c0b704aa42275e20edf3722648989be"
......@@ -3179,7 +3669,7 @@ bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.1.1, bn.js@^4.4.0:
resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.11.8.tgz#2cde09eb5ee341f484746bb0309b3253b1b1442f"
integrity sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA==
body-parser@1.19.0:
body-parser@1.19.0, body-parser@^1.19.0:
version "1.19.0"
resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.19.0.tgz#96b2709e57c9c4e09a6fd66a8fd979844f69f08a"
integrity sha512-dhEPs72UPbDnAQJ9ZKMNTP6ptJaionhP5cBb541nXPlW60Jepo9RV/a4fX4XWW9CuFNK22krhrj1+rgzifNCsw==
......@@ -5385,6 +5875,16 @@ file-loader@6.1.1:
loader-utils "^2.0.0"
schema-utils "^3.0.0"
file-type@^15.0.0:
version "15.0.1"
resolved "https://registry.yarnpkg.com/file-type/-/file-type-15.0.1.tgz#54175484953d48b970c095ba8737d4e0c3a9b407"
integrity sha512-0LieQlSA3bWUdErNrxzxfI4rhsvNAVPBO06R8pTc1hp9SE6nhqlVyvhcaXoMmtXkBTPnQenbMPLW9X76hH76oQ==
dependencies:
readable-web-to-node-stream "^2.0.0"
strtok3 "^6.0.3"
token-types "^2.0.0"
typedarray-to-buffer "^3.1.5"
file-uri-to-path@1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz#553a7b8446ff6f684359c445f1e37a05dacc33dd"
......@@ -5498,6 +5998,11 @@ follow-redirects@^1.0.0:
dependencies:
debug "^3.0.0"
follow-redirects@^1.14.0:
version "1.14.5"
resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.14.5.tgz#f09a5848981d3c772b5392309778523f8d85c381"
integrity sha512-wtphSXy7d4/OR+MvIFbCVBDzZ5520qV8XfPklSN5QtxuMUJZ+b0Wnst1e1lCDocfzuCkHqj8k0FpZqO+UIaKNA==
for-in@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80"
......@@ -6147,6 +6652,11 @@ ieee754@^1.1.4:
resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.1.13.tgz#ec168558e95aa181fd87d37f55c32bbcb6708b84"
integrity sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg==
ieee754@^1.2.1:
version "1.2.1"
resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352"
integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==
iferr@^0.1.5:
version "0.1.5"
resolved "https://registry.yarnpkg.com/iferr/-/iferr-0.1.5.tgz#c60eed69e6d8fdb6b3104a1fcbca1c192dc5b501"
......@@ -8617,6 +9127,11 @@ pbkdf2@^3.0.3:
safe-buffer "^5.0.1"
sha.js "^2.4.8"
peek-readable@^4.0.1:
version "4.0.1"
resolved "https://registry.yarnpkg.com/peek-readable/-/peek-readable-4.0.1.tgz#9a045f291db254111c3412c1ce4fec27ddd4d202"
integrity sha512-7qmhptnR0WMSpxT5rMHG9bW/mYSR1uqaPFj2MHvT+y/aOUu6msJijpKt5SkTDKySwg65OWG2JwTMBlgcbwMHrQ==
performance-now@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b"
......@@ -9476,6 +9991,11 @@ promise-inflight@^1.0.1:
resolved "https://registry.yarnpkg.com/promise-inflight/-/promise-inflight-1.0.1.tgz#98472870bf228132fcbdd868129bad12c3c029e3"
integrity sha1-mEcocL8igTL8vdhoEputEsPAKeM=
promise-polyfill@^8.1.3:
version "8.2.1"
resolved "https://registry.yarnpkg.com/promise-polyfill/-/promise-polyfill-8.2.1.tgz#1fa955b325bee4f6b8a4311e18148d4e5b46d254"
integrity sha512-3p9zj0cEHbp7NVUxEYUWjQlffXqnXaZIMPkAO7HhFh8u5636xLRDHOUo2vpWSK0T2mqm6fKLXYn1KP6PAZ2gKg==
promise@^8.1.0:
version "8.1.0"
resolved "https://registry.yarnpkg.com/promise/-/promise-8.1.0.tgz#697c25c3dfe7435dd79fcd58c38a135888eaf05e"
......@@ -9873,6 +10393,11 @@ readable-stream@^3.0.6, readable-stream@^3.1.1:
string_decoder "^1.1.1"
util-deprecate "^1.0.1"
readable-web-to-node-stream@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/readable-web-to-node-stream/-/readable-web-to-node-stream-2.0.0.tgz#751e632f466552ac0d5c440cc01470352f93c4b7"
integrity sha512-+oZJurc4hXpaaqsN68GoZGQAQIA3qr09Or4fqEsargABnbe5Aau8hFn6ISVleT3cpY/0n/8drn7huyyEvTbghA==
readdirp@^2.2.1:
version "2.2.1"
resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-2.2.1.tgz#0e87622a3325aa33e892285caf8b4e846529a525"
......@@ -11051,6 +11576,14 @@ strip-json-comments@^3.1.0, strip-json-comments@^3.1.1:
resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006"
integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==
strtok3@^6.0.3:
version "6.2.4"
resolved "https://registry.yarnpkg.com/strtok3/-/strtok3-6.2.4.tgz#302aea64c0fa25d12a0385069ba66253fdc38a81"
integrity sha512-GO8IcFF9GmFDvqduIspUBwCzCbqzegyVKIsSymcMgiZKeCfrN9SowtUoi8+b59WZMAjIzVZic/Ft97+pynR3Iw==
dependencies:
"@tokenizer/token" "^0.3.0"
peek-readable "^4.0.1"
style-loader@1.3.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/style-loader/-/style-loader-1.3.0.tgz#828b4a3b3b7e7aa5847ce7bae9e874512114249e"
......@@ -11289,6 +11822,11 @@ tiny-invariant@^1.0.2:
resolved "https://registry.yarnpkg.com/tiny-invariant/-/tiny-invariant-1.2.0.tgz#a1141f86b672a9148c72e978a19a73b9b94a15a9"
integrity sha512-1Uhn/aqw5C6RI4KejVeTg6mIS7IqxnLJ8Mv2tV5rTc0qWobay7pDUz6Wi392Cnc8ak1H0F2cjoRzb2/AW4+Fvg==
tiny-sha256@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/tiny-sha256/-/tiny-sha256-1.0.2.tgz#3b20a75f77097dcec1af513f5189c26ec2f54992"
integrity sha1-OyCnX3cJfc7Br1E/UYnCbsL1SZI=
tiny-warning@^1.0.0, tiny-warning@^1.0.3:
version "1.0.3"
resolved "https://registry.yarnpkg.com/tiny-warning/-/tiny-warning-1.0.3.tgz#94a30db453df4c643d0fd566060d60a875d84754"
......@@ -11346,6 +11884,14 @@ toidentifier@1.0.0:
resolved "https://registry.yarnpkg.com/toidentifier/-/toidentifier-1.0.0.tgz#7e1be3470f1e77948bc43d94a3c8f4d7752ba553"
integrity sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw==
token-types@^2.0.0:
version "2.1.1"
resolved "https://registry.yarnpkg.com/token-types/-/token-types-2.1.1.tgz#bd585d64902aaf720b8979d257b4b850b4d45c45"
integrity sha512-wnQcqlreS6VjthyHO3Y/kpK/emflxDBNhlNUPfh7wE39KnuDdOituXomIbyI79vBtF0Ninpkh72mcuRHo+RG3Q==
dependencies:
"@tokenizer/token" "^0.1.1"
ieee754 "^1.2.1"
tough-cookie@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-4.0.0.tgz#d822234eeca882f991f0f908824ad2622ddbece4"
......@@ -11392,6 +11938,11 @@ tslib@^1.10.0, tslib@^1.8.1, tslib@^1.9.0:
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.11.1.tgz#eb15d128827fbee2841549e171f45ed338ac7e35"
integrity sha512-aZW88SY8kQbU7gpV19lN24LtXh/yD4ZZg6qieAJDDg+YBsJcSmLGK9QpnUjAKVG/xefmvJGd1WUmfpT/g6AJGA==
tslib@^2.3.0:
version "2.3.1"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.3.1.tgz#e8a335add5ceae51aa261d32a490158ef042ef01"
integrity sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==
tsutils@^3.17.1:
version "3.17.1"
resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-3.17.1.tgz#ed719917f11ca0dee586272b2ac49e015a2dd759"
......@@ -11965,7 +12516,7 @@ whatwg-encoding@^1.0.5:
dependencies:
iconv-lite "0.4.24"
whatwg-fetch@^3.4.1:
whatwg-fetch@^3.0.0, whatwg-fetch@^3.4.1:
version "3.6.2"
resolved "https://registry.yarnpkg.com/whatwg-fetch/-/whatwg-fetch-3.6.2.tgz#dced24f37f2624ed0281725d51d0e2e3fe677f8c"
integrity sha512-bJlen0FcuU/0EMLrdbJ7zOnW6ITZLrZMIarMUVmdKtsGvZna8vxKYaexICWPfZ8qwf9fzNq+UEIZrnSaApt6RA==
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment