jgy-public-component 0.0.47 → 0.0.49

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.
Files changed (36) hide show
  1. package/README.md +3 -2
  2. package/dist/components/JApprovalFlow/JApprovalActions.d.ts +3 -0
  3. package/dist/components/JApprovalFlow/JApprovalAuditDialog.d.ts +2 -0
  4. package/dist/components/JApprovalFlow/JApprovalFlow.d.ts +16 -6
  5. package/dist/components/JApprovalFlow/index.d.ts +3 -0
  6. package/dist/components/JApprovalFlow/useApprovalFlow.d.ts +43 -0
  7. package/dist/components/JDocDetail/apiPaths.d.ts +60 -0
  8. package/dist/components/JDocDetail/fetch.d.ts +13 -0
  9. package/dist/components/JDocDetail/index.d.ts +2 -2
  10. package/dist/components/JDocDetail/registry.d.ts +1 -0
  11. package/dist/components/JDocDetail/store.d.ts +19 -5
  12. package/dist/components/JDocDetail/types.d.ts +33 -1
  13. package/dist/components/JDocDetail/useDocDetailApproval.d.ts +13 -0
  14. package/dist/components/JDocDetail/utils/paymentRequestDisplay.d.ts +6 -0
  15. package/dist/components/JDocDetail/utils/receiptVoucherDisplay.d.ts +11 -0
  16. package/dist/components/JDocDetail/views/AppointmentOrderDetailView.d.ts +22 -0
  17. package/dist/components/JDocDetail/views/AuditDiffPanel.d.ts +32 -0
  18. package/dist/components/JDocDetail/views/FbaShipPlanDetailView.d.ts +22 -0
  19. package/dist/components/JDocDetail/views/FrameContractDetailView.d.ts +22 -0
  20. package/dist/components/JDocDetail/views/InventoryAdjustDetailView.d.ts +22 -0
  21. package/dist/components/JDocDetail/views/LogisticsProviderDetailView.d.ts +22 -0
  22. package/dist/components/JDocDetail/views/PurchaseBudgetDetailView.d.ts +22 -0
  23. package/dist/components/JDocDetail/views/ReplenishmentPlanDetailView.d.ts +22 -0
  24. package/dist/components/JDocDetail/views/SupplierDetailView.d.ts +22 -0
  25. package/dist/components/JDocDetail/views/SupplierProductProfileAuditView.d.ts +22 -0
  26. package/dist/components/JDocDetail/views/SupplierProductQuoteAuditView.d.ts +22 -0
  27. package/dist/components/JDocDetail/views/SupplierProfileChangeAuditView.d.ts +22 -0
  28. package/dist/components/JDocDetail/views/TmsPaymentRequestDetailView.d.ts +22 -0
  29. package/dist/components/JDocDetail/wmsViews.d.ts +13 -1
  30. package/dist/index.d.ts +4 -4
  31. package/dist/index.js +18396 -13142
  32. package/dist/index.js.map +1 -1
  33. package/dist/index.umd.cjs +2 -2
  34. package/dist/index.umd.cjs.map +1 -1
  35. package/dist/style.css +1 -1
  36. package/package.json +1 -1
