ts-glitter 14.2.7 → 14.2.9

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/lowcode/Entry.js CHANGED
@@ -70,7 +70,7 @@ export class Entry {
70
70
  }
71
71
  window.renderClock = (_a = window.renderClock) !== null && _a !== void 0 ? _a : clockF();
72
72
  console.log(`Entry-time:`, window.renderClock.stop());
73
- glitter.share.editerVersion = 'V_14.2.7';
73
+ glitter.share.editerVersion = 'V_14.2.9';
74
74
  glitter.share.start = new Date();
75
75
  const vm = {
76
76
  appConfig: [],
@@ -450,14 +450,34 @@ export class Entry {
450
450
  };
451
451
  }));
452
452
  function authPass() {
453
- glitter.htmlGenerate.setHome({
454
- app_config: vm.appConfig,
455
- page_config: data.response.result[0].page_config,
456
- config: data.response.result[0].config,
457
- data: {},
458
- tag: glitter.getUrlParameter('page'),
459
- });
460
- callback();
453
+ function next() {
454
+ glitter.htmlGenerate.setHome({
455
+ app_config: vm.appConfig,
456
+ page_config: data.response.result[0].page_config,
457
+ config: data.response.result[0].config,
458
+ data: {},
459
+ tag: glitter.getUrlParameter('page'),
460
+ });
461
+ callback();
462
+ }
463
+ const login_config = (window.login_config);
464
+ if (login_config.password_to_see && (localStorage.getItem('password_to_see') !== login_config.shop_pwd)) {
465
+ const pwd = window.prompt('請輸入網站密碼', '');
466
+ localStorage.setItem('password_to_see', pwd !== null && pwd !== void 0 ? pwd : '');
467
+ if (login_config.shop_pwd === pwd) {
468
+ next();
469
+ }
470
+ else {
471
+ glitter.closeDiaLog();
472
+ const dialog = new ShareDialog(glitter);
473
+ dialog.checkYesOrNot({ text: '網站密碼輸入錯誤', callback: () => {
474
+ authPass();
475
+ } });
476
+ }
477
+ }
478
+ else {
479
+ next();
480
+ }
461
481
  }
