@sunggang/ui-lib 0.2.52 → 0.2.53

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 (2) hide show
  1. package/index.esm2.js +3 -3
  2. package/package.json +1 -1
package/index.esm2.js CHANGED
@@ -20570,9 +20570,6 @@ var DataTable = function(param) {
20570
20570
  var BasePagination = function(param) {
20571
20571
  var table = param.table, total = param.total, handleLastPageClick = param.handleLastPageClick;
20572
20572
  var setPageIndex = table.setPageIndex, getCanPreviousPage = table.getCanPreviousPage, getCanNextPage = table.getCanNextPage, getPageCount = table.getPageCount, previousPage = table.previousPage, nextPage = table.nextPage, getState = table.getState;
20573
- console.log("nextPage:", nextPage);
20574
- console.log("能否下一頁:", getCanNextPage());
20575
- getState().pagination.pageIndex === getPageCount() - 1;
20576
20573
  return /*#__PURE__*/ jsxs("div", {
20577
20574
  className: "flex items-center flex-wrap",
20578
20575
  children: [
@@ -58805,17 +58802,20 @@ var LiffProvider = function(param) {
58805
58802
  case 2:
58806
58803
  _state.sent();
58807
58804
  console.log("LIFF init succeeded.");
58805
+ console.log("LIFF OBJ", liff);
58808
58806
  setLiffObject(liff);
58809
58807
  if (isValid) return [
58810
58808
  2
58811
58809
  ];
58812
58810
  lineToken = liff === null || liff === void 0 ? void 0 : liff.getAccessToken();
58811
+ console.log("liff?.getAccessToken()", lineToken);
58813
58812
  // 未登入先進行登入
58814
58813
  if (!liff.isLoggedIn()) {
58815
58814
  redirectUri = customerRedirectUrl || "".concat(window.location.href);
58816
58815
  if (loginByUser || ignoreRoute) return [
58817
58816
  2
58818
58817
  ];
58818
+ console.log("liff.isLoggedIn()");
58819
58819
  liff.login({
58820
58820
  redirectUri: redirectUri
58821
58821
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sunggang/ui-lib",
3
- "version": "0.2.52",
3
+ "version": "0.2.53",
4
4
  "dependencies": {
5
5
  "@iconify/react": "^4.1.1",
6
6
  "@material-ui/core": "^4.12.4",