@@ -0,0 +1,22 @@
1
+ import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
2
+ declare const _default: DefineComponent<ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
3
+ modelValue: boolean;
4
+ auditNo: string;
5
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
6
+ "update:modelValue": (val: boolean) => void;
7
+ }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
8
+ modelValue: boolean;
9
+ auditNo: string;
10
+ }>>> & Readonly<{
11
+ "onUpdate:modelValue"?: ((val: boolean) => any) | undefined;
12
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
13
+ export default _default;
14
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
15
+ type __VLS_TypePropsToRuntimeProps<T> = {
16
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
17
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
18
+ } : {
19
+ type: PropType<T[K]>;
20
+ required: true;
21
+ };
22
+ };
@@ -0,0 +1,22 @@
1
+ import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
2
+ declare const _default: DefineComponent<ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
3
+ modelValue: boolean;
4
+ auditNo: string;
5
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
6
+ "update:modelValue": (val: boolean) => void;
7
+ }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
8
+ modelValue: boolean;
9
+ auditNo: string;
10
+ }>>> & Readonly<{
11
+ "onUpdate:modelValue"?: ((val: boolean) => any) | undefined;
12
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
13
+ export default _default;
14
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
15
+ type __VLS_TypePropsToRuntimeProps<T> = {
16
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
17
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
18
+ } : {
19
+ type: PropType<T[K]>;
20
+ required: true;
21
+ };
22
+ };
@@ -0,0 +1,22 @@
1
+ import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
2
+ declare const _default: DefineComponent<ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
3
+ modelValue: boolean;
4
+ auditNo: string;
5
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
6
+ "update:modelValue": (val: boolean) => void;
7
+ }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
8
+ modelValue: boolean;
9
+ auditNo: string;
10
+ }>>> & Readonly<{
11
+ "onUpdate:modelValue"?: ((val: boolean) => any) | undefined;
12
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
13
+ export default _default;
14
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
15
+ type __VLS_TypePropsToRuntimeProps<T> = {
16
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
17
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
18
+ } : {
19
+ type: PropType<T[K]>;
20
+ required: true;
21
+ };
22
+ };
@@ -0,0 +1,22 @@
1
+ import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
2
+ declare const _default: DefineComponent<ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
3
+ modelValue: boolean;
4
+ tmsPaymentNo: string;
5
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
6
+ "update:modelValue": (val: boolean) => void;
7
+ }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
8
+ modelValue: boolean;
9
+ tmsPaymentNo: string;
10
+ }>>> & Readonly<{
11
+ "onUpdate:modelValue"?: ((val: boolean) => any) | undefined;
12
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
13
+ export default _default;
14
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
15
+ type __VLS_TypePropsToRuntimeProps<T> = {
16
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
17
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
18
+ } : {
19
+ type: PropType<T[K]>;
20
+ required: true;
21
+ };
22
+ };
@@ -14,11 +14,23 @@ import { default as ReceiptVoucherDetailView } from './views/ReceiptVoucherDetai
14
14
  import { default as PurchaseOrderDetailView } from './views/PurchaseOrderDetailView';
15
15
  import { default as PurchasePlanDetailView } from './views/PurchasePlanDetailView';
16
16
  import { default as PurchaseContractDetailView } from './views/PurchaseContractDetailView';
17
+ import { default as FrameContractDetailView } from './views/FrameContractDetailView';
18
+ import { default as PurchaseBudgetDetailView } from './views/PurchaseBudgetDetailView';
17
19
  import { default as DeliveryDocDetailView } from './views/DeliveryDocDetailView';
18
20
  import { default as StockTakeOrderDetailView } from './views/StockTakeOrderDetailView';
19
21
  import { default as PackingTaskDetailView } from './views/PackingTaskDetailView';
20
22
  import { default as TransportOrderDetailView } from './views/TransportOrderDetailView';
23
+ import { default as AppointmentOrderDetailView } from './views/AppointmentOrderDetailView';
24
+ import { default as SupplierDetailView } from './views/SupplierDetailView';
25
+ import { default as SupplierProductProfileAuditView } from './views/SupplierProductProfileAuditView';
26
+ import { default as SupplierProductQuoteAuditView } from './views/SupplierProductQuoteAuditView';
27
+ import { default as SupplierProfileChangeAuditView } from './views/SupplierProfileChangeAuditView';
28
+ import { default as LogisticsProviderDetailView } from './views/LogisticsProviderDetailView';
29
+ import { default as FbaShipPlanDetailView } from './views/FbaShipPlanDetailView';
30
+ import { default as TmsPaymentRequestDetailView } from './views/TmsPaymentRequestDetailView';
31
+ import { default as InventoryAdjustDetailView } from './views/InventoryAdjustDetailView';
32
+ import { default as ReplenishmentPlanDetailView } from './views/ReplenishmentPlanDetailView';
21
33
 
22
34
  /** WMS / SCM 默认只读详情组件映射(接口由业务项目 adapters 注入) */
23
35
  export declare const wmsDocDetailComponents: DocDetailComponents;
