@progress/kendo-themes-html 7.0.3-dev.1 → 7.0.3-dev.2
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/cjs/dropzone/dropzone.spec.js +11 -9
- package/dist/cjs/dropzone/templates/dropzone-normal.js +4364 -0
- package/dist/cjs/dropzone/templates/dropzone-with-note.js +4370 -0
- package/dist/cjs/dropzone/tests/dropzone-states.js +4386 -0
- package/dist/cjs/dropzone/tests/dropzone.js +37 -19
- package/dist/cjs/index.js +1886 -1826
- package/dist/cjs/pdf-viewer/tests/pdf-viewer-blank-page.js +28 -21
- package/dist/cjs/spreadsheet/tests/spreadsheet-file-dialogs.js +34 -27
- package/dist/cjs/spreadsheet/tests/spreadsheet-insert-dialogs.js +68 -55
- package/dist/esm/dropzone/dropzone.spec.js +11 -9
- package/dist/esm/dropzone/templates/dropzone-normal.js +4348 -0
- package/dist/esm/dropzone/templates/dropzone-with-note.js +4354 -0
- package/dist/esm/dropzone/tests/dropzone-states.js +4370 -0
- package/dist/esm/dropzone/tests/dropzone.js +34 -16
- package/dist/esm/index.js +1879 -1819
- package/dist/esm/pdf-viewer/tests/pdf-viewer-blank-page.js +26 -19
- package/dist/esm/spreadsheet/tests/spreadsheet-file-dialogs.js +31 -24
- package/dist/esm/spreadsheet/tests/spreadsheet-insert-dialogs.js +63 -50
- package/dist/types/dropzone/dropzone.spec.d.ts +12 -3
- package/dist/types/dropzone/index.d.ts +2 -0
- package/dist/types/dropzone/templates/dropzone-normal.d.ts +1 -0
- package/dist/types/dropzone/templates/dropzone-with-note.d.ts +1 -0
- package/dist/types/dropzone/tests/dropzone-states.d.ts +2 -0
- package/dist/types/index.d.ts +1 -0
- package/package.json +2 -2
- package/src/dropzone/dropzone.spec.tsx +13 -5
- package/src/dropzone/index.ts +2 -0
- package/src/dropzone/templates/dropzone-normal.tsx +3 -0
- package/src/dropzone/templates/dropzone-with-note.tsx +7 -0
- package/src/dropzone/tests/dropzone-states.tsx +22 -0
- package/src/dropzone/tests/dropzone.tsx +11 -9
- package/src/index.ts +1 -1
- package/src/pdf-viewer/tests/pdf-viewer-blank-page.tsx +2 -2
- package/src/spreadsheet/tests/spreadsheet-file-dialogs.tsx +2 -2
- package/src/spreadsheet/tests/spreadsheet-insert-dialogs.tsx +2 -2
|
@@ -8238,13 +8238,14 @@ var states54 = [
|
|
|
8238
8238
|
];
|
|
8239
8239
|
var defaultProps48 = {
|
|
8240
8240
|
icon: "upload",
|
|
8241
|
-
|
|
8241
|
+
hint: "Drag and drop files here to upload"
|
|
8242
8242
|
};
|
|
8243
8243
|
var Dropzone = (props) => {
|
|
8244
8244
|
const {
|
|
8245
8245
|
hover,
|
|
8246
8246
|
icon = defaultProps48.icon,
|
|
8247
|
-
|
|
8247
|
+
hint = defaultProps48.hint,
|
|
8248
|
+
note,
|
|
8248
8249
|
...other
|
|
8249
8250
|
} = props;
|
|
8250
8251
|
return /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(
|
|
@@ -8261,19 +8262,25 @@ var Dropzone = (props) => {
|
|
|
8261
8262
|
),
|
|
8262
8263
|
children: /* @__PURE__ */ (0, import_jsx_runtime135.jsxs)("div", { className: "k-dropzone-inner", children: [
|
|
8263
8264
|
icon && /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(Icon, { icon, className: "k-dropzone-icon", size: "xxxlarge" }),
|
|
8264
|
-
/* @__PURE__ */ (0, import_jsx_runtime135.jsx)("span", { className: "k-dropzone-hint", children:
|
|
8265
|
-
note && /* @__PURE__ */ (0, import_jsx_runtime135.
|
|
8266
|
-
" ",
|
|
8267
|
-
note,
|
|
8268
|
-
" "
|
|
8269
|
-
] })
|
|
8265
|
+
hint && /* @__PURE__ */ (0, import_jsx_runtime135.jsx)("span", { className: "k-dropzone-hint", children: hint }),
|
|
8266
|
+
note && /* @__PURE__ */ (0, import_jsx_runtime135.jsx)("span", { className: "k-dropzone-note", children: note })
|
|
8270
8267
|
] })
|
|
8271
8268
|
}
|
|
8272
8269
|
);
|
|
8273
8270
|
};
|
|
8271
|
+
Dropzone.states = states54;
|
|
8272
|
+
Dropzone.className = DROPZONE_CLASSNAME;
|
|
8273
|
+
Dropzone.defaultProps = defaultProps48;
|
|
8274
8274
|
|
|
8275
|
-
// src/
|
|
8275
|
+
// src/dropzone/templates/dropzone-normal.tsx
|
|
8276
8276
|
var import_jsx_runtime136 = require("react/jsx-runtime");
|
|
8277
|
+
var DropzoneNormal = (props) => /* @__PURE__ */ (0, import_jsx_runtime136.jsx)(Dropzone, { ...props });
|
|
8278
|
+
|
|
8279
|
+
// src/dropzone/templates/dropzone-with-note.tsx
|
|
8280
|
+
var import_jsx_runtime137 = require("react/jsx-runtime");
|
|
8281
|
+
|
|
8282
|
+
// src/pdf-viewer/tests/pdf-viewer-blank-page.tsx
|
|
8283
|
+
var import_jsx_runtime138 = require("react/jsx-runtime");
|
|
8277
8284
|
var styles = `
|
|
8278
8285
|
#test-area .k-pdf-viewer {
|
|
8279
8286
|
height: 600px;
|
|
@@ -8282,19 +8289,19 @@ var styles = `
|
|
|
8282
8289
|
gap: 8px;
|
|
8283
8290
|
}
|
|
8284
8291
|
`;
|
|
8285
|
-
var pdf_viewer_blank_page_default = () => /* @__PURE__ */ (0,
|
|
8286
|
-
/* @__PURE__ */ (0,
|
|
8287
|
-
/* @__PURE__ */ (0,
|
|
8288
|
-
/* @__PURE__ */ (0,
|
|
8289
|
-
/* @__PURE__ */ (0,
|
|
8290
|
-
/* @__PURE__ */ (0,
|
|
8291
|
-
/* @__PURE__ */ (0,
|
|
8292
|
-
/* @__PURE__ */ (0,
|
|
8293
|
-
/* @__PURE__ */ (0,
|
|
8292
|
+
var pdf_viewer_blank_page_default = () => /* @__PURE__ */ (0, import_jsx_runtime138.jsxs)(import_jsx_runtime138.Fragment, { children: [
|
|
8293
|
+
/* @__PURE__ */ (0, import_jsx_runtime138.jsx)("style", { children: styles }),
|
|
8294
|
+
/* @__PURE__ */ (0, import_jsx_runtime138.jsx)("div", { id: "test-area", className: "k-d-grid k-grid-cols-1", children: /* @__PURE__ */ (0, import_jsx_runtime138.jsxs)("div", { className: "k-widget k-pdf-viewer", children: [
|
|
8295
|
+
/* @__PURE__ */ (0, import_jsx_runtime138.jsxs)(Toolbar, { resizable: true, children: [
|
|
8296
|
+
/* @__PURE__ */ (0, import_jsx_runtime138.jsx)(Pager, { type: "input", pageSizes: false, refresh: false, info: false }),
|
|
8297
|
+
/* @__PURE__ */ (0, import_jsx_runtime138.jsx)("span", { className: "k-spacer" }),
|
|
8298
|
+
/* @__PURE__ */ (0, import_jsx_runtime138.jsx)(Button, { fillMode: "flat", icon: "file-pdf" }),
|
|
8299
|
+
/* @__PURE__ */ (0, import_jsx_runtime138.jsx)(Button, { fillMode: "flat", icon: "print" }),
|
|
8300
|
+
/* @__PURE__ */ (0, import_jsx_runtime138.jsx)(Button, { fillMode: "flat", icon: "fullscreen" })
|
|
8294
8301
|
] }),
|
|
8295
|
-
/* @__PURE__ */ (0,
|
|
8296
|
-
/* @__PURE__ */ (0,
|
|
8297
|
-
/* @__PURE__ */ (0,
|
|
8302
|
+
/* @__PURE__ */ (0, import_jsx_runtime138.jsx)("div", { className: "k-canvas k-pdf-viewer-canvas k-pos-relative k-overflow-auto k-enable-text-select", children: /* @__PURE__ */ (0, import_jsx_runtime138.jsx)("div", { className: "k-pdf-viewer-pages", children: /* @__PURE__ */ (0, import_jsx_runtime138.jsxs)("div", { className: "k-page k-blank-page", children: [
|
|
8303
|
+
/* @__PURE__ */ (0, import_jsx_runtime138.jsx)(DropzoneNormal, {}),
|
|
8304
|
+
/* @__PURE__ */ (0, import_jsx_runtime138.jsx)(UploadNormal, { empty: true, status: "upload" })
|
|
8298
8305
|
] }) }) })
|
|
8299
8306
|
] }) })
|
|
8300
8307
|
] });
|
|
@@ -6319,13 +6319,14 @@ var states35 = [
|
|
|
6319
6319
|
];
|
|
6320
6320
|
var defaultProps30 = {
|
|
6321
6321
|
icon: "upload",
|
|
6322
|
-
|
|
6322
|
+
hint: "Drag and drop files here to upload"
|
|
6323
6323
|
};
|
|
6324
6324
|
var Dropzone = (props) => {
|
|
6325
6325
|
const {
|
|
6326
6326
|
hover,
|
|
6327
6327
|
icon = defaultProps30.icon,
|
|
6328
|
-
|
|
6328
|
+
hint = defaultProps30.hint,
|
|
6329
|
+
note,
|
|
6329
6330
|
...other
|
|
6330
6331
|
} = props;
|
|
6331
6332
|
return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
|
|
@@ -6342,45 +6343,51 @@ var Dropzone = (props) => {
|
|
|
6342
6343
|
),
|
|
6343
6344
|
children: /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("div", { className: "k-dropzone-inner", children: [
|
|
6344
6345
|
icon && /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(Icon, { icon, className: "k-dropzone-icon", size: "xxxlarge" }),
|
|
6345
|
-
/* @__PURE__ */ (0, import_jsx_runtime82.jsx)("span", { className: "k-dropzone-hint", children:
|
|
6346
|
-
note && /* @__PURE__ */ (0, import_jsx_runtime82.
|
|
6347
|
-
" ",
|
|
6348
|
-
note,
|
|
6349
|
-
" "
|
|
6350
|
-
] })
|
|
6346
|
+
hint && /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("span", { className: "k-dropzone-hint", children: hint }),
|
|
6347
|
+
note && /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("span", { className: "k-dropzone-note", children: note })
|
|
6351
6348
|
] })
|
|
6352
6349
|
}
|
|
6353
6350
|
);
|
|
6354
6351
|
};
|
|
6352
|
+
Dropzone.states = states35;
|
|
6353
|
+
Dropzone.className = DROPZONE_CLASSNAME;
|
|
6354
|
+
Dropzone.defaultProps = defaultProps30;
|
|
6355
6355
|
|
|
6356
|
-
// src/
|
|
6356
|
+
// src/dropzone/templates/dropzone-normal.tsx
|
|
6357
6357
|
var import_jsx_runtime83 = require("react/jsx-runtime");
|
|
6358
|
+
var DropzoneNormal = (props) => /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(Dropzone, { ...props });
|
|
6359
|
+
|
|
6360
|
+
// src/dropzone/templates/dropzone-with-note.tsx
|
|
6361
|
+
var import_jsx_runtime84 = require("react/jsx-runtime");
|
|
6362
|
+
|
|
6363
|
+
// src/spreadsheet/tests/spreadsheet-file-dialogs.tsx
|
|
6364
|
+
var import_jsx_runtime85 = require("react/jsx-runtime");
|
|
6358
6365
|
var style = `
|
|
6359
6366
|
.k-window {
|
|
6360
6367
|
min-width: 400px;
|
|
6361
6368
|
position: relative;
|
|
6362
6369
|
}
|
|
6363
6370
|
`;
|
|
6364
|
-
var spreadsheet_file_dialogs_default = () => /* @__PURE__ */ (0,
|
|
6365
|
-
/* @__PURE__ */ (0,
|
|
6366
|
-
/* @__PURE__ */ (0,
|
|
6367
|
-
/* @__PURE__ */ (0,
|
|
6368
|
-
/* @__PURE__ */ (0,
|
|
6369
|
-
/* @__PURE__ */ (0,
|
|
6370
|
-
] }), children: /* @__PURE__ */ (0,
|
|
6371
|
-
/* @__PURE__ */ (0,
|
|
6372
|
-
/* @__PURE__ */ (0,
|
|
6373
|
-
/* @__PURE__ */ (0,
|
|
6374
|
-
] }), children: /* @__PURE__ */ (0,
|
|
6375
|
-
/* @__PURE__ */ (0,
|
|
6376
|
-
/* @__PURE__ */ (0,
|
|
6371
|
+
var spreadsheet_file_dialogs_default = () => /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(import_jsx_runtime85.Fragment, { children: [
|
|
6372
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)("style", { children: style }),
|
|
6373
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { id: "test-area", className: "k-d-grid k-grid-cols-2", children: [
|
|
6374
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(WindowNormal, { title: "Create new file", actions: ["x"], className: "k-spreadsheet-window", actionButtonsAlign: "stretched", actionButtons: /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(import_jsx_runtime85.Fragment, { children: [
|
|
6375
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(Button, { themeColor: "primary", children: "Create new file" }),
|
|
6376
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(Button, { children: "Cancel" })
|
|
6377
|
+
] }), children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("p", { children: "Are you sure you want to close this file without saving it and create a new one?" }) }) }),
|
|
6378
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(WindowNormal, { title: "Save", actions: ["x"], className: "k-spreadsheet-window", actionButtonsAlign: "start", actionButtons: /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(import_jsx_runtime85.Fragment, { children: [
|
|
6379
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(Button, { themeColor: "primary", children: "Save" }),
|
|
6380
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(Button, { children: "Cancel" })
|
|
6381
|
+
] }), children: /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(FormNormal, { formButtons: null, children: [
|
|
6382
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(FormField, { label: "File name", editor: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(Textbox, { placeholder: "Workbook" }) }),
|
|
6383
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(FormField, { label: "Save as type", editor: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(DropdownList, { placeholder: "Excel Workbook (.xlsx)" }) })
|
|
6377
6384
|
] }) }) }),
|
|
6378
|
-
/* @__PURE__ */ (0,
|
|
6379
|
-
/* @__PURE__ */ (0,
|
|
6380
|
-
/* @__PURE__ */ (0,
|
|
6385
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(WindowNormal, { title: "Open file", actions: ["x"], className: "k-spreadsheet-window", actionButtonsAlign: "start", actionButtons: /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(import_jsx_runtime85.Fragment, { children: [
|
|
6386
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(Button, { themeColor: "primary", children: "Open" }),
|
|
6387
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(Button, { children: "Cancel" })
|
|
6381
6388
|
] }), children: [
|
|
6382
|
-
/* @__PURE__ */ (0,
|
|
6383
|
-
/* @__PURE__ */ (0,
|
|
6389
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(DropzoneNormal, {}),
|
|
6390
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(UploadNormal, { status: "upload" })
|
|
6384
6391
|
] }) })
|
|
6385
6392
|
] })
|
|
6386
6393
|
] });
|
|
@@ -6393,13 +6393,14 @@ var states36 = [
|
|
|
6393
6393
|
];
|
|
6394
6394
|
var defaultProps31 = {
|
|
6395
6395
|
icon: "upload",
|
|
6396
|
-
|
|
6396
|
+
hint: "Drag and drop files here to upload"
|
|
6397
6397
|
};
|
|
6398
6398
|
var Dropzone = (props) => {
|
|
6399
6399
|
const {
|
|
6400
6400
|
hover,
|
|
6401
6401
|
icon = defaultProps31.icon,
|
|
6402
|
-
|
|
6402
|
+
hint = defaultProps31.hint,
|
|
6403
|
+
note,
|
|
6403
6404
|
...other
|
|
6404
6405
|
} = props;
|
|
6405
6406
|
return /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
|
|
@@ -6416,19 +6417,31 @@ var Dropzone = (props) => {
|
|
|
6416
6417
|
),
|
|
6417
6418
|
children: /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("div", { className: "k-dropzone-inner", children: [
|
|
6418
6419
|
icon && /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(Icon, { icon, className: "k-dropzone-icon", size: "xxxlarge" }),
|
|
6419
|
-
/* @__PURE__ */ (0, import_jsx_runtime84.jsx)("span", { className: "k-dropzone-hint", children:
|
|
6420
|
-
note && /* @__PURE__ */ (0, import_jsx_runtime84.
|
|
6421
|
-
" ",
|
|
6422
|
-
note,
|
|
6423
|
-
" "
|
|
6424
|
-
] })
|
|
6420
|
+
hint && /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("span", { className: "k-dropzone-hint", children: hint }),
|
|
6421
|
+
note && /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("span", { className: "k-dropzone-note", children: note })
|
|
6425
6422
|
] })
|
|
6426
6423
|
}
|
|
6427
6424
|
);
|
|
6428
6425
|
};
|
|
6426
|
+
Dropzone.states = states36;
|
|
6427
|
+
Dropzone.className = DROPZONE_CLASSNAME;
|
|
6428
|
+
Dropzone.defaultProps = defaultProps31;
|
|
6429
6429
|
|
|
6430
|
-
// src/
|
|
6430
|
+
// src/dropzone/templates/dropzone-normal.tsx
|
|
6431
6431
|
var import_jsx_runtime85 = require("react/jsx-runtime");
|
|
6432
|
+
|
|
6433
|
+
// src/dropzone/templates/dropzone-with-note.tsx
|
|
6434
|
+
var import_jsx_runtime86 = require("react/jsx-runtime");
|
|
6435
|
+
var DropzoneWithNote = (props) => /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
|
|
6436
|
+
Dropzone,
|
|
6437
|
+
{
|
|
6438
|
+
note: "Only JPEG, PNG and SVG files are allowed.",
|
|
6439
|
+
...props
|
|
6440
|
+
}
|
|
6441
|
+
);
|
|
6442
|
+
|
|
6443
|
+
// src/listbox/listbox.spec.tsx
|
|
6444
|
+
var import_jsx_runtime87 = require("react/jsx-runtime");
|
|
6432
6445
|
var LISTBOX_CLASSNAME = `k-listbox`;
|
|
6433
6446
|
var states37 = [
|
|
6434
6447
|
States.disabled
|
|
@@ -6450,7 +6463,7 @@ var ListBox = (props) => {
|
|
|
6450
6463
|
dir,
|
|
6451
6464
|
...other
|
|
6452
6465
|
} = props;
|
|
6453
|
-
return /* @__PURE__ */ (0,
|
|
6466
|
+
return /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
|
|
6454
6467
|
"div",
|
|
6455
6468
|
{
|
|
6456
6469
|
...other,
|
|
@@ -6469,7 +6482,7 @@ var ListBox = (props) => {
|
|
|
6469
6482
|
}
|
|
6470
6483
|
),
|
|
6471
6484
|
children: [
|
|
6472
|
-
actions && /* @__PURE__ */ (0,
|
|
6485
|
+
actions && /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: "k-listbox-actions", children: actions.map((action) => {
|
|
6473
6486
|
const actionsIconMap = {
|
|
6474
6487
|
"left": dir !== "rtl" ? "caret-alt-left" : "caret-alt-right",
|
|
6475
6488
|
"right": dir !== "rtl" ? "caret-alt-right" : "caret-alt-left",
|
|
@@ -6479,12 +6492,12 @@ var ListBox = (props) => {
|
|
|
6479
6492
|
"down": "caret-alt-down",
|
|
6480
6493
|
"x": "x"
|
|
6481
6494
|
};
|
|
6482
|
-
return /* @__PURE__ */ (0,
|
|
6495
|
+
return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(Button, { icon: actionsIconMap[action], size });
|
|
6483
6496
|
}) }),
|
|
6484
|
-
/* @__PURE__ */ (0,
|
|
6497
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: classNames(
|
|
6485
6498
|
"k-list-scroller",
|
|
6486
6499
|
"k-selectable"
|
|
6487
|
-
), children: /* @__PURE__ */ (0,
|
|
6500
|
+
), children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(list_spec_default, { size, children }) })
|
|
6488
6501
|
]
|
|
6489
6502
|
}
|
|
6490
6503
|
);
|
|
@@ -6495,59 +6508,59 @@ ListBox.className = LISTBOX_CLASSNAME;
|
|
|
6495
6508
|
ListBox.defaultProps = defaultProps32;
|
|
6496
6509
|
|
|
6497
6510
|
// src/listbox/templates/listbox-normal.tsx
|
|
6498
|
-
var
|
|
6511
|
+
var import_jsx_runtime88 = require("react/jsx-runtime");
|
|
6499
6512
|
|
|
6500
6513
|
// src/spreadsheet/tests/spreadsheet-insert-dialogs.tsx
|
|
6501
|
-
var
|
|
6514
|
+
var import_jsx_runtime89 = require("react/jsx-runtime");
|
|
6502
6515
|
var style = `
|
|
6503
6516
|
.k-window {
|
|
6504
6517
|
min-width: 400px;
|
|
6505
6518
|
position: relative;
|
|
6506
6519
|
}
|
|
6507
6520
|
`;
|
|
6508
|
-
var spreadsheet_insert_dialogs_default = () => /* @__PURE__ */ (0,
|
|
6509
|
-
/* @__PURE__ */ (0,
|
|
6510
|
-
/* @__PURE__ */ (0,
|
|
6511
|
-
/* @__PURE__ */ (0,
|
|
6512
|
-
/* @__PURE__ */ (0,
|
|
6513
|
-
/* @__PURE__ */ (0,
|
|
6514
|
-
/* @__PURE__ */ (0,
|
|
6515
|
-
/* @__PURE__ */ (0,
|
|
6516
|
-
] }), children: /* @__PURE__ */ (0,
|
|
6517
|
-
/* @__PURE__ */ (0,
|
|
6518
|
-
/* @__PURE__ */ (0,
|
|
6519
|
-
/* @__PURE__ */ (0,
|
|
6521
|
+
var spreadsheet_insert_dialogs_default = () => /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(import_jsx_runtime89.Fragment, { children: [
|
|
6522
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)("style", { children: style }),
|
|
6523
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { id: "test-area", className: "k-d-grid k-grid-cols-2", children: [
|
|
6524
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(WindowNormal, { title: "Insert comment", actions: ["x"], className: "k-spreadsheet-window", actionButtonsAlign: "start", actionButtons: /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(import_jsx_runtime89.Fragment, { children: [
|
|
6525
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(Button, { themeColor: "primary", children: "Insert" }),
|
|
6526
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(Button, { children: "Cancel" }),
|
|
6527
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)("span", { className: "k-spacer" }),
|
|
6528
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(Button, { fillMode: "clear", themeColor: "primary", children: "Remove comment" })
|
|
6529
|
+
] }), children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(FormNormal, { formButtons: null, children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(FormField, { label: "Comment", editor: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(Textarea, {}) }) }) }) }),
|
|
6530
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(WindowNormal, { title: "Insert image", actions: ["x"], className: "k-spreadsheet-window", actionButtonsAlign: "start", actionButtons: /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(import_jsx_runtime89.Fragment, { children: [
|
|
6531
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(Button, { themeColor: "primary", children: "Insert" }),
|
|
6532
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(Button, { children: "Cancel" })
|
|
6520
6533
|
] }), children: [
|
|
6521
|
-
/* @__PURE__ */ (0,
|
|
6522
|
-
/* @__PURE__ */ (0,
|
|
6534
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(DropzoneWithNote, {}),
|
|
6535
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(UploadNormal, { status: "upload" })
|
|
6523
6536
|
] }) }),
|
|
6524
|
-
/* @__PURE__ */ (0,
|
|
6525
|
-
/* @__PURE__ */ (0,
|
|
6526
|
-
/* @__PURE__ */ (0,
|
|
6527
|
-
/* @__PURE__ */ (0,
|
|
6528
|
-
/* @__PURE__ */ (0,
|
|
6529
|
-
] }), children: /* @__PURE__ */ (0,
|
|
6530
|
-
/* @__PURE__ */ (0,
|
|
6531
|
-
/* @__PURE__ */ (0,
|
|
6537
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(WindowNormal, { title: "Insert Link", actions: ["x"], className: "k-spreadsheet-window", actionButtonsAlign: "start", actionButtons: /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(import_jsx_runtime89.Fragment, { children: [
|
|
6538
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(Button, { themeColor: "primary", children: "Insert" }),
|
|
6539
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(Button, { children: "Cancel" }),
|
|
6540
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)("span", { className: "k-spacer" }),
|
|
6541
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(Button, { fillMode: "clear", themeColor: "primary", children: "Remove link" })
|
|
6542
|
+
] }), children: /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(FormNormal, { formButtons: null, children: [
|
|
6543
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(FormField, { label: "Select link", editor: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(DropdownList, { value: "URL" }) }),
|
|
6544
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(FormField, { label: "URL address", editor: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(Textbox, { value: "Input value" }) })
|
|
6532
6545
|
] }) }) }),
|
|
6533
|
-
/* @__PURE__ */ (0,
|
|
6534
|
-
/* @__PURE__ */ (0,
|
|
6535
|
-
/* @__PURE__ */ (0,
|
|
6536
|
-
/* @__PURE__ */ (0,
|
|
6537
|
-
/* @__PURE__ */ (0,
|
|
6538
|
-
] }), children: /* @__PURE__ */ (0,
|
|
6539
|
-
/* @__PURE__ */ (0,
|
|
6540
|
-
/* @__PURE__ */ (0,
|
|
6541
|
-
/* @__PURE__ */ (0,
|
|
6542
|
-
/* @__PURE__ */ (0,
|
|
6543
|
-
/* @__PURE__ */ (0,
|
|
6544
|
-
/* @__PURE__ */ (0,
|
|
6545
|
-
/* @__PURE__ */ (0,
|
|
6546
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(WindowNormal, { title: "Insert Link", actions: ["x"], className: "k-spreadsheet-window", actionButtonsAlign: "start", actionButtons: /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(import_jsx_runtime89.Fragment, { children: [
|
|
6547
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(Button, { themeColor: "primary", children: "Insert" }),
|
|
6548
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(Button, { children: "Cancel" }),
|
|
6549
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)("span", { className: "k-spacer" }),
|
|
6550
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(Button, { fillMode: "clear", themeColor: "primary", children: "Remove link" })
|
|
6551
|
+
] }), children: /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(FormNormal, { formButtons: null, children: [
|
|
6552
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(FormField, { label: "Select link", editor: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(DropdownList, { value: "Internal" }) }),
|
|
6553
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(FormField, { label: "Cell reference", editor: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(Textbox, { value: "B3:B11" }) }),
|
|
6554
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(FormField, { label: "From sheet", editor: /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(ListBox, { style: { width: "100%" }, children: [
|
|
6555
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(ListItem, { children: "Sheet 1" }),
|
|
6556
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(ListItem, { children: "Sheet 2" }),
|
|
6557
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(ListItem, { children: "Sheet 3" }),
|
|
6558
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(ListItem, { children: "Sheet 4" })
|
|
6546
6559
|
] }) })
|
|
6547
6560
|
] }) }) }),
|
|
6548
|
-
/* @__PURE__ */ (0,
|
|
6549
|
-
/* @__PURE__ */ (0,
|
|
6550
|
-
/* @__PURE__ */ (0,
|
|
6551
|
-
] }), children: /* @__PURE__ */ (0,
|
|
6561
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(WindowNormal, { title: "Insert Chart", actions: ["x"], className: "k-spreadsheet-window", actionButtonsAlign: "start", actionButtons: /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(import_jsx_runtime89.Fragment, { children: [
|
|
6562
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(Button, { themeColor: "primary", children: "Insert" }),
|
|
6563
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)(Button, { children: "Cancel" })
|
|
6564
|
+
] }), children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(FormNormal, { formButtons: null, children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(FormField, { label: "Select chart type", editor: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(DropdownList, { value: "Donut" }) }) }) }) })
|
|
6552
6565
|
] })
|
|
6553
6566
|
] });
|
|
@@ -4303,13 +4303,14 @@ var states4 = [
|
|
|
4303
4303
|
];
|
|
4304
4304
|
var defaultProps4 = {
|
|
4305
4305
|
icon: "upload",
|
|
4306
|
-
|
|
4306
|
+
hint: "Drag and drop files here to upload"
|
|
4307
4307
|
};
|
|
4308
4308
|
var Dropzone = (props) => {
|
|
4309
4309
|
const {
|
|
4310
4310
|
hover,
|
|
4311
4311
|
icon = defaultProps4.icon,
|
|
4312
|
-
|
|
4312
|
+
hint = defaultProps4.hint,
|
|
4313
|
+
note,
|
|
4313
4314
|
...other
|
|
4314
4315
|
} = props;
|
|
4315
4316
|
return /* @__PURE__ */ jsx4(
|
|
@@ -4326,17 +4327,18 @@ var Dropzone = (props) => {
|
|
|
4326
4327
|
),
|
|
4327
4328
|
children: /* @__PURE__ */ jsxs("div", { className: "k-dropzone-inner", children: [
|
|
4328
4329
|
icon && /* @__PURE__ */ jsx4(Icon, { icon, className: "k-dropzone-icon", size: "xxxlarge" }),
|
|
4329
|
-
/* @__PURE__ */ jsx4("span", { className: "k-dropzone-hint", children:
|
|
4330
|
-
note && /* @__PURE__ */
|
|
4331
|
-
" ",
|
|
4332
|
-
note,
|
|
4333
|
-
" "
|
|
4334
|
-
] })
|
|
4330
|
+
hint && /* @__PURE__ */ jsx4("span", { className: "k-dropzone-hint", children: hint }),
|
|
4331
|
+
note && /* @__PURE__ */ jsx4("span", { className: "k-dropzone-note", children: note })
|
|
4335
4332
|
] })
|
|
4336
4333
|
}
|
|
4337
4334
|
);
|
|
4338
4335
|
};
|
|
4336
|
+
Dropzone.states = states4;
|
|
4337
|
+
Dropzone.className = DROPZONE_CLASSNAME;
|
|
4338
|
+
Dropzone.defaultProps = defaultProps4;
|
|
4339
|
+
var dropzone_spec_default = Dropzone;
|
|
4339
4340
|
export {
|
|
4340
4341
|
DROPZONE_CLASSNAME,
|
|
4341
|
-
Dropzone
|
|
4342
|
+
Dropzone,
|
|
4343
|
+
dropzone_spec_default as default
|
|
4342
4344
|
};
|