dsh-tender-workbench 0.2.1-beta.0

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 (65) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +108 -0
  3. package/cordis.patch.yml +3 -0
  4. package/lib/client.js +17296 -0
  5. package/lib/client.js.map +1 -0
  6. package/lib/index.js +5 -0
  7. package/lib/types/client/TenderEntry.d.ts +14 -0
  8. package/lib/types/client/TenderEntry.d.ts.map +1 -0
  9. package/lib/types/client/TenderFilterPanel.d.ts +14 -0
  10. package/lib/types/client/TenderFilterPanel.d.ts.map +1 -0
  11. package/lib/types/client/TenderResultsEntry.d.ts +4 -0
  12. package/lib/types/client/TenderResultsEntry.d.ts.map +1 -0
  13. package/lib/types/client/TenderResultsPanel.d.ts +16 -0
  14. package/lib/types/client/TenderResultsPanel.d.ts.map +1 -0
  15. package/lib/types/client/area-data.d.ts +8 -0
  16. package/lib/types/client/area-data.d.ts.map +1 -0
  17. package/lib/types/client/area-utils.d.ts +15 -0
  18. package/lib/types/client/area-utils.d.ts.map +1 -0
  19. package/lib/types/client/drawer-coordinator.d.ts +5 -0
  20. package/lib/types/client/drawer-coordinator.d.ts.map +1 -0
  21. package/lib/types/client/fields/AdvancedFields.d.ts +4 -0
  22. package/lib/types/client/fields/AdvancedFields.d.ts.map +1 -0
  23. package/lib/types/client/fields/KeywordField.d.ts +4 -0
  24. package/lib/types/client/fields/KeywordField.d.ts.map +1 -0
  25. package/lib/types/client/fields/PublishTimeField.d.ts +4 -0
  26. package/lib/types/client/fields/PublishTimeField.d.ts.map +1 -0
  27. package/lib/types/client/fields/RegionField.d.ts +4 -0
  28. package/lib/types/client/fields/RegionField.d.ts.map +1 -0
  29. package/lib/types/client/fields/SearchTypeField.d.ts +9 -0
  30. package/lib/types/client/fields/SearchTypeField.d.ts.map +1 -0
  31. package/lib/types/client/fields/StageField.d.ts +4 -0
  32. package/lib/types/client/fields/StageField.d.ts.map +1 -0
  33. package/lib/types/client/fields/field-props.d.ts +11 -0
  34. package/lib/types/client/fields/field-props.d.ts.map +1 -0
  35. package/lib/types/client/fields/options.d.ts +18 -0
  36. package/lib/types/client/fields/options.d.ts.map +1 -0
  37. package/lib/types/client/format.d.ts +5 -0
  38. package/lib/types/client/format.d.ts.map +1 -0
  39. package/lib/types/client/index.d.ts +13 -0
  40. package/lib/types/client/index.d.ts.map +1 -0
  41. package/lib/types/client/locales.d.ts +384 -0
  42. package/lib/types/client/locales.d.ts.map +1 -0
  43. package/lib/types/client/merge-draft.d.ts +3 -0
  44. package/lib/types/client/merge-draft.d.ts.map +1 -0
  45. package/lib/types/client/qcc-request.d.ts +46 -0
  46. package/lib/types/client/qcc-request.d.ts.map +1 -0
  47. package/lib/types/client/result-adapters.d.ts +10 -0
  48. package/lib/types/client/result-adapters.d.ts.map +1 -0
  49. package/lib/types/client/result-parser.d.ts +13 -0
  50. package/lib/types/client/result-parser.d.ts.map +1 -0
  51. package/lib/types/client/result-summary.d.ts +31 -0
  52. package/lib/types/client/result-summary.d.ts.map +1 -0
  53. package/lib/types/client/result-types.d.ts +86 -0
  54. package/lib/types/client/result-types.d.ts.map +1 -0
  55. package/lib/types/client/tender-search-definition.d.ts +8 -0
  56. package/lib/types/client/tender-search-definition.d.ts.map +1 -0
  57. package/lib/types/client/types.d.ts +38 -0
  58. package/lib/types/client/types.d.ts.map +1 -0
  59. package/lib/types/client/validation.d.ts +12 -0
  60. package/lib/types/client/validation.d.ts.map +1 -0
  61. package/lib/types/client/write-session-draft.d.ts +4 -0
  62. package/lib/types/client/write-session-draft.d.ts.map +1 -0
  63. package/lib/types/index.d.ts +3 -0
  64. package/lib/types/index.d.ts.map +1 -0
  65. package/package.json +99 -0
