From ba32a71786b8bdbfc53954dd2e9fe17ab443bfed Mon Sep 17 00:00:00 2001 From: Dave Richer Date: Fri, 12 Jan 2024 17:25:25 -0500 Subject: [PATCH] - nuke visible from the face of the earth with fire. Signed-off-by: Dave Richer --- client/licenses.txt | 8 ++++---- client/public/3rdparty-api.txt | 4 ++-- client/public/3rdparty-app.txt | 6 +++--- .../bill-detail-edit-component.jsx | 10 +++++----- .../bill-detail-edit-return.component.jsx | 14 +++++++------- .../bill-enter-modal.container.jsx | 6 +++--- .../ca-bc-etf-table-modal.container.jsx | 8 ++++---- .../card-payment-modal.container..jsx | 4 ++-- .../chat-media-selector.component.jsx | 12 ++++++------ .../chat-tag-ro/chat-tag-ro.component.jsx | 4 ++-- .../chat-tag-ro/chat-tag-ro.container.jsx | 10 +++++----- .../contract-convert-to-ro.component.jsx | 10 +++++----- .../contracts-find-modal.container.jsx | 8 ++++---- .../courtesy-car-return-modal.container.jsx | 4 ++-- .../components/data-label/data-label.component.jsx | 4 ++-- .../dms-cdk-makes/dms-cdk-makes.component.jsx | 10 +++++----- .../dms-customer-selector.component.jsx | 14 +++++++------- .../inventory-upsert-modal.container.jsx | 10 +++++----- .../job-at-change/schedule-event.component.jsx | 10 +++++----- .../job-costing-modal.container.jsx | 8 ++++---- .../job-detail-cards.insurance.component.jsx | 4 ++-- .../job-lines-upsert-modal.component.jsx | 6 +++--- .../job-lines-upsert-modal.container.jsx | 2 +- .../job-reconciliation.modal.container.jsx | 6 +++--- .../jobs-available-table.container.jsx | 4 ++-- .../jobs-convert-button.component.jsx | 10 +++++----- .../jobs-document-gallery.reassign.component.jsx | 10 +++++----- ...-documents-local-gallery.reassign.component.jsx | 10 +++++----- .../jobs-find-modal/jobs-find-modal.container.jsx | 2 +- ...labor-allocations-adjustment-edit.component.jsx | 8 ++++---- .../note-upsert-modal.container.jsx | 10 +++++----- .../parts-order-modal.container.jsx | 10 +++++----- .../parts-receive-modal.container.jsx | 8 ++++---- .../payable-mark-selected-exported.component.jsx | 10 +++++----- .../payment-mark-selected-exported.component.jsx | 10 +++++----- .../payment-modal/payment-modal.container.jsx | 8 ++++---- .../payments-generate-link.component.jsx | 10 +++++----- .../print-center-modal.container.jsx | 4 ++-- ...uction-board-kanban.card-settings.component.jsx | 10 +++++----- .../production-list-columns.comment.component.jsx | 12 ++++++------ .../production-list-columns.date.component.jsx | 12 ++++++------ ...uction-list-columns.lastcontacted.component.jsx | 14 +++++++------- ...ction-list-columns.productionnote.component.jsx | 14 +++++++------- ...roduction-list-save-config-button.component.jsx | 10 +++++----- .../report-center-modal.component.jsx | 6 +++--- .../report-center-modal.container.jsx | 4 ++-- .../schedule-job-modal.container.jsx | 6 +++--- .../scoreboard-entry-edit.component.jsx | 10 +++++----- .../scoreboard-jobs-list.component.jsx | 10 +++++----- .../shop-templates-list.container.jsx | 8 ++++---- .../shop-users-auth-edit.component.jsx | 12 +++++------- .../time-ticket-modal.container.jsx | 8 ++++---- .../shop-templates/shop-templates.container.js | 2 +- client/src/redux/email/email.reducer.js | 6 +++--- client/src/redux/email/email.selectors.js | 2 +- client/src/redux/messaging/messaging.reducer.js | 6 +++--- client/src/redux/messaging/messaging.selectors.js | 2 +- client/src/redux/modals/modals.reducer.js | 6 +++--- 58 files changed, 227 insertions(+), 229 deletions(-) diff --git a/client/licenses.txt b/client/licenses.txt index dd30e85e7..30a972ca6 100644 --- a/client/licenses.txt +++ b/client/licenses.txt @@ -8872,13 +8872,13 @@ │ ├─ email: luis@luisrudge.net │ ├─ path: /Users/pfic/Documents/Development/bodyshop/client/node_modules/postcss-flexbugs-fixes │ └─ licenseFile: /Users/pfic/Documents/Development/bodyshop/client/node_modules/postcss-flexbugs-fixes/LICENSE -├─ postcss-focus-visible@4.0.0 +├─ postcss-focus-open@4.0.0 │ ├─ licenses: CC0-1.0 -│ ├─ repository: https://github.com/jonathantneal/postcss-focus-visible +│ ├─ repository: https://github.com/jonathantneal/postcss-focus-open │ ├─ publisher: Jonathan Neal │ ├─ email: jonathantneal@hotmail.com -│ ├─ path: /Users/pfic/Documents/Development/bodyshop/client/node_modules/postcss-focus-visible -│ └─ licenseFile: /Users/pfic/Documents/Development/bodyshop/client/node_modules/postcss-focus-visible/LICENSE.md +│ ├─ path: /Users/pfic/Documents/Development/bodyshop/client/node_modules/postcss-focus-open +│ └─ licenseFile: /Users/pfic/Documents/Development/bodyshop/client/node_modules/postcss-focus-open/LICENSE.md ├─ postcss-focus-within@3.0.0 │ ├─ licenses: CC0-1.0 │ ├─ repository: https://github.com/jonathantneal/postcss-focus-within diff --git a/client/public/3rdparty-api.txt b/client/public/3rdparty-api.txt index 9d76ffc9c..f5acd9569 100644 --- a/client/public/3rdparty-api.txt +++ b/client/public/3rdparty-api.txt @@ -190,7 +190,7 @@ This package contains the following license and notice below: # @firebase/logger This package serves as the base of all logging in the JS SDK. Any logging that -is intended to be visible to Firebase end developers should go through this +is intended to be open to Firebase end developers should go through this module. ## Basic Usage @@ -9375,7 +9375,7 @@ parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying. An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible +to the extent that it includes a convenient and prominently open feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the diff --git a/client/public/3rdparty-app.txt b/client/public/3rdparty-app.txt index 0e6120c50..8fe9b97b2 100644 --- a/client/public/3rdparty-app.txt +++ b/client/public/3rdparty-app.txt @@ -1029,7 +1029,7 @@ The following NPM packages may be included in this product: - postcss-dir-pseudo-class@5.0.0 - postcss-double-position-gradients@1.0.0 - postcss-env-function@2.0.2 - - postcss-focus-visible@4.0.0 + - postcss-focus-open@4.0.0 - postcss-focus-within@3.0.0 - postcss-gap-properties@2.0.0 - postcss-image-set-function@3.0.1 @@ -1699,7 +1699,7 @@ This package contains the following license and notice below: # @firebase/logger This package serves as the base of all logging in the JS SDK. Any logging that -is intended to be visible to Firebase end developers should go through this +is intended to be open to Firebase end developers should go through this module. ## Basic Usage @@ -24029,7 +24029,7 @@ parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying. An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible +to the extent that it includes a convenient and prominently open feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the diff --git a/client/src/components/bill-detail-edit/bill-detail-edit-component.jsx b/client/src/components/bill-detail-edit/bill-detail-edit-component.jsx index 47037f5d6..c4a243ca8 100644 --- a/client/src/components/bill-detail-edit/bill-detail-edit-component.jsx +++ b/client/src/components/bill-detail-edit/bill-detail-edit-component.jsx @@ -48,7 +48,7 @@ export function BillDetailEditcontainer({setPartsOrderContext, insertAuditTrail, const {t} = useTranslation(); const [form] = Form.useForm(); - const [visible, setVisible] = useState(false); + const [open, setOpen] = useState(false); const [updateLoading, setUpdateLoading] = useState(false); const [update_bill] = useMutation(UPDATE_BILL); const [insertBillLine] = useMutation(INSERT_NEW_BILL_LINES); @@ -71,7 +71,7 @@ export function BillDetailEditcontainer({setPartsOrderContext, insertAuditTrail, form.getFieldValue("billlines").filter((b) => b.deductedfromlbr).length > 0 ) - setVisible(true); + setOpen(true); else { form.submit(); } @@ -154,7 +154,7 @@ export function BillDetailEditcontainer({setPartsOrderContext, insertAuditTrail, await refetch(); form.setFieldsValue(transformData(data)); form.resetFields(); - setVisible(false); + setOpen(false); setUpdateLoading(false); }; @@ -178,9 +178,9 @@ export function BillDetailEditcontainer({setPartsOrderContext, insertAuditTrail, form.submit()} - onCancel={() => setVisible(false)} + onCancel={() => setOpen(false)} okButtonProps={{ loading: updateLoading }} title={t("bills.labels.editadjwarning")} > diff --git a/client/src/components/bill-detail-edit/bill-detail-edit-return.component.jsx b/client/src/components/bill-detail-edit/bill-detail-edit-return.component.jsx index 7c7281509..cc02dba56 100644 --- a/client/src/components/bill-detail-edit/bill-detail-edit-return.component.jsx +++ b/client/src/components/bill-detail-edit/bill-detail-edit-return.component.jsx @@ -36,7 +36,7 @@ export function BillDetailEditReturn({ const history = useNavigate(); const { t } = useTranslation(); const [form] = Form.useForm(); - const [visible, setVisible] = useState(false); + const [open, setOpen] = useState(false); const handleFinish = ({ billlines }) => { const selectedLines = billlines.filter((l) => l.selected).map((l) => l.id); @@ -68,17 +68,17 @@ export function BillDetailEditReturn({ delete search.billid; history({ search: queryString.stringify(search) }); - setVisible(false); + setOpen(false); }; useEffect(() => { - if (visible === false) form.resetFields(); - }, [visible, form]); + if (open === false) form.resetFields(); + }, [open, form]); return ( <> setVisible(false)} + open={open} + onCancel={() => setOpen(false)} destroyOnClose title={t("bills.actions.return")} onOk={() => form.submit()} @@ -175,7 +175,7 @@ export function BillDetailEditReturn({ - @@ -390,9 +390,9 @@ export function ContractConvertToRo({ return (
- +