OutSystems Forge 日本語データベース

OS_TextEditor

※Forge全件データの日本語検索サービスをご利用になりたい場合は、こちらまでお問合せください。

Forge英文サイト

2018-02-05 1.0.1 OutSystems Experts All All Components, Widgets
Custom TextAreaは、ユーザが書いているテキスト(シンボル/単語)を認識し、関連するオプションのセットをトリガーする機能を備えています。 https://www.outsystems.com/forge/3238/のサンプルをご覧ください。
イントロ このコンポーネントには、ユーザーが作成しているテキストを認識する機能があります。これに加えて、シンボル/ワードを使用して、そのシンボルに関連付けられたオプションのセットをトリガする機能が追加されました。 このコンポーネントを使用するには、使用する各シンボルの設定で入力構造を定義するだけで済みます。 https://www.outsystems.com/forge/3238/のサンプルをご覧ください。 ドキュメントノート コンポーネントの入力:高さ:デフォルト値は100pxです。 MaxWidth:デフォルトは100%です。 Config入力構造リスト: 受け取った入力構造の例をJSONに変換してコンポーネント内部で使用する: [ { "symbol": "@", "configs": { "infoCollection": [ { "json": "{\"image\":\" image_source.png\", \"name\": \"John\", \"is_active\": \"true\"}" }, { "json": "{\"image\":\" image_source.png\", \"name\": \"Mary\", \"is_active\": \"false\"}" }, { "json": "{\"image\":\" image_source.png\", \"name\": \"Alberto\", \"is_active\": \"true\"}" }, { "json": "{\"image\":\" image_source.png\", \"name\": \"Json\", \"is_active\": \"false\"}" } ], "settings": { "listTitle": "People Macthing {{ }}", "listMask": "<span is_active='{{is_active}}'></span><img src={{image}}>{{name}}", "replacedMask": "{{name}}", "useSymbolOnReplace": true, "pattern": false, "higlightOnReplace": true } } }, { "symbol": "/msg", "configs": { "infoCollection": [{ "json": "" }], "settings": { "listTitle": "/msg @user [your message]", "listMask": "Send a DM message to another user", "pattern": "true" } } }, , { "symbol": ":", "configs": { "infoCollection": emojis_list, "settings": { "listTitle": "Matching Emoji's {{ }}", "listMask": "{{emoji}} {{name}}", "replacedMask": "{{emoji}}", "useSymbolOnReplace": false, "pattern": false, "higlightOnReplace": false } } } ] 入力構造に関する注意事項:各オブジェクトについて: "シンボル":TEXT作業する記号/単語。 "configs":STRUCTURE "infoCollection":シンボルに割り当てられたすべてのアイテムのTEXTList。 Jsonアトリビュートは、カスタムオブジェクトを作成する機能を与えるためにTEXT型です。 このリストの各項目はJSONオブジェクトに解析されるので、尊重しなければならないJSONモンタナチュアについての特定のルールがあることを考慮してください。 このJson属性値の例をいくつか示します: "{" "image" ":" "/ image_src.png" "、" "" "John" "、" is_active "": "true" "{" "名前" ":" ":笑って" "、"絵文字 "": "" ?? ""} " "settings":STRUCTURE "listTitle":シンボルのオプション(infoCollection)のリストの上に表示されるTEXTTitle。 {{}}は、ユーザーが作成しているテキストに置き換えられます。 "listMask":TEXTこの属性は、プレーンテキストまたはHTMLテキストを受け取ることができます。 動的情報については、infoCollectionリストで前に定義されたプロパティを表す{{property_name}}を使用できます。例: "{" "image" ":" "/ image_src.png" "、" "name" ": "" John ""、 "is_active" ":" "true" "}" あなたが使用することができます: {{image}}、{{name}}、{{is_active}}} 各項目に関連情報を表示する。 "replacedMask":TEXT {{property_name}}は、オプション(infoCollection)のリストから1つのオプションを選択したときにテキストを置き換えるために使用されます。 {{property_name}}でプレーンテキスト、またはプレーンテキストを使用できます。 "useSymbolOnReplace":BOOLEANDデフォルト値True 値がFalseの場合、symbol / wordのない情報が置き換えられます。 "pattern":BOOLEANDデフォルト値False Trueに設定すると、挿入されたテキストは記号/単語で始まらなければなりません "higlightOnReplace":BOOLEANDデフォルト値True Falseに設定すると、置換情報は強調表示されません このツールが有用であり、フィードバックをいただければ幸いです。 免責事項: このコンポーネントは、OutSystemsではサポートされていません。あなたはそのまま使用し、必要に応じて変更することができます。