462
482
  function authError(message) {
463
483
  glitter.addStyleLink(['assets/vendor/boxicons/css/boxicons.min.css', 'assets/css/theme.css', 'css/editor.css']);
package/lowcode/Entry.ts CHANGED
@@ -72,7 +72,7 @@ export class Entry {
72
72
  }
73
73
  (window as any).renderClock = (window as any).renderClock ?? clockF();
74
74
  console.log(`Entry-time:`, (window as any).renderClock.stop());
75
- glitter.share.editerVersion = 'V_14.2.7';
75
+ glitter.share.editerVersion = 'V_14.2.9';
76
76
  glitter.share.start = new Date();
77
77
  const vm: {
78
78
  appConfig: any;
@@ -502,14 +502,33 @@ export class Entry {
502
502
  );
503
503
 
504
504
  function authPass() {
505
- glitter.htmlGenerate.setHome({
506
- app_config: vm.appConfig,
507
- page_config: data.response.result[0].page_config,
508
- config: data.response.result[0].config,
509
- data: {},
510
- tag: glitter.getUrlParameter('page'),
511
- });
512
- callback();
505
+ function next(){
506
+ glitter.htmlGenerate.setHome({
507
+ app_config: vm.appConfig,
508
+ page_config: data.response.result[0].page_config,
509
+ config: data.response.result[0].config,
510
+ data: {},
511
+ tag: glitter.getUrlParameter('page'),
512
+ });
513
+ callback();
514
+ }
515
+ const login_config=((window as any).login_config)
516
+ if(login_config.password_to_see && (localStorage.getItem('password_to_see') !== login_config.shop_pwd)){
517
+ const pwd = window.prompt('請輸入網站密碼', '');
518
+ localStorage.setItem('password_to_see',pwd ?? '');
519
+ if(login_config.shop_pwd===pwd){
520
+ next()
521
+ }else{
522
+ glitter.closeDiaLog()
523
+ const dialog=new ShareDialog(glitter)
524
+ dialog.checkYesOrNot({text:'網站密碼輸入錯誤',callback:()=>{
525
+ authPass()
526
+ }})
527
+ }
528
+ }else{
529
+ next()
530
+ }
531
+
513
532
  }
514
533
 
515
534
  function authError(message: string) {
@@ -35,7 +35,7 @@ export class MemberSetting {
35
35
  return {
36
36
  bind: vm.id,
37
37
  view: () => {
38
- var _a, _b;
38
+ var _a, _b, _c;
39
39
  if (vm.loading) {
40
40
  return ``;
41
41
  }
@@ -74,7 +74,7 @@ ${BgWidget.grayNote(`電話是否需要驗證才能進行註冊或修改`)}
74
74
  html ` <div class="w-100 border-top my-3"></div>`,
75
75
  html ` <div class="tx_normal fw-bolder mt-2" style="margin-bottom: 12px;">結帳設定</div>`,
76
76
  html ` <div class="d-flex align-items-center w-100" style="gap:4px;margin-bottom: 12px;">
77
- <div class="tx_normal fw-bolder d-flex flex-column">允許訪客結帳</div>
77
+ <div class="tx_normal d-flex flex-column">允許訪客結帳</div>
78
78
  <div class="tx_normal ms-2">${vm.data.login_in_to_order ? `關閉` : `開啟`}</div>
79
79
  <div class="cursor_pointer form-check form-switch m-0">
80
80
  <input
@@ -90,6 +90,39 @@ ${BgWidget.grayNote(`電話是否需要驗證才能進行註冊或修改`)}
90
90
  </div>
91
91
  <div class="flex-fill"></div>
92
92
  </div>`,
93
+ html `
94
+ <div class="w-100 border-top my-3"></div>
95
+ <div class="tx_normal fw-bolder mt-2" style="margin-bottom: 12px;">商店顯示</div>
96
+ <div class="d-flex align-items-center w-100" style="gap:4px;margin-bottom: 12px;">
97
+ <div class="tx_normal d-flex flex-column">設定商店密碼</div>
98
+ <div class="tx_normal ms-2">${!vm.data.password_to_see ? `關閉` : `開啟`}</div>
99
+ <div class="cursor_pointer form-check form-switch m-0">
100
+ <input
101
+ class="form-check-input"
102
+ type="checkbox"
103
+ onchange="${gvc.event((e, event) => {
104
+ vm.data.password_to_see = !vm.data.password_to_see;
105
+ saveEvent();
106
+ gvc.notifyDataChange(vm.id);
107
+ })}"
108
+ ${vm.data.password_to_see ? `checked` : ``}
109
+ />
110
+ </div>
111
+ <div class="flex-fill"></div>
112
+ </div>
113
+ ${(vm.data.password_to_see) ? `
114
+ ${BgWidget.grayNote(`需輸入密碼才可查看商店內容`)}
115
+ ${BgWidget.editeInput({
116
+ gvc: gvc,
117
+ title: '',
118
+ default: (_c = vm.data.shop_pwd) !== null && _c !== void 0 ? _c : '',
119
+ placeHolder: '請輸入商店密碼',
120
+ callback: (text) => {
121
+ vm.data.shop_pwd = text;
122
+ }
123
+ })}
124
+ ` : ``}
125
+ `,
93
126
  ].join('')),
94
127
  ...(() => {
95
128
  const form = BgWidget.customForm(gvc, [
@@ -118,6 +151,7 @@ ${BgWidget.grayNote(`電話是否需要驗證才能進行註冊或修改`)}
118
151
  ${BgWidget.save(gvc.event(() => __awaiter(this, void 0, void 0, function* () {
119
152
  const dialog = new ShareDialog(gvc.glitter);
120
153
  dialog.dataLoading({ visible: true });
154
+ saveEvent();
121
155
  yield form.save();
122
156
  dialog.dataLoading({ visible: false });
123
157
  dialog.successMessage({ text: '設定成功' });
@@ -88,7 +88,7 @@ ${BgWidget.grayNote(`電話是否需要驗證才能進行註冊或修改`)}
88
88
  html` <div class="w-100 border-top my-3"></div>`,
89
89
  html` <div class="tx_normal fw-bolder mt-2" style="margin-bottom: 12px;">結帳設定</div>`,
90
90
  html` <div class="d-flex align-items-center w-100" style="gap:4px;margin-bottom: 12px;">
91
- <div class="tx_normal fw-bolder d-flex flex-column">允許訪客結帳</div>
91
+ <div class="tx_normal d-flex flex-column">允許訪客結帳</div>
92
92
  <div class="tx_normal ms-2">${vm.data.login_in_to_order ? `關閉` : `開啟`}</div>
93
93
  <div class="cursor_pointer form-check form-switch m-0">
94
94
  <input
@@ -104,6 +104,39 @@ ${BgWidget.grayNote(`電話是否需要驗證才能進行註冊或修改`)}
104
104
  </div>
105
105
  <div class="flex-fill"></div>
106
106
  </div>`,
107
+ html`
108
+ <div class="w-100 border-top my-3"></div>
109
+ <div class="tx_normal fw-bolder mt-2" style="margin-bottom: 12px;">商店顯示</div>
110
+ <div class="d-flex align-items-center w-100" style="gap:4px;margin-bottom: 12px;">
111
+ <div class="tx_normal d-flex flex-column">設定商店密碼</div>
112
+ <div class="tx_normal ms-2">${!vm.data.password_to_see ? `關閉` : `開啟`}</div>
113
+ <div class="cursor_pointer form-check form-switch m-0">
114
+ <input
115
+ class="form-check-input"
116
+ type="checkbox"
117
+ onchange="${gvc.event((e, event) => {
118
+ vm.data.password_to_see = !vm.data.password_to_see;
119
+ saveEvent();
120
+ gvc.notifyDataChange(vm.id);
121
+ })}"
122
+ ${vm.data.password_to_see ? `checked` : ``}
123
+ />
124
+ </div>
125
+ <div class="flex-fill"></div>
126
+ </div>
127
+ ${(vm.data.password_to_see) ? `
128
+ ${BgWidget.grayNote(`需輸入密碼才可查看商店內容`)}
129
+ ${BgWidget.editeInput({
130
+ gvc:gvc,
131
+ title:'',
132
+ default:vm.data.shop_pwd ?? '',
133
+ placeHolder:'請輸入商店密碼',
134
+ callback:(text)=>{
135
+ vm.data.shop_pwd=text
136
+ }
137
+ })}
138
+ `:``}
139
+ `,
107
140
  ].join('')
108
141
  ),
109
142
  ...(() => {
@@ -141,8 +174,10 @@ ${BgWidget.grayNote(`電話是否需要驗證才能進行註冊或修改`)}
141
174
  gvc.event(async () => {
142
175
  const dialog = new ShareDialog(gvc.glitter);
143
176
  dialog.dataLoading({ visible: true });
177
+ saveEvent();
144
178
  await form.save();
145
179
  dialog.dataLoading({ visible: false });
180
+
146
181
  dialog.successMessage({ text: '設定成功' });
147
182
  })
148
183
  )}
@@ -1106,33 +1106,34 @@ export class ShoppingInvoiceManager {
1106
1106
  -->
1107
1107
  ${(() => {
1108
1108
  console.log(" invoiceData.status -- ", invoiceData.status);
1109
- return ``;
1110
- })()}
1111
- ${BgWidget.save(gvc.event(() => {
1112
- }), '發票折讓')}
1113
- ${BgWidget.danger(gvc.event(() => {
1114
- glitter.innerDialog((gvc) => {
1115
- let step = 1;
1116
- let reason = "";
1117
- return gvc.bindView({
1118
- bind: "voidDialog",
1119
- view: () => {
1120
- return html `
1109
+ if (invoiceData.status == 2) {
1110
+ return ``;
1111
+ }
1112
+ return html `${BgWidget.save(gvc.event(() => {
1113
+ }), '發票折讓')}
1114
+ ${BgWidget.danger(gvc.event(() => {
1115
+ glitter.innerDialog((gvc) => {
1116
+ let step = 1;
1117
+ let reason = "";
1118
+ return gvc.bindView({
1119
+ bind: "voidDialog",
1120
+ view: () => {
1121
+ return html `
1121
1122
  <div class="d-flex align-items-center justify-content-center"
1122
1123
  style="width: 100vw;height: 100vw;"
1123
1124
  onclick="${gvc.event(() => {
1124
- glitter.closeDiaLog();
1125
- })}">
1125
+ glitter.closeDiaLog();
1126
+ })}">
1126
1127
  ${(() => {
1127
- var _a;
1128
- switch (step) {
1129
- case 2:
1130
- return html `
1128
+ var _a;
1129
+ switch (step) {
1130
+ case 2:
1131
+ return html `
1131
1132
  <div class="d-flex flex-column"
1132
1133
  style="width: 532px;height: 409px;flex-shrink: 0;border-radius: 10px;background: #FFF;position: relative;padding: 36px 64px;gap: 24px;"
1133
1134
  onclick="${gvc.event(() => {
1134
- event.stopPropagation();
1135
- })}">
1135
+ event.stopPropagation();
1136
+ })}">
1136
1137
  <div style="position: absolute;right: 20px;top: 17px;">
1137
1138
  <svg xmlns="http://www.w3.org/2000/svg"
1138
1139
  width="14" height="14"
@@ -1186,31 +1187,31 @@ export class ShoppingInvoiceManager {
1186
1187
  <div class="btn btn-white"
1187
1188
  style="padding: 6px 18px;border-radius: 10px;border: 1px solid #DDD;font-size: 16px;font-weight: 700;color: #393939;"
1188
1189
  onclick="${gvc.event(() => {
1189
- step = 1;
1190
- gvc.notifyDataChange(`voidDialog`);
1191
- })}">
1190
+ step = 1;
1191
+ gvc.notifyDataChange(`voidDialog`);
1192
+ })}">
1192
1193
  上一步
1193
1194
  </div>
1194
1195
  <div class="btn btn-red"
1195
1196
  style="padding: 6px 18px;border-radius: 10px;border: 1px solid #DDD;font-weight: 700;"
1196
1197
  onclick="${gvc.event(() => {
1197
- ApiShop.voidInvoice(invoiceData.invoice_no, reason, invoiceData.create_date).then(r => {
1198
- vm.type = "list";
1199
- glitter.closeDiaLog();
1200
- });
1201
- })}">
1198
+ ApiShop.voidInvoice(invoiceData.invoice_no, reason, invoiceData.create_date).then(r => {
1199
+ vm.type = "list";
1200
+ glitter.closeDiaLog();
1201
+ });
1202
+ })}">
1202
1203
  作廢
1203
1204
  </div>
1204
1205
  </div>
1205
1206
  </div>
1206
1207
  `;
1207
- default:
1208
- return html `
1208
+ default:
1209
+ return html `
1209
1210
  <div class="d-flex flex-column"
1210
1211
  style="width: 532px;height: 270px;flex-shrink: 0;border-radius: 10px;background: #FFF;position: relative;padding: 36px 64px;gap: 24px;"
1211
1212
  onclick="${gvc.event(() => {
1212
- event.stopPropagation();
1213
- })}">
1213
+ event.stopPropagation();
1214
+ })}">
1214
1215
  <div style="position: absolute;right: 20px;top: 17px;">
1215
1216
  <svg xmlns="http://www.w3.org/2000/svg"
1216
1217
  width="14" height="14"
@@ -1225,38 +1226,40 @@ export class ShoppingInvoiceManager {
1225
1226
  style="text-align: center;font-size: 16px;gap:12px;">
1226
1227
  <div>請填寫作廢原因</div>
1227
1228
  <textarea style="display: flex;height: 100px;padding: 5px 18px;justify-content: center;align-items: center;gap: 10px;align-self: stretch;border-radius: 10px;border: 1px solid #DDD;" onchange="${gvc.event((e) => {
1228
- reason = e.value;
1229
- })}">${reason}</textarea>
1229
+ reason = e.value;
1230
+ })}">${reason}</textarea>
1230
1231
  </div>
1231
1232
  <div class="d-flex align-items-center justify-content-center w-100"
1232
1233
  style="gap: 14px;">
1233
1234
  <div class="btn btn-white"
1234
1235
  style="padding: 6px 18px;border-radius: 10px;border: 1px solid #DDD;font-size: 16px;font-weight: 700;color: #393939;"
1235
1236
  onclick="${gvc.event(() => {
1236
- glitter.closeDiaLog();
1237
- })}">
1237
+ glitter.closeDiaLog();
1238
+ })}">
1238
1239
  取消
1239
1240
  </div>
1240
1241
  <div class="btn btn-red"
1241
1242
  style="padding: 6px 18px;border-radius: 10px;border: 1px solid #DDD;font-weight: 700;"
1242
1243
  onclick="${gvc.event(() => {
1243
- step = 2;
1244
- gvc.notifyDataChange('voidDialog');
1245
- })}">
1244
+ step = 2;
1245
+ gvc.notifyDataChange('voidDialog');
1246
+ })}">
1246
1247
  下一步
1247
1248
  </div>
1248
1249
  </div>
1249
1250
  </div>
1250
1251
  `;
1251
- }
1252
- })()}
1252
+ }
1253
+ })()}
1253
1254
 
1254
1255
  </div>
1255
1256
  `;
1256
- }, divCreate: {}
1257
- });
1258
- }, 'voidWarning');
1259
- }), "發票作廢")}
1257
+ }, divCreate: {}
1258
+ });
1259
+ }, 'voidWarning');
1260
+ }), "發票作廢")}`;
1261
+ })()}
1262
+
1260
1263
 
1261
1264
  </div>`
