fix
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
import type { FieldLayout, FieldsJoinMapping, JoinTable, Record, RecordForParameter, SavedData, StringValue,WhereCondition } from "@/types/model";
|
||||
import { type OneOf, isType } from "./field-types";
|
||||
import type { ConditionValue } from "./conditions";
|
||||
declare var KintoneRestAPIClient: typeof import("@kintone/rest-api-client").KintoneRestAPIClient;
|
||||
import { KintoneRestAPIClient } from '@kintone/rest-api-client';
|
||||
import { Button } from 'kintone-ui-component/lib/button';
|
||||
import { Spinner } from 'kintone-ui-component/lib/spinner';
|
||||
export class KintoneIndexEventHandler {
|
||||
private config: SavedData<FieldLayout>;
|
||||
private currentApp: string;
|
||||
@@ -23,8 +25,7 @@ export class KintoneIndexEventHandler {
|
||||
|
||||
// ボタン追加
|
||||
if (document.getElementById('aggregator-plugin:btn-data-fetch')) return;
|
||||
const kuc = Kucs['1.18.0'];
|
||||
const button = new kuc.Button({
|
||||
const button = new Button({
|
||||
text: this.config.buttonName,
|
||||
type: "submit",
|
||||
id: 'aggregator-plugin:btn-data-fetch',
|
||||
@@ -51,8 +52,7 @@ export class KintoneIndexEventHandler {
|
||||
}
|
||||
|
||||
private showSpinner() {
|
||||
const kuc = Kucs['1.18.0'];
|
||||
const spinner = new kuc.Spinner({
|
||||
const spinner = new Spinner({
|
||||
text: 'データ収集中',
|
||||
container: document.body
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user