Changeset 2395882
- Timestamp:
- 10/08/2020 07:47:37 AM (5 years ago)
- Location:
- webinane-commerce/trunk
- Files:
-
- 13 added
- 22 edited
-
assets/css/dashboard.css (modified) (1 diff)
-
assets/css/main.css (modified) (1 diff)
-
assets/css/style.css (modified) (1 diff)
-
assets/js/admin/settings.js (modified) (1 diff)
-
config/settings.php (modified) (5 diffs)
-
includes/Admin/Dashboard.php (modified) (1 diff)
-
includes/Admin/Settings.php (modified) (6 diffs)
-
includes/Classes/Enqueue.php (modified) (3 diffs)
-
includes/Classes/Extensions.php (modified) (1 diff)
-
includes/Classes/Gateways.php (modified) (2 diffs)
-
includes/Classes/MyAccount.php (modified) (1 diff)
-
includes/Classes/Orders.php (modified) (2 diffs)
-
includes/Classes/Webinane.php (modified) (1 diff)
-
includes/Fields (added)
-
includes/Fields/Country.php (added)
-
includes/Fields/Field.php (added)
-
includes/Fields/Media.php (added)
-
includes/Fields/MultiText.php (added)
-
includes/Fields/Select.php (added)
-
includes/Fields/Switcher.php (added)
-
includes/Fields/Text.php (added)
-
includes/Fields/Textarea.php (added)
-
includes/Functions.php (modified) (1 diff)
-
includes/Gateways/GatewayOffline.php (modified) (2 diffs)
-
includes/Gateways/GatewayPaypal.php (modified) (2 diffs)
-
includes/Helpers/Api.php (modified) (8 diffs)
-
includes/Helpers/Macroable.php (added)
-
includes/Helpers/Metable.php (added)
-
includes/Helpers/Rulable.php (added)
-
includes/Helpers/SettingsResource.php (added)
-
includes/Loader.php (modified) (1 diff)
-
languages/webinane-commerce.pot (modified) (31 diffs)
-
readme.txt (modified) (2 diffs)
-
templates/admin/order-metabox-basic.php (modified) (1 diff)
-
webinane-commerce.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
webinane-commerce/trunk/assets/css/dashboard.css
r2384393 r2395882 1 #wpcm-admin-dashboard { 2 /* Enter and leave animations can use different */ 3 /* durations and timing functions. */ 4 /* .slide-fade-leave-active below version 2.1.8 */ 5 /*===== Breadcrumbs =====*/ 6 /*===== Filter Charts =====*/ 7 /*===== Facts =====*/ 8 } 9 10 #wpcm-admin-dashboard .el-button:focus { 11 outline: none; 12 } 13 14 #wpcm-admin-dashboard .el-input-group input { 15 border-color: #ddd; 16 } 17 18 #wpcm-admin-dashboard .slide-fade-enter-active { 19 transition: all .3s ease; 20 } 21 22 #wpcm-admin-dashboard .slide-fade-leave-active { 23 transition: all 0.3s cubic-bezier(1, 0.5, 0.8, 1); 24 } 25 26 #wpcm-admin-dashboard .slide-fade-enter, #wpcm-admin-dashboard .slide-fade-leave-to { 27 transform: translateX(10px); 28 opacity: 0; 29 } 30 31 #wpcm-admin-dashboard .table-boxes .el-input .el-input__inner { 32 box-shadow: none; 33 } 34 35 #wpcm-admin-dashboard .title { 36 float: left; 37 width: 100%; 38 margin-bottom: 40px; 39 } 40 41 #wpcm-admin-dashboard .title.center { 42 text-align: center; 43 } 44 45 #wpcm-admin-dashboard .title h2 { 46 float: left; 47 margin: 0; 48 width: 100%; 49 } 50 51 #wpcm-admin-dashboard .gap { 52 display: flex; 53 flex-wrap: wrap; 54 max-width: 100%; 55 padding: 4.375rem 0; 56 position: relative; 57 width: 100%; 58 } 59 60 #wpcm-admin-dashboard .remove-gap { 61 padding-top: 0; 62 } 63 64 #wpcm-admin-dashboard .lfndn-plgn .breadcrumbs-wrap { 65 flex-grow: 1; 66 justify-content: start; 67 } 68 69 #wpcm-admin-dashboard .lfndn-plgn .breadcrumb { 70 padding: 0; 71 background-color: transparent; 72 border-radius: 0; 73 margin: 1.25rem 0 0; 74 list-style: none; 75 display: flex; 76 display: -ms-flexbox; 77 } 78 79 #wpcm-admin-dashboard .lfndn-plgn .breadcrumb > li.breadcrumb-item { 80 color: #999; 81 position: relative; 82 font-size: 0.9375rem; 83 font-family: Barlow; 84 } 85 86 #wpcm-admin-dashboard .lfndn-plgn .breadcrumb > li.breadcrumb-item a { 87 color: #cd4aaa; 88 } 89 90 #wpcm-admin-dashboard .lfndn-plgn .breadcrumb > li.breadcrumb-item + li.breadcrumb-item { 91 padding-left: 0.9375rem; 92 margin-left: 0.625rem; 93 } 94 95 #wpcm-admin-dashboard .lfndn-plgn .breadcrumb > li.breadcrumb-item + li.breadcrumb-item:before { 96 content: "/"; 97 color: #999; 98 position: absolute; 99 padding: 0; 100 left: 0; 101 top: 0; 102 line-height: inherit; 103 } 104 105 #wpcm-admin-dashboard .lfndn-plgn .wdgt-box { 106 flex-grow: 1; 107 background-color: #fff; 108 border-radius: 0.1875rem; 109 -ms-box-shadow: 0px 0px 24px 0px rgba(0, 0, 0, 0.08); 110 -o-box-shadow: 0px 0px 24px 0px rgba(0, 0, 0, 0.08); 111 box-shadow: 0px 0px 24px 0px rgba(0, 0, 0, 0.08); 112 margin-top: 1.875rem; 113 justify-content: space-between; 114 padding: 0 1.875rem 1.875rem; 115 position: relative; 116 overflow: hidden; 117 } 118 119 #wpcm-admin-dashboard .lfndn-plgn .wdgt-title { 120 flex: 0 0 calc(100% + 3.75rem); 121 max-width: calc(100% + 3.75rem); 122 margin-left: -1.875rem; 123 width: 100%; 124 overflow: hidden; 125 position: relative; 126 } 127 128 #wpcm-admin-dashboard .lfndn-plgn .wdgt-title > h4 { 129 color: #fff; 130 background-color: #8293ae; 131 margin-bottom: 0; 132 display: inline-block; 133 position: relative; 134 font-size: 1.125rem; 135 font-weight: 600; 136 padding: 0.95rem 1.875rem; 137 min-width: 15.625rem; 138 } 139 140 #wpcm-admin-dashboard .lfndn-plgn .wdgt-title > h4:before { 141 content: ""; 142 position: absolute; 143 right: -2.5rem; 144 background-color: inherit; 145 top: 0; 146 bottom: 0; 147 width: 4.375rem; 148 transform: skew(-35deg); 149 } 150 151 #wpcm-admin-dashboard .lfndn-plgn .wdgt-opt { 152 position: absolute; 153 right: 1.875rem; 154 top: 0.6875rem; 155 } 156 157 #wpcm-admin-dashboard .lfndn-plgn .wdgt-opt > a { 158 display: inline-block; 159 position: relative; 160 line-height: 0.875rem; 161 vertical-align: middle; 162 } 163 164 #wpcm-admin-dashboard .lfndn-plgn .wdgt-opt > a:hover { 165 opacity: .7; 166 } 167 168 #wpcm-admin-dashboard .lfndn-plgn .wdgt-opt > a + a { 169 margin-left: 1.5625rem; 170 } 171 172 #wpcm-admin-dashboard .lfndn-plgn .wdgt-opt > a + a:before { 173 content: ""; 174 position: absolute; 175 left: -0.75rem; 176 height: 0.8125rem; 177 width: 0.0625rem; 178 background-color: #e5e5e5; 179 top: 50%; 180 margin-top: -0.3125rem; 181 } 182 183 #wpcm-admin-dashboard .lfndn-plgn .chart { 184 width: 100%; 185 height: 15.625rem; 186 overflow: initial !important; 187 } 188 189 #wpcm-admin-dashboard .lfndn-plgn .chart * { 190 overflow: initial !important; 191 } 192 193 #wpcm-admin-dashboard .lfndn-plgn .chart .highcharts-contextmenu { 194 top: -3.125rem !important; 195 } 196 197 #wpcm-admin-dashboard .lfndn-plgn .chart .highcharts-menu { 198 border: 0 !important; 199 -ms-box-shadow: 0 0 0.9375rem rgba(0, 0, 0, 0.15) !important; 200 -o-box-shadow: 0 0 0.9375rem rgba(0, 0, 0, 0.15) !important; 201 box-shadow: 0 0 0.9375rem rgba(0, 0, 0, 0.15) !important; 202 } 203 204 #wpcm-admin-dashboard .lfndn-plgn .chart .highcharts-menu-item { 205 font-family: barlow; 206 font-weight: 500; 207 color: #646464 !important; 208 } 209 210 #wpcm-admin-dashboard .lfndn-plgn .chart hr { 211 margin: .5rem; 212 } 213 214 #wpcm-admin-dashboard .lfndn-plgn .chart .highcharts-menu-item:hover { 215 color: #fff !important; 216 } 217 218 #wpcm-admin-dashboard .lfndn-plgn .chart g.highcharts-exporting-group { 219 transform: translate(-2.56rem, -4.8rem); 220 } 221 222 #wpcm-admin-dashboard .lfndn-plgn .chart text { 223 font-family: barlow; 224 color: #999; 225 } 226 227 #wpcm-admin-dashboard .lfndn-plgn .chart .highcharts-legend-item text tspan { 228 font-size: 18px; 229 font-family: barlow; 230 font-weight: 600; 231 } 232 233 #wpcm-admin-dashboard .lfndn-plgn .chart .highcharts-legend-item text tspan + tspan { 234 fill: #999; 235 font-weight: 400; 236 font-size: 14px; 237 } 238 239 #wpcm-admin-dashboard .lfndn-plgn .wdgt-title + .chart { 240 margin-top: 1.875rem; 241 } 242 243 #wpcm-admin-dashboard .lfndn-plgn .chart > * { 244 height: inherit; 245 } 246 247 #wpcm-admin-dashboard .lfndn-plgn .sec-title > h3 + .fltr-lnks { 248 margin-left: 2.8125rem; 249 } 250 251 #wpcm-admin-dashboard .lfndn-plgn .fltr-lnks { 252 padding-left: 0; 253 list-style: none; 254 margin-bottom: -0.3125rem; 255 display: inline-block; 256 } 257 258 #wpcm-admin-dashboard .lfndn-plgn .fltr-lnks > li { 259 display: inline-block; 260 } 261 262 #wpcm-admin-dashboard .lfndn-plgn .fltr-lnks > li + li { 263 margin-left: 0.3125rem; 264 } 265 266 #wpcm-admin-dashboard .lfndn-plgn .fltr-lnks > li a { 267 background-color: #fff; 268 border: 0.125rem solid #fff; 269 border-radius: 3px; 270 height: 2.5rem; 271 width: 2.5rem; 272 line-height: 2.25rem; 273 display: inline-block; 274 text-align: center; 275 border: 2px solid transparent; 276 transition: all 0.35s; 277 } 278 279 #wpcm-admin-dashboard .lfndn-plgn .fltr-lnks > li a:hover { 280 border-color: #5b93d3; 281 } 282 283 #wpcm-admin-dashboard .opt-tgls-wrap { 284 position: relative; 285 margin-left: auto; 286 } 287 288 #wpcm-admin-dashboard .opt-tgls-wrap i { 289 height: 35px; 290 width: 20px; 291 background-color: #fff; 292 border-radius: 20px; 293 text-align: center; 294 line-height: 35px; 295 cursor: pointer; 296 } 297 298 #wpcm-admin-dashboard .opt-tgls-lst { 299 list-style: none; 300 padding: 0; 301 margin: 0; 302 border-top: 3px solid #5b93d3; 303 position: absolute; 304 top: 140%; 305 right: 0; 306 z-index: 1; 307 width: 310px; 308 box-shadow: 0 0 35px rgba(0, 0, 0, 0.15); 309 background-color: #fff; 310 } 311 312 #wpcm-admin-dashboard .opt-tgls-lst:before { 313 content: ""; 314 border-left: 8px solid transparent; 315 border-right: 8px solid transparent; 316 border-bottom: 8px solid #5b93d3; 317 position: absolute; 318 right: 15px; 319 top: -11px; 320 } 321 322 #wpcm-admin-dashboard .opt-tgls-lst li { 323 font-size: 15px; 324 color: #454545; 325 padding: 15px 24px; 326 display: flex; 327 justify-content: space-between; 328 } 329 330 #wpcm-admin-dashboard .opt-tgls-lst li + li { 331 border-top: 1px solid #ececec; 332 } 333 334 #wpcm-admin-dashboard .opt-tgls-lst li .el-switch { 335 height: 25px; 336 } 337 338 #wpcm-admin-dashboard .opt-tgls-lst li .el-switch__core { 339 background-color: #fdfdfd !important; 340 border-color: #f2f2f2 !important; 341 height: 25px; 342 border-radius: 40px; 343 } 344 345 #wpcm-admin-dashboard .opt-tgls-lst li .el-switch__core::after { 346 height: 22px; 347 width: 22px; 348 border: 1px solid #f2f2f2; 349 box-shadow: 0 0 15px rgba(0, 0, 0, 0.15); 350 top: 0; 351 } 352 353 #wpcm-admin-dashboard .opt-tgls-lst li .el-switch.is-checked .el-switch__core { 354 background-color: #4bd663 !important; 355 border-color: #4bd663 !important; 356 } 357 358 #wpcm-admin-dashboard .opt-tgls-lst li .el-switch.is-checked .el-switch__core::after { 359 margin-left: -22px; 360 } 361 362 #wpcm-admin-dashboard .opt-tgls-lst.active { 363 opacity: 1; 364 visiblity: visible; 365 transform: translateY(14px); 366 -webkit-transform: translateY(14px); 367 -moz-transform: translateY(14px); 368 -o-transform: translateY(14px); 369 } 370 371 #wpcm-admin-dashboard .opt-wrap { 372 margin-left: auto; 373 display: flex; 374 } 375 376 #wpcm-admin-dashboard .opt-wrap .slc-wrp { 377 margin-right: 10px; 378 } 379 380 #wpcm-admin-dashboard .opt-wrap .slc-wrp .el-input--suffix .el-input__inner { 381 width: 150px; 382 color: #393939; 383 font-size: 13px; 384 font-family: Barlow; 385 font-weight: 500; 386 } 387 388 #wpcm-admin-dashboard .el-select-dropdown .el-select-dropdown__item { 389 color: #393939; 390 font-size: 13px; 391 font-family: Barlow; 392 font-weight: 500; 393 } 394 395 #wpcm-admin-dashboard .el-select-dropdown .el-select-dropdown__item.selected { 396 background-color: #5b93d3; 397 color: #fff; 398 } 399 400 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap { 401 width: 100%; 402 position: relative; 403 } 404 405 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap > h6 { 406 vertical-align: middle; 407 margin-bottom: 0; 408 font-weight: 400; 409 font-size: 1.125rem; 410 display: inline-block; 411 font-family: Barlow; 412 color: #000; 413 } 414 415 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap + .sec-title { 416 margin-top: 2.5rem; 417 } 418 419 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap > h6 + span { 420 margin-left: 1.875rem; 421 } 422 423 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap > span { 424 display: inline-block; 425 vertical-align: middle; 426 background-color: #fff; 427 cursor: pointer; 428 position: relative; 429 border-radius: 0.1875rem; 430 text-transform: uppercase; 431 -ms-box-shadow: 0 0 1.5625rem rgba(0, 0, 0, 0.08); 432 -o-box-shadow: 0 0 1.5625rem rgba(0, 0, 0, 0.08); 433 box-shadow: 0 0 1.5625rem rgba(0, 0, 0, 0.08); 434 padding: 1.05rem 4.0625rem 1.05rem 1.875rem; 435 font-size: 1.125rem; 436 font-weight: 500; 437 color: #000; 438 min-width: 24.6875rem; 439 font-family: Barlow; 440 } 441 442 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap > span i { 443 font-style: normal; 444 color: #a3a3a3; 445 } 446 447 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap > span:before { 448 content: "\F0D7"; 449 width: 3.75rem; 450 text-align: center; 451 right: 0; 452 border-left: 0.125rem solid #f0f0f0; 453 position: absolute; 454 top: 0; 455 bottom: 0; 456 font-family: fontawesome; 457 font-size: 1rem; 458 color: #7f7f7f; 459 line-height: 3.75rem; 460 } 461 462 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap span + .date-filter-inner { 463 left: 7.8125rem; 464 background-color: #fff; 465 } 466 467 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner { 468 position: absolute; 469 left: 0; 470 z-index: 9; 471 max-width: 50rem; 472 border-radius: 0 0 0.3125rem 0.3125rem; 473 padding: 1.5625rem 2.5rem 1.875rem 2.5rem; 474 -ms-box-shadow: 0 0 2.1875rem rgba(0, 0, 0, 0.15); 475 -o-box-shadow: 0 0 2.1875rem rgba(0, 0, 0, 0.15); 476 box-shadow: 0 0 2.1875rem rgba(0, 0, 0, 0.15); 477 top: 100%; 478 border-top: 5px solid #5b93d3; 479 width: 100%; 480 opacity: 0; 481 visibility: hidden; 482 } 483 484 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner.active { 485 opacity: 1; 486 visibility: visible; 487 } 488 489 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner .el-tabs__header { 490 margin-bottom: 0; 491 } 492 493 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner .el-tabs__header .el-tabs__nav-wrap { 494 margin-bottom: 0; 495 } 496 497 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner .el-tabs__header .el-tabs__nav-wrap .el-tabs__item { 498 padding: 0.9875rem 2.75rem; 499 height: initial; 500 line-height: initial; 501 font-size: 0.9375rem; 502 text-transform: uppercase; 503 font-weight: 700; 504 font-family: Barlow; 505 color: #333; 506 border-radius: 2.5rem; 507 } 508 509 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner .el-tabs__header .el-tabs__nav-wrap .el-tabs__active-bar { 510 top: 0; 511 bottom: 0; 512 height: initial; 513 z-index: -1; 514 display: none; 515 } 516 517 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner .el-tabs__header .el-tabs__nav-wrap .el-tabs__item.is-active { 518 color: #fff; 519 background-color: #5b93d3; 520 } 521 522 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner .el-tabs__content { 523 width: 100%; 524 } 525 526 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner .el-tabs__content .el-tab-pane { 527 width: 100%; 528 } 529 530 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner .el-tabs__header .el-tabs__nav-wrap:after { 531 display: none; 532 } 533 534 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner .el-tabs__content .el-tab-pane .el-checkbox-group { 535 display: inline-block; 536 } 537 538 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner .el-tabs__content .el-tab-pane .el-checkbox-group label.el-checkbox { 539 max-width: 20%; 540 width: 100%; 541 margin: 0.9375rem 0 0; 542 padding-right: 1.25rem; 543 font-size: 0.9375rem; 544 color: #333; 545 font-weight: 500; 546 font-family: Barlow; 547 display: inline-block; 548 position: relative; 549 z-index: 1; 550 } 551 552 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner .el-tabs__content .el-tab-pane .el-checkbox-group label.el-checkbox span.el-checkbox__label { 553 font-size: inherit; 554 font-weight: inherit; 555 font-family: inherit; 556 line-height: 0.9375rem; 557 } 558 559 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner .el-tabs__content .el-tab-pane .el-checkbox-group label.el-checkbox span.el-checkbox__input span.el-checkbox__inner { 560 -ms-box-shadow: 0 0 0.625rem rgba(0, 0, 0, 0.13); 561 -o-box-shadow: 0 0 0.625rem rgba(0, 0, 0, 0.13); 562 box-shadow: 0 0 0.625rem rgba(0, 0, 0, 0.13); 563 border-color: #d3d3d3; 564 height: 11px; 565 width: 11px; 566 border-radius: 0.1875rem; 567 } 568 569 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .compare-box .el-radio-group label.el-radio span.el-radio__input span.el-radio__inner { 570 -ms-box-shadow: 0 0 0.625rem rgba(0, 0, 0, 0.1); 571 -o-box-shadow: 0 0 0.625rem rgba(0, 0, 0, 0.1); 572 box-shadow: 0 0 0.625rem rgba(0, 0, 0, 0.1); 573 border-color: #d3d3d3; 574 height: 0.6875rem; 575 width: 0.6875rem; 576 border-radius: 0.1875rem; 577 } 578 579 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .lfndn-plgn .date-filter-wrap .compare-box .el-radio__input.is-checked .el-radio__inner { 580 border-color: #5b93d3; 581 background: #5b93d3; 582 } 583 584 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner .el-tabs__content .el-tab-pane label.el-checkbox span.el-checkbox__input.is-checked span.el-checkbox__inner { 585 background-color: transparent; 586 } 587 588 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner .el-tabs__content .el-tab-pane label.el-checkbox span.el-checkbox__input.is-checked span.el-checkbox__inner:after { 589 content: "\F00C"; 590 font-family: fontawesome; 591 transform: rotate(0); 592 left: 0; 593 top: -3px; 594 font-weight: 400; 595 font-size: 13px; 596 color: #009661; 597 } 598 599 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner .el-tabs__content .el-tab-pane label.el-checkbox.is-checked span.el-checkbox__label { 600 color: #333; 601 } 602 603 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .compare-box { 604 width: 100%; 605 } 606 607 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner .el-tabs__content .el-tab-pane .el-checkbox-group + .compare-box { 608 margin-top: 2.5rem; 609 border-top: 0.0625rem solid #ececec; 610 } 611 612 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .compare-box > h6 { 613 margin: 0; 614 background-color: #fff; 615 display: inline-block; 616 position: relative; 617 top: -0.875rem; 618 z-index: 1; 619 font-size: 1rem; 620 text-transform: uppercase; 621 padding-right: 1.875rem; 622 clear: right; 623 } 624 625 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .compare-box .el-radio-group { 626 clear: left; 627 display: block; 628 } 629 630 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .compare-box .el-radio-group label.el-radio { 631 font-family: Barlow; 632 color: #333; 633 font-weight: 500; 634 font-size: 0.9375rem; 635 margin-bottom: 0; 636 } 637 638 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .compare-box .el-radio-group label.el-radio span.el-radio__label { 639 font-size: inherit; 640 font-weight: inherit; 641 font-family: inherit; 642 } 643 644 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .compare-box .el-radio-group label.el-radio span.el-radio__input span.el-radio__inner:after { 645 border-radius: 0; 646 height: 3px; 647 width: 3px; 648 margin-top: -1px; 649 } 650 651 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .compare-box .el-radio-group label.el-radio.is-checked span.el-radio__label { 652 color: inherit; 653 } 654 655 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .compare-box .el-radio-group + a { 656 margin-top: -1.5625rem; 657 } 658 659 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .compare-box > a { 660 float: right; 661 text-transform: uppercase; 662 border-radius: 0.3125rem; 663 font-size: 0.9375rem; 664 font-weight: 700; 665 font-family: Barlow; 666 padding: 0.55rem 2.625rem; 667 color: #fff; 668 } 669 670 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .compare-box > a:hover, #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .compare-box > a:focus { 671 background-color: #333; 672 } 673 674 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .el-tab-pane .block { 675 margin-top: 30px; 676 } 677 678 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .el-tab-pane .block > span { 679 font-weight: 600; 680 font-family: Barlow; 681 display: inline-block; 682 margin-right: 15px; 683 } 684 685 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .el-tab-pane .block .el-date-editor { 686 font-family: Barlow; 687 font-weight: 500; 688 } 689 690 #wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .el-tab-pane .block .el-date-editor span.el-range-separator { 691 width: auto; 692 } 693 694 #wpcm-admin-dashboard header { 695 -ms-box-shadow: 8px 16px 21px 0px rgba(0, 0, 0, 0.14); 696 -o-box-shadow: 8px 16px 21px 0px rgba(0, 0, 0, 0.14); 697 box-shadow: 8px 16px 21px 0px rgba(0, 0, 0, 0.14); 698 background-color: #002e5f; 699 margin-left: -20px; 700 } 701 702 #wpcm-admin-dashboard header nav { 703 display: flex; 704 flex-wrap: wrap; 705 max-width: 100%; 706 } 707 708 #wpcm-admin-dashboard header nav > ul { 709 padding-left: 0; 710 list-style: none; 711 margin-bottom: 0; 712 display: flex; 713 flex-wrap: wrap; 714 max-width: 100%; 715 } 716 717 #wpcm-admin-dashboard header nav > ul > li { 718 display: inline-block; 719 position: relative; 720 font-size: 0.875rem; 721 font-weight: 500; 722 color: #fff; 723 min-width: 8.4375rem; 724 border-left: 0.0625rem solid rgba(255, 255, 255, 0.12); 725 text-align: center; 726 } 727 728 #wpcm-admin-dashboard header nav > ul > li > a { 729 display: block; 730 padding: 1.1875rem 0.9375rem; 731 color: #fff; 732 } 733 734 #wpcm-admin-dashboard header nav > ul > li:last-child { 735 border-right: 0.0625rem solid rgba(255, 255, 255, 0.12); 736 } 737 738 #wpcm-admin-dashboard header nav > ul > li i { 739 display: block; 740 } 741 742 #wpcm-admin-dashboard header nav > ul > li:hover > a, 743 #wpcm-admin-dashboard header nav > ul > li > a:focus { 744 color: #fff; 745 opacity: 0.7; 746 } 747 748 #wpcm-admin-dashboard .lfndn-plgn .msg-list-wrap { 749 position: fixed; 750 right: -38.75rem; 751 top: 0; 752 bottom: 0; 753 -ms-box-shadow: 15px 26px 73px 0px rgba(0, 0, 0, 0); 754 -o-box-shadow: 15px 26px 73px 0px rgba(0, 0, 0, 0); 755 box-shadow: 15px 26px 73px 0px rgba(0, 0, 0, 0); 756 background-color: #002e5f; 757 z-index: 99; 758 max-width: 38.75rem; 759 opacity: 0; 760 visibility: hidden; 761 } 762 763 #wpcm-admin-dashboard .lfndn-plgn .msg-list-wrap.active { 764 right: 0; 765 opacity: 1; 766 visibility: visible; 767 } 768 769 #wpcm-admin-dashboard .lfndn-plgn .msg-list { 770 padding: 0; 771 list-style: none; 772 width: 100%; 773 height: 100%; 774 text-align: initial; 775 } 776 777 #wpcm-admin-dashboard .lfndn-plgn .msg-list > li { 778 width: 100%; 779 display: inline-block; 780 position: relative; 781 border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.12); 782 padding: 3.125rem 3.75rem; 783 line-height: initial; 784 } 785 786 #wpcm-admin-dashboard .lfndn-plgn .msg-list > li:before { 787 content: ""; 788 position: absolute; 789 height: 0.9375rem; 790 width: 0.9375rem; 791 background-color: #e5354e; 792 border-radius: 50%; 793 left: 0.9375rem; 794 top: 1.5625rem; 795 } 796 797 #wpcm-admin-dashboard .lfndn-plgn .msg-list > li > i { 798 float: left; 799 border-radius: 0.3125rem; 800 font-size: 1.25rem; 801 color: #fff; 802 border: 0.125rem solid rgba(255, 255, 255, 0.3); 803 line-height: 2.59375rem; 804 width: 2.8125rem; 805 text-align: center; 806 height: 2.8125rem; 807 } 808 809 #wpcm-admin-dashboard .lfndn-plgn .msg-inr { 810 width: 100%; 811 display: inline-block; 812 } 813 814 #wpcm-admin-dashboard .lfndn-plgn .msg-list > li > i + .msg-inr { 815 width: calc(100% - 2.8125rem); 816 padding-left: 0.9375rem; 817 } 818 819 #wpcm-admin-dashboard .lfndn-plgn .msg-inr > h4 { 820 margin-bottom: 0; 821 color: #fff; 822 font-size: 1.25rem; 823 } 824 825 #wpcm-admin-dashboard .lfndn-plgn .msg-inr > h4 + span { 826 margin-top: 0.25rem; 827 } 828 829 #wpcm-admin-dashboard .lfndn-plgn .msg-inr > span { 830 display: inline-block; 831 font-size: 0.9375rem; 832 color: #fff; 833 text-transform: uppercase; 834 } 835 836 #wpcm-admin-dashboard .lfndn-plgn .msg-inr > span + a { 837 float: right; 838 margin-top: -1.25rem; 839 background-color: #5b93d3; 840 } 841 842 #wpcm-admin-dashboard .lfndn-plgn .msg-inr > a { 843 font-size: 0.875rem; 844 color: #fff; 845 border-radius: 0.1875rem; 846 font-weight: 600; 847 padding: 0.7rem 1.25rem; 848 } 849 850 #wpcm-admin-dashboard .lfndn-plgn .msg-inr > a + p { 851 margin-top: 0.9375rem; 852 } 853 854 #wpcm-admin-dashboard .lfndn-plgn .msg-inr > p { 855 color: #9facb9; 856 line-height: 1.625rem; 857 font-size: 1rem; 858 max-width: 95%; 859 margin-bottom: 0; 860 } 861 862 #wpcm-admin-dashboard .lfndn-plgn .msg-inr > a:hover, #wpcm-admin-dashboard .lfndn-plgn .msg-inr > a:focus { 863 background-color: #fff; 864 color: #000; 865 } 866 867 #wpcm-admin-dashboard .lfndn-plgn .sec-title { 868 display: flex; 869 background-color: #edeaea; 870 padding: 15px 12px 15px 30px; 871 align-items: center; 872 } 873 874 #wpcm-admin-dashboard .lfndn-plgn .sec-title h3 { 875 font-size: 20px; 876 color: #000; 877 font-weight: bold; 878 font-family: Barlow; 879 margin-bottom: 0; 880 text-transform: uppercase; 881 } 882 883 #wpcm-admin-dashboard .lfndn-plgn .facts-wrap { 884 width: 100%; 885 margin-bottom: 40px; 886 } 887 888 #wpcm-admin-dashboard .lfndn-plgn .fact-box { 889 position: relative; 890 padding: 1.875rem; 891 border-radius: 0.21875rem; 892 overflow: hidden; 893 margin-top: 1.875rem; 894 } 895 896 #wpcm-admin-dashboard .lfndn-plgn .fact-box > h4 { 897 font-size: 2.125rem; 898 color: #ffffff; 899 margin-bottom: 0; 900 } 901 902 #wpcm-admin-dashboard .lfndn-plgn .fact-box > h4 sup { 903 font-weight: 400; 904 font-size: 65%; 905 top: -0.625rem; 906 } 907 908 #wpcm-admin-dashboard .lfndn-plgn .fact-box > span { 909 display: block; 910 font-size: 0.8125rem; 911 color: #ffffff; 912 font-family: Barlow; 913 text-transform: uppercase; 914 } 915 916 #wpcm-admin-dashboard .lfndn-plgn .fact-box > span + i { 917 margin-top: 1.25rem; 918 } 919 920 #wpcm-admin-dashboard .lfndn-plgn .fact-box > i { 921 color: #ffffff; 922 font-size: 1.5625rem; 923 font-style: normal; 924 display: inline-block; 925 } 926 927 #wpcm-admin-dashboard .lfndn-plgn .fact-inner { 928 position: absolute; 929 right: 0; 930 bottom: 0.3125rem; 931 background-color: rgba(0, 0, 0, 0.1); 932 padding: 0.9375rem 3.125rem 0.9375rem 1.5625rem; 933 border-radius: 0.625rem 0 0 0.625rem; 934 } 935 936 #wpcm-admin-dashboard .lfndn-plgn .fact-inner > h6 { 937 color: #ffffff; 938 margin-bottom: 0; 939 font-size: 0.9375rem; 940 font-weight: 600; 941 } 942 943 #wpcm-admin-dashboard .lfndn-plgn .fact-inner > h6 + span { 944 margin-top: 0.25rem; 945 font-family: Barlow; 946 } 947 948 #wpcm-admin-dashboard .lfndn-plgn .fact-inner > span { 949 display: block; 950 color: #ffffff; 951 font-size: 0.8125rem; 952 } 953 954 #wpcm-admin-dashboard .lfndn-plgn .clr1 { 955 background-color: #e23a3a; 956 } 957 958 #wpcm-admin-dashboard .lfndn-plgn .clr2 { 959 background-color: #4683e8; 960 } 961 962 #wpcm-admin-dashboard .lfndn-plgn .clr3 { 963 background-color: #83b639; 964 } 965 966 #wpcm-admin-dashboard .lfndn-plgn .clr4 { 967 background-color: #c43ae2; 968 } 969 970 #wpcm-admin-dashboard .lfndn-plgn .clr5 { 971 background-color: #a47823; 972 } 973 974 #wpcm-admin-dashboard .lfndn-plgn .clr6 { 975 background-color: #4cb6c9; 976 } 1 #wpcm-admin-dashboard .el-button:focus{outline:none}#wpcm-admin-dashboard .el-input-group input{border-color:#ddd}#wpcm-admin-dashboard .slide-fade-enter-active{transition:all .3s ease}#wpcm-admin-dashboard .slide-fade-leave-active{transition:all .3s cubic-bezier(1,.5,.8,1)}#wpcm-admin-dashboard .slide-fade-enter,#wpcm-admin-dashboard .slide-fade-leave-to{transform:translateX(10px);opacity:0}#wpcm-admin-dashboard .table-boxes .el-input .el-input__inner{box-shadow:none}#wpcm-admin-dashboard .title{float:left;width:100%;margin-bottom:40px}#wpcm-admin-dashboard .title.center{text-align:center}#wpcm-admin-dashboard .title h2{float:left;margin:0;width:100%}#wpcm-admin-dashboard .gap{display:flex;flex-wrap:wrap;max-width:100%;padding:4.375rem 0;position:relative;width:100%}#wpcm-admin-dashboard .remove-gap{padding-top:0}#wpcm-admin-dashboard .lfndn-plgn .breadcrumbs-wrap{flex-grow:1;justify-content:start}#wpcm-admin-dashboard .lfndn-plgn .breadcrumb{padding:0;background-color:transparent;border-radius:0;margin:1.25rem 0 0;list-style:none;display:flex;display:-ms-flexbox}#wpcm-admin-dashboard .lfndn-plgn .breadcrumb>li.breadcrumb-item{color:#999;position:relative;font-size:.9375rem;font-family:Barlow}#wpcm-admin-dashboard .lfndn-plgn .breadcrumb>li.breadcrumb-item a{color:#cd4aaa}#wpcm-admin-dashboard .lfndn-plgn .breadcrumb>li.breadcrumb-item+li.breadcrumb-item{padding-left:.9375rem;margin-left:.625rem}#wpcm-admin-dashboard .lfndn-plgn .breadcrumb>li.breadcrumb-item+li.breadcrumb-item:before{content:"/";color:#999;position:absolute;padding:0;left:0;top:0;line-height:inherit}#wpcm-admin-dashboard .lfndn-plgn .wdgt-box{flex-grow:1;background-color:#fff;border-radius:.1875rem;-ms-box-shadow:0 0 24px 0 rgba(0,0,0,.08);-o-box-shadow:0 0 24px 0 rgba(0,0,0,.08);box-shadow:0 0 24px 0 rgba(0,0,0,.08);margin-top:1.875rem;justify-content:space-between;padding:0 1.875rem 1.875rem;position:relative;overflow:hidden}#wpcm-admin-dashboard .lfndn-plgn .wdgt-title{flex:0 0 calc(100% + 3.75rem);max-width:calc(100% + 3.75rem);margin-left:-1.875rem;width:100%;overflow:hidden;position:relative}#wpcm-admin-dashboard .lfndn-plgn .wdgt-title>h4{color:#fff;background-color:#8293ae;margin-bottom:0;display:inline-block;position:relative;font-size:1.125rem;font-weight:600;padding:.95rem 1.875rem;min-width:15.625rem}#wpcm-admin-dashboard .lfndn-plgn .wdgt-title>h4:before{content:"";position:absolute;right:-2.5rem;background-color:inherit;top:0;bottom:0;width:4.375rem;transform:skew(-35deg)}#wpcm-admin-dashboard .lfndn-plgn .wdgt-opt{position:absolute;right:1.875rem;top:.6875rem}#wpcm-admin-dashboard .lfndn-plgn .wdgt-opt>a{display:inline-block;position:relative;line-height:.875rem;vertical-align:middle}#wpcm-admin-dashboard .lfndn-plgn .wdgt-opt>a:hover{opacity:.7}#wpcm-admin-dashboard .lfndn-plgn .wdgt-opt>a+a{margin-left:1.5625rem}#wpcm-admin-dashboard .lfndn-plgn .wdgt-opt>a+a:before{content:"";position:absolute;left:-.75rem;height:.8125rem;width:.0625rem;background-color:#e5e5e5;top:50%;margin-top:-.3125rem}#wpcm-admin-dashboard .lfndn-plgn .chart{width:100%;height:15.625rem;overflow:initial!important}#wpcm-admin-dashboard .lfndn-plgn .chart *{overflow:initial!important}#wpcm-admin-dashboard .lfndn-plgn .chart .highcharts-contextmenu{top:-3.125rem!important}#wpcm-admin-dashboard .lfndn-plgn .chart .highcharts-menu{border:0!important;-ms-box-shadow:0 0 .9375rem rgba(0,0,0,.15)!important;-o-box-shadow:0 0 .9375rem rgba(0,0,0,.15)!important;box-shadow:0 0 .9375rem rgba(0,0,0,.15)!important}#wpcm-admin-dashboard .lfndn-plgn .chart .highcharts-menu-item{font-family:barlow;font-weight:500;color:#646464!important}#wpcm-admin-dashboard .lfndn-plgn .chart hr{margin:.5rem}#wpcm-admin-dashboard .lfndn-plgn .chart .highcharts-menu-item:hover{color:#fff!important}#wpcm-admin-dashboard .lfndn-plgn .chart g.highcharts-exporting-group{transform:translate(-2.56rem,-4.8rem)}#wpcm-admin-dashboard .lfndn-plgn .chart text{font-family:barlow;color:#999}#wpcm-admin-dashboard .lfndn-plgn .chart .highcharts-legend-item text tspan{font-size:18px;font-family:barlow;font-weight:600}#wpcm-admin-dashboard .lfndn-plgn .chart .highcharts-legend-item text tspan+tspan{fill:#999;font-weight:400;font-size:14px}#wpcm-admin-dashboard .lfndn-plgn .wdgt-title+.chart{margin-top:1.875rem}#wpcm-admin-dashboard .lfndn-plgn .chart>*{height:inherit}#wpcm-admin-dashboard .lfndn-plgn .sec-title>h3+.fltr-lnks{margin-left:2.8125rem}#wpcm-admin-dashboard .lfndn-plgn .fltr-lnks{padding-left:0;list-style:none;margin-bottom:-.3125rem;display:inline-block}#wpcm-admin-dashboard .lfndn-plgn .fltr-lnks>li{display:inline-block}#wpcm-admin-dashboard .lfndn-plgn .fltr-lnks>li+li{margin-left:.3125rem}#wpcm-admin-dashboard .lfndn-plgn .fltr-lnks>li a{background-color:#fff;border-radius:3px;height:2.5rem;width:2.5rem;line-height:2.25rem;display:inline-block;text-align:center;border:2px solid transparent;transition:all .35s}#wpcm-admin-dashboard .lfndn-plgn .fltr-lnks>li a:hover{border-color:#5b93d3}#wpcm-admin-dashboard .opt-tgls-wrap{position:relative;margin-left:auto}#wpcm-admin-dashboard .opt-tgls-wrap i{height:35px;width:20px;background-color:#fff;border-radius:20px;text-align:center;line-height:35px;cursor:pointer}#wpcm-admin-dashboard .opt-tgls-lst{list-style:none;padding:0;margin:0;border-top:3px solid #5b93d3;position:absolute;top:140%;right:0;z-index:1;width:310px;box-shadow:0 0 35px rgba(0,0,0,.15);background-color:#fff}#wpcm-admin-dashboard .opt-tgls-lst:before{content:"";border-left:8px solid transparent;border-right:8px solid transparent;border-bottom:8px solid #5b93d3;position:absolute;right:15px;top:-11px}#wpcm-admin-dashboard .opt-tgls-lst li{font-size:15px;color:#454545;padding:15px 24px;display:flex;justify-content:space-between}#wpcm-admin-dashboard .opt-tgls-lst li+li{border-top:1px solid #ececec}#wpcm-admin-dashboard .opt-tgls-lst li .el-switch{height:25px}#wpcm-admin-dashboard .opt-tgls-lst li .el-switch__core{background-color:#fdfdfd!important;border-color:#f2f2f2!important;height:25px;border-radius:40px}#wpcm-admin-dashboard .opt-tgls-lst li .el-switch__core:after{height:22px;width:22px;border:1px solid #f2f2f2;box-shadow:0 0 15px rgba(0,0,0,.15);top:0}#wpcm-admin-dashboard .opt-tgls-lst li .el-switch.is-checked .el-switch__core{background-color:#4bd663!important;border-color:#4bd663!important}#wpcm-admin-dashboard .opt-tgls-lst li .el-switch.is-checked .el-switch__core:after{margin-left:-22px}#wpcm-admin-dashboard .opt-tgls-lst.active{opacity:1;visiblity:visible;transform:translateY(14px);-webkit-transform:translateY(14px);-moz-transform:translateY(14px);-o-transform:translateY(14px)}#wpcm-admin-dashboard .opt-wrap{margin-left:auto;display:flex}#wpcm-admin-dashboard .opt-wrap .slc-wrp{margin-right:10px}#wpcm-admin-dashboard .opt-wrap .slc-wrp .el-input--suffix .el-input__inner{width:150px;color:#393939;font-size:13px;font-family:Barlow;font-weight:500}#wpcm-admin-dashboard .el-select-dropdown .el-select-dropdown__item{color:#393939;font-size:13px;font-family:Barlow;font-weight:500}#wpcm-admin-dashboard .el-select-dropdown .el-select-dropdown__item.selected{background-color:#5b93d3;color:#fff}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap{width:100%;position:relative}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap>h6{vertical-align:middle;margin-bottom:0;font-weight:400;font-size:1.125rem;display:inline-block;font-family:Barlow;color:#000}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap+.sec-title{margin-top:2.5rem}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap>h6+span{margin-left:1.875rem}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap>span{display:inline-block;vertical-align:middle;background-color:#fff;cursor:pointer;position:relative;border-radius:.1875rem;text-transform:uppercase;-ms-box-shadow:0 0 1.5625rem rgba(0,0,0,.08);-o-box-shadow:0 0 1.5625rem rgba(0,0,0,.08);box-shadow:0 0 1.5625rem rgba(0,0,0,.08);padding:1.05rem 4.0625rem 1.05rem 1.875rem;font-size:1.125rem;font-weight:500;color:#000;min-width:24.6875rem;font-family:Barlow}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap>span i{font-style:normal;color:#a3a3a3}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap>span:before{content:"\F0D7";width:3.75rem;text-align:center;right:0;border-left:.125rem solid #f0f0f0;position:absolute;top:0;bottom:0;font-family:fontawesome;font-size:1rem;color:#7f7f7f;line-height:3.75rem}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap span+.date-filter-inner{left:7.8125rem;background-color:#fff}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner{position:absolute;left:0;z-index:9;max-width:50rem;border-radius:0 0 .3125rem .3125rem;padding:1.5625rem 2.5rem 1.875rem;-ms-box-shadow:0 0 2.1875rem rgba(0,0,0,.15);-o-box-shadow:0 0 2.1875rem rgba(0,0,0,.15);box-shadow:0 0 2.1875rem rgba(0,0,0,.15);top:100%;border-top:5px solid #5b93d3;width:100%;opacity:0;visibility:hidden}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner.active{opacity:1;visibility:visible}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner .el-tabs__header,#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner .el-tabs__header .el-tabs__nav-wrap{margin-bottom:0}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner .el-tabs__header .el-tabs__nav-wrap .el-tabs__item{padding:.9875rem 2.75rem;height:auto;line-height:normal;font-size:.9375rem;text-transform:uppercase;font-weight:700;font-family:Barlow;color:#333;border-radius:2.5rem}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner .el-tabs__header .el-tabs__nav-wrap .el-tabs__active-bar{top:0;bottom:0;height:auto;z-index:-1;display:none}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner .el-tabs__header .el-tabs__nav-wrap .el-tabs__item.is-active{color:#fff;background-color:#5b93d3}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner .el-tabs__content,#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner .el-tabs__content .el-tab-pane{width:100%}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner .el-tabs__header .el-tabs__nav-wrap:after{display:none}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner .el-tabs__content .el-tab-pane .el-checkbox-group{display:inline-block}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner .el-tabs__content .el-tab-pane .el-checkbox-group label.el-checkbox{max-width:20%;width:100%;margin:.9375rem 0 0;padding-right:1.25rem;font-size:.9375rem;color:#333;font-weight:500;font-family:Barlow;display:inline-block;position:relative;z-index:1}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner .el-tabs__content .el-tab-pane .el-checkbox-group label.el-checkbox span.el-checkbox__label{font-size:inherit;font-weight:inherit;font-family:inherit;line-height:.9375rem}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner .el-tabs__content .el-tab-pane .el-checkbox-group label.el-checkbox span.el-checkbox__input span.el-checkbox__inner{-ms-box-shadow:0 0 .625rem rgba(0,0,0,.13);-o-box-shadow:0 0 .625rem rgba(0,0,0,.13);box-shadow:0 0 .625rem rgba(0,0,0,.13);border-color:#d3d3d3;height:11px;width:11px;border-radius:.1875rem}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .compare-box .el-radio-group label.el-radio span.el-radio__input span.el-radio__inner{-ms-box-shadow:0 0 .625rem rgba(0,0,0,.1);-o-box-shadow:0 0 .625rem rgba(0,0,0,.1);box-shadow:0 0 .625rem rgba(0,0,0,.1);border-color:#d3d3d3;height:.6875rem;width:.6875rem;border-radius:.1875rem}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .lfndn-plgn .date-filter-wrap .compare-box .el-radio__input.is-checked .el-radio__inner{border-color:#5b93d3;background:#5b93d3}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner .el-tabs__content .el-tab-pane label.el-checkbox span.el-checkbox__input.is-checked span.el-checkbox__inner{background-color:transparent}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner .el-tabs__content .el-tab-pane label.el-checkbox span.el-checkbox__input.is-checked span.el-checkbox__inner:after{content:"\F00C";font-family:fontawesome;transform:rotate(0);left:0;top:-3px;font-weight:400;font-size:13px;color:#009661}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner .el-tabs__content .el-tab-pane label.el-checkbox.is-checked span.el-checkbox__label{color:#333}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .compare-box{width:100%}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .date-filter-inner .el-tabs__content .el-tab-pane .el-checkbox-group+.compare-box{margin-top:2.5rem;border-top:.0625rem solid #ececec}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .compare-box>h6{margin:0;background-color:#fff;display:inline-block;position:relative;top:-.875rem;z-index:1;font-size:1rem;text-transform:uppercase;padding-right:1.875rem;clear:right}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .compare-box .el-radio-group{clear:left;display:block}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .compare-box .el-radio-group label.el-radio{font-family:Barlow;color:#333;font-weight:500;font-size:.9375rem;margin-bottom:0}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .compare-box .el-radio-group label.el-radio span.el-radio__label{font-size:inherit;font-weight:inherit;font-family:inherit}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .compare-box .el-radio-group label.el-radio span.el-radio__input span.el-radio__inner:after{border-radius:0;height:3px;width:3px;margin-top:-1px}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .compare-box .el-radio-group label.el-radio.is-checked span.el-radio__label{color:inherit}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .compare-box .el-radio-group+a{margin-top:-1.5625rem}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .compare-box>a{float:right;text-transform:uppercase;border-radius:.3125rem;font-size:.9375rem;font-weight:700;font-family:Barlow;padding:.55rem 2.625rem;color:#fff}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .compare-box>a:focus,#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .compare-box>a:hover{background-color:#333}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .el-tab-pane .block{margin-top:30px}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .el-tab-pane .block>span{font-weight:600;font-family:Barlow;display:inline-block;margin-right:15px}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .el-tab-pane .block .el-date-editor{font-family:Barlow;font-weight:500}#wpcm-admin-dashboard .lfndn-plgn .date-filter-wrap .el-tab-pane .block .el-date-editor span.el-range-separator{width:auto}#wpcm-admin-dashboard header{-ms-box-shadow:8px 16px 21px 0 rgba(0,0,0,.14);-o-box-shadow:8px 16px 21px 0 rgba(0,0,0,.14);box-shadow:8px 16px 21px 0 rgba(0,0,0,.14);background-color:#002e5f;margin-left:-20px}#wpcm-admin-dashboard header nav,#wpcm-admin-dashboard header nav>ul{display:flex;flex-wrap:wrap;max-width:100%}#wpcm-admin-dashboard header nav>ul{padding-left:0;list-style:none;margin-bottom:0}#wpcm-admin-dashboard header nav>ul>li{display:inline-block;position:relative;font-size:.875rem;font-weight:500;color:#fff;min-width:8.4375rem;border-left:.0625rem solid hsla(0,0%,100%,.12);text-align:center}#wpcm-admin-dashboard header nav>ul>li>a{display:block;padding:1.1875rem .9375rem;color:#fff}#wpcm-admin-dashboard header nav>ul>li:last-child{border-right:.0625rem solid hsla(0,0%,100%,.12)}#wpcm-admin-dashboard header nav>ul>li i{display:block}#wpcm-admin-dashboard header nav>ul>li:hover>a,#wpcm-admin-dashboard header nav>ul>li>a:focus{color:#fff;opacity:.7}#wpcm-admin-dashboard .lfndn-plgn .msg-list-wrap{position:fixed;right:-38.75rem;top:0;bottom:0;-ms-box-shadow:15px 26px 73px 0 transparent;-o-box-shadow:15px 26px 73px 0 transparent;box-shadow:15px 26px 73px 0 transparent;background-color:#002e5f;z-index:99;max-width:38.75rem;opacity:0;visibility:hidden}#wpcm-admin-dashboard .lfndn-plgn .msg-list-wrap.active{right:0;opacity:1;visibility:visible}#wpcm-admin-dashboard .lfndn-plgn .msg-list{padding:0;list-style:none;width:100%;height:100%;text-align:initial}#wpcm-admin-dashboard .lfndn-plgn .msg-list>li{width:100%;display:inline-block;position:relative;border-bottom:.0625rem solid hsla(0,0%,100%,.12);padding:3.125rem 3.75rem;line-height:normal}#wpcm-admin-dashboard .lfndn-plgn .msg-list>li:before{content:"";position:absolute;height:.9375rem;width:.9375rem;background-color:#e5354e;border-radius:50%;left:.9375rem;top:1.5625rem}#wpcm-admin-dashboard .lfndn-plgn .msg-list>li>i{float:left;border-radius:.3125rem;font-size:1.25rem;color:#fff;border:.125rem solid hsla(0,0%,100%,.3);line-height:2.59375rem;width:2.8125rem;text-align:center;height:2.8125rem}#wpcm-admin-dashboard .lfndn-plgn .msg-inr{width:100%;display:inline-block}#wpcm-admin-dashboard .lfndn-plgn .msg-list>li>i+.msg-inr{width:calc(100% - 2.8125rem);padding-left:.9375rem}#wpcm-admin-dashboard .lfndn-plgn .msg-inr>h4{margin-bottom:0;color:#fff;font-size:1.25rem}#wpcm-admin-dashboard .lfndn-plgn .msg-inr>h4+span{margin-top:.25rem}#wpcm-admin-dashboard .lfndn-plgn .msg-inr>span{display:inline-block;font-size:.9375rem;color:#fff;text-transform:uppercase}#wpcm-admin-dashboard .lfndn-plgn .msg-inr>span+a{float:right;margin-top:-1.25rem;background-color:#5b93d3}#wpcm-admin-dashboard .lfndn-plgn .msg-inr>a{font-size:.875rem;color:#fff;border-radius:.1875rem;font-weight:600;padding:.7rem 1.25rem}#wpcm-admin-dashboard .lfndn-plgn .msg-inr>a+p{margin-top:.9375rem}#wpcm-admin-dashboard .lfndn-plgn .msg-inr>p{color:#9facb9;line-height:1.625rem;font-size:1rem;max-width:95%;margin-bottom:0}#wpcm-admin-dashboard .lfndn-plgn .msg-inr>a:focus,#wpcm-admin-dashboard .lfndn-plgn .msg-inr>a:hover{background-color:#fff;color:#000}#wpcm-admin-dashboard .lfndn-plgn .sec-title{display:flex;background-color:#edeaea;padding:15px 12px 15px 30px;align-items:center}#wpcm-admin-dashboard .lfndn-plgn .sec-title h3{font-size:20px;color:#000;font-weight:700;font-family:Barlow;margin-bottom:0;text-transform:uppercase}#wpcm-admin-dashboard .lfndn-plgn .facts-wrap{width:100%;margin-bottom:40px}#wpcm-admin-dashboard .lfndn-plgn .fact-box{position:relative;padding:1.875rem;border-radius:.21875rem;overflow:hidden;margin-top:1.875rem}#wpcm-admin-dashboard .lfndn-plgn .fact-box>h4{font-size:2.125rem;color:#fff;margin-bottom:0}#wpcm-admin-dashboard .lfndn-plgn .fact-box>h4 sup{font-weight:400;font-size:65%;top:-.625rem}#wpcm-admin-dashboard .lfndn-plgn .fact-box>span{display:block;font-size:.8125rem;color:#fff;font-family:Barlow;text-transform:uppercase}#wpcm-admin-dashboard .lfndn-plgn .fact-box>span+i{margin-top:1.25rem}#wpcm-admin-dashboard .lfndn-plgn .fact-box>i{color:#fff;font-size:1.5625rem;font-style:normal;display:inline-block}#wpcm-admin-dashboard .lfndn-plgn .fact-inner{position:absolute;right:0;bottom:.3125rem;background-color:rgba(0,0,0,.1);padding:.9375rem 3.125rem .9375rem 1.5625rem;border-radius:.625rem 0 0 .625rem}#wpcm-admin-dashboard .lfndn-plgn .fact-inner>h6{color:#fff;margin-bottom:0;font-size:.9375rem;font-weight:600}#wpcm-admin-dashboard .lfndn-plgn .fact-inner>h6+span{margin-top:.25rem;font-family:Barlow}#wpcm-admin-dashboard .lfndn-plgn .fact-inner>span{display:block;color:#fff;font-size:.8125rem}#wpcm-admin-dashboard .lfndn-plgn .clr1{background-color:#e23a3a}#wpcm-admin-dashboard .lfndn-plgn .clr2{background-color:#4683e8}#wpcm-admin-dashboard .lfndn-plgn .clr3{background-color:#83b639}#wpcm-admin-dashboard .lfndn-plgn .clr4{background-color:#c43ae2}#wpcm-admin-dashboard .lfndn-plgn .clr5{background-color:#a47823}#wpcm-admin-dashboard .lfndn-plgn .clr6{background-color:#4cb6c9} -
webinane-commerce/trunk/assets/css/main.css
r2384393 r2395882 1 .hide { 2 display: none; 3 } 4 5 .modalOpen .el-notification { 6 z-index: 99999999 !important; 7 } 8 9 .modal.fade.in { 10 opacity: 1; 11 } 12 13 .modal-backdrop.fade.in { 14 opacity: 0.5; 15 } 16 17 .alert { 18 position: fixed; 19 top: 35px; 20 left: 25%; 21 z-index: 999; 22 } 23 24 .fade-enter-active, .fade-leave-active { 25 transition: opacity .5s; 26 } 27 28 .fade-enter, .fade-leave-to { 29 opacity: 0; 30 } 31 32 /* .wpcm-custom-select2 { 33 .vs__open-indicator { 34 background-color: #eee; 35 padding: 7px 10px; 36 } 37 } */ 38 body .el-select-dropdown { 39 z-index: 999999 !important; 40 } 41 42 .el-select__tags .el-select__input { 43 box-shadow: none; 44 border: none; 45 background-color: transparent; 46 -webkit-appearance: none; 47 appeance: none; 48 } 49 50 .el-custom-select .el-select.el-select--large { 51 display: block; 52 } 53 54 .el-custom-select .el-select .el-input__suffix { 55 background-color: #f8f8f8; 56 width: 35px; 57 border: 1px solid #ebebeb; 58 border-radius: 4px; 59 height: 70%; 60 top: 14.5%; 61 line-height: 34px; 62 } 63 64 .el-custom-select .el-select .el-input__inner[readonly] { 65 background-color: #fff; 66 } 67 68 .el-custom-select .el-select .el-input__inner { 69 height: 54px; 70 color: #999; 71 } 72 73 .el-custom-select .el-select i.el-input__icon { 74 line-height: 34px; 75 } 76 77 .el-custom-select .el-select .el-input.is-focus .el-input__inner { 78 border-color: #7470d2; 79 } 80 81 .wpcm-datetime-view .el-date-editor.el-input, 82 .wpcm-datetime-view .el-date-editor.el-input__inner { 83 width: 100%; 84 } 85 86 .el-input-number { 87 width: 125px; 88 margin-left: 11px; 89 /* .el-input__inner { 90 padding-left: 20px; 91 padding-right: 20px; 92 } */ 93 } 94 95 .el-input-number input.el-input__inner { 96 border-radius: 0px; 97 border: 1px solid #e6e6e6; 98 height: 50px; 99 padding: 0 20px; 100 } 101 102 .el-input-number .el-input-number__decrease { 103 left: -11px; 104 } 105 106 .el-input-number .el-input-number__increase { 107 right: -11px; 108 } 109 110 .el-input-number .el-input-number__decrease, 111 .el-input-number .el-input-number__increase { 112 top: 50%; 113 width: 26px; 114 height: 30px; 115 line-height: 26px; 116 background: #f6f6f6; 117 color: #69696a; 118 font-size: 12px; 119 border: 1px solid #ebebeb; 120 border-radius: 4px; 121 transform: translateY(-50%); 122 } 123 124 .el-input-number .el-input-number__decrease:hover:not(.is-disabled) ~ .el-input .el-input__inner:not(.is-disabled), 125 .el-input-number .el-input-number__increase:hover:not(.is-disabled) ~ .el-input .el-input__inner:not(.is-disabled) { 126 border-color: #7470d2; 127 } 128 129 .wpcm-wrapper .el-button { 130 line-height: 1; 131 } 132 133 .wpcm-ajax-processing { 134 width: 20px; 135 height: 20px; 136 -webkit-animation: wpcm-spin 2s infinite linear; 137 animation: wpcm-spin 2s infinite linear; 138 background-image: url("../images/refresh-button.svg"); 139 display: inline-block; 140 } 141 142 .wpcm-ajax-processing.white { 143 background-image: url("../images/refresh-button-white.svg"); 144 } 145 146 .action-response { 147 padding: 5px 10px; 148 } 149 150 .action-response.success { 151 background-color: #d4edda; 152 border-color: #d4edda; 153 color: #155724; 154 } 155 156 .action-response.danger { 157 background-color: #f8d7da; 158 border-color: #f8d7da; 159 color: #721c24; 160 } 161 162 @-webkit-keyframes wpcm-spin { 163 0% { 164 transform: rotate(0deg); 165 } 166 100% { 167 transform: rotate(359deg); 168 } 169 } 170 171 @keyframes wpcm-spin { 172 0% { 173 transform: rotate(0deg); 174 } 175 100% { 176 transform: rotate(359deg); 177 } 178 } 1 .hide{display:none}.modalOpen .el-notification{z-index:99999999!important}.modal.fade.in{opacity:1}.modal-backdrop.fade.in{opacity:.5}.alert{position:fixed;top:35px;left:25%;z-index:999}.fade-enter-active,.fade-leave-active{transition:opacity .5s}.fade-enter,.fade-leave-to{opacity:0}body .el-select-dropdown{z-index:999999!important}.el-select__tags .el-select__input{box-shadow:none;border:none;background-color:transparent;-webkit-appearance:none;appeance:none}.el-custom-select .el-select.el-select--large{display:block}.el-custom-select .el-select .el-input__suffix{background-color:#f8f8f8;width:35px;border:1px solid #ebebeb;border-radius:4px;height:70%;top:14.5%;line-height:34px}.el-custom-select .el-select .el-input__inner[readonly]{background-color:#fff}.el-custom-select .el-select .el-input__inner{height:54px;color:#999}.el-custom-select .el-select i.el-input__icon{line-height:34px}.el-custom-select .el-select .el-input.is-focus .el-input__inner{border-color:#7470d2}.wpcm-datetime-view .el-date-editor.el-input,.wpcm-datetime-view .el-date-editor.el-input__inner{width:100%}.el-input-number{width:125px;margin-left:11px}.el-input-number input.el-input__inner{border-radius:0;border:1px solid #e6e6e6;height:50px;padding:0 20px}.el-input-number .el-input-number__decrease{left:-11px}.el-input-number .el-input-number__increase{right:-11px}.el-input-number .el-input-number__decrease,.el-input-number .el-input-number__increase{top:50%;width:26px;height:30px;line-height:26px;background:#f6f6f6;color:#69696a;font-size:12px;border:1px solid #ebebeb;border-radius:4px;transform:translateY(-50%)}.el-input-number .el-input-number__decrease:hover:not(.is-disabled)~.el-input .el-input__inner:not(.is-disabled),.el-input-number .el-input-number__increase:hover:not(.is-disabled)~.el-input .el-input__inner:not(.is-disabled){border-color:#7470d2}.wpcm-wrapper .el-button{line-height:1}.wpcm-ajax-processing{width:20px;height:20px;-webkit-animation:wpcm-spin 2s linear infinite;animation:wpcm-spin 2s linear infinite;background-image:url(../images/refresh-button.svg);display:inline-block}.wpcm-ajax-processing.white{background-image:url(../images/refresh-button-white.svg)}.action-response{padding:5px 10px}.action-response.success{background-color:#d4edda;border-color:#d4edda;color:#155724}.action-response.danger{background-color:#f8d7da;border-color:#f8d7da;color:#721c24}@-webkit-keyframes wpcm-spin{0%{transform:rotate(0deg)}to{transform:rotate(359deg)}}@keyframes wpcm-spin{0%{transform:rotate(0deg)}to{transform:rotate(359deg)}} -
webinane-commerce/trunk/assets/css/style.css
r2252444 r2395882 2137 2137 box-shadow: 0 0 28px rgba(0,0,0,0.16); 2138 2138 } 2139 2140 .wpcm-wrapper .el-row { 2141 display: flex; 2142 flex-wrap: wrap; 2143 } 2144 .wpcm-wrapper [class*=el-col-] { 2145 float: none; 2146 } 2147 2148 .wpcm-wrapper .el-col-12 { 2149 max-width: 50%; 2150 flex: 0 0 50%; 2151 } 2152 .wpcm-wrapper .el-col-6 { 2153 max-width: 25%; 2154 flex: 0 0 25%; 2155 } 2156 2157 .settings-tab-content .el-tabs.el-tabs--top { 2158 width: 100%; 2159 } -
webinane-commerce/trunk/assets/js/admin/settings.js
r2384393 r2395882 1 !function(e){var t={};function n( o){if(t[o])return t[o].exports;var a=t[o]={i:o,l:!1,exports:{}};return e[o].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(o,a,function(t){return e[t]}.bind(null,a));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=33)}([function(e,t,n){"use strict";function o(e,t,n,o,a,i,r,s){var c,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),o&&(l.functional=!0),i&&(l._scopeId="data-v-"+i),r?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),a&&a.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(r)},l._ssrRegister=c):a&&(c=s?function(){a.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:a),c)if(l.functional){l._injectStyles=c;var d=l.render;l.render=function(e,t){return c.call(t),d(e,t)}}else{var p=l.beforeCreate;l.beforeCreate=p?[].concat(p,c):[c]}return{exports:e,options:l}}n.d(t,"a",(function(){return o}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var o=wp.i18n,a=(o.__,o.setLocaleData,{data:function(){return{isVisible:!1}},methods:{checkIsVisible:function(){this.$root.dep_fields;if(_.size(this.$root.dep_fields))return void 0!==this.$root.dep_fields[this.field.id]?!0===this.$root.dep_fields[this.field.id]?void(this.isVisible=!0):void(this.isVisible=!1):void(this.isVisible=!0);this.isVisible=!0}}})},function(e,t){e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n=e[1]||"",o=e[3];if(!o)return n;if(t&&"function"==typeof btoa){var a=(r=o,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */"),i=o.sources.map((function(e){return"/*# sourceURL="+o.sourceRoot+e+" */"}));return[n].concat(i).concat([a]).join("\n")}var r;return[n].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n})).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var o={},a=0;a<this.length;a++){var i=this[a][0];"number"==typeof i&&(o[i]=!0)}for(a=0;a<e.length;a++){var r=e[a];"number"==typeof r[0]&&o[r[0]]||(n&&!r[2]?r[2]=n:n&&(r[2]="("+r[2]+") and ("+n+")"),t.push(r))}},t}},function(e,t,n){var o,a,i={},r=(o=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===a&&(a=o.apply(this,arguments)),a}),s=function(e,t){return t?t.querySelector(e):document.querySelector(e)},c=function(e){var t={};return function(e,n){if("function"==typeof e)return e();if(void 0===t[e]){var o=s.call(this,e,n);if(window.HTMLIFrameElement&&o instanceof window.HTMLIFrameElement)try{o=o.contentDocument.head}catch(e){o=null}t[e]=o}return t[e]}}(),l=null,d=0,p=[],u=n(12);function m(e,t){for(var n=0;n<e.length;n++){var o=e[n],a=i[o.id];if(a){a.refs++;for(var r=0;r<a.parts.length;r++)a.parts[r](o.parts[r]);for(;r<o.parts.length;r++)a.parts.push(w(o.parts[r],t))}else{var s=[];for(r=0;r<o.parts.length;r++)s.push(w(o.parts[r],t));i[o.id]={id:o.id,refs:1,parts:s}}}}function f(e,t){for(var n=[],o={},a=0;a<e.length;a++){var i=e[a],r=t.base?i[0]+t.base:i[0],s={css:i[1],media:i[2],sourceMap:i[3]};o[r]?o[r].parts.push(s):n.push(o[r]={id:r,parts:[s]})}return n}function b(e,t){var n=c(e.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var o=p[p.length-1];if("top"===e.insertAt)o?o.nextSibling?n.insertBefore(t,o.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),p.push(t);else if("bottom"===e.insertAt)n.appendChild(t);else{if("object"!=typeof e.insertAt||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var a=c(e.insertAt.before,n);n.insertBefore(t,a)}}function h(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=p.indexOf(e);t>=0&&p.splice(t,1)}function _(e){var t=document.createElement("style");if(void 0===e.attrs.type&&(e.attrs.type="text/css"),void 0===e.attrs.nonce){var o=function(){0;return n.nc}();o&&(e.attrs.nonce=o)}return g(t,e.attrs),b(e,t),t}function g(e,t){Object.keys(t).forEach((function(n){e.setAttribute(n,t[n])}))}function w(e,t){var n,o,a,i;if(t.transform&&e.css){if(!(i="function"==typeof t.transform?t.transform(e.css):t.transform.default(e.css)))return function(){};e.css=i}if(t.singleton){var r=d++;n=l||(l=_(t)),o=x.bind(null,n,r,!1),a=x.bind(null,n,r,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(e){var t=document.createElement("link");return void 0===e.attrs.type&&(e.attrs.type="text/css"),e.attrs.rel="stylesheet",g(t,e.attrs),b(e,t),t}(t),o=k.bind(null,n,t),a=function(){h(n),n.href&&URL.revokeObjectURL(n.href)}):(n=_(t),o=j.bind(null,n),a=function(){h(n)});return o(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;o(e=t)}else a()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=r()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=f(e,t);return m(n,t),function(e){for(var o=[],a=0;a<n.length;a++){var r=n[a];(s=i[r.id]).refs--,o.push(s)}e&&m(f(e,t),t);for(a=0;a<o.length;a++){var s;if(0===(s=o[a]).refs){for(var c=0;c<s.parts.length;c++)s.parts[c]();delete i[s.id]}}}};var v,y=(v=[],function(e,t){return v[e]=t,v.filter(Boolean).join("\n")});function x(e,t,n,o){var a=n?"":o.css;if(e.styleSheet)e.styleSheet.cssText=y(t,a);else{var i=document.createTextNode(a),r=e.childNodes;r[t]&&e.removeChild(r[t]),r.length?e.insertBefore(i,r[t]):e.appendChild(i)}}function j(e,t){var n=t.css,o=t.media;if(o&&e.setAttribute("media",o),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function k(e,t,n){var o=n.css,a=n.sourceMap,i=void 0===t.convertToAbsoluteUrls&&a;(t.convertToAbsoluteUrls||i)&&(o=u(o)),a&&(o+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */");var r=new Blob([o],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(r),s&&URL.revokeObjectURL(s)}},function(e,t,n){"use strict";var o=wp.i18n,a=o.__,i=(o.setLocaleData,{id:a("id","webinane-commerce"),my:a("My","webinane-commerce"),my_methodes:a("My Used Payment Methods","webinane-commerce"),amount:a("Amount","webinane-commerce"),date:a("Date","webinane-commerce"),recurring:a("Recurring","webinane-commerce"),full_name:a("Full Name","webinane-commerce"),items:a("Items","webinane-commerce"),cost:a("Cost","webinane-commerce"),qty:a("Qty","webinane-commerce"),total:a("Total","webinane-commerce"),action:a("Action","webinane-commerce"),subtotal:a("Sub Total","webinane-commerce"),price:a("Price","webinane-commerce"),add_item:a("Add Item","webinane-commerce"),select_product:a("Select Product","webinane-commerce"),refund:a("Refund","webinane-commerce"),to_edit_this_order:a('to edit this order change the status back to "pending"',"webinane-commerce"),order_not_editable:a("This order is no longer editable.","webinane-commerce"),general:a("General","webinane-commerce"),date_created:a("Date Created","webinane-commerce"),status:a("Status","webinane-commerce"),customer:a("Customer","webinane-commerce"),choose_an_action:a("Choose an Action","webinane-commerce"),send_inv_via_email:a("Send Invoice via Email","webinane-commerce"),email_new_order_notif:a("Email new Order Notification","webinane-commerce"),update:a("Update","webinane-commerce"),transaction_id:a("Transaction ID","webinane-commerce"),currency:a("Currency","webinane-commerce"),gateway:a("Gateway","webinane-commerce"),order_total:a("Order Total","webinane-commerce"),order_fee:a("Order Fee","webinane-commerce"),billing:a("Billing","webinane-commerce"),load_billing_add:a("Load Billing Address","webinane-commerce"),name:a("Name","webinane-commerce"),company:a("Company","webinane-commerce"),email_id:a("Email ID","webinane-commerce"),phone:a("Phone","webinane-commerce"),address:a("Address","webinane-commerce"),address_2:a("Address 2","webinane-commerce"),zip:a("ZIP","webinane-commerce"),country:a("Country","webinane-commerce"),state:a("State","webinane-commerce"),please_choose_customer_to_load_data:a("Please choose the customer to load data","webinane-commerce"),shipping:a("Shipping","webinane-commerce"),load_shipping_add:a("Load Shipping Address","webinane-commerce"),copy_billing_add:a("Copy Billing Address","webinane-commerce"),order_notes:a("Order Notes","webinane-commerce"),add_note:a("Add Note","webinane-commerce"),customer_note:a("Customer Note","webinane-commerce"),private_note:a("Private Note","webinane-commerce"),processing:a("Processing","webinane-commerce"),payment_method:a("Payment Method","webinane-commerce"),pending_payment:a("Pending Payment","webinane-commerce"),hold:a("Hold","webinane-commerce"),completed:a("Completed","webinane-commerce"),cancelled:a("Cancelled","webinane-commerce"),refunded:a("Refunded","webinane-commerce"),failed:a("Failed","webinane-commerce"),success:a("Success","webinane-commerce"),error:a("Error","webinane-commerce"),ok:a("OK","webinane-commerce"),cancel:a("Cancel","webinane-commerce"),order_del_success_ful:a("Order deleted successfully","webinane-commerce"),delete_canceled:a("Delete canceled","webinane-commerce"),sure_remove_item_from_order:a("Are you sure to remove the item from Order?","webinane-commerce"),sure_remove_customer:a("Are you sure to remove Customer?","webinane-commerce"),sure_want_del_order:a("Are you sure, you want to delete this order ?","webinane-commerce"),please_enter_note:a("Please enter note","webinane-commerce"),sure_remove_note:a("Are you sure to remove note?","webinane-commerce"),ship_data_loaded:a("Shipping data loaded","webinane-commerce"),overwrite_ship_info:a("Are you sure? It will overwrite your shipping info","webinane-commerce"),add_new_item:a("Add New Item","webinane-commerce"),add_new:a("Add New","webinane-commerce"),pick_date:a("Pick a date","webinane-commerce"),order_status:a("Order Status","webinane-commerce"),first_name:a("First Name","webinane-commerce"),last_name:a("Last Name","webinane-commerce"),submit:a("Submit","webinane-commerce"),email:a("Email","webinane-commerce"),users:a("Users","webinane-commerce"),edit:a("Edit","webinane-commerce"),contact:a("Contact","webinane-commerce"),users_search_keyword:a("Type keyword to search users","webinane-commerce"),sure_to_give_refund:a("Are you sure that you want to give refund? this action will not undo.","webinane-commerce")}),r=function(e){e.prototype.$webinane_i18n=i};"undefined"!=typeof window&&window.Vue&&r(window.Vue),t.a={install:r}},,,,,function(e,t,n){var o=n(35);"string"==typeof o&&(o=[[e.i,o,""]]);var a={hmr:!0,transform:void 0,insertInto:void 0};n(3)(o,a);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(37);"string"==typeof o&&(o=[[e.i,o,""]]);var a={hmr:!0,transform:void 0,insertInto:void 0};n(3)(o,a);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(39);"string"==typeof o&&(o=[[e.i,o,""]]);var a={hmr:!0,transform:void 0,insertInto:void 0};n(3)(o,a);o.locals&&(e.exports=o.locals)},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,o=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(e,t){var a,i=t.trim().replace(/^"(.*)"$/,(function(e,t){return t})).replace(/^'(.*)'$/,(function(e,t){return t}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(i)?e:(a=0===i.indexOf("//")?i:0===i.indexOf("/")?n+i:o+i.replace(/^\.\//,""),"url("+JSON.stringify(a)+")")}))}},,,,,,,,,,,,,,,,,,,,,function(e,t,n){e.exports=n(42)},function(e,t,n){"use strict";var o=n(9);n.n(o).a},function(e,t,n){(e.exports=n(2)(!1)).push([e.i,'#wpcm-admin-live-connect .price {\n font-size: 20px;\n font-weight: bold;\n}\n#wpcm-admin-live-connect .bottom {\n margin-top: 13px;\n line-height: 12px;\n}\n#wpcm-admin-live-connect .button {\n float: right;\n}\n#wpcm-admin-live-connect .image {\n width: 100%;\n display: block;\n height: auto;\n}\n#wpcm-admin-live-connect .clearfix:before,\n#wpcm-admin-live-connect .clearfix:after {\n display: table;\n content: "";\n}\n#wpcm-admin-live-connect .clearfix:after {\n clear: both;\n}',""])},function(e,t,n){"use strict";var o=n(10);n.n(o).a},function(e,t,n){(e.exports=n(2)(!1)).push([e.i,".wpcm-settings-editor {\n margin-top: 20px;\n}",""])},function(e,t,n){"use strict";var o=n(11);n.n(o).a},function(e,t,n){(e.exports=n(2)(!1)).push([e.i,'.wpcm-dashboard-wrapper {\n box-shadow: 0 0 57px rgba(0, 0, 0, 0.09);\n}\n.wpcm-dashboard-wrapper .el-switch {\n position: relative;\n margin-bottom: 10px;\n}\n.wpcm-dashboard-wrapper .el-switch .el-switch__core {\n height: 40px;\n width: 95px !important;\n box-shadow: 0 0 24px rgba(0, 0, 0, 0.08);\n border-radius: 60px;\n}\n.wpcm-dashboard-wrapper .el-switch .el-switch__core::after {\n height: 36px;\n width: 36px;\n box-shadow: 3px 4px 15px 0px rgba(0, 0, 0, 0.25);\n}\n.wpcm-dashboard-wrapper .el-switch.is-checked .el-switch__core {\n background-color: #2f88e4;\n background-image: linear-gradient(#2f88e4, #2874df);\n border-color: #2f88e4;\n}\n.wpcm-dashboard-wrapper .el-switch.is-checked .el-switch__core::after {\n margin-left: -37px;\n}\n.wpcm-dashboard-wrapper .el-switch .el-switch__label {\n font-size: 13px;\n color: #fff;\n position: absolute;\n left: 50%;\n margin-right: 0;\n z-index: 1;\n}\n.wpcm-dashboard-wrapper .el-switch .el-switch__label.el-switch__label--left {\n margin-left: -4px;\n opacity: 0;\n visibility: hidden;\n}\n.wpcm-dashboard-wrapper .el-switch .el-switch__label.el-switch__label--left.is-active {\n opacity: 1;\n visibility: visible;\n}\n.wpcm-dashboard-wrapper .el-switch .el-switch__label.el-switch__label--right {\n margin-left: -16px;\n opacity: 0;\n visibility: hidden;\n}\n.wpcm-dashboard-wrapper .el-switch .el-switch__label.el-switch__label--right.is-active {\n opacity: 1;\n visibility: visible;\n}\n.wpcm-dashboard-wrapper .tab-heading {\n font-size: 40px;\n color: #000000;\n font-weight: 700;\n position: relative;\n padding-bottom: 8px;\n margin-bottom: 20px;\n}\n.wpcm-dashboard-wrapper .tab-heading:before {\n content: "";\n height: 2px;\n width: 40px;\n background-color: #2b7de1;\n position: absolute;\n left: 0;\n bottom: 0;\n}\n.wpcm-dashboard-wrapper .save-settings {\n text-align: center;\n background-color: #fbfbfb;\n padding: 25px;\n}\n.wpcm-dashboard-wrapper .save-settings .el-button {\n font-size: 14px;\n font-weight: 600;\n color: #fff;\n padding: 20px 40px;\n border-radius: 2px;\n background-color: #2f88e4;\n background-image: linear-gradient(#2f88e4, #2874df);\n}\n.wpcm-dashboard-wrapper .enable-settings {\n padding-bottom: 30px;\n margin-bottom: 25px;\n border-bottom: 1px solid #ececec;\n margin-top: 30px;\n}\n.wpcm-dashboard-wrapper .enable-settings .enable-label {\n font-size: 16px;\n color: #666666;\n margin-right: 70px;\n}\n.wpcm-dashboard-wrapper .enable-settings .enable-desc {\n font-size: 14px;\n color: #999999;\n font-style: italic;\n margin-left: 15px;\n}\n.wpcm-dashboard-wrapper .settings-tab-area {\n position: relative;\n}\n.wpcm-dashboard-wrapper .settings-tab-area .import-export-btns {\n position: absolute;\n right: 22px;\n top: 36px;\n}\n.wpcm-dashboard-wrapper .settings-tab-area .import-export-btns > .el-button {\n background-color: #354052;\n color: #fff;\n font-size: 20px;\n border: none;\n padding: 10px 12px;\n}\n.wpcm-dashboard-wrapper .settings-tab-area .import-export-btns > .el-button:hover {\n background-color: #4385f5;\n}\n.wpcm-dashboard-wrapper .settings-tab-area .import-export-btns > .el-button + .el-button {\n margin-left: 5px;\n}\n.wpcm-dashboard-wrapper .el-form .el-form-item .el-form-item__label {\n color: #666666;\n font-weight: 500;\n line-height: normal;\n margin-bottom: 15px;\n}\n.wpcm-dashboard-wrapper .el-form .el-form-item .el-input input {\n height: 58px;\n border-radius: 2px;\n border: 2px solid #e1e2e6;\n color: #999999;\n font-size: 14px;\n padding: 12px 15px;\n background-color: #fff;\n}\n.wpcm-dashboard-wrapper .el-form .el-form-item .el-date-editor input {\n padding-left: 30px;\n padding-right: 30px;\n}\n.wpcm-dashboard-wrapper .el-form .el-form-item .el-form-item__content {\n line-height: normal;\n}\n.wpcm-dashboard-wrapper .el-form .el-form-item .el-form-item__content .el-button.el-popover__reference {\n background-color: #c0c0c0;\n border: none;\n color: #fff;\n padding: 0;\n border-radius: 50%;\n height: 18px;\n width: 18px;\n line-height: 18px;\n}\n.wpcm-dashboard-wrapper .el-form .el-form-item .el-form-item__content .el-select {\n width: 100%;\n}\n.wpcm-dashboard-wrapper .el-form .el-form-item .el-form-item__content .el-select .el-input__suffix {\n background-color: #f8f8f8;\n height: 34px;\n display: block;\n width: 32px;\n border-radius: 5px;\n right: 15px;\n border: 1px solid #ebebeb;\n top: 50%;\n margin-top: -17px;\n}\n.wpcm-dashboard-wrapper .el-form .el-form-item .el-form-item__content .el-select .el-input__suffix .el-select__caret {\n color: #6a6a6a;\n line-height: 30px;\n}\n.wpcm-dashboard-wrapper .el-form .el-form-item .el-form-item__content .wpcm-option-row {\n padding: 0;\n border: none;\n}\n.wpcm-dashboard-wrapper .el-form .el-form-item .el-slider .el-slider__runway {\n margin: 32px 0 16px;\n}\n.wpcm-dashboard-wrapper .main-tabs-list {\n box-shadow: none;\n border: none;\n}\n.wpcm-dashboard-wrapper .main-tabs-list > .el-tabs__header .el-tabs__nav-wrap {\n background-color: #011025;\n}\n.wpcm-dashboard-wrapper .main-tabs-list > .el-tabs__header .el-tabs__item {\n height: auto;\n border: none;\n border-right: 1px solid #2b3648;\n padding: 28px 34px !important;\n text-align: center;\n line-height: normal;\n}\n.wpcm-dashboard-wrapper .main-tabs-list > .el-tabs__header .el-tabs__item.is-active {\n color: #fff;\n background-color: #4385f5;\n border-color: #4385f5;\n}\n.wpcm-dashboard-wrapper .main-tabs-list > .el-tabs__header .el-tabs__item.is-active i {\n color: #fff;\n}\n.wpcm-dashboard-wrapper .main-tabs-list > .el-tabs__header .el-tabs__item span {\n font-size: 14px;\n color: #fff;\n}\n.wpcm-dashboard-wrapper .main-tabs-list > .el-tabs__header .el-tabs__item span i {\n display: block;\n color: #8494ad;\n font-size: 30px;\n margin-bottom: 10px;\n}\n.wpcm-dashboard-wrapper .main-tabs-list .el-tabs__content {\n padding: 0;\n}\n.wpcm-dashboard-wrapper .main-tabs-list .el-tabs__content .el-tabs--border-card {\n border: none;\n}\n.wpcm-dashboard-wrapper .main-tabs-list .el-tabs__content .el-tabs__content {\n padding: 60px 100px;\n}\n.wpcm-dashboard-wrapper .main-tabs-list .el-tabs__content .settings-tab-content {\n padding: 60px 100px;\n}\n.wpcm-dashboard-wrapper .main-tabs-list .el-tabs__content .settings-tab-content .el-tabs__content {\n padding: 0;\n}\n.wpcm-dashboard-wrapper .main-tabs-list .el-tabs__content .settings-tab-content .el-tabs__nav-wrap::after {\n display: none;\n}\n.wpcm-dashboard-wrapper .main-tabs-list .el-tabs__content .settings-tab-content .el-tabs__nav .el-checkbox {\n color: #333;\n font-weight: normal;\n}\n.wpcm-dashboard-wrapper .main-tabs-list .el-tabs__content .settings-tab-content .el-tabs__nav .el-checkbox .el-checkbox__label {\n font-size: 15px;\n}\n.wpcm-dashboard-wrapper .main-tabs-list .el-tabs__content .settings-tab-content .el-tabs__nav .el-checkbox .el-checkbox__input .el-checkbox__inner {\n border: 1px solid #d8d8d8;\n background-color: #f9f9f9;\n height: 20px;\n width: 20px;\n}\n.wpcm-dashboard-wrapper .main-tabs-list .el-tabs__content .settings-tab-content .el-tabs__nav .el-checkbox .el-checkbox__input .el-checkbox__inner::after {\n height: 10px;\n width: 6px;\n left: 6px;\n top: 2px;\n border: 2px solid #fff;\n border-left: 0;\n border-top: 0;\n}\n.wpcm-dashboard-wrapper .main-tabs-list .el-tabs__content .settings-tab-content .el-tabs__nav .el-checkbox .el-checkbox__input.is-checked .el-checkbox__inner {\n background-color: #409eff;\n border-color: #409eff;\n}\n.wpcm-dashboard-wrapper .main-tabs-list .el-tabs__content .settings-tab-content .el-tabs__nav .el-tabs__active-bar {\n display: none;\n}\n.wpcm-dashboard-wrapper .main-tabs-list .el-tabs__content .settings-tab-content div .tab-heading {\n font-size: 28px;\n}\n.wpcm-dashboard-wrapper .main-tabs-list .el-tabs__content .settings-tab-content .el-tabs__content {\n padding: 50px 0 0 !important;\n}\n.wpcm-dashboard-wrapper .child-tabs-list > .el-tabs__header .el-tabs__nav-wrap {\n background-color: #f4f4f4;\n}\n.wpcm-dashboard-wrapper .child-tabs-list > .el-tabs__header .el-tabs__item {\n height: auto;\n border: none;\n padding: 14px 34px !important;\n text-align: center;\n font-size: 14px;\n color: #000;\n position: relative;\n}\n.wpcm-dashboard-wrapper .child-tabs-list > .el-tabs__header .el-tabs__item + .el-tabs__item:after {\n content: "";\n width: 1px;\n height: 13px;\n background-color: #bfbfbf;\n position: absolute;\n left: 0;\n top: 50%;\n margin-top: -6px;\n}\n.wpcm-dashboard-wrapper .child-tabs-list > .el-tabs__header .el-tabs__item:hover {\n color: #2b7de1 !important;\n}\n.wpcm-dashboard-wrapper .child-tabs-list > .el-tabs__header .el-tabs__item.is-active {\n background-color: #f4f4f4;\n color: #2b7de1;\n}\n.wpcm-dashboard-wrapper .import-modal .el-dialog__header {\n background-color: #eaf1f6;\n padding: 24px 35px;\n}\n.wpcm-dashboard-wrapper .import-modal .el-dialog__header span {\n font-size: 22px;\n font-weight: 700;\n color: #000;\n}\n.wpcm-dashboard-wrapper .import-modal .el-dialog__header .el-dialog__headerbtn {\n height: 34px;\n width: 34px;\n line-height: 38px;\n border-radius: 50%;\n background-color: #fff;\n text-align: center;\n}\n.wpcm-dashboard-wrapper .import-modal .el-dialog__header .el-dialog__headerbtn .el-dialog__close {\n color: #000;\n font-size: 20px;\n}\n.wpcm-dashboard-wrapper .import-modal .el-dialog__body {\n padding: 30px 35px;\n}\n.wpcm-dashboard-wrapper .import-modal .import-opt {\n margin-bottom: 30px;\n}\n.wpcm-dashboard-wrapper .import-modal .chose-import-file > span {\n font-size: 14px;\n color: #000;\n display: block;\n padding-bottom: 22px;\n}\n.wpcm-dashboard-wrapper .import-modal .chose-import-file .upload-demo .el-button {\n border-radius: 4px;\n border: 1px solid #d8d8d8;\n box-shadow: 0 0 5px rgba(0, 0, 0, 0.11);\n background-color: #fafafa;\n font-size: 13px;\n font-weight: 500;\n color: #000;\n padding: 14px 24px;\n}\n.wpcm-dashboard-wrapper .import-modal .chose-import-file .upload-demo .el-upload__tip {\n font-size: 13px;\n color: #999999;\n margin-top: 12px;\n}\n.wpcm-dashboard-wrapper .import-modal .el-input input {\n height: 58px;\n border-radius: 2px;\n border: 2px solid #e1e2e6;\n color: #999999;\n font-size: 14px;\n padding: 12px 15px;\n background-color: #fff;\n}\n.el-tooltip__popper.is-dark {\n border-radius: 30px;\n background-color: #ffffff;\n font-size: 12px;\n color: #000000;\n padding: 4px 15px;\n}\n.el-tooltip__popper.is-dark .popper__arrow {\n border-top-color: #ffffff;\n}\n.el-tooltip__popper.is-dark .popper__arrow:after {\n border-top-color: #ffffff;\n}',""])},,,function(e,t,n){"use strict";n.r(t);n(58);var o=n(4),a={props:{nonce:String,is_active:Boolean,active_plugins:Array,inst_plugins:Array},data:function(){return{form:{},items:[],user_items:[],loading:!1,loaded:!0}},mounted:function(){this.is_active&&this.getItems()},methods:{getItems:function(){var e=this,t=jQuery;this.loading=!0,t.ajax({url:ajaxurl,type:"post",data:{action:"webinane_commerce_user_connect_get_items",form:this.form,nonce:this.nonce},success:function(t){e.loading=!1,t.success&&(e.items=t.data.items,e.user_items=t.data.user_items)},error:function(t){e.$notify({type:"error",message:t.responseJSON.data.message,offset:40})},complete:function(t){e.loading=!1}})},login:function(){var e=this,t=jQuery;this.loading=!0,t.ajax({url:ajaxurl,type:"post",data:{action:"webinane_commerce_user_connect",form:this.form,nonce:this.nonce},success:function(t){e.loading=!1,t.success&&(e.$notify({type:"success",message:t.data.message,offset:40}),window.location=location.href)},error:function(t){e.$notify({type:"error",message:t.responseJSON.data.message,offset:40})},complete:function(t){e.loading=!1}})},login_out:function(){var e=this,t=jQuery;this.loading=!0,t.ajax({url:ajaxurl,type:"post",data:{action:"webinane_commerce_user_disconnect",form:this.form,nonce:this.nonce},success:function(t){e.loading=!1,t.success&&(e.$notify({type:"success",message:t.data.message,offset:40}),window.location=location.href)},error:function(t){e.$notify({type:"error",message:t.responseJSON.data.message,offset:40})},complete:function(t){e.loading=!1}})},is_installed:function(e){var t=e+"/"+e+".php";return this.inst_plugins.indexOf(t)>=0},plugin_active:function(e){var t=e+"/"+e+".php";return this.active_plugins.indexOf(t)>=0},is_purchased:function(e){return this.user_items.indexOf(e)>=0},installPlugin:function(e){var t=this,n=jQuery;this.loading=!0,n.ajax({url:ajaxurl,type:"post",data:{action:"webinane_commerce_user_connect_install_plugin",item:e,nonce:this.nonce},success:function(e){t.loading=!1,e.success?(t.$notify({type:"success",message:e.data.message,offset:40}),window.location=location.href):t.$notify({type:"error",message:e.data.message,offset:40})},error:function(e){t.$notify({type:"error",message:e.responseJSON.data.message,offset:40})},complete:function(e){t.loading=!1}})},activatePlugin:function(e){var t=this,n=jQuery;this.loading=!0,n.ajax({url:ajaxurl,type:"post",data:{action:"webinane_commerce_user_connect_activate_plugin",item:e,nonce:this.nonce},success:function(e){t.loading=!1,e.success?(t.$notify({type:"success",message:e.data.message,offset:40}),window.location=location.href):t.$notify({type:"error",message:e.data.message,offset:40})},error:function(e){t.$notify({type:"error",message:e.responseJSON.data.message,offset:40})},complete:function(e){t.loading=!1}})}}},i=(n(34),n(0)),r=Object(i.a)(a,void 0,void 0,!1,null,null,null).exports,s={data:function(){return{value:"",id:""}},mounted:function(){var e=this;this.id=this._uid,setTimeout((function(){e.value=e.$attrs.value,e.editor()}),2e3)},methods:{editor:function(){var e=this;setTimeout((function(){wp.editor.remove(e.id);jQuery;var t=wp.editor.getDefaultSettings().tinymce;t.setup=function(t){t.on("keyup",(function(n){e.$emit("input",t.getContent()),e.$emit("change",t.getContent())}))},wp.editor.initialize(e.id,{tinymce:t})}),500)},getValue:function(){}}},c=(n(36),Object(i.a)(s,(function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"wpcm-settings-editor"},[t("textarea",{ref:"editor",attrs:{id:this.id,cols:"30",rows:"10"},domProps:{innerHTML:this._s(this.value)}})])}),[],!1,null,null,null).exports),l=window,d=l.ajaxurl,p=l.wpcm_data,u={props:{field:Object,options:Object},data:function(){return{value:"",attachment:{},loading:!1,is_done:!1}},computed:{fieldModel:{get:function(){return 2},set:function(e){}}},watch:{options:function(e,t){_.size(e)>0&&0==this.is_done&&this.getMedia()}},mounted:function(){this.fieldModel>0&&this.getMedia()},methods:{getValue:function(){return this.value?this.value:this.field.default?this.field.default:""},getMedia:function(){var e=this,t=void 0!==d?d:"";if(null!=t&&t||(t=void 0!==p?p.ajaxurl:""),_.size(this.options)>0){var n=jQuery,o=this;o.loading=!0,n.ajax({url:t,type:"post",data:{action:"get-attachment",id:o.fieldModel},success:function(e){!0===e.success&&(o.attachment=e.data)},complete:function(t){o.loading=!1,e.is_done=!0}})}},getClass:function(){return"text_small"==this.field.type?"wpcm-field-input wpcm-col-lg-4 wpcm-col-md-12 wpcm-col-sm-12":"wpcm-field-input wpcm-col-lg-8 wpcm-col-md-12 wpcm-col-sm-12"},addMedia:function(e){var t=this,n=this,o=$(e.target);o.prev();return wp.media.editor.send.attachment=function(e,o){n.fieldModel=o.id,n.attachment=o,t.$emit("input",o.id)},wp.media.editor.open(o),!1},btnText:function(){return this.attachment.sizes?this.field.options.update:this.field.options.new}}},m=Object(i.a)(u,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"fade"}},[n("div",[n("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldModel,expression:"fieldModel"}],attrs:{type:"hidden"},domProps:{value:e.fieldModel},on:{input:function(t){t.target.composing||(e.fieldModel=t.target.value)}}}),e._v(" "),e.attachment.sizes?n("div",{staticClass:"image"},[n("img",{attrs:{src:e.attachment.sizes.thumbnail.url,alt:e.attachment.title}})]):e._e(),e._v(" "),n("a",{staticClass:"button wpcm-btn",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.addMedia(t)}}},[e._v("\n\t\t\tAdd Media \n\t\t\t"),e.loading?n("i",{staticClass:"fa fa-refresh fa-spin"}):e._e()])])])}),[],!1,null,null,null).exports,f={name:"gateway-fields",components:{Media:m,Editor:c},props:{fields:{type:Array,required:!0},values:{type:Object,default:function(){return{}}}},data:function(){return{form:{}}},mounted:function(){var e=this;setTimeout((function(){_.each(e.fields,(function(t){var n=void 0!==e.values[t.id]?e.values[t.id]:"";e.$set(e.form,t.id,n)}))}),1e3)},methods:{handleChange:function(e){this.$emit("input",this.form)}}};function b(e){return function(e){if(Array.isArray(e))return h(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return h(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function g(e){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var w={components:{GatewayFields:Object(i.a)(f,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.fields?n("div",[n("el-form",{attrs:{model:e.form}},[n("el-row",{attrs:{gutter:30}},[e._l(e.fields,(function(t){return[n("el-col",{attrs:{span:t.col?t.col:24}},["gateway_tab"!=t.type?n("el-form-item",{attrs:{label:t.label}},[n(t.type,e._b({tag:"component",on:{change:e.handleChange},model:{value:e.form[t.id],callback:function(n){e.$set(e.form,t.id,n)},expression:"form[field.id]"}},"component",t.props,!1),[e._l(t.options,(function(o,a){return"el-select"==t.type?n("el-option",{key:a,attrs:{label:o,value:a}},[e._v(e._s(o))]):e._e()})),e._v(" "),e._l(t.options,(function(o,a){return"el-radio-group"==t.type?n("el-radio",{key:a,attrs:{label:o}},[e._v(e._s(o))]):e._e()})),e._v(" "),e._l(t.options,(function(o,a){return"el-checkbox-group"==t.type?n("el-checkbox",{key:a,attrs:{label:o}},[e._v(e._s(o))]):e._e()}))],2)],1):e._e()],1),e._v(" "),"gateway_tab"==t.type?n("el-tabs",e._l(t.tabs,(function(t){return n("el-tab-pane",{key:t.id},[n("span",{attrs:{slot:"label"},slot:"label"},[n("el-checkbox",{attrs:{label:t.label},model:{value:e.form[t.id],callback:function(n){e.$set(e.form,t.id,n)},expression:"form[g_tab.id]"}})],1),e._v(" "),n("PaymentGateways",{attrs:{gateway_data:t}})],1)})),1):e._e()]}))],2)],1)],1):e._e()}),[],!1,null,null,null).exports},props:{gateway_data:{type:Object,required:!0},values:{type:Object,default:function(){return{}}}},data:function(){return{form:{}}},created:function(){"object"==g(this.gateway_data.fields)&&(this.gateway_data.fields=Object.values(this.gateway_data.fields))},mounted:function(){_.size(this.values)&&"string"==typeof this.values.sandbox&&(this.values.sandbox="false"!==this.values.sandbox);var e=!_.size(this.value)||b(this.value.sandbox);this.$set(this.form,"sandbox",e)},methods:{handleChange:function(e){var t=_.extend(this.form,e);this.$emit("input",t,this.gateway_data.id)}}},v=Object(i.a)(w,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("h2",{staticClass:"tab-heading"},[e._v(e._s(e.gateway_data.heading))]),e._v(" "),e.gateway_data.has_sandbox?n("div",{staticClass:"enable-settings"},[n("span",{staticClass:"enable-label"},[e._v("Sandbox")]),e._v(" "),n("el-switch",{attrs:{"active-text":"ON","inactive-text":"OFF"},on:{change:e.handleChange},model:{value:e.form.sandbox,callback:function(t){e.$set(e.form,"sandbox",t)},expression:"form.sandbox"}}),e._v(" "),e.gateway_data.sandbox_help?n("span",{staticClass:"enable-desc"},[e._v(e._s(e.gateway_data.sandbox_help))]):e._e()],1):e._e(),e._v(" "),n("gateway-fields",{attrs:{fields:e.gateway_data.fields,values:e.values},on:{input:e.handleChange}})],1)}),[],!1,null,null,null).exports,y=n(1),x={mixins:[y.a],props:{state_id:{type:String,required:!0,default:"state"}},data:function(){return{address:{country:"",city:"",state:""},items:[],loading:!1}},computed:{},watch:{},mounted:function(){this.address=this.$attrs.value?$this.attrs.value:{},this.getItems()},methods:{onChange:function(e){void 0!==this.$parent.$refs[this.state_id]&&this.$parent.$refs[this.state_id].getItems(),this.$emit("input",this.address)},getItems:function(){var e=this,t=jQuery;this.loading=!0,t.ajax({url:"https://raw.githubusercontent.com/wowthemes/countries/master/src/data/countries/default/_countries.json",type:"get",dataType:"json",success:function(t){e.items=[],_.each(t,(function(t,n){e.items.push({value:n,label:t})}))},complete:function(t){e.loading=!1}})}}},j=Object(i.a)(x,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-select",e._b({staticClass:"wpcm-form-inputt",attrs:{placeholder:"Select Country",remote:"","remote-method":e.getItems,filterable:"",loading:e.loading,size:"large","loading-text":"Loading..."},on:{change:e.onChange},model:{value:e.address.country,callback:function(t){e.$set(e.address,"country",t)},expression:"address.country"}},"el-select",e.$attrs,!1),[e.items?e._l(e.items,(function(e){return n("el-option",{key:e.value,attrs:{value:e.value,label:e.label}})})):e._e()],2)}),[],!1,null,null,null).exports,k={mixins:[y.a],props:{},data:function(){return{address:{country:"",city:"",state:""},items:[],loading:!1}},computed:{},watch:{},mounted:function(){this.address=this.$attrs.value?$this.attrs.value:{},this.getItems()},methods:{onChange:function(e){this.$emit("input",this.address)},getItems:function(){var e=this,t=jQuery;this.loading=!0,t.ajax({url:"https://raw.githubusercontent.com/wowthemes/countries/master/src/data/countries/default/_countries.json",type:"get",dataType:"json",success:function(t){e.items=[],_.each(t,(function(t,n){e.items.push({value:n,label:t})}))},complete:function(t){e.loading=!1}})}}},C={props:["values","value"],data:function(){return{form:["empty"],isVisible:!1,fieldSize:[]}},watch:{form:function(e){this.$emit("input",e),this.$emit("change",e)}},computed:{},mounted:function(){var e=this;setTimeout((function(){"array"==typeof e.value&&(e.form=e.value)}))},methods:{handleAdd:function(){this.form.push("")},handleRemove:function(e){var t=_.reject(this.form,(function(t,n){return e===n}));this.form=t}}},O={name:"Fields",components:{PaymentGateways:v,Media:m,Editor:c,Country:j,State:Object(i.a)(k,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-select",e._b({staticClass:"wpcm-form-inputt",attrs:{placeholder:"Select Country",remote:"","remote-method":e.getItems,filterable:"",loading:e.loading,size:"large","loading-text":"Loading..."},on:{change:e.onChange},model:{value:e.address.country,callback:function(t){e.$set(e.address,"country",t)},expression:"address.country"}},"el-select",e.$attrs,!1),[e.items?e._l(e.items,(function(e){return n("el-option",{key:e.value,attrs:{value:e.value,label:e.label}})})):e._e()],2)}),[],!1,null,null,null).exports,MultiText:Object(i.a)(C,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",e._l(e.form,(function(t,o){return n("div",{key:o},[n("el-input",{staticClass:"mb-2",model:{value:e.form[o],callback:function(t){e.$set(e.form,o,t)},expression:"form[index]"}},[n("el-button",{attrs:{slot:"append",type:"info",size:"mini",icon:"el-icon-plus"},on:{click:function(t){return e.handleAdd()}},slot:"append"}),e._v(" "),e.form.length>1?n("el-button",{attrs:{slot:"append",type:"danger",size:"mini",icon:"el-icon-close"},on:{click:function(t){return e.handleRemove(o)}},slot:"append"}):e._e()],1)],1)})),0)}),[],!1,null,null,null).exports},props:{fields:{type:Array,required:!0},values:Object},data:function(){return{form:{gateways:{}}}},mounted:function(){var e=this;setTimeout((function(){e.setDefaultValues(),e.setValuesToForm()}),1e3)},methods:{setValuesToForm:function(){var e=this;_.each(this.values,(function(t,n){e.$set(e.form,n,t)}))},setDefaultValues:function(){var e=this;_.each(this.fields,(function(t){var n=void 0!==e.values[t.id]?e.values[t.id]:"";t.id&&e.$set(e.form,t.id,n)}))},handleChange:function(e){this.$emit("input",this.form)},handleGatewayChange:function(e,t){this.$set(this.form.gateways,t,e),this.$emit("input",this.form)}}};function S(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function A(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var E={components:{Editor:c,Fields:Object(i.a)(O,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.fields?n("div",[n("el-form",{attrs:{model:e.form,"label-position":"top"}},[n("el-row",{attrs:{gutter:30}},[e._l(e.fields,(function(t){return[n("el-col",{attrs:{span:t.col?t.col:24}},[t.main_heading?n("h6",{staticClass:"mb-2",domProps:{innerHTML:e._s(t.main_heading)}}):e._e(),e._v(" "),"gateway_tab"!=t.type?n("el-form-item",{attrs:{label:t.label}},[n(t.type,e._b({ref:t.id,refInFor:!0,tag:"component",attrs:{name:t.id},on:{change:e.handleChange},model:{value:e.form[t.id],callback:function(n){e.$set(e.form,t.id,n)},expression:"form[field.id]"}},"component",t.props,!1,!0),[e._l(t.options,(function(o,a){return"el-select"==t.type?n("el-option",{key:a,attrs:{label:o,value:a}},[e._v(e._s(o))]):e._e()})),e._v(" "),e._l(t.options,(function(o,a){return"el-radio-group"==t.type?n("el-radio",{key:a,attrs:{label:a,border:""}},[e._v(e._s(o))]):e._e()})),e._v(" "),e._l(t.options,(function(o,a){return"el-checkbox-group"==t.type?n("el-checkbox",{key:a,attrs:{label:o}},[e._v(e._s(o))]):e._e()}))],2),e._v(" "),t.help?n("p",{staticClass:"mt-1",style:{color:"#999"}},[n("em",{domProps:{innerHTML:e._s(t.help)}})]):e._e()],1):e._e()],1),e._v(" "),"gateway_tab"==t.type?n("el-tabs",e._l(t.tabs,(function(t){return n("el-tab-pane",{key:t.id},[n("span",{attrs:{slot:"label"},slot:"label"},[n("el-checkbox",{model:{value:e.form[t.id],callback:function(n){e.$set(e.form,t.id,n)},expression:"form[g_tab.id]"}}),n("label",[e._v(e._s(t.label))])],1),e._v(" "),n("PaymentGateways",{attrs:{gateway_data:t,values:e.values.gateways[t.id]},on:{input:e.handleGatewayChange}})],1)})),1):e._e()]}))],2)],1)],1):e._e()}),[],!1,null,null,null).exports},data:function(){return{tabs:[],values:{},dialogVisible:!1,import_radio:3,import_input:"",loading:!1,dialog_loading:!1}},mounted:function(){this.getData()},methods:{handleClose:function(e){this.$confirm("Are you sure to close this dialog?").then((function(t){e()})).catch((function(e){}))},getData:function(){var e=this;this.loading=!0,$.ajax({url:ajaxurl,type:"post",dataType:"json",data:{action:"_wpcommerce_admin_settings",subaction:"fields_data",nonce:wpApiSettings.nonce},success:function(t){void 0===t.options.gateways&&(t.options.gateways={}),e.tabs=t.data,e.values=t.options},complete:function(t){e.loading=!1}})},setValues:function(e){!function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?S(Object(n),!0).forEach((function(t){A(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}}({},this.values);this.values=_.extend(this.values,e)},saveChange:function(){var e=this;this.values,wpApiSettings.nonce;this.loading=!0,$.ajax({url:ajaxurl+"?action=_wpcommerce_admin_settings",type:"post",dataType:"json",data:{action:"_wpcommerce_admin_settings",subaction:"save_data",data:JSON.stringify(this.values),nonce:wpApiSettings.nonce},success:function(t){e.$notify.success({title:"Success",message:t.message,offset:33})},error:function(t){e.$notify.error({title:"Error",message:t,offset:33})},complete:function(){e.loading=!1}})},exportSettings:function(){var e=this;this.loading=!0,jQuery.ajax({url:ajaxurl,type:"post",data:{action:"_wpcommerce_admin_settings",subaction:"export_settings",nonce:wpApiSettings.nonce},success:function(t,n,o){e.loading=!1;var a="",i=o.getResponseHeader("Content-Disposition");if(i&&-1!==i.indexOf("attachment")){var r=/filename[^;=\n]*=((['"]).*?\2|[^;\n]*)/.exec(i);null!=r&&r[1]&&(a=r[1].replace(/['"]/g,""))}var s=o.getResponseHeader("Content-Type"),c=new Blob([t],{type:s});if(void 0!==window.navigator.msSaveBlob)window.navigator.msSaveBlob(c,a);else{var l=window.URL||window.webkitURL,d=l.createObjectURL(c);if(a){var p=document.createElement("a");void 0===p.download?window.location=d:(p.href=d,p.download=a,document.body.appendChild(p),p.click())}else window.location=d;setTimeout((function(){l.revokeObjectURL(d)}),100)}},error:function(t){e.loading=!1,e.$notify.error({title:"Error",message:t.statusText,offset:30})}})},importSettings:function(){var e=this,t=jQuery;this.$confirm("This will permanently overwite all settings. Continue?","Warning",{confirmButtonText:"OK",cancelButtonText:"Cancel",type:"warning"}).then((function(){if(e.loading=!0,e.dialog_loading=!0,3===e.import_radio&&(e.import_input=e.$refs.upload.uploadFiles[0].raw),9===e.import_radio)try{e.import_input=JSON.parse(e.import_input)}catch(t){e.$notify.error({title:"Error",message:"Invalid input data"})}var n=new FormData;n.append("file",e.import_input),n.append("input_type",e.import_radio),n.append("action","_wpcommerce_admin_settings"),n.append("subaction","import_settings"),n.append("nonce",wpApiSettings.nonce),t.ajax({url:ajaxurl,type:"post",data:n,processData:!1,contentType:!1,success:function(t,n,o){e.loading=!1;var a=0==t.success?"error":"success";e.$notify({type:a,title:a,message:t.data,offset:30}),t.success&&(window.location=window.location)},error:function(t){e.$notify.error({title:"Error",message:t.statusText,offset:30})},complete:function(t){e.loading=!1,e.dialog_loading=!1}})})).catch((function(){e.loading=!1,e.dialog_loading=!1,e.$message({type:"info",message:"canceled"})}))}}},T=(n(38),Object(i.a)(E,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"settings-tab-area"},[e.tabs&&e.values?n("el-tabs",{staticClass:"main-tabs-list",attrs:{type:"border-card"}},e._l(e.tabs,(function(t){return n("el-tab-pane",{key:t.id},[n("span",{attrs:{slot:"label"},slot:"label"},[t.icon?n("i",{class:t.icon}):e._e(),e._v(" "+e._s(t.title))]),e._v(" "),t.children?n("el-tabs",{staticClass:"child-tabs-list",attrs:{type:"border-card"}},e._l(t.children,(function(t){return n("el-tab-pane",{key:t.id,attrs:{label:t.title}},[n("h2",{staticClass:"tab-heading"},[e._v(e._s(t.heading))]),e._v(" "),n("fields",{attrs:{fields:t.fields,values:e.values},on:{input:e.setValues}})],1)})),1):n("div",{staticClass:"settings-tab-content"},[t.heading?n("h2",{staticClass:"tab-heading"},[e._v(e._s(t.heading))]):e._e(),e._v(" "),n("Fields",{attrs:{fields:t.fields,values:e.values},on:{input:e.setValues}})],1)],1)})),1):e._e(),e._v(" "),n("div",{staticClass:"import-export-btns"},[n("el-tooltip",{staticClass:"item",attrs:{content:"Export Settings",placement:"top"}},[n("el-button",{attrs:{icon:"el-icon-upload2"},on:{click:function(t){return e.exportSettings()}}})],1),e._v(" "),n("el-tooltip",{staticClass:"item",attrs:{content:"Import Settings",placement:"top"}},[n("el-button",{attrs:{icon:"el-icon-download"},on:{click:function(t){e.dialogVisible=!0}}})],1),e._v(" "),n("el-dialog",{staticClass:"import-modal",attrs:{title:"IMPORT SETTINGS",visible:e.dialogVisible,width:"30%","before-close":e.handleClose},on:{"update:visible":function(t){e.dialogVisible=t}}},[n("div",{staticClass:"import-opt"},[n("el-radio-group",{model:{value:e.import_radio,callback:function(t){e.import_radio=t},expression:"import_radio"}},[n("el-radio",{attrs:{label:3}},[e._v("From File")]),e._v(" "),n("el-radio",{attrs:{label:6}},[e._v("From URL")]),e._v(" "),n("el-radio",{attrs:{label:9}},[e._v("Paste Content")])],1)],1),e._v(" "),3===e.import_radio?n("div",{staticClass:"chose-import-file"},[n("span",[e._v("Choose the import file")]),e._v(" "),n("el-upload",{ref:"upload",staticClass:"upload-demo",attrs:{accept:"application/json",action:"https://jsonplaceholder.typicode.com/posts/","auto-upload":!1}},[n("div",{staticClass:"el-upload__tip",attrs:{slot:"tip"},slot:"tip"},[e._v("\n Please Select a .json file.\n ")]),e._v(" "),n("el-button",{attrs:{slot:"trigger",size:"small",type:"primary"},slot:"trigger"},[e._v("Choose file")])],1)],1):6===e.import_radio?n("div",{staticClass:"url-import"},[n("el-input",{attrs:{placeholder:"Please URL"},model:{value:e.import_input,callback:function(t){e.import_input=t},expression:"import_input"}})],1):n("div",{staticClass:"paste-content-import"},[n("el-input",{attrs:{placehoder:"Please paste content here",type:"textarea",rows:"5"},model:{value:e.import_input,callback:function(t){e.import_input=t},expression:"import_input"}})],1),e._v(" "),n("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{on:{click:function(t){e.dialogVisible=!1}}},[e._v("Cancel")]),e._v(" "),n("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.importSettings()}}},[e._v("Import")])],1)])],1)],1),e._v(" "),n("div",{staticClass:"save-settings"},[n("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.saveChange()}}},[e._v("SAVE CHANGES")])],1)])}),[],!1,null,null,null).exports),M=window.ELEMENT;if(M.locale(window.ELEMENT.lang.en),window.$=jQuery,Vue.use(M),Vue.use(o.a),document.querySelector(".wpcm-settings-wrapper"))new Vue({components:{Settings:T},el:".wpcm-settings-wrapper",data:{},computed:{},mounted:function(){},methods:{}});document.getElementById("wpcm-admin-live-connect")&&new Vue({el:"#wpcm-admin-live-connect",components:{Connect:r}})},,,,,,,,,,,,,,,,function(e,t){}]);1 !function(e){var t={};function n(a){if(t[a])return t[a].exports;var o=t[a]={i:a,l:!1,exports:{}};return e[a].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,a){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(a,o,function(t){return e[t]}.bind(null,o));return a},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=33)}([function(e,t,n){"use strict";function a(e,t,n,a,o,i,r,s){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),a&&(c.functional=!0),i&&(c._scopeId="data-v-"+i),r?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(r)},c._ssrRegister=l):o&&(l=s?function(){o.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:o),l)if(c.functional){c._injectStyles=l;var d=c.render;c.render=function(e,t){return l.call(t),d(e,t)}}else{var p=c.beforeCreate;c.beforeCreate=p?[].concat(p,l):[l]}return{exports:e,options:c}}n.d(t,"a",(function(){return a}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var a=wp.i18n,o=(a.__,a.setLocaleData,{data:function(){return{isVisible:!1}},methods:{checkIsVisible:function(){this.$root.dep_fields;if(_.size(this.$root.dep_fields))return void 0!==this.$root.dep_fields[this.field.id]?!0===this.$root.dep_fields[this.field.id]?void(this.isVisible=!0):void(this.isVisible=!1):void(this.isVisible=!0);this.isVisible=!0}}})},function(e,t){e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n=e[1]||"",a=e[3];if(!a)return n;if(t&&"function"==typeof btoa){var o=(r=a,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */"),i=a.sources.map((function(e){return"/*# sourceURL="+a.sourceRoot+e+" */"}));return[n].concat(i).concat([o]).join("\n")}var r;return[n].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n})).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var a={},o=0;o<this.length;o++){var i=this[o][0];"number"==typeof i&&(a[i]=!0)}for(o=0;o<e.length;o++){var r=e[o];"number"==typeof r[0]&&a[r[0]]||(n&&!r[2]?r[2]=n:n&&(r[2]="("+r[2]+") and ("+n+")"),t.push(r))}},t}},function(e,t,n){var a,o,i={},r=(a=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===o&&(o=a.apply(this,arguments)),o}),s=function(e,t){return t?t.querySelector(e):document.querySelector(e)},l=function(e){var t={};return function(e,n){if("function"==typeof e)return e();if(void 0===t[e]){var a=s.call(this,e,n);if(window.HTMLIFrameElement&&a instanceof window.HTMLIFrameElement)try{a=a.contentDocument.head}catch(e){a=null}t[e]=a}return t[e]}}(),c=null,d=0,p=[],u=n(12);function m(e,t){for(var n=0;n<e.length;n++){var a=e[n],o=i[a.id];if(o){o.refs++;for(var r=0;r<o.parts.length;r++)o.parts[r](a.parts[r]);for(;r<a.parts.length;r++)o.parts.push(g(a.parts[r],t))}else{var s=[];for(r=0;r<a.parts.length;r++)s.push(g(a.parts[r],t));i[a.id]={id:a.id,refs:1,parts:s}}}}function f(e,t){for(var n=[],a={},o=0;o<e.length;o++){var i=e[o],r=t.base?i[0]+t.base:i[0],s={css:i[1],media:i[2],sourceMap:i[3]};a[r]?a[r].parts.push(s):n.push(a[r]={id:r,parts:[s]})}return n}function b(e,t){var n=l(e.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var a=p[p.length-1];if("top"===e.insertAt)a?a.nextSibling?n.insertBefore(t,a.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),p.push(t);else if("bottom"===e.insertAt)n.appendChild(t);else{if("object"!=typeof e.insertAt||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var o=l(e.insertAt.before,n);n.insertBefore(t,o)}}function h(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=p.indexOf(e);t>=0&&p.splice(t,1)}function _(e){var t=document.createElement("style");if(void 0===e.attrs.type&&(e.attrs.type="text/css"),void 0===e.attrs.nonce){var a=function(){0;return n.nc}();a&&(e.attrs.nonce=a)}return w(t,e.attrs),b(e,t),t}function w(e,t){Object.keys(t).forEach((function(n){e.setAttribute(n,t[n])}))}function g(e,t){var n,a,o,i;if(t.transform&&e.css){if(!(i="function"==typeof t.transform?t.transform(e.css):t.transform.default(e.css)))return function(){};e.css=i}if(t.singleton){var r=d++;n=c||(c=_(t)),a=x.bind(null,n,r,!1),o=x.bind(null,n,r,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(e){var t=document.createElement("link");return void 0===e.attrs.type&&(e.attrs.type="text/css"),e.attrs.rel="stylesheet",w(t,e.attrs),b(e,t),t}(t),a=k.bind(null,n,t),o=function(){h(n),n.href&&URL.revokeObjectURL(n.href)}):(n=_(t),a=C.bind(null,n),o=function(){h(n)});return a(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;a(e=t)}else o()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=r()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=f(e,t);return m(n,t),function(e){for(var a=[],o=0;o<n.length;o++){var r=n[o];(s=i[r.id]).refs--,a.push(s)}e&&m(f(e,t),t);for(o=0;o<a.length;o++){var s;if(0===(s=a[o]).refs){for(var l=0;l<s.parts.length;l++)s.parts[l]();delete i[s.id]}}}};var v,y=(v=[],function(e,t){return v[e]=t,v.filter(Boolean).join("\n")});function x(e,t,n,a){var o=n?"":a.css;if(e.styleSheet)e.styleSheet.cssText=y(t,o);else{var i=document.createTextNode(o),r=e.childNodes;r[t]&&e.removeChild(r[t]),r.length?e.insertBefore(i,r[t]):e.appendChild(i)}}function C(e,t){var n=t.css,a=t.media;if(a&&e.setAttribute("media",a),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function k(e,t,n){var a=n.css,o=n.sourceMap,i=void 0===t.convertToAbsoluteUrls&&o;(t.convertToAbsoluteUrls||i)&&(a=u(a)),o&&(a+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var r=new Blob([a],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(r),s&&URL.revokeObjectURL(s)}},function(e,t,n){"use strict";var a=wp.i18n,o=a.__,i=(a.setLocaleData,{id:o("id","webinane-commerce"),my:o("My","webinane-commerce"),my_methodes:o("My Used Payment Methods","webinane-commerce"),amount:o("Amount","webinane-commerce"),date:o("Date","webinane-commerce"),recurring:o("Recurring","webinane-commerce"),full_name:o("Full Name","webinane-commerce"),items:o("Items","webinane-commerce"),cost:o("Cost","webinane-commerce"),qty:o("Qty","webinane-commerce"),total:o("Total","webinane-commerce"),action:o("Action","webinane-commerce"),subtotal:o("Sub Total","webinane-commerce"),price:o("Price","webinane-commerce"),add_item:o("Add Item","webinane-commerce"),select_product:o("Select Product","webinane-commerce"),refund:o("Refund","webinane-commerce"),to_edit_this_order:o('to edit this order change the status back to "pending"',"webinane-commerce"),order_not_editable:o("This order is no longer editable.","webinane-commerce"),general:o("General","webinane-commerce"),date_created:o("Date Created","webinane-commerce"),status:o("Status","webinane-commerce"),customer:o("Customer","webinane-commerce"),choose_an_action:o("Choose an Action","webinane-commerce"),send_inv_via_email:o("Send Invoice via Email","webinane-commerce"),email_new_order_notif:o("Email new Order Notification","webinane-commerce"),update:o("Update","webinane-commerce"),transaction_id:o("Transaction ID","webinane-commerce"),currency:o("Currency","webinane-commerce"),gateway:o("Gateway","webinane-commerce"),order_total:o("Order Total","webinane-commerce"),order_fee:o("Order Fee","webinane-commerce"),billing:o("Billing","webinane-commerce"),load_billing_add:o("Load Billing Address","webinane-commerce"),name:o("Name","webinane-commerce"),company:o("Company","webinane-commerce"),email_id:o("Email ID","webinane-commerce"),phone:o("Phone","webinane-commerce"),address:o("Address","webinane-commerce"),address_2:o("Address 2","webinane-commerce"),zip:o("ZIP","webinane-commerce"),country:o("Country","webinane-commerce"),state:o("State","webinane-commerce"),please_choose_customer_to_load_data:o("Please choose the customer to load data","webinane-commerce"),shipping:o("Shipping","webinane-commerce"),load_shipping_add:o("Load Shipping Address","webinane-commerce"),copy_billing_add:o("Copy Billing Address","webinane-commerce"),order_notes:o("Order Notes","webinane-commerce"),add_note:o("Add Note","webinane-commerce"),customer_note:o("Customer Note","webinane-commerce"),private_note:o("Private Note","webinane-commerce"),processing:o("Processing","webinane-commerce"),payment_method:o("Payment Method","webinane-commerce"),pending_payment:o("Pending Payment","webinane-commerce"),hold:o("Hold","webinane-commerce"),completed:o("Completed","webinane-commerce"),cancelled:o("Cancelled","webinane-commerce"),refunded:o("Refunded","webinane-commerce"),failed:o("Failed","webinane-commerce"),success:o("Success","webinane-commerce"),error:o("Error","webinane-commerce"),ok:o("OK","webinane-commerce"),cancel:o("Cancel","webinane-commerce"),order_del_success_ful:o("Order deleted successfully","webinane-commerce"),delete_canceled:o("Delete canceled","webinane-commerce"),sure_remove_item_from_order:o("Are you sure to remove the item from Order?","webinane-commerce"),sure_remove_customer:o("Are you sure to remove Customer?","webinane-commerce"),sure_want_del_order:o("Are you sure, you want to delete this order ?","webinane-commerce"),please_enter_note:o("Please enter note","webinane-commerce"),sure_remove_note:o("Are you sure to remove note?","webinane-commerce"),ship_data_loaded:o("Shipping data loaded","webinane-commerce"),overwrite_ship_info:o("Are you sure? It will overwrite your shipping info","webinane-commerce"),add_new_item:o("Add New Item","webinane-commerce"),add_new:o("Add New","webinane-commerce"),pick_date:o("Pick a date","webinane-commerce"),order_status:o("Order Status","webinane-commerce"),first_name:o("First Name","webinane-commerce"),last_name:o("Last Name","webinane-commerce"),submit:o("Submit","webinane-commerce"),email:o("Email","webinane-commerce"),users:o("Users","webinane-commerce"),edit:o("Edit","webinane-commerce"),contact:o("Contact","webinane-commerce"),users_search_keyword:o("Type keyword to search users","webinane-commerce"),sure_to_give_refund:o("Are you sure that you want to give refund? this action will not undo.","webinane-commerce")}),r=function(e){e.prototype.$webinane_i18n=i};"undefined"!=typeof window&&window.Vue&&r(window.Vue),t.a={install:r}},,,,,function(e,t,n){var a=n(35);"string"==typeof a&&(a=[[e.i,a,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(3)(a,o);a.locals&&(e.exports=a.locals)},function(e,t,n){var a=n(37);"string"==typeof a&&(a=[[e.i,a,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(3)(a,o);a.locals&&(e.exports=a.locals)},function(e,t,n){var a=n(39);"string"==typeof a&&(a=[[e.i,a,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(3)(a,o);a.locals&&(e.exports=a.locals)},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,a=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(e,t){var o,i=t.trim().replace(/^"(.*)"$/,(function(e,t){return t})).replace(/^'(.*)'$/,(function(e,t){return t}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(i)?e:(o=0===i.indexOf("//")?i:0===i.indexOf("/")?n+i:a+i.replace(/^\.\//,""),"url("+JSON.stringify(o)+")")}))}},,,,,,,,,,,,,,,,,,,,,function(e,t,n){e.exports=n(42)},function(e,t,n){"use strict";var a=n(9);n.n(a).a},function(e,t,n){(e.exports=n(2)(!1)).push([e.i,'#wpcm-admin-live-connect .price {\n font-size: 20px;\n font-weight: bold;\n}\n#wpcm-admin-live-connect .bottom {\n margin-top: 13px;\n line-height: 12px;\n}\n#wpcm-admin-live-connect .button {\n float: right;\n}\n#wpcm-admin-live-connect .image {\n width: 100%;\n display: block;\n height: auto;\n}\n#wpcm-admin-live-connect .clearfix:before,\n#wpcm-admin-live-connect .clearfix:after {\n display: table;\n content: "";\n}\n#wpcm-admin-live-connect .clearfix:after {\n clear: both;\n}',""])},function(e,t,n){"use strict";var a=n(10);n.n(a).a},function(e,t,n){(e.exports=n(2)(!1)).push([e.i,".wpcm-settings-editor {\n margin-top: 20px;\n}",""])},function(e,t,n){"use strict";var a=n(11);n.n(a).a},function(e,t,n){(e.exports=n(2)(!1)).push([e.i,'.wpcm-dashboard-wrapper {\n box-shadow: 0 0 57px rgba(0, 0, 0, 0.09);\n}\n.wpcm-dashboard-wrapper .el-switch {\n position: relative;\n margin-bottom: 10px;\n}\n.wpcm-dashboard-wrapper .el-switch .el-switch__core {\n height: 40px;\n width: 95px !important;\n box-shadow: 0 0 24px rgba(0, 0, 0, 0.08);\n border-radius: 60px;\n}\n.wpcm-dashboard-wrapper .el-switch .el-switch__core::after {\n height: 36px;\n width: 36px;\n box-shadow: 3px 4px 15px 0px rgba(0, 0, 0, 0.25);\n}\n.wpcm-dashboard-wrapper .el-switch.is-checked .el-switch__core {\n background-color: #2f88e4;\n background-image: linear-gradient(#2f88e4, #2874df);\n border-color: #2f88e4;\n}\n.wpcm-dashboard-wrapper .el-switch.is-checked .el-switch__core::after {\n margin-left: -37px;\n}\n.wpcm-dashboard-wrapper .el-switch .el-switch__label {\n font-size: 13px;\n color: #fff;\n position: absolute;\n left: 50%;\n margin-right: 0;\n z-index: 1;\n}\n.wpcm-dashboard-wrapper .el-switch .el-switch__label.el-switch__label--left {\n margin-left: -4px;\n opacity: 0;\n visibility: hidden;\n}\n.wpcm-dashboard-wrapper .el-switch .el-switch__label.el-switch__label--left.is-active {\n opacity: 1;\n visibility: visible;\n}\n.wpcm-dashboard-wrapper .el-switch .el-switch__label.el-switch__label--right {\n margin-left: -25px;\n opacity: 0;\n visibility: hidden;\n}\n.wpcm-dashboard-wrapper .el-switch .el-switch__label.el-switch__label--right.is-active {\n opacity: 1;\n visibility: visible;\n}\n.wpcm-dashboard-wrapper .tab-heading {\n font-size: 40px;\n color: #000000;\n font-weight: 700;\n position: relative;\n padding-bottom: 8px;\n margin-bottom: 20px;\n}\n.wpcm-dashboard-wrapper .tab-heading:before {\n content: "";\n height: 2px;\n width: 40px;\n background-color: #2b7de1;\n position: absolute;\n left: 0;\n bottom: 0;\n}\n.wpcm-dashboard-wrapper .save-settings {\n text-align: center;\n background-color: #fbfbfb;\n padding: 25px;\n position: -webkit-sticky;\n position: sticky;\n width: 100%;\n left: 0;\n bottom: 0;\n z-index: 30;\n}\n.wpcm-dashboard-wrapper .save-settings .el-button {\n font-size: 14px;\n font-weight: 600;\n color: #fff;\n padding: 20px 40px;\n border-radius: 2px;\n background-color: #2f88e4;\n background-image: linear-gradient(#2f88e4, #2874df);\n}\n.wpcm-dashboard-wrapper .enable-settings {\n padding-bottom: 30px;\n margin-bottom: 25px;\n border-bottom: 1px solid #ececec;\n margin-top: 30px;\n}\n.wpcm-dashboard-wrapper .enable-settings .enable-label {\n font-size: 16px;\n color: #666666;\n margin-right: 70px;\n}\n.wpcm-dashboard-wrapper .enable-settings .enable-desc {\n font-size: 14px;\n color: #999999;\n font-style: italic;\n margin-left: 15px;\n}\n.wpcm-dashboard-wrapper .settings-tab-area {\n position: relative;\n}\n.wpcm-dashboard-wrapper .settings-tab-area .import-export-btns {\n position: absolute;\n right: 22px;\n top: 36px;\n}\n.wpcm-dashboard-wrapper .settings-tab-area .import-export-btns > .el-button {\n background-color: #354052;\n color: #fff;\n font-size: 20px;\n border: none;\n padding: 10px 12px;\n}\n.wpcm-dashboard-wrapper .settings-tab-area .import-export-btns > .el-button:hover {\n background-color: #4385f5;\n}\n.wpcm-dashboard-wrapper .settings-tab-area .import-export-btns > .el-button + .el-button {\n margin-left: 5px;\n}\n.wpcm-dashboard-wrapper .el-form .el-form-item {\n margin-bottom: 3rem;\n}\n.wpcm-dashboard-wrapper .el-form .el-form-item .el-form-item__label {\n color: #666666;\n font-weight: 500;\n line-height: normal;\n margin-bottom: 0;\n line-height: 30px;\n}\n.wpcm-dashboard-wrapper .el-form .el-form-item .el-input input {\n height: 58px;\n border-radius: 2px;\n border: 2px solid #e1e2e6;\n color: #999999;\n font-size: 14px;\n padding: 12px 15px;\n background-color: #fff;\n}\n.wpcm-dashboard-wrapper .el-form .el-form-item .el-date-editor input {\n padding-left: 30px;\n padding-right: 30px;\n}\n.wpcm-dashboard-wrapper .el-form .el-form-item .el-form-item__content {\n line-height: normal;\n}\n.wpcm-dashboard-wrapper .el-form .el-form-item .el-form-item__content .el-button.el-popover__reference {\n background-color: #c0c0c0;\n border: none;\n color: #fff;\n padding: 0;\n border-radius: 50%;\n height: 18px;\n width: 18px;\n line-height: 18px;\n}\n.wpcm-dashboard-wrapper .el-form .el-form-item .el-form-item__content .el-select {\n width: 100%;\n}\n.wpcm-dashboard-wrapper .el-form .el-form-item .el-form-item__content .el-select .el-input__suffix {\n background-color: #f8f8f8;\n height: 34px;\n display: block;\n width: 32px;\n border-radius: 5px;\n right: 15px;\n border: 1px solid #ebebeb;\n top: 50%;\n margin-top: -17px;\n}\n.wpcm-dashboard-wrapper .el-form .el-form-item .el-form-item__content .el-select .el-input__suffix .el-select__caret {\n color: #6a6a6a;\n line-height: 30px;\n}\n.wpcm-dashboard-wrapper .el-form .el-form-item .el-form-item__content .wpcm-option-row {\n padding: 0;\n border: none;\n}\n.wpcm-dashboard-wrapper .el-form .el-form-item .el-slider .el-slider__runway {\n margin: 32px 0 16px;\n}\n.wpcm-dashboard-wrapper .main-tabs-list {\n box-shadow: none;\n border: none;\n}\n.wpcm-dashboard-wrapper .main-tabs-list > .el-tabs__header .el-tabs__nav-wrap {\n background-color: #011025;\n}\n.wpcm-dashboard-wrapper .main-tabs-list > .el-tabs__header .el-tabs__item {\n height: auto;\n border: none;\n border-right: 1px solid #2b3648;\n padding: 28px 34px !important;\n text-align: center;\n line-height: normal;\n}\n.wpcm-dashboard-wrapper .main-tabs-list > .el-tabs__header .el-tabs__item.is-active {\n color: #fff;\n background-color: #4385f5;\n border-color: #4385f5;\n}\n.wpcm-dashboard-wrapper .main-tabs-list > .el-tabs__header .el-tabs__item.is-active i {\n color: #fff;\n}\n.wpcm-dashboard-wrapper .main-tabs-list > .el-tabs__header .el-tabs__item span {\n font-size: 14px;\n color: #fff;\n}\n.wpcm-dashboard-wrapper .main-tabs-list > .el-tabs__header .el-tabs__item span i {\n display: block;\n color: #8494ad;\n font-size: 30px;\n margin-bottom: 10px;\n}\n.wpcm-dashboard-wrapper .main-tabs-list .el-tabs__content {\n padding: 0;\n}\n.wpcm-dashboard-wrapper .main-tabs-list .el-tabs__content .el-tabs--border-card {\n border: none;\n}\n.wpcm-dashboard-wrapper .main-tabs-list .el-tabs__content .el-tabs__content {\n padding: 60px 22%;\n}\n.wpcm-dashboard-wrapper .main-tabs-list .el-tabs__content .settings-tab-content {\n padding: 60px 22%;\n}\n.wpcm-dashboard-wrapper .main-tabs-list .el-tabs__content .settings-tab-content .el-tabs__content {\n padding: 0;\n}\n.wpcm-dashboard-wrapper .main-tabs-list .el-tabs__content .settings-tab-content .el-tabs__nav-wrap::after {\n display: none;\n}\n.wpcm-dashboard-wrapper .main-tabs-list .el-tabs__content .settings-tab-content .el-tabs__nav .el-checkbox {\n color: #333;\n font-weight: normal;\n}\n.wpcm-dashboard-wrapper .main-tabs-list .el-tabs__content .settings-tab-content .el-tabs__nav .el-checkbox .el-checkbox__label {\n font-size: 15px;\n}\n.wpcm-dashboard-wrapper .main-tabs-list .el-tabs__content .settings-tab-content .el-tabs__nav .el-checkbox .el-checkbox__input .el-checkbox__inner {\n border: 1px solid #d8d8d8;\n background-color: #f9f9f9;\n height: 20px;\n width: 20px;\n}\n.wpcm-dashboard-wrapper .main-tabs-list .el-tabs__content .settings-tab-content .el-tabs__nav .el-checkbox .el-checkbox__input .el-checkbox__inner::after {\n height: 10px;\n width: 6px;\n left: 6px;\n top: 2px;\n border: 2px solid #fff;\n border-left: 0;\n border-top: 0;\n}\n.wpcm-dashboard-wrapper .main-tabs-list .el-tabs__content .settings-tab-content .el-tabs__nav .el-checkbox .el-checkbox__input.is-checked .el-checkbox__inner {\n background-color: #409eff;\n border-color: #409eff;\n}\n.wpcm-dashboard-wrapper .main-tabs-list .el-tabs__content .settings-tab-content .el-tabs__nav .el-tabs__active-bar {\n display: none;\n}\n.wpcm-dashboard-wrapper .main-tabs-list .el-tabs__content .settings-tab-content div .tab-heading {\n font-size: 28px;\n}\n.wpcm-dashboard-wrapper .main-tabs-list .el-tabs__content .settings-tab-content .el-tabs__content {\n padding: 50px 0 0 !important;\n}\n.wpcm-dashboard-wrapper .child-tabs-list > .el-tabs__header .el-tabs__nav-wrap {\n background-color: #f4f4f4;\n}\n.wpcm-dashboard-wrapper .child-tabs-list > .el-tabs__header .el-tabs__item {\n height: auto;\n border: none;\n padding: 14px 34px !important;\n text-align: center;\n font-size: 14px;\n color: #000;\n position: relative;\n}\n.wpcm-dashboard-wrapper .child-tabs-list > .el-tabs__header .el-tabs__item + .el-tabs__item:after {\n content: "";\n width: 1px;\n height: 13px;\n background-color: #bfbfbf;\n position: absolute;\n left: 0;\n top: 50%;\n margin-top: -6px;\n}\n.wpcm-dashboard-wrapper .child-tabs-list > .el-tabs__header .el-tabs__item:hover {\n color: #2b7de1 !important;\n}\n.wpcm-dashboard-wrapper .child-tabs-list > .el-tabs__header .el-tabs__item.is-active {\n background-color: #f4f4f4;\n color: #2b7de1;\n}\n.wpcm-dashboard-wrapper .import-modal .el-dialog__header {\n background-color: #eaf1f6;\n padding: 24px 35px;\n}\n.wpcm-dashboard-wrapper .import-modal .el-dialog__header span {\n font-size: 22px;\n font-weight: 700;\n color: #000;\n}\n.wpcm-dashboard-wrapper .import-modal .el-dialog__header .el-dialog__headerbtn {\n height: 34px;\n width: 34px;\n line-height: 38px;\n border-radius: 50%;\n background-color: #fff;\n text-align: center;\n}\n.wpcm-dashboard-wrapper .import-modal .el-dialog__header .el-dialog__headerbtn .el-dialog__close {\n color: #000;\n font-size: 20px;\n}\n.wpcm-dashboard-wrapper .import-modal .el-dialog__body {\n padding: 30px 35px;\n}\n.wpcm-dashboard-wrapper .import-modal .import-opt {\n margin-bottom: 30px;\n}\n.wpcm-dashboard-wrapper .import-modal .chose-import-file > span {\n font-size: 14px;\n color: #000;\n display: block;\n padding-bottom: 22px;\n}\n.wpcm-dashboard-wrapper .import-modal .chose-import-file .upload-demo .el-button {\n border-radius: 4px;\n border: 1px solid #d8d8d8;\n box-shadow: 0 0 5px rgba(0, 0, 0, 0.11);\n background-color: #fafafa;\n font-size: 13px;\n font-weight: 500;\n color: #000;\n padding: 14px 24px;\n}\n.wpcm-dashboard-wrapper .import-modal .chose-import-file .upload-demo .el-upload__tip {\n font-size: 13px;\n color: #999999;\n margin-top: 12px;\n}\n.wpcm-dashboard-wrapper .import-modal .el-input input {\n height: 58px;\n border-radius: 2px;\n border: 2px solid #e1e2e6;\n color: #999999;\n font-size: 14px;\n padding: 12px 15px;\n background-color: #fff;\n}\n.el-tooltip__popper.is-dark {\n border-radius: 30px;\n background-color: #ffffff;\n font-size: 12px;\n color: #000000;\n padding: 4px 15px;\n}\n.el-tooltip__popper.is-dark .popper__arrow {\n border-top-color: #ffffff;\n}\n.el-tooltip__popper.is-dark .popper__arrow:after {\n border-top-color: #ffffff;\n}',""])},,,function(e,t,n){"use strict";n.r(t);n(58);var a=n(4),o={props:{nonce:String,is_active:Boolean,active_plugins:Array,inst_plugins:Array},data:function(){return{form:{},items:[],user_items:[],loading:!1,loaded:!0}},mounted:function(){this.is_active&&this.getItems()},methods:{getItems:function(){var e=this,t=jQuery;this.loading=!0,t.ajax({url:ajaxurl,type:"post",data:{action:"webinane_commerce_user_connect_get_items",form:this.form,nonce:this.nonce},success:function(t){e.loading=!1,t.success&&(e.items=t.data.items,e.user_items=t.data.user_items)},error:function(t){e.$notify({type:"error",message:t.responseJSON.data.message,offset:40})},complete:function(t){e.loading=!1}})},login:function(){var e=this,t=jQuery;this.loading=!0,t.ajax({url:ajaxurl,type:"post",data:{action:"webinane_commerce_user_connect",form:this.form,nonce:this.nonce},success:function(t){e.loading=!1,t.success&&(e.$notify({type:"success",message:t.data.message,offset:40}),window.location=location.href)},error:function(t){e.$notify({type:"error",message:t.responseJSON.data.message,offset:40})},complete:function(t){e.loading=!1}})},login_out:function(){var e=this,t=jQuery;this.loading=!0,t.ajax({url:ajaxurl,type:"post",data:{action:"webinane_commerce_user_disconnect",form:this.form,nonce:this.nonce},success:function(t){e.loading=!1,t.success&&(e.$notify({type:"success",message:t.data.message,offset:40}),window.location=location.href)},error:function(t){e.$notify({type:"error",message:t.responseJSON.data.message,offset:40})},complete:function(t){e.loading=!1}})},is_installed:function(e){var t=e+"/"+e+".php";return this.inst_plugins.indexOf(t)>=0},plugin_active:function(e){var t=e+"/"+e+".php";return this.active_plugins.indexOf(t)>=0},is_purchased:function(e){return this.user_items.indexOf(e)>=0},installPlugin:function(e){var t=this,n=jQuery;this.loading=!0,n.ajax({url:ajaxurl,type:"post",data:{action:"webinane_commerce_user_connect_install_plugin",item:e,nonce:this.nonce},success:function(e){t.loading=!1,e.success?(t.$notify({type:"success",message:e.data.message,offset:40}),window.location=location.href):t.$notify({type:"error",message:e.data.message,offset:40})},error:function(e){t.$notify({type:"error",message:e.responseJSON.data.message,offset:40})},complete:function(e){t.loading=!1}})},activatePlugin:function(e){var t=this,n=jQuery;this.loading=!0,n.ajax({url:ajaxurl,type:"post",data:{action:"webinane_commerce_user_connect_activate_plugin",item:e,nonce:this.nonce},success:function(e){t.loading=!1,e.success?(t.$notify({type:"success",message:e.data.message,offset:40}),window.location=location.href):t.$notify({type:"error",message:e.data.message,offset:40})},error:function(e){t.$notify({type:"error",message:e.responseJSON.data.message,offset:40})},complete:function(e){t.loading=!1}})}}},i=(n(34),n(0)),r=Object(i.a)(o,void 0,void 0,!1,null,null,null).exports,s={data:function(){return{value:"",id:""}},mounted:function(){var e=this;this.id=this._uid,setTimeout((function(){e.value=e.$attrs.value,e.editor()}),2e3)},methods:{editor:function(){var e=this;setTimeout((function(){wp.editor.remove(e.id);jQuery;var t=wp.editor.getDefaultSettings().tinymce;t.setup=function(t){t.on("keyup",(function(n){var a=t.getContent();a=a.replace(/\n/g,"<br>"),e.$emit("input",a),e.$emit("change",a)}))},wp.editor.initialize(e.id,{tinymce:t})}),500)},nl2br:function(e,t){return(e+"").replace(/([^>\r\n]?)(\r\n|\n\r|\r|\n)/g,"$1"+(t||void 0===t?"<br />":"<br>")+"$2")},getValue:function(){}}},l=(n(36),Object(i.a)(s,(function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"wpcm-settings-editor"},[t("textarea",{ref:"editor",attrs:{id:this.id,cols:"30",rows:"10"},domProps:{innerHTML:this._s(this.value)}})])}),[],!1,null,null,null).exports),c=window,d=c.ajaxurl,p=c.wpcm_data,u={props:{field:Object,options:Object,value:"",update_text:{required:!1,default:"Update Media"},add_text:{required:!1,default:"Add Media"}},data:function(){return{attachment:{},loading:!1,is_done:!1}},computed:{fieldModel:{get:function(){return 2},set:function(e){}}},watch:{value:function(e){this.getMedia()}},mounted:function(){this.value},methods:{getValue:function(){return this.value?this.value:this.field.default?this.field.default:""},getMedia:function(){var e=this,t=void 0!==d?d:"";if(null!=t&&t||(t=void 0!==p?p.ajaxurl:""),this.value>0){var n=jQuery,a=this;a.loading=!0,n.ajax({url:t,type:"post",data:{action:"get-attachment",id:a.value},success:function(e){!0===e.success&&(a.attachment=e.data)},complete:function(t){a.loading=!1,e.is_done=!0}})}},getClass:function(){return"text_small"==this.field.type?"wpcm-field-input wpcm-col-lg-4 wpcm-col-md-12 wpcm-col-sm-12":"wpcm-field-input wpcm-col-lg-8 wpcm-col-md-12 wpcm-col-sm-12"},addMedia:function(e){var t=this,n=this,a=$(e.target);a.prev();return wp.media.editor.send.attachment=function(e,a){n.fieldModel=a.id,n.attachment=a,t.$emit("input",a.id)},wp.media.editor.open(a),!1},btnText:function(){return this.attachment.sizes?this.update_text:this.add_text}}},m=Object(i.a)(u,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"fade"}},[n("div",[n("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldModel,expression:"fieldModel"}],attrs:{type:"hidden"},domProps:{value:e.fieldModel},on:{input:function(t){t.target.composing||(e.fieldModel=t.target.value)}}}),e._v(" "),e.attachment.sizes?n("div",{staticClass:"image"},[n("img",{attrs:{src:e.attachment.sizes.thumbnail.url,alt:e.attachment.title}})]):e._e(),e._v(" "),n("a",{staticClass:"button wpcm-btn mt-3",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.addMedia(t)}}},[e._v("\n\t\t\t"+e._s(e.btnText())+"\n\t\t\t"),e.loading?n("i",{staticClass:"fa fa-refresh fa-spin"}):e._e()])])])}),[],!1,null,null,null).exports,f={name:"gateway-fields",components:{Media:m,Editor:l},props:{fields:{type:Array,required:!0},values:{type:Object,default:function(){return{}}}},data:function(){return{form:{}}},watch:{values:function(e){var t=this;_.each(this.fields,(function(n){var a=n.default?n.default:"",o=void 0!==e[n.id]?e[n.id]:a;t.$set(t.form,n.id,o)}))}},mounted:function(){},methods:{handleChange:function(e){this.$emit("input",this.form)}}};function b(e){return function(e){if(Array.isArray(e))return h(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return h(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function w(e){return(w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var g={components:{GatewayFields:Object(i.a)(f,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.fields?n("div",[n("el-form",{attrs:{model:e.form,"label-position":"left"}},[n("el-row",{attrs:{gutter:30}},[e._l(e.fields,(function(t){return[n("el-col",{attrs:{span:24}},["gateway_tab"!=t.type?n("el-form-item",{attrs:{label:t.label,"label-width":"30%"}},[n(t.type,e._b({tag:"component",on:{change:e.handleChange},model:{value:e.form[t.id],callback:function(n){e.$set(e.form,t.id,n)},expression:"form[field.id]"}},"component",t.props,!1),[e._l(t.options,(function(a,o){return"el-select"==t.type?n("el-option",{key:o,attrs:{label:a,value:o}},[e._v(e._s(a))]):e._e()})),e._v(" "),e._l(t.options,(function(a,o){return"el-radio-group"==t.type?n("el-radio",{key:o,attrs:{label:a}},[e._v(e._s(a))]):e._e()})),e._v(" "),e._l(t.options,(function(a,o){return"el-checkbox-group"==t.type?n("el-checkbox",{key:o,attrs:{label:a}},[e._v(e._s(a))]):e._e()}))],2)],1):e._e()],1),e._v(" "),"gateway_tab"==t.type?n("el-tabs",e._l(t.tabs,(function(t){return n("el-tab-pane",{key:t.id},[n("span",{attrs:{slot:"label"},slot:"label"},[n("el-checkbox",{attrs:{label:t.label},model:{value:e.form[t.id],callback:function(n){e.$set(e.form,t.id,n)},expression:"form[g_tab.id]"}})],1),e._v(" "),n("PaymentGateways",{attrs:{gateway_data:t}})],1)})),1):e._e()]}))],2)],1)],1):e._e()}),[],!1,null,null,null).exports},props:{gateway_data:{type:Object,required:!0},values:{type:Object,default:function(){return{}}}},data:function(){return{form:{}}},created:function(){"object"==w(this.gateway_data.fields)&&(this.gateway_data.fields=Object.values(this.gateway_data.fields))},mounted:function(){var e=this;_.size(this.values)&&"string"==typeof this.values.sandbox&&(this.values.sandbox="false"!==this.values.sandbox);var t=!_.size(this.value)||b(this.value.sandbox);this.$set(this.form,"sandbox",t),setTimeout((function(){e.setValuesOnLoad()}),300)},methods:{setValuesOnLoad:function(){var e=this;_.each(this.values,(function(t,n){e.form[n]=t}))},handleChange:function(e){var t=_.extend(this.form,e);this.$emit("input",t,this.gateway_data.id)}}},v=Object(i.a)(g,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("h2",{staticClass:"tab-heading"},[e._v(e._s(e.gateway_data.heading))]),e._v(" "),e.gateway_data.has_sandbox?n("div",{staticClass:"enable-settings"},[n("span",{staticClass:"enable-label"},[e._v("Sandbox")]),e._v(" "),n("el-switch",{attrs:{"active-text":"ON","inactive-text":"OFF"},on:{change:e.handleChange},model:{value:e.form.sandbox,callback:function(t){e.$set(e.form,"sandbox",t)},expression:"form.sandbox"}}),e._v(" "),e.gateway_data.sandbox_help?n("span",{staticClass:"enable-desc"},[e._v(e._s(e.gateway_data.sandbox_help))]):e._e()],1):e._e(),e._v(" "),n("gateway-fields",{attrs:{fields:e.gateway_data.fields,values:e.values},on:{input:e.handleChange}})],1)}),[],!1,null,null,null).exports,y=n(1),x={mixins:[y.a],props:["value","countries_list"],data:function(){return{address:{country:"",state:""},countries:[],states:[],loading:!1}},computed:{},watch:{value:function(e){this.address=_.isObject(e)?e:{},this.getStates()}},mounted:function(){this.countries_list?this.setCountries(this.countries_list):this.getCountries()},methods:{setCountries:function(e){var t=this;this.countries=[],_.each(e,(function(e,n){t.countries.push({value:n,label:e})}))},onChange:function(e){this.$emit("input",this.address),this.$emit("change",this.address),this.getStates()},getCountries:function(){var e=this,t=jQuery;this.loading=!0,t.ajax({url:"https://raw.githubusercontent.com/wowthemes/countries/master/src/data/countries/default/_countries.json",type:"get",dataType:"json",success:function(t){e.setCountries(t)},complete:function(t){e.loading=!1}})},getStates:function(){var e=this,t=jQuery;this.loading=!0,t.ajax({url:wpApiSettings.root+"webinane-commerce/v1/countries/"+this.address.country+"/states",type:"get",dataType:"json",success:function(t){e.states=[],_.each(t.states,(function(t,n){e.states.push({value:n,label:t})}))},complete:function(t){e.loading=!1}})}}},C=Object(i.a)(x,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-row",{attrs:{gutter:20}},[n("el-col",{attrs:{span:24}},[n("el-select",e._b({staticClass:"wpcm-form-inputt",attrs:{placeholder:"Select Country",filterable:"",size:"large"},on:{change:e.onChange},model:{value:e.address.country,callback:function(t){e.$set(e.address,"country",t)},expression:"address.country"}},"el-select",e.$attrs,!1),[e.countries?e._l(e.countries,(function(e){return n("el-option",{key:e.value,attrs:{value:e.value,label:e.label}})})):e._e()],2)],1),e._v(" "),n("el-col",{staticClass:"mt-3",attrs:{span:24}},[n("el-select",e._b({staticClass:"wpcm-form-inputt",attrs:{placeholder:"Select States",filterable:"",size:"large"},on:{change:function(t){return e.$emit("input",e.address)}},model:{value:e.address.state,callback:function(t){e.$set(e.address,"state",t)},expression:"address.state"}},"el-select",e.$attrs,!1),[e.states?e._l(e.states,(function(e){return n("el-option",{key:e.value,attrs:{value:e.value,label:e.label}})})):e._e()],2)],1)],1)}),[],!1,null,null,null).exports,k={mixins:[y.a],props:{},data:function(){return{address:{country:"",city:"",state:""},items:[],loading:!1}},computed:{},watch:{},mounted:function(){this.address=this.$attrs.value?$this.attrs.value:{},this.getItems()},methods:{onChange:function(e){this.$emit("input",this.address)},getItems:function(){var e=this,t=jQuery;this.loading=!0,t.ajax({url:"https://raw.githubusercontent.com/wowthemes/countries/master/src/data/countries/default/_countries.json",type:"get",dataType:"json",success:function(t){e.items=[],_.each(t,(function(t,n){e.items.push({value:n,label:t})}))},complete:function(t){e.loading=!1}})}}},j={props:["values","value"],data:function(){return{form:[""],isVisible:!1,fieldSize:[]}},watch:{form:function(e){this.$emit("input",e),this.$emit("change",e)},value:function(e){_.isArray(e)?this.form=e:this.form=["."]}},computed:{},mounted:function(){},methods:{handleAdd:function(){this.form.push("")},handleRemove:function(e){var t=_.reject(this.form,(function(t,n){return e===n}));this.form=t}}},S={props:["content"]},O={name:"Fields",components:{PaymentGateways:v,Media:m,Editor:l,Country:C,State:Object(i.a)(k,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-select",e._b({staticClass:"wpcm-form-inputt",attrs:{placeholder:"Select Country",remote:"","remote-method":e.getItems,filterable:"",loading:e.loading,size:"large","loading-text":"Loading..."},on:{change:e.onChange},model:{value:e.address.country,callback:function(t){e.$set(e.address,"country",t)},expression:"address.country"}},"el-select",e.$attrs,!1),[e.items?e._l(e.items,(function(e){return n("el-option",{key:e.value,attrs:{value:e.value,label:e.label}})})):e._e()],2)}),[],!1,null,null,null).exports,MultiText:Object(i.a)(j,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",e._l(e.form,(function(t,a){return n("div",{key:a},[n("el-input",{staticClass:"mb-2",model:{value:e.form[a],callback:function(t){e.$set(e.form,a,t)},expression:"form[index]"}},[n("el-button",{attrs:{slot:"append",type:"info",size:"mini",icon:"el-icon-plus"},on:{click:function(t){return e.handleAdd()}},slot:"append"}),e._v(" "),e.form.length>1?n("el-button",{attrs:{slot:"append",type:"danger",size:"mini",icon:"el-icon-close"},on:{click:function(t){return e.handleRemove(a)}},slot:"append"}):e._e()],1)],1)})),0)}),[],!1,null,null,null).exports,ElHeading:Object(i.a)(S,(function(){var e=this.$createElement;return(this._self._c||e)("h4",{domProps:{innerHTML:this._s(this.content)}})}),[],!1,null,null,null).exports},props:{fields:{type:Array,required:!0},values:Object},data:function(){return{form:{gateways:{}}}},mounted:function(){var e=this;setTimeout((function(){e.setDefaultValues(),e.setValuesToForm()}),100)},methods:{setValuesToForm:function(){var e=this;_.each(this.values,(function(t,n){e.$set(e.form,n,t)}))},setDefaultValues:function(){var e=this;_.each(this.fields,(function(t){var n=t.default?t.default:"",a=void 0!==e.values[t.id]?e.values[t.id]:n;e.fixElMultiSelect(t),t.id&&e.$set(e.form,t.id,a)}))},fixElMultiSelect:function(e){"el-select"==e.type&&e.props&&e.props.multiple&&!_.isArray(this.values[e.id])&&(this.values[e.id]=[])},handleChange:function(e){this.$emit("input",this.form)},handleGatewayChange:function(e,t){this.$set(this.form.gateways,t,e),this.$emit("input",this.form)},handleShow:function(e){var t=this;if(e.vshow){if(_.isArray(e.vshow)){var n=!1;return _.each(e.vshow,(function(e){n=t.form[e.key]==e.value})),n}return this.form[e.vshow.key]==e.vshow.value}return!0}}},A={components:{Editor:l,Fields:Object(i.a)(O,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.fields?n("div",[n("el-form",{attrs:{model:e.form,"label-position":"left"}},[n("el-row",{attrs:{gutter:30}},[e._l(e.fields,(function(t){return[n("el-col",{directives:[{name:"show",rawName:"v-show",value:e.handleShow(t),expression:"handleShow(field)"}],attrs:{span:24}},[t.main_heading?n("h6",{staticClass:"mb-2",domProps:{innerHTML:e._s(t.main_heading)}}):e._e(),e._v(" "),"gateway_tab"!=t.type?n("el-form-item",{attrs:{label:t.label,"label-width":"30%"}},[n(t.type,e._b({ref:t.id,refInFor:!0,tag:"component",attrs:{name:t.id},on:{change:e.handleChange},model:{value:e.form[t.id],callback:function(n){e.$set(e.form,t.id,n)},expression:"form[field.id]"}},"component",t.props,!1,!0),[e._l(t.options,(function(a,o){return"el-select"==t.type?n("el-option",{key:o,attrs:{label:a,value:o}},[e._v(e._s(a))]):e._e()})),e._v(" "),e._l(t.options,(function(a,o){return"el-radio-group"==t.type?n("el-radio",{key:o,attrs:{label:o,border:""}},[e._v(e._s(a))]):e._e()})),e._v(" "),e._l(t.options,(function(a,o){return"el-checkbox-group"==t.type?n("el-checkbox",{key:o,attrs:{label:a}},[e._v(e._s(a))]):e._e()}))],2),e._v(" "),t.help?n("p",{staticClass:"mt-1",style:{color:"#999"}},[n("em",{domProps:{innerHTML:e._s(t.help)}})]):e._e()],1):e._e(),e._v(" "),"gateway_tab"==t.type?n("el-tabs",e._l(t.tabs,(function(t){return n("el-tab-pane",{key:t.id},[n("span",{attrs:{slot:"label"},slot:"label"},[n("el-checkbox",{on:{change:e.handleChange},model:{value:e.form[t.id],callback:function(n){e.$set(e.form,t.id,n)},expression:"form[g_tab.id]"}}),n("label",[e._v(e._s(t.label))])],1),e._v(" "),n("PaymentGateways",{attrs:{gateway_data:t,values:e.form.gateways[t.id]},on:{input:e.handleGatewayChange}})],1)})),1):e._e()],1)]}))],2)],1)],1):e._e()}),[],!1,null,null,null).exports},data:function(){return{tabs:[],values:{},form:{},dialogVisible:!1,import_radio:3,import_input:"",loading:!1,dialog_loading:!1}},mounted:function(){this.getData()},methods:{handleClose:function(e){this.$confirm("Are you sure to close this dialog?").then((function(t){e()})).catch((function(e){}))},getData:function(){var e=this;this.loading=!0,$.ajax({url:ajaxurl,type:"post",dataType:"json",data:{action:"_wpcommerce_admin_settings",subaction:"fields_data",nonce:wpApiSettings.nonce},success:function(t){void 0===t.options.gateways&&(t.options.gateways={}),_.isArray(t.options.gateways)&&(t.options.gateways={}),e.tabs=t.data,e.values=t.options},complete:function(t){e.loading=!1}})},setValues:function(e){this.form=e},saveChange:function(){var e=this;this.form,wpApiSettings.nonce;this.loading=!0,$.ajax({url:ajaxurl+"?action=_wpcommerce_admin_settings",type:"post",dataType:"json",data:{action:"_wpcommerce_admin_settings",subaction:"save_data",data:JSON.stringify(this.form),nonce:wpApiSettings.nonce},success:function(t){e.$notify.success({title:"Success",message:t.message,offset:33})},error:function(t){e.$notify.error({title:"Error",message:t,offset:33})},complete:function(){e.loading=!1}})},exportSettings:function(){var e=this;this.loading=!0,jQuery.ajax({url:ajaxurl,type:"post",data:{action:"_wpcommerce_admin_settings",subaction:"export_settings",nonce:wpApiSettings.nonce},success:function(t,n,a){e.loading=!1;var o="",i=a.getResponseHeader("Content-Disposition");if(i&&-1!==i.indexOf("attachment")){var r=/filename[^;=\n]*=((['"]).*?\2|[^;\n]*)/.exec(i);null!=r&&r[1]&&(o=r[1].replace(/['"]/g,""))}var s=a.getResponseHeader("Content-Type"),l=new Blob([t],{type:s});if(void 0!==window.navigator.msSaveBlob)window.navigator.msSaveBlob(l,o);else{var c=window.URL||window.webkitURL,d=c.createObjectURL(l);if(o){var p=document.createElement("a");void 0===p.download?window.location=d:(p.href=d,p.download=o,document.body.appendChild(p),p.click())}else window.location=d;setTimeout((function(){c.revokeObjectURL(d)}),100)}},error:function(t){e.loading=!1,e.$notify.error({title:"Error",message:t.statusText,offset:30})}})},importSettings:function(){var e=this,t=jQuery;this.$confirm("This will permanently overwite all settings. Continue?","Warning",{confirmButtonText:"OK",cancelButtonText:"Cancel",type:"warning"}).then((function(){if(e.loading=!0,e.dialog_loading=!0,3===e.import_radio&&(e.import_input=e.$refs.upload.uploadFiles[0].raw),9===e.import_radio)try{e.import_input=JSON.parse(e.import_input)}catch(t){e.$notify.error({title:"Error",message:"Invalid input data"})}var n=new FormData;n.append("file",e.import_input),n.append("input_type",e.import_radio),n.append("action","_wpcommerce_admin_settings"),n.append("subaction","import_settings"),n.append("nonce",wpApiSettings.nonce),t.ajax({url:ajaxurl,type:"post",data:n,processData:!1,contentType:!1,success:function(t,n,a){e.loading=!1;var o=0==t.success?"error":"success";e.$notify({type:o,title:o,message:t.data,offset:30}),t.success&&(window.location=window.location)},error:function(t){e.$notify.error({title:"Error",message:t.statusText,offset:30})},complete:function(t){e.loading=!1,e.dialog_loading=!1}})})).catch((function(){e.loading=!1,e.dialog_loading=!1,e.$message({type:"info",message:"canceled"})}))}}},E=(n(38),Object(i.a)(A,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{style:{position:"relative"}},[n("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"settings-tab-area"},[e.tabs&&e.values?n("el-tabs",{staticClass:"main-tabs-list",attrs:{type:"border-card"}},e._l(e.tabs,(function(t){return n("el-tab-pane",{key:t.id},[n("span",{attrs:{slot:"label"},slot:"label"},[t.icon?n("i",{class:t.icon}):e._e(),e._v(" "+e._s(t.title))]),e._v(" "),t.children?n("el-tabs",{staticClass:"child-tabs-list",attrs:{type:"border-card"}},e._l(t.children,(function(t){return n("el-tab-pane",{key:t.id,attrs:{label:t.title}},[t.heading?n("h2",{staticClass:"tab-heading"},[e._v("\n "+e._s(t.heading)+"\n ")]):e._e(),e._v(" "),n("fields",{attrs:{fields:t.fields,values:e.values},on:{input:e.setValues}})],1)})),1):n("div",{staticClass:"settings-tab-content"},[t.heading?n("h2",{staticClass:"tab-heading"},[e._v(e._s(t.heading))]):e._e(),e._v(" "),n("Fields",{attrs:{fields:t.fields,values:e.values},on:{input:e.setValues}})],1)],1)})),1):e._e(),e._v(" "),n("div",{staticClass:"import-export-btns"},[n("el-tooltip",{staticClass:"item",attrs:{content:"Export Settings",placement:"top"}},[n("el-button",{attrs:{icon:"el-icon-upload2"},on:{click:function(t){return e.exportSettings()}}})],1),e._v(" "),n("el-tooltip",{staticClass:"item",attrs:{content:"Import Settings",placement:"top"}},[n("el-button",{attrs:{icon:"el-icon-download"},on:{click:function(t){e.dialogVisible=!0}}})],1),e._v(" "),n("el-dialog",{staticClass:"import-modal",attrs:{title:"IMPORT SETTINGS",visible:e.dialogVisible,width:"30%","before-close":e.handleClose},on:{"update:visible":function(t){e.dialogVisible=t}}},[n("div",{staticClass:"import-opt"},[n("el-radio-group",{model:{value:e.import_radio,callback:function(t){e.import_radio=t},expression:"import_radio"}},[n("el-radio",{attrs:{label:3}},[e._v("From File")]),e._v(" "),n("el-radio",{attrs:{label:6}},[e._v("From URL")]),e._v(" "),n("el-radio",{attrs:{label:9}},[e._v("Paste Content")])],1)],1),e._v(" "),3===e.import_radio?n("div",{staticClass:"chose-import-file"},[n("span",[e._v("Choose the import file")]),e._v(" "),n("el-upload",{ref:"upload",staticClass:"upload-demo",attrs:{accept:"application/json",action:"https://jsonplaceholder.typicode.com/posts/","auto-upload":!1}},[n("div",{staticClass:"el-upload__tip",attrs:{slot:"tip"},slot:"tip"},[e._v("\n Please Select a .json file.\n ")]),e._v(" "),n("el-button",{attrs:{slot:"trigger",size:"small",type:"primary"},slot:"trigger"},[e._v("Choose file")])],1)],1):6===e.import_radio?n("div",{staticClass:"url-import"},[n("el-input",{attrs:{placeholder:"Please URL"},model:{value:e.import_input,callback:function(t){e.import_input=t},expression:"import_input"}})],1):n("div",{staticClass:"paste-content-import"},[n("el-input",{attrs:{placehoder:"Please paste content here",type:"textarea",rows:"5"},model:{value:e.import_input,callback:function(t){e.import_input=t},expression:"import_input"}})],1),e._v(" "),n("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{on:{click:function(t){e.dialogVisible=!1}}},[e._v("Cancel")]),e._v(" "),n("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.importSettings()}}},[e._v("Import")])],1)])],1)],1),e._v(" "),n("div",{staticClass:"save-settings"},[n("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.saveChange()}}},[e._v("SAVE CHANGES")])],1)])}),[],!1,null,null,null).exports),T=window.ELEMENT;if(T.locale(window.ELEMENT.lang.en),window.$=jQuery,Vue.use(T),Vue.use(a.a),document.querySelector(".wpcm-settings-wrapper"))new Vue({components:{Settings:E},el:".wpcm-settings-wrapper",data:{},computed:{},mounted:function(){},methods:{}});document.getElementById("wpcm-admin-live-connect")&&new Vue({el:"#wpcm-admin-live-connect",components:{Connect:r}})},,,,,,,,,,,,,,,,function(e,t){}]); -
webinane-commerce/trunk/config/settings.php
r2384393 r2395882 1 1 <?php 2 use WebinaneCommerce\Fields\Country; 3 use WebinaneCommerce\Fields\Select; 4 use WebinaneCommerce\Fields\Switcher; 5 use WebinaneCommerce\Fields\Text; 2 6 3 7 return array( … … 13 17 'heading' => esc_html__('Address Information', 'webinane-commerce'), 14 18 'fields' => array( 15 array( 16 'label' => esc_html__( 'Address Line 1', 'webinane-commerce' ), 17 'help' => esc_html__( 'Enter the store address', 'webinane-commerce' ), 18 'id' => 'address_line_1', 19 'type' => 'el-input', 20 'default' => 'Webinane Plaza, 3rd Floor NY', 21 'props' => array( 22 'placeholder' => esc_html__('Address line 1') 23 ), 24 'col' => 12 25 ), 26 array( 27 'label' => esc_html__( 'Address Line 2', 'webinane-commerce' ), 28 'help' => esc_html__( 'Enter the store address', 'webinane-commerce' ), 29 'id' => 'address_line_2', 30 'type' => 'el-input', 31 'col' => 12 32 ), 33 array( 34 'label' => esc_html__( 'Base Country', 'webinane-commerce' ), 35 'help' => esc_html__( 'Choose the base country', 'webinane-commerce' ), 36 'id' => 'base_country', 37 'type' => 'country', 38 'default' => 'USA', 39 'options' => [], 40 'col' => 12, 41 'props' => [ 42 'state_id' => 'base_state', 43 'city_id' => 'base_city' 44 ] 45 ), 46 array( 47 'label' => esc_html__( 'Base State', 'webinane-commerce' ), 48 'help' => esc_html__( 'Choose the base country', 'webinane-commerce' ), 49 'id' => 'base_state', 50 'type' => 'state', 51 'default' => 'USA', 52 'options' => [], 53 'col' => 12, 54 'props' => [ 55 'state_id' => 'base_state', 56 'city_id' => 'base_city' 57 ] 58 ), 19 20 Country::make(__('Select Country and State', 'webinane-commerce'), 'base_country') 21 ->default(['country' => 'USA', 'state' => '']) 22 ->setHelp(esc_html__( 'Choose the base country and state', 'webinane-commerce' )), 23 Text::make(esc_html__('City', 'webinane-commerce'), 'base_city') 24 ->default('New York') 25 ->setHelp(esc_html__( 'Enter the base city', 'webinane-commerce' )), 26 Text::make(esc_html__('Add Address', 'webinane-commerce'), 'address_line_1') 27 ->default('Webinane Plaza, 3rd Floor NY') 28 ->setHelp(esc_html__( 'Enter the business address', 'webinane-commerce' )), 29 Text::make(esc_html__('Address Line 2', 'webinane-commerce'), 'address_line_2') 30 ->setHelp(esc_html__( 'Enter the business address', 'webinane-commerce' )), 31 Text::make(esc_html__('ZIP Code', 'webinane-commerce'), 'zip_code') 32 ->default('10200') 33 ->setHelp(esc_html__( 'Enter the ZIP / Postal Code', 'webinane-commerce' )), 59 34 60 35 ) … … 65 40 'heading' => esc_html__('Currency Information', 'webinane-commerce'), 66 41 'fields' => array( 67 array( 68 'label' => esc_html__( 'Base Currency', 'webinane-commerce' ), 69 'help' => esc_html__( 'Choose the base currency', 'webinane-commerce' ), 70 'id' => 'base_currency', 71 'type' => 'el-select', 72 'default' => 'USD', 73 'options' => wpcm_currency_assos_data(), 74 'main_heading' => esc_html__( 'Currency Options', 'webinane-commerce' ), 75 'col' => 12 76 ), 77 array( 78 'label' => esc_html__( 'Currency Position', 'webinane-commerce' ), 79 'help' => esc_html__( 'Choose the currency position', 'webinane-commerce' ), 80 'id' => 'currency_position', 81 'type' => 'el-select', 82 'options' => array( 83 'left' => esc_html__( 'Left', 'webinane-commerce' ), 84 'right' => esc_html__( 'Right', 'webinane-commerce' ), 85 'left_s' => esc_html__( 'Left with Space', 'webinane-commerce' ), 86 'right_s' => esc_html__( 'Right with Space', 'webinane-commerce' ), 87 ), 88 'col' => 6 89 ), 90 array( 91 'label' => esc_html__( 'Thousand Separator', 'webinane-commerce' ), 92 'help' => esc_html__( 'Enter the thousand amount saparator', 'webinane-commerce' ), 93 'id' => 'thousand_saparator', 94 'type' => 'el-input', 95 'default' => ',', 96 'col' => 6 97 ), 98 array( 99 'label' => esc_html__( 'Decimal Separator', 'webinane-commerce' ), 100 'help' => esc_html__( 'Enter the decimal amount saparator', 'webinane-commerce' ), 101 'id' => 'decimal_saparator', 102 'type' => 'el-input', 103 'default' => '.', 104 'col' => 6 105 ), 106 array( 107 'label' => esc_html__( 'Number of decimal', 'webinane-commerce' ), 108 'help' => esc_html__( 'Enter the number of decimals', 'webinane-commerce' ), 109 'id' => 'number_decimals', 110 'type' => 'el-input', 111 'default' => '2', 112 'col' => 6 113 ), 42 43 Select::make(esc_html__('Select Currency', 'webinane-commerce'), 'base_currency') 44 ->default('USD') 45 ->setOptions(wpcm_currency_assos_data()) 46 ->setHelp(esc_html__( 'Choose the base currency', 'webinane-commerce' )), 47 Select::make(esc_html__('Currency Symbol Position', 'webinane-commerce'), 'currency_position') 48 ->default('left') 49 ->setOptions([ 50 'left' => esc_html__( 'Left (eg: $2,000.00)', 'webinane-commerce' ), 51 'right' => esc_html__( 'Right (eg: 2,000.00$)', 'webinane-commerce' ), 52 'left_s' => esc_html__( 'Left with Space (eg: $ 2,000.00)', 'webinane-commerce' ), 53 'right_s' => esc_html__( 'Right with Space (eg: 2,000.00 $)', 'webinane-commerce' ), 54 ]) 55 ->setHelp(esc_html__( 'Choose the currency symbol position', 'webinane-commerce' )), 56 57 Text::make(esc_html__('Thousand Saparate', 'webinane-commerce'), 'thousand_saparator') 58 ->default(',') 59 ->setHelp(esc_html__( 'Enter the thousand amount saparator', 'webinane-commerce' )), 60 Text::make(esc_html__('Decimal Separator', 'webinane-commerce'), 'decimal_saparator') 61 ->default('.') 62 ->setHelp(esc_html__( 'Enter the decimal saparator', 'webinane-commerce' )), 63 Text::make(esc_html__('Number of decimals', 'webinane-commerce'), 'number_decimals') 64 ->default('.') 65 ->setHelp(esc_html__( 'Enter the number of decimals', 'webinane-commerce' )), 66 114 67 ) 115 68 ) … … 124 77 array( 125 78 'type' => 'gateway_tab', 126 'tabs' => apply_filters( 'wpcommerce_payment_gateways_setting_tabs', array() ) 79 'tabs' => apply_filters( 'wpcommerce_payment_gateways_setting_tabs', array() ), 80 'id' => 'gateways', 81 'default' => ['offline_gateway' => []] 127 82 ), 128 83 … … 134 89 'id' => 'display_settings', 135 90 'fields' => apply_filters( 'webinane_settings_display_settings', array( 136 array( 137 'label' => esc_html__( 'Checkout Page', 'webinane-commerce' ), 138 'help' => esc_html__( 'Choose the checkout page', 'webinane-commerce' ), 139 'id' => 'checkout_page', 140 'type' => 'el-select', 141 'options' => wpcm_posts_data( array( 'post_type' => 'page', 'posts_per_page' => 100 ) ), 142 'col' => 12 143 ), 144 array( 145 'label' => esc_html__( 'Order Success Page', 'webinane-commerce' ), 146 'help' => esc_html__( 'Choose the page to show when an order is successful', 'webinane-commerce' ), 147 'id' => 'success_page', 148 'type' => 'el-select', 149 'options' => wpcm_posts_data( array( 'post_type' => 'page', 'posts_per_page' => 100 ) ), 150 'col' => 12, 91 92 Select::make(esc_html__('Checkout Page', 'webinane-commerce'), 'checkout_page') 93 ->setOptions(wpcm_posts_data( array( 'post_type' => 'page', 'posts_per_page' => 100 ) )) 94 ->setHelp(esc_html__( 'Choose the checkout page', 'webinane-commerce' )), 151 95 152 ), 153 array( 154 'label' => esc_html__( 'My Account Page', 'webinane-commerce' ), 155 'help' => esc_html__( 'Choose the page to show when an order is successful', 'webinane-commerce' ), 156 'id' => 'my_account_page', 157 'type' => 'el-select', 158 'is' => 'wpcm-select-remote', 159 'options' => wpcm_posts_data( array( 'post_type' => 'page', 'posts_per_page' => 100 ) ), 160 'col' => 12 161 ), 162 array( 163 'label' => esc_html__( 'Redirect to Checkout', 'webinane-commerce' ), 164 'help' => esc_html__( 'Redirect user to checkout page after add to cart', 'webinane-commerce' ), 165 'id' => 'redirect_to_checkout', 166 'type' => 'el-switch', 167 'props' => [ 168 'active-text' => __('ON', 'webinane-commerce'), 169 'inactive-text' => __('OFF', 'webinane-commerce'), 170 ], 171 'col' => 12 172 ), 96 Select::make(esc_html__('Order Success Page', 'webinane-commerce'), 'success_page') 97 ->setOptions(wpcm_posts_data( array( 'post_type' => 'page', 'posts_per_page' => 100 ) )) 98 ->setHelp(esc_html__( 'Choose the to show when an order is successfull', 'webinane-commerce' )), 99 100 Select::make(esc_html__('My Account Page', 'webinane-commerce'), 'my_account_page') 101 ->setOptions(wpcm_posts_data( array( 'post_type' => 'page', 'posts_per_page' => 100 ) )) 102 ->setHelp(esc_html__( 'Choose the my account page', 'webinane-commerce' )), 103 104 Switcher::make(esc_html__('Redirect to Checkout', 'webinane-commerce'), 'redirect_to_checkout') 105 ->setHelp(esc_html__( 'Redirect user to checkout page after add to cart', 'webinane-commerce' )), 173 106 ) ) 174 107 ), -
webinane-commerce/trunk/includes/Admin/Dashboard.php
r2348872 r2395882 18 18 add_action( 'wp_ajax_webinane_commerc_dashboard_menus', array( $this, 'menus' ) ); 19 19 add_action( 'wp_ajax_webinane_commerce_dashboard_tables', array( $this, 'tables' ) ); 20 Enqueue::init();20 // Enqueue::init(); 21 21 } 22 22 -
webinane-commerce/trunk/includes/Admin/Settings.php
r2384393 r2395882 5 5 use WebinaneCommerce\Helpers\Connect; 6 6 use WebinaneCommerce\Helpers\MapOldFields; 7 use WebinaneCommerce\Helpers\SettingsResource; 7 8 8 9 /** … … 66 67 Connect::init(); 67 68 Dashboard::instance()->init(); 69 70 /*$settings = require_once WNCM_PATH . 'config/settings.php'; 71 $settings = apply_filters( 'wpcommerce_settings', $settings ); 72 $myins = (new SettingsResource($settings, wpcm_get_settings())); 73 $resolve = $myins->resolve(); 74 75 printr($myins->values);*/ 68 76 } 69 77 … … 140 148 $settings = apply_filters( 'wpcommerce_settings', $settings ); 141 149 142 $settings = self::instance()->make($settings); 150 $settings = (new SettingsResource($settings, wpcm_get_settings()))->resolve(); 151 // $settings = self::instance()->make($settings); 143 152 144 153 $options = wpcm_get_settings(false, true); … … 234 243 235 244 $settings = apply_filters( 'wpcommerce_settings', $settings ); 236 $list = wp_list_pluck( $settings, 'fields' );245 /*$list = wp_list_pluck( $settings, 'fields' ); 237 246 foreach( $list as $li ) { 238 247 foreach( $li as $field ) { … … 244 253 if(isset($options[0])) { 245 254 unset($options[0]); 246 } 255 }*/ 247 256 248 257 return $options; … … 285 294 static function register() { 286 295 self::$menu = add_menu_page( 287 esc_html__( 'WP Commerce Settings', 'webinane-commerce'),288 esc_html__('WP Commerce', 'webinane-commerce'),296 apply_filters( 'webinane_commerce/settings/page_heading', esc_html__( 'WP Commerce Settings', 'webinane-commerce' ) ), 297 apply_filters( 'webinane_commerce/settings/menu_label', esc_html__( 'WP Commerce', 'webinane-commerce' ) ), 289 298 'manage_options', 290 299 'wp-commerce-settings', 291 300 array(__CLASS__, 'output'), 292 WNCM_URL . 'assets/svg/cart.svg',301 apply_filters( 'webinane_commerce/settings/menu_icon', WNCM_URL . 'assets/svg/cart.svg' ), 293 302 40 294 303 ); -
webinane-commerce/trunk/includes/Classes/Enqueue.php
r2384393 r2395882 17 17 $trans = include WNCM_PATH . 'config/i18n.php'; 18 18 $version = (defined('WP_DEBUG') && WP_DEBUG ) ? time() : WPCM_VERSION; 19 20 $data = array(21 'ajaxurl' => admin_url( 'admin-ajax.php' ),22 'nonce' => wp_create_nonce( WPCM_GLOBAL_KEY ),23 'ajax_action' => WPCM_AJAX_ACTION,24 );25 wp_localize_script( 'vuejs', 'wpcm_data', $data );26 19 27 20 self::common(); … … 76 69 wp_register_style( 'wpcommerce_responsive', WNCM_URL . 'assets/css/responsive.css', array(), $version ); 77 70 71 $data = array( 72 'ajaxurl' => admin_url( 'admin-ajax.php' ), 73 'nonce' => wp_create_nonce( WPCM_GLOBAL_KEY ), 74 'ajax_action' => WPCM_AJAX_ACTION, 75 ); 76 wp_localize_script( 'vuejs', 'wpcm_data', $data ); 77 } 78 78 79 }80 79 static function admin_enqueue() { 81 80 $settings = wpcm_get_settings(); … … 88 87 89 88 self::common(); 89 self::styles(); 90 90 $version = (defined('WP_DEBUG') && WP_DEBUG ) ? time() : WPCM_VERSION; 91 91 -
webinane-commerce/trunk/includes/Classes/Extensions.php
r2348872 r2395882 44 44 $config = self::ext_config(); 45 45 46 if ( ! function_exists('is_plugin_active')) { 47 require_once ABSPATH . '/wp-admin/includes/plugin.php'; 48 } 49 46 50 foreach (self::$extensions as $file => $ext) { 47 48 51 if($found = array_get($config, $ext)) { 49 52 if(is_plugin_active( $ext )) { -
webinane-commerce/trunk/includes/Classes/Gateways.php
r2384393 r2395882 48 48 } 49 49 50 function computedValue($resource, $att) { 51 return array_get($resource, 'gateways.'.$this->id.'_gateway.'.$att); 52 } 53 50 54 public function jsonSerialize() { 51 55 return [ … … 54 58 'id' => $this->id, 55 59 'recurring' => $this->recurring, 56 'label' => $this->name,57 'name' => $this->name,60 'label' => ($this->title) ? $this->title : $this->name, 61 'name' => ($this->title) ? $this->title : $this->name, 58 62 'description' => $this->description, 59 63 'is_refundable' => $this->is_refundable, -
webinane-commerce/trunk/includes/Classes/MyAccount.php
r2348872 r2395882 415 415 wp_send_json(array('orders' => wp_list_pluck( $found_posts, 'ID' ), 'settings' => compact('symbol', 'position', 'strings', 'sep', 'd_sep', 'd_point'), 'customer' => $customer_data )); 416 416 } else { 417 wp_send_json_error( array('message' => esc_html__('You don\'t have any order', 'webinane-commerce' )) ); 417 $order_label = apply_filters('wpcm_order_admin_menu_label', esc_html__('Order', 'lifeline-donation')); 418 wp_send_json_error( array('message' => sprintf(esc_html__('You don\'t have any %s', 'lifeline-donation' ), $order_label)) ); 418 419 } 419 420 } -
webinane-commerce/trunk/includes/Classes/Orders.php
r2384393 r2395882 551 551 ); 552 552 } 553 554 553 $order->order_items = $order->items; 555 $gateway = $order->meta_data->_wpcm_order_gateway;554 $gateway = array_get($order->meta_data, '_wpcm_order_gateway'); 556 555 $meta_data = [ 557 556 [ … … 561 560 [ 562 561 'label' => esc_html__('Total', 'webinane-commerce'), 563 'value' => webinane_cm_price_with_symbol( $order->meta_data->_wpcm_order_total)562 'value' => webinane_cm_price_with_symbol(array_get($order->meta_data, '_wpcm_order_total')) 564 563 ] 565 564 ]; -
webinane-commerce/trunk/includes/Classes/Webinane.php
r2348872 r2395882 258 258 $wpdb->query("ALTER TABLE {$wpdb->prefix}wpcommerce_order_items ADD currency varchar(3) DEFAULT 'USD'"); 259 259 } 260 261 $settings = get_option('_wpcommerce_settings'); 262 if(! isset($settings['gateways'])) { 263 $settings['base_country'] = ['country' => $settings['base_country'], 'state' => $settings['base_state']]; 264 $settings['paypal_express_gateway'] = array_get($settings, 'paypal_express_gateway_status'); 265 $settings['offline_gateway'] = array_get($settings, 'offline_gateway_status'); 266 $settings['stripe_gateway'] = array_get($settings, 'stripe_gateway_status'); 267 268 $settings['gateways'] = array(); 269 $settings['gateways']['paypal_express_gateway'] = array( 270 'paypal_title' => array_get($settings, 'paypal_title'), 271 'paypal_description' => array_get( $settings, 'paypal_description'), 272 'paypal_email' => array_get( $settings, 'paypal_email'), 273 'paypal_api_username' => array_get( $settings, 'paypal_api_username'), 274 'paypal_api_signature' => array_get( $settings, 'paypal_api_signature'), 275 ); 276 $settings['gateways']['offline_gateway'] = array( 277 'offline_payment_description' => array_get( $settings, 'offline_payment_description'), 278 'offline_payment_instruction' => array_get( $settings, 'offline_payment_instruction'), 279 'offline_payment_title' => array_get( $settings, 'offline_payment_title'), 280 ); 281 $settings['gateways']['stripe_gateway'] = array( 282 'stripe_description' => array_get($settings, 'stripe_description'), 283 'stripe_private_key' => array_get($settings, 'stripe_private_key'), 284 'stripe_publishable_key' => array_get($settings, 'stripe_publishable_key'), 285 'stripe_title' => array_get( $settings, 'stripe_title'), 286 'stripe_webhook_signing_secret' => array_get($settings, 'stripe_webhook_signing_secret'), 287 ); 288 289 update_option('_wpcommerce_settings', $settings); 290 } 260 291 } 261 292 -
webinane-commerce/trunk/includes/Functions.php
r2384393 r2395882 445 445 $d_point = $settings->get('number_decimals', 0); // Decimal numbers 446 446 447 $price = number_format((float)$price, $d_point, $d_sep, $sep); // Aplly formation on number.447 $price = number_format((float)$price, (int)$d_point, $d_sep, $sep); // Aplly formation on number. 448 448 449 449 if( $position == 'right' ) { -
webinane-commerce/trunk/includes/Gateways/GatewayOffline.php
r2384393 r2395882 37 37 38 38 static function setup() { 39 $gateways = wpcm_get_settings()->get('gateways'); 39 40 self::instance()->name = esc_html__( 'Offline Payment', 'webinane-commerce' ); 40 41 self::instance()->desc = esc_html__( 'Pay offline via check or cash', 'webinane-commerce' ); 41 42 42 self::instance()->title = wpcm_get_settings()->get('offline_payment_title');43 self::instance()->description = '';43 self::instance()->title = array_get($gateways, 'offline_gateway.offline_payment_title'); 44 self::instance()->description = array_get($gateways, 'offline_gateway.offline_payment_description'); 44 45 self::instance()->icon = WNCM_URL . 'assets/images/offline-icon.png'; 45 46 } … … 80 81 'data-dependency_id' => 'offline_payment_status', 81 82 'data-dependency_value' => 'on' 82 ) 83 ), 84 'parent' => 'gateways.offline_gateway' 83 85 ), 84 86 array( -
webinane-commerce/trunk/includes/Gateways/GatewayPaypal.php
r2384393 r2395882 67 67 } 68 68 static function setup() { 69 $gateways = wpcm_get_settings()->get('gateways'); 69 70 self::instance()->name = esc_html__( 'PayPal Standard', 'webinane-commerce' ); 70 71 self::instance()->desc = esc_html__( 'Pay using PayPal', 'webinane-commerce' ); 71 self::instance()->title = wpcm_get_settings()->get('paypal_title');72 self::instance()->description = wpcm_get_settings()->get('paypal_description');72 self::instance()->title = array_get($gateways, 'paypal_express_gateway.paypal_title'); 73 self::instance()->description = array_get($gateways, 'paypal_express_gateway.paypal_description'); 73 74 self::instance()->icon = WNCM_URL . 'assets/images/paypal-icon.png'; 74 75 } … … 90 91 'icon' => 'fa fa-th', 91 92 'id' => 'paypal_express_gateway', 93 'heading' => esc_html__('PayPal Standard', 'webinane-commerce'), 92 94 "sandbox_help" => esc_html__('Enable sandbox mode to do test payments', 'webinane-commerce'), 93 95 "has_sandbox" => true, -
webinane-commerce/trunk/includes/Helpers/Api.php
r2384393 r2395882 18 18 19 19 /** 20 * Magic function to handle static or dynamic methods.21 *22 * @param string $method The method23 * @param array $parameters Array of parameters.24 * @return callable Returns nothing.25 */26 public function __call($method, $parameters = null) {27 if($method == 'exists') {28 return call_user_func_array(array($this, 'exists'), array(array($this->file)));29 }30 }31 32 public static function __callStatic($method, $parameters) {33 if($method == 'exists') {34 return call_user_func(__CLASS__.'::exists', $parameters);35 }36 }20 * Magic function to handle static or dynamic methods. 21 * 22 * @param string $method The method 23 * @param array $parameters Array of parameters. 24 * @return callable Returns nothing. 25 */ 26 public function __call($method, $parameters = null) { 27 if($method == 'exists') { 28 return call_user_func_array(array($this, 'exists'), array(array($this->file))); 29 } 30 } 31 32 public static function __callStatic($method, $parameters) { 33 if($method == 'exists') { 34 return call_user_func(__CLASS__.'::exists', $parameters); 35 } 36 } 37 37 38 38 /** … … 83 83 return self::$storage; 84 84 85 }86 87 /**85 } 86 87 /** 88 88 * remove storage. 89 89 * … … 92 92 public static function remove_storage() 93 93 { 94 if(!get_option(self::OPT_KEY)){95 return;96 }94 if(!get_option(self::OPT_KEY)){ 95 return; 96 } 97 97 98 98 return delete_option(self::OPT_KEY); … … 217 217 } 218 218 return false; 219 }219 } 220 220 221 221 /** … … 234 234 } 235 235 236 /**236 /** 237 237 * Get the status if disconnected or not. 238 238 * … … 240 240 */ 241 241 public static function is_disconnected() { 242 if(!Api::is_connected()){243 return;244 }245 $opt_disconnect = self::remove_storage();246 if(!$opt_disconnect){247 wp_send_json_error( ['message' => esc_html__('settings to disconnection is get wrong.', 'webinane-commerce')], 403 );248 }242 if(!Api::is_connected()){ 243 return; 244 } 245 $opt_disconnect = self::remove_storage(); 246 if(!$opt_disconnect){ 247 wp_send_json_error( ['message' => esc_html__('settings to disconnection is get wrong.', 'lifeline-donation')], 403 ); 248 } 249 249 return delete_transient( self::TRANSIENT ); 250 250 } … … 304 304 $body['expires_in'] = time() + $body['expires_in']; 305 305 update_option(self::OPT_KEY, $body); 306 set_transient( self::TRANSIENT, $body, DAY_IN_SECONDS );307 308 return ['message' => esc_html__('Connection is successful', ' webinane-commerce')];306 set_transient( self::TRANSIENT, $body, DAY_IN_SECONDS * 100 ); 307 308 return ['message' => esc_html__('Connection is successful', 'lifeline-donation')]; 309 309 310 310 } else { … … 312 312 if(json_decode($body)) { 313 313 // $body = json_decode($body); 314 return new WP_Error('failed', esc_html__( 'Wrong username or password, please try again with correct credentials', ' webinane-commerce' ));314 return new WP_Error('failed', esc_html__( 'Wrong username or password, please try again with correct credentials', 'lifeline-donation' )); 315 315 } else { 316 316 return new WP_Error('failed', $body); -
webinane-commerce/trunk/includes/Loader.php
r2348872 r2395882 30 30 defined('WPCM_AJAX_ACTION') || define('WPCM_AJAX_ACTION', '_wpcm_ajax'); 31 31 defined('WPCM_GLOBAL_KEY') || define('WPCM_GLOBAL_KEY', 'WPCM_GLOBAL_KEY'); 32 defined('WPCM_VERSION') || define('WPCM_VERSION', '2. 0');32 defined('WPCM_VERSION') || define('WPCM_VERSION', '2.2.1'); 33 33 } 34 34 -
webinane-commerce/trunk/languages/webinane-commerce.pot
r2384393 r2395882 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Webinane Commerce 2. 1.0\n"5 "Project-Id-Version: Webinane Commerce 2.2.0\n" 6 6 "Report-Msgid-Bugs-To: " 7 7 "https://wordpress.org/support/plugin/webinane-commerce\n" 8 "POT-Creation-Date: 2020-0 7-30 11:32:37+00:00\n"8 "POT-Creation-Date: 2020-09-18 12:20:29+00:00\n" 9 9 "MIME-Version: 1.0\n" 10 10 "Content-Type: text/plain; charset=utf-8\n" … … 26 26 "X-Generator: grunt-wp-i18n 1.0.3\n" 27 27 28 #: config/checkout_form.php:6 config/settings.php:6 29 #: includes/Admin/Settings.php:241 28 #: config/checkout_form.php:6 includes/Admin/Settings.php:288 30 29 msgid "WP Commerce" 31 30 msgstr "" … … 49 48 msgstr "" 50 49 51 #: config/checkout_form.php:25 config/settings.php:1 150 #: config/checkout_form.php:25 config/settings.php:16 52 51 #: templates/admin/order-metabox-basic.php:2 53 52 msgid "Address Line 1" … … 55 54 56 55 #: config/checkout_form.php:26 config/checkout_form.php:32 57 #: config/settings.php:1 2 config/settings.php:2056 #: config/settings.php:17 config/settings.php:28 58 57 msgid "Enter the store address" 59 58 msgstr "" 60 59 61 #: config/checkout_form.php:31 config/settings.php: 1960 #: config/checkout_form.php:31 config/settings.php:27 62 61 #: templates/admin/order-metabox-basic.php:3 63 62 msgid "Address Line 2" 64 63 msgstr "" 65 64 66 #: config/checkout_form.php:37 config/settings.php:44 67 #: templates/admin/order-metabox-basic.php:4 65 #: config/checkout_form.php:37 templates/admin/order-metabox-basic.php:4 68 66 msgid "City" 69 67 msgstr "" 70 68 71 #: config/checkout_form.php:38 config/settings.php:4569 #: config/checkout_form.php:38 72 70 msgid "Enter the store city" 73 71 msgstr "" 74 72 75 #: config/checkout_form.php:43 config/settings.php: 2673 #: config/checkout_form.php:43 config/settings.php:34 76 74 msgid "Base Country" 77 75 msgstr "" 78 76 79 #: config/checkout_form.php:44 config/my-account.php:93 config/settings.php:27 77 #: config/checkout_form.php:44 config/my-account.php:93 config/settings.php:35 78 #: config/settings.php:48 80 79 msgid "Choose the base country" 81 80 msgstr "" 82 81 83 #: config/checkout_form.php:50 config/my-account.php:127 config/settings.php:5382 #: config/checkout_form.php:50 config/my-account.php:127 84 83 msgid "Postcode / ZIP" 85 84 msgstr "" 86 85 87 #: config/checkout_form.php:51 config/my-account.php:128 config/settings.php:5486 #: config/checkout_form.php:51 config/my-account.php:128 88 87 msgid "Enter the postcode or ZIP" 89 88 msgstr "" … … 94 93 msgstr "" 95 94 96 #: config/i18n.php:6 includes/Classes/Orders.php:32 295 #: config/i18n.php:6 includes/Classes/Orders.php:326 97 96 #: templates/admin/order-metabox-items.php:8 templates/checkout/items.php:9 98 97 msgid "Cost" 99 98 msgstr "" 100 99 101 #: config/i18n.php:7 includes/Classes/Orders.php:32 3100 #: config/i18n.php:7 includes/Classes/Orders.php:327 102 101 #: templates/admin/order-metabox-items.php:9 templates/checkout/items.php:10 103 102 msgid "Qty" … … 111 110 112 111 #: config/i18n.php:9 includes/Classes/Emails.php:208 113 #: includes/Classes/Orders.php:32 4 includes/Classes/Orders.php:558114 #: includes/Classes/Orders.php:11 77templates/admin/order-metabox-items.php:10112 #: includes/Classes/Orders.php:328 includes/Classes/Orders.php:562 113 #: includes/Classes/Orders.php:1181 templates/admin/order-metabox-items.php:10 115 114 #: templates/checkout/items.php:11 templates/emails/customer-new-order.php:100 116 115 #: templates/emails/layouts/template.php:110 … … 185 184 msgstr "" 186 185 187 #: config/my-account.php:41 templates/admin/connect.php:6 1186 #: config/my-account.php:41 templates/admin/connect.php:62 188 187 #: templates/my-account/my-account.php:32 189 188 #: templates/my-account/my-account.php:80 … … 311 310 msgstr "" 312 311 313 #: config/settings.php:35 314 msgid "State" 315 msgstr "" 316 317 #: config/settings.php:36 318 msgid "Choose the base state" 319 msgstr "" 320 321 #: config/settings.php:62 312 #: config/settings.php:6 313 msgid "General" 314 msgstr "" 315 316 #: config/settings.php:12 317 msgid "Address Info" 318 msgstr "" 319 320 #: config/settings.php:13 321 msgid "Address Information" 322 msgstr "" 323 324 #: config/settings.php:22 325 msgid "Address line 1" 326 msgstr "" 327 328 #: config/settings.php:47 329 msgid "Base State" 330 msgstr "" 331 332 #: config/settings.php:64 333 msgid "Currency Info" 334 msgstr "" 335 336 #: config/settings.php:65 337 msgid "Currency Information" 338 msgstr "" 339 340 #: config/settings.php:68 322 341 msgid "Base Currency" 323 342 msgstr "" 324 343 325 #: config/settings.php:6 3344 #: config/settings.php:69 326 345 msgid "Choose the base currency" 327 346 msgstr "" 328 347 329 #: config/settings.php: 69348 #: config/settings.php:74 330 349 msgid "Currency Options" 331 350 msgstr "" 332 351 333 #: config/settings.php:7 2352 #: config/settings.php:78 334 353 msgid "Currency Position" 335 354 msgstr "" 336 355 337 #: config/settings.php:7 3356 #: config/settings.php:79 338 357 msgid "Choose the currency position" 339 358 msgstr "" 340 359 341 #: config/settings.php: 78360 #: config/settings.php:83 342 361 msgid "Left" 343 362 msgstr "" 344 363 345 #: config/settings.php: 79364 #: config/settings.php:84 346 365 msgid "Right" 347 366 msgstr "" 348 367 349 #: config/settings.php:8 0368 #: config/settings.php:85 350 369 msgid "Left with Space" 351 370 msgstr "" 352 371 353 #: config/settings.php:8 1372 #: config/settings.php:86 354 373 msgid "Right with Space" 355 374 msgstr "" 356 375 357 #: config/settings.php: 85376 #: config/settings.php:91 358 377 msgid "Thousand Separator" 359 378 msgstr "" 360 379 361 #: config/settings.php: 86380 #: config/settings.php:92 362 381 msgid "Enter the thousand amount saparator" 363 382 msgstr "" 364 383 365 #: config/settings.php:9 3384 #: config/settings.php:99 366 385 msgid "Decimal Separator" 367 386 msgstr "" 368 387 369 #: config/settings.php: 94388 #: config/settings.php:100 370 389 msgid "Enter the decimal amount saparator" 371 390 msgstr "" 372 391 373 #: config/settings.php:10 1392 #: config/settings.php:107 374 393 msgid "Number of decimal" 375 394 msgstr "" 376 395 377 #: config/settings.php:10 2396 #: config/settings.php:108 378 397 msgid "Enter the number of decimals" 379 398 msgstr "" 380 399 381 #: config/settings.php:112 config/settings.php:117 382 msgid "Payment Settings" 383 msgstr "" 384 385 #: config/settings.php:118 386 msgid "Enable Offline Payments" 400 #: config/settings.php:120 401 msgid "Payments" 402 msgstr "" 403 404 #: config/settings.php:132 405 msgid "Display" 406 msgstr "" 407 408 #: config/settings.php:137 409 msgid "Checkout Page" 410 msgstr "" 411 412 #: config/settings.php:138 413 msgid "Choose the checkout page" 387 414 msgstr "" 388 415 389 416 #: config/settings.php:145 390 msgid "Display Settings"391 msgstr ""392 393 #: config/settings.php:150394 msgid "Checkout Page"395 msgstr ""396 397 #: config/settings.php:151398 msgid "Choose the checkout page"399 msgstr ""400 401 #: config/settings.php:162402 417 msgid "Order Success Page" 403 418 msgstr "" 404 419 405 #: config/settings.php:1 63 config/settings.php:172420 #: config/settings.php:146 config/settings.php:155 406 421 msgid "Choose the page to show when an order is successful" 407 422 msgstr "" 408 423 409 #: config/settings.php:1 71424 #: config/settings.php:154 410 425 msgid "My Account Page" 411 426 msgstr "" 412 427 413 #: config/settings.php:1 84428 #: config/settings.php:163 414 429 msgid "Redirect to Checkout" 415 430 msgstr "" 416 431 417 #: config/settings.php:1 85432 #: config/settings.php:164 418 433 msgid "Redirect user to checkout page after add to cart" 434 msgstr "" 435 436 #: config/settings.php:168 437 msgid "ON" 438 msgstr "" 439 440 #: config/settings.php:169 441 msgid "OFF" 419 442 msgstr "" 420 443 … … 447 470 msgstr "" 448 471 449 #: includes/Admin/Settings.php: 35472 #: includes/Admin/Settings.php:54 450 473 msgid "WPCM Checkout Page" 451 474 msgstr "" 452 475 453 #: includes/Admin/Settings.php: 37476 #: includes/Admin/Settings.php:56 454 477 msgid "WPCM Order Success Page" 455 478 msgstr "" 456 479 457 #: includes/Admin/Settings.php: 39480 #: includes/Admin/Settings.php:58 458 481 msgid "WPCM My Account Page" 459 482 msgstr "" 460 483 461 #: includes/Admin/Settings.php:1 13484 #: includes/Admin/Settings.php:131 462 485 msgid "Sucurity verification failed" 463 486 msgstr "" 464 487 465 #: includes/Admin/Settings.php:1 17 includes/Admin/Settings.php:368488 #: includes/Admin/Settings.php:135 includes/Admin/Settings.php:415 466 489 #: includes/Classes/Customers.php:286 includes/Classes/Customers.php:319 467 490 #: includes/Classes/Customers.php:333 includes/Classes/Customers.php:359 468 #: includes/Classes/Metaboxes.php: 73includes/Classes/MyAccount.php:90469 #: includes/Classes/Orders.php:7 76 includes/Classes/Orders.php:826470 #: includes/Classes/Orders.php:86 2491 #: includes/Classes/Metaboxes.php:90 includes/Classes/MyAccount.php:90 492 #: includes/Classes/Orders.php:780 includes/Classes/Orders.php:830 493 #: includes/Classes/Orders.php:866 471 494 msgid "You are not authorized" 472 495 msgstr "" 473 496 474 #: includes/Admin/Settings.php:1 44475 msgid "Settings updated"476 msgstr "" 477 478 #: includes/Admin/Settings.php:1 46includes/Classes/Checkout.php:153479 #: includes/Classes/Orders.php: 896 includes/Gateways/GatewayPaypal.php:354497 #: includes/Admin/Settings.php:165 498 msgid "Settings are updated successfully" 499 msgstr "" 500 501 #: includes/Admin/Settings.php:167 includes/Classes/Checkout.php:153 502 #: includes/Classes/Orders.php:900 includes/Gateways/GatewayPaypal.php:352 480 503 msgid "Something went wrong" 481 504 msgstr "" 482 505 483 #: includes/Admin/Settings.php:168 506 #: includes/Admin/Settings.php:188 507 msgid "Invalid File provided" 508 msgstr "" 509 510 #: includes/Admin/Settings.php:196 511 msgid "Invalid URL Provided" 512 msgstr "" 513 514 #: includes/Admin/Settings.php:215 484 515 msgid "Please provide a proper json data" 485 516 msgstr "" 486 517 487 #: includes/Admin/Settings.php: 172518 #: includes/Admin/Settings.php:219 488 519 msgid "Settings are imported successfully" 489 520 msgstr "" 490 521 491 #: includes/Admin/Settings.php:2 40522 #: includes/Admin/Settings.php:287 492 523 msgid "WP Commerce Settings" 493 524 msgstr "" 494 525 495 #: includes/Admin/Settings.php:2 50 includes/Admin/Settings.php:251526 #: includes/Admin/Settings.php:297 includes/Admin/Settings.php:298 496 527 msgid "Dashboard" 497 528 msgstr "" 498 529 499 #: includes/Admin/Settings.php: 259530 #: includes/Admin/Settings.php:306 500 531 msgid "Webinane Extensions" 501 532 msgstr "" 502 533 503 #: includes/Admin/Settings.php: 260534 #: includes/Admin/Settings.php:307 504 535 msgid "Extensions" 505 536 msgstr "" 506 537 507 #: includes/Admin/Settings.php: 271includes/Classes/MyAccount.php:406538 #: includes/Admin/Settings.php:318 includes/Classes/MyAccount.php:406 508 539 #: includes/Classes/Orders.php:193 includes/Classes/Orders.php:204 509 540 #: templates/emails/customer-new-order.php:10 … … 514 545 msgstr "" 515 546 516 #: includes/Admin/Settings.php: 384547 #: includes/Admin/Settings.php:431 517 548 msgid "File is valid, and was successfully uploaded." 518 549 msgstr "" … … 634 665 msgstr "" 635 666 636 #: includes/Classes/Emails.php:213 includes/Classes/Orders.php:34 5637 #: includes/Classes/Orders.php:6 37667 #: includes/Classes/Emails.php:213 includes/Classes/Orders.php:349 668 #: includes/Classes/Orders.php:641 638 669 msgid "Pending Payment" 639 670 msgstr "" 640 671 641 #: includes/Classes/Emails.php:214 includes/Classes/Orders.php:3 46642 #: includes/Classes/Orders.php:6 38672 #: includes/Classes/Emails.php:214 includes/Classes/Orders.php:350 673 #: includes/Classes/Orders.php:642 643 674 msgid "Processing" 644 675 msgstr "" 645 676 646 #: includes/Classes/Emails.php:215 includes/Classes/Orders.php:3 47647 #: includes/Classes/Orders.php:6 39677 #: includes/Classes/Emails.php:215 includes/Classes/Orders.php:351 678 #: includes/Classes/Orders.php:643 648 679 msgid "On Hold" 649 680 msgstr "" 650 681 651 #: includes/Classes/Emails.php:216 includes/Classes/Orders.php:3 48652 #: includes/Classes/Orders.php:64 0682 #: includes/Classes/Emails.php:216 includes/Classes/Orders.php:352 683 #: includes/Classes/Orders.php:644 653 684 msgid "Completed" 654 685 msgstr "" 655 686 656 #: includes/Classes/Emails.php:217 includes/Classes/Orders.php:3 49657 #: includes/Classes/Orders.php:64 1687 #: includes/Classes/Emails.php:217 includes/Classes/Orders.php:353 688 #: includes/Classes/Orders.php:645 658 689 msgid "Cancelled" 659 690 msgstr "" 660 691 661 #: includes/Classes/Emails.php:218 includes/Classes/Orders.php:35 0662 #: includes/Classes/Orders.php:64 2692 #: includes/Classes/Emails.php:218 includes/Classes/Orders.php:354 693 #: includes/Classes/Orders.php:646 663 694 msgid "Refunded" 664 695 msgstr "" 665 696 666 #: includes/Classes/Emails.php:219 includes/Classes/Orders.php:35 1667 #: includes/Classes/Orders.php:64 3697 #: includes/Classes/Emails.php:219 includes/Classes/Orders.php:355 698 #: includes/Classes/Orders.php:647 668 699 msgid "Failed" 669 700 msgstr "" … … 681 712 msgstr "" 682 713 683 #: includes/Classes/Metaboxes.php: 83 includes/Gateways/GatewayPaypal.php:374714 #: includes/Classes/Metaboxes.php:100 includes/Gateways/GatewayPaypal.php:373 684 715 msgid "There is something went wrong" 685 716 msgstr "" 686 717 687 #: includes/Classes/Metaboxes.php: 94718 #: includes/Classes/Metaboxes.php:111 688 719 msgid "Updated Susscessfully" 689 720 msgstr "" … … 839 870 msgstr "" 840 871 841 #: includes/Classes/Orders.php:2 47 includes/Classes/Orders.php:265842 #: includes/Classes/Orders.php:2 66 includes/Classes/Orders.php:304872 #: includes/Classes/Orders.php:251 includes/Classes/Orders.php:269 873 #: includes/Classes/Orders.php:270 includes/Classes/Orders.php:308 843 874 msgid "Export Orders" 844 875 msgstr "" 845 876 846 #: includes/Classes/Orders.php:3 08877 #: includes/Classes/Orders.php:312 847 878 msgid "Export orders to a CSV file" 848 879 msgstr "" 849 880 850 #: includes/Classes/Orders.php:3 09881 #: includes/Classes/Orders.php:313 851 882 msgid "" 852 883 "This tool allows you to generate and download a CSV file containing a list " … … 854 885 msgstr "" 855 886 856 #: includes/Classes/Orders.php:3 16887 #: includes/Classes/Orders.php:320 857 888 msgid "Which columns should be exported?" 858 889 msgstr "" 859 890 860 #: includes/Classes/Orders.php:32 0891 #: includes/Classes/Orders.php:324 861 892 msgid "ID" 862 893 msgstr "" 863 894 864 #: includes/Classes/Orders.php:32 1895 #: includes/Classes/Orders.php:325 865 896 msgid "Name" 866 897 msgstr "" 867 898 868 #: includes/Classes/Orders.php:32 5templates/orders/offline-order-detail.php:53899 #: includes/Classes/Orders.php:329 templates/orders/offline-order-detail.php:53 869 900 #: templates/orders/paypal-order-detail.php:54 870 901 msgid "Currency" 871 902 msgstr "" 872 903 873 #: includes/Classes/Orders.php:3 26904 #: includes/Classes/Orders.php:330 874 905 msgid "Status" 875 906 msgstr "" 876 907 877 #: includes/Classes/Orders.php:3 27908 #: includes/Classes/Orders.php:331 878 909 msgid "Date Created" 879 910 msgstr "" 880 911 881 #: includes/Classes/Orders.php:3 28912 #: includes/Classes/Orders.php:332 882 913 msgid "Customer Name" 883 914 msgstr "" 884 915 885 #: includes/Classes/Orders.php:3 29 includes/Classes/Orders.php:1178886 #: templates/admin/connect.php:5 8templates/checkout/billing.php:46916 #: includes/Classes/Orders.php:333 includes/Classes/Orders.php:1182 917 #: templates/admin/connect.php:59 templates/checkout/billing.php:46 887 918 #: templates/my-account/my-account.php:73 888 919 msgid "Email" 889 920 msgstr "" 890 921 891 #: includes/Classes/Orders.php:33 0 includes/Classes/Orders.php:554892 #: includes/Classes/Orders.php:11 79922 #: includes/Classes/Orders.php:334 includes/Classes/Orders.php:558 923 #: includes/Classes/Orders.php:1183 893 924 #: templates/orders/offline-order-detail.php:35 894 925 #: templates/orders/paypal-order-detail.php:33 … … 896 927 msgstr "" 897 928 898 #: includes/Classes/Orders.php:33 1 includes/Gateways/GatewayOffline.php:174899 #: includes/Gateways/GatewayPaypal.php:97 1929 #: includes/Classes/Orders.php:335 includes/Gateways/GatewayOffline.php:169 930 #: includes/Gateways/GatewayPaypal.php:970 900 931 msgid "Recurring" 901 932 msgstr "" 902 933 903 #: includes/Classes/Orders.php:33 2 includes/Gateways/GatewayOffline.php:184904 #: includes/Gateways/GatewayPaypal.php:98 2934 #: includes/Classes/Orders.php:336 includes/Gateways/GatewayOffline.php:179 935 #: includes/Gateways/GatewayPaypal.php:981 905 936 msgid "Recurring Cycle" 906 937 msgstr "" 907 938 908 #: includes/Classes/Orders.php:33 3 includes/Gateways/GatewayOffline.php:188909 #: includes/Gateways/GatewayPaypal.php:98 6939 #: includes/Classes/Orders.php:337 includes/Gateways/GatewayOffline.php:183 940 #: includes/Gateways/GatewayPaypal.php:985 910 941 msgid "Recurring Frequency" 911 942 msgstr "" 912 943 913 #: includes/Classes/Orders.php:3 39944 #: includes/Classes/Orders.php:343 914 945 msgid "Which order status should be exported?" 915 946 msgstr "" 916 947 917 #: includes/Classes/Orders.php:36 2948 #: includes/Classes/Orders.php:366 918 949 msgid "Start Date" 919 950 msgstr "" 920 951 921 #: includes/Classes/Orders.php:37 0952 #: includes/Classes/Orders.php:374 922 953 msgid "End Date" 923 954 msgstr "" 924 955 925 #: includes/Classes/Orders.php:38 2956 #: includes/Classes/Orders.php:386 926 957 msgid "Generate CSV" 927 958 msgstr "" 928 959 929 #: includes/Classes/Orders.php:52 0960 #: includes/Classes/Orders.php:524 930 961 msgid "No replacement" 931 962 msgstr "" 932 963 933 #: includes/Classes/Orders.php:68 1964 #: includes/Classes/Orders.php:685 934 965 msgid "Processing <span class=\"count\">(%s)</span>" 935 966 msgid_plural "Processing <span class=\"count\">(%s)</span>" … … 937 968 msgstr[1] "" 938 969 939 #: includes/Classes/Orders.php:69 2970 #: includes/Classes/Orders.php:696 940 971 msgid "Pending Payment <span class=\"count\">(%s)</span>" 941 972 msgid_plural "Pending Payment <span class=\"count\">(%s)</span>" … … 943 974 msgstr[1] "" 944 975 945 #: includes/Classes/Orders.php:70 4976 #: includes/Classes/Orders.php:708 946 977 msgid "On Hold <span class=\"count\">(%s)</span>" 947 978 msgid_plural "On Hold <span class=\"count\">(%s)</span>" … … 949 980 msgstr[1] "" 950 981 951 #: includes/Classes/Orders.php:7 16982 #: includes/Classes/Orders.php:720 952 983 msgid "Completed <span class=\"count\">(%s)</span>" 953 984 msgid_plural "Completed <span class=\"count\">(%s)</span>" … … 955 986 msgstr[1] "" 956 987 957 #: includes/Classes/Orders.php:7 28988 #: includes/Classes/Orders.php:732 958 989 msgid "Cancelled <span class=\"count\">(%s)</span>" 959 990 msgid_plural "Cancelled <span class=\"count\">(%s)</span>" … … 961 992 msgstr[1] "" 962 993 963 #: includes/Classes/Orders.php:7 39994 #: includes/Classes/Orders.php:743 964 995 msgid "Refunded <span class=\"count\">(%s)</span>" 965 996 msgid_plural "Refunded <span class=\"count\">(%s)</span>" … … 967 998 msgstr[1] "" 968 999 969 #: includes/Classes/Orders.php:75 01000 #: includes/Classes/Orders.php:754 970 1001 msgid "Failed <span class=\"count\">(%s)</span>" 971 1002 msgid_plural "Failed <span class=\"count\">(%s)</span>" … … 973 1004 msgstr[1] "" 974 1005 975 #: includes/Classes/Orders.php:81 21006 #: includes/Classes/Orders.php:816 976 1007 msgid "Successfully updated" 977 1008 msgstr "" 978 1009 979 #: includes/Classes/Orders.php:83 11010 #: includes/Classes/Orders.php:835 980 1011 msgid "Invalid Post id" 981 1012 msgstr "" 982 1013 983 #: includes/Classes/Orders.php:83 41014 #: includes/Classes/Orders.php:838 984 1015 msgid "No order found for the given ID" 985 1016 msgstr "" 986 1017 987 #: includes/Classes/Orders.php:87 21018 #: includes/Classes/Orders.php:876 988 1019 msgid "Invalid order data provided" 989 1020 msgstr "" 990 1021 991 #: includes/Classes/Orders.php:89 31022 #: includes/Classes/Orders.php:897 992 1023 msgid "Order updated successfully" 993 1024 msgstr "" 994 1025 995 #: includes/Classes/Orders.php:9 08 includes/Classes/Orders.php:981996 #: includes/Classes/Orders.php:10 49 includes/Classes/Orders.php:1101997 #: includes/Classes/Orders.php:11 26 includes/Classes/Orders.php:1155998 #: includes/Classes/Orders.php:12 491026 #: includes/Classes/Orders.php:912 includes/Classes/Orders.php:985 1027 #: includes/Classes/Orders.php:1053 includes/Classes/Orders.php:1105 1028 #: includes/Classes/Orders.php:1130 includes/Classes/Orders.php:1159 1029 #: includes/Classes/Orders.php:1253 999 1030 #. translators: it replaces the email address. 1000 1031 msgid "You are not authorized to do that" 1001 1032 msgstr "" 1002 1033 1003 #: includes/Classes/Orders.php:9 38 includes/Classes/Orders.php:10341034 #: includes/Classes/Orders.php:942 includes/Classes/Orders.php:1038 1004 1035 msgid "Item is updated successfully" 1005 1036 msgstr "" 1006 1037 1007 #: includes/Classes/Orders.php:9 89 includes/Classes/Orders.php:10041038 #: includes/Classes/Orders.php:993 includes/Classes/Orders.php:1008 1008 1039 msgid "Product doesn't exist" 1009 1040 msgstr "" 1010 1041 1011 #: includes/Classes/Orders.php: 9981042 #: includes/Classes/Orders.php:1002 1012 1043 msgid "Product pricie is not available" 1013 1044 msgstr "" 1014 1045 1015 #: includes/Classes/Orders.php:10 281046 #: includes/Classes/Orders.php:1032 1016 1047 msgid "Item is already in order, please update its quantity" 1017 1048 msgstr "" 1018 1049 1019 #: includes/Classes/Orders.php:108 5 includes/Classes/Orders.php:11111050 #: includes/Classes/Orders.php:1089 includes/Classes/Orders.php:1115 1020 1051 msgid "Note added successfully" 1021 1052 msgstr "" 1022 1053 1023 #: includes/Classes/Orders.php:11 39 includes/Classes/Orders.php:11641054 #: includes/Classes/Orders.php:1143 includes/Classes/Orders.php:1168 1024 1055 msgid "Note deleted successfully" 1025 1056 msgstr "" 1026 1057 1027 #: includes/Classes/Orders.php:11 761058 #: includes/Classes/Orders.php:1180 1028 1059 msgid "Donor" 1029 1060 msgstr "" 1030 1061 1031 #: includes/Classes/Orders.php:118 01062 #: includes/Classes/Orders.php:1184 1032 1063 msgid "Number of Items" 1033 1064 msgstr "" 1034 1065 1035 #: includes/Classes/Orders.php:118 11066 #: includes/Classes/Orders.php:1185 1036 1067 msgid "Date" 1037 1068 msgstr "" 1038 1069 1039 #: includes/Classes/Orders.php:138 21070 #: includes/Classes/Orders.php:1380 1040 1071 msgid "You have no permissions to do that" 1041 1072 msgstr "" 1042 1073 1074 #: includes/Classes/Orders.php:1391 1075 msgid "Refund is processed successfully" 1076 msgstr "" 1077 1043 1078 #: includes/Classes/Orders.php:1393 1044 msgid "Refund is processed successfully"1045 msgstr ""1046 1047 #: includes/Classes/Orders.php:13951048 1079 msgid "Gateway is not enabled" 1049 1080 msgstr "" 1050 1081 1051 #: includes/Classes/Orders.php:139 81082 #: includes/Classes/Orders.php:1396 1052 1083 msgid "Invalid gateway" 1053 1084 msgstr "" … … 1077 1108 msgstr "" 1078 1109 1079 #: includes/Functions.php:57 31110 #: includes/Functions.php:576 1080 1111 msgid "Security check is failed, please refresh the page and try again" 1081 1112 msgstr "" … … 1090 1121 1091 1122 #: includes/Gateways/GatewayOffline.php:68 1123 #: includes/Gateways/GatewayOffline.php:70 1092 1124 msgid "Offline Gateway" 1093 1125 msgstr "" 1094 1126 1095 #: includes/Gateways/GatewayOffline.php:7 31096 #: includes/Gateways/GatewayPaypal.php: 1011127 #: includes/Gateways/GatewayOffline.php:75 1128 #: includes/Gateways/GatewayPaypal.php:97 1097 1129 msgid "Title" 1098 1130 msgstr "" 1099 1131 1100 #: includes/Gateways/GatewayOffline.php:7 41101 #: includes/Gateways/GatewayPaypal.php: 1021132 #: includes/Gateways/GatewayOffline.php:76 1133 #: includes/Gateways/GatewayPaypal.php:98 1102 1134 msgid "Title to show on the checkout page" 1103 1135 msgstr "" 1104 1136 1105 #: includes/Gateways/GatewayOffline.php:8 41106 #: includes/Gateways/GatewayPaypal.php:1 121137 #: includes/Gateways/GatewayOffline.php:85 1138 #: includes/Gateways/GatewayPaypal.php:108 1107 1139 #: templates/orders/offline-order-detail.php:31 1108 1140 msgid "Description" 1109 1141 msgstr "" 1110 1142 1111 #: includes/Gateways/GatewayOffline.php:8 51112 #: includes/Gateways/GatewayPaypal.php:1 131143 #: includes/Gateways/GatewayOffline.php:86 1144 #: includes/Gateways/GatewayPaypal.php:109 1113 1145 msgid "Description to show on the checkout page" 1114 1146 msgstr "" … … 1122 1154 msgstr "" 1123 1155 1124 #: includes/Gateways/GatewayOffline.php:13 51156 #: includes/Gateways/GatewayOffline.php:134 1125 1157 msgid "The gateway is not active, please try another gateway" 1126 1158 msgstr "" 1127 1159 1128 #: includes/Gateways/GatewayOffline.php:17 51129 #: includes/Gateways/GatewayPaypal.php:97 21160 #: includes/Gateways/GatewayOffline.php:170 1161 #: includes/Gateways/GatewayPaypal.php:971 1130 1162 msgid "YES" 1131 1163 msgstr "" 1132 1164 1133 #: includes/Gateways/GatewayOffline.php:17 51134 #: includes/Gateways/GatewayPaypal.php:97 21165 #: includes/Gateways/GatewayOffline.php:170 1166 #: includes/Gateways/GatewayPaypal.php:971 1135 1167 msgid "NO" 1136 1168 msgstr "" … … 1145 1177 msgstr "" 1146 1178 1147 #: includes/Gateways/GatewayPaypal.php:94 1148 msgid "PayPal Sandbox" 1149 msgstr "" 1150 1151 #: includes/Gateways/GatewayPaypal.php:95 1152 msgid "Enable whether to accept sandbox payments. Disable to accept live payments" 1153 msgstr "" 1154 1155 #: includes/Gateways/GatewayPaypal.php:123 1179 #: includes/Gateways/GatewayPaypal.php:92 1180 msgid "Enable sandbox mode to do test payments" 1181 msgstr "" 1182 1183 #: includes/Gateways/GatewayPaypal.php:119 1156 1184 msgid "PayPal Email" 1157 1185 msgstr "" 1158 1186 1159 #: includes/Gateways/GatewayPaypal.php:12 41187 #: includes/Gateways/GatewayPaypal.php:120 1160 1188 msgid "Please enter your PayPal email, it is need to take the orders" 1161 1189 msgstr "" 1162 1190 1163 #: includes/Gateways/GatewayPaypal.php:13 41191 #: includes/Gateways/GatewayPaypal.php:130 1164 1192 msgid "API Username" 1165 1193 msgstr "" 1166 1194 1167 #: includes/Gateways/GatewayPaypal.php:13 51195 #: includes/Gateways/GatewayPaypal.php:131 1168 1196 msgid "" 1169 1197 "Please enter your PayPal live API username, Learn how to access <a " … … 1173 1201 msgstr "" 1174 1202 1175 #: includes/Gateways/GatewayPaypal.php:14 51203 #: includes/Gateways/GatewayPaypal.php:141 1176 1204 msgid "API Password" 1177 1205 msgstr "" 1178 1206 1179 #: includes/Gateways/GatewayPaypal.php:14 61207 #: includes/Gateways/GatewayPaypal.php:142 1180 1208 msgid "Please enter your PayPal live API password" 1181 1209 msgstr "" 1182 1210 1183 #: includes/Gateways/GatewayPaypal.php:15 61211 #: includes/Gateways/GatewayPaypal.php:152 1184 1212 msgid "API Signature" 1185 1213 msgstr "" 1186 1214 1187 #: includes/Gateways/GatewayPaypal.php:15 71215 #: includes/Gateways/GatewayPaypal.php:153 1188 1216 msgid "" 1189 1217 "Please enter your PayPal live API signature, the IPN listening URL should " … … 1191 1219 msgstr "" 1192 1220 1193 #: includes/Gateways/GatewayPaypal.php:31 61194 #: includes/Gateways/GatewayPaypal.php:65 41221 #: includes/Gateways/GatewayPaypal.php:314 1222 #: includes/Gateways/GatewayPaypal.php:653 1195 1223 msgid "Billing agreement" 1196 1224 msgstr "" 1197 1225 1198 #: includes/Gateways/GatewayPaypal.php:74 31226 #: includes/Gateways/GatewayPaypal.php:742 1199 1227 msgid "Invalid profile ID" 1200 1228 msgstr "" 1201 1229 1202 #: includes/Gateways/GatewayPaypal.php:91 21230 #: includes/Gateways/GatewayPaypal.php:911 1203 1231 msgid "Payment was not completed, cannot give refund" 1204 1232 msgstr "" 1205 1233 1206 #: includes/Gateways/GatewayPaypal.php:95 61234 #: includes/Gateways/GatewayPaypal.php:955 1207 1235 msgid "Refund is processed successfully in PayPal" 1208 1236 msgstr "" … … 1252 1280 msgstr "" 1253 1281 1254 #: templates/admin/connect.php: 81282 #: templates/admin/connect.php:9 1255 1283 msgid "Connect" 1256 1284 msgstr "" 1257 1285 1258 #: templates/admin/connect.php:2 11286 #: templates/admin/connect.php:22 1259 1287 msgid "Our Extensions" 1260 1288 msgstr "" 1261 1289 1262 #: templates/admin/connect.php:2 21290 #: templates/admin/connect.php:23 1263 1291 msgid "Disconnect" 1264 1292 msgstr "" 1265 1293 1266 #: templates/admin/connect.php:3 51267 msgid "I install"1268 msgstr "" 1269 1270 #: templates/admin/connect.php:3 81294 #: templates/admin/connect.php:36 1295 msgid "Install" 1296 msgstr "" 1297 1298 #: templates/admin/connect.php:39 1271 1299 msgid "Activate" 1272 1300 msgstr "" 1273 1301 1274 #: templates/admin/connect.php:4 11302 #: templates/admin/connect.php:42 1275 1303 msgid "Buy Now" 1276 1304 msgstr "" 1277 1305 1278 #: templates/admin/connect.php:5 51306 #: templates/admin/connect.php:56 1279 1307 msgid "Login in to Connect" 1280 1308 msgstr "" 1281 1309 1282 #: templates/admin/connect.php:6 51310 #: templates/admin/connect.php:66 1283 1311 msgid "Don't have account? <a href=\"%s\" target=\"_blank\">Create one</a>" 1284 1312 msgstr "" 1285 1313 1286 #: templates/admin/connect.php:6 8templates/my-account/my-account.php:531314 #: templates/admin/connect.php:69 templates/my-account/my-account.php:53 1287 1315 msgid "Login" 1288 1316 msgstr "" … … 1298 1326 #: templates/admin/order-metabox-items.php:16 1299 1327 msgid "Image" 1300 msgstr ""1301 1302 #: templates/admin/settings.php:191303 msgid "Save Changes"1304 1328 msgstr "" 1305 1329 … … 1550 1574 msgstr "" 1551 1575 1552 #: includes/Classes/Orders.php:68 01576 #: includes/Classes/Orders.php:684 1553 1577 msgctxt "post status label" 1554 1578 msgid "Processing " 1555 1579 msgstr "" 1556 1580 1557 #: includes/Classes/Orders.php:69 11581 #: includes/Classes/Orders.php:695 1558 1582 msgctxt "post status label" 1559 1583 msgid "Pending Payment " 1560 1584 msgstr "" 1561 1585 1562 #: includes/Classes/Orders.php:70 31586 #: includes/Classes/Orders.php:707 1563 1587 msgctxt "post status label" 1564 1588 msgid "On Hold " 1565 1589 msgstr "" 1566 1590 1567 #: includes/Classes/Orders.php:71 51591 #: includes/Classes/Orders.php:719 1568 1592 msgctxt "post status label" 1569 1593 msgid "Completed " 1570 1594 msgstr "" 1571 1595 1572 #: includes/Classes/Orders.php:7 271596 #: includes/Classes/Orders.php:731 1573 1597 msgctxt "post status label" 1574 1598 msgid "Cancelled " 1575 1599 msgstr "" 1576 1600 1577 #: includes/Classes/Orders.php:7 381601 #: includes/Classes/Orders.php:742 1578 1602 msgctxt "post status label" 1579 1603 msgid "Refunded " 1580 1604 msgstr "" 1581 1605 1582 #: includes/Classes/Orders.php:7 491606 #: includes/Classes/Orders.php:753 1583 1607 msgctxt "post status label" 1584 1608 msgid "Failed " -
webinane-commerce/trunk/readme.txt
r2384393 r2395882 7 7 Tested up to: 5.5 8 8 Requires PHP: 7.0 9 Stable tag: 2.2. 09 Stable tag: 2.2.1 10 10 License: GPLv2 or later 11 11 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 167 167 == Changelog == 168 168 169 **Version 2.2.1** 170 - Fixed: add new order issue in admin. 171 - Added: New field management system. 172 - Fixed: Increased the transient time for API Token 173 - Fixed: In My Account Component added "Order" filter. 174 169 175 **Version 2.2.0** 170 176 - Fixed: My account avatar image upload issue is fixed. -
webinane-commerce/trunk/templates/admin/order-metabox-basic.php
r2348872 r2395882 11 11 <notif v-on:done="onDone" :result="result" :type="result_type" :msg="result_msg"></notif> 12 12 <div class="wpcm-content" v-loading="loading"> 13 <general v-if="customer"title="<?php esc_html_e('Order Action', 'webinane-commerce' ) ?>"></general>13 <general title="<?php esc_html_e('Order Action', 'webinane-commerce' ) ?>"></general> 14 14 <div class="wpcm-row"> 15 15 <div class="wpcm-col-sm-6"> -
webinane-commerce/trunk/webinane-commerce.php
r2384393 r2395882 8 8 * Text Domain: webinane-commerce 9 9 * Domain Path: /languages 10 * Version: 2.2. 010 * Version: 2.2.1 11 11 * 12 12 * @package Webinane_Commerce
Note: See TracChangeset
for help on using the changeset viewer.