@progress/kendo-themes-html 5.8.2-dev.6 → 5.9.1-dev.0
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/action-sheet/tests/action-sheet-data-table.js +945 -0
- package/dist/action-sheet/tests/action-sheet-data-table.js.map +7 -0
- package/dist/action-sheet/tests/action-sheet-date-time-selector.js +112 -80
- package/dist/action-sheet/tests/action-sheet-date-time-selector.js.map +4 -4
- package/dist/action-sheet/tests/action-sheet-time-selector.js +121 -81
- package/dist/action-sheet/tests/action-sheet-time-selector.js.map +4 -4
- package/dist/calendar/tests/calendar-classic-jquery.js +5 -5
- package/dist/calendar/tests/calendar-classic-jquery.js.map +1 -1
- package/dist/calendar/tests/calendar-infinite-rtl.js +7 -7
- package/dist/calendar/tests/calendar-infinite-rtl.js.map +2 -2
- package/dist/calendar/tests/calendar-infinite.js +7 -7
- package/dist/calendar/tests/calendar-infinite.js.map +1 -1
- package/dist/calendar/tests/calendar-modern-size.js +895 -0
- package/dist/calendar/tests/calendar-modern-size.js.map +7 -0
- package/dist/coloreditor/tests/coloreditor-focused-colorgradient.js +684 -0
- package/dist/coloreditor/tests/coloreditor-focused-colorgradient.js.map +7 -0
- package/dist/datetime-selector/tests/datetime-selector.js +142 -138
- package/dist/datetime-selector/tests/datetime-selector.js.map +4 -4
- package/dist/form/tests/form-field-dateinputs-angular.js.map +2 -2
- package/dist/form/tests/form-field-dateinputs-react.js.map +2 -2
- package/dist/grid/tests/grid-editing-custom-editor.js.map +2 -2
- package/dist/grid/tests/grid-filter-row.js.map +2 -2
- package/dist/icon/tests/icons.js +1 -0
- package/dist/icon/tests/icons.js.map +2 -2
- package/dist/index.js +218 -172
- package/dist/index.js.map +4 -4
- package/dist/scheduler/tests/scheduler-edit-dialog.js.map +2 -2
- package/dist/time-selector/tests/time-selector.js +200 -397
- package/dist/time-selector/tests/time-selector.js.map +4 -4
- package/dist/time-selector/time-selector-column.js +108 -0
- package/dist/time-selector/time-selector-column.js.map +7 -0
- package/dist/time-selector/time-selector-fast-selection.js +255 -0
- package/dist/time-selector/time-selector-fast-selection.js.map +7 -0
- package/dist/time-selector/time-selector-header.js +65 -0
- package/dist/time-selector/time-selector-header.js.map +7 -0
- package/dist/time-selector/time-selector.js +138 -99
- package/dist/time-selector/time-selector.js.map +4 -4
- package/dist/timedurationpicker/tests/timedurationpicker-expanded.js +718 -0
- package/dist/timedurationpicker/tests/timedurationpicker-expanded.js.map +7 -0
- package/dist/timedurationpicker/tests/timedurationpicker.js +576 -0
- package/dist/timedurationpicker/tests/timedurationpicker.js.map +7 -0
- package/dist/timedurationpicker/timedurationpicker.js +494 -0
- package/dist/timedurationpicker/timedurationpicker.js.map +7 -0
- package/dist/timepicker/tests/timepicker-adaptive.js +128 -83
- package/dist/timepicker/tests/timepicker-adaptive.js.map +4 -4
- package/dist/timepicker/tests/timepicker-flat.js.map +2 -2
- package/dist/timepicker/tests/timepicker-outline.js.map +2 -2
- package/dist/timepicker/tests/timepicker.js.map +2 -2
- package/dist/timepicker/timepicker.js.map +2 -2
- package/package.json +2 -2
- package/src/action-sheet/tests/action-sheet-data-table.tsx +203 -0
- package/src/action-sheet/tests/action-sheet-date-time-selector.tsx +7 -3
- package/src/action-sheet/tests/action-sheet-time-selector.tsx +12 -3
- package/src/calendar/tests/calendar-classic-jquery.tsx +5 -5
- package/src/calendar/tests/calendar-infinite-rtl.tsx +7 -7
- package/src/calendar/tests/calendar-infinite.tsx +7 -7
- package/src/calendar/tests/calendar-modern-size.tsx +39 -0
- package/src/coloreditor/tests/coloreditor-focused-colorgradient.tsx +107 -0
- package/src/datetime-selector/tests/datetime-selector.tsx +6 -150
- package/src/icon/tests/icons.tsx +1 -0
- package/src/index.ts +1 -0
- package/src/time-selector/index.ts +3 -0
- package/src/time-selector/tests/time-selector.tsx +30 -407
- package/src/time-selector/time-selector-column.tsx +82 -0
- package/src/time-selector/time-selector-fast-selection.tsx +36 -0
- package/src/time-selector/time-selector-header.tsx +40 -0
- package/src/time-selector/time-selector.tsx +41 -63
- package/src/timedurationpicker/index.ts +1 -0
- package/src/timedurationpicker/tests/timedurationpicker-expanded.tsx +59 -0
- package/src/timedurationpicker/tests/timedurationpicker.tsx +81 -0
- package/src/timedurationpicker/timedurationpicker.tsx +83 -0
- package/src/timepicker/tests/timepicker-adaptive.tsx +19 -10
- package/src/timepicker/timepicker.tsx +0 -1
package/dist/index.js
CHANGED
|
@@ -109,8 +109,8 @@
|
|
|
109
109
|
"type"
|
|
110
110
|
]);
|
|
111
111
|
const typeClass = type === "p" ? "paragraph" : type;
|
|
112
|
-
const
|
|
113
|
-
return /* @__PURE__ */ React.createElement(
|
|
112
|
+
const Component81 = type.includes("display") ? "div" : type;
|
|
113
|
+
return /* @__PURE__ */ React.createElement(Component81, __spreadProps(__spreadValues({}, htmlAttributes), {
|
|
114
114
|
className: classNames(
|
|
115
115
|
{
|
|
116
116
|
[`k-${typeClass}`]: type
|
|
@@ -1977,9 +1977,9 @@
|
|
|
1977
1977
|
}
|
|
1978
1978
|
};
|
|
1979
1979
|
|
|
1980
|
-
// src/
|
|
1980
|
+
// src/timedurationpicker/timedurationpicker.tsx
|
|
1981
1981
|
var React50 = __toESM(__require("react"));
|
|
1982
|
-
var
|
|
1982
|
+
var TimeDurationPicker = class extends React50.Component {
|
|
1983
1983
|
render() {
|
|
1984
1984
|
const {
|
|
1985
1985
|
className,
|
|
@@ -2009,11 +2009,57 @@
|
|
|
2009
2009
|
required,
|
|
2010
2010
|
loading,
|
|
2011
2011
|
disabled,
|
|
2012
|
-
className: classNames(className, "k-
|
|
2012
|
+
className: classNames(className, "k-timedurationpicker")
|
|
2013
2013
|
}, /* @__PURE__ */ React50.createElement(InputPrefix, null, prefix), /* @__PURE__ */ React50.createElement(InputInnerInput, {
|
|
2014
2014
|
placeholder,
|
|
2015
2015
|
value
|
|
2016
2016
|
}), /* @__PURE__ */ React50.createElement(InputSuffix, null, suffix), /* @__PURE__ */ React50.createElement(InputValidationIcon, __spreadValues({}, this.props)), /* @__PURE__ */ React50.createElement(InputLoadingIcon, __spreadValues({}, this.props)), /* @__PURE__ */ React50.createElement(InputClearValue, __spreadValues({}, this.props)), /* @__PURE__ */ React50.createElement(Button, {
|
|
2017
|
+
className: "k-input-button",
|
|
2018
|
+
icon: "clock-arrow-rotate",
|
|
2019
|
+
rounded: null,
|
|
2020
|
+
size,
|
|
2021
|
+
fillMode
|
|
2022
|
+
}));
|
|
2023
|
+
}
|
|
2024
|
+
};
|
|
2025
|
+
|
|
2026
|
+
// src/dropdowngrid/dropdowngrid.tsx
|
|
2027
|
+
var React51 = __toESM(__require("react"));
|
|
2028
|
+
var DropdownGrid = class extends React51.Component {
|
|
2029
|
+
render() {
|
|
2030
|
+
const {
|
|
2031
|
+
className,
|
|
2032
|
+
prefix,
|
|
2033
|
+
suffix,
|
|
2034
|
+
value,
|
|
2035
|
+
placeholder,
|
|
2036
|
+
size,
|
|
2037
|
+
rounded,
|
|
2038
|
+
fillMode,
|
|
2039
|
+
hover,
|
|
2040
|
+
focus,
|
|
2041
|
+
valid,
|
|
2042
|
+
invalid,
|
|
2043
|
+
required,
|
|
2044
|
+
loading,
|
|
2045
|
+
disabled
|
|
2046
|
+
} = this.props;
|
|
2047
|
+
return /* @__PURE__ */ React51.createElement(Input, {
|
|
2048
|
+
size,
|
|
2049
|
+
rounded,
|
|
2050
|
+
fillMode,
|
|
2051
|
+
hover,
|
|
2052
|
+
focus,
|
|
2053
|
+
valid,
|
|
2054
|
+
invalid,
|
|
2055
|
+
required,
|
|
2056
|
+
loading,
|
|
2057
|
+
disabled,
|
|
2058
|
+
className: classNames(className, "k-dropdowngrid")
|
|
2059
|
+
}, /* @__PURE__ */ React51.createElement(InputPrefix, null, prefix), /* @__PURE__ */ React51.createElement(InputInnerInput, {
|
|
2060
|
+
placeholder,
|
|
2061
|
+
value
|
|
2062
|
+
}), /* @__PURE__ */ React51.createElement(InputSuffix, null, suffix), /* @__PURE__ */ React51.createElement(InputValidationIcon, __spreadValues({}, this.props)), /* @__PURE__ */ React51.createElement(InputLoadingIcon, __spreadValues({}, this.props)), /* @__PURE__ */ React51.createElement(InputClearValue, __spreadValues({}, this.props)), /* @__PURE__ */ React51.createElement(Button, {
|
|
2017
2063
|
className: "k-input-button",
|
|
2018
2064
|
icon: "arrow-s",
|
|
2019
2065
|
rounded: null,
|
|
@@ -2024,8 +2070,8 @@
|
|
|
2024
2070
|
};
|
|
2025
2071
|
|
|
2026
2072
|
// src/dropdownlist/dropdownlist.tsx
|
|
2027
|
-
var
|
|
2028
|
-
var DropdownList = class extends
|
|
2073
|
+
var React52 = __toESM(__require("react"));
|
|
2074
|
+
var DropdownList = class extends React52.Component {
|
|
2029
2075
|
render() {
|
|
2030
2076
|
const {
|
|
2031
2077
|
className,
|
|
@@ -2048,7 +2094,7 @@
|
|
|
2048
2094
|
disabled,
|
|
2049
2095
|
showValue
|
|
2050
2096
|
} = this.props;
|
|
2051
|
-
return /* @__PURE__ */
|
|
2097
|
+
return /* @__PURE__ */ React52.createElement(Picker, {
|
|
2052
2098
|
style,
|
|
2053
2099
|
size,
|
|
2054
2100
|
rounded,
|
|
@@ -2067,12 +2113,12 @@
|
|
|
2067
2113
|
"k-icon-picker": !showValue && valueIconName
|
|
2068
2114
|
}
|
|
2069
2115
|
)
|
|
2070
|
-
}, /* @__PURE__ */
|
|
2116
|
+
}, /* @__PURE__ */ React52.createElement(InputPrefix, null, prefix), /* @__PURE__ */ React52.createElement(InputInnerSpan, {
|
|
2071
2117
|
placeholder,
|
|
2072
2118
|
value,
|
|
2073
2119
|
showValue,
|
|
2074
2120
|
valueIconName
|
|
2075
|
-
}), /* @__PURE__ */
|
|
2121
|
+
}), /* @__PURE__ */ React52.createElement(InputSuffix, null, suffix), /* @__PURE__ */ React52.createElement(InputValidationIcon, __spreadValues({}, this.props)), /* @__PURE__ */ React52.createElement(InputLoadingIcon, __spreadValues({}, this.props)), /* @__PURE__ */ React52.createElement(Button, {
|
|
2076
2122
|
className: "k-input-button",
|
|
2077
2123
|
icon: arrowIconName,
|
|
2078
2124
|
rounded: null,
|
|
@@ -2087,8 +2133,8 @@
|
|
|
2087
2133
|
};
|
|
2088
2134
|
|
|
2089
2135
|
// src/maskedtextbox/maskedtextbox.tsx
|
|
2090
|
-
var
|
|
2091
|
-
var MaskedTextbox = class extends
|
|
2136
|
+
var React53 = __toESM(__require("react"));
|
|
2137
|
+
var MaskedTextbox = class extends React53.Component {
|
|
2092
2138
|
render() {
|
|
2093
2139
|
const {
|
|
2094
2140
|
className,
|
|
@@ -2105,7 +2151,7 @@
|
|
|
2105
2151
|
loading,
|
|
2106
2152
|
disabled
|
|
2107
2153
|
} = this.props;
|
|
2108
|
-
return /* @__PURE__ */
|
|
2154
|
+
return /* @__PURE__ */ React53.createElement(Input, {
|
|
2109
2155
|
size,
|
|
2110
2156
|
rounded,
|
|
2111
2157
|
fillMode,
|
|
@@ -2117,16 +2163,16 @@
|
|
|
2117
2163
|
loading,
|
|
2118
2164
|
disabled,
|
|
2119
2165
|
className: classNames(className, "k-maskedtextbox")
|
|
2120
|
-
}, /* @__PURE__ */
|
|
2166
|
+
}, /* @__PURE__ */ React53.createElement(InputInnerInput, {
|
|
2121
2167
|
placeholder,
|
|
2122
2168
|
value
|
|
2123
|
-
}), /* @__PURE__ */
|
|
2169
|
+
}), /* @__PURE__ */ React53.createElement(InputValidationIcon, __spreadValues({}, this.props)), /* @__PURE__ */ React53.createElement(InputLoadingIcon, __spreadValues({}, this.props)), /* @__PURE__ */ React53.createElement(InputClearValue, __spreadValues({}, this.props)));
|
|
2124
2170
|
}
|
|
2125
2171
|
};
|
|
2126
2172
|
|
|
2127
2173
|
// src/multiselect/multiselect.tsx
|
|
2128
|
-
var
|
|
2129
|
-
var MultiSelect = class extends
|
|
2174
|
+
var React54 = __toESM(__require("react"));
|
|
2175
|
+
var MultiSelect = class extends React54.Component {
|
|
2130
2176
|
render() {
|
|
2131
2177
|
const {
|
|
2132
2178
|
className,
|
|
@@ -2147,7 +2193,7 @@
|
|
|
2147
2193
|
loading,
|
|
2148
2194
|
disabled
|
|
2149
2195
|
} = this.props;
|
|
2150
|
-
return /* @__PURE__ */
|
|
2196
|
+
return /* @__PURE__ */ React54.createElement(Input, {
|
|
2151
2197
|
size,
|
|
2152
2198
|
rounded,
|
|
2153
2199
|
fillMode,
|
|
@@ -2159,15 +2205,15 @@
|
|
|
2159
2205
|
loading,
|
|
2160
2206
|
disabled,
|
|
2161
2207
|
className: classNames(className, "k-multiselect")
|
|
2162
|
-
}, /* @__PURE__ */
|
|
2208
|
+
}, /* @__PURE__ */ React54.createElement(InputPrefix, null, prefix), /* @__PURE__ */ React54.createElement(ChipList, {
|
|
2163
2209
|
className: "k-input-values",
|
|
2164
2210
|
size
|
|
2165
|
-
}, /* @__PURE__ */
|
|
2211
|
+
}, /* @__PURE__ */ React54.createElement(React54.Fragment, null, tags), /* @__PURE__ */ React54.createElement(InputInnerInput, {
|
|
2166
2212
|
placeholder,
|
|
2167
2213
|
value
|
|
2168
|
-
})), /* @__PURE__ */
|
|
2214
|
+
})), /* @__PURE__ */ React54.createElement(InputSuffix, null, suffix), /* @__PURE__ */ React54.createElement(InputValidationIcon, __spreadValues({}, this.props)), /* @__PURE__ */ React54.createElement(InputLoadingIcon, __spreadValues({}, this.props)), /* @__PURE__ */ React54.createElement(InputClearValue, __spreadValues({
|
|
2169
2215
|
value: tags ? "value" : ""
|
|
2170
|
-
}, this.props)), showArrowButton && /* @__PURE__ */
|
|
2216
|
+
}, this.props)), showArrowButton && /* @__PURE__ */ React54.createElement(Button, {
|
|
2171
2217
|
className: "k-input-button",
|
|
2172
2218
|
icon: "arrow-s",
|
|
2173
2219
|
rounded: null,
|
|
@@ -2178,8 +2224,8 @@
|
|
|
2178
2224
|
};
|
|
2179
2225
|
|
|
2180
2226
|
// src/numerictextbox/numerictextbox.tsx
|
|
2181
|
-
var
|
|
2182
|
-
var NumericTextbox = class extends
|
|
2227
|
+
var React55 = __toESM(__require("react"));
|
|
2228
|
+
var NumericTextbox = class extends React55.Component {
|
|
2183
2229
|
render() {
|
|
2184
2230
|
const {
|
|
2185
2231
|
className,
|
|
@@ -2198,7 +2244,7 @@
|
|
|
2198
2244
|
showSpinButton,
|
|
2199
2245
|
showClearButton
|
|
2200
2246
|
} = this.props;
|
|
2201
|
-
return /* @__PURE__ */
|
|
2247
|
+
return /* @__PURE__ */ React55.createElement(Input, {
|
|
2202
2248
|
size,
|
|
2203
2249
|
rounded,
|
|
2204
2250
|
fillMode,
|
|
@@ -2210,10 +2256,10 @@
|
|
|
2210
2256
|
loading,
|
|
2211
2257
|
disabled,
|
|
2212
2258
|
className: classNames(className, "k-numerictextbox")
|
|
2213
|
-
}, /* @__PURE__ */
|
|
2259
|
+
}, /* @__PURE__ */ React55.createElement(InputInnerInput, {
|
|
2214
2260
|
placeholder,
|
|
2215
2261
|
value
|
|
2216
|
-
}), /* @__PURE__ */
|
|
2262
|
+
}), /* @__PURE__ */ React55.createElement(InputValidationIcon, __spreadValues({}, this.props)), /* @__PURE__ */ React55.createElement(InputLoadingIcon, __spreadValues({}, this.props)), showClearButton && /* @__PURE__ */ React55.createElement(InputClearValue, __spreadValues({}, this.props)), showSpinButton && /* @__PURE__ */ React55.createElement(SpinButton, {
|
|
2217
2263
|
className: "k-input-spinner",
|
|
2218
2264
|
size,
|
|
2219
2265
|
fillMode
|
|
@@ -2226,8 +2272,8 @@
|
|
|
2226
2272
|
};
|
|
2227
2273
|
|
|
2228
2274
|
// src/searchbox/searchbox.tsx
|
|
2229
|
-
var
|
|
2230
|
-
var Searchbox = class extends
|
|
2275
|
+
var React56 = __toESM(__require("react"));
|
|
2276
|
+
var Searchbox = class extends React56.Component {
|
|
2231
2277
|
render() {
|
|
2232
2278
|
const {
|
|
2233
2279
|
className,
|
|
@@ -2246,7 +2292,7 @@
|
|
|
2246
2292
|
showIcon = true,
|
|
2247
2293
|
icon = "search"
|
|
2248
2294
|
} = this.props;
|
|
2249
|
-
return /* @__PURE__ */
|
|
2295
|
+
return /* @__PURE__ */ React56.createElement(Input, {
|
|
2250
2296
|
size,
|
|
2251
2297
|
rounded,
|
|
2252
2298
|
fillMode,
|
|
@@ -2258,19 +2304,19 @@
|
|
|
2258
2304
|
loading,
|
|
2259
2305
|
disabled,
|
|
2260
2306
|
className: classNames(className, "k-searchbox")
|
|
2261
|
-
}, showIcon && /* @__PURE__ */
|
|
2307
|
+
}, showIcon && /* @__PURE__ */ React56.createElement(Icon, {
|
|
2262
2308
|
className: "k-input-icon",
|
|
2263
2309
|
name: icon
|
|
2264
|
-
}), /* @__PURE__ */
|
|
2310
|
+
}), /* @__PURE__ */ React56.createElement(InputInnerInput, {
|
|
2265
2311
|
placeholder,
|
|
2266
2312
|
value
|
|
2267
|
-
}), /* @__PURE__ */
|
|
2313
|
+
}), /* @__PURE__ */ React56.createElement(InputValidationIcon, __spreadValues({}, this.props)), /* @__PURE__ */ React56.createElement(InputLoadingIcon, __spreadValues({}, this.props)), /* @__PURE__ */ React56.createElement(InputClearValue, __spreadValues({}, this.props)));
|
|
2268
2314
|
}
|
|
2269
2315
|
};
|
|
2270
2316
|
|
|
2271
2317
|
// src/switch/switch.tsx
|
|
2272
|
-
var
|
|
2273
|
-
var Switch = class extends
|
|
2318
|
+
var React57 = __toESM(__require("react"));
|
|
2319
|
+
var Switch = class extends React57.Component {
|
|
2274
2320
|
render() {
|
|
2275
2321
|
const {
|
|
2276
2322
|
className,
|
|
@@ -2284,7 +2330,7 @@
|
|
|
2284
2330
|
focus,
|
|
2285
2331
|
disabled
|
|
2286
2332
|
} = this.props;
|
|
2287
|
-
return /* @__PURE__ */
|
|
2333
|
+
return /* @__PURE__ */ React57.createElement("span", {
|
|
2288
2334
|
className: classNames(
|
|
2289
2335
|
className,
|
|
2290
2336
|
"k-switch",
|
|
@@ -2297,20 +2343,20 @@
|
|
|
2297
2343
|
"k-switch-off": !checked
|
|
2298
2344
|
}
|
|
2299
2345
|
)
|
|
2300
|
-
}, /* @__PURE__ */
|
|
2346
|
+
}, /* @__PURE__ */ React57.createElement("span", {
|
|
2301
2347
|
className: classNames(
|
|
2302
2348
|
"k-switch-track",
|
|
2303
2349
|
{
|
|
2304
2350
|
[`k-rounded-${kendoThemeMaps.roundedMap[trackRounded] || trackRounded}`]: trackRounded
|
|
2305
2351
|
}
|
|
2306
2352
|
)
|
|
2307
|
-
}, onLabel && /* @__PURE__ */
|
|
2353
|
+
}, onLabel && /* @__PURE__ */ React57.createElement("span", {
|
|
2308
2354
|
className: "k-switch-label-on"
|
|
2309
|
-
}, onLabel), offLabel && /* @__PURE__ */
|
|
2355
|
+
}, onLabel), offLabel && /* @__PURE__ */ React57.createElement("span", {
|
|
2310
2356
|
className: "k-switch-label-off"
|
|
2311
|
-
}, offLabel)), /* @__PURE__ */
|
|
2357
|
+
}, offLabel)), /* @__PURE__ */ React57.createElement("span", {
|
|
2312
2358
|
className: "k-switch-thumb-wrap"
|
|
2313
|
-
}, /* @__PURE__ */
|
|
2359
|
+
}, /* @__PURE__ */ React57.createElement("span", {
|
|
2314
2360
|
className: classNames(
|
|
2315
2361
|
"k-switch-thumb",
|
|
2316
2362
|
{
|
|
@@ -2327,8 +2373,8 @@
|
|
|
2327
2373
|
};
|
|
2328
2374
|
|
|
2329
2375
|
// src/fab/fab.tsx
|
|
2330
|
-
var
|
|
2331
|
-
var FloatingActionButton = class extends
|
|
2376
|
+
var React58 = __toESM(__require("react"));
|
|
2377
|
+
var FloatingActionButton = class extends React58.Component {
|
|
2332
2378
|
render() {
|
|
2333
2379
|
const _a = this.props, {
|
|
2334
2380
|
className,
|
|
@@ -2365,7 +2411,7 @@
|
|
|
2365
2411
|
"selected",
|
|
2366
2412
|
"disabled"
|
|
2367
2413
|
]);
|
|
2368
|
-
return /* @__PURE__ */
|
|
2414
|
+
return /* @__PURE__ */ React58.createElement("button", __spreadProps(__spreadValues({}, htmlAttributes), {
|
|
2369
2415
|
type,
|
|
2370
2416
|
className: classNames(
|
|
2371
2417
|
className,
|
|
@@ -2385,10 +2431,10 @@
|
|
|
2385
2431
|
}
|
|
2386
2432
|
),
|
|
2387
2433
|
style
|
|
2388
|
-
}), icon && /* @__PURE__ */
|
|
2434
|
+
}), icon && /* @__PURE__ */ React58.createElement(Icon, {
|
|
2389
2435
|
className: "k-fab-icon",
|
|
2390
2436
|
name: icon
|
|
2391
|
-
}), text && /* @__PURE__ */
|
|
2437
|
+
}), text && /* @__PURE__ */ React58.createElement("span", {
|
|
2392
2438
|
className: "k-fab-text"
|
|
2393
2439
|
}, text));
|
|
2394
2440
|
}
|
|
@@ -2403,8 +2449,8 @@
|
|
|
2403
2449
|
};
|
|
2404
2450
|
|
|
2405
2451
|
// src/menu/menu-item.tsx
|
|
2406
|
-
var
|
|
2407
|
-
var MenuItem = class extends
|
|
2452
|
+
var React59 = __toESM(__require("react"));
|
|
2453
|
+
var MenuItem = class extends React59.Component {
|
|
2408
2454
|
render() {
|
|
2409
2455
|
const {
|
|
2410
2456
|
className,
|
|
@@ -2420,7 +2466,7 @@
|
|
|
2420
2466
|
disabled,
|
|
2421
2467
|
dir
|
|
2422
2468
|
} = this.props;
|
|
2423
|
-
const contentTemplate = /* @__PURE__ */
|
|
2469
|
+
const contentTemplate = /* @__PURE__ */ React59.createElement(React59.Fragment, null);
|
|
2424
2470
|
if (children) {
|
|
2425
2471
|
children.forEach((child) => {
|
|
2426
2472
|
const component = child.type;
|
|
@@ -2434,7 +2480,7 @@
|
|
|
2434
2480
|
if (!expandArrowName) {
|
|
2435
2481
|
expandArrowName = dir === "rtl" ? "arrow-w" : "arrow-e";
|
|
2436
2482
|
}
|
|
2437
|
-
return /* @__PURE__ */
|
|
2483
|
+
return /* @__PURE__ */ React59.createElement("li", {
|
|
2438
2484
|
className: classNames(
|
|
2439
2485
|
className,
|
|
2440
2486
|
"k-item k-menu-item",
|
|
@@ -2443,7 +2489,7 @@
|
|
|
2443
2489
|
"k-focus": focus
|
|
2444
2490
|
}
|
|
2445
2491
|
)
|
|
2446
|
-
}, /* @__PURE__ */
|
|
2492
|
+
}, /* @__PURE__ */ React59.createElement("span", {
|
|
2447
2493
|
className: classNames(
|
|
2448
2494
|
className,
|
|
2449
2495
|
"k-link k-menu-link",
|
|
@@ -2454,14 +2500,14 @@
|
|
|
2454
2500
|
"k-disabled": disabled
|
|
2455
2501
|
}
|
|
2456
2502
|
)
|
|
2457
|
-
}, icon && /* @__PURE__ */
|
|
2503
|
+
}, icon && /* @__PURE__ */ React59.createElement(Icon, {
|
|
2458
2504
|
className: "k-menu-link-icon",
|
|
2459
2505
|
name: icon
|
|
2460
|
-
}), /* @__PURE__ */
|
|
2506
|
+
}), /* @__PURE__ */ React59.createElement("span", {
|
|
2461
2507
|
className: "k-menu-link-text"
|
|
2462
|
-
}, text), showArrow && /* @__PURE__ */
|
|
2508
|
+
}, text), showArrow && /* @__PURE__ */ React59.createElement("span", {
|
|
2463
2509
|
className: "k-menu-expand-arrow"
|
|
2464
|
-
}, /* @__PURE__ */
|
|
2510
|
+
}, /* @__PURE__ */ React59.createElement(Icon, {
|
|
2465
2511
|
name: expandArrowName
|
|
2466
2512
|
}))), contentTemplate);
|
|
2467
2513
|
}
|
|
@@ -2472,17 +2518,17 @@
|
|
|
2472
2518
|
};
|
|
2473
2519
|
|
|
2474
2520
|
// src/menu/menu-item-content.tsx
|
|
2475
|
-
var
|
|
2476
|
-
var MenuItemContent = class extends
|
|
2521
|
+
var React60 = __toESM(__require("react"));
|
|
2522
|
+
var MenuItemContent = class extends React60.Component {
|
|
2477
2523
|
render() {
|
|
2478
2524
|
const {
|
|
2479
2525
|
className,
|
|
2480
2526
|
children
|
|
2481
2527
|
} = this.props;
|
|
2482
2528
|
if (!children) {
|
|
2483
|
-
return /* @__PURE__ */
|
|
2529
|
+
return /* @__PURE__ */ React60.createElement(React60.Fragment, null);
|
|
2484
2530
|
}
|
|
2485
|
-
return /* @__PURE__ */
|
|
2531
|
+
return /* @__PURE__ */ React60.createElement("span", {
|
|
2486
2532
|
className: classNames(
|
|
2487
2533
|
className,
|
|
2488
2534
|
"k-menu-item-content"
|
|
@@ -2492,8 +2538,8 @@
|
|
|
2492
2538
|
};
|
|
2493
2539
|
|
|
2494
2540
|
// src/menu/menu-list.tsx
|
|
2495
|
-
var
|
|
2496
|
-
var MenuList = class extends
|
|
2541
|
+
var React61 = __toESM(__require("react"));
|
|
2542
|
+
var MenuList = class extends React61.Component {
|
|
2497
2543
|
render() {
|
|
2498
2544
|
const {
|
|
2499
2545
|
className,
|
|
@@ -2501,9 +2547,9 @@
|
|
|
2501
2547
|
size
|
|
2502
2548
|
} = this.props;
|
|
2503
2549
|
if (!children) {
|
|
2504
|
-
return /* @__PURE__ */
|
|
2550
|
+
return /* @__PURE__ */ React61.createElement(React61.Fragment, null);
|
|
2505
2551
|
}
|
|
2506
|
-
return /* @__PURE__ */
|
|
2552
|
+
return /* @__PURE__ */ React61.createElement("ul", {
|
|
2507
2553
|
className: classNames(
|
|
2508
2554
|
className,
|
|
2509
2555
|
"k-menu-group",
|
|
@@ -2519,8 +2565,8 @@
|
|
|
2519
2565
|
};
|
|
2520
2566
|
|
|
2521
2567
|
// src/action-sheet/action-sheet.tsx
|
|
2522
|
-
var
|
|
2523
|
-
var ActionSheet = class extends
|
|
2568
|
+
var React62 = __toESM(__require("react"));
|
|
2569
|
+
var ActionSheet = class extends React62.Component {
|
|
2524
2570
|
render() {
|
|
2525
2571
|
const _a = this.props, {
|
|
2526
2572
|
children,
|
|
@@ -2543,16 +2589,16 @@
|
|
|
2543
2589
|
"adaptive",
|
|
2544
2590
|
"className"
|
|
2545
2591
|
]);
|
|
2546
|
-
const childrenArray =
|
|
2547
|
-
const _ActionSheetHeader = title ? /* @__PURE__ */
|
|
2592
|
+
const childrenArray = React62.Children.toArray(children);
|
|
2593
|
+
const _ActionSheetHeader = title ? /* @__PURE__ */ React62.createElement(ActionSheetHeader, {
|
|
2548
2594
|
title
|
|
2549
|
-
}) : header ? header : childrenArray.find((child) =>
|
|
2550
|
-
const _ActionSheetFooter = actions ? /* @__PURE__ */
|
|
2595
|
+
}) : header ? header : childrenArray.find((child) => React62.isValidElement(child) && child.type === ActionSheetHeader);
|
|
2596
|
+
const _ActionSheetFooter = actions ? /* @__PURE__ */ React62.createElement(ActionSheetFooter, {
|
|
2551
2597
|
className: "k-actions",
|
|
2552
2598
|
actions
|
|
2553
|
-
}) : footer ? typeof footer === "string" ? /* @__PURE__ */
|
|
2599
|
+
}) : footer ? typeof footer === "string" ? /* @__PURE__ */ React62.createElement(ActionSheetFooter, null, footer) : footer : childrenArray.find((child) => React62.isValidElement(child) && child.type === ActionSheetFooter);
|
|
2554
2600
|
const _ActionSheetContent = childrenArray.filter((child) => {
|
|
2555
|
-
if (
|
|
2601
|
+
if (React62.isValidElement(child)) {
|
|
2556
2602
|
switch (child.type) {
|
|
2557
2603
|
case ActionSheetHeader:
|
|
2558
2604
|
case ActionSheetFooter:
|
|
@@ -2563,13 +2609,13 @@
|
|
|
2563
2609
|
}
|
|
2564
2610
|
return true;
|
|
2565
2611
|
});
|
|
2566
|
-
return /* @__PURE__ */
|
|
2612
|
+
return /* @__PURE__ */ React62.createElement("div", {
|
|
2567
2613
|
className: "k-actionsheet-container"
|
|
2568
|
-
}, /* @__PURE__ */
|
|
2614
|
+
}, /* @__PURE__ */ React62.createElement("div", {
|
|
2569
2615
|
className: "k-overlay"
|
|
2570
|
-
}), /* @__PURE__ */
|
|
2616
|
+
}), /* @__PURE__ */ React62.createElement("div", {
|
|
2571
2617
|
className: "k-animation-container"
|
|
2572
|
-
}, /* @__PURE__ */
|
|
2618
|
+
}, /* @__PURE__ */ React62.createElement("div", {
|
|
2573
2619
|
className: "k-child-animation-container",
|
|
2574
2620
|
style: {
|
|
2575
2621
|
[`${fullscreen === true ? "top" : side}`]: 0,
|
|
@@ -2578,7 +2624,7 @@
|
|
|
2578
2624
|
[`${side === "top" || side === "bottom" ? "width" : null}`]: "100%",
|
|
2579
2625
|
[`${side === "left" || side === "right" ? "height" : null}`]: "100%"
|
|
2580
2626
|
}
|
|
2581
|
-
}, /* @__PURE__ */
|
|
2627
|
+
}, /* @__PURE__ */ React62.createElement("div", __spreadValues({
|
|
2582
2628
|
className: classNames(
|
|
2583
2629
|
"k-actionsheet",
|
|
2584
2630
|
{
|
|
@@ -2588,7 +2634,7 @@
|
|
|
2588
2634
|
},
|
|
2589
2635
|
className
|
|
2590
2636
|
)
|
|
2591
|
-
}, htmlAttributes), /* @__PURE__ */
|
|
2637
|
+
}, htmlAttributes), /* @__PURE__ */ React62.createElement(React62.Fragment, null, _ActionSheetHeader, /* @__PURE__ */ React62.createElement("div", {
|
|
2592
2638
|
className: classNames(
|
|
2593
2639
|
"k-actionsheet-content",
|
|
2594
2640
|
{
|
|
@@ -2605,8 +2651,8 @@
|
|
|
2605
2651
|
};
|
|
2606
2652
|
|
|
2607
2653
|
// src/action-sheet/actionsheet-header.tsx
|
|
2608
|
-
var
|
|
2609
|
-
var ActionSheetHeader = class extends
|
|
2654
|
+
var React63 = __toESM(__require("react"));
|
|
2655
|
+
var ActionSheetHeader = class extends React63.Component {
|
|
2610
2656
|
render() {
|
|
2611
2657
|
const {
|
|
2612
2658
|
title,
|
|
@@ -2616,31 +2662,31 @@
|
|
|
2616
2662
|
filter,
|
|
2617
2663
|
className
|
|
2618
2664
|
} = this.props;
|
|
2619
|
-
return /* @__PURE__ */
|
|
2665
|
+
return /* @__PURE__ */ React63.createElement("div", {
|
|
2620
2666
|
className: classNames(
|
|
2621
2667
|
className,
|
|
2622
2668
|
"k-actionsheet-titlebar"
|
|
2623
2669
|
)
|
|
2624
|
-
}, /* @__PURE__ */
|
|
2670
|
+
}, /* @__PURE__ */ React63.createElement(React63.Fragment, null, /* @__PURE__ */ React63.createElement("div", {
|
|
2625
2671
|
className: "k-actionsheet-titlebar-group k-hbox"
|
|
2626
|
-
}, !children && (title || subTitle) && /* @__PURE__ */
|
|
2672
|
+
}, !children && (title || subTitle) && /* @__PURE__ */ React63.createElement(React63.Fragment, null, /* @__PURE__ */ React63.createElement("div", {
|
|
2627
2673
|
className: "k-actionsheet-title"
|
|
2628
|
-
}, title !== "" && /* @__PURE__ */
|
|
2674
|
+
}, title !== "" && /* @__PURE__ */ React63.createElement("div", {
|
|
2629
2675
|
className: "k-text-center"
|
|
2630
|
-
}, title), subTitle !== "" && /* @__PURE__ */
|
|
2676
|
+
}, title), subTitle !== "" && /* @__PURE__ */ React63.createElement("div", {
|
|
2631
2677
|
className: "k-actionsheet-subtitle k-text-center"
|
|
2632
|
-
}, subTitle))), children && /* @__PURE__ */
|
|
2678
|
+
}, subTitle))), children && /* @__PURE__ */ React63.createElement("div", {
|
|
2633
2679
|
className: "k-actionsheet-title"
|
|
2634
|
-
}, children), actions && /* @__PURE__ */
|
|
2680
|
+
}, children), actions && /* @__PURE__ */ React63.createElement(React63.Fragment, null, /* @__PURE__ */ React63.createElement("div", {
|
|
2635
2681
|
className: "k-actionsheet-actions"
|
|
2636
|
-
}, actions.map((actionName) => /* @__PURE__ */
|
|
2682
|
+
}, actions.map((actionName) => /* @__PURE__ */ React63.createElement(Button, {
|
|
2637
2683
|
key: actionName,
|
|
2638
2684
|
icon: actionName,
|
|
2639
2685
|
size: "large",
|
|
2640
2686
|
fillMode: "flat"
|
|
2641
|
-
}))))), filter && /* @__PURE__ */
|
|
2687
|
+
}))))), filter && /* @__PURE__ */ React63.createElement(React63.Fragment, null, /* @__PURE__ */ React63.createElement("div", {
|
|
2642
2688
|
className: "k-actionsheet-titlebar-group k-actionsheet-filter"
|
|
2643
|
-
}, /* @__PURE__ */
|
|
2689
|
+
}, /* @__PURE__ */ React63.createElement(Searchbox, {
|
|
2644
2690
|
placeholder: "Filter",
|
|
2645
2691
|
size: "large"
|
|
2646
2692
|
})))));
|
|
@@ -2648,32 +2694,32 @@
|
|
|
2648
2694
|
};
|
|
2649
2695
|
|
|
2650
2696
|
// src/action-sheet/actionsheet-footer.tsx
|
|
2651
|
-
var
|
|
2652
|
-
var ActionSheetFooter = class extends
|
|
2697
|
+
var React64 = __toESM(__require("react"));
|
|
2698
|
+
var ActionSheetFooter = class extends React64.Component {
|
|
2653
2699
|
render() {
|
|
2654
2700
|
const {
|
|
2655
2701
|
children,
|
|
2656
2702
|
actions
|
|
2657
2703
|
} = this.props;
|
|
2658
|
-
return /* @__PURE__ */
|
|
2704
|
+
return /* @__PURE__ */ React64.createElement(ActionButtons, {
|
|
2659
2705
|
className: "k-actionsheet-footer",
|
|
2660
2706
|
alignment: "stretched"
|
|
2661
|
-
}, /* @__PURE__ */
|
|
2707
|
+
}, /* @__PURE__ */ React64.createElement(React64.Fragment, null, actions && actions.map((action, index) => {
|
|
2662
2708
|
if (action === "|") {
|
|
2663
|
-
return /* @__PURE__ */
|
|
2709
|
+
return /* @__PURE__ */ React64.createElement("span", {
|
|
2664
2710
|
key: index,
|
|
2665
2711
|
className: "k-separator"
|
|
2666
2712
|
});
|
|
2667
2713
|
}
|
|
2668
2714
|
if (action === " ") {
|
|
2669
|
-
return /* @__PURE__ */
|
|
2715
|
+
return /* @__PURE__ */ React64.createElement("span", {
|
|
2670
2716
|
key: index,
|
|
2671
2717
|
className: "k-spacer"
|
|
2672
2718
|
});
|
|
2673
2719
|
}
|
|
2674
2720
|
const importantFlag = action.startsWith("!");
|
|
2675
2721
|
const actionName = importantFlag ? action.substring(1) : action;
|
|
2676
|
-
return /* @__PURE__ */
|
|
2722
|
+
return /* @__PURE__ */ React64.createElement(Button, {
|
|
2677
2723
|
key: index,
|
|
2678
2724
|
text: actionName,
|
|
2679
2725
|
size: "large",
|
|
@@ -2684,14 +2730,14 @@
|
|
|
2684
2730
|
};
|
|
2685
2731
|
|
|
2686
2732
|
// src/action-sheet/actionsheet-items.tsx
|
|
2687
|
-
var
|
|
2688
|
-
var ActionSheetItems = class extends
|
|
2733
|
+
var React65 = __toESM(__require("react"));
|
|
2734
|
+
var ActionSheetItems = class extends React65.Component {
|
|
2689
2735
|
render() {
|
|
2690
2736
|
const {
|
|
2691
2737
|
children,
|
|
2692
2738
|
className
|
|
2693
2739
|
} = this.props;
|
|
2694
|
-
return /* @__PURE__ */
|
|
2740
|
+
return /* @__PURE__ */ React65.createElement("ul", {
|
|
2695
2741
|
className: classNames(
|
|
2696
2742
|
"k-list-ul",
|
|
2697
2743
|
className
|
|
@@ -2701,8 +2747,8 @@
|
|
|
2701
2747
|
};
|
|
2702
2748
|
|
|
2703
2749
|
// src/action-sheet/actionsheet-item.tsx
|
|
2704
|
-
var
|
|
2705
|
-
var ActionSheetItem = class extends
|
|
2750
|
+
var React66 = __toESM(__require("react"));
|
|
2751
|
+
var ActionSheetItem = class extends React66.Component {
|
|
2706
2752
|
render() {
|
|
2707
2753
|
const {
|
|
2708
2754
|
children,
|
|
@@ -2715,7 +2761,7 @@
|
|
|
2715
2761
|
selected,
|
|
2716
2762
|
disabled
|
|
2717
2763
|
} = this.props;
|
|
2718
|
-
return /* @__PURE__ */
|
|
2764
|
+
return /* @__PURE__ */ React66.createElement("li", {
|
|
2719
2765
|
className: classNames(
|
|
2720
2766
|
className,
|
|
2721
2767
|
"k-actionsheet-item",
|
|
@@ -2726,27 +2772,27 @@
|
|
|
2726
2772
|
"k-disabled": disabled
|
|
2727
2773
|
}
|
|
2728
2774
|
)
|
|
2729
|
-
}, !children && (text !== "" || description !== "" || iconName !== "") && /* @__PURE__ */
|
|
2775
|
+
}, !children && (text !== "" || description !== "" || iconName !== "") && /* @__PURE__ */ React66.createElement(React66.Fragment, null, /* @__PURE__ */ React66.createElement("a", {
|
|
2730
2776
|
href: "#",
|
|
2731
2777
|
className: "k-actionsheet-action"
|
|
2732
|
-
}, iconName !== "" && /* @__PURE__ */
|
|
2778
|
+
}, iconName !== "" && /* @__PURE__ */ React66.createElement("span", {
|
|
2733
2779
|
className: "k-icon-wrap"
|
|
2734
|
-
}, /* @__PURE__ */
|
|
2780
|
+
}, /* @__PURE__ */ React66.createElement(Icon, {
|
|
2735
2781
|
className: "k-actionsheet-item-icon",
|
|
2736
2782
|
name: iconName
|
|
2737
|
-
})), /* @__PURE__ */
|
|
2783
|
+
})), /* @__PURE__ */ React66.createElement("span", {
|
|
2738
2784
|
className: "k-actionsheet-item-text"
|
|
2739
|
-
}, text !== "" && /* @__PURE__ */
|
|
2785
|
+
}, text !== "" && /* @__PURE__ */ React66.createElement("span", {
|
|
2740
2786
|
className: "k-actionsheet-item-title"
|
|
2741
|
-
}, text), description !== "" && /* @__PURE__ */
|
|
2787
|
+
}, text), description !== "" && /* @__PURE__ */ React66.createElement("span", {
|
|
2742
2788
|
className: "k-actionsheet-item-description"
|
|
2743
2789
|
}, description)))), children);
|
|
2744
2790
|
}
|
|
2745
2791
|
};
|
|
2746
2792
|
|
|
2747
2793
|
// src/popover/popover.tsx
|
|
2748
|
-
var
|
|
2749
|
-
var Popover = class extends
|
|
2794
|
+
var React67 = __toESM(__require("react"));
|
|
2795
|
+
var Popover = class extends React67.Component {
|
|
2750
2796
|
render() {
|
|
2751
2797
|
const _a = this.props, {
|
|
2752
2798
|
className,
|
|
@@ -2761,51 +2807,51 @@
|
|
|
2761
2807
|
"title",
|
|
2762
2808
|
"body"
|
|
2763
2809
|
]);
|
|
2764
|
-
return /* @__PURE__ */
|
|
2810
|
+
return /* @__PURE__ */ React67.createElement("div", __spreadValues({
|
|
2765
2811
|
className: classNames(className, "k-popover")
|
|
2766
|
-
}, htmlAttributes), callout && /* @__PURE__ */
|
|
2812
|
+
}, htmlAttributes), callout && /* @__PURE__ */ React67.createElement("div", {
|
|
2767
2813
|
className: classNames(
|
|
2768
2814
|
"k-popover-callout",
|
|
2769
2815
|
{
|
|
2770
2816
|
[`k-callout-${kendoThemeMaps.calloutMap[callout] || callout}`]: callout
|
|
2771
2817
|
}
|
|
2772
2818
|
)
|
|
2773
|
-
}), /* @__PURE__ */
|
|
2819
|
+
}), /* @__PURE__ */ React67.createElement("div", {
|
|
2774
2820
|
className: "k-popover-inner"
|
|
2775
|
-
}, title && /* @__PURE__ */
|
|
2821
|
+
}, title && /* @__PURE__ */ React67.createElement("div", {
|
|
2776
2822
|
className: "k-popover-header"
|
|
2777
|
-
}, title), body && /* @__PURE__ */
|
|
2823
|
+
}, title), body && /* @__PURE__ */ React67.createElement("div", {
|
|
2778
2824
|
className: "k-popover-body"
|
|
2779
|
-
}, body), /* @__PURE__ */
|
|
2825
|
+
}, body), /* @__PURE__ */ React67.createElement(React67.Fragment, null, children)));
|
|
2780
2826
|
}
|
|
2781
2827
|
};
|
|
2782
2828
|
|
|
2783
2829
|
// src/treeview/treeview.tsx
|
|
2784
|
-
var
|
|
2830
|
+
var React69 = __toESM(__require("react"));
|
|
2785
2831
|
|
|
2786
2832
|
// src/treeview/treeview-group.tsx
|
|
2787
|
-
var
|
|
2788
|
-
var TreeviewGroup = class extends
|
|
2833
|
+
var React68 = __toESM(__require("react"));
|
|
2834
|
+
var TreeviewGroup = class extends React68.Component {
|
|
2789
2835
|
render() {
|
|
2790
2836
|
const {
|
|
2791
2837
|
className,
|
|
2792
2838
|
children
|
|
2793
2839
|
} = this.props;
|
|
2794
|
-
return /* @__PURE__ */
|
|
2840
|
+
return /* @__PURE__ */ React68.createElement("ul", {
|
|
2795
2841
|
className: classNames(className, "k-treeview-group")
|
|
2796
2842
|
}, children);
|
|
2797
2843
|
}
|
|
2798
2844
|
};
|
|
2799
2845
|
|
|
2800
2846
|
// src/treeview/treeview.tsx
|
|
2801
|
-
var Treeview = class extends
|
|
2847
|
+
var Treeview = class extends React69.Component {
|
|
2802
2848
|
render() {
|
|
2803
2849
|
const {
|
|
2804
2850
|
className,
|
|
2805
2851
|
size,
|
|
2806
2852
|
children
|
|
2807
2853
|
} = this.props;
|
|
2808
|
-
return /* @__PURE__ */
|
|
2854
|
+
return /* @__PURE__ */ React69.createElement("div", {
|
|
2809
2855
|
className: classNames(
|
|
2810
2856
|
className,
|
|
2811
2857
|
"k-treeview",
|
|
@@ -2813,7 +2859,7 @@
|
|
|
2813
2859
|
[`k-treeview-${kendoThemeMaps.sizeMap[size] || size}`]: size
|
|
2814
2860
|
}
|
|
2815
2861
|
)
|
|
2816
|
-
}, /* @__PURE__ */
|
|
2862
|
+
}, /* @__PURE__ */ React69.createElement(TreeviewGroup, {
|
|
2817
2863
|
className: "k-treeview-lines"
|
|
2818
2864
|
}, children));
|
|
2819
2865
|
}
|
|
@@ -2823,11 +2869,11 @@
|
|
|
2823
2869
|
};
|
|
2824
2870
|
|
|
2825
2871
|
// src/treeview/treeview-item.tsx
|
|
2826
|
-
var
|
|
2872
|
+
var React71 = __toESM(__require("react"));
|
|
2827
2873
|
|
|
2828
2874
|
// src/treeview/treeview-leaf.tsx
|
|
2829
|
-
var
|
|
2830
|
-
var TreeViewLeaf = class extends
|
|
2875
|
+
var React70 = __toESM(__require("react"));
|
|
2876
|
+
var TreeViewLeaf = class extends React70.Component {
|
|
2831
2877
|
render() {
|
|
2832
2878
|
const {
|
|
2833
2879
|
className,
|
|
@@ -2838,7 +2884,7 @@
|
|
|
2838
2884
|
focus,
|
|
2839
2885
|
selected
|
|
2840
2886
|
} = this.props;
|
|
2841
|
-
return /* @__PURE__ */
|
|
2887
|
+
return /* @__PURE__ */ React70.createElement("span", {
|
|
2842
2888
|
className: classNames(
|
|
2843
2889
|
className,
|
|
2844
2890
|
"k-treeview-leaf",
|
|
@@ -2848,16 +2894,16 @@
|
|
|
2848
2894
|
"k-selected": selected
|
|
2849
2895
|
}
|
|
2850
2896
|
)
|
|
2851
|
-
}, showIcon && /* @__PURE__ */
|
|
2897
|
+
}, showIcon && /* @__PURE__ */ React70.createElement(Icon, {
|
|
2852
2898
|
name: icon
|
|
2853
|
-
}), /* @__PURE__ */
|
|
2899
|
+
}), /* @__PURE__ */ React70.createElement("span", {
|
|
2854
2900
|
className: "k-treeview-leaf-text"
|
|
2855
2901
|
}, text));
|
|
2856
2902
|
}
|
|
2857
2903
|
};
|
|
2858
2904
|
|
|
2859
2905
|
// src/treeview/treeview-item.tsx
|
|
2860
|
-
var TreeviewItem = class extends
|
|
2906
|
+
var TreeviewItem = class extends React71.Component {
|
|
2861
2907
|
render() {
|
|
2862
2908
|
const {
|
|
2863
2909
|
className,
|
|
@@ -2876,7 +2922,7 @@
|
|
|
2876
2922
|
disabled
|
|
2877
2923
|
} = this.props;
|
|
2878
2924
|
const _hasChildren = hasChildren || children;
|
|
2879
|
-
return /* @__PURE__ */
|
|
2925
|
+
return /* @__PURE__ */ React71.createElement("li", {
|
|
2880
2926
|
className: classNames(
|
|
2881
2927
|
className,
|
|
2882
2928
|
"k-treeview-item",
|
|
@@ -2884,15 +2930,15 @@
|
|
|
2884
2930
|
"k-disabled": disabled
|
|
2885
2931
|
}
|
|
2886
2932
|
)
|
|
2887
|
-
}, /* @__PURE__ */
|
|
2933
|
+
}, /* @__PURE__ */ React71.createElement("span", {
|
|
2888
2934
|
className: "k-treeview-mid"
|
|
2889
|
-
}, _hasChildren && /* @__PURE__ */
|
|
2935
|
+
}, _hasChildren && /* @__PURE__ */ React71.createElement("span", {
|
|
2890
2936
|
className: "k-treeview-toggle"
|
|
2891
|
-
}, /* @__PURE__ */
|
|
2937
|
+
}, /* @__PURE__ */ React71.createElement(Icon, {
|
|
2892
2938
|
name: expanded ? "collapse" : "expand"
|
|
2893
|
-
})), showCheckbox && /* @__PURE__ */
|
|
2939
|
+
})), showCheckbox && /* @__PURE__ */ React71.createElement(Checkbox, {
|
|
2894
2940
|
checked
|
|
2895
|
-
}), /* @__PURE__ */
|
|
2941
|
+
}), /* @__PURE__ */ React71.createElement(TreeViewLeaf, {
|
|
2896
2942
|
className: leafClassName,
|
|
2897
2943
|
text,
|
|
2898
2944
|
showIcon,
|
|
@@ -2900,13 +2946,13 @@
|
|
|
2900
2946
|
hover,
|
|
2901
2947
|
focus,
|
|
2902
2948
|
selected
|
|
2903
|
-
})), expanded && _hasChildren && /* @__PURE__ */
|
|
2949
|
+
})), expanded && _hasChildren && /* @__PURE__ */ React71.createElement(React71.Fragment, null, children));
|
|
2904
2950
|
}
|
|
2905
2951
|
};
|
|
2906
2952
|
|
|
2907
2953
|
// src/card/card.tsx
|
|
2908
|
-
var
|
|
2909
|
-
var Card = class extends
|
|
2954
|
+
var React72 = __toESM(__require("react"));
|
|
2955
|
+
var Card = class extends React72.Component {
|
|
2910
2956
|
render() {
|
|
2911
2957
|
const _a = this.props, {
|
|
2912
2958
|
children,
|
|
@@ -2929,7 +2975,7 @@
|
|
|
2929
2975
|
"selected",
|
|
2930
2976
|
"disabled"
|
|
2931
2977
|
]);
|
|
2932
|
-
return /* @__PURE__ */
|
|
2978
|
+
return /* @__PURE__ */ React72.createElement("div", __spreadProps(__spreadValues({
|
|
2933
2979
|
style: this.props.style
|
|
2934
2980
|
}, htmlAttributes), {
|
|
2935
2981
|
className: classNames(
|
|
@@ -2945,15 +2991,15 @@
|
|
|
2945
2991
|
},
|
|
2946
2992
|
className
|
|
2947
2993
|
)
|
|
2948
|
-
}), callout && callout !== "true" && /* @__PURE__ */
|
|
2994
|
+
}), callout && callout !== "true" && /* @__PURE__ */ React72.createElement(CardCallout, {
|
|
2949
2995
|
callout
|
|
2950
|
-
}), /* @__PURE__ */
|
|
2996
|
+
}), /* @__PURE__ */ React72.createElement(React72.Fragment, null, children));
|
|
2951
2997
|
}
|
|
2952
2998
|
};
|
|
2953
2999
|
|
|
2954
3000
|
// src/card/card-callout.tsx
|
|
2955
|
-
var
|
|
2956
|
-
var CardCallout = class extends
|
|
3001
|
+
var React73 = __toESM(__require("react"));
|
|
3002
|
+
var CardCallout = class extends React73.Component {
|
|
2957
3003
|
render() {
|
|
2958
3004
|
const _a = this.props, {
|
|
2959
3005
|
className,
|
|
@@ -2962,7 +3008,7 @@
|
|
|
2962
3008
|
"className",
|
|
2963
3009
|
"callout"
|
|
2964
3010
|
]);
|
|
2965
|
-
return /* @__PURE__ */
|
|
3011
|
+
return /* @__PURE__ */ React73.createElement("span", __spreadProps(__spreadValues({}, htmlAttributes), {
|
|
2966
3012
|
className: classNames(
|
|
2967
3013
|
"k-card-callout",
|
|
2968
3014
|
{
|
|
@@ -2975,8 +3021,8 @@
|
|
|
2975
3021
|
};
|
|
2976
3022
|
|
|
2977
3023
|
// src/card/card-title.tsx
|
|
2978
|
-
var
|
|
2979
|
-
var CardTitle = class extends
|
|
3024
|
+
var React74 = __toESM(__require("react"));
|
|
3025
|
+
var CardTitle = class extends React74.Component {
|
|
2980
3026
|
render() {
|
|
2981
3027
|
const _a = this.props, {
|
|
2982
3028
|
children,
|
|
@@ -2989,7 +3035,7 @@
|
|
|
2989
3035
|
"hover",
|
|
2990
3036
|
"focus"
|
|
2991
3037
|
]);
|
|
2992
|
-
return /* @__PURE__ */
|
|
3038
|
+
return /* @__PURE__ */ React74.createElement("div", __spreadProps(__spreadValues({}, htmlAttributes), {
|
|
2993
3039
|
className: classNames(
|
|
2994
3040
|
"k-card-title",
|
|
2995
3041
|
{
|
|
@@ -3003,8 +3049,8 @@
|
|
|
3003
3049
|
};
|
|
3004
3050
|
|
|
3005
3051
|
// src/card/card-subtitle.tsx
|
|
3006
|
-
var
|
|
3007
|
-
var CardSubtitle = class extends
|
|
3052
|
+
var React75 = __toESM(__require("react"));
|
|
3053
|
+
var CardSubtitle = class extends React75.Component {
|
|
3008
3054
|
render() {
|
|
3009
3055
|
const _a = this.props, {
|
|
3010
3056
|
children,
|
|
@@ -3013,7 +3059,7 @@
|
|
|
3013
3059
|
"children",
|
|
3014
3060
|
"className"
|
|
3015
3061
|
]);
|
|
3016
|
-
return /* @__PURE__ */
|
|
3062
|
+
return /* @__PURE__ */ React75.createElement("div", __spreadProps(__spreadValues({}, htmlAttributes), {
|
|
3017
3063
|
className: classNames(
|
|
3018
3064
|
"k-card-subtitle",
|
|
3019
3065
|
className
|
|
@@ -3023,8 +3069,8 @@
|
|
|
3023
3069
|
};
|
|
3024
3070
|
|
|
3025
3071
|
// src/card/card-img.tsx
|
|
3026
|
-
var
|
|
3027
|
-
var CardImage = class extends
|
|
3072
|
+
var React76 = __toESM(__require("react"));
|
|
3073
|
+
var CardImage = class extends React76.Component {
|
|
3028
3074
|
render() {
|
|
3029
3075
|
const _a = this.props, {
|
|
3030
3076
|
children,
|
|
@@ -3035,7 +3081,7 @@
|
|
|
3035
3081
|
"className",
|
|
3036
3082
|
"src"
|
|
3037
3083
|
]);
|
|
3038
|
-
return /* @__PURE__ */
|
|
3084
|
+
return /* @__PURE__ */ React76.createElement(React76.Fragment, null, src ? /* @__PURE__ */ React76.createElement("img", __spreadProps(__spreadValues({
|
|
3039
3085
|
style: this.props.style
|
|
3040
3086
|
}, htmlAttributes), {
|
|
3041
3087
|
className: classNames(
|
|
@@ -3043,20 +3089,20 @@
|
|
|
3043
3089
|
className
|
|
3044
3090
|
),
|
|
3045
3091
|
src
|
|
3046
|
-
})) : /* @__PURE__ */
|
|
3092
|
+
})) : /* @__PURE__ */ React76.createElement("span", __spreadProps(__spreadValues({
|
|
3047
3093
|
style: this.props.style
|
|
3048
3094
|
}, htmlAttributes), {
|
|
3049
3095
|
className: classNames(
|
|
3050
3096
|
"k-card-image",
|
|
3051
3097
|
className
|
|
3052
3098
|
)
|
|
3053
|
-
}), /* @__PURE__ */
|
|
3099
|
+
}), /* @__PURE__ */ React76.createElement(React76.Fragment, null, children)));
|
|
3054
3100
|
}
|
|
3055
3101
|
};
|
|
3056
3102
|
|
|
3057
3103
|
// src/card/card-header.tsx
|
|
3058
|
-
var
|
|
3059
|
-
var CardHeader = class extends
|
|
3104
|
+
var React77 = __toESM(__require("react"));
|
|
3105
|
+
var CardHeader = class extends React77.Component {
|
|
3060
3106
|
render() {
|
|
3061
3107
|
const _a = this.props, {
|
|
3062
3108
|
children,
|
|
@@ -3071,14 +3117,14 @@
|
|
|
3071
3117
|
"subtitle",
|
|
3072
3118
|
"details"
|
|
3073
3119
|
]);
|
|
3074
|
-
return /* @__PURE__ */
|
|
3120
|
+
return /* @__PURE__ */ React77.createElement("div", __spreadProps(__spreadValues({}, htmlAttributes), {
|
|
3075
3121
|
className: classNames(
|
|
3076
3122
|
"k-card-header",
|
|
3077
3123
|
className
|
|
3078
3124
|
)
|
|
3079
|
-
}), title && /* @__PURE__ */
|
|
3125
|
+
}), title && /* @__PURE__ */ React77.createElement(CardTitle, null, title), subtitle && /* @__PURE__ */ React77.createElement(CardSubtitle, null, subtitle), /* @__PURE__ */ React77.createElement(React77.Fragment, null, children), details && /* @__PURE__ */ React77.createElement("span", {
|
|
3080
3126
|
className: "k-card-header-actions"
|
|
3081
|
-
}, /* @__PURE__ */
|
|
3127
|
+
}, /* @__PURE__ */ React77.createElement(Button, {
|
|
3082
3128
|
className: "k-card-details",
|
|
3083
3129
|
icon: "more-vertical",
|
|
3084
3130
|
rounded: "medium",
|
|
@@ -3090,8 +3136,8 @@
|
|
|
3090
3136
|
};
|
|
3091
3137
|
|
|
3092
3138
|
// src/card/card-footer.tsx
|
|
3093
|
-
var
|
|
3094
|
-
var CardFooter = class extends
|
|
3139
|
+
var React78 = __toESM(__require("react"));
|
|
3140
|
+
var CardFooter = class extends React78.Component {
|
|
3095
3141
|
render() {
|
|
3096
3142
|
const _a = this.props, {
|
|
3097
3143
|
children,
|
|
@@ -3100,7 +3146,7 @@
|
|
|
3100
3146
|
"children",
|
|
3101
3147
|
"className"
|
|
3102
3148
|
]);
|
|
3103
|
-
return /* @__PURE__ */
|
|
3149
|
+
return /* @__PURE__ */ React78.createElement("div", __spreadProps(__spreadValues({}, htmlAttributes), {
|
|
3104
3150
|
className: classNames(
|
|
3105
3151
|
"k-card-footer",
|
|
3106
3152
|
className
|
|
@@ -3110,8 +3156,8 @@
|
|
|
3110
3156
|
};
|
|
3111
3157
|
|
|
3112
3158
|
// src/card/card-body.tsx
|
|
3113
|
-
var
|
|
3114
|
-
var CardBody = class extends
|
|
3159
|
+
var React79 = __toESM(__require("react"));
|
|
3160
|
+
var CardBody = class extends React79.Component {
|
|
3115
3161
|
render() {
|
|
3116
3162
|
const _a = this.props, {
|
|
3117
3163
|
children,
|
|
@@ -3126,16 +3172,16 @@
|
|
|
3126
3172
|
"subtitle",
|
|
3127
3173
|
"details"
|
|
3128
3174
|
]);
|
|
3129
|
-
return /* @__PURE__ */
|
|
3175
|
+
return /* @__PURE__ */ React79.createElement("div", __spreadProps(__spreadValues({
|
|
3130
3176
|
style: this.props.style
|
|
3131
3177
|
}, htmlAttributes), {
|
|
3132
3178
|
className: classNames(
|
|
3133
3179
|
"k-card-body",
|
|
3134
3180
|
className
|
|
3135
3181
|
)
|
|
3136
|
-
}), title && /* @__PURE__ */
|
|
3182
|
+
}), title && /* @__PURE__ */ React79.createElement(CardTitle, null, title), subtitle && /* @__PURE__ */ React79.createElement(CardSubtitle, null, subtitle), /* @__PURE__ */ React79.createElement(React79.Fragment, null, children), details && /* @__PURE__ */ React79.createElement("span", {
|
|
3137
3183
|
className: "k-card-body-actions"
|
|
3138
|
-
}, /* @__PURE__ */
|
|
3184
|
+
}, /* @__PURE__ */ React79.createElement(Button, {
|
|
3139
3185
|
className: "k-card-details",
|
|
3140
3186
|
icon: "more-vertical",
|
|
3141
3187
|
rounded: "medium",
|
|
@@ -3147,8 +3193,8 @@
|
|
|
3147
3193
|
};
|
|
3148
3194
|
|
|
3149
3195
|
// src/card/card-deck.tsx
|
|
3150
|
-
var
|
|
3151
|
-
var CardDeck = class extends
|
|
3196
|
+
var React80 = __toESM(__require("react"));
|
|
3197
|
+
var CardDeck = class extends React80.Component {
|
|
3152
3198
|
render() {
|
|
3153
3199
|
const _a = this.props, {
|
|
3154
3200
|
children,
|
|
@@ -3157,7 +3203,7 @@
|
|
|
3157
3203
|
"children",
|
|
3158
3204
|
"className"
|
|
3159
3205
|
]);
|
|
3160
|
-
return /* @__PURE__ */
|
|
3206
|
+
return /* @__PURE__ */ React80.createElement("div", __spreadProps(__spreadValues({}, htmlAttributes), {
|
|
3161
3207
|
className: classNames(
|
|
3162
3208
|
"k-card-deck",
|
|
3163
3209
|
className
|