@h-ai/ui 1.0.0-beta.34 → 1.0.0-beta.35

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.en.md +4 -0
  2. package/README.ja.md +4 -0
  3. package/README.md +4 -0
  4. package/auto-import.d.ts +2 -0
  5. package/auto-import.js +2 -0
  6. package/dist/components/compounds/CronExpressionBuilder.svelte +655 -0
  7. package/dist/components/compounds/CronExpressionBuilder.svelte.d.ts +40 -0
  8. package/dist/components/compounds/DatePicker.svelte +5 -1
  9. package/dist/components/compounds/DatePicker.svelte.d.ts +2 -0
  10. package/dist/components/compounds/ScheduleInput.svelte +475 -0
  11. package/dist/components/compounds/ScheduleInput.svelte.d.ts +51 -0
  12. package/dist/components/compounds/cron-expression-builder-types.d.ts +97 -0
  13. package/dist/components/compounds/cron-expression-builder-types.js +1 -0
  14. package/dist/components/compounds/cron-expression-builder.d.ts +63 -0
  15. package/dist/components/compounds/cron-expression-builder.js +293 -0
  16. package/dist/components/compounds/index.d.ts +6 -0
  17. package/dist/components/compounds/index.js +5 -0
  18. package/dist/components/compounds/schedule-input-config.d.ts +8 -0
  19. package/dist/components/compounds/schedule-input-config.js +7 -0
  20. package/dist/components/compounds/schedule-input.d.ts +170 -0
  21. package/dist/components/compounds/schedule-input.js +262 -0
  22. package/dist/components/scenes/ai/AiDocumentEditor.svelte +15 -3
  23. package/dist/components/scenes/ai/document-parse.d.ts +2 -0
  24. package/dist/components/scenes/ai/document-parse.js +9 -5
  25. package/dist/components/scenes/ai/document-source-range.d.ts +10 -0
  26. package/dist/components/scenes/ai/document-source-range.js +90 -0
  27. package/dist/components/scenes/ai/document-types.d.ts +20 -0
  28. package/dist/components/scenes/ai/index.d.ts +1 -1
  29. package/dist/components/scenes/ai/markdown-parse.d.ts +2 -0
  30. package/dist/components/scenes/ai/markdown-parse.js +8 -5
  31. package/dist/components/scenes/ai/safe-html.d.ts +12 -2
  32. package/dist/components/scenes/ai/safe-html.js +22 -8
  33. package/dist/messages/en-US.json +28 -0
  34. package/dist/messages/ja-JP.json +28 -0
  35. package/dist/messages/zh-CN.json +28 -0
  36. package/package.json +8 -2
package/README.en.md CHANGED
@@ -27,6 +27,10 @@ This module has no standalone runtime configuration file. See [file ownership](.
27
27
  [Switch themes](../../docs/usage/function/ui.en.md#theme) to apply the light Liquid Glass theme (`liquid-glass`) through the existing selector and save that preference. Set `ThemeSelector`’s `themeIds` prop to limit the built-in choices.
28
28
 
29
29
  [Tool and artifact workspaces](../../docs/usage/function/ui.en.md#tool-workspaces) provide parameter forms, examples, task progress, document editing, version conflicts, and media previews. Applications connect authorized read, write, and execution callbacks.
30
+ Use the [image policy and Markdown source range](../../docs/usage/function/ui.en.md#private-document-media) to control image requests and map a selection to the source document.
31
+
32
+
33
+ [Schedule input](../../docs/usage/function/ui.en.md#schedule-input) combines the date picker with IANA time zones, minute precision, and five-field cron.
30
34
 
31
35
  ## Data Structures
32
36
 
package/README.ja.md CHANGED
@@ -27,6 +27,10 @@ HTTP/UI 境界で業務メッセージを公開するのは、明示された有
27
27
  [テーマ切替](../../docs/usage/function/ui.ja.md#theme)では、既存のセレクターから明るいリキッドガラステーマ(`liquid-glass`)を適用して、選択を保存できます。`ThemeSelector` の `themeIds` で組み込みテーマの候補を絞り込めます。
28
28
 
29
29
  [ツールと成果物のワークスペース](../../docs/usage/function/ui.ja.md#tool-workspaces)は、パラメーターフォーム、操作例、タスク進捗、文書編集、バージョン競合、メディアプレビューを提供します。アプリは認可済みの読み取り、保存、実行コールバックを接続します。
30
+ [画像ポリシーと Markdown 原文の範囲](../../docs/usage/function/ui.ja.md#private-document-media)で画像の通信を制御し、ユーザーが選択した原文を特定できます。
31
+
32
+
33
+ [実行日時入力](../../docs/usage/function/ui.ja.md#schedule-input)は日付ピッカーを再利用し、IANA タイムゾーン、分精度、5フィールドの Cron に対応します。
30
34
 
31
35
  ## データ構造
32
36
 
package/README.md CHANGED
@@ -31,6 +31,10 @@ HTTP/UI 边界只对明确的有效 4xx 状态公开业务提示;错误缺少
31
31
  <a id="代码工作区"></a>
32
32
 
33
33
  [代码工作区](../../docs/usage/function/ui.md#代码工作区)
34
+ 私有 Markdown 可使用 [图片策略与源码选区](../../docs/usage/function/ui.md#private-document-media)控制网络图片并定位用户选择的原文。
35
+
36
+
37
+ [调度输入](../../docs/usage/function/ui.md#schedule-input)复用日期选择器,支持 IANA 时区、分钟精度和五段 Cron。
34
38
 
35
39
  ## 数据结构
36
40
 
package/auto-import.d.ts CHANGED
@@ -53,10 +53,12 @@ declare global {
53
53
  const Breadcrumb: typeof import('@h-ai/ui')['Breadcrumb']
54
54
  const Calendar: typeof import('@h-ai/ui')['Calendar']
55
55
  const Card: typeof import('@h-ai/ui')['Card']
56
+ const CronExpressionBuilder: typeof import('@h-ai/ui')['CronExpressionBuilder']
56
57
  const Combobox: typeof import('@h-ai/ui')['Combobox']
57
58
  const Confirm: typeof import('@h-ai/ui')['Confirm']
58
59
  const DataTable: typeof import('@h-ai/ui')['DataTable']
59
60
  const DatePicker: typeof import('@h-ai/ui')['DatePicker']
61
+ const ScheduleInput: typeof import('@h-ai/ui')['ScheduleInput']
60
62
  const Drawer: typeof import('@h-ai/ui')['Drawer']
61
63
  const Dropdown: typeof import('@h-ai/ui')['Dropdown']
62
64
  const Empty: typeof import('@h-ai/ui')['Empty']
package/auto-import.js CHANGED
@@ -40,10 +40,12 @@ const UI_COMPONENTS = new Set([
40
40
  'Breadcrumb',
41
41
  'Calendar',
42
42
  'Card',
43
+ 'CronExpressionBuilder',
43
44
  'Combobox',
44
45
  'Confirm',
45
46
  'DataTable',
46
47
  'DatePicker',
48
+ 'ScheduleInput',
47
49
  'Drawer',
48
50
  'Dropdown',
49
51
  'Empty',