@dropins/storefront-quote-management 0.0.1-alpha9 → 1.0.0-beta1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/acceptQuoteTemplate/acceptQuoteTemplate.d.ts +13 -0
- package/api/{getCustomerData/getCustomerData.d.ts → acceptQuoteTemplate/graphql/acceptQuoteTemplate.d.ts} +2 -2
- package/{data/transforms/__fixtures__/customerData.d.ts → api/acceptQuoteTemplate/index.d.ts} +2 -2
- package/api/addQuoteTemplateLineItemNote/addQuoteTemplateLineItemNote.d.ts +15 -0
- package/api/addQuoteTemplateLineItemNote/graphql/setQuoteTemplateLineItemNote.d.ts +10 -0
- package/api/addQuoteTemplateLineItemNote/index.d.ts +10 -0
- package/api/addQuoteTemplateShippingAddress/addQuoteTemplateShippingAddress.d.ts +37 -0
- package/api/addQuoteTemplateShippingAddress/graphql/setNegotiableQuoteTemplateShippingAddress.d.ts +10 -0
- package/api/addQuoteTemplateShippingAddress/index.d.ts +10 -0
- package/api/cancelQuoteTemplate/cancelQuoteTemplate.d.ts +14 -0
- package/api/cancelQuoteTemplate/graphql/cancelQuoteTemplate.d.ts +10 -0
- package/api/cancelQuoteTemplate/index.d.ts +10 -0
- package/api/closeNegotiableQuote/closeNegotiableQuote.d.ts +31 -0
- package/api/closeNegotiableQuote/graphql/CloseNegotiableQuoteMutation.d.ts +2 -0
- package/api/closeNegotiableQuote/index.d.ts +10 -0
- package/api/createQuoteTemplate/createQuoteTemplate.d.ts +4 -0
- package/api/createQuoteTemplate/graphql/createQuoteTemplate.d.ts +10 -0
- package/api/createQuoteTemplate/index.d.ts +10 -0
- package/api/deleteQuote/deleteQuote.d.ts +28 -0
- package/api/deleteQuote/graphql/DeleteQuoteMutation.d.ts +10 -0
- package/api/{getCustomerData → deleteQuote}/index.d.ts +1 -1
- package/{data/models/customer-model.d.ts → api/deleteQuoteTemplate/deleteQuoteTemplate.d.ts} +6 -8
- package/api/deleteQuoteTemplate/graphql/deleteQuoteTemplate.d.ts +10 -0
- package/api/deleteQuoteTemplate/index.d.ts +10 -0
- package/api/duplicateNegotiableQuote/duplicateNegotiableQuote.d.ts +8 -0
- package/api/duplicateNegotiableQuote/graphql/duplicateNegotiableQuoteMutation.d.ts +10 -0
- package/api/duplicateNegotiableQuote/index.d.ts +10 -0
- package/api/generateQuoteFromTemplate/generateQuoteFromTemplate.d.ts +15 -0
- package/api/generateQuoteFromTemplate/graphql/generateNegotiableQuoteFromTemplate.d.ts +10 -0
- package/api/generateQuoteFromTemplate/index.d.ts +10 -0
- package/api/getQuoteData/getQuoteData.d.ts +10 -0
- package/api/getQuoteData/graphql/QuoteDataQuery.d.ts +2 -0
- package/api/getQuoteData/index.d.ts +10 -0
- package/api/getQuoteTemplateData/getQuoteTemplateData.d.ts +4 -0
- package/api/getQuoteTemplateData/graphql/getQuoteTemplateData.d.ts +10 -0
- package/api/getQuoteTemplateData/index.d.ts +10 -0
- package/api/getQuoteTemplates/getQuoteTemplates.d.ts +34 -0
- package/api/getQuoteTemplates/graphql/getQuoteTemplates.d.ts +10 -0
- package/api/getQuoteTemplates/index.d.ts +10 -0
- package/api/getStoreConfig/getStoreConfig.d.ts +4 -0
- package/api/getStoreConfig/graphql/StoreConfigQuery.d.ts +10 -0
- package/api/getStoreConfig/index.d.ts +10 -0
- package/api/graphql/NegotiableQuoteAddressFragment.d.ts +10 -0
- package/api/graphql/NegotiableQuoteFragment.d.ts +5 -13
- package/api/graphql/NegotiableQuoteListFragment.d.ts +10 -0
- package/api/graphql/NegotiableQuoteTemplateFragment.d.ts +10 -0
- package/api/graphql/SearchResultPageInfoFragment.d.ts +10 -0
- package/api/graphql/ShippingMethodFragment.d.ts +10 -0
- package/api/graphql/SortFieldsFragment.d.ts +10 -0
- package/api/index.d.ts +34 -1
- package/api/initialize/initialize.d.ts +2 -0
- package/api/negotiableQuotes/graphql/NegotiableQuotesQuery.d.ts +10 -0
- package/api/negotiableQuotes/index.d.ts +10 -0
- package/api/negotiableQuotes/negotiableQuotes.d.ts +39 -0
- package/api/openQuoteTemplate/graphql/openQuoteTemplate.d.ts +10 -0
- package/api/openQuoteTemplate/index.d.ts +10 -0
- package/api/openQuoteTemplate/openQuoteTemplate.d.ts +13 -0
- package/api/removeNegotiableQuoteItems/graphql/RemoveNegotiableQuoteItemsMutation.d.ts +10 -0
- package/api/removeNegotiableQuoteItems/index.d.ts +10 -0
- package/api/removeNegotiableQuoteItems/removeNegotiableQuoteItems.d.ts +8 -0
- package/api/removeQuoteTemplateItems/graphql/removeNegotiableQuoteTemplateItems.d.ts +10 -0
- package/api/removeQuoteTemplateItems/index.d.ts +10 -0
- package/api/removeQuoteTemplateItems/removeQuoteTemplateItems.d.ts +14 -0
- package/api/renameNegotiableQuote/graphql/RenameNegotiableQuoteMutation.d.ts +10 -0
- package/api/renameNegotiableQuote/index.d.ts +10 -0
- package/api/renameNegotiableQuote/renameNegotiableQuote.d.ts +9 -0
- package/api/requestNegotiableQuote/graphql/RequestNegotiableQuoteMutation.d.ts +4 -12
- package/api/requestNegotiableQuote/requestNegotiableQuote.d.ts +0 -3
- package/api/sendForReview/graphql/SendNegotiableQuoteForReviewMutation.d.ts +10 -0
- package/api/sendForReview/index.d.ts +10 -0
- package/api/sendForReview/sendForReview.d.ts +11 -0
- package/api/sendQuoteTemplateForReview/graphql/sendQuoteTemplateForReview.d.ts +10 -0
- package/api/sendQuoteTemplateForReview/index.d.ts +10 -0
- package/api/sendQuoteTemplateForReview/sendQuoteTemplateForReview.d.ts +15 -0
- package/api/setLineItemNote/graphql/SetLineItemNoteMutation.d.ts +10 -0
- package/api/setLineItemNote/index.d.ts +10 -0
- package/api/setLineItemNote/setLineItemNote.d.ts +10 -0
- package/api/setShippingAddress/graphql/SetNegotiableQuoteShippingAddressMutation.d.ts +10 -0
- package/api/setShippingAddress/index.d.ts +2 -0
- package/api/setShippingAddress/setShippingAddress.d.ts +110 -0
- package/api/updateQuantities/graphql/UpdateNegotiableQuoteQuantitiesMutation.d.ts +10 -0
- package/api/updateQuantities/index.d.ts +10 -0
- package/api/updateQuantities/updateQuantities.d.ts +36 -0
- package/api/updateQuoteTemplateItemQuantities/graphql/updateNegotiableQuoteTemplateQuantities.d.ts +10 -0
- package/api/updateQuoteTemplateItemQuantities/index.d.ts +10 -0
- package/api/updateQuoteTemplateItemQuantities/updateQuoteTemplateItemQuantities.d.ts +20 -0
- package/api/uploadFile/graphql/FinishUploadMutation.d.ts +10 -0
- package/api/uploadFile/graphql/InitiateUploadMutation.d.ts +10 -0
- package/api/uploadFile/index.d.ts +10 -0
- package/api/uploadFile/uploadFile.d.ts +12 -0
- package/api.js +95 -22
- package/api.js.map +1 -1
- package/chunks/AttachedFilesList.js +4 -0
- package/chunks/AttachedFilesList.js.map +1 -0
- package/chunks/CheckWithCircle.js +4 -0
- package/chunks/CheckWithCircle.js.map +1 -0
- package/chunks/ChevronDown.js +4 -0
- package/chunks/ChevronDown.js.map +1 -0
- package/chunks/ConfirmationModal.js +4 -0
- package/chunks/ConfirmationModal.js.map +1 -0
- package/chunks/ItemsQuoted.js +4 -0
- package/chunks/ItemsQuoted.js.map +1 -0
- package/chunks/ItemsQuotedTemplate.js +4 -0
- package/chunks/ItemsQuotedTemplate.js.map +1 -0
- package/chunks/LineItemNoteModal2.js +4 -0
- package/chunks/LineItemNoteModal2.js.map +1 -0
- package/chunks/NegotiableQuoteFragment.js +391 -0
- package/chunks/NegotiableQuoteFragment.js.map +1 -0
- package/chunks/NegotiableQuoteTemplateFragment.js +190 -0
- package/chunks/NegotiableQuoteTemplateFragment.js.map +1 -0
- package/chunks/OrderSummaryLine.js +4 -0
- package/chunks/OrderSummaryLine.js.map +1 -0
- package/chunks/QuoteCommentsList.js +4 -0
- package/chunks/QuoteCommentsList.js.map +1 -0
- package/chunks/QuoteCommentsList3.js +4 -0
- package/chunks/QuoteCommentsList3.js.map +1 -0
- package/chunks/QuoteHistoryLog.js +4 -0
- package/chunks/QuoteHistoryLog.js.map +1 -0
- package/chunks/QuoteHistoryLog3.js +4 -0
- package/chunks/QuoteHistoryLog3.js.map +1 -0
- package/chunks/QuoteTemplateCommentsList.js +4 -0
- package/chunks/QuoteTemplateCommentsList.js.map +1 -0
- package/chunks/QuoteTemplateHistoryLog.js +4 -0
- package/chunks/QuoteTemplateHistoryLog.js.map +1 -0
- package/chunks/ShippingAddressDisplay.js +4 -0
- package/chunks/ShippingAddressDisplay.js.map +1 -0
- package/chunks/TabbedContent.js +4 -0
- package/chunks/TabbedContent.js.map +1 -0
- package/chunks/WarningFilled.js +4 -0
- package/chunks/WarningFilled.js.map +1 -0
- package/chunks/addQuoteTemplateLineItemNote.js +13 -0
- package/chunks/addQuoteTemplateLineItemNote.js.map +1 -0
- package/chunks/dateUtils.js +4 -0
- package/chunks/dateUtils.js.map +1 -0
- package/chunks/duplicateNegotiableQuote.js +121 -0
- package/chunks/duplicateNegotiableQuote.js.map +1 -0
- package/chunks/generateQuoteFromTemplate.js +12 -0
- package/chunks/generateQuoteFromTemplate.js.map +1 -0
- package/chunks/getQuoteTemplates.js +50 -0
- package/chunks/getQuoteTemplates.js.map +1 -0
- package/chunks/negotiableQuotes.js +77 -0
- package/chunks/negotiableQuotes.js.map +1 -0
- package/chunks/openQuoteTemplate.js +31 -0
- package/chunks/openQuoteTemplate.js.map +1 -0
- package/chunks/requestNegotiableQuote.js +6 -81
- package/chunks/requestNegotiableQuote.js.map +1 -1
- package/chunks/setLineItemNote.js +47 -0
- package/chunks/setLineItemNote.js.map +1 -0
- package/chunks/state.js +4 -0
- package/chunks/state.js.map +1 -0
- package/chunks/transform-quote-template.js +4 -0
- package/chunks/transform-quote-template.js.map +1 -0
- package/chunks/transform-quote.js +4 -0
- package/chunks/transform-quote.js.map +1 -0
- package/chunks/uploadFile.js +20 -0
- package/chunks/uploadFile.js.map +1 -0
- package/components/ActionsBar/ActionsBar.d.ts +15 -0
- package/components/ActionsBar/index.d.ts +11 -0
- package/components/AttachedFilesList/AttachedFilesList.d.ts +16 -0
- package/components/AttachedFilesList/index.d.ts +11 -0
- package/components/ConfirmationModal/ConfirmationModal.d.ts +17 -0
- package/components/ConfirmationModal/index.d.ts +11 -0
- package/components/ItemsQuoted/ItemsQuoted.d.ts +11 -0
- package/components/ItemsQuoted/index.d.ts +11 -0
- package/components/LineItemNoteModal/LineItemNoteModal.d.ts +17 -0
- package/components/LineItemNoteModal/index.d.ts +11 -0
- package/components/ManageNegotiableQuote/ManageNegotiableQuote.d.ts +22 -0
- package/components/ManageNegotiableQuote/__fixtures__/ManageNegotiableQuoteProps.d.ts +4 -0
- package/components/ManageNegotiableQuote/index.d.ts +11 -0
- package/components/ManageNegotiableQuoteTemplate/ManageNegotiableQuoteTemplate.d.ts +20 -0
- package/components/ManageNegotiableQuoteTemplate/__fixtures__/ManageNegotiableQuoteTemplateProps.d.ts +4 -0
- package/components/ManageNegotiableQuoteTemplate/index.d.ts +11 -0
- package/components/OrderSummary/OrderSummary.d.ts +48 -0
- package/components/OrderSummary/index.d.ts +11 -0
- package/components/OrderSummaryLine/OrderSummaryLine.d.ts +13 -0
- package/components/OrderSummaryLine/index.d.ts +11 -0
- package/components/ProductListTable/ProductListTable.d.ts +61 -0
- package/components/ProductListTable/index.d.ts +11 -0
- package/components/QuoteCommentsList/QuoteCommentsList.d.ts +17 -0
- package/components/QuoteCommentsList/index.d.ts +11 -0
- package/components/QuoteHistoryLog/QuoteHistoryLog.d.ts +77 -0
- package/components/QuoteHistoryLog/index.d.ts +11 -0
- package/components/QuotePricesSummary/QuotePricesSummary.d.ts +16 -0
- package/components/QuotePricesSummary/index.d.ts +11 -0
- package/components/QuoteSummaryList/QuoteSummaryList.d.ts +13 -0
- package/components/QuoteSummaryList/index.d.ts +11 -0
- package/components/QuoteTemplatesListTable/QuoteTemplatesListTable.d.ts +29 -0
- package/components/QuoteTemplatesListTable/index.d.ts +10 -0
- package/components/QuotesListTable/QuotesListTable.d.ts +29 -0
- package/components/QuotesListTable/index.d.ts +11 -0
- package/components/RenameQuoteModal/RenameQuoteModal.d.ts +18 -0
- package/components/RenameQuoteModal/index.d.ts +11 -0
- package/components/RequestNegotiableQuoteForm/RequestNegotiableQuoteForm.d.ts +1 -0
- package/components/ShippingAddressDisplay/ShippingAddressDisplay.d.ts +12 -0
- package/components/ShippingAddressDisplay/index.d.ts +11 -0
- package/components/TabbedContent/TabbedContent.d.ts +10 -0
- package/components/TabbedContent/index.d.ts +11 -0
- package/components/index.d.ts +28 -0
- package/containers/ItemsQuoted/ItemsQuoted.d.ts +30 -0
- package/containers/ItemsQuoted/index.d.ts +11 -0
- package/containers/ItemsQuoted.d.ts +3 -0
- package/containers/ItemsQuoted.js +4 -0
- package/containers/ItemsQuoted.js.map +1 -0
- package/containers/ItemsQuotedTemplate/ItemsQuotedTemplate.d.ts +21 -0
- package/containers/ItemsQuotedTemplate/index.d.ts +11 -0
- package/containers/ItemsQuotedTemplate.d.ts +3 -0
- package/containers/ItemsQuotedTemplate.js +4 -0
- package/containers/ItemsQuotedTemplate.js.map +1 -0
- package/containers/ManageNegotiableQuote/ManageNegotiableQuote.d.ts +87 -0
- package/containers/ManageNegotiableQuote/index.d.ts +11 -0
- package/containers/ManageNegotiableQuote.d.ts +3 -0
- package/containers/ManageNegotiableQuote.js +4 -0
- package/containers/ManageNegotiableQuote.js.map +1 -0
- package/containers/ManageNegotiableQuoteTemplate/ManageNegotiableQuoteTemplate.d.ts +67 -0
- package/containers/ManageNegotiableQuoteTemplate/index.d.ts +11 -0
- package/containers/ManageNegotiableQuoteTemplate.d.ts +3 -0
- package/containers/ManageNegotiableQuoteTemplate.js +4 -0
- package/containers/ManageNegotiableQuoteTemplate.js.map +1 -0
- package/containers/OrderSummary/OrderSummary.d.ts +11 -0
- package/containers/OrderSummary/index.d.ts +11 -0
- package/containers/OrderSummary.d.ts +3 -0
- package/containers/OrderSummary.js +4 -0
- package/containers/OrderSummary.js.map +1 -0
- package/containers/OrderSummaryLine/OrderSummaryLine.d.ts +14 -0
- package/containers/OrderSummaryLine/index.d.ts +11 -0
- package/containers/OrderSummaryLine.d.ts +3 -0
- package/containers/OrderSummaryLine.js +4 -0
- package/containers/OrderSummaryLine.js.map +1 -0
- package/containers/QuoteCommentsList/QuoteCommentsList.d.ts +9 -0
- package/containers/QuoteCommentsList/index.d.ts +11 -0
- package/containers/QuoteCommentsList.d.ts +3 -0
- package/containers/QuoteCommentsList.js +4 -0
- package/containers/QuoteCommentsList.js.map +1 -0
- package/containers/QuoteHistoryLog/QuoteHistoryLog.d.ts +9 -0
- package/containers/QuoteHistoryLog/index.d.ts +11 -0
- package/containers/QuoteHistoryLog.d.ts +3 -0
- package/containers/QuoteHistoryLog.js +4 -0
- package/containers/QuoteHistoryLog.js.map +1 -0
- package/containers/QuoteSummaryList/QuoteSummaryList.d.ts +51 -0
- package/containers/QuoteSummaryList/index.d.ts +11 -0
- package/containers/QuoteSummaryList.d.ts +3 -0
- package/containers/QuoteSummaryList.js +4 -0
- package/containers/QuoteSummaryList.js.map +1 -0
- package/containers/QuoteTemplateCommentsList/QuoteTemplateCommentsList.d.ts +9 -0
- package/containers/QuoteTemplateCommentsList/index.d.ts +11 -0
- package/containers/QuoteTemplateCommentsList.d.ts +3 -0
- package/containers/QuoteTemplateCommentsList.js +4 -0
- package/containers/QuoteTemplateCommentsList.js.map +1 -0
- package/containers/QuoteTemplateHistoryLog/QuoteTemplateHistoryLog.d.ts +9 -0
- package/containers/QuoteTemplateHistoryLog/index.d.ts +11 -0
- package/containers/QuoteTemplateHistoryLog.d.ts +3 -0
- package/containers/QuoteTemplateHistoryLog.js +4 -0
- package/containers/QuoteTemplateHistoryLog.js.map +1 -0
- package/containers/QuoteTemplatesListTable/QuoteTemplatesListTable.d.ts +74 -0
- package/containers/QuoteTemplatesListTable/index.d.ts +11 -0
- package/containers/QuoteTemplatesListTable.d.ts +3 -0
- package/containers/QuoteTemplatesListTable.js +4 -0
- package/containers/QuoteTemplatesListTable.js.map +1 -0
- package/containers/QuotesListTable/QuotesListTable.d.ts +72 -0
- package/containers/QuotesListTable/index.d.ts +11 -0
- package/containers/QuotesListTable.d.ts +3 -0
- package/containers/QuotesListTable.js +4 -0
- package/containers/QuotesListTable.js.map +1 -0
- package/containers/RequestNegotiableQuoteForm/RequestNegotiableQuoteForm.d.ts +10 -1
- package/containers/RequestNegotiableQuoteForm.js +1 -1
- package/containers/RequestNegotiableQuoteForm.js.map +1 -1
- package/containers/ShippingAddressDisplay/ShippingAddressDisplay.d.ts +10 -0
- package/containers/ShippingAddressDisplay/index.d.ts +11 -0
- package/containers/ShippingAddressDisplay.d.ts +1 -0
- package/containers/ShippingAddressDisplay.js +4 -0
- package/containers/ShippingAddressDisplay.js.map +1 -0
- package/containers/index.d.ts +22 -0
- package/data/models/__fixtures__/negotiableQuoteModel.d.ts +8 -0
- package/data/models/__fixtures__/negotiableQuoteTemplateModel.d.ts +4 -0
- package/data/models/__fixtures__/negotiableQuoteTemplatesListModel.d.ts +5 -0
- package/data/models/__fixtures__/negotiableQuotesListModel.d.ts +5 -0
- package/data/models/__fixtures__/storeConfigModel.d.ts +5 -0
- package/data/models/index.d.ts +11 -1
- package/data/models/negotiable-quote-model.d.ts +262 -27
- package/data/models/negotiable-quote-template-model.d.ts +147 -0
- package/data/models/store-config-model.d.ts +27 -0
- package/data/transforms/__fixtures__/negotiableQuoteData.d.ts +665 -2
- package/data/transforms/__fixtures__/negotiableQuoteTemplateData.d.ts +1610 -0
- package/data/transforms/__fixtures__/storeConfigData.d.ts +31 -0
- package/data/transforms/index.d.ts +6 -13
- package/data/transforms/transform-quote-template.d.ts +5 -0
- package/data/transforms/transform-quote.d.ts +13 -2
- package/data/transforms/transform-store-config.d.ts +4 -0
- package/hooks/useQuoteSummaryData.d.ts +10 -0
- package/i18n/en_US.json.d.ts +360 -1
- package/lib/configurationTransformers.d.ts +27 -0
- package/lib/itemFormatters.d.ts +47 -0
- package/lib/priceCalculators.d.ts +41 -0
- package/lib/state.d.ts +6 -0
- package/package.json +1 -1
- package/render.js +6 -2
- package/render.js.map +1 -1
- package/types/state.types.d.ts +13 -0
- package/utils/dateUtils.d.ts +26 -0
- package/utils/fileUtils.d.ts +46 -0
- package/utils/mapAuthPermissions.d.ts +39 -0
- package/api/getCustomerData/graphql/CustomerQuery.d.ts +0 -2
- package/api/graphql/CustomerFragment.d.ts +0 -2
- package/data/models/__fixtures__/customerModel.d.ts +0 -4
- package/data/transforms/transform-customer.d.ts +0 -15
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { FunctionComponent, VNode } from 'preact';
|
|
2
|
+
import { HTMLAttributes } from 'preact/compat';
|
|
3
|
+
import { JSXInternal } from 'preact/src/jsx';
|
|
4
|
+
|
|
5
|
+
export interface OrderSummaryLineItem {
|
|
6
|
+
key: string;
|
|
7
|
+
title?: string;
|
|
8
|
+
className?: string;
|
|
9
|
+
sortOrder: number;
|
|
10
|
+
content: string | JSXInternal.Element | VNode<HTMLAttributes<HTMLDivElement>> | OrderSummaryLineItem[] | undefined;
|
|
11
|
+
}
|
|
12
|
+
export interface OrderSummaryProps extends HTMLAttributes<HTMLDivElement> {
|
|
13
|
+
variant?: 'primary' | 'secondary';
|
|
14
|
+
heading?: VNode<HTMLAttributes<HTMLDivElement>>;
|
|
15
|
+
subTotal?: {
|
|
16
|
+
price: VNode<HTMLAttributes<HTMLSpanElement>>;
|
|
17
|
+
priceExcludingTax?: VNode<HTMLAttributes<HTMLSpanElement>>;
|
|
18
|
+
taxIncluded?: boolean;
|
|
19
|
+
taxExcluded?: boolean;
|
|
20
|
+
};
|
|
21
|
+
shipping?: {
|
|
22
|
+
price: VNode<HTMLAttributes<HTMLSpanElement>>;
|
|
23
|
+
priceExcludingTax?: VNode<HTMLAttributes<HTMLSpanElement>>;
|
|
24
|
+
taxIncluded?: boolean;
|
|
25
|
+
taxExcluded?: boolean;
|
|
26
|
+
};
|
|
27
|
+
discounts?: {
|
|
28
|
+
label: string;
|
|
29
|
+
price: VNode<HTMLAttributes<HTMLSpanElement>>;
|
|
30
|
+
caption?: VNode<HTMLAttributes<HTMLDivElement>>;
|
|
31
|
+
coupon?: VNode<HTMLAttributes<HTMLSpanElement>>;
|
|
32
|
+
}[];
|
|
33
|
+
taxTotal?: {
|
|
34
|
+
price: VNode<HTMLAttributes<HTMLSpanElement>>;
|
|
35
|
+
};
|
|
36
|
+
taxesApplied?: {
|
|
37
|
+
label: string;
|
|
38
|
+
price: VNode<HTMLAttributes<HTMLSpanElement>>;
|
|
39
|
+
}[];
|
|
40
|
+
total?: {
|
|
41
|
+
price: VNode<HTMLAttributes<HTMLSpanElement>>;
|
|
42
|
+
priceWithoutTax?: VNode<HTMLAttributes<HTMLSpanElement>>;
|
|
43
|
+
};
|
|
44
|
+
totalSaved?: VNode<HTMLAttributes<HTMLSpanElement>>;
|
|
45
|
+
updateLineItems?: (lineItems: Array<OrderSummaryLineItem>) => Array<OrderSummaryLineItem>;
|
|
46
|
+
}
|
|
47
|
+
export declare const OrderSummary: FunctionComponent<OrderSummaryProps>;
|
|
48
|
+
//# sourceMappingURL=OrderSummary.d.ts.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/********************************************************************
|
|
2
|
+
* Copyright 2025 Adobe
|
|
3
|
+
* All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* NOTICE: Adobe permits you to use, modify, and distribute this
|
|
6
|
+
* file in accordance with the terms of the Adobe license agreement
|
|
7
|
+
* accompanying it.
|
|
8
|
+
*******************************************************************/
|
|
9
|
+
export * from './OrderSummary';
|
|
10
|
+
export { OrderSummary as default } from './OrderSummary';
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FunctionComponent, VNode } from 'preact';
|
|
2
|
+
import { HTMLAttributes } from 'preact/compat';
|
|
3
|
+
|
|
4
|
+
export interface OrderSummaryLineComponentProps extends Omit<HTMLAttributes<HTMLDivElement>, 'label'> {
|
|
5
|
+
label: VNode | string;
|
|
6
|
+
price: VNode<HTMLAttributes<HTMLSpanElement>>;
|
|
7
|
+
classSuffixes?: Array<string>;
|
|
8
|
+
labelClassSuffix?: string;
|
|
9
|
+
testId?: string;
|
|
10
|
+
children?: any;
|
|
11
|
+
}
|
|
12
|
+
export declare const OrderSummaryLine: FunctionComponent<OrderSummaryLineComponentProps>;
|
|
13
|
+
//# sourceMappingURL=OrderSummaryLine.d.ts.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/********************************************************************
|
|
2
|
+
* Copyright 2025 Adobe
|
|
3
|
+
* All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* NOTICE: Adobe permits you to use, modify, and distribute this
|
|
6
|
+
* file in accordance with the terms of the Adobe license agreement
|
|
7
|
+
* accompanying it.
|
|
8
|
+
*******************************************************************/
|
|
9
|
+
export * from './OrderSummaryLine';
|
|
10
|
+
export { OrderSummaryLine as default } from './OrderSummaryLine';
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { FunctionComponent } from 'preact';
|
|
2
|
+
import { HTMLAttributes } from 'preact/compat';
|
|
3
|
+
|
|
4
|
+
export interface ProductListTableItem {
|
|
5
|
+
uid: string;
|
|
6
|
+
product: {
|
|
7
|
+
name: string;
|
|
8
|
+
sku: string;
|
|
9
|
+
};
|
|
10
|
+
prices: {
|
|
11
|
+
originalItemPrice: {
|
|
12
|
+
value: number;
|
|
13
|
+
currency: string;
|
|
14
|
+
};
|
|
15
|
+
rowTotal: {
|
|
16
|
+
value: number;
|
|
17
|
+
currency: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
quantity: number;
|
|
21
|
+
catalogDiscount?: {
|
|
22
|
+
amountOff: number;
|
|
23
|
+
percentOff: number;
|
|
24
|
+
};
|
|
25
|
+
configurableOptions?: Array<{
|
|
26
|
+
optionLabel: string;
|
|
27
|
+
valueLabel: string;
|
|
28
|
+
}>;
|
|
29
|
+
bundleOptions?: Array<{
|
|
30
|
+
label: string;
|
|
31
|
+
values: Array<{
|
|
32
|
+
label: string;
|
|
33
|
+
quantity: number;
|
|
34
|
+
originalPrice: {
|
|
35
|
+
value: number;
|
|
36
|
+
currency: string;
|
|
37
|
+
};
|
|
38
|
+
}>;
|
|
39
|
+
}>;
|
|
40
|
+
noteFromBuyer?: Array<{
|
|
41
|
+
createdAt: string;
|
|
42
|
+
creatorId: number;
|
|
43
|
+
creatorType: number;
|
|
44
|
+
negotiableQuoteItemUid: string;
|
|
45
|
+
note: string;
|
|
46
|
+
noteUid: string;
|
|
47
|
+
}>;
|
|
48
|
+
}
|
|
49
|
+
export interface ProductListTableProps extends HTMLAttributes<HTMLDivElement | HTMLFormElement> {
|
|
50
|
+
items: ProductListTableItem[];
|
|
51
|
+
canEdit: boolean;
|
|
52
|
+
readOnly?: boolean;
|
|
53
|
+
showActions?: boolean;
|
|
54
|
+
onItemCheckboxChange?: (item: ProductListTableItem, isSelected: boolean) => void;
|
|
55
|
+
onItemDropdownChange?: (item: ProductListTableItem, action: string) => void;
|
|
56
|
+
onQuantityChange?: (item: ProductListTableItem, newQuantity: number) => void;
|
|
57
|
+
onUpdate?: (e: SubmitEvent) => void;
|
|
58
|
+
dropdownSelections?: Record<string, string | undefined>;
|
|
59
|
+
}
|
|
60
|
+
export declare const ProductListTable: FunctionComponent<ProductListTableProps>;
|
|
61
|
+
//# sourceMappingURL=ProductListTable.d.ts.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/********************************************************************
|
|
2
|
+
* Copyright 2025 Adobe
|
|
3
|
+
* All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* NOTICE: Adobe permits you to use, modify, and distribute this
|
|
6
|
+
* file in accordance with the terms of the Adobe license agreement
|
|
7
|
+
* accompanying it.
|
|
8
|
+
*******************************************************************/
|
|
9
|
+
export * from './ProductListTable';
|
|
10
|
+
export { ProductListTable as default } from './ProductListTable';
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { FunctionComponent, VNode } from 'preact';
|
|
2
|
+
import { HTMLAttributes } from 'preact/compat';
|
|
3
|
+
|
|
4
|
+
export interface QuoteCommentsListProps extends HTMLAttributes<HTMLUListElement> {
|
|
5
|
+
comments: Array<{
|
|
6
|
+
uid: string;
|
|
7
|
+
createdAt: VNode;
|
|
8
|
+
author: VNode;
|
|
9
|
+
text: VNode;
|
|
10
|
+
attachments?: Array<{
|
|
11
|
+
name: string;
|
|
12
|
+
url: string;
|
|
13
|
+
}>;
|
|
14
|
+
}>;
|
|
15
|
+
}
|
|
16
|
+
export declare const QuoteCommentsList: FunctionComponent<QuoteCommentsListProps>;
|
|
17
|
+
//# sourceMappingURL=QuoteCommentsList.d.ts.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/********************************************************************
|
|
2
|
+
* Copyright 2025 Adobe
|
|
3
|
+
* All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* NOTICE: Adobe permits you to use, modify, and distribute this
|
|
6
|
+
* file in accordance with the terms of the Adobe license agreement
|
|
7
|
+
* accompanying it.
|
|
8
|
+
*******************************************************************/
|
|
9
|
+
export * from './QuoteCommentsList';
|
|
10
|
+
export { QuoteCommentsList as default } from './QuoteCommentsList';
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { FunctionComponent } from 'preact';
|
|
2
|
+
import { HTMLAttributes } from 'preact/compat';
|
|
3
|
+
|
|
4
|
+
export interface HistoryEntry {
|
|
5
|
+
uid: string;
|
|
6
|
+
createdAt: string;
|
|
7
|
+
author: {
|
|
8
|
+
firstname: string;
|
|
9
|
+
lastname: string;
|
|
10
|
+
};
|
|
11
|
+
changeType: string;
|
|
12
|
+
changes: {
|
|
13
|
+
commentAdded?: {
|
|
14
|
+
comment: string;
|
|
15
|
+
};
|
|
16
|
+
statuses?: {
|
|
17
|
+
changes: Array<{
|
|
18
|
+
oldStatus?: string;
|
|
19
|
+
newStatus?: string;
|
|
20
|
+
}>;
|
|
21
|
+
};
|
|
22
|
+
expiration?: {
|
|
23
|
+
oldExpiration?: string;
|
|
24
|
+
newExpiration?: string;
|
|
25
|
+
};
|
|
26
|
+
total?: {
|
|
27
|
+
oldPrice?: {
|
|
28
|
+
value: number;
|
|
29
|
+
currency: string;
|
|
30
|
+
};
|
|
31
|
+
newPrice?: {
|
|
32
|
+
value: number;
|
|
33
|
+
currency: string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
customChanges?: {
|
|
37
|
+
title: string;
|
|
38
|
+
old_value: string;
|
|
39
|
+
new_value: string;
|
|
40
|
+
};
|
|
41
|
+
productsRemoved?: {
|
|
42
|
+
productsRemovedFromCatalog?: string[];
|
|
43
|
+
productsRemovedFromQuote?: Array<{
|
|
44
|
+
name?: string;
|
|
45
|
+
sku?: string;
|
|
46
|
+
uid: string;
|
|
47
|
+
}>;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
export interface ItemNote {
|
|
52
|
+
createdAt: string;
|
|
53
|
+
creatorId: number;
|
|
54
|
+
creatorType: number;
|
|
55
|
+
negotiableQuoteItemUid: string;
|
|
56
|
+
note: string;
|
|
57
|
+
noteUid: string;
|
|
58
|
+
}
|
|
59
|
+
export interface QuoteItem {
|
|
60
|
+
product: {
|
|
61
|
+
name: string;
|
|
62
|
+
sku: string;
|
|
63
|
+
};
|
|
64
|
+
noteFromBuyer?: ItemNote[];
|
|
65
|
+
noteFromSeller?: ItemNote[];
|
|
66
|
+
}
|
|
67
|
+
export interface QuoteHistoryLogProps extends HTMLAttributes<HTMLDivElement> {
|
|
68
|
+
history?: HistoryEntry[];
|
|
69
|
+
items?: QuoteItem[];
|
|
70
|
+
buyer: {
|
|
71
|
+
firstname: string;
|
|
72
|
+
lastname: string;
|
|
73
|
+
};
|
|
74
|
+
salesRepName: string;
|
|
75
|
+
}
|
|
76
|
+
export declare const QuoteHistoryLog: FunctionComponent<QuoteHistoryLogProps>;
|
|
77
|
+
//# sourceMappingURL=QuoteHistoryLog.d.ts.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/********************************************************************
|
|
2
|
+
* Copyright 2025 Adobe
|
|
3
|
+
* All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* NOTICE: Adobe permits you to use, modify, and distribute this
|
|
6
|
+
* file in accordance with the terms of the Adobe license agreement
|
|
7
|
+
* accompanying it.
|
|
8
|
+
*******************************************************************/
|
|
9
|
+
export * from './QuoteHistoryLog';
|
|
10
|
+
export { QuoteHistoryLog as default } from './QuoteHistoryLog';
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { FunctionComponent, VNode } from 'preact';
|
|
2
|
+
import { HTMLAttributes } from 'preact/compat';
|
|
3
|
+
|
|
4
|
+
interface Entry {
|
|
5
|
+
label: string;
|
|
6
|
+
id: string;
|
|
7
|
+
value: VNode;
|
|
8
|
+
strong?: boolean;
|
|
9
|
+
children?: Entry[];
|
|
10
|
+
}
|
|
11
|
+
export interface QuotePricesSummaryProps extends HTMLAttributes<HTMLDivElement> {
|
|
12
|
+
entries?: Entry[];
|
|
13
|
+
}
|
|
14
|
+
export declare const QuotePricesSummary: FunctionComponent<QuotePricesSummaryProps>;
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=QuotePricesSummary.d.ts.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/********************************************************************
|
|
2
|
+
* Copyright 2025 Adobe
|
|
3
|
+
* All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* NOTICE: Adobe permits you to use, modify, and distribute this
|
|
6
|
+
* file in accordance with the terms of the Adobe license agreement
|
|
7
|
+
* accompanying it.
|
|
8
|
+
*******************************************************************/
|
|
9
|
+
export * from './QuotePricesSummary';
|
|
10
|
+
export { QuotePricesSummary as default } from './QuotePricesSummary';
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FunctionComponent, VNode } from 'preact';
|
|
2
|
+
import { HTMLAttributes } from 'preact/compat';
|
|
3
|
+
|
|
4
|
+
export interface QuoteSummaryListProps extends Omit<HTMLAttributes<HTMLDivElement>, 'loading'> {
|
|
5
|
+
heading?: VNode | null;
|
|
6
|
+
footer?: VNode | null;
|
|
7
|
+
products?: VNode | null;
|
|
8
|
+
outOfStockMessage?: VNode | null;
|
|
9
|
+
loading?: boolean;
|
|
10
|
+
variant?: 'primary' | 'secondary';
|
|
11
|
+
}
|
|
12
|
+
export declare const QuoteSummaryList: FunctionComponent<QuoteSummaryListProps>;
|
|
13
|
+
//# sourceMappingURL=QuoteSummaryList.d.ts.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/********************************************************************
|
|
2
|
+
* Copyright 2025 Adobe
|
|
3
|
+
* All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* NOTICE: Adobe permits you to use, modify, and distribute this
|
|
6
|
+
* file in accordance with the terms of the Adobe license agreement
|
|
7
|
+
* accompanying it.
|
|
8
|
+
*******************************************************************/
|
|
9
|
+
export * from './QuoteSummaryList';
|
|
10
|
+
export { QuoteSummaryList as default } from './QuoteSummaryList';
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { FunctionComponent, VNode } from 'preact';
|
|
2
|
+
import { HTMLAttributes } from 'preact/compat';
|
|
3
|
+
|
|
4
|
+
export interface QuoteTemplatesListTableProps extends Omit<HTMLAttributes<HTMLDivElement>, 'loading' | 'children'> {
|
|
5
|
+
rowData: QuoteTemplateRowData[];
|
|
6
|
+
loading?: boolean;
|
|
7
|
+
className?: string;
|
|
8
|
+
emptyStateMessage?: VNode;
|
|
9
|
+
showItemRange?: boolean;
|
|
10
|
+
itemRangeMessage?: VNode;
|
|
11
|
+
showPageSizePicker?: boolean;
|
|
12
|
+
pageSizePickerMessage?: VNode;
|
|
13
|
+
showPagination?: boolean;
|
|
14
|
+
paginationMessage?: VNode;
|
|
15
|
+
}
|
|
16
|
+
export type QuoteTemplateRowData = {
|
|
17
|
+
id: string;
|
|
18
|
+
name: VNode;
|
|
19
|
+
state: VNode;
|
|
20
|
+
status: VNode;
|
|
21
|
+
validUntil: VNode;
|
|
22
|
+
minQuoteTotal: VNode;
|
|
23
|
+
ordersPlaced: VNode;
|
|
24
|
+
lastOrdered: VNode;
|
|
25
|
+
actions: VNode;
|
|
26
|
+
[key: string]: VNode | string | number | undefined;
|
|
27
|
+
};
|
|
28
|
+
export declare const QuoteTemplatesListTable: FunctionComponent<QuoteTemplatesListTableProps>;
|
|
29
|
+
//# sourceMappingURL=QuoteTemplatesListTable.d.ts.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/********************************************************************
|
|
2
|
+
* Copyright 2025 Adobe
|
|
3
|
+
* All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* NOTICE: Adobe permits you to use, modify, and distribute this
|
|
6
|
+
* file in accordance with the terms of the Adobe license agreement
|
|
7
|
+
* accompanying it.
|
|
8
|
+
*******************************************************************/
|
|
9
|
+
export * from './QuoteTemplatesListTable';
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { FunctionComponent, VNode } from 'preact';
|
|
2
|
+
import { HTMLAttributes } from 'preact/compat';
|
|
3
|
+
|
|
4
|
+
export interface QuotesListTableProps extends Omit<HTMLAttributes<HTMLDivElement>, 'loading' | 'children'> {
|
|
5
|
+
rowData: QuoteRowData[];
|
|
6
|
+
loading?: boolean;
|
|
7
|
+
className?: string;
|
|
8
|
+
emptyStateMessage?: VNode;
|
|
9
|
+
showItemRange?: boolean;
|
|
10
|
+
itemRangeMessage?: VNode;
|
|
11
|
+
showPageSizePicker?: boolean;
|
|
12
|
+
pageSizePickerMessage?: VNode;
|
|
13
|
+
showPagination?: boolean;
|
|
14
|
+
paginationMessage?: VNode;
|
|
15
|
+
}
|
|
16
|
+
export type QuoteRowData = {
|
|
17
|
+
id: string;
|
|
18
|
+
quoteName: VNode;
|
|
19
|
+
created: VNode;
|
|
20
|
+
createdBy: VNode;
|
|
21
|
+
status: VNode;
|
|
22
|
+
lastUpdated: VNode;
|
|
23
|
+
quoteTemplate: VNode;
|
|
24
|
+
quoteTotal: VNode;
|
|
25
|
+
actions: VNode;
|
|
26
|
+
[key: string]: VNode | string | number | undefined;
|
|
27
|
+
};
|
|
28
|
+
export declare const QuotesListTable: FunctionComponent<QuotesListTableProps>;
|
|
29
|
+
//# sourceMappingURL=QuotesListTable.d.ts.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/********************************************************************
|
|
2
|
+
* Copyright 2025 Adobe
|
|
3
|
+
* All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* NOTICE: Adobe permits you to use, modify, and distribute this
|
|
6
|
+
* file in accordance with the terms of the Adobe license agreement
|
|
7
|
+
* accompanying it.
|
|
8
|
+
*******************************************************************/
|
|
9
|
+
export * from './QuotesListTable';
|
|
10
|
+
export { QuotesListTable as default } from './QuotesListTable';
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { FunctionComponent, VNode } from 'preact';
|
|
2
|
+
import { HTMLAttributes } from 'preact/compat';
|
|
3
|
+
|
|
4
|
+
export interface RenameQuoteModalProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
|
|
5
|
+
open: boolean;
|
|
6
|
+
quoteName: string;
|
|
7
|
+
renameReason: string;
|
|
8
|
+
quoteNameError?: string;
|
|
9
|
+
errorBanner?: VNode;
|
|
10
|
+
successBanner?: VNode;
|
|
11
|
+
showCloseButton?: boolean;
|
|
12
|
+
onQuoteNameChange: (value: string) => void;
|
|
13
|
+
onRenameReasonChange: (value: string) => void;
|
|
14
|
+
onSave: () => void;
|
|
15
|
+
onClose?: () => void;
|
|
16
|
+
}
|
|
17
|
+
export declare const RenameQuoteModal: FunctionComponent<RenameQuoteModalProps>;
|
|
18
|
+
//# sourceMappingURL=RenameQuoteModal.d.ts.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/********************************************************************
|
|
2
|
+
* Copyright 2025 Adobe
|
|
3
|
+
* All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* NOTICE: Adobe permits you to use, modify, and distribute this
|
|
6
|
+
* file in accordance with the terms of the Adobe license agreement
|
|
7
|
+
* accompanying it.
|
|
8
|
+
*******************************************************************/
|
|
9
|
+
export * from './RenameQuoteModal';
|
|
10
|
+
export { RenameQuoteModal as default } from './RenameQuoteModal';
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FunctionComponent } from 'preact';
|
|
2
|
+
import { HTMLAttributes } from 'preact/compat';
|
|
3
|
+
import { ShippingAddress } from '../../data/models/negotiable-quote-model';
|
|
4
|
+
|
|
5
|
+
export interface ShippingAddressDisplayProps extends Omit<HTMLAttributes<HTMLDivElement>, 'loading'> {
|
|
6
|
+
shippingAddress?: ShippingAddress;
|
|
7
|
+
loading?: boolean;
|
|
8
|
+
noAddressMessage?: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const ShippingAddressDisplay: FunctionComponent<ShippingAddressDisplayProps>;
|
|
11
|
+
export declare const ShippingAddressDisplaySkeleton: FunctionComponent;
|
|
12
|
+
//# sourceMappingURL=ShippingAddressDisplay.d.ts.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/********************************************************************
|
|
2
|
+
* Copyright 2025 Adobe
|
|
3
|
+
* All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* NOTICE: Adobe permits you to use, modify, and distribute this
|
|
6
|
+
* file in accordance with the terms of the Adobe license agreement
|
|
7
|
+
* accompanying it.
|
|
8
|
+
*******************************************************************/
|
|
9
|
+
export { ShippingAddressDisplay, ShippingAddressDisplaySkeleton } from './ShippingAddressDisplay';
|
|
10
|
+
export type { ShippingAddressDisplayProps } from './ShippingAddressDisplay';
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FunctionComponent, VNode } from 'preact';
|
|
2
|
+
import { HTMLAttributes } from 'preact/compat';
|
|
3
|
+
|
|
4
|
+
export interface TabbedContentProps extends HTMLAttributes<HTMLDivElement> {
|
|
5
|
+
tabs: Map<string, string>;
|
|
6
|
+
tabsContent: Map<string, VNode>;
|
|
7
|
+
defaultActiveTab?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const TabbedContent: FunctionComponent<TabbedContentProps>;
|
|
10
|
+
//# sourceMappingURL=TabbedContent.d.ts.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/********************************************************************
|
|
2
|
+
* Copyright 2025 Adobe
|
|
3
|
+
* All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* NOTICE: Adobe permits you to use, modify, and distribute this
|
|
6
|
+
* file in accordance with the terms of the Adobe license agreement
|
|
7
|
+
* accompanying it.
|
|
8
|
+
*******************************************************************/
|
|
9
|
+
export * from './TabbedContent';
|
|
10
|
+
export { TabbedContent as default } from './TabbedContent';
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
package/components/index.d.ts
CHANGED
|
@@ -1,2 +1,30 @@
|
|
|
1
|
+
/********************************************************************
|
|
2
|
+
* Copyright 2025 Adobe
|
|
3
|
+
* All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* NOTICE: Adobe permits you to use, modify, and distribute this
|
|
6
|
+
* file in accordance with the terms of the Adobe license agreement
|
|
7
|
+
* accompanying it.
|
|
8
|
+
*******************************************************************/
|
|
9
|
+
export * from './ActionsBar';
|
|
10
|
+
export * from './AttachedFilesList';
|
|
11
|
+
export * from './ItemsQuoted';
|
|
12
|
+
export * from './ManageNegotiableQuote';
|
|
13
|
+
export * from './OrderSummary';
|
|
14
|
+
export * from './OrderSummaryLine';
|
|
15
|
+
export * from './ProductListTable';
|
|
16
|
+
export * from './QuotePricesSummary';
|
|
17
|
+
export * from './QuoteSummaryList';
|
|
18
|
+
export * from './QuotesListTable';
|
|
19
|
+
export * from './QuoteTemplatesListTable';
|
|
20
|
+
export * from './ConfirmationModal';
|
|
21
|
+
export * from './QuoteHistoryLog';
|
|
22
|
+
export * from './ShippingAddressDisplay';
|
|
1
23
|
export * from './RequestNegotiableQuoteForm';
|
|
24
|
+
export * from './TabbedContent';
|
|
25
|
+
export * from './QuoteCommentsList';
|
|
26
|
+
export * from './ConfirmationModal';
|
|
27
|
+
export * from './RenameQuoteModal';
|
|
28
|
+
export * from './ManageNegotiableQuoteTemplate';
|
|
29
|
+
export * from './LineItemNoteModal';
|
|
2
30
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'preact/compat';
|
|
2
|
+
import { Container, SlotProps } from '@dropins/tools/types/elsie/src/lib';
|
|
3
|
+
import { NegotiableQuoteModel, NegotiableQuoteCartItem } from '../../data/models/negotiable-quote-model';
|
|
4
|
+
|
|
5
|
+
export interface ItemsQuotedProps extends HTMLAttributes<HTMLDivElement> {
|
|
6
|
+
quoteData?: NegotiableQuoteModel;
|
|
7
|
+
onItemCheckboxChange?: (item: NegotiableQuoteCartItem, isSelected: boolean) => void;
|
|
8
|
+
onItemDropdownChange?: (item: NegotiableQuoteCartItem, action: string) => void;
|
|
9
|
+
onUpdate?: (e: SubmitEvent) => void;
|
|
10
|
+
onRemoveItemsRef?: (handler: (items: NegotiableQuoteCartItem[]) => void) => void;
|
|
11
|
+
onRemoveModalStateChange?: (isOpen: boolean) => void;
|
|
12
|
+
slots?: {
|
|
13
|
+
ProductListTable?: SlotProps<{
|
|
14
|
+
items: NegotiableQuoteModel['items'];
|
|
15
|
+
canEdit: boolean;
|
|
16
|
+
readOnly?: boolean;
|
|
17
|
+
onItemCheckboxChange?: (item: NegotiableQuoteCartItem, isSelected: boolean) => void;
|
|
18
|
+
onItemDropdownChange?: (item: NegotiableQuoteCartItem, action: string) => void;
|
|
19
|
+
onQuantityChange?: (item: NegotiableQuoteCartItem, newQuantity: number) => void;
|
|
20
|
+
onUpdate?: (e: SubmitEvent) => void;
|
|
21
|
+
dropdownSelections?: Record<string, string | undefined>;
|
|
22
|
+
}>;
|
|
23
|
+
QuotePricesSummary?: SlotProps<{
|
|
24
|
+
items: NegotiableQuoteModel['items'];
|
|
25
|
+
prices: NegotiableQuoteModel['prices'];
|
|
26
|
+
}>;
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
export declare const ItemsQuoted: Container<ItemsQuotedProps>;
|
|
30
|
+
//# sourceMappingURL=ItemsQuoted.d.ts.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/********************************************************************
|
|
2
|
+
* Copyright 2025 Adobe
|
|
3
|
+
* All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* NOTICE: Adobe permits you to use, modify, and distribute this
|
|
6
|
+
* file in accordance with the terms of the Adobe license agreement
|
|
7
|
+
* accompanying it.
|
|
8
|
+
*******************************************************************/
|
|
9
|
+
export * from './ItemsQuoted';
|
|
10
|
+
export { ItemsQuoted as default } from './ItemsQuoted';
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! Copyright 2025 Adobe
|
|
2
|
+
All Rights Reserved. */
|
|
3
|
+
import{I as q,I as v}from"../chunks/ItemsQuoted.js";import"@dropins/tools/preact-jsx-runtime.js";import"@dropins/tools/preact-compat.js";import"@dropins/tools/lib.js";import"@dropins/tools/event-bus.js";import"@dropins/tools/components.js";/* empty css */import"../chunks/LineItemNoteModal2.js";import"@dropins/tools/preact.js";import"@dropins/tools/preact-hooks.js";import"../chunks/dateUtils.js";import"@dropins/tools/i18n.js";import"../chunks/ConfirmationModal.js";/* empty css *//* empty css */import"../chunks/state.js";import"../chunks/setLineItemNote.js";import"../chunks/transform-quote.js";import"@dropins/tools/fetch-graphql.js";import"../chunks/NegotiableQuoteFragment.js";import"../chunks/CheckWithCircle.js";import"../chunks/WarningFilled.js";export{q as ItemsQuoted,v as default};
|
|
4
|
+
//# sourceMappingURL=ItemsQuoted.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ItemsQuoted.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'preact/compat';
|
|
2
|
+
import { Container, SlotProps } from '@dropins/tools/types/elsie/src/lib';
|
|
3
|
+
import { NegotiableQuoteTemplateModel } from '../../data/models/negotiable-quote-template-model';
|
|
4
|
+
|
|
5
|
+
export interface ItemsQuotedTemplateProps extends HTMLAttributes<HTMLDivElement> {
|
|
6
|
+
templateData?: NegotiableQuoteTemplateModel;
|
|
7
|
+
slots?: {
|
|
8
|
+
ProductListTable?: SlotProps<{
|
|
9
|
+
items: NegotiableQuoteTemplateModel['items'];
|
|
10
|
+
canEdit: boolean;
|
|
11
|
+
onItemDropdownChange?: (item: any, action: string) => void;
|
|
12
|
+
dropdownSelections?: Record<string, string>;
|
|
13
|
+
}>;
|
|
14
|
+
QuotePricesSummary?: SlotProps<{
|
|
15
|
+
items: NegotiableQuoteTemplateModel['items'];
|
|
16
|
+
prices: NegotiableQuoteTemplateModel['prices'];
|
|
17
|
+
}>;
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
export declare const ItemsQuotedTemplate: Container<ItemsQuotedTemplateProps>;
|
|
21
|
+
//# sourceMappingURL=ItemsQuotedTemplate.d.ts.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/********************************************************************
|
|
2
|
+
* Copyright 2025 Adobe
|
|
3
|
+
* All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* NOTICE: Adobe permits you to use, modify, and distribute this
|
|
6
|
+
* file in accordance with the terms of the Adobe license agreement
|
|
7
|
+
* accompanying it.
|
|
8
|
+
*******************************************************************/
|
|
9
|
+
export * from './ItemsQuotedTemplate';
|
|
10
|
+
export { ItemsQuotedTemplate as default } from './ItemsQuotedTemplate';
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|