PageSourceSearch

https://www.cmp.co.jp/library/base/cogmo/configs/en/search-f2.config.js

js cmp.co.jp collected 2026-10-04 13:00:20 UTC 4,499 bytes, 110 lines download raw bytes

1/*
2  Cogmo Enterprise Generative AI/Cogmo Search UI version: 3.1.1
3  version date: 2025-03-04
4  Copyright: IACT CORPORATION.
5  Comment: 再配布を禁じます。契約者でのご利用にて改変を行うことは認められておりますが、新バージョンのUIファイルは標準ファイルのみ配布となりますので、再度、契約者で改変を行ってください。
6*/
7const Form2SearchConfig = {
8  view: {
9    formParts: {
10      search: [
11        // この検索フォームのパーツを使う検索タイプID
12        {
13          id: "query", // 検索フォームのパーツを識別するID文字列
14          /*
15            この検索フォームのパーツの種別
16            natural-language-query:自然文条件の入力
17            checkbox-filter:チェックボックスによる絞り込み
18            radio-filter:ラジオボタンによる絞り込み
19            text-filter:テキストフィルターによる絞り込み
20          */
21          type: "natural-language-query",
22          inputFormPlaceholder: "Keywords", // 自然文条件の入力とテキストフィルターにおける入力欄の初期表示の文言
23          submitButtonLabel: "Search", // 自然文条件の入力とテキストフィルターにおける実行ボタンの文言
24          spSubmitButtonLabel: "Search", //  自然文条件の入力とテキストフィルターにおけるモバイルブラウザの実行ボタンの文言
25          inputTextClearTitle: "Clear input text", // 自然文条件の入力とテキストフィルターにおける入力欄のクリアボタンのタイトル
26          /*
27            自然文条件の入力における複数行の入力可否
28            multipleLineInputがtrueの場合、{inputFormLineNum}行の入力フォームとなり{inputFormMaxLineNum}行まで拡張される。[shift]+[enter]で送信
29            multipleLineInputがfalseの場合、inputFormLineNum、inputFormMaxLineNumの設定は使わないず一行の入力フォーム。[enter]で送信
30          */
31          multipleLineInput: false,
32          inputFormLineNum: 1,
33          inputFormMaxLineNum: 5,
34        },
35        {
36          id: "language",
37          label: "日英選択:",
38          type: "radio-filter",
39          filters: [
40            {
41              id: "ja",
42              name: "日本語",
43              expression: 'site_filter::!"en"',
44            },
45            {
46              id: "en",
47              name: "英語",
48              expression: 'site_filter::"en"',
49              checked: true,
50            },
51          ],
52        },
53      ],
54      gpt: [
55        {
56          id: "query",
57          type: "natural-language-query",
58          inputFormPlaceholder: "質問を入力",
59          submitButtonLabel: "Search",
60          spSubmitButtonLabel: "Search",
61          inputTextClearTitle: "入力テキストをクリア",
62          multipleLineInput: false,
63          inputFormLineNum: 1,
64          inputFormMaxLineNum: 5,
65        },
66      ],
67      searchgpt: [
68        {
69          id: "query",
70          type: "natural-language-query",
71          inputFormPlaceholder: "質問を入力",
72          submitButtonLabel: "Search",
73          spSubmitButtonLabel: "Search",
74          inputTextClearTitle: "入力テキストをクリア",
75          multipleLineInput: false,
76          inputFormLineNum: 1,
77          inputFormMaxLineNum: 5,
78        },
79        // {
80        //   id: "type",
81        //   label: "ファイル:",
82        //   type: "radio-filter",
83        //   filters: [
84        //     {
85        //       id: "all",
86        //       name: "すべて",
87        //       expression: "",
88        //       checked: true,
89        //     },
90        //     {
91        //       id: "html",
92        //       name: "Webページのみ",
93        //       expression: 'enriched_thumbnail_url.entities.text::!("pdf"|"docx"|"xlsx"|"pptx"|"txt"|"json")',
94        //     },
95        //     {
96        //       id: "file",
97        //       name: "ファイルのみ",
98        //       expression: 'enriched_thumbnail_url.entities.text::("pdf"|"docx"|"xlsx"|"pptx"|"txt"|"json")',
99        //     },
100        //   ],
101        // },
102      ],
103    },
104  },
105  form: {
106    anchorTarget: "_blank", // 検索結果画面へ遷移する際のtarget属性
107  },
108};
109
110window.Form2SearchConfig = Form2SearchConfig;

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.