first commit
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -0,0 +1,14 @@
|
||||
/*! *****************************************************************************
|
||||
Copyright (c) Microsoft Corporation.
|
||||
|
||||
Permission to use, copy, modify, and/or distribute this software for any
|
||||
purpose with or without fee is hereby granted.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
||||
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
||||
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
PERFORMANCE OF THIS SOFTWARE.
|
||||
***************************************************************************** */
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,2 @@
|
||||
:root{--wp-admin-theme-color: #007cba;--wp-admin-theme-color--rgb: 0, 124, 186;--wp-admin-theme-color-darker-10: #006ba1;--wp-admin-theme-color-darker-10--rgb: 0, 107, 161;--wp-admin-theme-color-darker-20: #005a87;--wp-admin-theme-color-darker-20--rgb: 0, 90, 135;--wp-admin-border-width-focus: 2px}@media(min-resolution: 192dpi){:root{--wp-admin-border-width-focus: 1.5px}}.woocommerce-report-table__scroll-point{position:relative;top:-48px}@media(max-width: 782px){.woocommerce-report-table__scroll-point{top:-62px}}.woocommerce-feature-enabled-activity-panels .woocommerce-report-table__scroll-point{top:-108px}@media(max-width: 782px){.woocommerce-feature-enabled-activity-panels .woocommerce-report-table__scroll-point{top:-122px}}.woocommerce-report-table .woocommerce-search{flex-grow:1}.woocommerce-report-table .components-card__header{display:grid;grid-gap:12px;grid-template-columns:min-content 1fr min-content}.woocommerce-report-table .woocommerce-table__compare.components-button{padding:8px}.woocommerce-report-table .woocommerce-ellipsis-menu{justify-self:flex-end}button.woocommerce-table__download-button{padding:6px 12px;color:#000;text-decoration:none;align-items:center}button.woocommerce-table__download-button svg{margin-right:8px;height:24px;width:24px}@media(max-width: 782px){button.woocommerce-table__download-button svg{margin-right:0}button.woocommerce-table__download-button .woocommerce-table__download-button__label{display:none}}
|
||||
:root{--wp-admin-theme-color: #007cba;--wp-admin-theme-color--rgb: 0, 124, 186;--wp-admin-theme-color-darker-10: #006ba1;--wp-admin-theme-color-darker-10--rgb: 0, 107, 161;--wp-admin-theme-color-darker-20: #005a87;--wp-admin-theme-color-darker-20--rgb: 0, 90, 135;--wp-admin-border-width-focus: 2px}@media(min-resolution: 192dpi){:root{--wp-admin-border-width-focus: 1.5px}}.woocommerce-table__product-categories>.woocommerce-table__breadcrumbs{display:inline-block;margin-right:12px}.woocommerce-table__product-categories .components-popover__content{padding:0 16px;text-align:left}.woocommerce-table__product-categories .components-popover__content .woocommerce-table__breadcrumbs{margin-top:12px;margin-bottom:12px}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,8 @@
|
||||
/** @license React v16.13.1
|
||||
* react-is.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,2 @@
|
||||
:root{--wp-admin-theme-color: #007cba;--wp-admin-theme-color--rgb: 0, 124, 186;--wp-admin-theme-color-darker-10: #006ba1;--wp-admin-theme-color-darker-10--rgb: 0, 107, 161;--wp-admin-theme-color-darker-20: #005a87;--wp-admin-theme-color-darker-20--rgb: 0, 90, 135;--wp-admin-border-width-focus: 2px}@media(min-resolution: 192dpi){:root{--wp-admin-border-width-focus: 1.5px}}.woocommerce-dashboard__chart-block-wrapper{cursor:pointer}.woocommerce-dashboard__chart-block-wrapper:hover .woocommerce-chart,.woocommerce-dashboard__chart-block-wrapper:hover .woocommerce-card__header{background:#f8f9f9}.woocommerce-dashboard__chart-block-wrapper:hover .woocommerce-legend__item button{background:rgba(0,0,0,0)}.woocommerce-dashboard__chart-block-wrapper .woocommerce-chart{margin-top:0;margin-bottom:0;border:0}.woocommerce-dashboard__chart-block-wrapper .woocommerce-chart__footer{position:relative}.woocommerce-dashboard__chart-block-wrapper .woocommerce-chart__footer::after{content:"";position:absolute;width:100%;height:100%;left:0;top:0;cursor:pointer;z-index:1}.woocommerce-dashboard__chart-block .woocommerce-card__body{padding:0;position:relative}.woocommerce-dashboard__chart-block .woocommerce-card__body .woocommerce-chart{border:none;margin:0}.woocommerce-dashboard__chart-block .woocommerce-card__body .woocommerce-chart .woocommerce-legend__item>button{cursor:default}.woocommerce-dashboard__chart-block .woocommerce-card__body .woocommerce-chart .woocommerce-legend__item>button:hover{background:#f0f0f0}.woocommerce-dashboard__chart-block .woocommerce-card__body .woocommerce-chart .woocommerce-legend__item>button .woocommerce-legend__item-container{cursor:default}.woocommerce-dashboard__chart-block .woocommerce-card__body .woocommerce-chart .woocommerce-legend__item>button .woocommerce-legend__item-container .woocommerce-legend__item-checkmark.woocommerce-legend__item-checkmark-checked::after{display:none}.woocommerce-dashboard__chart-block .woocommerce-card__body .woocommerce-chart:hover{background:#f0f0f0}.woocommerce-dashboard__chart-block .woocommerce-card__body .woocommerce-chart:hover .woocommerce-legend__item>button{background:#f0f0f0}.woocommerce-dashboard__chart-block:hover{background:#f0f0f0}.woocommerce-dashboard__chart-block .screen-reader-text:focus{clip:auto;-webkit-clip-path:none;clip-path:none;z-index:1;left:6px;top:7px;height:auto;width:auto;display:block;font-size:14px;font-size:0.875rem;font-weight:600;padding:15px 23px 14px;background:#f1f1f1;color:#0073aa;text-decoration:none;box-shadow:0 0 2px 2px rgba(0,0,0,.6)}
|
||||
:root{--wp-admin-theme-color: #007cba;--wp-admin-theme-color--rgb: 0, 124, 186;--wp-admin-theme-color-darker-10: #006ba1;--wp-admin-theme-color-darker-10--rgb: 0, 107, 161;--wp-admin-theme-color-darker-20: #005a87;--wp-admin-theme-color-darker-20--rgb: 0, 90, 135;--wp-admin-border-width-focus: 2px}@media(min-resolution: 192dpi){:root{--wp-admin-border-width-focus: 1.5px}}.woocommerce-dashboard__dashboard-charts{border-bottom:0;border-right:0}.woocommerce-dashboard__dashboard-charts .woocommerce-section-header__actions{flex-grow:0}.woocommerce-dashboard__dashboard-charts .woocommerce-card__body{padding:0}.woocommerce-dashboard__dashboard-charts .woocommerce-summary{margin:0}
|
||||
@@ -0,0 +1 @@
|
||||
:root{--wp-admin-theme-color: #007cba;--wp-admin-theme-color--rgb: 0, 124, 186;--wp-admin-theme-color-darker-10: #006ba1;--wp-admin-theme-color-darker-10--rgb: 0, 107, 161;--wp-admin-theme-color-darker-20: #005a87;--wp-admin-theme-color-darker-20--rgb: 0, 90, 135;--wp-admin-border-width-focus: 2px}@media(min-resolution: 192dpi){:root{--wp-admin-border-width-focus: 1.5px}}.woocommerce-report-table__scroll-point{position:relative;top:-48px}@media(max-width: 782px){.woocommerce-report-table__scroll-point{top:-62px}}.woocommerce-feature-enabled-activity-panels .woocommerce-report-table__scroll-point{top:-108px}@media(max-width: 782px){.woocommerce-feature-enabled-activity-panels .woocommerce-report-table__scroll-point{top:-122px}}.woocommerce-report-table .woocommerce-search{flex-grow:1}.woocommerce-report-table .components-card__header{display:grid;grid-gap:12px;grid-template-columns:min-content 1fr min-content}.woocommerce-report-table .woocommerce-table__compare.components-button{padding:8px}.woocommerce-report-table .woocommerce-ellipsis-menu{justify-self:flex-end}button.woocommerce-table__download-button{padding:6px 12px;color:#000;text-decoration:none;align-items:center}button.woocommerce-table__download-button svg{margin-right:8px;height:24px;width:24px}@media(max-width: 782px){button.woocommerce-table__download-button svg{margin-right:0}button.woocommerce-table__download-button .woocommerce-table__download-button__label{display:none}}
|
||||
@@ -0,0 +1 @@
|
||||
:root{--wp-admin-theme-color: #007cba;--wp-admin-theme-color--rgb: 0, 124, 186;--wp-admin-theme-color-darker-10: #006ba1;--wp-admin-theme-color-darker-10--rgb: 0, 107, 161;--wp-admin-theme-color-darker-20: #005a87;--wp-admin-theme-color-darker-20--rgb: 0, 90, 135;--wp-admin-border-width-focus: 2px}@media(min-resolution: 192dpi){:root{--wp-admin-border-width-focus: 1.5px}}.woocommerce-dashboard__store-performance{margin-bottom:24px}@media(max-width: 782px){.woocommerce-dashboard__store-performance{border-width:0}}.woocommerce-dashboard__store-performance .woocommerce-summary__item{background-color:#fff}.woocommerce-dashboard__store-performance .woocommerce-summary__item:hover{background-color:#f0f0f0}.woocommerce-dashboard__store-performance .woocommerce-summary{background-color:#f0f0f0;margin:0}@media(max-width: 782px){.woocommerce-dashboard__store-performance .woocommerce-summary.is-placeholder{border-top:0}.woocommerce-dashboard__store-performance .woocommerce-summary:not(.is-placeholder) .woocommerce-summary__item-container:first-child .woocommerce-summary__item{border-top:1px solid #ccc}}
|
||||
@@ -0,0 +1,3 @@
|
||||
:root{--wp-admin-theme-color: #007cba;--wp-admin-theme-color--rgb: 0, 124, 186;--wp-admin-theme-color-darker-10: #006ba1;--wp-admin-theme-color-darker-10--rgb: 0, 107, 161;--wp-admin-theme-color-darker-20: #005a87;--wp-admin-theme-color-darker-20--rgb: 0, 90, 135;--wp-admin-border-width-focus: 2px}@media(min-resolution: 192dpi){:root{--wp-admin-border-width-focus: 1.5px}}@media(min-width: 783px){.woocommerce-settings__wrapper{padding:0 13px}}.woocommerce-settings__actions{margin-bottom:40px}@media(min-width: 1281px){.woocommerce-settings__actions{margin-left:15%}}.woocommerce-settings__actions button{margin-right:16px}
|
||||
:root{--wp-admin-theme-color: #007cba;--wp-admin-theme-color--rgb: 0, 124, 186;--wp-admin-theme-color-darker-10: #006ba1;--wp-admin-theme-color-darker-10--rgb: 0, 107, 161;--wp-admin-theme-color-darker-20: #005a87;--wp-admin-theme-color-darker-20--rgb: 0, 90, 135;--wp-admin-border-width-focus: 2px}@media(min-resolution: 192dpi){:root{--wp-admin-border-width-focus: 1.5px}}.woocommerce-setting{display:flex;margin-bottom:24px}@media(max-width: 1280px){.woocommerce-setting{flex-direction:column}}.woocommerce-setting__label{font-size:16px;font-size:1rem;margin-bottom:16px;padding-right:16px;font-weight:bold}@media(min-width: 1281px){.woocommerce-setting__label{width:15%}}.woocommerce-setting__input{display:flex;flex-direction:column}@media(min-width: 1281px){.woocommerce-setting__input{width:35%}.woocommerce-setting__input .woocommerce-filters-filter{width:100%}}.woocommerce-setting__input label{width:100%;display:block;margin-bottom:12px;color:#757575}.woocommerce-setting__input .woocommerce-filters-filter label{margin-bottom:0}.woocommerce-setting__input button:not(.components-tab-panel__tabs-item){margin-bottom:12px;align-self:flex-start}.woocommerce-setting__input .components-base-control__field{display:flex}.woocommerce-setting__input .woocommerce-filters-date__content-controls{padding-bottom:0}.woocommerce-setting__options-group-label{display:block;font-weight:bold;margin-bottom:12px}.woocommerce-setting__help{font-style:italic;color:#757575}
|
||||
:root{--wp-admin-theme-color: #007cba;--wp-admin-theme-color--rgb: 0, 124, 186;--wp-admin-theme-color-darker-10: #006ba1;--wp-admin-theme-color-darker-10--rgb: 0, 107, 161;--wp-admin-theme-color-darker-20: #005a87;--wp-admin-theme-color-darker-20--rgb: 0, 90, 135;--wp-admin-border-width-focus: 2px}@media(min-resolution: 192dpi){:root{--wp-admin-border-width-focus: 1.5px}}.woocommerce-settings-historical-data__columns{display:grid;grid-column-gap:24px;grid-template-columns:calc(50% - 12px) calc(50% - 12px)}.woocommerce-settings-historical-data__columns .woocommerce-settings-historical-data__column{align-self:end;margin-top:12px}.woocommerce-settings-historical-data__columns .woocommerce-settings-historical-data__column:nth-child(1){grid-column-start:1;grid-column-end:2;grid-row-start:1;grid-row-end:2}.woocommerce-settings-historical-data__columns .woocommerce-settings-historical-data__column:nth-child(2){grid-column-start:2;grid-column-end:3;grid-row-start:1;grid-row-end:2}@media(max-width: 960px){.woocommerce-settings-historical-data__columns{grid-template-columns:100%}.woocommerce-settings-historical-data__columns .woocommerce-settings-historical-data__column:nth-child(1){grid-column-start:1;grid-column-end:2;grid-row-start:1;grid-row-end:2}.woocommerce-settings-historical-data__columns .woocommerce-settings-historical-data__column:nth-child(2){grid-column-start:1;grid-column-end:2;grid-row-start:2;grid-row-end:3}}.woocommerce-settings-historical-data__columns .components-base-control__label,.woocommerce-settings-historical-data__columns .woocommerce-settings-historical-data__column-label{margin-bottom:12px}.woocommerce-settings-historical-data__columns .components-select-control__input{height:38px;padding:8px 2px}.woocommerce-settings-historical-data__columns .components-base-control__field{margin-bottom:0}.woocommerce-settings-historical-data__skip-checkbox{margin-top:24px}.woocommerce-settings-historical-data__skip-checkbox>.components-base-control__field{margin-bottom:0}.woocommerce-settings-historical-data__skip-checkbox>.components-base-control__field>.components-checkbox-control__label{display:inline-block;margin-bottom:0;width:auto}.woocommerce-settings-historical-data__progress-label{display:inline-block;font-weight:bold;margin-bottom:12px;margin-top:24px}.woocommerce-settings-historical-data__progress-label+.woocommerce-settings-historical-data__progress-label{margin-left:.25em}.woocommerce-settings-historical-data__progress-bar{-webkit-appearance:none;appearance:none;border:0;height:8px;width:100%}.woocommerce-settings-historical-data__progress-bar{background-color:#c4c4c4}.woocommerce-settings-historical-data__progress-bar::-moz-progress-bar{background-color:#0085ba}.woocommerce-settings-historical-data__progress-bar::-webkit-progress-bar{background-color:#c4c4c4}.woocommerce-settings-historical-data__progress-bar::-webkit-progress-value{background-color:#0085ba}.woocommerce-settings-historical-data__status{display:block;font-weight:bold;margin-top:24px}.woocommerce-settings-historical-data__status>.components-spinner{float:none;height:12px;margin-left:6px;margin-right:6px;width:12px}.woocommerce-settings-historical-data__status>.components-spinner::before{left:2px;height:3px;top:2px;transform-origin:4px 4px;width:3px}.woocommerce-settings-historical-data__actions{align-items:center;display:flex}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,2 @@
|
||||
:root{--wp-admin-theme-color: #007cba;--wp-admin-theme-color--rgb: 0, 124, 186;--wp-admin-theme-color-darker-10: #006ba1;--wp-admin-theme-color-darker-10--rgb: 0, 107, 161;--wp-admin-theme-color-darker-20: #005a87;--wp-admin-theme-color-darker-20--rgb: 0, 90, 135;--wp-admin-border-width-focus: 2px}@media(min-resolution: 192dpi){:root{--wp-admin-border-width-focus: 1.5px}}.woocommerce-report-table__scroll-point{position:relative;top:-48px}@media(max-width: 782px){.woocommerce-report-table__scroll-point{top:-62px}}.woocommerce-feature-enabled-activity-panels .woocommerce-report-table__scroll-point{top:-108px}@media(max-width: 782px){.woocommerce-feature-enabled-activity-panels .woocommerce-report-table__scroll-point{top:-122px}}.woocommerce-report-table .woocommerce-search{flex-grow:1}.woocommerce-report-table .components-card__header{display:grid;grid-gap:12px;grid-template-columns:min-content 1fr min-content}.woocommerce-report-table .woocommerce-table__compare.components-button{padding:8px}.woocommerce-report-table .woocommerce-ellipsis-menu{justify-self:flex-end}button.woocommerce-table__download-button{padding:6px 12px;color:#000;text-decoration:none;align-items:center}button.woocommerce-table__download-button svg{margin-right:8px;height:24px;width:24px}@media(max-width: 782px){button.woocommerce-table__download-button svg{margin-right:0}button.woocommerce-table__download-button .woocommerce-table__download-button__label{display:none}}
|
||||
:root{--wp-admin-theme-color: #007cba;--wp-admin-theme-color--rgb: 0, 124, 186;--wp-admin-theme-color-darker-10: #006ba1;--wp-admin-theme-color-darker-10--rgb: 0, 107, 161;--wp-admin-theme-color-darker-20: #005a87;--wp-admin-theme-color-darker-20--rgb: 0, 90, 135;--wp-admin-border-width-focus: 2px}@media(min-resolution: 192dpi){:root{--wp-admin-border-width-focus: 1.5px}}.woocommerce-revenue-report-date-tour h2.woocommerce-tour-kit-step__heading{font-size:1.5em;line-height:1.5em;letter-spacing:.4px}
|
||||
@@ -0,0 +1 @@
|
||||
:root{--wp-admin-theme-color: #007cba;--wp-admin-theme-color--rgb: 0, 124, 186;--wp-admin-theme-color-darker-10: #006ba1;--wp-admin-theme-color-darker-10--rgb: 0, 107, 161;--wp-admin-theme-color-darker-20: #005a87;--wp-admin-theme-color-darker-20--rgb: 0, 90, 135;--wp-admin-border-width-focus: 2px}@media(min-resolution: 192dpi){:root{--wp-admin-border-width-focus: 1.5px}}.woocommerce-report-table__scroll-point{position:relative;top:-48px}@media(max-width: 782px){.woocommerce-report-table__scroll-point{top:-62px}}.woocommerce-feature-enabled-activity-panels .woocommerce-report-table__scroll-point{top:-108px}@media(max-width: 782px){.woocommerce-feature-enabled-activity-panels .woocommerce-report-table__scroll-point{top:-122px}}.woocommerce-report-table .woocommerce-search{flex-grow:1}.woocommerce-report-table .components-card__header{display:grid;grid-gap:12px;grid-template-columns:min-content 1fr min-content}.woocommerce-report-table .woocommerce-table__compare.components-button{padding:8px}.woocommerce-report-table .woocommerce-ellipsis-menu{justify-self:flex-end}button.woocommerce-table__download-button{padding:6px 12px;color:#000;text-decoration:none;align-items:center}button.woocommerce-table__download-button svg{margin-right:8px;height:24px;width:24px}@media(max-width: 782px){button.woocommerce-table__download-button svg{margin-right:0}button.woocommerce-table__download-button .woocommerce-table__download-button__label{display:none}}
|
||||
@@ -0,0 +1,2 @@
|
||||
:root{--wp-admin-theme-color: #007cba;--wp-admin-theme-color--rgb: 0, 124, 186;--wp-admin-theme-color-darker-10: #006ba1;--wp-admin-theme-color-darker-10--rgb: 0, 107, 161;--wp-admin-theme-color-darker-20: #005a87;--wp-admin-theme-color-darker-20--rgb: 0, 90, 135;--wp-admin-border-width-focus: 2px}@media(min-resolution: 192dpi){:root{--wp-admin-border-width-focus: 1.5px}}.woocommerce-report-table__scroll-point{position:relative;top:-48px}@media(max-width: 782px){.woocommerce-report-table__scroll-point{top:-62px}}.woocommerce-feature-enabled-activity-panels .woocommerce-report-table__scroll-point{top:-108px}@media(max-width: 782px){.woocommerce-feature-enabled-activity-panels .woocommerce-report-table__scroll-point{top:-122px}}.woocommerce-report-table .woocommerce-search{flex-grow:1}.woocommerce-report-table .components-card__header{display:grid;grid-gap:12px;grid-template-columns:min-content 1fr min-content}.woocommerce-report-table .woocommerce-table__compare.components-button{padding:8px}.woocommerce-report-table .woocommerce-ellipsis-menu{justify-self:flex-end}button.woocommerce-table__download-button{padding:6px 12px;color:#000;text-decoration:none;align-items:center}button.woocommerce-table__download-button svg{margin-right:8px;height:24px;width:24px}@media(max-width: 782px){button.woocommerce-table__download-button svg{margin-right:0}button.woocommerce-table__download-button .woocommerce-table__download-button__label{display:none}}
|
||||
:root{--wp-admin-theme-color: #007cba;--wp-admin-theme-color--rgb: 0, 124, 186;--wp-admin-theme-color-darker-10: #006ba1;--wp-admin-theme-color-darker-10--rgb: 0, 107, 161;--wp-admin-theme-color-darker-20: #005a87;--wp-admin-theme-color-darker-20--rgb: 0, 90, 135;--wp-admin-border-width-focus: 2px}@media(min-resolution: 192dpi){:root{--wp-admin-border-width-focus: 1.5px}}.woocommerce-revenue-report-date-tour h2.woocommerce-tour-kit-step__heading{font-size:1.5em;line-height:1.5em;letter-spacing:.4px}
|
||||
@@ -0,0 +1 @@
|
||||
:root{--wp-admin-theme-color: #007cba;--wp-admin-theme-color--rgb: 0, 124, 186;--wp-admin-theme-color-darker-10: #006ba1;--wp-admin-theme-color-darker-10--rgb: 0, 107, 161;--wp-admin-theme-color-darker-20: #005a87;--wp-admin-theme-color-darker-20--rgb: 0, 90, 135;--wp-admin-border-width-focus: 2px}@media(min-resolution: 192dpi){:root{--wp-admin-border-width-focus: 1.5px}}.woocommerce-report-table__scroll-point{position:relative;top:-48px}@media(max-width: 782px){.woocommerce-report-table__scroll-point{top:-62px}}.woocommerce-feature-enabled-activity-panels .woocommerce-report-table__scroll-point{top:-108px}@media(max-width: 782px){.woocommerce-feature-enabled-activity-panels .woocommerce-report-table__scroll-point{top:-122px}}.woocommerce-report-table .woocommerce-search{flex-grow:1}.woocommerce-report-table .components-card__header{display:grid;grid-gap:12px;grid-template-columns:min-content 1fr min-content}.woocommerce-report-table .woocommerce-table__compare.components-button{padding:8px}.woocommerce-report-table .woocommerce-ellipsis-menu{justify-self:flex-end}button.woocommerce-table__download-button{padding:6px 12px;color:#000;text-decoration:none;align-items:center}button.woocommerce-table__download-button svg{margin-right:8px;height:24px;width:24px}@media(max-width: 782px){button.woocommerce-table__download-button svg{margin-right:0}button.woocommerce-table__download-button .woocommerce-table__download-button__label{display:none}}
|
||||
@@ -0,0 +1 @@
|
||||
"use strict";(globalThis.webpackChunk_wcAdmin_webpackJsonp=globalThis.webpackChunk_wcAdmin_webpackJsonp||[]).push([[4098],{94098:(s,a,b)=>{b.r(a),b.d(a,{PublishButton:()=>c.H});var c=b(43279)}}]);
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
:root{--wp-admin-theme-color: #007cba;--wp-admin-theme-color--rgb: 0, 124, 186;--wp-admin-theme-color-darker-10: #006ba1;--wp-admin-theme-color-darker-10--rgb: 0, 107, 161;--wp-admin-theme-color-darker-20: #005a87;--wp-admin-theme-color-darker-20--rgb: 0, 90, 135;--wp-admin-border-width-focus: 2px}@media(min-resolution: 192dpi){:root{--wp-admin-border-width-focus: 1.5px}}.woocommerce-report-table__scroll-point{position:relative;top:-48px}@media(max-width: 782px){.woocommerce-report-table__scroll-point{top:-62px}}.woocommerce-feature-enabled-activity-panels .woocommerce-report-table__scroll-point{top:-108px}@media(max-width: 782px){.woocommerce-feature-enabled-activity-panels .woocommerce-report-table__scroll-point{top:-122px}}.woocommerce-report-table .woocommerce-search{flex-grow:1}.woocommerce-report-table .components-card__header{display:grid;grid-gap:12px;grid-template-columns:min-content 1fr min-content}.woocommerce-report-table .woocommerce-table__compare.components-button{padding:8px}.woocommerce-report-table .woocommerce-ellipsis-menu{justify-self:flex-end}button.woocommerce-table__download-button{padding:6px 12px;color:#000;text-decoration:none;align-items:center}button.woocommerce-table__download-button svg{margin-right:8px;height:24px;width:24px}@media(max-width: 782px){button.woocommerce-table__download-button svg{margin-right:0}button.woocommerce-table__download-button .woocommerce-table__download-button__label{display:none}}
|
||||
@@ -0,0 +1,16 @@
|
||||
:root{--wp-admin-theme-color: #007cba;--wp-admin-theme-color--rgb: 0, 124, 186;--wp-admin-theme-color-darker-10: #006ba1;--wp-admin-theme-color-darker-10--rgb: 0, 107, 161;--wp-admin-theme-color-darker-20: #005a87;--wp-admin-theme-color-darker-20--rgb: 0, 90, 135;--wp-admin-border-width-focus: 2px}@media(min-resolution: 192dpi){:root{--wp-admin-border-width-focus: 1.5px}}.woocommerce-admin-marketing-product-icon{position:relative;overflow:hidden;width:36px;height:36px;border-radius:8px;background:#f0f0f0;color:#f0f0f0}
|
||||
:root{--wp-admin-theme-color: #007cba;--wp-admin-theme-color--rgb: 0, 124, 186;--wp-admin-theme-color-darker-10: #006ba1;--wp-admin-theme-color-darker-10--rgb: 0, 107, 161;--wp-admin-theme-color-darker-20: #005a87;--wp-admin-theme-color-darker-20--rgb: 0, 90, 135;--wp-admin-border-width-focus: 2px}@media(min-resolution: 192dpi){:root{--wp-admin-border-width-focus: 1.5px}}.woocommerce-collapsible-card .components-card-header{cursor:pointer}
|
||||
:root{--wp-admin-theme-color: #007cba;--wp-admin-theme-color--rgb: 0, 124, 186;--wp-admin-theme-color-darker-10: #006ba1;--wp-admin-theme-color-darker-10--rgb: 0, 107, 161;--wp-admin-theme-color-darker-20: #005a87;--wp-admin-theme-color-darker-20--rgb: 0, 90, 135;--wp-admin-border-width-focus: 2px}@media(min-resolution: 192dpi){:root{--wp-admin-border-width-focus: 1.5px}}.woocommerce_marketing_plugin_card_body{display:flex;align-items:center;gap:16px}.woocommerce_marketing_plugin_card_body__icon{flex-shrink:0}.woocommerce_marketing_plugin_card_body__icon img{display:block;width:36px;height:36px;border-radius:4px}.woocommerce_marketing_plugin_card_body__details{flex-grow:1}.woocommerce_marketing_plugin_card_body__details-name{display:flex;gap:2px 8px;flex-wrap:wrap;align-items:center;font-size:14px;font-weight:600;line-height:20px;margin-bottom:4px}.woocommerce_marketing_plugin_card_body__details-name .woocommerce-pill{padding:2px 8px;color:#757575}.woocommerce_marketing_plugin_card_body__details-description{font-size:13px;font-weight:400;line-height:16px;color:#757575}
|
||||
:root{--wp-admin-theme-color: #007cba;--wp-admin-theme-color--rgb: 0, 124, 186;--wp-admin-theme-color-darker-10: #006ba1;--wp-admin-theme-color-darker-10--rgb: 0, 107, 161;--wp-admin-theme-color-darker-20: #005a87;--wp-admin-theme-color-darker-20--rgb: 0, 90, 135;--wp-admin-border-width-focus: 2px}@media(min-resolution: 192dpi){:root{--wp-admin-border-width-focus: 1.5px}}.woocommerce-marketing-card-header-title{font-size:20px;font-size:1.25rem;line-height:1.4}
|
||||
:root{--wp-admin-theme-color: #007cba;--wp-admin-theme-color--rgb: 0, 124, 186;--wp-admin-theme-color-darker-10: #006ba1;--wp-admin-theme-color-darker-10--rgb: 0, 107, 161;--wp-admin-theme-color-darker-20: #005a87;--wp-admin-theme-color-darker-20--rgb: 0, 90, 135;--wp-admin-border-width-focus: 2px}@media(min-resolution: 192dpi){:root{--wp-admin-border-width-focus: 1.5px}}.woocommerce-marketing-card-header-description{font-size:14px;font-size:0.875rem;color:#757575}
|
||||
:root{--wp-admin-theme-color: #007cba;--wp-admin-theme-color--rgb: 0, 124, 186;--wp-admin-theme-color-darker-10: #006ba1;--wp-admin-theme-color-darker-10--rgb: 0, 107, 161;--wp-admin-theme-color-darker-20: #005a87;--wp-admin-theme-color-darker-20--rgb: 0, 90, 135;--wp-admin-border-width-focus: 2px}@media(min-resolution: 192dpi){:root{--wp-admin-border-width-focus: 1.5px}}.woocommerce-centered-spinner{display:flex;justify-content:center}
|
||||
:root{--wp-admin-theme-color: #007cba;--wp-admin-theme-color--rgb: 0, 124, 186;--wp-admin-theme-color-darker-10: #006ba1;--wp-admin-theme-color-darker-10--rgb: 0, 107, 161;--wp-admin-theme-color-darker-20: #005a87;--wp-admin-theme-color-darker-20--rgb: 0, 90, 135;--wp-admin-border-width-focus: 2px}@media(min-resolution: 192dpi){:root{--wp-admin-border-width-focus: 1.5px}}.woocommerce-marketing-create-campaign-modal{max-width:600px}.woocommerce-marketing-create-campaign-modal .components-modal__content{padding-bottom:16px}.woocommerce-marketing-create-campaign-modal .woocommerce-marketing-new-campaigns{padding-top:24px;padding-bottom:16px}.woocommerce-marketing-create-campaign-modal .woocommerce-marketing-new-campaigns__question-label{font-size:14px;font-weight:600;line-height:17px;margin-bottom:16px}.woocommerce-marketing-create-campaign-modal .components-button.is-link{text-decoration:none;font-size:14px;font-weight:600;line-height:17px}.woocommerce-marketing-create-campaign-modal .woocommerce_marketing_plugin_card_body{padding:16px 0}.woocommerce-marketing-create-campaign-modal .woocommerce-marketing-new-campaign-type{padding:16px 0}.woocommerce-marketing-create-campaign-modal .woocommerce-marketing-new-campaign-type__name{font-weight:600;font-size:14px;line-height:20px}.woocommerce-marketing-create-campaign-modal .woocommerce-marketing-new-campaign-type__description{color:#555d66}.woocommerce-marketing-create-campaign-modal .woocommerce-marketing-new-campaign-type img,.woocommerce-marketing-create-campaign-modal .woocommerce-marketing-new-campaign-type svg{display:block}.woocommerce-marketing-create-campaign-modal .woocommerce-marketing-add-channels{padding-top:16px;border-top:solid 1px #ddd}
|
||||
:root{--wp-admin-theme-color: #007cba;--wp-admin-theme-color--rgb: 0, 124, 186;--wp-admin-theme-color-darker-10: #006ba1;--wp-admin-theme-color-darker-10--rgb: 0, 107, 161;--wp-admin-theme-color-darker-20: #005a87;--wp-admin-theme-color-darker-20--rgb: 0, 90, 135;--wp-admin-border-width-focus: 2px}@media(min-resolution: 192dpi){:root{--wp-admin-border-width-focus: 1.5px}}.woocommerce-marketing-introduction-banner>div{display:flex;flex-wrap:wrap}.woocommerce-marketing-introduction-banner .woocommerce-marketing-introduction-banner-content{flex:1 0;margin:32px 20px 32px 40px}.woocommerce-marketing-introduction-banner .woocommerce-marketing-introduction-banner-content .woocommerce-marketing-introduction-banner-title{font-size:20px;line-height:28px;margin-bottom:8px}.woocommerce-marketing-introduction-banner .woocommerce-marketing-introduction-banner-content .woocommerce-marketing-introduction-banner-features{color:#757575}.woocommerce-marketing-introduction-banner .woocommerce-marketing-introduction-banner-content .woocommerce-marketing-introduction-banner-features svg{fill:#7f54b3}.woocommerce-marketing-introduction-banner .woocommerce-marketing-introduction-banner-content .woocommerce-marketing-introduction-banner-buttons{margin-top:16px}.woocommerce-marketing-introduction-banner .woocommerce-marketing-introduction-banner-illustration{flex:0 0 270px;background:linear-gradient(90deg, rgba(247, 237, 247, 0) 5.31%, rgba(196, 152, 217, 0.12) 77.75%),linear-gradient(90deg, rgba(247, 237, 247, 0) 22%, rgba(196, 152, 217, 0.12) 84.6%)}.woocommerce-marketing-introduction-banner .woocommerce-marketing-introduction-banner-illustration .woocommerce-marketing-introduction-banner-image-placeholder{width:100%;height:100%;background:center/contain no-repeat}.woocommerce-marketing-introduction-banner .woocommerce-marketing-introduction-banner-illustration .woocommerce-marketing-introduction-banner-close-button{position:absolute;top:12px;right:16px;padding:0}.woocommerce-marketing-introduction-banner .woocommerce-marketing-introduction-banner-illustration img{display:block;width:100%;height:100%}
|
||||
:root{--wp-admin-theme-color: #007cba;--wp-admin-theme-color--rgb: 0, 124, 186;--wp-admin-theme-color-darker-10: #006ba1;--wp-admin-theme-color-darker-10--rgb: 0, 107, 161;--wp-admin-theme-color-darker-20: #005a87;--wp-admin-theme-color-darker-20--rgb: 0, 90, 135;--wp-admin-border-width-focus: 2px}@media(min-resolution: 192dpi){:root{--wp-admin-border-width-focus: 1.5px}}.woocommerce-marketing-campaigns-card__content{width:50%;margin:auto;text-align:center}.woocommerce-marketing-campaigns-card__content-icon{background-color:#f6f7f7;border-radius:28px;margin-bottom:4px}.woocommerce-marketing-campaigns-card__content-icon--error{fill:#d94f4f}.woocommerce-marketing-campaigns-card__content-icon--empty{fill:#7f54b3}.woocommerce-marketing-campaigns-card__content-title{font-size:13px;font-size:0.8125rem;font-weight:600;line-height:16px;color:#1e1e1e;margin-bottom:4px}.woocommerce-marketing-campaigns-card__content-description{color:#757575;margin-bottom:4px}.woocommerce-marketing-campaigns-card__campaign-logo img{display:block}.woocommerce-marketing-campaigns-card__campaign-title a{color:#007cba;font-weight:600;text-decoration:none}.woocommerce-marketing-campaigns-card__campaign-description{color:#757575}.woocommerce-marketing-campaigns-card__footer{justify-content:center;border-top:none}
|
||||
:root{--wp-admin-theme-color: #007cba;--wp-admin-theme-color--rgb: 0, 124, 186;--wp-admin-theme-color-darker-10: #006ba1;--wp-admin-theme-color-darker-10--rgb: 0, 107, 161;--wp-admin-theme-color-darker-20: #005a87;--wp-admin-theme-color-darker-20--rgb: 0, 90, 135;--wp-admin-border-width-focus: 2px}@media(min-resolution: 192dpi){:root{--wp-admin-border-width-focus: 1.5px}}.woocommerce-marketing-sync-status{display:flex;align-items:center;gap:4px}.woocommerce-marketing-sync-status__failed{color:#d94f4f;fill:#d94f4f}.woocommerce-marketing-sync-status__syncing,.woocommerce-marketing-sync-status__synced{color:#008a20;fill:#008a20}
|
||||
:root{--wp-admin-theme-color: #007cba;--wp-admin-theme-color--rgb: 0, 124, 186;--wp-admin-theme-color-darker-10: #006ba1;--wp-admin-theme-color-darker-10--rgb: 0, 107, 161;--wp-admin-theme-color-darker-20: #005a87;--wp-admin-theme-color-darker-20--rgb: 0, 90, 135;--wp-admin-border-width-focus: 2px}@media(min-resolution: 192dpi){:root{--wp-admin-border-width-focus: 1.5px}}.woocommerce-marketing-issue-status{display:flex;align-items:center;gap:4px}.woocommerce-marketing-issue-status__error{color:#d94f4f;fill:#d94f4f}.woocommerce-marketing-issue-status__warning{color:#ffb900;fill:#ffb900}
|
||||
:root{--wp-admin-theme-color: #007cba;--wp-admin-theme-color--rgb: 0, 124, 186;--wp-admin-theme-color-darker-10: #006ba1;--wp-admin-theme-color-darker-10--rgb: 0, 107, 161;--wp-admin-theme-color-darker-20: #005a87;--wp-admin-theme-color-darker-20--rgb: 0, 90, 135;--wp-admin-border-width-focus: 2px}@media(min-resolution: 192dpi){:root{--wp-admin-border-width-focus: 1.5px}}.woocommerce-marketing-registered-channel-card-body .woocommerce-marketing-registered-channel-description{display:flex;gap:8px}.woocommerce-marketing-registered-channel-card-body .woocommerce-marketing-registered-channel-description__separator::before{content:"•"}
|
||||
:root{--wp-admin-theme-color: #007cba;--wp-admin-theme-color--rgb: 0, 124, 186;--wp-admin-theme-color-darker-10: #006ba1;--wp-admin-theme-color-darker-10--rgb: 0, 107, 161;--wp-admin-theme-color-darker-20: #005a87;--wp-admin-theme-color-darker-20--rgb: 0, 90, 135;--wp-admin-border-width-focus: 2px}@media(min-resolution: 192dpi){:root{--wp-admin-border-width-focus: 1.5px}}.woocommerce-marketing-channels-card .components-card-header{flex-direction:column;align-items:flex-start;gap:4px}.woocommerce-marketing-channels-card .components-button.is-link{font-size:14px;font-size:0.875rem;font-weight:600;text-decoration:none}
|
||||
:root{--wp-admin-theme-color: #007cba;--wp-admin-theme-color--rgb: 0, 124, 186;--wp-admin-theme-color-darker-10: #006ba1;--wp-admin-theme-color-darker-10--rgb: 0, 107, 161;--wp-admin-theme-color-darker-20: #005a87;--wp-admin-theme-color-darker-20--rgb: 0, 90, 135;--wp-admin-border-width-focus: 2px}@media(min-resolution: 192dpi){:root{--wp-admin-border-width-focus: 1.5px}}.woocommerce-marketing-discover-tools-card-body-empty-content{width:50%;margin:auto;text-align:center}.woocommerce-marketing-discover-tools-card-body-empty-content svg{background-color:#f6f7f7;border-radius:28px;margin-bottom:4px}.woocommerce-marketing-discover-tools-card-body-empty-content div{color:#757575;margin-bottom:8px}
|
||||
:root{--wp-admin-theme-color: #007cba;--wp-admin-theme-color--rgb: 0, 124, 186;--wp-admin-theme-color-darker-10: #006ba1;--wp-admin-theme-color-darker-10--rgb: 0, 107, 161;--wp-admin-theme-color-darker-20: #005a87;--wp-admin-theme-color-darker-20--rgb: 0, 90, 135;--wp-admin-border-width-focus: 2px}@media(min-resolution: 192dpi){:root{--wp-admin-border-width-focus: 1.5px}}.woocommerce-marketing-learn-marketing-card__body{display:flex;flex-wrap:wrap}.woocommerce-marketing-learn-marketing-card__post{width:340px;height:318px;padding:24px;text-decoration:none}.woocommerce-marketing-learn-marketing-card__post-img{width:292px;height:166px;background:#e9e9e9;margin-bottom:16px;border-radius:4px}.woocommerce-marketing-learn-marketing-card__post-img--placeholder{animation:loading-fade 1.6s ease-in-out infinite;background-color:#f0f0f0;color:rgba(0,0,0,0)}.woocommerce-marketing-learn-marketing-card__post-img--placeholder::after{content:" "}@media screen and (prefers-reduced-motion: reduce){.woocommerce-marketing-learn-marketing-card__post-img--placeholder{animation:none}}.woocommerce-marketing-learn-marketing-card__post-img img{display:block;width:100%;height:100%;border-radius:4px}.woocommerce-marketing-learn-marketing-card__post-title{font-size:14px;font-weight:700;line-height:18px;color:#1e1e1e;margin-bottom:12px}.woocommerce-marketing-learn-marketing-card__post-title--placeholder{animation:loading-fade 1.6s ease-in-out infinite;background-color:#f0f0f0;color:rgba(0,0,0,0)}.woocommerce-marketing-learn-marketing-card__post-title--placeholder::after{content:" "}@media screen and (prefers-reduced-motion: reduce){.woocommerce-marketing-learn-marketing-card__post-title--placeholder{animation:none}}.woocommerce-marketing-learn-marketing-card__post-description{font-size:12px;line-height:17px;color:#757575;display:flex;gap:8px}.woocommerce-marketing-learn-marketing-card__post-description--placeholder{animation:loading-fade 1.6s ease-in-out infinite;background-color:#f0f0f0;color:rgba(0,0,0,0);width:33%}.woocommerce-marketing-learn-marketing-card__post-description--placeholder::after{content:" "}@media screen and (prefers-reduced-motion: reduce){.woocommerce-marketing-learn-marketing-card__post-description--placeholder{animation:none}}.woocommerce-marketing-learn-marketing-card__post-description img{width:16px;height:16px}.woocommerce-marketing-learn-marketing-card__footer--placeholder{animation:loading-fade 1.6s ease-in-out infinite;background-color:#f0f0f0;color:rgba(0,0,0,0);width:150px;height:32px}.woocommerce-marketing-learn-marketing-card__footer--placeholder::after{content:" "}@media screen and (prefers-reduced-motion: reduce){.woocommerce-marketing-learn-marketing-card__footer--placeholder{animation:none}}.woocommerce-marketing-learn-marketing-card .woocommerce-empty-content{margin:24px auto}
|
||||
:root{--wp-admin-theme-color: #007cba;--wp-admin-theme-color--rgb: 0, 124, 186;--wp-admin-theme-color-darker-10: #006ba1;--wp-admin-theme-color-darker-10--rgb: 0, 107, 161;--wp-admin-theme-color-darker-20: #005a87;--wp-admin-theme-color-darker-20--rgb: 0, 90, 135;--wp-admin-border-width-focus: 2px}@media(min-resolution: 192dpi){:root{--wp-admin-border-width-focus: 1.5px}}.woocommerce-marketing-overview-multichannel{display:flex;flex-direction:column;gap:32px;max-width:680px;margin:40px auto}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,5 @@
|
||||
/**
|
||||
* @license qrcode.react
|
||||
* Copyright (c) Paul O'Shannessy
|
||||
* SPDX-License-Identifier: ISC
|
||||
*/
|
||||
@@ -0,0 +1 @@
|
||||
"use strict";(globalThis.webpackChunk_wcAdmin_webpackJsonp=globalThis.webpackChunk_wcAdmin_webpackJsonp||[]).push([[6083],{6083:(e,o,t)=>{t.r(o),t.d(o,{default:()=>_});var r=t(69307),s=t(65736),n=t(86020),c=t(51393),i=t(14599),l=t(10153),d=t(42960);const a=({shouldTourBeShown:e,dismissModal:o})=>{const{isNewUser:t,loadingPublishedProductsCount:a}=(0,d.E)();(0,r.useEffect)((()=>{e&&(0,i.recordEvent)("block_product_editor_spotlight_view")}),[e]);const[u,p]=(0,r.useState)(!1),{maybeShowFeedbackBar:m}=(0,c.__experimentalUseFeedbackBar)();if(a)return null;if(u)return(0,r.createElement)(l.Z,{isNewUser:t,onCloseGuide:(e,t)=>{o(),"finish"===t?(0,i.recordEvent)("block_product_editor_spotlight_tell_me_more_click"):(0,i.recordEvent)("block_product_editor_spotlight_dismissed",{current_page:e+1}),p(!1),m()}});if(e){const{heading:e,description:c}={heading:t?(0,s.__)("Meet the product editing form","woocommerce"):(0,s.__)("Welcome to the new product form!","woocommerce"),description:t?(0,s.__)("Discover the product form's unique features with a quick overview of what's included.","woocommerce"):(0,s.__)("Discover its new features and improvements with a quick overview of what's included.","woocommerce")};return(0,r.createElement)(n.TourKit,{config:{steps:[{meta:{name:"woocommerce-block-editor-tour",primaryButton:{text:(0,s.__)("View highlights","woocommerce")},descriptions:{desktop:c},heading:(0,r.createElement)(r.Fragment,null,(0,r.createElement)("span",null,e),(0,r.createElement)(n.Pill,null,(0,s.__)("Beta","woocommerce")))},referenceElements:{desktop:"#adminmenuback"}}],closeHandler:(e,t,r)=>{"done-btn"===r?((0,i.recordEvent)("block_product_editor_spotlight_view_highlights"),p(!0)):(o(),(0,i.recordEvent)("block_product_editor_spotlight_dismissed",{current_page:0}),m())},options:{effects:{arrowIndicator:!1,overlay:!1,liveResize:{rootElementSelector:"#adminmenuback",resize:!0}},portalParentElement:document.getElementById("wpbody"),popperModifiers:[{name:"bottom-left",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:({state:e})=>{e.styles.popper.top="auto",e.styles.popper.left="auto",e.styles.popper.bottom="10px",e.styles.popper.transform="translate3d(10px, 0px, 0px)"}}],classNames:"woocommerce-block-editor-tourkit"}}})}return null};var u=t(67221),p=t(9818);const m="woocommerce_block_product_tour_shown",_=()=>{const e=(()=>{const{updateOptions:e}=(0,p.useDispatch)(u.OPTIONS_STORE_NAME),{shouldTourBeShown:o}=(0,p.useSelect)((e=>{const{getOption:o,hasFinishedResolution:t}=e(u.OPTIONS_STORE_NAME);return{shouldTourBeShown:!("yes"===o(m)||!t("getOption",[m]))}}));return{dismissModal:()=>{e({[m]:"yes"})},shouldTourBeShown:o}})();return(0,r.createElement)(a,e)}}}]);
|
||||
@@ -0,0 +1,3 @@
|
||||
:root{--wp-admin-theme-color: #007cba;--wp-admin-theme-color--rgb: 0, 124, 186;--wp-admin-theme-color-darker-10: #006ba1;--wp-admin-theme-color-darker-10--rgb: 0, 107, 161;--wp-admin-theme-color-darker-20: #005a87;--wp-admin-theme-color-darker-20--rgb: 0, 90, 135;--wp-admin-border-width-focus: 2px}@media(min-resolution: 192dpi){:root{--wp-admin-border-width-focus: 1.5px}}.woocommerce-services-item__logo{width:36px;height:auto}
|
||||
:root{--wp-admin-theme-color: #007cba;--wp-admin-theme-color--rgb: 0, 124, 186;--wp-admin-theme-color-darker-10: #006ba1;--wp-admin-theme-color-darker-10--rgb: 0, 107, 161;--wp-admin-theme-color-darker-20: #005a87;--wp-admin-theme-color-darker-20--rgb: 0, 90, 135;--wp-admin-border-width-focus: 2px}@media(min-resolution: 192dpi){:root{--wp-admin-border-width-focus: 1.5px}}.woocommerce-dismissable-list{margin:0 20px 10px 20px;animation:isLoaded;animation-duration:250ms}@media(min-width: 782px){.woocommerce-dismissable-list{margin-left:0;margin-right:0}}.woocommerce-dismissable-list .woocommerce-dismissable-list__controls{text-align:center}
|
||||
:root{--wp-admin-theme-color: #007cba;--wp-admin-theme-color--rgb: 0, 124, 186;--wp-admin-theme-color-darker-10: #006ba1;--wp-admin-theme-color-darker-10--rgb: 0, 107, 161;--wp-admin-theme-color-darker-20: #005a87;--wp-admin-theme-color-darker-20--rgb: 0, 90, 135;--wp-admin-border-width-focus: 2px}@media(min-resolution: 192dpi){:root{--wp-admin-border-width-focus: 1.5px}}.woocommerce-recommended-shipping-extensions__more_options_cta .gridicon{margin-left:4px}.woocommerce-recommended-shipping-extensions .woocommerce-list__item>.woocommerce-list__item-inner{align-items:flex-start}.woocommerce-recommended-shipping-extensions .woocommerce-list__item:hover{background-color:#fff}.woocommerce-recommended-shipping-extensions .woocommerce-list__item:hover .woocommerce-list__item-title{color:#1e1e1e}.woocommerce-recommended-shipping-extensions .woocommerce-list__item-title{font-size:14px;color:#1e1e1e;font-weight:600}.woocommerce-recommended-shipping-extensions .woocommerce-pill{margin-left:4px;margin-top:4px;margin-bottom:4px;padding:2px 8px}@media(min-width: 480px){.woocommerce-recommended-shipping-extensions .woocommerce-pill{margin-top:0;margin-bottom:0}}.woocommerce-recommended-shipping-extensions .woocommerce-list__item-after .components-button{margin-left:12px}.woocommerce-recommended-shipping-extensions .woocommerce-list__item-text,.woocommerce-recommended-shipping-extensions .woocommerce-recommended-shipping__header-heading{max-width:749px}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,6 @@
|
||||
/*!
|
||||
* Reconnecting WebSocket
|
||||
* by Pedro Ladaria <pedro.ladaria@gmail.com>
|
||||
* https://github.com/pladaria/reconnecting-websocket
|
||||
* License MIT
|
||||
*/
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
:root{--wp-admin-theme-color: #007cba;--wp-admin-theme-color--rgb: 0, 124, 186;--wp-admin-theme-color-darker-10: #006ba1;--wp-admin-theme-color-darker-10--rgb: 0, 107, 161;--wp-admin-theme-color-darker-20: #005a87;--wp-admin-theme-color-darker-20--rgb: 0, 90, 135;--wp-admin-border-width-focus: 2px}@media(min-resolution: 192dpi){:root{--wp-admin-border-width-focus: 1.5px}}.woocommerce-layout__activity-panel-header{height:50px;background:#e0e0e0;padding:16px;display:flex;justify-content:space-between;align-items:center}@media(min-width: 783px){.woocommerce-layout__activity-panel-header{padding:16px 24px 16px 24px}}.woocommerce-layout__activity-panel-header h3{font-size:13px;font-weight:600;line-height:16px;margin:0;padding:0}.woocommerce-layout__activity-panel-header .woocommerce-ellipsis-menu__toggle.components-button:not(:disabled):not([aria-disabled=true]):focus,.woocommerce-layout__activity-panel-header .woocommerce-ellipsis-menu__toggle.components-button:not(:disabled):not([aria-disabled=true]):hover{box-shadow:none;border-radius:10px;background:#ccc}.woocommerce-layout__inbox-title{color:#1e1e1e;display:flex;align-items:center}.woocommerce-layout__inbox-subtitle{color:#757575}.woocommerce-layout__inbox-badge{margin-left:6px;background-color:#757575;border-radius:13px;padding:0 6px;color:#fff;display:inline-block;text-align:center;vertical-align:top}
|
||||
@@ -0,0 +1,2 @@
|
||||
:root{--wp-admin-theme-color: #007cba;--wp-admin-theme-color--rgb: 0, 124, 186;--wp-admin-theme-color-darker-10: #006ba1;--wp-admin-theme-color-darker-10--rgb: 0, 107, 161;--wp-admin-theme-color-darker-20: #005a87;--wp-admin-theme-color-darker-20--rgb: 0, 90, 135;--wp-admin-border-width-focus: 2px}@media(min-resolution: 192dpi){:root{--wp-admin-border-width-focus: 1.5px}}.woocommerce-report-table__scroll-point{position:relative;top:-48px}@media(max-width: 782px){.woocommerce-report-table__scroll-point{top:-62px}}.woocommerce-feature-enabled-activity-panels .woocommerce-report-table__scroll-point{top:-108px}@media(max-width: 782px){.woocommerce-feature-enabled-activity-panels .woocommerce-report-table__scroll-point{top:-122px}}.woocommerce-report-table .woocommerce-search{flex-grow:1}.woocommerce-report-table .components-card__header{display:grid;grid-gap:12px;grid-template-columns:min-content 1fr min-content}.woocommerce-report-table .woocommerce-table__compare.components-button{padding:8px}.woocommerce-report-table .woocommerce-ellipsis-menu{justify-self:flex-end}button.woocommerce-table__download-button{padding:6px 12px;color:#000;text-decoration:none;align-items:center}button.woocommerce-table__download-button svg{margin-right:8px;height:24px;width:24px}@media(max-width: 782px){button.woocommerce-table__download-button svg{margin-right:0}button.woocommerce-table__download-button .woocommerce-table__download-button__label{display:none}}
|
||||
:root{--wp-admin-theme-color: #007cba;--wp-admin-theme-color--rgb: 0, 124, 186;--wp-admin-theme-color-darker-10: #006ba1;--wp-admin-theme-color-darker-10--rgb: 0, 107, 161;--wp-admin-theme-color-darker-20: #005a87;--wp-admin-theme-color-darker-20--rgb: 0, 90, 135;--wp-admin-border-width-focus: 2px}@media(min-resolution: 192dpi){:root{--wp-admin-border-width-focus: 1.5px}}.woocommerce-table__product-categories>.woocommerce-table__breadcrumbs{display:inline-block;margin-right:12px}.woocommerce-table__product-categories .components-popover__content{padding:0 16px;text-align:left}.woocommerce-table__product-categories .components-popover__content .woocommerce-table__breadcrumbs{margin-top:12px;margin-bottom:12px}
|
||||
@@ -0,0 +1,2 @@
|
||||
:root{--wp-admin-theme-color: #007cba;--wp-admin-theme-color--rgb: 0, 124, 186;--wp-admin-theme-color-darker-10: #006ba1;--wp-admin-theme-color-darker-10--rgb: 0, 107, 161;--wp-admin-theme-color-darker-20: #005a87;--wp-admin-theme-color-darker-20--rgb: 0, 90, 135;--wp-admin-border-width-focus: 2px}@media(min-resolution: 192dpi){:root{--wp-admin-border-width-focus: 1.5px}}.woocommerce-leaderboard.woocommerce-empty-content{margin-bottom:24px}.woocommerce-leaderboard .woocommerce-card__body{padding:0}.woocommerce-leaderboard .woocommerce-table__table{margin-bottom:0}.woocommerce-leaderboard .woocommerce-table__table tr:last-child{border-bottom-style:none}
|
||||
:root{--wp-admin-theme-color: #007cba;--wp-admin-theme-color--rgb: 0, 124, 186;--wp-admin-theme-color-darker-10: #006ba1;--wp-admin-theme-color-darker-10--rgb: 0, 107, 161;--wp-admin-theme-color-darker-20: #005a87;--wp-admin-theme-color-darker-20--rgb: 0, 90, 135;--wp-admin-border-width-focus: 2px}@media(min-resolution: 192dpi){:root{--wp-admin-border-width-focus: 1.5px}}.woocommerce-dashboard__dashboard-leaderboards .components-base-control__field{width:100%}.woocommerce-dashboard__dashboard-leaderboards .components-select-control__input{border:1px solid #ccc;height:34px}.woocommerce-dashboard__dashboard-leaderboards .woocommerce-dashboard__dashboard-leaderboards__select .components-base-control__field{padding:0 12px 4px}.woocommerce-dashboard__dashboard-leaderboards .woocommerce-dashboard__dashboard-leaderboards__select .woocommerce-ellipsis-menu__title{padding:10px 0 14px}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,14 @@
|
||||
/*! *****************************************************************************
|
||||
Copyright (c) Microsoft Corporation.
|
||||
|
||||
Permission to use, copy, modify, and/or distribute this software for any
|
||||
purpose with or without fee is hereby granted.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
||||
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
||||
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
PERFORMANCE OF THIS SOFTWARE.
|
||||
***************************************************************************** */
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,26 @@
|
||||
/*!
|
||||
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
|
||||
*
|
||||
* Copyright (c) 2014-2017, Jon Schlinkert.
|
||||
* Released under the MIT License.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @license React
|
||||
* use-sync-external-store-shim.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @license React
|
||||
* use-sync-external-store-shim/with-selector.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
:root{--wp-admin-theme-color: #007cba;--wp-admin-theme-color--rgb: 0, 124, 186;--wp-admin-theme-color-darker-10: #006ba1;--wp-admin-theme-color-darker-10--rgb: 0, 107, 161;--wp-admin-theme-color-darker-20: #005a87;--wp-admin-theme-color-darker-20--rgb: 0, 90, 135;--wp-admin-border-width-focus: 2px}@media(min-resolution: 192dpi){:root{--wp-admin-border-width-focus: 1.5px}}.woocommerce-analytics__table-placeholder .woocommerce-card__body{padding:0}.woocommerce-analytics__table-placeholder .woocommerce-table__table{margin-bottom:0}.woocommerce-analytics__table-placeholder .woocommerce-table__table tr:last-child{border-bottom-style:none}
|
||||
@@ -0,0 +1 @@
|
||||
:root{--wp-admin-theme-color: #007cba;--wp-admin-theme-color--rgb: 0, 124, 186;--wp-admin-theme-color-darker-10: #006ba1;--wp-admin-theme-color-darker-10--rgb: 0, 107, 161;--wp-admin-theme-color-darker-20: #005a87;--wp-admin-theme-color-darker-20--rgb: 0, 90, 135;--wp-admin-border-width-focus: 2px}@media(min-resolution: 192dpi){:root{--wp-admin-border-width-focus: 1.5px}}.woocommerce-store-alerts{position:relative;margin:0 0 40px 0;margin-right:var(--large-gap);padding:24px;border:0;box-shadow:0 0 8px -2px rgba(0,0,0,.3)}.woocommerce-store-alerts::before{content:"";position:absolute;top:0;left:0;width:4px;height:100%;background:rgba(0,0,0,0)}.woocommerce-store-alerts .components-card__header{margin-bottom:12px}.woocommerce-store-alerts a.components-button{min-height:36px;padding:4px 16px}@media(max-width: 782px){.woocommerce-store-alerts a.components-button{min-height:36px;font-size:16px;line-height:1.625;padding:5px 16px}}.woocommerce-store-alerts a.components-button+.components-button{margin-left:10px}.woocommerce-store-alerts a.components-button.is-button{color:#757575}.woocommerce-store-alerts .woocommerce-store-alerts__close{position:absolute;top:-3px;right:-3px}.woocommerce-store-alerts .woocommerce-store-alerts__close svg{width:14px;height:14px}@media(max-width: 782px){.woocommerce-store-alerts{margin-bottom:24px;padding:16px}.woocommerce-store-alerts .components-card__header{display:flex;flex-direction:column-reverse;align-items:flex-start}}.woocommerce-embed-page .woocommerce-store-alerts{margin:40px 20px 20px}@media(max-width: 782px){.woocommerce-embed-page .woocommerce-store-alerts{margin-top:24px}}.is-alert-error::before{background-color:#dc3232}.is-alert-error .components-card__header h2 svg{color:#dc3232}.is-alert-update::before{background-color:var(--wp-admin-theme-color, #11a0d2)}.is-alert-update .components-card__header h2 svg{color:var(--wp-admin-theme-color, #11a0d2)}.components-card__body .woocommerce-store-alerts__message{margin-bottom:16px}.woocommerce-store-alerts__pagination{display:inline-flex;align-items:center;border:1px solid #b5bfc9;border-radius:4px;background:#f0f2f4;margin-left:16px;min-width:120px}.woocommerce-store-alerts__pagination .components-button{padding:4px;/*!rtl:ignore*/}.rtl .woocommerce-store-alerts__pagination .components-button .arrow-left-icon,.rtl .woocommerce-store-alerts__pagination .components-button .arrow-right-icon{transform:scaleX(-1)}.woocommerce-store-alerts__pagination .woocommerce-store-alerts__pagination-label{padding:5px 12px;border-width:0 1px;border-color:#b5bfc9;border-style:solid;flex:1 1;font-size:14px;font-size:0.875rem}@media(max-width: 782px){.woocommerce-store-alerts__pagination{margin-left:0;margin-bottom:14px}.woocommerce-store-alerts__pagination .woocommerce-store-alerts__pagination-label{text-align:center}}.woocommerce-store-alerts__pagination button:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.woocommerce-store-alerts__pagination button:last-child{border-top-left-radius:0;border-bottom-left-radius:0}.woocommerce-store-alerts.is-loading::before{animation:loading-fade 1.6s ease-in-out infinite;background-color:#f0f0f0;color:rgba(0,0,0,0)}.woocommerce-store-alerts.is-loading::before::after{content:" "}@media screen and (prefers-reduced-motion: reduce){.woocommerce-store-alerts.is-loading::before{animation:none}}.woocommerce-store-alerts.is-loading .is-placeholder{animation:loading-fade 1.6s ease-in-out infinite;background-color:#f0f0f0;color:rgba(0,0,0,0);display:inline-block;height:16px}.woocommerce-store-alerts.is-loading .is-placeholder::after{content:" "}@media screen and (prefers-reduced-motion: reduce){.woocommerce-store-alerts.is-loading .is-placeholder{animation:none}}.woocommerce-store-alerts.is-loading .components-card__header .is-placeholder:nth-child(1){width:340px;height:32px}.woocommerce-store-alerts.is-loading .components-card__header .is-placeholder:nth-child(2){width:137px;height:38px}.woocommerce-store-alerts.is-loading .components-card__footer .is-placeholder{min-width:120px;height:30px}.woocommerce-store-alerts.is-loading .components-card__body .is-placeholder:nth-child(1){width:75%}.woocommerce-store-alerts.is-loading .components-card__body .is-placeholder:nth-child(2){width:45%}.woocommerce-store-alerts.is-loading .woocommerce-store-alerts__actions .is-placeholder{width:110px;height:26px}@media(max-width: 782px){.woocommerce-store-alerts.is-loading .components-card__header h2{width:100%}.woocommerce-store-alerts.is-loading .components-card__header h2 .is-placeholder{width:50%}.woocommerce-store-alerts.is-loading .components-card__footer{margin-bottom:14px}}.woocommerce-store-alerts__snooze{display:inline-flex;margin-left:10px}.woocommerce-store-alerts__snooze .components-select-control__input{vertical-align:initial;min-height:36px}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
:root{--wp-admin-theme-color: #007cba;--wp-admin-theme-color--rgb: 0, 124, 186;--wp-admin-theme-color-darker-10: #006ba1;--wp-admin-theme-color-darker-10--rgb: 0, 107, 161;--wp-admin-theme-color-darker-20: #005a87;--wp-admin-theme-color-darker-20--rgb: 0, 90, 135;--wp-admin-border-width-focus: 2px}@media(min-resolution: 192dpi){:root{--wp-admin-border-width-focus: 1.5px}}.woocommerce-report-table__scroll-point{position:relative;top:-48px}@media(max-width: 782px){.woocommerce-report-table__scroll-point{top:-62px}}.woocommerce-feature-enabled-activity-panels .woocommerce-report-table__scroll-point{top:-108px}@media(max-width: 782px){.woocommerce-feature-enabled-activity-panels .woocommerce-report-table__scroll-point{top:-122px}}.woocommerce-report-table .woocommerce-search{flex-grow:1}.woocommerce-report-table .components-card__header{display:grid;grid-gap:12px;grid-template-columns:min-content 1fr min-content}.woocommerce-report-table .woocommerce-table__compare.components-button{padding:8px}.woocommerce-report-table .woocommerce-ellipsis-menu{justify-self:flex-end}button.woocommerce-table__download-button{padding:6px 12px;color:#000;text-decoration:none;align-items:center}button.woocommerce-table__download-button svg{margin-right:8px;height:24px;width:24px}@media(max-width: 782px){button.woocommerce-table__download-button svg{margin-right:0}button.woocommerce-table__download-button .woocommerce-table__download-button__label{display:none}}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,19 @@
|
||||
/**
|
||||
* @license React
|
||||
* use-sync-external-store-shim.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @license React
|
||||
* use-sync-external-store-shim/with-selector.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
@@ -0,0 +1 @@
|
||||
"use strict";(globalThis.webpackChunk_wcAdmin_webpackJsonp=globalThis.webpackChunk_wcAdmin_webpackJsonp||[]).push([[9605],{75516:(e,t,o)=>{o.r(t),o.d(t,{Products:()=>L});var c=o(69307),r=o(65736),s=o(71310),n=o(14812),a=o(98817),i=o(55609),m=o(74617),l=o(23374),p=o(86241),d=o(73224),u=o(14599),_=o(92694),k=o(17062),w=o(73838),E=o(35231),h=o(53389),g=o(76357),C=o(86020),y=o(69987);const v=()=>{const{recordCompletionTime:e}=(0,y.Z)("products");return(0,c.createElement)("div",{className:"woocommerce-products-footer"},(0,c.createElement)(n.Text,{className:"woocommerce-products-footer__selling-somewhere-else"},(0,r.__)("Are you already selling somewhere else?","woocommerce")),(0,c.createElement)(n.Text,{className:"woocommerce-products-footer__import-options"},(0,g.Z)({mixedString:(0,r.__)("{{importCSVLink}}Import your products from a CSV file{{/importCSVLink}}.","woocommerce"),components:{importCSVLink:(0,c.createElement)(C.Link,{onClick:()=>((0,u.recordEvent)("tasklist_add_product",{method:"import"}),e(),window.location.href=(0,m.getAdminLink)("edit.php?post_type=product&page=product_importer&wc_onboarding_active_task=products"),!1),href:"",type:"wc-admin"},(0,c.createElement)(c.Fragment,null))}})))};var b=o(69359),f=o(35192),S=o(93914),Z=o(12266);const T=({isExpanded:e,onClick:t})=>(0,c.createElement)(i.Button,{className:"woocommerce-task-products__button-view-less-product-types",onClick:t},e?(0,r.__)("View less product types","woocommerce"):(0,r.__)("View more product types","woocommerce"),(0,c.createElement)(l.Z,{icon:e?p.Z:d.Z})),L=()=>{const[e,t]=(0,c.useState)(!1),[o,s]=(0,c.useState)(!1),a=(0,w.r)((()=>{const e=(0,k.O3)("onboarding");return e?.profile&&e?.profile.product_types||["physical"]})()),{productTypes:i,isRequesting:l}=(0,E.Z)((0,w.Q)(),a),{recordCompletionTime:p}=(0,y.Z)("products"),d=(0,c.useMemo)((()=>i.map((e=>({...e,onClick:()=>{e.onClick(),p()}})))),[p,i]),{loadSampleProduct:g,isLoadingSampleProducts:C}=(0,f.Z)({redirectUrlAfterSuccess:(0,m.getAdminLink)("edit.php?post_type=product&wc_onboarding_active_task=products")}),L=(0,c.useMemo)((()=>{const t=d.filter((e=>a.includes(e.key)));return e&&d.forEach((e=>!t.includes(e)&&t.push(e))),(0,_.applyFilters)(Z.x,t)}),[a,e,d]);return(0,c.createElement)("div",{className:"woocommerce-task-products"},(0,c.createElement)(n.Text,{variant:"title",as:"h2",className:"woocommerce-task-products__title"},(0,r.__)("What product do you want to add?","woocommerce")),(0,c.createElement)("div",{className:"woocommerce-product-content"},(0,c.createElement)(h.Z,{items:L,onClickLoadSampleProduct:()=>s(!0),showOtherOptions:e,isTaskListItemClicked:l}),(0,c.createElement)(T,{isExpanded:e,onClick:()=>{e||(0,u.recordEvent)("tasklist_view_more_product_types_click"),t(!e)}}),(0,c.createElement)(v,null)),C?(0,c.createElement)(b.Z,null):o&&(0,c.createElement)(S.Z,{onCancel:()=>{s(!1),(0,u.recordEvent)("tasklist_cancel_load_sample_products_click")},onImport:()=>{s(!1),g()}}))},x=()=>(0,c.createElement)(s.WooOnboardingTask,{id:"products"},(0,c.createElement)(L,null));(0,a.registerPlugin)("wc-admin-onboarding-task-products",{scope:"woocommerce-tasks",render:()=>(0,c.createElement)(x,null)})}}]);
|
||||
@@ -0,0 +1,4 @@
|
||||
:root{--wp-admin-theme-color: #007cba;--wp-admin-theme-color--rgb: 0, 124, 186;--wp-admin-theme-color-darker-10: #006ba1;--wp-admin-theme-color-darker-10--rgb: 0, 107, 161;--wp-admin-theme-color-darker-20: #005a87;--wp-admin-theme-color-darker-20--rgb: 0, 90, 135;--wp-admin-border-width-focus: 2px}@media(min-resolution: 192dpi){:root{--wp-admin-border-width-focus: 1.5px}}.woocommerce-task-products{display:flex;flex-direction:column;align-items:center}.woocommerce-task-products a{text-decoration:none;color:#007cba}.woocommerce-task-products .woocommerce-task-products__title{font-size:24px;text-align:center}.woocommerce-task-products .woocommerce-product-content{display:flex;flex-direction:column}.woocommerce-task-products .woocommerce-task-products__button-view-less-product-types{color:#007cba;padding:0;height:-moz-fit-content;height:fit-content;margin-top:21px;justify-content:center}.woocommerce-task-products .woocommerce-task-products__button-view-less-product-types svg{margin-left:8px}.woocommerce-task-products .woocommerce-task-products__button-view-less-product-types:focus{color:#007cba;outline:none;box-shadow:none}.woocommerce-task-products .woocommerce-products-footer{margin-top:53px;display:flex;flex-direction:column}.woocommerce-task-products .woocommerce-products-footer__selling-somewhere-else{text-transform:uppercase;color:#757575;font-weight:500;font-size:11px;line-height:16px;margin-bottom:8px}.woocommerce-task-products .woocommerce-products-stack{max-width:550px;margin-top:32px}
|
||||
:root{--wp-admin-theme-color: #007cba;--wp-admin-theme-color--rgb: 0, 124, 186;--wp-admin-theme-color-darker-10: #006ba1;--wp-admin-theme-color-darker-10--rgb: 0, 107, 161;--wp-admin-theme-color-darker-20: #005a87;--wp-admin-theme-color-darker-20--rgb: 0, 90, 135;--wp-admin-border-width-focus: 2px}@media(min-resolution: 192dpi){:root{--wp-admin-border-width-focus: 1.5px}}.woocommerce-products-stack{width:550px;position:relative}@media(max-width: 550px){.woocommerce-products-stack{width:100%}}.woocommerce-products-stack a{text-decoration:none;color:#007cba}.woocommerce-products-stack .woocommerce-list__item{margin-top:8px;border-radius:3px;border:1.5px solid #dcdcde}.woocommerce-products-stack .woocommerce-list__item:hover{background-color:#fff;border:1.5px solid #007cba}.woocommerce-products-stack .woocommerce-list__item:hover .woocommerce-list__item-title{color:#1e1e1e}.woocommerce-products-stack .woocommerce-list__item:not(.transitions-disabled).woocommerce-list__item-enter{transform:none}.woocommerce-products-stack .woocommerce-list__item:not(.transitions-disabled).woocommerce-list__item-enter-active{transform:none}.woocommerce-products-stack .woocommerce-list__item:not(.transitions-disabled).woocommerce-list__item-exit-active{display:none}.woocommerce-products-stack .woocommerce-list__item:first-child{margin-top:0}.woocommerce-products-stack .woocommerce-list__item.woocommerce-products-list__item-printful-advert .woocommerce-list__item-before{background:none;border-radius:0;padding:0}.woocommerce-products-stack .woocommerce-list__item.woocommerce-products-list__item-printful-advert .woocommerce-list__item-title span.printful-sponsored__text{display:flex;flex-direction:row;align-items:center;gap:8px}.woocommerce-products-stack .woocommerce-list__item.woocommerce-products-list__item-printful-advert .woocommerce-list__item-title span.printful-sponsored__text .woocommerce-label{background-color:rgba(var(--wp-admin-theme-color--rgb), 0.1);color:var(--wp-admin-theme-color, #000);border-radius:2px;padding:4px 8px;font-weight:400}.woocommerce-products-stack .woocommerce-list__item-inner{padding:20px}.woocommerce-products-stack .woocommerce-list__item-inner:focus{box-shadow:none}.woocommerce-products-stack .woocommerce-list__item-before{background:#f0f6fc;padding:8px;border-radius:50%}.woocommerce-products-stack .woocommerce-list__item-title{color:#1e1e1e;line-height:16px;font-weight:600}.woocommerce-products-stack .woocommerce-list__item-content{color:#757575;line-height:16px;font-weight:400}.woocommerce-products-stack .woocommerce-list__item-after svg{fill:#949494}.woocommerce-products-stack .woocommerce-stack__other-options{display:block;margin-top:20px;margin-bottom:4px;color:#757575;line-height:16px}.woocommerce-products-stack .woocommerce-stack__overlay-spinner{position:absolute;top:0;left:0;right:0;bottom:0;background-color:rgba(255,255,255,.8);display:flex;justify-content:center;align-items:center;z-index:999}.woocommerce-products-stack .woocommerce-stack__overlay-spinner .list-overlay{position:relative}
|
||||
:root{--wp-admin-theme-color: #007cba;--wp-admin-theme-color--rgb: 0, 124, 186;--wp-admin-theme-color-darker-10: #006ba1;--wp-admin-theme-color-darker-10--rgb: 0, 107, 161;--wp-admin-theme-color-darker-20: #005a87;--wp-admin-theme-color-darker-20--rgb: 0, 90, 135;--wp-admin-border-width-focus: 2px}@media(min-resolution: 192dpi){:root{--wp-admin-border-width-focus: 1.5px}}.woocommerce-products-load-sample-product-modal-overlay{top:0;background:rgba(255,255,255,.8)}@media(min-width: 783px){.woocommerce-products-load-sample-product-modal-overlay{left:35px}}@media(min-width: 960px){.woocommerce-products-load-sample-product-modal-overlay{left:160px}}.woocommerce-products-load-sample-product-modal{background:rgba(0,0,0,0);box-shadow:none}.woocommerce-products-load-sample-product-modal .components-modal__header{display:none}.woocommerce-products-load-sample-product-modal .components-modal__content,.woocommerce-products-load-sample-product-modal .components-modal__header+div{display:flex;flex-direction:column;align-items:center;justify-content:center;margin:0}.woocommerce-products-load-sample-product-modal .woocommerce-load-sample-product-modal__title{color:#1e1e1e;font-weight:400;font-size:24px;line-height:32px;margin-top:32px}.woocommerce-products-load-sample-product-modal .woocommerce-load-sample-product-modal__description{color:#757575;font-weight:400;font-size:16px;line-height:24px;margin-top:12px}
|
||||
:root{--wp-admin-theme-color: #007cba;--wp-admin-theme-color--rgb: 0, 124, 186;--wp-admin-theme-color-darker-10: #006ba1;--wp-admin-theme-color-darker-10--rgb: 0, 107, 161;--wp-admin-theme-color-darker-20: #005a87;--wp-admin-theme-color-darker-20--rgb: 0, 90, 135;--wp-admin-border-width-focus: 2px}@media(min-resolution: 192dpi){:root{--wp-admin-border-width-focus: 1.5px}}@media(min-width: 783px){.woocommerce-products-load-sample-product-confirm-modal-overlay{left:35px}}@media(min-width: 960px){.woocommerce-products-load-sample-product-confirm-modal-overlay{left:160px}}.woocommerce-products-load-sample-product-confirm-modal .components-truncate.components-text.woocommerce-confirmation-modal__message{color:#50575e}.woocommerce-products-load-sample-product-confirm-modal .woocommerce-confirmation-modal-actions{display:flex;justify-content:flex-end;margin-top:16px}.woocommerce-products-load-sample-product-confirm-modal .woocommerce-confirmation-modal-actions button{margin-left:16px}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
:root{--wp-admin-theme-color: #007cba;--wp-admin-theme-color--rgb: 0, 124, 186;--wp-admin-theme-color-darker-10: #006ba1;--wp-admin-theme-color-darker-10--rgb: 0, 107, 161;--wp-admin-theme-color-darker-20: #005a87;--wp-admin-theme-color-darker-20--rgb: 0, 90, 135;--wp-admin-border-width-focus: 2px}@media(min-resolution: 192dpi){:root{--wp-admin-border-width-focus: 1.5px}}.woocommerce-report-table__scroll-point{position:relative;top:-48px}@media(max-width: 782px){.woocommerce-report-table__scroll-point{top:-62px}}.woocommerce-feature-enabled-activity-panels .woocommerce-report-table__scroll-point{top:-108px}@media(max-width: 782px){.woocommerce-feature-enabled-activity-panels .woocommerce-report-table__scroll-point{top:-122px}}.woocommerce-report-table .woocommerce-search{flex-grow:1}.woocommerce-report-table .components-card__header{display:grid;grid-gap:12px;grid-template-columns:min-content 1fr min-content}.woocommerce-report-table .woocommerce-table__compare.components-button{padding:8px}.woocommerce-report-table .woocommerce-ellipsis-menu{justify-self:flex-end}button.woocommerce-table__download-button{padding:6px 12px;color:#000;text-decoration:none;align-items:center}button.woocommerce-table__download-button svg{margin-right:8px;height:24px;width:24px}@media(max-width: 782px){button.woocommerce-table__download-button svg{margin-right:0}button.woocommerce-table__download-button .woocommerce-table__download-button__label{display:none}}
|
||||
@@ -0,0 +1 @@
|
||||
"use strict";(globalThis.webpackChunk_wcAdmin_webpackJsonp=globalThis.webpackChunk_wcAdmin_webpackJsonp||[]).push([[9850],{83619:(n,t,e)=>{e.d(t,{Z:()=>a});var r=e(69307),o=e(70444);const a=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"}))},2031:(n,t,e)=>{e.d(t,{qC:()=>o}),"function"==typeof Symbol&&Symbol.observable;var r=function(){return Math.random().toString(36).substring(7).split("").join(".")};function o(){for(var n=arguments.length,t=new Array(n),e=0;e<n;e++)t[e]=arguments[e];return 0===t.length?function(n){return n}:1===t.length?t[0]:t.reduce((function(n,t){return function(){return n(t.apply(void 0,arguments))}}))}r(),r()}}]);
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
"use strict";(globalThis.webpackChunk_wcAdmin_webpackJsonp=globalThis.webpackChunk_wcAdmin_webpackJsonp||[]).push([[997],{3581:(e,t,o)=>{o.r(t),o.d(t,{Products:()=>C});var r=o(69307),c=o(71310),n=o(98817),a=o(65736),l=o(23374),s=o(86241),i=o(73224),m=o(55609),d=o(74617),p=o(14599),u=o(53389),_=o(86020);const k=({items:e})=>(0,r.createElement)("div",{className:"woocommerce-products-card-list"},(0,r.createElement)(_.List,{items:e}));var v=o(17624);const g=[{key:"from-csv",title:(0,a.__)("FROM A CSV FILE","woocommerce"),content:(0,a.__)("Import all products at once by uploading a CSV file.","woocommerce"),before:(0,r.createElement)(v.Z,null),onClick:()=>{(0,p.recordEvent)("tasklist_add_product",{method:"import"}),window.location.href=(0,d.getAdminLink)("edit.php?post_type=product&page=product_importer&wc_onboarding_active_task=products")}}];var w=o(35231),h=o(73838),f=o(69359),b=o(35192),E=o(93914),y=o(69987);const C=()=>{const[e,t]=(0,r.useState)(!1),{recordCompletionTime:o}=(0,y.Z)("products"),[c,n]=(0,r.useState)(!1),_=(0,r.useMemo)((()=>g.map((e=>({...e,onClick:()=>{e.onClick(),o()}})))),[o]),{loadSampleProduct:v,isLoadingSampleProducts:C}=(0,b.Z)({redirectUrlAfterSuccess:(0,d.getAdminLink)("edit.php?post_type=product&wc_onboarding_active_task=products")}),{productTypes:O}=(0,w.Z)((0,h.Q)(),[],{onClick:o}),Z=(0,r.createElement)(u.Z,{items:O,onClickLoadSampleProduct:()=>n(!0)});return(0,r.createElement)("div",{className:"woocommerce-task-import-products"},(0,r.createElement)("h1",null,(0,a.__)("Import your products","woocommerce")),(0,r.createElement)(k,{items:_}),(0,r.createElement)("div",{className:"woocommerce-task-import-products-stacks"},(0,r.createElement)(m.Button,{onClick:()=>{(0,p.recordEvent)("tasklist_add_product_from_scratch_click"),t(!e)}},(0,a.__)("Or add your products from scratch","woocommerce"),(0,r.createElement)(l.Z,{icon:e?s.Z:i.Z})),e&&Z),C?(0,r.createElement)(f.Z,null):c&&(0,r.createElement)(E.Z,{onCancel:()=>{n(!1),(0,p.recordEvent)("tasklist_cancel_load_sample_products_click")},onImport:()=>{n(!1),v()}}))};(0,n.registerPlugin)("wc-admin-onboarding-task-products",{scope:"woocommerce-tasks",render:()=>(0,r.createElement)(c.WooOnboardingTask,{id:"products"},(0,r.createElement)(C,null))})},17624:(e,t,o)=>{t.Z=function(e){var t=e.size,o=void 0===t?24:t,r=e.onClick,l=(e.icon,e.className),s=function(e,t){if(null==e)return{};var o,r,c=function(e,t){if(null==e)return{};var o,r,c={},n=Object.keys(e);for(r=0;r<n.length;r++)o=n[r],0<=t.indexOf(o)||(c[o]=e[o]);return c}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(r=0;r<n.length;r++)o=n[r],0<=t.indexOf(o)||Object.prototype.propertyIsEnumerable.call(e,o)&&(c[o]=e[o])}return c}(e,n),i=["gridicon","gridicons-pages",l,!1,!1,!1].filter(Boolean).join(" ");return c.default.createElement("svg",a({className:i,height:o,width:o,onClick:r},s,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),c.default.createElement("g",null,c.default.createElement("path",{d:"M16 8H8V6h8v2zm0 2H8v2h8v-2zm4-6v12l-6 6H6a2 2 0 01-2-2V4a2 2 0 012-2h12a2 2 0 012 2zm-2 10V4H6v16h6v-4a2 2 0 012-2h4z"})))};var r,c=(r=o(99196))&&r.__esModule?r:{default:r},n=["size","onClick","icon","className"];function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t,o=1;o<arguments.length;o++)for(var r in t=arguments[o])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},a.apply(this,arguments)}}}]);
|
||||
@@ -0,0 +1,5 @@
|
||||
:root{--wp-admin-theme-color: #007cba;--wp-admin-theme-color--rgb: 0, 124, 186;--wp-admin-theme-color-darker-10: #006ba1;--wp-admin-theme-color-darker-10--rgb: 0, 107, 161;--wp-admin-theme-color-darker-20: #005a87;--wp-admin-theme-color-darker-20--rgb: 0, 90, 135;--wp-admin-border-width-focus: 2px}@media(min-resolution: 192dpi){:root{--wp-admin-border-width-focus: 1.5px}}.woocommerce-products-stack{width:550px;position:relative}@media(max-width: 550px){.woocommerce-products-stack{width:100%}}.woocommerce-products-stack a{text-decoration:none;color:#007cba}.woocommerce-products-stack .woocommerce-list__item{margin-top:8px;border-radius:3px;border:1.5px solid #dcdcde}.woocommerce-products-stack .woocommerce-list__item:hover{background-color:#fff;border:1.5px solid #007cba}.woocommerce-products-stack .woocommerce-list__item:hover .woocommerce-list__item-title{color:#1e1e1e}.woocommerce-products-stack .woocommerce-list__item:not(.transitions-disabled).woocommerce-list__item-enter{transform:none}.woocommerce-products-stack .woocommerce-list__item:not(.transitions-disabled).woocommerce-list__item-enter-active{transform:none}.woocommerce-products-stack .woocommerce-list__item:not(.transitions-disabled).woocommerce-list__item-exit-active{display:none}.woocommerce-products-stack .woocommerce-list__item:first-child{margin-top:0}.woocommerce-products-stack .woocommerce-list__item.woocommerce-products-list__item-printful-advert .woocommerce-list__item-before{background:none;border-radius:0;padding:0}.woocommerce-products-stack .woocommerce-list__item.woocommerce-products-list__item-printful-advert .woocommerce-list__item-title span.printful-sponsored__text{display:flex;flex-direction:row;align-items:center;gap:8px}.woocommerce-products-stack .woocommerce-list__item.woocommerce-products-list__item-printful-advert .woocommerce-list__item-title span.printful-sponsored__text .woocommerce-label{background-color:rgba(var(--wp-admin-theme-color--rgb), 0.1);color:var(--wp-admin-theme-color, #000);border-radius:2px;padding:4px 8px;font-weight:400}.woocommerce-products-stack .woocommerce-list__item-inner{padding:20px}.woocommerce-products-stack .woocommerce-list__item-inner:focus{box-shadow:none}.woocommerce-products-stack .woocommerce-list__item-before{background:#f0f6fc;padding:8px;border-radius:50%}.woocommerce-products-stack .woocommerce-list__item-title{color:#1e1e1e;line-height:16px;font-weight:600}.woocommerce-products-stack .woocommerce-list__item-content{color:#757575;line-height:16px;font-weight:400}.woocommerce-products-stack .woocommerce-list__item-after svg{fill:#949494}.woocommerce-products-stack .woocommerce-stack__other-options{display:block;margin-top:20px;margin-bottom:4px;color:#757575;line-height:16px}.woocommerce-products-stack .woocommerce-stack__overlay-spinner{position:absolute;top:0;left:0;right:0;bottom:0;background-color:rgba(255,255,255,.8);display:flex;justify-content:center;align-items:center;z-index:999}.woocommerce-products-stack .woocommerce-stack__overlay-spinner .list-overlay{position:relative}
|
||||
:root{--wp-admin-theme-color: #007cba;--wp-admin-theme-color--rgb: 0, 124, 186;--wp-admin-theme-color-darker-10: #006ba1;--wp-admin-theme-color-darker-10--rgb: 0, 107, 161;--wp-admin-theme-color-darker-20: #005a87;--wp-admin-theme-color-darker-20--rgb: 0, 90, 135;--wp-admin-border-width-focus: 2px}@media(min-resolution: 192dpi){:root{--wp-admin-border-width-focus: 1.5px}}.woocommerce-products-card-list a{color:#007cba}.woocommerce-products-card-list .woocommerce-list{display:grid;grid-template-columns:auto auto;grid-column-gap:16px;grid-row-gap:24px;justify-content:center}.woocommerce-products-card-list .woocommerce-list__item{float:left;border-radius:3px;border:1.5px solid #dcdcde;width:263px;height:226px;text-align:center;align-items:start}.woocommerce-products-card-list .woocommerce-list__item:hover{background-color:#fff;border:1.5px solid #007cba}.woocommerce-products-card-list .woocommerce-list__item:hover .woocommerce-list__item-title{color:#1e1e1e}.woocommerce-products-card-list .woocommerce-list__item .woocommerce-list__item-inner{padding-top:40px;flex-flow:wrap;justify-content:center}.woocommerce-products-card-list .woocommerce-list__item:not(.transitions-disabled).woocommerce-list__item-enter{transform:none;transition:none}.woocommerce-products-card-list .woocommerce-list__item:not(.transitions-disabled).woocommerce-list__item-enter-active{transform:none;transition:none}.woocommerce-products-card-list .woocommerce-list__item:not(.transitions-disabled).woocommerce-list__item-exit-active{display:none}.woocommerce-products-card-list .woocommerce-list__item>.woocommerce-list__item-inner{box-shadow:none}.woocommerce-products-card-list .woocommerce-list__item-text{margin-top:16px}.woocommerce-products-card-list .woocommerce-list__item-text .woocommerce-list__item-content{margin-top:16px}.woocommerce-products-card-list .woocommerce-list__item-before{margin-right:0;background:#f0f6fc;padding:8px;border-radius:50%}.woocommerce-products-card-list .woocommerce-list__item-title{color:#1e1e1e;line-height:16px;font-weight:600;text-transform:uppercase}.woocommerce-products-card-list .woocommerce-list__item-content{color:#757575;line-height:16px;font-weight:400}
|
||||
:root{--wp-admin-theme-color: #007cba;--wp-admin-theme-color--rgb: 0, 124, 186;--wp-admin-theme-color-darker-10: #006ba1;--wp-admin-theme-color-darker-10--rgb: 0, 107, 161;--wp-admin-theme-color-darker-20: #005a87;--wp-admin-theme-color-darker-20--rgb: 0, 90, 135;--wp-admin-border-width-focus: 2px}@media(min-resolution: 192dpi){:root{--wp-admin-border-width-focus: 1.5px}}.woocommerce-products-card-list .woocommerce-list__item-content a{display:block;text-decoration:none;margin-top:8px}.woocommerce-products-card-list ul li:nth-child(2) .woocommerce-list__item-inner{padding:40px 17px 16px 17px}.woocommerce-task-import-products{max-width:544px;margin:auto}.woocommerce-task-import-products h1{text-align:center;padding:0 0 32px 0}.woocommerce-task-import-products button{color:var(--wp-admin-theme-color)}.woocommerce-task-import-products button:focus:not(:disabled){outline:none;box-shadow:none}.woocommerce-task-import-products .woocommerce-task-import-products-stacks{display:flex;flex-wrap:wrap;justify-content:center;padding:25px 0 12px 0}.woocommerce-task-import-products .woocommerce-task-import-products-stacks .woocommerce-list__item .woocommerce-list__item-title{color:#1e1e1e}.woocommerce-task-import-products .woocommerce-task-import-products-stacks .woocommerce-list__item .woocommerce-list__item-content{color:#757575}.woocommerce-task-import-products .woocommerce-task-import-products-stacks .woocommerce-list__item-before{border:0;background:none}
|
||||
:root{--wp-admin-theme-color: #007cba;--wp-admin-theme-color--rgb: 0, 124, 186;--wp-admin-theme-color-darker-10: #006ba1;--wp-admin-theme-color-darker-10--rgb: 0, 107, 161;--wp-admin-theme-color-darker-20: #005a87;--wp-admin-theme-color-darker-20--rgb: 0, 90, 135;--wp-admin-border-width-focus: 2px}@media(min-resolution: 192dpi){:root{--wp-admin-border-width-focus: 1.5px}}.woocommerce-products-load-sample-product-modal-overlay{top:0;background:rgba(255,255,255,.8)}@media(min-width: 783px){.woocommerce-products-load-sample-product-modal-overlay{left:35px}}@media(min-width: 960px){.woocommerce-products-load-sample-product-modal-overlay{left:160px}}.woocommerce-products-load-sample-product-modal{background:rgba(0,0,0,0);box-shadow:none}.woocommerce-products-load-sample-product-modal .components-modal__header{display:none}.woocommerce-products-load-sample-product-modal .components-modal__content,.woocommerce-products-load-sample-product-modal .components-modal__header+div{display:flex;flex-direction:column;align-items:center;justify-content:center;margin:0}.woocommerce-products-load-sample-product-modal .woocommerce-load-sample-product-modal__title{color:#1e1e1e;font-weight:400;font-size:24px;line-height:32px;margin-top:32px}.woocommerce-products-load-sample-product-modal .woocommerce-load-sample-product-modal__description{color:#757575;font-weight:400;font-size:16px;line-height:24px;margin-top:12px}
|
||||
:root{--wp-admin-theme-color: #007cba;--wp-admin-theme-color--rgb: 0, 124, 186;--wp-admin-theme-color-darker-10: #006ba1;--wp-admin-theme-color-darker-10--rgb: 0, 107, 161;--wp-admin-theme-color-darker-20: #005a87;--wp-admin-theme-color-darker-20--rgb: 0, 90, 135;--wp-admin-border-width-focus: 2px}@media(min-resolution: 192dpi){:root{--wp-admin-border-width-focus: 1.5px}}@media(min-width: 783px){.woocommerce-products-load-sample-product-confirm-modal-overlay{left:35px}}@media(min-width: 960px){.woocommerce-products-load-sample-product-confirm-modal-overlay{left:160px}}.woocommerce-products-load-sample-product-confirm-modal .components-truncate.components-text.woocommerce-confirmation-modal__message{color:#50575e}.woocommerce-products-load-sample-product-confirm-modal .woocommerce-confirmation-modal-actions{display:flex;justify-content:flex-end;margin-top:16px}.woocommerce-products-load-sample-product-confirm-modal .woocommerce-confirmation-modal-actions button{margin-left:16px}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
"use strict";(globalThis.webpackChunk_wcAdmin_webpackJsonp=globalThis.webpackChunk_wcAdmin_webpackJsonp||[]).push([[7844],{86689:(e,a,s)=>{s.r(a),s.d(a,{SetupTasksPanel:()=>t,default:()=>l});var c=s(69307),n=s(76486);const t=({query:e})=>(0,c.createElement)("div",{className:"woocommerce-setup-panel"},(0,c.createElement)(n.TaskLists,{query:e})),l=t}}]);
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
"use strict";(globalThis.webpackChunk_wcAdmin_webpackJsonp=globalThis.webpackChunk_wcAdmin_webpackJsonp||[]).push([[2502],{87246:(e,t,o)=>{o.r(t),o.d(t,{default:()=>g});var r=o(69307),s=o(7862),a=o.n(s),c=o(65736),l=o(92694);const n=(0,l.applyFilters)("woocommerce_admin_stock_report_advanced_filters",{filters:{},title:(0,c._x)("Products Match <select/> Filters","A sentence describing filters for Products. See screen shot for context: https://cloudup.com/cSsUY9VeCVJ","woocommerce")}),i=(0,l.applyFilters)("woocommerce_admin_stock_report_filters",[{label:(0,c.__)("Show","woocommerce"),staticParams:["paged","per_page"],param:"type",showFilters:()=>!0,filters:[{label:(0,c.__)("All products","woocommerce"),value:"all"},{label:(0,c.__)("Out of stock","woocommerce"),value:"outofstock"},{label:(0,c.__)("Low stock","woocommerce"),value:"lowstock"},{label:(0,c.__)("In stock","woocommerce"),value:"instock"},{label:(0,c.__)("On backorder","woocommerce"),value:"onbackorder"}]},{label:(0,c.__)("Filter by","woocommerce"),staticParams:["paged","per_page"],param:"filter",showFilters:()=>Object.keys(n.filters).length,filters:[{label:(0,c.__)("All Products","woocommerce"),value:"all"},{label:(0,c.__)("Advanced Filters","woocommerce"),value:"advanced"}]}]);var m=o(22629),u=o(86020),d=o(10431),_=o(81595),p=o(74617),k=o(17844),w=o(42968);const b=(0,o(17062).O3)("stockStatuses",{});class y extends r.Component{constructor(){super(),this.getHeadersContent=this.getHeadersContent.bind(this),this.getRowsContent=this.getRowsContent.bind(this),this.getSummary=this.getSummary.bind(this)}getHeadersContent(){return[{label:(0,c.__)("Product / Variation","woocommerce"),key:"title",required:!0,isLeftAligned:!0,isSortable:!0},{label:(0,c.__)("SKU","woocommerce"),key:"sku",isSortable:!0},{label:(0,c.__)("Status","woocommerce"),key:"stock_status",isSortable:!0,defaultSort:!0},{label:(0,c.__)("Stock","woocommerce"),key:"stock_quantity",isSortable:!0}]}getRowsContent(e=[]){const{query:t}=this.props,o=(0,d.getPersistedQuery)(t);return e.map((e=>{const{id:t,manage_stock:s,parent_id:a,sku:l,stock_quantity:n,stock_status:i,low_stock_amount:k}=e,w=(0,m.decodeEntities)(e.name),y=(0,d.getNewPath)(o,"/analytics/products",{filter:"single_product",products:a||t}),h=(0,r.createElement)(u.Link,{href:y,type:"wc-admin"},w),f=(0,p.getAdminLink)("post.php?action=edit&post="+(a||t));var g,v,C;return[{display:h,value:w},{display:l,value:l},{display:(g=i,C=k,(v=n)&&g&&v<=C==="instock"?(0,r.createElement)(u.Link,{href:f,type:"wp-admin"},(0,c._x)("Low","Indication of a low quantity","woocommerce")):(0,r.createElement)(u.Link,{href:f,type:"wp-admin"},b[i])),value:b[i]},{display:s?(0,_.formatValue)(this.context.getCurrencyConfig(),"number",n):(0,c.__)("N/A","woocommerce"),value:n}]}))}getSummary(e){const{products:t=0,outofstock:o=0,lowstock:r=0,instock:s=0,onbackorder:a=0}=e,l=this.context.getCurrencyConfig();return[{label:(0,c._n)("Product","Products",t,"woocommerce"),value:(0,_.formatValue)(l,"number",t)},{label:(0,c.__)("Out of stock","woocommerce"),value:(0,_.formatValue)(l,"number",o)},{label:(0,c.__)("Low stock","woocommerce"),value:(0,_.formatValue)(l,"number",r)},{label:(0,c.__)("On backorder","woocommerce"),value:(0,_.formatValue)(l,"number",a)},{label:(0,c.__)("In stock","woocommerce"),value:(0,_.formatValue)(l,"number",s)}]}render(){const{advancedFilters:e,filters:t,query:o}=this.props;return(0,r.createElement)(w.Z,{endpoint:"stock",getHeadersContent:this.getHeadersContent,getRowsContent:this.getRowsContent,getSummary:this.getSummary,summaryFields:["products","outofstock","lowstock","instock","onbackorder"],query:o,tableQuery:{orderby:o.orderby||"stock_status",order:o.order||"asc",type:o.type||"all"},title:(0,c.__)("Stock","woocommerce"),filters:t,advancedFilters:e})}}y.contextType=k.CurrencyContext;const h=y;var f=o(31511);class g extends r.Component{render(){const{query:e,path:t}=this.props;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(f.Z,{query:e,path:t,showDatePicker:!1,filters:i,advancedFilters:n,report:"stock"}),(0,r.createElement)(h,{query:e,filters:i,advancedFilters:n}))}}g.propTypes={query:a().object.isRequired}}}]);
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
"use strict";(globalThis.webpackChunk_wcAdmin_webpackJsonp=globalThis.webpackChunk_wcAdmin_webpackJsonp||[]).push([[8544],{15152:(e,r,t)=>{t.d(r,{Z:()=>l});var s=t(69307),n=t(65736),o=t(7862),a=t.n(o),c=t(86020);function i({className:e}){const r=(0,n.__)("There was an error getting your stats. Please try again.","woocommerce"),t=(0,n.__)("Reload","woocommerce");return(0,s.createElement)(c.EmptyContent,{className:e,title:r,actionLabel:t,actionCallback:()=>{window.location.reload()}})}i.propTypes={className:a().string};const l=i},91200:(e,r,t)=>{t.r(r),t.d(r,{default:()=>y});var s=t(69307),n=t(94333),o=t(9818),a=t(7862),c=t.n(a),i=t(92819),l=t(10431),p=t(67221),u=t(17844),m=t(97593),h=t(15152),g=t(37701);const d=({params:e,path:r})=>e.report||r.replace(/^\/+/,"");class E extends s.Component{constructor(){super(...arguments),this.state={hasError:!1}}componentDidCatch(e){this.setState({hasError:!0}),console.warn(e)}render(){if(this.state.hasError)return null;const{isError:e}=this.props;if(e)return(0,s.createElement)(h.Z,null);const r=d(this.props),t=(0,i.find)((0,g.Z)(),{report:r});if(!t)return(0,s.createElement)(m.E,null);const n=t.component;return(0,s.createElement)(u.CurrencyContext.Provider,{value:(0,u.getFilteredCurrencyInstance)((0,l.getQuery)())},(0,s.createElement)(n,this.props))}}E.propTypes={params:c().object.isRequired};const y=(0,n.compose)((0,o.withSelect)(((e,r)=>{const t=(0,l.getQuery)(),{search:s}=t,n=e(p.ITEMS_STORE_NAME);if(!s)return{};const o=d(r),a=(0,l.getSearchWords)(t),c="categories"===o&&"single_category"===t.filter?"products":o,i=(0,p.searchItemsByString)(n,c,a,{per_page:100}),{isError:u,isRequesting:m,items:h}=i,g=Object.keys(h);return g.length?{isError:u,isRequesting:m,query:{...r.query,[c]:g.join(",")}}:{isError:u,isRequesting:m}})))(E)}}]);
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,14 @@
|
||||
/*
|
||||
object-assign
|
||||
(c) Sindre Sorhus
|
||||
@license MIT
|
||||
*/
|
||||
|
||||
/** @license React v17.0.2
|
||||
* react-jsx-runtime.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
"use strict";(globalThis.webpackChunk_wcAdmin_webpackJsonp=globalThis.webpackChunk_wcAdmin_webpackJsonp||[]).push([[9966],{50516:(e,n,t)=>{t.r(n),t.d(n,{default:()=>p});var a=t(69307),s=t(86020);const c=(0,a.lazy)((()=>t.e(8960).then(t.bind(t,30427))));class l extends a.Component{render(){const{path:e,query:n}=this.props;return(0,a.createElement)(a.Suspense,{fallback:(0,a.createElement)(s.Spinner,null)},(0,a.createElement)(c,{query:n,path:e}))}}const p=l}}]);
|
||||
@@ -0,0 +1 @@
|
||||
"use strict";(globalThis.webpackChunk_wcAdmin_webpackJsonp=globalThis.webpackChunk_wcAdmin_webpackJsonp||[]).push([[3307],{90185:(e,t,r)=>{r.r(t),r.d(t,{default:()=>s});var o=r(69307),n=r(51393),c=r(14599),a=r(46530),i=r(98817),d=r(85597),l=r(55609),u=r(65736),m=r(5771),p=r(9818),_=r(36018);function s(){const{productId:e,variationId:t}=(0,d.UO)(),r=function(e){const[t,r]=(0,o.useState)(void 0);return(0,o.useEffect)((()=>{(0,p.resolveSelect)("core").getEntityRecord("postType","product_variation",Number.parseInt(e,10)).then((e=>{r(e)})).catch((e=>{throw r(void 0),e}))}),[e]),t}(t);return(0,o.useEffect)((()=>{(0,i.registerPlugin)("wc-admin-more-menu",{scope:"woocommerce-product-block-editor",render:()=>(0,o.createElement)(o.Fragment,null,(0,o.createElement)(n.__experimentalWooProductMoreMenuItem,null,(({onClose:e})=>(0,o.createElement)(o.Fragment,null,(0,o.createElement)(_.XG,{onClose:e}),(0,o.createElement)(m.e,{productType:"product_variation",onClose:e})))))});const e=(0,n.__experimentalInitBlocks)();return()=>{(0,i.unregisterPlugin)("wc-admin-more-menu"),e()}}),[]),(0,o.useEffect)((function(){e?(0,c.recordEvent)("product_edit_view",{source:n.TRACKS_SOURCE,product_id:e}):(0,c.recordEvent)("product_add_view",{source:n.TRACKS_SOURCE})}),[e]),r?(0,o.createElement)(o.Fragment,null,(0,o.createElement)(n.__experimentalEditor,{productId:r.id,postType:"product_variation"}),(0,o.createElement)(a.WooFooterItem,{order:0},(0,o.createElement)(o.Fragment,null,(0,o.createElement)(n.__experimentalVariationSwitcherFooter,{parentId:r?.parent_id,variationId:r?.id}),(0,o.createElement)(n.__experimentalProductMVPFeedbackModalContainer,{productId:r?.parent_id})))):(0,o.createElement)("div",{className:"woocommerce-layout__loading"},(0,o.createElement)(l.Spinner,{"aria-label":(0,u.__)("Creating the product","woocommerce")}))}(0,n.productEditorHeaderApiFetchMiddleware)(),(0,n.productApiFetchMiddleware)()}}]);
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
"use strict";(globalThis.webpackChunk_wcAdmin_webpackJsonp=globalThis.webpackChunk_wcAdmin_webpackJsonp||[]).push([[727],{15152:(e,r,t)=>{t.d(r,{Z:()=>i});var a=t(69307),o=t(65736),s=t(7862),l=t.n(s),n=t(86020);function d({className:e}){const r=(0,o.__)("There was an error getting your stats. Please try again.","woocommerce"),t=(0,o.__)("Reload","woocommerce");return(0,a.createElement)(n.EmptyContent,{className:e,title:r,actionLabel:t,actionCallback:()=>{window.location.reload()}})}d.propTypes={className:l().string};const i=d},15850:(e,r,t)=>{t.r(r),t.d(r,{default:()=>T});var a=t(69307),o=t(65736),s=t(94333),l=t(7862),n=t.n(l),d=t(55609),i=t(9818),c=t(86020),m=t(67221),u=t(14599),b=t(10431),g=t(14812),p=t(15152),h=t(346);class w extends a.Component{getFormattedHeaders(){return this.props.headers.map(((e,r)=>({isLeftAligned:0===r,hiddenByDefault:!1,isSortable:!1,key:e.label,label:e.label})))}getFormattedRows(){return this.props.rows.map((e=>e.map((e=>({display:(0,a.createElement)("div",{dangerouslySetInnerHTML:(0,h.ZP)(e.display)}),value:e.value})))))}render(){const{isRequesting:e,isError:r,totalRows:t,title:s}=this.props,l="woocommerce-leaderboard";if(r)return(0,a.createElement)(p.Z,{className:l});const n=this.getFormattedRows();return e||0!==n.length?(0,a.createElement)(c.TableCard,{className:l,headers:this.getFormattedHeaders(),isLoading:e,rows:n,rowsPerPage:t,showMenu:!1,title:s,totalRows:t}):(0,a.createElement)(d.Card,{className:l},(0,a.createElement)(d.CardHeader,null,(0,a.createElement)(g.Text,{size:16,weight:600,as:"h3",color:"#23282d"},s)),(0,a.createElement)(d.CardBody,{size:null},(0,a.createElement)(c.EmptyTable,null,(0,o.__)("No data recorded for the selected time period.","woocommerce"))))}}w.propTypes={headers:n().arrayOf(n().shape({label:n().string})),id:n().string.isRequired,query:n().object,rows:n().arrayOf(n().arrayOf(n().shape({display:n().node,value:n().oneOfType([n().string,n().number,n().bool])}))).isRequired,title:n().string.isRequired,totalRows:n().number.isRequired},w.defaultProps={rows:[],isError:!1,isRequesting:!1};const _=(0,s.compose)((0,i.withSelect)(((e,r)=>{const{id:t,query:a,totalRows:o,filters:s}=r,{woocommerce_default_date_range:l}=e(m.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings"),n=(0,m.getFilterQuery)({filters:s,query:a}),d={id:t,per_page:o,persisted_query:(0,b.getPersistedQuery)(a),query:a,select:e,defaultDateRange:l,filterQuery:n};return(0,m.getLeaderboard)(d)})))(w);var y=t(17062);const E=e=>{const{allLeaderboards:r,controls:t,isFirst:s,isLast:l,hiddenBlocks:n,onMove:i,onRemove:b,onTitleBlur:g,onTitleChange:p,onToggleHiddenBlock:h,query:w,title:y,titleInput:E,filters:T}=e,{updateUserPreferences:f,...k}=(0,m.useUserPreferences)(),[R,q]=(0,a.useState)(parseInt(k.dashboard_leaderboard_rows||5,10)),v=e=>{q(parseInt(e,10));const r={dashboard_leaderboard_rows:parseInt(e,10)};f(r)};return(0,a.createElement)(a.Fragment,null,(0,a.createElement)("div",{className:"woocommerce-dashboard__dashboard-leaderboards"},(0,a.createElement)(c.SectionHeader,{title:y||(0,o.__)("Leaderboards","woocommerce"),menu:(0,a.createElement)(c.EllipsisMenu,{label:(0,o.__)("Choose which leaderboards to display and other settings","woocommerce"),renderContent:({onToggle:e})=>(0,a.createElement)(a.Fragment,null,(0,a.createElement)(c.MenuTitle,null,(0,o.__)("Leaderboards","woocommerce")),(({allLeaderboards:e,hiddenBlocks:r,onToggleHiddenBlock:t})=>e.map((e=>{const o=!r.includes(e.id);return(0,a.createElement)(c.MenuItem,{checked:o,isCheckbox:!0,isClickable:!0,key:e.id,onInvoke:()=>{t(e.id)(),(0,u.recordEvent)("dash_leaderboards_toggle",{status:o?"off":"on",key:e.id})}},e.label)})))({allLeaderboards:r,hiddenBlocks:n,onToggleHiddenBlock:h}),(0,a.createElement)(c.MenuItem,null,(0,a.createElement)(d.SelectControl,{className:"woocommerce-dashboard__dashboard-leaderboards__select",label:(0,o.__)("Rows per table","woocommerce"),value:R,options:Array.from({length:20},((e,r)=>({v:r+1,label:r+1}))),onChange:v})),(0,a.createElement)(t,{onToggle:e,onMove:i,onRemove:b,isFirst:s,isLast:l,onTitleBlur:g,onTitleChange:p,titleInput:E}))})}),(0,a.createElement)("div",{className:"woocommerce-dashboard__columns"},(({allLeaderboards:e,hiddenBlocks:r,query:t,rowsPerTable:o,filters:s})=>e.map((e=>{if(!r.includes(e.id))return(0,a.createElement)(_,{headers:e.headers,id:e.id,key:e.id,query:t,title:e.label,totalRows:o,filters:s})})))({allLeaderboards:r,hiddenBlocks:n,query:w,rowsPerTable:R,filters:T}))))};E.propTypes={query:n().object.isRequired};const T=(0,s.compose)((0,i.withSelect)((e=>{const{getItems:r,getItemsError:t}=e(m.ITEMS_STORE_NAME),{leaderboards:a}=(0,y.O3)("dataEndpoints",{leaderboards:[]});return{allLeaderboards:a,getItems:r,getItemsError:t}})))(E)}}]);
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
"use strict";(globalThis.webpackChunk_wcAdmin_webpackJsonp=globalThis.webpackChunk_wcAdmin_webpackJsonp||[]).push([[5396],{65847:(e,t,a)=>{a.r(t),a.d(t,{default:()=>g});var n=a(69307),o=a(65736),s=a(9818),c=a(22629),i=a(55609),m=a(86020),r=a(14812),l=a(67221),d=a(14599),_=a(60538),u=a(70319),p=a(53736),y=a(52550);const w=document.querySelector('[data-gateway_id="pre_install_woocommerce_payments_promotion"]'),g=()=>{const[e,t]=(0,n.useState)(null),[a,g]=(0,n.useState)(!1),[E,h]=(0,n.useState)(!1),{installAndActivatePlugins:v,dismissRecommendedPlugins:A}=(0,s.useDispatch)(l.PLUGINS_STORE_NAME),{createNotice:N}=(0,s.useDispatch)("core/notices"),{installedPaymentGateway:S,installedPaymentGateways:T,paymentGatewaySuggestions:G,isResolving:f}=(0,s.useSelect)((t=>{const a=E&&(0,p.V7)(e);return{installedPaymentGateway:a&&t(l.PAYMENT_GATEWAYS_STORE_NAME).getPaymentGateway(a),installedPaymentGateways:t(l.PAYMENT_GATEWAYS_STORE_NAME).getPaymentGateways().reduce(((e,t)=>(a===t.id||(e[t.id]=!0),e)),{}),isResolving:t(l.ONBOARDING_STORE_NAME).isResolving("getPaymentGatewaySuggestions"),paymentGatewaySuggestions:t(l.ONBOARDING_STORE_NAME).getPaymentGatewaySuggestions()}}),[E]),P=(0,n.useRef)(!1),R=G&&G.length>0&&!(0,y.j)(G)&&!a;if((0,n.useEffect)((()=>{if((R||w&&!f)&&!P.current){P.current=!0;const e=(G||[]).reduce(((e,t)=>t.plugins&&t.plugins.length>0?{...e,[t.plugins[0].replace(/\-/g,"_")+"_displayed"]:!0}:e),{woocommerce_payments_displayed:!!w});(0,d.recordEvent)("settings_payments_recommendations_pageview",e)}}),[R,w,f]),(0,n.useEffect)((()=>{S&&(window.location.href=S.settings_url)}),[S]),!R)return null;const b=async()=>{g(!0),(0,d.recordEvent)("settings_payments_recommendations_dismiss",{}),await A("payments")||(g(!1),N("error",(0,o.__)('There was a problem hiding the "Additional ways to get paid" card.',"woocommerce")))},k=(G||[]).filter((e=>!T[e.id]&&e.plugins?.length&&(!window.wcAdminFeatures["wc-pay-promotion"]||!e.id.startsWith("woocommerce_payments")))).map((a=>({key:a.id,title:(0,n.createElement)(n.Fragment,null,a.title,a.recommended&&(0,n.createElement)(m.Pill,null,(0,o.__)("Recommended","woocommerce"))),content:(0,c.decodeEntities)(a.content),after:(0,n.createElement)(i.Button,{isSecondary:!0,onClick:()=>(a=>{e||(t(a.id),(0,d.recordEvent)("settings_payments_recommendations_setup",{extension_selected:a.plugins[0]}),v([a.plugins[0]]).then((()=>{h(!0)})).catch((e=>{(0,u.a)(e),t(null)})))})(a),isBusy:e===a.id,disabled:!!e},a.actionText||(0,o.__)("Get started","woocommerce")),before:(0,n.createElement)("img",{src:a.square_image||a.image_72x72||a.image,alt:""})})));return(0,n.createElement)(i.Card,{size:"medium",className:"woocommerce-recommended-payments-card"},(0,n.createElement)(i.CardHeader,null,(0,n.createElement)("div",{className:"woocommerce-recommended-payments-card__header"},(0,n.createElement)(r.Text,{variant:"title.small",as:"p",size:"20",lineHeight:"28px"},(0,o.__)("Recommended payment providers","woocommerce")),(0,n.createElement)(r.Text,{className:"woocommerce-recommended-payments__header-heading",variant:"caption",as:"p",size:"12",lineHeight:"16px"},(0,o.__)('We recommend adding one of the following payment extensions to your store. The extension will be installed and activated for you when you click "Get started".',"woocommerce"))),(0,n.createElement)("div",{className:"woocommerce-card__menu woocommerce-card__header-item"},(0,n.createElement)(m.EllipsisMenu,{label:(0,o.__)("Task List Options","woocommerce"),renderContent:()=>(0,n.createElement)("div",{className:"woocommerce-review-activity-card__section-controls"},(0,n.createElement)(i.Button,{onClick:b},(0,o.__)("Hide this","woocommerce")))}))),(0,n.createElement)(m.List,{items:k}),(0,n.createElement)(i.CardFooter,null,(0,n.createElement)(i.Button,{href:"https://woocommerce.com/product-category/woocommerce-extensions/payment-gateways/?utm_source=payments_recommendations",target:"_blank",isTertiary:!0},(0,o.__)("Discover other payment providers","woocommerce"),(0,n.createElement)(_.Z,{size:18}))))}}}]);
|
||||
@@ -0,0 +1 @@
|
||||
"use strict";(globalThis.webpackChunk_wcAdmin_webpackJsonp=globalThis.webpackChunk_wcAdmin_webpackJsonp||[]).push([[7387],{3995:(e,t,r)=>{r.r(t),r.d(t,{default:()=>b});var o=r(69307),n=r(51393),c=r(86020),d=r(14599),a=r(99196),l=r(98817),i=r(85597),u=r(46530),s=r(65736),p=r(9818),m=r(5771);(0,n.productEditorHeaderApiFetchMiddleware)(),(0,n.productApiFetchMiddleware)();const _=(0,a.lazy)((()=>r.e(6083).then(r.bind(r,6083)))),E=(0,a.lazy)((()=>Promise.resolve().then(r.t.bind(r,51393,23)).then((e=>({default:e.__experimentalProductMVPFeedbackModalContainer})))));function b(){const{productId:e}=(0,i.UO)();(0,a.useEffect)((()=>{document.body.classList.add("is-product-editor"),(0,l.registerPlugin)("wc-admin-product-editor",{scope:"woocommerce-product-block-editor",render:()=>(0,a.useContext)(n.__experimentalEditorLoadingContext)?null:(0,o.createElement)(o.Fragment,null,(0,o.createElement)(n.__experimentalWooProductMoreMenuItem,null,(({onClose:e})=>(0,o.createElement)(m.e,{onClose:e}))),(0,o.createElement)(u.WooFooterItem,null,(0,o.createElement)(o.Fragment,null,(0,o.createElement)(n.__experimentalProductMVPCESFooter,{productType:"product"}),(0,o.createElement)(a.Suspense,{fallback:(0,o.createElement)(c.Spinner,null)},(0,o.createElement)(E,{productId:e?Number.parseInt(e,10):void 0})))),(0,o.createElement)(a.Suspense,{fallback:(0,o.createElement)(c.Spinner,null)},(0,o.createElement)(_,null)))});const t=(0,n.__experimentalInitBlocks)();return()=>{document.body.classList.remove("is-product-editor"),(0,l.unregisterPlugin)("wc-admin-product-editor"),t()}}),[e]),(0,a.useEffect)((function(){e?(0,d.recordEvent)("product_edit_view",{source:n.TRACKS_SOURCE,product_id:e}):(0,d.recordEvent)("product_add_view",{source:n.TRACKS_SOURCE})}),[e]);const t=function(e){const[t,r]=(0,o.useState)(void 0);return(0,o.useEffect)((()=>{e?r(Number.parseInt(e,10)):(0,p.dispatch)("core").saveEntityRecord("postType","product",{title:n.AUTO_DRAFT_NAME,status:"auto-draft"}).then((e=>r(e.id))).catch((e=>{throw r(void 0),e}))}),[e]),t}(e);return t?(0,o.createElement)(n.__experimentalEditor,{productId:t}):(0,o.createElement)("div",{className:"woocommerce-layout__loading"},(0,o.createElement)(c.Spinner,{"aria-label":(0,s.__)("Creating the product","woocommerce")}))}}}]);
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
"use strict";(globalThis.webpackChunk_wcAdmin_webpackJsonp=globalThis.webpackChunk_wcAdmin_webpackJsonp||[]).push([[2624],{6957:(e,r,t)=>{t.r(r),t.d(r,{default:()=>g});var a=t(69307),n=t(65736),o=t(94333),s=t(10431),i=t(9818),c=t(86020),l=t(81921),m=t(14599),d=t(17844),u=t(78855),p=t(17062);const{performanceIndicators:y}=(0,p.O3)("dataEndpoints",{performanceIndicators:[]});class f extends a.Component{renderMenu(){const{hiddenBlocks:e,isFirst:r,isLast:t,onMove:o,onRemove:s,onTitleBlur:i,onTitleChange:l,onToggleHiddenBlock:d,titleInput:u,controls:p}=this.props;return(0,a.createElement)(c.EllipsisMenu,{label:(0,n.__)("Choose which analytics to display and the section name","woocommerce"),renderContent:({onToggle:f})=>(0,a.createElement)(a.Fragment,null,(0,a.createElement)(c.MenuTitle,null,(0,n.__)("Display stats:","woocommerce")),y.map(((r,t)=>{const n=!e.includes(r.stat);return(0,a.createElement)(c.MenuItem,{checked:n,isCheckbox:!0,isClickable:!0,key:t,onInvoke:()=>{d(r.stat)(),(0,m.recordEvent)("dash_indicators_toggle",{status:n?"off":"on",key:r.stat})}},r.label)})),(0,a.createElement)(p,{onToggle:f,onMove:o,onRemove:s,isFirst:r,isLast:t,onTitleBlur:i,onTitleChange:l,titleInput:u}))})}renderList(){const{query:e,primaryRequesting:r,secondaryRequesting:t,primaryError:o,secondaryError:i,primaryData:d,secondaryData:p,userIndicators:y,defaultDateRange:f}=this.props;if(r||t)return(0,a.createElement)(c.SummaryListPlaceholder,{numberOfItems:y.length});if(o||i)return null;const g=(0,s.getPersistedQuery)(e),{compare:h}=(0,l.getDateParamsFromQuery)(e,f),_="previous_period"===h?(0,n.__)("Previous period:","woocommerce"):(0,n.__)("Previous year:","woocommerce"),{formatAmount:k,getCurrencyConfig:E}=this.context,v=E();return(0,a.createElement)(c.SummaryList,null,(()=>y.map(((e,r)=>{const{primaryValue:t,secondaryValue:n,delta:o,reportUrl:s,reportUrlType:i}=(0,u.Z)({indicator:e,primaryData:d,secondaryData:p,currency:v,formatAmount:k,persistedQuery:g});return(0,a.createElement)(c.SummaryNumber,{key:r,href:s,hrefType:i,label:e.label,value:t,prevLabel:_,prevValue:n,delta:o,onLinkClickCallback:()=>{(0,m.recordEvent)("dash_indicators_click",{key:e.stat})}})}))))}render(){const{userIndicators:e,title:r}=this.props;return(0,a.createElement)(a.Fragment,null,(0,a.createElement)(c.SectionHeader,{title:r||(0,n.__)("Store Performance","woocommerce"),menu:this.renderMenu()}),e.length>0&&(0,a.createElement)("div",{className:"woocommerce-dashboard__store-performance"},this.renderList()))}}f.contextType=d.CurrencyContext;const g=(0,o.compose)((0,i.withSelect)(((e,r)=>{const{hiddenBlocks:t,query:a,filters:n}=r,o=y.filter((e=>!t.includes(e.stat))),s={hiddenBlocks:t,userIndicators:o,indicators:y};if(0===o.length)return s;const i=(0,u.A)(e,o,a,n);return{...s,...i}})))(f)},78855:(e,r,t)=>{t.d(r,{A:()=>u,Z:()=>d});var a=t(76292),n=t.n(a),o=t(92819),s=t(81921),i=t(67221),c=t(10431),l=t(81595),m=t(74617);const d=({indicator:e,primaryData:r,secondaryData:t,currency:a,formatAmount:n,persistedQuery:s})=>{const i=(0,o.find)(r.data,(r=>r.stat===e.stat)),d=(0,o.find)(t.data,(r=>r.stat===e.stat));if(!i||!d)return{};const u=i._links&&i._links.report[0]&&i._links.report[0].href||"",p=function(e,r,t){return e?"/jetpack"===e?(0,m.getAdminLink)("admin.php?page=jetpack#/dashboard"):(0,c.getNewPath)(r,e,{chart:t.chart}):""}(u,s,i),y="/jetpack"===u?"wp-admin":"wc-admin",f="currency"===i.format,g=(0,l.calculateDelta)(i.value,d.value);return{primaryValue:f?n(i.value):(0,l.formatValue)(a,i.format,i.value),secondaryValue:f?n(d.value):(0,l.formatValue)(a,d.format,d.value),delta:g,reportUrl:p,reportUrlType:y}},u=(e,r,t,a)=>{const{getReportItems:o,getReportItemsError:c,isResolving:l}=e(i.REPORTS_STORE_NAME),{woocommerce_default_date_range:m}=e(i.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings"),d=(0,s.getCurrentDates)(t,m),u=d.primary.before,p=d.secondary.before,y=r.map((e=>e.stat)).join(","),f=(0,i.getFilterQuery)({filters:a,query:t}),g={...f,after:(0,s.appendTimestamp)(d.primary.after,"start"),before:(0,s.appendTimestamp)(u,u.isSame(n()(),"day")?"now":"end"),stats:y},h={...f,after:(0,s.appendTimestamp)(d.secondary.after,"start"),before:(0,s.appendTimestamp)(p,p.isSame(n()(),"day")?"now":"end"),stats:y};return{primaryData:o("performance-indicators",g),primaryError:c("performance-indicators",g)||null,primaryRequesting:l("getReportItems",["performance-indicators",g]),secondaryData:o("performance-indicators",h),secondaryError:c("performance-indicators",h)||null,secondaryRequesting:l("getReportItems",["performance-indicators",h]),defaultDateRange:m}}}}]);
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user