[Overview]
Custom TextArea with the ability to recognise the text that user is writing (symbol/word) to trigger a set of options related. See here the sample at https://www.outsystems.com/forge/3238/
[Detail]
Intro This component has the ability to recognise the text that user is writing, on top of this we've added the capability to use any symbol/word to trigger a set of options associated with that symbol. In order to use this component you just need to define an input structure with the settings for each symbol that you want to use. See here the sample at https://www.outsystems.com/forge/3238/ Documentation notes Component Inputs:Height: Default value is 100px; MaxWidth: Default Widtth is 100%; Config Input Structure List: Example of received input scructure converted into JSON to be used inside the component: [ { "symbol": "@", "configs": { "infoCollection": [ { "json": "{\"image\":\" image_source.png\", \"name\": \"John\", \"is_active\": \"true\"}" }, { "json": "{\"image\":\" image_source.png\", \"name\": \"Mary\", \"is_active\": \"false\"}" }, { "json": "{\"image\":\" image_source.png\", \"name\": \"Alberto\", \"is_active\": \"true\"}" }, { "json": "{\"image\":\" image_source.png\", \"name\": \"Json\", \"is_active\": \"false\"}" } ], "settings": { "listTitle": "People Macthing {{ }}", "listMask": "<span is_active='{{is_active}}'></span><img src={{image}}>{{name}}", "replacedMask": "{{name}}", "useSymbolOnReplace": true, "pattern": false, "higlightOnReplace": true } } }, { "symbol": "/msg", "configs": { "infoCollection": [{ "json": "" }], "settings": { "listTitle": "/msg @user [your message]", "listMask": "Send a DM message to another user", "pattern": "true" } } }, , { "symbol": ":", "configs": { "infoCollection": emojis_list, "settings": { "listTitle": "Matching Emoji's {{ }}", "listMask": "{{emoji}} {{name}}", "replacedMask": "{{emoji}}", "useSymbolOnReplace": false, "pattern": false, "higlightOnReplace": false } } } ] Notes about the input Structure List:For each Object:"symbol": TEXTThe symbol/word to work with; "configs": STRUCTURE"infoCollection": LIST OF TEXTList of all items assigned to symbol; The Json atribute is TEXT type, in order to give the ability to create a custom Object; Note that each item of this list will be parsed into an JSON Object, so, take into consideration that there are specific rules about the JSON monenculature that have to be respected; Some examples for this Json atribute value:"{""image"":""/image_src.png"", ""name"": ""John"", ""is_active"": ""true""}" "{""name"":"":grinning"", ""emoji"":""??""}" "settings": STRUCTURE"listTitle": TEXTTitle that will appear on top of the list of Options (infoCollection) for the symbol; The {{ }} will be replaced by the text that user is writing. "listMask": TEXTThis atribute can receive Plain or HTML text; For the dynamic info, you can use {{property_name}} representing the properties defined previously in the infoCollection List:For the example:"{""image"":""/image_src.png"", ""name"": ""John"", ""is_active"": ""true""}" you can use: {{image}}, {{name}} and {{is_active}} to display the related information to each item. "replacedMask": TEXT{{property_name}} used to replace text when the user select one option from list of Options (infoCollection); You can use Plain text, or Plain text with {{property_name}}; "useSymbolOnReplace": BOOLEANDefault value True If value is False, it will replace info without symbol/word; "pattern": BOOLEANDefault value False If set to True, the inserted text has to start with the symbol/word "higlightOnReplace": BOOLEANDefault value True If set to False, the replace info will not be highlighted We hope you find this tool useful and appreciate your feedback! Disclaimer: This component is not supported by OutSystems. You can use it as is and change it as you want.
戻る