24
- export { ReceiptOrderDetailView, QcOrderDetailView, InboundOrderDetailView, PutawayOrderDetailView, DeliveryOrderDetailView, TransferOrderDetailView, WorkOrderDetailView, AbnormalOrderDetailView, PaymentRequestDetailView, ReturnOrderDetailView, CostExpenseDetailView, ReceiptVoucherDetailView, PurchaseOrderDetailView, PurchasePlanDetailView, PurchaseContractDetailView, DeliveryDocDetailView, StockTakeOrderDetailView, PackingTaskDetailView, TransportOrderDetailView, };
36
+ export { ReceiptOrderDetailView, QcOrderDetailView, InboundOrderDetailView, PutawayOrderDetailView, DeliveryOrderDetailView, TransferOrderDetailView, WorkOrderDetailView, AbnormalOrderDetailView, PaymentRequestDetailView, ReturnOrderDetailView, CostExpenseDetailView, ReceiptVoucherDetailView, PurchaseOrderDetailView, PurchasePlanDetailView, PurchaseContractDetailView, FrameContractDetailView, PurchaseBudgetDetailView, DeliveryDocDetailView, StockTakeOrderDetailView, PackingTaskDetailView, TransportOrderDetailView, AppointmentOrderDetailView, SupplierDetailView, SupplierProductProfileAuditView, SupplierProductQuoteAuditView, SupplierProfileChangeAuditView, LogisticsProviderDetailView, FbaShipPlanDetailView, TmsPaymentRequestDetailView, InventoryAdjustDetailView, ReplenishmentPlanDetailView, };
package/dist/index.d.ts CHANGED
@@ -15,17 +15,17 @@ import { JSupplierCycleSelect, JSupplierCycleDisplay } from './components/JSuppl
15
15
  import { JProductSelectDialog } from './components/JProductSelectDialog';
16
16
  import { DocNoLink, DocDetailHost } from './components/JDocDetail';
17
17
  import { JRelatedDocs } from './components/JRelatedDocs';
18
- import { JApprovalFlow } from './components/JApprovalFlow';
18
+ import { JApprovalFlow, JApprovalActions } from './components/JApprovalFlow';
19
19
 
20
20
  declare const _default: {
21
21
  install: (app: App) => void;
22
22
  };
23
23
  export default _default;
24
- export { JButton, JUploadImg, JIconRender, JSearchHeader, JListSearchHeader, JImportExcel, JImportData, JSidebar, JSideMenuItem, JAdminLayout, JProductDetailDialog, JSkuLink, ProductDetailHost, JSearchInputDialog, JRemoteSelect, JSupplierCycleSelect, JSupplierCycleDisplay, JProductSelectDialog, DocNoLink, DocDetailHost, JRelatedDocs, JApprovalFlow, };
24
+ export { JButton, JUploadImg, JIconRender, JSearchHeader, JListSearchHeader, JImportExcel, JImportData, JSidebar, JSideMenuItem, JAdminLayout, JProductDetailDialog, JSkuLink, ProductDetailHost, JSearchInputDialog, JRemoteSelect, JSupplierCycleSelect, JSupplierCycleDisplay, JProductSelectDialog, DocNoLink, DocDetailHost, JRelatedDocs, JApprovalFlow, JApprovalActions, };
25
25
  export { provideRequest, getRequest, setRequest, useInjectedRequest, J_REQUEST_KEY, } from './request';
26
26
  export type { JRequestFn } from './request';
27
27
  export { useProductDetailDialog, useProductDetailStore, provideProductRequest, resolveProductRequest, useInjectedProductRequest, J_PRODUCT_REQUEST_KEY, } from './components/JProductDetail';