1262
1265
  ].join('');
@@ -1297,33 +1297,35 @@ export class ShoppingInvoiceManager {
1297
1297
  -->
1298
1298
  ${(()=>{
1299
1299
  console.log(" invoiceData.status -- " , invoiceData.status)
1300
- return``
1301
- })()}
1302
- ${BgWidget.save(gvc.event(() => {
1303
- }), '發票折讓')}
1304
- ${BgWidget.danger(gvc.event(() => {
1305
- glitter.innerDialog((gvc: GVC) => {
1306
- let step = 1;
1307
- let reason = ""
1308
-
1309
- return gvc.bindView({
1310
- bind:"voidDialog",
1311
- view:()=>{
1312
- return html`
1300
+ if (invoiceData.status == 2){
1301
+ return ``
1302
+ }
1303
+
1304
+ return html`${BgWidget.save(gvc.event(() => {
1305
+ }), '發票折讓')}
1306
+ ${BgWidget.danger(gvc.event(() => {
1307
+ glitter.innerDialog((gvc: GVC) => {
1308
+ let step = 1;
1309
+ let reason = ""
1310
+
1311
+ return gvc.bindView({
1312
+ bind:"voidDialog",
1313
+ view:()=>{
1314
+ return html`
1313
1315
  <div class="d-flex align-items-center justify-content-center"
1314
1316
  style="width: 100vw;height: 100vw;"
1315
1317
  onclick="${gvc.event(() => {
1316
- glitter.closeDiaLog();
1317
- })}">
1318
+ glitter.closeDiaLog();
1319
+ })}">
1318
1320
  ${(()=>{
1319
- switch (step){
1320
- case 2:
1321
- return html`
1321
+ switch (step){
1322
+ case 2:
1323
+ return html`
1322
1324
  <div class="d-flex flex-column"
1323
1325
  style="width: 532px;height: 409px;flex-shrink: 0;border-radius: 10px;background: #FFF;position: relative;padding: 36px 64px;gap: 24px;"
1324
1326
  onclick="${gvc.event(() => {
1325
- event!.stopPropagation();
1326
- })}">
1327
+ event!.stopPropagation();
1328
+ })}">
1327
1329
  <div style="position: absolute;right: 20px;top: 17px;">
1328
1330
  <svg xmlns="http://www.w3.org/2000/svg"
1329
1331
  width="14" height="14"
@@ -1377,31 +1379,31 @@ export class ShoppingInvoiceManager {
1377
1379
  <div class="btn btn-white"
1378
1380
  style="padding: 6px 18px;border-radius: 10px;border: 1px solid #DDD;font-size: 16px;font-weight: 700;color: #393939;"
1379
1381
  onclick="${gvc.event(() => {
1380
- step = 1;
1381
- gvc.notifyDataChange(`voidDialog`);
1382
- })}">
1382
+ step = 1;
1383
+ gvc.notifyDataChange(`voidDialog`);
1384
+ })}">
1383
1385
  上一步
1384
1386
  </div>
1385
1387
  <div class="btn btn-red"
1386
1388
  style="padding: 6px 18px;border-radius: 10px;border: 1px solid #DDD;font-weight: 700;"
1387
1389
  onclick="${gvc.event(() => {
1388
- ApiShop.voidInvoice(invoiceData.invoice_no , reason , invoiceData.create_date).then(r => {
1389
- vm.type = "list";
1390
- glitter.closeDiaLog();
1391
- });
1392
- })}">
1390
+ ApiShop.voidInvoice(invoiceData.invoice_no , reason , invoiceData.create_date).then(r => {
1391
+ vm.type = "list";
1392
+ glitter.closeDiaLog();
1393
+ });
1394
+ })}">
1393
1395
  作廢
1394
1396
  </div>
1395
1397
  </div>
1396
1398
  </div>
1397
1399
  `
1398
- default:
1399
- return html`
1400
+ default:
1401
+ return html`
1400
1402
  <div class="d-flex flex-column"
1401
1403
  style="width: 532px;height: 270px;flex-shrink: 0;border-radius: 10px;background: #FFF;position: relative;padding: 36px 64px;gap: 24px;"
1402
1404
  onclick="${gvc.event(() => {
1403
- event!.stopPropagation();
1404
- })}">
1405
+ event!.stopPropagation();
1406
+ })}">
1405
1407
  <div style="position: absolute;right: 20px;top: 17px;">
1406
1408
  <svg xmlns="http://www.w3.org/2000/svg"
1407
1409
  width="14" height="14"
@@ -1416,40 +1418,42 @@ export class ShoppingInvoiceManager {
1416
1418
  style="text-align: center;font-size: 16px;gap:12px;">
1417
1419
  <div>請填寫作廢原因</div>
1418
1420
  <textarea style="display: flex;height: 100px;padding: 5px 18px;justify-content: center;align-items: center;gap: 10px;align-self: stretch;border-radius: 10px;border: 1px solid #DDD;" onchange="${gvc.event((e)=>{
1419
- reason = e.value;
1420
- })}">${reason}</textarea>
1421
+ reason = e.value;
1422
+ })}">${reason}</textarea>
1421
1423
  </div>
1422
1424
  <div class="d-flex align-items-center justify-content-center w-100"
1423
1425
  style="gap: 14px;">
1424
1426
  <div class="btn btn-white"
1425
1427
  style="padding: 6px 18px;border-radius: 10px;border: 1px solid #DDD;font-size: 16px;font-weight: 700;color: #393939;"
1426
1428
  onclick="${gvc.event(() => {
1427
- glitter.closeDiaLog()
1428
- })}">
1429
+ glitter.closeDiaLog()
1430
+ })}">
1429
1431
  取消
1430
1432
  </div>
1431
1433
  <div class="btn btn-red"
1432
1434
  style="padding: 6px 18px;border-radius: 10px;border: 1px solid #DDD;font-weight: 700;"
1433
1435
  onclick="${gvc.event(() => {
1434
- step = 2;
1435
- gvc.notifyDataChange('voidDialog')
1436
- })}">
1436
+ step = 2;
1437
+ gvc.notifyDataChange('voidDialog')
1438
+ })}">
1437
1439
  下一步
