@@ -1210,7 +1210,7 @@ let CalendarComp = withMethodExposing(TmpCalendarComp, [
1210
1210
},
1211
1211
execute: (comp, values) => {
1212
1212
const viewType = values[0] as string || "timeGridWeek"; // Default to "timeGridWeek" if undefined
1213
- const viewKey = comp.children.licenseKey.getView() === "" ? 'defaultFreeView ' : 'defaultPremiumView ';
1213
+ const viewKey = comp.children.licenseKey.getView() === "" ? 'currentFreeView ' : 'currentPremiumView ';
1214
1214
comp.children[viewKey].dispatchChangeValueAction(viewType);
1215
1215
}
1216
1216
},*/
@@ -1223,8 +1223,8 @@ let CalendarComp = withMethodExposing(TmpCalendarComp, [
1223
1223
params : [ { name : "viewType" , type : "string" } ] ,
1224
1224
} ,
1225
1225
execute : ( comp ) => {
1226
- const viewKey = comp . children . licenseKey . getView ( ) === "" ? 'defaultFreeView ' : 'defaultPremiumView ' ;
1227
- comp . children [ " viewKey" ] . dispatchChangeValueAction ( "resourceTimeGridDay" ) ;
1226
+ const viewKey = comp . children . licenseKey . getView ( ) === "" ? 'currentFreeView ' : 'currentPremiumView ' ;
1227
+ comp . children [ viewKey ] . dispatchChangeValueAction ( "resourceTimeGridDay" ) ;
1228
1228
}
1229
1229
} ,
1230
1230
{
@@ -1234,8 +1234,8 @@ let CalendarComp = withMethodExposing(TmpCalendarComp, [
1234
1234
params : [ { name : "viewType" , type : "string" } ] ,
1235
1235
} ,
1236
1236
execute : ( comp ) => {
1237
- const viewKey = comp . children . licenseKey . getView ( ) === "" ? 'defaultFreeView ' : 'defaultPremiumView ' ;
1238
- comp . children [ " viewKey" ] . dispatchChangeValueAction ( "resourceTimelineDay" ) ;
1237
+ const viewKey = comp . children . licenseKey . getView ( ) === "" ? 'currentFreeView ' : 'currentPremiumView ' ;
1238
+ comp . children [ viewKey ] . dispatchChangeValueAction ( "resourceTimelineDay" ) ;
1239
1239
}
1240
1240
} ,
1241
1241
{
@@ -1245,8 +1245,8 @@ let CalendarComp = withMethodExposing(TmpCalendarComp, [
1245
1245
params : [ { name : "viewType" , type : "string" } ] ,
1246
1246
} ,
1247
1247
execute : ( comp ) => {
1248
- const viewKey = comp . children . licenseKey . getView ( ) === "" ? 'defaultFreeView ' : 'defaultPremiumView ' ;
1249
- comp . children [ " viewKey" ] . dispatchChangeValueAction ( "dayGridWeek" ) ;
1248
+ const viewKey = comp . children . licenseKey . getView ( ) === "" ? 'currentFreeView ' : 'currentPremiumView ' ;
1249
+ comp . children [ viewKey ] . dispatchChangeValueAction ( "dayGridWeek" ) ;
1250
1250
}
1251
1251
} ,
1252
1252
{
@@ -1256,8 +1256,8 @@ let CalendarComp = withMethodExposing(TmpCalendarComp, [
1256
1256
params : [ { name : "viewType" , type : "string" } ] ,
1257
1257
} ,
1258
1258
execute : ( comp ) => {
1259
- const viewKey = comp . children . licenseKey . getView ( ) === "" ? 'defaultFreeView ' : 'defaultPremiumView ' ;
1260
- comp . children [ " viewKey" ] . dispatchChangeValueAction ( "timeGridWeek" ) ;
1259
+ const viewKey = comp . children . licenseKey . getView ( ) === "" ? 'currentFreeView ' : 'currentPremiumView ' ;
1260
+ comp . children [ viewKey ] . dispatchChangeValueAction ( "timeGridWeek" ) ;
1261
1261
}
1262
1262
} ,
1263
1263
{
@@ -1267,8 +1267,8 @@ let CalendarComp = withMethodExposing(TmpCalendarComp, [
1267
1267
params : [ { name : "viewType" , type : "string" } ] ,
1268
1268
} ,
1269
1269
execute : ( comp ) => {
1270
- const viewKey = comp . children . licenseKey . getView ( ) === "" ? 'defaultFreeView ' : 'defaultPremiumView ' ;
1271
- comp . children [ " viewKey" ] . dispatchChangeValueAction ( "timeGridDay" ) ;
1270
+ const viewKey = comp . children . licenseKey . getView ( ) === "" ? 'currentFreeView ' : 'currentPremiumView ' ;
1271
+ comp . children [ viewKey ] . dispatchChangeValueAction ( "timeGridDay" ) ;
1272
1272
}
1273
1273
} ,
1274
1274
{
@@ -1278,8 +1278,8 @@ let CalendarComp = withMethodExposing(TmpCalendarComp, [
1278
1278
params : [ { name : "viewType" , type : "string" } ] ,
1279
1279
} ,
1280
1280
execute : ( comp ) => {
1281
- const viewKey = comp . children . licenseKey . getView ( ) === "" ? 'defaultFreeView ' : 'defaultPremiumView ' ;
1282
- comp . children [ " viewKey" ] . dispatchChangeValueAction ( "dayGridDay" ) ;
1281
+ const viewKey = comp . children . licenseKey . getView ( ) === "" ? 'currentFreeView ' : 'currentPremiumView ' ;
1282
+ comp . children [ viewKey ] . dispatchChangeValueAction ( "dayGridDay" ) ;
1283
1283
}
1284
1284
} ,
1285
1285
{
@@ -1289,8 +1289,8 @@ let CalendarComp = withMethodExposing(TmpCalendarComp, [
1289
1289
params : [ { name : "viewType" , type : "string" } ] ,
1290
1290
} ,
1291
1291
execute : ( comp ) => {
1292
- const viewKey = comp . children . licenseKey . getView ( ) === "" ? 'defaultFreeView ' : 'defaultPremiumView ' ;
1293
- comp . children [ " viewKey" ] . dispatchChangeValueAction ( "listWeek" ) ;
1292
+ const viewKey = comp . children . licenseKey . getView ( ) === "" ? 'currentFreeView ' : 'currentPremiumView ' ;
1293
+ comp . children [ viewKey ] . dispatchChangeValueAction ( "listWeek" ) ;
1294
1294
}
1295
1295
} ,
1296
1296
{
@@ -1300,8 +1300,8 @@ let CalendarComp = withMethodExposing(TmpCalendarComp, [
1300
1300
params : [ { name : "viewType" , type : "string" } ] ,
1301
1301
} ,
1302
1302
execute : ( comp ) => {
1303
- const viewKey = comp . children . licenseKey . getView ( ) === "" ? 'defaultFreeView ' : 'defaultPremiumView ' ;
1304
- comp . children [ " viewKey" ] . dispatchChangeValueAction ( "dayGridMonth" ) ;
1303
+ const viewKey = comp . children . licenseKey . getView ( ) === "" ? 'currentFreeView ' : 'currentPremiumView ' ;
1304
+ comp . children [ viewKey ] . dispatchChangeValueAction ( "dayGridMonth" ) ;
1305
1305
}
1306
1306
} ,
1307
1307
{
@@ -1311,8 +1311,8 @@ let CalendarComp = withMethodExposing(TmpCalendarComp, [
1311
1311
params : [ { name : "viewType" , type : "string" } ] ,
1312
1312
} ,
1313
1313
execute : ( comp ) => {
1314
- const viewKey = comp . children . licenseKey . getView ( ) === "" ? 'defaultFreeView ' : 'defaultPremiumView ' ;
1315
- comp . children [ " viewKey" ] . dispatchChangeValueAction ( "multiMonthYear" ) ;
1314
+ const viewKey = comp . children . licenseKey . getView ( ) === "" ? 'currentFreeView ' : 'currentPremiumView ' ;
1315
+ comp . children [ viewKey ] . dispatchChangeValueAction ( "multiMonthYear" ) ;
1316
1316
}
1317
1317
} ,
1318
1318
{
0 commit comments