funda-ui 4.7.107 → 4.7.108
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.
|
@@ -9,7 +9,7 @@ export interface OptionConfig {
|
|
|
9
9
|
depth?: number;
|
|
10
10
|
children?: OptionConfig[];
|
|
11
11
|
disabled?: boolean;
|
|
12
|
-
extendedContent?: React.ReactNode;
|
|
12
|
+
extendedContent?: (isSelected: boolean) => React.ReactNode | React.ReactNode;
|
|
13
13
|
[key: string]: any;
|
|
14
14
|
}
|
|
15
15
|
export declare type MultipleSelectProps = {
|
package/MultipleSelect/index.js
CHANGED
|
@@ -3282,13 +3282,15 @@ var MultipleSelect = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonj
|
|
|
3282
3282
|
var dragdropListDataInit = function dragdropListDataInit(data) {
|
|
3283
3283
|
// Add appendControl to list
|
|
3284
3284
|
data.forEach(function (item, index) {
|
|
3285
|
-
|
|
3285
|
+
var _extendedContent = typeof item.extendedContent === 'function' ? item.extendedContent(true) : item.extendedContent;
|
|
3286
|
+
item.appendControl = getExtControll(index, item.id, item.value, _extendedContent, tempDefaultValue);
|
|
3286
3287
|
});
|
|
3287
3288
|
return data;
|
|
3288
3289
|
};
|
|
3289
3290
|
var dragdropListDefaultDataInit = function dragdropListDefaultDataInit(data) {
|
|
3290
3291
|
// Update appendControl to list
|
|
3291
3292
|
data.forEach(function (item, index) {
|
|
3293
|
+
var _extendedContent = typeof item.extendedContent === 'function' ? item.extendedContent(false) : item.extendedContent;
|
|
3292
3294
|
item.appendControl = getExtControll(index, item.id, item.value, item.extendedContent, tempDefaultValue, false);
|
|
3293
3295
|
});
|
|
3294
3296
|
return data;
|
|
@@ -9,7 +9,7 @@ export interface OptionConfig {
|
|
|
9
9
|
depth?: number;
|
|
10
10
|
children?: OptionConfig[];
|
|
11
11
|
disabled?: boolean;
|
|
12
|
-
extendedContent?: React.ReactNode;
|
|
12
|
+
extendedContent?: (isSelected: boolean) => React.ReactNode | React.ReactNode;
|
|
13
13
|
[key: string]: any;
|
|
14
14
|
}
|
|
15
15
|
export declare type MultipleSelectProps = {
|
|
@@ -3282,13 +3282,15 @@ var MultipleSelect = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonj
|
|
|
3282
3282
|
var dragdropListDataInit = function dragdropListDataInit(data) {
|
|
3283
3283
|
// Add appendControl to list
|
|
3284
3284
|
data.forEach(function (item, index) {
|
|
3285
|
-
|
|
3285
|
+
var _extendedContent = typeof item.extendedContent === 'function' ? item.extendedContent(true) : item.extendedContent;
|
|
3286
|
+
item.appendControl = getExtControll(index, item.id, item.value, _extendedContent, tempDefaultValue);
|
|
3286
3287
|
});
|
|
3287
3288
|
return data;
|
|
3288
3289
|
};
|
|
3289
3290
|
var dragdropListDefaultDataInit = function dragdropListDefaultDataInit(data) {
|
|
3290
3291
|
// Update appendControl to list
|
|
3291
3292
|
data.forEach(function (item, index) {
|
|
3293
|
+
var _extendedContent = typeof item.extendedContent === 'function' ? item.extendedContent(false) : item.extendedContent;
|
|
3292
3294
|
item.appendControl = getExtControll(index, item.id, item.value, item.extendedContent, tempDefaultValue, false);
|
|
3293
3295
|
});
|
|
3294
3296
|
return data;
|
|
@@ -33,7 +33,7 @@ export interface OptionConfig {
|
|
|
33
33
|
depth?: number;
|
|
34
34
|
children?: OptionConfig[];
|
|
35
35
|
disabled?: boolean;
|
|
36
|
-
extendedContent?: React.ReactNode;
|
|
36
|
+
extendedContent?: (isSelected: boolean) => React.ReactNode | React.ReactNode;
|
|
37
37
|
[key: string]: any;
|
|
38
38
|
}
|
|
39
39
|
|
|
@@ -253,15 +253,18 @@ const MultipleSelect = forwardRef((props: MultipleSelectProps, externalRef: any)
|
|
|
253
253
|
const dragdropListDataInit = (data: any[]) => {
|
|
254
254
|
// Add appendControl to list
|
|
255
255
|
data.forEach((item: any, index: number) => {
|
|
256
|
-
|
|
256
|
+
const _extendedContent = typeof item.extendedContent === 'function' ? item.extendedContent(true) : item.extendedContent;
|
|
257
|
+
item.appendControl = getExtControll(index, item.id, item.value, _extendedContent, tempDefaultValue);
|
|
257
258
|
});
|
|
258
259
|
|
|
260
|
+
|
|
259
261
|
|
|
260
262
|
return data;
|
|
261
263
|
};
|
|
262
264
|
const dragdropListDefaultDataInit = (data: any[]) => {
|
|
263
265
|
// Update appendControl to list
|
|
264
266
|
data.forEach((item: any, index: number) => {
|
|
267
|
+
const _extendedContent = typeof item.extendedContent === 'function' ? item.extendedContent(false) : item.extendedContent;
|
|
265
268
|
item.appendControl = getExtControll(index, item.id, item.value, item.extendedContent, tempDefaultValue, false);
|
|
266
269
|
});
|
|
267
270
|
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"author": "UIUX Lab",
|
|
3
3
|
"email": "uiuxlab@gmail.com",
|
|
4
4
|
"name": "funda-ui",
|
|
5
|
-
"version": "4.7.
|
|
5
|
+
"version": "4.7.108",
|
|
6
6
|
"description": "React components using pure Bootstrap 5+ which does not contain any external style and script libraries.",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|