@plaidev/karte-action-sdk 1.0.43 → 1.0.44
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.
- package/dist/index.es.d.ts +2 -1
- package/dist/index.es.js +3 -2
- package/package.json +1 -1
package/dist/index.es.d.ts
CHANGED
|
@@ -168,6 +168,7 @@ type OperationArgumentTypes = {
|
|
|
168
168
|
BooleanKeyword: boolean;
|
|
169
169
|
NumberKeyword: number;
|
|
170
170
|
State: string;
|
|
171
|
+
Url: string;
|
|
171
172
|
};
|
|
172
173
|
type ConvertOperationOptions<O extends BaseOperationOptions> = ConvertOperationOption<O[number]>;
|
|
173
174
|
type ConvertOperationOption<Option extends BaseOperationOptions[number]> = Option extends any ? {
|
|
@@ -200,7 +201,7 @@ declare const OnClickOperationOptions: readonly [
|
|
|
200
201
|
readonly ja: "URL\u3092\u5165\u529B";
|
|
201
202
|
readonly en: "Enter URL";
|
|
202
203
|
};
|
|
203
|
-
readonly type: "
|
|
204
|
+
readonly type: "Url";
|
|
204
205
|
readonly default: "";
|
|
205
206
|
},
|
|
206
207
|
{
|
package/dist/index.es.js
CHANGED
|
@@ -138,7 +138,8 @@ const send_event = (event_name, values) => {
|
|
|
138
138
|
options?.send?.(event_name, values);
|
|
139
139
|
};
|
|
140
140
|
const isPreview = () => {
|
|
141
|
-
|
|
141
|
+
const options = get(functionOptions);
|
|
142
|
+
return !!options?.isPreview;
|
|
142
143
|
};
|
|
143
144
|
const setMiximumZindex = (zindex) => {
|
|
144
145
|
if (!zindex || zindex < get(maximumZindex))
|
|
@@ -325,7 +326,7 @@ const OnClickOperationOptions = [
|
|
|
325
326
|
name: { ja: 'リンク遷移', en: 'Link To' },
|
|
326
327
|
operation: 'linkTo',
|
|
327
328
|
args: [
|
|
328
|
-
{ name: { ja: 'URLを入力', en: 'Enter URL' }, type: '
|
|
329
|
+
{ name: { ja: 'URLを入力', en: 'Enter URL' }, type: 'Url', default: '' },
|
|
329
330
|
{
|
|
330
331
|
name: { ja: '新しいタブで開く', en: 'Open in new tab' },
|
|
331
332
|
type: 'BooleanKeyword',
|