1438
1440
  </div>
1439
1441
  </div>
1440
1442
  </div>
1441
1443
  `
1442
- }
1443
- })()}
1444
+ }
1445
+ })()}
1444
1446
 
1445
1447
  </div>
1446
1448
  `
1447
- },divCreate:{
1449
+ },divCreate:{
1448
1450
 
1449
- }
1450
- })
1451
- }, 'voidWarning')
1452
- }), "發票作廢")}
1451
+ }
1452
+ })
1453
+ }, 'voidWarning')
1454
+ }), "發票作廢")}`
1455
+ })()}
1456
+
1453
1457
 
1454
1458
  </div>`
1455
1459
  ].join('')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ts-glitter",
3
- "version": "14.2.7",
3
+ "version": "14.2.9",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -151,6 +151,9 @@ export declare class LinePay {
151
151
  LinePay_CLIENT_ID: string;
152
152
  LinePay_SECRET: string;
153
153
  LinePay_BASE_URL: string;
154
+ LinePay_RETURN_HOST: string;
155
+ LinePay_RETURN_CONFIRM_URL: string;
156
+ LinePay_RETURN_CANCEL_URL: string;
154
157
  constructor(appName: string, keyData: KeyData);
155
158
  }
156
159
  export {};
@@ -591,6 +591,9 @@ class LinePay {
591
591
  this.LinePay_CLIENT_ID = "2006615995";
592
592
  this.LinePay_SECRET = "05231f46428525ee68c2816f16635145";
593
593
  this.LinePay_BASE_URL = "https://api-m.sandbox.paypal.com";
594
+ this.LinePay_RETURN_HOST = '';
595
+ this.LinePay_RETURN_CANCEL_URL = '';
596
+ this.LinePay_RETURN_CONFIRM_URL = '';
594
597
  }
595
598
  }
596
599
  exports.LinePay = LinePay;