28
- export { provideDocRequest, setDocRequest, getDocRequest, createDocDetail, registerDocDetail, getDocDetailAdapters, getDocDetailViewOptions, getApprovalProcessCode, hasApprovalFlow, getDocDetailEntry, getDocDetailRegistry, isDocDetailInitialized, useDocDetailStore, wmsDocDetailComponents, ReceiptOrderDetailView, QcOrderDetailView, InboundOrderDetailView, PutawayOrderDetailView, DeliveryOrderDetailView, TransferOrderDetailView, WorkOrderDetailView, AbnormalOrderDetailView, PaymentRequestDetailView, ReturnOrderDetailView, CostExpenseDetailView, ReceiptVoucherDetailView, PurchaseOrderDetailView, PurchasePlanDetailView, PurchaseContractDetailView, DeliveryDocDetailView, StockTakeOrderDetailView, PackingTaskDetailView, TransportOrderDetailView, } from './components/JDocDetail';
28
+ export { provideDocRequest, setDocRequest, getDocRequest, createDocDetail, registerDocDetail, getDocDetailAdapters, getDocDetailViewOptions, getApprovalProcessCode, hasApprovalFlow, getDocTypeByProcessCode, getDocDetailEntry, getDocDetailRegistry, isDocDetailInitialized, useDocDetailStore, wmsDocDetailComponents, ReceiptOrderDetailView, QcOrderDetailView, InboundOrderDetailView, PutawayOrderDetailView, DeliveryOrderDetailView, TransferOrderDetailView, WorkOrderDetailView, AbnormalOrderDetailView, PaymentRequestDetailView, ReturnOrderDetailView, CostExpenseDetailView, ReceiptVoucherDetailView, PurchaseOrderDetailView, PurchasePlanDetailView, PurchaseContractDetailView, FrameContractDetailView, PurchaseBudgetDetailView, DeliveryDocDetailView, StockTakeOrderDetailView, PackingTaskDetailView, TransportOrderDetailView, AppointmentOrderDetailView, SupplierDetailView, SupplierProductProfileAuditView, SupplierProductQuoteAuditView, SupplierProfileChangeAuditView, LogisticsProviderDetailView, FbaShipPlanDetailView, TmsPaymentRequestDetailView, InventoryAdjustDetailView, ReplenishmentPlanDetailView, } from './components/JDocDetail';
29
29
  export { createRelatedDocs, registerRelatedDocs, getRelatedListAdapter, getRelatedTableComponent, getRelatedDocsTableComponents, isRelatedDocsInitialized, RelatedDocSubTabs, RelatedDocNoCopy, RelatedDocPanel, RelatedReceiptOrderTable, RelatedQcOrderTable, RelatedInboundOrderTable, RelatedPutawayOrderTable, RelatedPurchaseOrderTable, RelatedPurchasePlanTable, RelatedDeliveryDocTable, RelatedProcessingOrderTable, RelatedReturnOrderTable, RelatedAbnormalOrderTable, RelatedPaymentRequestTable, RelatedReceiptVoucherTable, RelatedDeclarationTable, RelatedShipmentOrderTable, flattenOrderItems, sumOrderItemField, useRelatedCollapseExpand, parseListResponse, parseListTotal, } from './components/JRelatedDocs';
30
30
  export { toSnakeCase, toCamelCase, pick, omit, deepClone, filterEmpty, flatten, unflatten, toTableColumns, checkBtnPermission, provideBtnPermission, useInjectedBtnPermission, useInjectedBtnPermissions, J_BTN_PERMISSION_KEY, J_BTN_PERMISSIONS_KEY, isAllStatusTab, resolveListStatusParam, toTabName, getAllTabName, syncActiveTabIfAll, buildStatusCountLookup, buildFallbackStatusTabs, unwrapStatusCountList, mapStatusCountToTabs, exportStyledExcel, } from './utils';
31
31
  export { useBtnPermissionGate } from './composables/useBtnPermissionGate';
@@ -50,4 +50,4 @@ export type { JSupplierCycleSelectProps, JSupplierCycleSelectValue, JSupplierCyc
50
50
  export type { JProductSelectDialogProps, JProductSelectFetchApi, JProductSelectListResult, } from './components/JProductSelectDialog';
51
51
  export type { DocDetailType, DocDetailAdapters, DocDetailRegistryItem, DocDetailComponents, CreateDocDetailOptions, DocDetailViewOptions, PurchaseOrderTabName, JDocRequestFn, } from './components/JDocDetail';
52
52
  export type { RelatedListAdapter, RelatedDocTypeItem, CreateRelatedDocsOptions, RelatedDocsContainerProps, } from './components/JRelatedDocs';
53
- export { APPROVAL_FLOW_LOGS_URL, APPROVAL_AUDIT_URL } from './components/JApprovalFlow';
53
+ export { APPROVAL_FLOW_LOGS_URL, APPROVAL_AUDIT_URL, createApprovalFlow, useApprovalFlow, } from './components/JApprovalFlow';