shineout 3.4.4-beta.1 → 3.4.4-beta.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/cjs/index.d.ts +1 -0
- package/cjs/index.js +1 -1
- package/dist/shineout.js +45 -31
- package/dist/shineout.js.map +1 -1
- package/dist/shineout.min.js +1 -1
- package/dist/shineout.min.js.map +1 -1
- package/esm/index.d.ts +1 -0
- package/esm/index.js +1 -1
- package/package.json +5 -5
package/cjs/index.d.ts
CHANGED
|
@@ -48,6 +48,7 @@ export { default as Tree } from './tree';
|
|
|
48
48
|
export { default as TreeSelect } from './tree-select';
|
|
49
49
|
export { default as Upload } from './upload';
|
|
50
50
|
export { setConfig, config, setLocale, setIcons } from '@sheinx/base';
|
|
51
|
+
export type { ConfigOption } from '@sheinx/base';
|
|
51
52
|
export { setToken, useToken } from '@sheinx/theme';
|
|
52
53
|
export { JssProvider, SheetsRegistry, setJssConfig } from '@sheinx/shineout-style';
|
|
53
54
|
export * as utls from './utils';
|
package/cjs/index.js
CHANGED
|
@@ -492,5 +492,5 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
492
492
|
// 此文件由脚本自动生成,请勿直接修改。
|
|
493
493
|
// This file was generated automatically by a script. Please do not modify it directly.
|
|
494
494
|
var _default = exports.default = {
|
|
495
|
-
version: '3.4.4-beta.
|
|
495
|
+
version: '3.4.4-beta.2'
|
|
496
496
|
};
|
package/dist/shineout.js
CHANGED
|
@@ -2485,7 +2485,7 @@ if (true) {
|
|
|
2485
2485
|
|
|
2486
2486
|
/***/ }),
|
|
2487
2487
|
|
|
2488
|
-
/***/
|
|
2488
|
+
/***/ 308:
|
|
2489
2489
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
2490
2490
|
|
|
2491
2491
|
"use strict";
|
|
@@ -2536,14 +2536,14 @@ exports.jsxs = q;
|
|
|
2536
2536
|
|
|
2537
2537
|
/***/ }),
|
|
2538
2538
|
|
|
2539
|
-
/***/
|
|
2539
|
+
/***/ 3428:
|
|
2540
2540
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2541
2541
|
|
|
2542
2542
|
"use strict";
|
|
2543
2543
|
|
|
2544
2544
|
|
|
2545
2545
|
if (true) {
|
|
2546
|
-
module.exports = __webpack_require__(
|
|
2546
|
+
module.exports = __webpack_require__(308);
|
|
2547
2547
|
} else {}
|
|
2548
2548
|
|
|
2549
2549
|
/***/ }),
|
|
@@ -2975,7 +2975,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof =
|
|
|
2975
2975
|
|
|
2976
2976
|
/***/ }),
|
|
2977
2977
|
|
|
2978
|
-
/***/
|
|
2978
|
+
/***/ 3397:
|
|
2979
2979
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
2980
2980
|
|
|
2981
2981
|
"use strict";
|
|
@@ -3047,7 +3047,7 @@ exports.useSyncExternalStore = void 0 !== e.useSyncExternalStore ? e.useSyncExte
|
|
|
3047
3047
|
|
|
3048
3048
|
/***/ }),
|
|
3049
3049
|
|
|
3050
|
-
/***/
|
|
3050
|
+
/***/ 597:
|
|
3051
3051
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
3052
3052
|
|
|
3053
3053
|
"use strict";
|
|
@@ -3063,7 +3063,7 @@ exports.useSyncExternalStore = void 0 !== e.useSyncExternalStore ? e.useSyncExte
|
|
|
3063
3063
|
|
|
3064
3064
|
|
|
3065
3065
|
var h = __webpack_require__(9787),
|
|
3066
|
-
n = __webpack_require__(
|
|
3066
|
+
n = __webpack_require__(5420);
|
|
3067
3067
|
function p(a, b) {
|
|
3068
3068
|
return a === b && (0 !== a || 1 / a === 1 / b) || a !== a && b !== b;
|
|
3069
3069
|
}
|
|
@@ -3122,26 +3122,26 @@ exports.useSyncExternalStoreWithSelector = function (a, b, e, l, g) {
|
|
|
3122
3122
|
|
|
3123
3123
|
/***/ }),
|
|
3124
3124
|
|
|
3125
|
-
/***/
|
|
3125
|
+
/***/ 5420:
|
|
3126
3126
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
3127
3127
|
|
|
3128
3128
|
"use strict";
|
|
3129
3129
|
|
|
3130
3130
|
|
|
3131
3131
|
if (true) {
|
|
3132
|
-
module.exports = __webpack_require__(
|
|
3132
|
+
module.exports = __webpack_require__(3397);
|
|
3133
3133
|
} else {}
|
|
3134
3134
|
|
|
3135
3135
|
/***/ }),
|
|
3136
3136
|
|
|
3137
|
-
/***/
|
|
3137
|
+
/***/ 96:
|
|
3138
3138
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
3139
3139
|
|
|
3140
3140
|
"use strict";
|
|
3141
3141
|
|
|
3142
3142
|
|
|
3143
3143
|
if (true) {
|
|
3144
|
-
module.exports = __webpack_require__(
|
|
3144
|
+
module.exports = __webpack_require__(597);
|
|
3145
3145
|
} else {}
|
|
3146
3146
|
|
|
3147
3147
|
/***/ }),
|
|
@@ -6664,8 +6664,8 @@ var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
|
|
|
6664
6664
|
// EXTERNAL MODULE: ../../node_modules/.pnpm/@babel+runtime@7.23.6/node_modules/@babel/runtime/helpers/typeof.js
|
|
6665
6665
|
var helpers_typeof = __webpack_require__(2674);
|
|
6666
6666
|
var typeof_default = /*#__PURE__*/__webpack_require__.n(helpers_typeof);
|
|
6667
|
-
// EXTERNAL MODULE: ../../node_modules/.pnpm/react@18.
|
|
6668
|
-
var jsx_runtime = __webpack_require__(
|
|
6667
|
+
// EXTERNAL MODULE: ../../node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js
|
|
6668
|
+
var jsx_runtime = __webpack_require__(3428);
|
|
6669
6669
|
;// CONCATENATED MODULE: ../base/src/icons/icons.tsx
|
|
6670
6670
|
|
|
6671
6671
|
|
|
@@ -7198,7 +7198,7 @@ var hoist_non_react_statics_cjs = __webpack_require__(8082);
|
|
|
7198
7198
|
var hoist_non_react_statics_cjs_default = /*#__PURE__*/__webpack_require__.n(hoist_non_react_statics_cjs);
|
|
7199
7199
|
// EXTERNAL MODULE: ../../node_modules/.pnpm/react-display-name@0.2.5/node_modules/react-display-name/lib/getDisplayName.js
|
|
7200
7200
|
var getDisplayName = __webpack_require__(1469);
|
|
7201
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/theming@3.3.0_react@18.
|
|
7201
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/theming@3.3.0_react@18.3.1/node_modules/theming/dist/theming.esm.js
|
|
7202
7202
|
|
|
7203
7203
|
|
|
7204
7204
|
|
|
@@ -11331,7 +11331,7 @@ var createCss = function createCss(jss) {
|
|
|
11331
11331
|
var css_jss_esm_css = createCss();
|
|
11332
11332
|
/* harmony default export */ var css_jss_esm = (css_jss_esm_css);
|
|
11333
11333
|
|
|
11334
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/react-jss@10.9.2_react@18.
|
|
11334
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/react-jss@10.9.2_react@18.3.1/node_modules/react-jss/dist/react-jss.esm.js
|
|
11335
11335
|
|
|
11336
11336
|
|
|
11337
11337
|
|
|
@@ -11984,7 +11984,7 @@ var handleStyle = function handleStyle(style) {
|
|
|
11984
11984
|
};
|
|
11985
11985
|
/* harmony default export */ var jss_style_handleStyle = (handleStyle);
|
|
11986
11986
|
;// CONCATENATED MODULE: ../shineout-style/src/version.ts
|
|
11987
|
-
/* harmony default export */ var version = ('3.4.4-beta.
|
|
11987
|
+
/* harmony default export */ var version = ('3.4.4-beta.2');
|
|
11988
11988
|
;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
|
|
11989
11989
|
|
|
11990
11990
|
|
|
@@ -29311,7 +29311,7 @@ var usePositionStyle = function usePositionStyle(config) {
|
|
|
29311
29311
|
// EXTERNAL MODULE: external {"root":"ReactDOM","commonjs2":"react-dom","commonjs":"react-dom","amd":"react-dom"}
|
|
29312
29312
|
var external_root_ReactDOM_commonjs2_react_dom_commonjs_react_dom_amd_react_dom_ = __webpack_require__(5156);
|
|
29313
29313
|
var external_root_ReactDOM_commonjs2_react_dom_commonjs_react_dom_amd_react_dom_default = /*#__PURE__*/__webpack_require__.n(external_root_ReactDOM_commonjs2_react_dom_commonjs_react_dom_amd_react_dom_);
|
|
29314
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@shined+reactive@0.1.3-alpha.0_react@18.
|
|
29314
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@shined+reactive@0.1.3-alpha.0_react@18.3.1/node_modules/@shined/reactive/dist/chunk-IP2WBRUX.js
|
|
29315
29315
|
|
|
29316
29316
|
// src/vanilla/ref.ts
|
|
29317
29317
|
function _array_like_to_array(arr, len) {
|
|
@@ -29762,9 +29762,9 @@ function produce(obj, draftHandler) {
|
|
|
29762
29762
|
return snapshot;
|
|
29763
29763
|
}
|
|
29764
29764
|
|
|
29765
|
-
// EXTERNAL MODULE: ../../node_modules/.pnpm/use-sync-external-store@1.2.2_react@18.
|
|
29766
|
-
var with_selector = __webpack_require__(
|
|
29767
|
-
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@shined+reactive@0.1.3-alpha.0_react@18.
|
|
29765
|
+
// EXTERNAL MODULE: ../../node_modules/.pnpm/use-sync-external-store@1.2.2_react@18.3.1/node_modules/use-sync-external-store/shim/with-selector.js
|
|
29766
|
+
var with_selector = __webpack_require__(96);
|
|
29767
|
+
;// CONCATENATED MODULE: ../../node_modules/.pnpm/@shined+reactive@0.1.3-alpha.0_react@18.3.1/node_modules/@shined/reactive/dist/index.js
|
|
29768
29768
|
|
|
29769
29769
|
// src/react/use-snapshot.ts
|
|
29770
29770
|
|
|
@@ -43260,7 +43260,6 @@ var Picker = function Picker(props) {
|
|
|
43260
43260
|
var index = position === 'end' ? 1 : 0;
|
|
43261
43261
|
var mode = props.mode[index];
|
|
43262
43262
|
var commonProps = {
|
|
43263
|
-
key: position,
|
|
43264
43263
|
options: options,
|
|
43265
43264
|
value: dateArr[index],
|
|
43266
43265
|
current: currentArr[index],
|
|
@@ -43298,13 +43297,13 @@ var Picker = function Picker(props) {
|
|
|
43298
43297
|
secondStep: props.secondStep
|
|
43299
43298
|
};
|
|
43300
43299
|
if (mode === 'quarter') {
|
|
43301
|
-
return /*#__PURE__*/(0,jsx_runtime.jsx)(quarter, objectSpread2_default()({}, commonProps));
|
|
43300
|
+
return /*#__PURE__*/(0,jsx_runtime.jsx)(quarter, objectSpread2_default()({}, commonProps), position);
|
|
43302
43301
|
}
|
|
43303
43302
|
if (mode === 'year') {
|
|
43304
|
-
return /*#__PURE__*/(0,jsx_runtime.jsx)(year, objectSpread2_default()({}, commonProps));
|
|
43303
|
+
return /*#__PURE__*/(0,jsx_runtime.jsx)(year, objectSpread2_default()({}, commonProps), position);
|
|
43305
43304
|
}
|
|
43306
43305
|
if (mode === 'month') {
|
|
43307
|
-
return /*#__PURE__*/(0,jsx_runtime.jsx)(month, objectSpread2_default()({}, commonProps));
|
|
43306
|
+
return /*#__PURE__*/(0,jsx_runtime.jsx)(month, objectSpread2_default()({}, commonProps), position);
|
|
43308
43307
|
}
|
|
43309
43308
|
if (mode === 'day') {
|
|
43310
43309
|
return /*#__PURE__*/(0,jsx_runtime.jsx)(day, objectSpread2_default()(objectSpread2_default()(objectSpread2_default()({}, commonProps), timeProps), {}, {
|
|
@@ -43326,12 +43325,12 @@ var Picker = function Picker(props) {
|
|
|
43326
43325
|
}
|
|
43327
43326
|
}
|
|
43328
43327
|
}
|
|
43329
|
-
}));
|
|
43328
|
+
}), position);
|
|
43330
43329
|
}
|
|
43331
43330
|
if (mode === 'time') {
|
|
43332
|
-
return /*#__PURE__*/(0,jsx_runtime.jsx)(time, objectSpread2_default()(objectSpread2_default()({}, commonProps), timeProps));
|
|
43331
|
+
return /*#__PURE__*/(0,jsx_runtime.jsx)(time, objectSpread2_default()(objectSpread2_default()({}, commonProps), timeProps), position);
|
|
43333
43332
|
}
|
|
43334
|
-
return /*#__PURE__*/(0,jsx_runtime.jsx)(day, objectSpread2_default()(objectSpread2_default()({}, commonProps), timeProps));
|
|
43333
|
+
return /*#__PURE__*/(0,jsx_runtime.jsx)(day, objectSpread2_default()(objectSpread2_default()({}, commonProps), timeProps), position);
|
|
43335
43334
|
};
|
|
43336
43335
|
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
43337
43336
|
className: styles === null || styles === void 0 ? void 0 : styles.pickerBox,
|
|
@@ -58625,6 +58624,22 @@ var emptyRef = {
|
|
|
58625
58624
|
var mirrorScrollRef = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)(null);
|
|
58626
58625
|
var tableRef = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)(null);
|
|
58627
58626
|
var browserScrollbarWidth = useScrollbarWidth();
|
|
58627
|
+
var getSpinConfig = function getSpinConfig() {
|
|
58628
|
+
if (typeof_default()(config.spin) === 'object') {
|
|
58629
|
+
return objectSpread2_default()({
|
|
58630
|
+
size: 24
|
|
58631
|
+
}, config.spin);
|
|
58632
|
+
}
|
|
58633
|
+
if (typeof config.spin === 'string') {
|
|
58634
|
+
return {
|
|
58635
|
+
name: config.spin,
|
|
58636
|
+
size: 24
|
|
58637
|
+
};
|
|
58638
|
+
}
|
|
58639
|
+
return {
|
|
58640
|
+
size: 24
|
|
58641
|
+
};
|
|
58642
|
+
};
|
|
58628
58643
|
var _useRef = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)({
|
|
58629
58644
|
emptyHeight: 0
|
|
58630
58645
|
}),
|
|
@@ -59003,10 +59018,9 @@ var emptyRef = {
|
|
|
59003
59018
|
if (!props.loading) return null;
|
|
59004
59019
|
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
59005
59020
|
className: classnames_default()(tableClasses === null || tableClasses === void 0 ? void 0 : tableClasses.loading),
|
|
59006
|
-
children: props.loading === true ? /*#__PURE__*/(0,jsx_runtime.jsx)(src_spin_spin, {
|
|
59007
|
-
jssStyle: props.jssStyle
|
|
59008
|
-
|
|
59009
|
-
}) : props.loading
|
|
59021
|
+
children: props.loading === true ? /*#__PURE__*/(0,jsx_runtime.jsx)(src_spin_spin, objectSpread2_default()({
|
|
59022
|
+
jssStyle: props.jssStyle
|
|
59023
|
+
}, getSpinConfig())) : props.loading
|
|
59010
59024
|
});
|
|
59011
59025
|
};
|
|
59012
59026
|
var renderPagination = function renderPagination() {
|
|
@@ -65278,7 +65292,7 @@ var upload_interface = __webpack_require__(8821);
|
|
|
65278
65292
|
|
|
65279
65293
|
|
|
65280
65294
|
/* harmony default export */ var src_0 = ({
|
|
65281
|
-
version: '3.4.4-beta.
|
|
65295
|
+
version: '3.4.4-beta.2'
|
|
65282
65296
|
});
|
|
65283
65297
|
}();
|
|
65284
65298
|
/******/ return __webpack_exports__;
|