package/lib/index.js ADDED
@@ -0,0 +1,5 @@
1
+ //#region src/index.ts
2
+ /** Host entry for the client-only tender filter plugin. */
3
+ function apply() {}
4
+ //#endregion
5
+ export { apply };
@@ -0,0 +1,14 @@
1
+ import type { InjectFace, PropsLocale, PropsRuntime } from '@deepseek-ai/dsh-client-ui-slots';
2
+ import type { TenderTranslate } from './fields/field-props.ts';
3
+ export interface TenderEntryInjected {
4
+ writeDraft(text: string): boolean;
5
+ }
6
+ export interface TenderEntryViewProps extends TenderEntryInjected {
7
+ readonly t: TenderTranslate;
8
+ }
9
+ /** Stateful Session-local trigger and drawer adapter. */
10
+ export declare function TenderEntryView({ writeDraft, t }: TenderEntryViewProps): import("react").JSX.Element;
11
+ export type TenderEntryProps = PropsRuntime<'conversation.input.left'> & InjectFace<TenderEntryInjected> & PropsLocale<'tenderFilter'>;
12
+ /** Slot entry that narrows framework-composed props to the feature view. */
13
+ export declare function TenderEntry({ writeDraft, t }: TenderEntryProps): import("react").JSX.Element;
14
+ //# sourceMappingURL=TenderEntry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TenderEntry.d.ts","sourceRoot":"","sources":["../../../src/client/TenderEntry.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAA;AAC7F,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAA;AAQ9D,MAAM,WAAW,mBAAmB;IAClC,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAA;CAClC;AAED,MAAM,WAAW,oBAAqB,SAAQ,mBAAmB;IAC/D,QAAQ,CAAC,CAAC,EAAE,eAAe,CAAA;CAC5B;AAED,yDAAyD;AACzD,wBAAgB,eAAe,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,EAAE,oBAAoB,+BAsEtE;AAED,MAAM,MAAM,gBAAgB,GAAG,YAAY,CAAC,yBAAyB,CAAC,GAClE,UAAU,CAAC,mBAAmB,CAAC,GAC/B,WAAW,CAAC,cAAc,CAAC,CAAA;AAE/B,4EAA4E;AAC5E,wBAAgB,WAAW,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,EAAE,gBAAgB,+BAE9D"}
@@ -0,0 +1,14 @@
1
+ import type { TenderTranslate } from './fields/field-props.ts';
2
+ import type { TenderFilters } from './types.ts';
3
+ export interface TenderFilterPanelProps {
4
+ readonly filters: TenderFilters;
5
+ readonly onChange: <K extends keyof TenderFilters>(key: K, value: TenderFilters[K]) => void;
6
+ readonly onReset: () => void;
7
+ readonly onCancel: () => void;
8
+ readonly onConfirm: () => boolean;
9
+ readonly writeError: boolean;
10
+ readonly t: TenderTranslate;
11
+ }
12
+ /** Portal-backed modal drawer containing all tender filter controls. */
13
+ export declare function TenderFilterPanel({ filters, onChange, onReset, onCancel, onConfirm, writeError, t, }: TenderFilterPanelProps): import("react").ReactPortal;
14
+ //# sourceMappingURL=TenderFilterPanel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TenderFilterPanel.d.ts","sourceRoot":"","sources":["../../../src/client/TenderFilterPanel.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAA;AAO9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA;AAI/C,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,OAAO,EAAE,aAAa,CAAA;IAC/B,QAAQ,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,MAAM,aAAa,EAAE,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,KAAK,IAAI,CAAA;IAC3F,QAAQ,CAAC,OAAO,EAAE,MAAM,IAAI,CAAA;IAC5B,QAAQ,CAAC,QAAQ,EAAE,MAAM,IAAI,CAAA;IAC7B,QAAQ,CAAC,SAAS,EAAE,MAAM,OAAO,CAAA;IACjC,QAAQ,CAAC,UAAU,EAAE,OAAO,CAAA;IAC5B,QAAQ,CAAC,CAAC,EAAE,eAAe,CAAA;CAC5B;AAwBD,wEAAwE;AACxE,wBAAgB,iBAAiB,CAAC,EAChC,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,UAAU,EAAE,CAAC,GAC/D,EAAE,sBAAsB,+BA0GxB"}
@@ -0,0 +1,4 @@
1
+ import type { PropsLocale, PropsRuntime } from '@deepseek-ai/dsh-client-ui-slots';
2
+ export type TenderResultsEntryProps = PropsRuntime<'conversation.session.header.actions'> & PropsLocale<'tenderFilter'>;
3
+ export declare function TenderResultsEntry({ useSession, t }: TenderResultsEntryProps): import("react").JSX.Element | null;
4
+ //# sourceMappingURL=TenderResultsEntry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TenderResultsEntry.d.ts","sourceRoot":"","sources":["../../../src/client/TenderResultsEntry.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAA;AAMjF,MAAM,MAAM,uBAAuB,GAAG,YAAY,CAAC,qCAAqC,CAAC,GAAG,WAAW,CAAC,cAAc,CAAC,CAAA;AAEvH,wBAAgB,kBAAkB,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,EAAE,uBAAuB,sCA6C5E"}
@@ -0,0 +1,16 @@
1
+ import type { TurnLocation } from '@deepseek-ai/dsh-client-runtime/client';
2
+ import type { TenderTranslate } from './fields/field-props.ts';
3
+ import type { TenderSearchTurnData } from './result-types.ts';
4
+ export interface TenderSearchHistory {
5
+ readonly location: TurnLocation;
6
+ readonly data: Readonly<TenderSearchTurnData>;
7
+ }
8
+ export interface TenderResultsPanelProps {
9
+ readonly histories: readonly TenderSearchHistory[];
10
+ readonly selectedTurn: number;
11
+ readonly onSelectTurn: (turn: number) => void;
12
+ readonly onClose: () => void;
13
+ readonly t: TenderTranslate;
14
+ }
15
+ export declare function TenderResultsPanel({ histories, selectedTurn, onSelectTurn, onClose, t }: TenderResultsPanelProps): import("react").ReactPortal | null;
16
+ //# sourceMappingURL=TenderResultsPanel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TenderResultsPanel.d.ts","sourceRoot":"","sources":["../../../src/client/TenderResultsPanel.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wCAAwC,CAAA;AAC1E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAA;AAE9D,OAAO,KAAK,EAA0C,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;AAGrG,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,QAAQ,EAAE,YAAY,CAAA;IAC/B,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAC,oBAAoB,CAAC,CAAA;CAC9C;AAED,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,SAAS,EAAE,SAAS,mBAAmB,EAAE,CAAA;IAClD,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAA;IAC7B,QAAQ,CAAC,YAAY,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;IAC7C,QAAQ,CAAC,OAAO,EAAE,MAAM,IAAI,CAAA;IAC5B,QAAQ,CAAC,CAAC,EAAE,eAAe,CAAA;CAC5B;AAuDD,wBAAgB,kBAAkB,CAAC,EAAE,SAAS,EAAE,YAAY,EAAE,YAAY,EAAE,OAAO,EAAE,CAAC,EAAE,EAAE,uBAAuB,sCAuDhH"}
@@ -0,0 +1,8 @@
1
+ /** Province, city, and district data derived from docs/area.ts. */
2
+ export interface AreaOption {
3
+ readonly label: string;
4
+ readonly value: string;
5
+ readonly children?: readonly AreaOption[];
6
+ }
7
+ export declare const AREA_OPTIONS: readonly AreaOption[];
8
+ //# sourceMappingURL=area-data.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"area-data.d.ts","sourceRoot":"","sources":["../../../src/client/area-data.ts"],"names":[],"mappings":"AAAA,mEAAmE;AACnE,MAAM,WAAW,UAAU;IACzB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,QAAQ,CAAC,EAAE,SAAS,UAAU,EAAE,CAAA;CAC1C;AAED,eAAO,MAAM,YAAY,EAAE,SAAS,UAAU,EA+2b7C,CAAA"}
@@ -0,0 +1,15 @@
1
+ import { type AreaOption } from './area-data.ts';
2
+ export interface AreaRecord {
3
+ readonly option: AreaOption;
4
+ readonly path: readonly AreaOption[];
5
+ }
6
+ export declare function getAreaRecord(value: string): AreaRecord | undefined;
7
+ /** Current qcc-tender search Schema accepts mainland province/city/district names only. */
8
+ export declare function isMcpSupportedAreaValue(value: string): boolean;
9
+ export declare function formatAreaPath(value: string): string | undefined;
10
+ export declare function formatAreaSelections(values: readonly string[]): string | undefined;
11
+ /** Keep selections canonical: choosing a parent replaces descendants and vice versa. */
12
+ export declare function toggleAreaSelection(values: readonly string[], value: string): string[];
13
+ export declare function hasSelectedDescendant(values: readonly string[], value: string): boolean;
14
+ export declare function searchAreas(query: string, limit?: number): AreaRecord[];
15
+ //# sourceMappingURL=area-utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"area-utils.d.ts","sourceRoot":"","sources":["../../../src/client/area-utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,KAAK,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAE9D,MAAM,WAAW,UAAU;IACzB,QAAQ,CAAC,MAAM,EAAE,UAAU,CAAA;IAC3B,QAAQ,CAAC,IAAI,EAAE,SAAS,UAAU,EAAE,CAAA;CACrC;AAeD,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,GAAG,UAAU,GAAG,SAAS,CAEnE;AAED,2FAA2F;AAC3F,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAG9D;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAGhE;AAED,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,GAAG,MAAM,GAAG,SAAS,CAMlF;AAMD,wFAAwF;AACxF,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,CAUtF;AAED,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAQvF;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,SAAK,GAAG,UAAU,EAAE,CAWnE"}
@@ -0,0 +1,5 @@
1
+ export type TenderDrawerKind = 'filter' | 'results';
2
+ export declare function openTenderDrawer(kind: TenderDrawerKind): void;
3
+ export declare function closeTenderDrawer(kind: TenderDrawerKind): void;
4
+ export declare function subscribeTenderDrawers(listener: (kind: TenderDrawerKind) => void): () => void;
5
+ //# sourceMappingURL=drawer-coordinator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"drawer-coordinator.d.ts","sourceRoot":"","sources":["../../../src/client/drawer-coordinator.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gBAAgB,GAAG,QAAQ,GAAG,SAAS,CAAA;AAKnD,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,gBAAgB,GAAG,IAAI,CAG7D;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,gBAAgB,GAAG,IAAI,CAE9D;AAED,wBAAgB,sBAAsB,CAAC,QAAQ,EAAE,CAAC,IAAI,EAAE,gBAAgB,KAAK,IAAI,GAAG,MAAM,IAAI,CAG7F"}
@@ -0,0 +1,4 @@
1
+ import type { TenderFieldProps } from './field-props.ts';
2
+ /** Compact triggers share one option surface, which closes on outside pointer or Escape. */
3
+ export declare function AdvancedFields({ filters, onChange, t }: TenderFieldProps): import("react").JSX.Element;
4
+ //# sourceMappingURL=AdvancedFields.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AdvancedFields.d.ts","sourceRoot":"","sources":["../../../../src/client/fields/AdvancedFields.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAmB,MAAM,kBAAkB,CAAA;AAsGzE,4FAA4F;AAC5F,wBAAgB,cAAc,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC,EAAE,EAAE,gBAAgB,+BAuFxE"}
@@ -0,0 +1,4 @@
1
+ import type { TenderFieldProps } from './field-props.ts';
2
+ /** Keyword editor for the generated tender query. */
3
+ export declare function KeywordField({ filters, onChange, t }: TenderFieldProps): import("react").JSX.Element;
4
+ //# sourceMappingURL=KeywordField.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KeywordField.d.ts","sourceRoot":"","sources":["../../../../src/client/fields/KeywordField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAA;AAGxD,qDAAqD;AACrD,wBAAgB,YAAY,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC,EAAE,EAAE,gBAAgB,+BAiBtE"}
@@ -0,0 +1,4 @@
1
+ import type { TenderFieldProps } from './field-props.ts';
2
+ /** Publication preset and custom date-range controls. */
3
+ export declare function PublishTimeField({ filters, onChange, t }: TenderFieldProps): import("react").JSX.Element;
4
+ //# sourceMappingURL=PublishTimeField.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PublishTimeField.d.ts","sourceRoot":"","sources":["../../../../src/client/fields/PublishTimeField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAA;AAIxD,yDAAyD;AACzD,wBAAgB,gBAAgB,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC,EAAE,EAAE,gBAAgB,+BA2C1E"}
@@ -0,0 +1,4 @@
1
+ import type { TenderFieldProps } from './field-props.ts';
2
+ /** Searchable province → city → district cascader with full-row drill-down targets. */
3
+ export declare function RegionField({ filters, onChange, t }: TenderFieldProps): import("react").JSX.Element;
4
+ //# sourceMappingURL=RegionField.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RegionField.d.ts","sourceRoot":"","sources":["../../../../src/client/fields/RegionField.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAA;AAsDxD,uFAAuF;AACvF,wBAAgB,WAAW,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC,EAAE,EAAE,gBAAgB,+BAmIrE"}
@@ -0,0 +1,9 @@
1
+ import type { Ref } from 'react';
2
+ import type { TenderFieldProps } from './field-props.ts';
3
+ interface SearchTypeFieldProps extends TenderFieldProps {
4
+ readonly firstControlRef: Ref<HTMLButtonElement>;
5
+ }
6
+ /** Required first-step selector for the top-level search mode and tender branch. */
7
+ export declare function SearchTypeField({ filters, onChange, t, firstControlRef }: SearchTypeFieldProps): import("react").JSX.Element;
8
+ export {};
9
+ //# sourceMappingURL=SearchTypeField.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SearchTypeField.d.ts","sourceRoot":"","sources":["../../../../src/client/fields/SearchTypeField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;AAChC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAA;AAGxD,UAAU,oBAAqB,SAAQ,gBAAgB;IACrD,QAAQ,CAAC,eAAe,EAAE,GAAG,CAAC,iBAAiB,CAAC,CAAA;CACjD;AAED,oFAAoF;AACpF,wBAAgB,eAAe,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC,EAAE,eAAe,EAAE,EAAE,oBAAoB,+BA+B9F"}
@@ -0,0 +1,4 @@
1
+ import type { TenderFieldProps } from './field-props.ts';
2
+ /** Stage controls adapt to 招标、中标、拟建项目 without leaking inactive values. */
3
+ export declare function StageField({ filters, onChange, t }: TenderFieldProps): import("react").JSX.Element | null;
4
+ //# sourceMappingURL=StageField.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StageField.d.ts","sourceRoot":"","sources":["../../../../src/client/fields/StageField.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAA;AA0CxD,0EAA0E;AAC1E,wBAAgB,UAAU,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC,EAAE,EAAE,gBAAgB,sCAcpE"}
@@ -0,0 +1,11 @@
1
+ import type { TranslateNS } from '@deepseek-ai/dsh-client-ui-slots';
2
+ import type { TenderKey } from '../locales.ts';
3
+ import type { TenderFilters } from '../types.ts';
4
+ export type TenderTranslate = TranslateNS<'tenderFilter'>;
5
+ export interface TenderFieldProps {
6
+ readonly filters: TenderFilters;
7
+ readonly onChange: <K extends keyof TenderFilters>(key: K, value: TenderFilters[K]) => void;
8
+ readonly t: TenderTranslate;
9
+ }
10
+ export declare function translated(t: TenderTranslate, key: TenderKey): string;
11
+ //# sourceMappingURL=field-props.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"field-props.d.ts","sourceRoot":"","sources":["../../../../src/client/fields/field-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AACnE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAC9C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAEhD,MAAM,MAAM,eAAe,GAAG,WAAW,CAAC,cAAc,CAAC,CAAA;AAEzD,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,OAAO,EAAE,aAAa,CAAA;IAC/B,QAAQ,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,MAAM,aAAa,EAAE,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,KAAK,IAAI,CAAA;IAC3F,QAAQ,CAAC,CAAC,EAAE,eAAe,CAAA;CAC5B;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,eAAe,EAAE,GAAG,EAAE,SAAS,GAAG,MAAM,CAErE"}
@@ -0,0 +1,18 @@
1
+ import type { TenderKey } from '../locales.ts';
2
+ import type { PublishPreset } from '../types.ts';
3
+ export interface FilterOption<T extends string = string> {
4
+ readonly value: T;
5
+ readonly label: TenderKey;
6
+ }
7
+ export declare const PUBLISH_OPTIONS: readonly FilterOption<PublishPreset>[];
8
+ export declare const TENDER_STAGE_OPTIONS: readonly ["预告", "招标", "变更", "澄清答疑"];
9
+ export declare const AWARD_STAGE_OPTIONS: readonly ["开标", "中标候选", "中标成交", "合同验收", "变更", "废标流标终止"];
10
+ export declare const PROPOSED_STAGE_OPTIONS: readonly ["项目核准", "项目备案", "项目建议书", "项目立项", "建设用地预审与选址意见书", "地震安全性评价", "环境影响报告书", "节能审查意见", "可行性研究", "初步设计及概算", "建设用地规划许可", "国有建设用地使用权划拨", "建设工程规划许可", "施工图审查", "工程质量监督", "施工许可", "竣工验收备案", "其他"];
11
+ export declare const APPROVAL_PROGRESS_OPTIONS: readonly ["未审批", "审批中", "审批通过", "审批未通过", "撤销", "其他"];
12
+ export declare const PROCUREMENT_OPTIONS: readonly ["公开招标", "邀请招标", "询价", "竞谈", "竞磋", "竞价", "单一来源", "框架协议"];
13
+ export declare const INDUSTRY_OPTIONS: readonly ["工程建筑", "办公文教", "医疗卫生", "服务采购", "机械设备", "水利水电", "能源化工", "弱电安防", "信息技术", "交通运输", "市政基建", "农林牧渔", "政府部门", "日用百货", "材料配件", "通讯电子", "仪器仪表", "环保绿化", "服装布料", "制造生产", "家居建材", "食品饮品", "债券发行", "其他"];
14
+ export declare const PROCUREMENT_TYPE_OPTIONS: readonly ["工程", "货物", "服务"];
15
+ export declare const IFB_AMOUNT_OPTIONS: readonly ["20万内", "20万-50万", "50万-100万", "100万-300万", "300万以上"];
16
+ export declare const WTB_AMOUNT_OPTIONS: readonly ["20万内", "20万-50万", "50万-100万", "100万-300万", "300万以上"];
17
+ export declare const PROPOSED_INVESTMENT_OPTIONS: readonly ["100万内", "100万-500万", "500万-1000万", "1000万-5000万", "5000万-1亿", "1亿以上"];
18
+ //# sourceMappingURL=options.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../../src/client/fields/options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAC9C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAEhD,MAAM,WAAW,YAAY,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM;IACrD,QAAQ,CAAC,KAAK,EAAE,CAAC,CAAA;IACjB,QAAQ,CAAC,KAAK,EAAE,SAAS,CAAA;CAC1B;AAED,eAAO,MAAM,eAAe,EAAE,SAAS,YAAY,CAAC,aAAa,CAAC,EAYjE,CAAA;AAED,eAAO,MAAM,oBAAoB,qCAAsC,CAAA;AACvE,eAAO,MAAM,mBAAmB,yDAA0D,CAAA;AAC1F,eAAO,MAAM,sBAAsB,kMAKzB,CAAA;AACV,eAAO,MAAM,yBAAyB,sDAAuD,CAAA;AAE7F,eAAO,MAAM,mBAAmB,mEAEtB,CAAA;AACV,eAAO,MAAM,gBAAgB,yMAInB,CAAA;AACV,eAAO,MAAM,wBAAwB,6BAA8B,CAAA;AACnE,eAAO,MAAM,kBAAkB,iEAAkE,CAAA;AACjG,eAAO,MAAM,kBAAkB,iEAAkE,CAAA;AACjG,eAAO,MAAM,2BAA2B,kFAE9B,CAAA"}
@@ -0,0 +1,5 @@
1
+ import type { QccSearchRequest } from './qcc-request.ts';
2
+ import type { TenderFilters } from './types.ts';
3
+ /** Build a deterministic Agent request from an already validated MCP request. */
4
+ export declare function formatTenderPrompt(request: QccSearchRequest, filters: TenderFilters): string;
5
+ //# sourceMappingURL=format.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"format.d.ts","sourceRoot":"","sources":["../../../src/client/format.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAA;AACxD,OAAO,KAAK,EAAiB,aAAa,EAAE,MAAM,YAAY,CAAA;AA0E9D,iFAAiF;AACjF,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,gBAAgB,EAAE,OAAO,EAAE,aAAa,GAAG,MAAM,CAiB5F"}
@@ -0,0 +1,13 @@
1
+ import type { ClientContext } from '@deepseek-ai/dsh-client-runtime/client';
2
+ import { type TenderKey } from './locales.ts';
3
+ declare module '@deepseek-ai/dsh-client-ui-slots' {
4
+ interface LocaleNamespaceMap {
5
+ /** Tender filter form and trigger copy. */
6
+ tenderFilter: TenderKey;
7
+ }
8
+ }
9
+ /** Services required for the Session slot, draft facade, and localized UI. */
10
+ export declare const inject: string[];
11
+ /** Register the tender trigger into the official Session input-left slot. */
12
+ export declare function apply(ctx: ClientContext): void;
13
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/client/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAA;AAK3E,OAAO,EAAU,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AAIrD,OAAO,QAAQ,kCAAkC,CAAC;IAChD,UAAU,kBAAkB;QAC1B,2CAA2C;QAC3C,YAAY,EAAE,SAAS,CAAA;KACxB;CACF;AAID,8EAA8E;AAC9E,eAAO,MAAM,MAAM,UAAwE,CAAA;AAE3F,6EAA6E;AAC7E,wBAAgB,KAAK,CAAC,GAAG,EAAE,aAAa,GAAG,IAAI,CAkB9C"}