react-semaphor 0.1.47 → 0.1.49
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/chunks/{dashboard-plus-CZKtJNVQ.js → dashboard-plus-BrMPtskP.js} +1 -1
- package/dist/chunks/{dashboard-plus-C-qaZ1z7.js → dashboard-plus-DtYeDrpG.js} +1 -1
- package/dist/chunks/{index-BxSpldiI.js → index-CAgfnOtu.js} +208 -208
- package/dist/chunks/{index-BDRxTCzW.js → index-n8_6ESse.js} +18919 -18485
- package/dist/dashboard/index.cjs +1 -1
- package/dist/dashboard/index.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +3 -3
- package/dist/style.css +1 -1
- package/dist/surfboard/index.cjs +1 -1
- package/dist/surfboard/index.js +1 -1
- package/dist/types/dashboard.d.ts +35 -4
- package/dist/types/main.d.ts +37 -4
- package/dist/types/surfboard.d.ts +35 -4
- package/dist/types/types.d.ts +35 -4
- package/package.json +1 -1
package/dist/surfboard/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/dashboard-plus-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/dashboard-plus-BrMPtskP.js"),r=require("../types/index.cjs");exports.Surfboard=e.DashboardPlus;exports.EMPTY_SELECTION=r.EMPTY_SELECTION;
|
package/dist/surfboard/index.js
CHANGED
|
@@ -445,21 +445,25 @@ declare interface DrillToURLInteraction {
|
|
|
445
445
|
mode: 'drillToURL';
|
|
446
446
|
/**
|
|
447
447
|
* What element must be clicked to trigger this URL drill.
|
|
448
|
-
* @migration Optional during migration. Will be required in V2.
|
|
449
448
|
*/
|
|
450
449
|
trigger?: InteractionTrigger;
|
|
451
450
|
filterFields: Field[];
|
|
451
|
+
/**
|
|
452
|
+
* URL template with placeholders (e.g., 'https://example.com/product/{{product_id}}')
|
|
453
|
+
*/
|
|
452
454
|
urlTemplate: string;
|
|
453
455
|
/**
|
|
454
|
-
*
|
|
455
|
-
* @default true
|
|
456
|
+
* List of parameters used in the URL template
|
|
456
457
|
*/
|
|
457
|
-
|
|
458
|
+
parameters: URLParameter[];
|
|
458
459
|
/**
|
|
459
460
|
* Whether to URL-encode parameter values
|
|
460
461
|
* @default true
|
|
461
462
|
*/
|
|
462
463
|
encodeParameters?: boolean;
|
|
464
|
+
/**
|
|
465
|
+
* Custom label for this interaction in the menu
|
|
466
|
+
*/
|
|
463
467
|
label?: string;
|
|
464
468
|
}
|
|
465
469
|
|
|
@@ -1358,6 +1362,33 @@ export declare type TStyle = {
|
|
|
1358
1362
|
dark?: StyleProps;
|
|
1359
1363
|
};
|
|
1360
1364
|
|
|
1365
|
+
/**
|
|
1366
|
+
* URL Parameter for drill-to-URL interpolation
|
|
1367
|
+
* Represents a placeholder in the URL template (e.g., {{product_id}})
|
|
1368
|
+
*/
|
|
1369
|
+
declare interface URLParameter {
|
|
1370
|
+
/**
|
|
1371
|
+
* Unique identifier for the parameter (e.g., 'product_id', 'card_id')
|
|
1372
|
+
* Used in template as {{id}}
|
|
1373
|
+
*/
|
|
1374
|
+
id: string;
|
|
1375
|
+
/**
|
|
1376
|
+
* Display label for the parameter
|
|
1377
|
+
*/
|
|
1378
|
+
label: string;
|
|
1379
|
+
/**
|
|
1380
|
+
* Category of the parameter
|
|
1381
|
+
* - attribute: From card dimensions/attributes (e.g., product name, region)
|
|
1382
|
+
* - identifier: System values (card_id, frame_id, sheet_id)
|
|
1383
|
+
*/
|
|
1384
|
+
category: 'attribute' | 'identifier';
|
|
1385
|
+
/**
|
|
1386
|
+
* For attribute parameters: the complete field object
|
|
1387
|
+
* Provides access to all field properties (name, qualifiedFieldName, dataType, etc.)
|
|
1388
|
+
*/
|
|
1389
|
+
field?: Field;
|
|
1390
|
+
}
|
|
1391
|
+
|
|
1361
1392
|
/**
|
|
1362
1393
|
* Display mode for visual components - controls which UI elements are shown
|
|
1363
1394
|
*/
|
package/dist/types/main.d.ts
CHANGED
|
@@ -833,21 +833,25 @@ declare interface DrillToURLInteraction {
|
|
|
833
833
|
mode: 'drillToURL';
|
|
834
834
|
/**
|
|
835
835
|
* What element must be clicked to trigger this URL drill.
|
|
836
|
-
* @migration Optional during migration. Will be required in V2.
|
|
837
836
|
*/
|
|
838
837
|
trigger?: InteractionTrigger;
|
|
839
838
|
filterFields: Field[];
|
|
839
|
+
/**
|
|
840
|
+
* URL template with placeholders (e.g., 'https://example.com/product/{{product_id}}')
|
|
841
|
+
*/
|
|
840
842
|
urlTemplate: string;
|
|
841
843
|
/**
|
|
842
|
-
*
|
|
843
|
-
* @default true
|
|
844
|
+
* List of parameters used in the URL template
|
|
844
845
|
*/
|
|
845
|
-
|
|
846
|
+
parameters: URLParameter[];
|
|
846
847
|
/**
|
|
847
848
|
* Whether to URL-encode parameter values
|
|
848
849
|
* @default true
|
|
849
850
|
*/
|
|
850
851
|
encodeParameters?: boolean;
|
|
852
|
+
/**
|
|
853
|
+
* Custom label for this interaction in the menu
|
|
854
|
+
*/
|
|
851
855
|
label?: string;
|
|
852
856
|
}
|
|
853
857
|
|
|
@@ -2273,6 +2277,33 @@ export declare type UIConfig = {
|
|
|
2273
2277
|
showDashboardAssistant?: boolean;
|
|
2274
2278
|
};
|
|
2275
2279
|
|
|
2280
|
+
/**
|
|
2281
|
+
* URL Parameter for drill-to-URL interpolation
|
|
2282
|
+
* Represents a placeholder in the URL template (e.g., {{product_id}})
|
|
2283
|
+
*/
|
|
2284
|
+
declare interface URLParameter {
|
|
2285
|
+
/**
|
|
2286
|
+
* Unique identifier for the parameter (e.g., 'product_id', 'card_id')
|
|
2287
|
+
* Used in template as {{id}}
|
|
2288
|
+
*/
|
|
2289
|
+
id: string;
|
|
2290
|
+
/**
|
|
2291
|
+
* Display label for the parameter
|
|
2292
|
+
*/
|
|
2293
|
+
label: string;
|
|
2294
|
+
/**
|
|
2295
|
+
* Category of the parameter
|
|
2296
|
+
* - attribute: From card dimensions/attributes (e.g., product name, region)
|
|
2297
|
+
* - identifier: System values (card_id, frame_id, sheet_id)
|
|
2298
|
+
*/
|
|
2299
|
+
category: 'attribute' | 'identifier';
|
|
2300
|
+
/**
|
|
2301
|
+
* For attribute parameters: the complete field object
|
|
2302
|
+
* Provides access to all field properties (name, qualifiedFieldName, dataType, etc.)
|
|
2303
|
+
*/
|
|
2304
|
+
field?: Field;
|
|
2305
|
+
}
|
|
2306
|
+
|
|
2276
2307
|
export declare function useCard(cardId: string): {
|
|
2277
2308
|
data: any;
|
|
2278
2309
|
card: TCard;
|
|
@@ -2390,9 +2421,11 @@ export declare function useTextFilterHook(filterId: string): {
|
|
|
2390
2421
|
handleChange: (selectedRecords: TSelectedRecord[]) => void;
|
|
2391
2422
|
handleClear: () => void;
|
|
2392
2423
|
handleSelectAll: (checked: boolean) => void;
|
|
2424
|
+
handleApplyOperatorExpression: () => boolean;
|
|
2393
2425
|
filteredRecords: ComboBoxOption_2[];
|
|
2394
2426
|
isSingleSelect: boolean;
|
|
2395
2427
|
allSelected: boolean;
|
|
2428
|
+
activeFilterValue: TFilterValue | undefined;
|
|
2396
2429
|
isSearching: boolean;
|
|
2397
2430
|
searchError: boolean;
|
|
2398
2431
|
resultSource: "server" | "local" | "both";
|
|
@@ -448,21 +448,25 @@ declare interface DrillToURLInteraction {
|
|
|
448
448
|
mode: 'drillToURL';
|
|
449
449
|
/**
|
|
450
450
|
* What element must be clicked to trigger this URL drill.
|
|
451
|
-
* @migration Optional during migration. Will be required in V2.
|
|
452
451
|
*/
|
|
453
452
|
trigger?: InteractionTrigger;
|
|
454
453
|
filterFields: Field[];
|
|
454
|
+
/**
|
|
455
|
+
* URL template with placeholders (e.g., 'https://example.com/product/{{product_id}}')
|
|
456
|
+
*/
|
|
455
457
|
urlTemplate: string;
|
|
456
458
|
/**
|
|
457
|
-
*
|
|
458
|
-
* @default true
|
|
459
|
+
* List of parameters used in the URL template
|
|
459
460
|
*/
|
|
460
|
-
|
|
461
|
+
parameters: URLParameter[];
|
|
461
462
|
/**
|
|
462
463
|
* Whether to URL-encode parameter values
|
|
463
464
|
* @default true
|
|
464
465
|
*/
|
|
465
466
|
encodeParameters?: boolean;
|
|
467
|
+
/**
|
|
468
|
+
* Custom label for this interaction in the menu
|
|
469
|
+
*/
|
|
466
470
|
label?: string;
|
|
467
471
|
}
|
|
468
472
|
|
|
@@ -1363,6 +1367,33 @@ export declare type TStyle = {
|
|
|
1363
1367
|
dark?: StyleProps;
|
|
1364
1368
|
};
|
|
1365
1369
|
|
|
1370
|
+
/**
|
|
1371
|
+
* URL Parameter for drill-to-URL interpolation
|
|
1372
|
+
* Represents a placeholder in the URL template (e.g., {{product_id}})
|
|
1373
|
+
*/
|
|
1374
|
+
declare interface URLParameter {
|
|
1375
|
+
/**
|
|
1376
|
+
* Unique identifier for the parameter (e.g., 'product_id', 'card_id')
|
|
1377
|
+
* Used in template as {{id}}
|
|
1378
|
+
*/
|
|
1379
|
+
id: string;
|
|
1380
|
+
/**
|
|
1381
|
+
* Display label for the parameter
|
|
1382
|
+
*/
|
|
1383
|
+
label: string;
|
|
1384
|
+
/**
|
|
1385
|
+
* Category of the parameter
|
|
1386
|
+
* - attribute: From card dimensions/attributes (e.g., product name, region)
|
|
1387
|
+
* - identifier: System values (card_id, frame_id, sheet_id)
|
|
1388
|
+
*/
|
|
1389
|
+
category: 'attribute' | 'identifier';
|
|
1390
|
+
/**
|
|
1391
|
+
* For attribute parameters: the complete field object
|
|
1392
|
+
* Provides access to all field properties (name, qualifiedFieldName, dataType, etc.)
|
|
1393
|
+
*/
|
|
1394
|
+
field?: Field;
|
|
1395
|
+
}
|
|
1396
|
+
|
|
1366
1397
|
/**
|
|
1367
1398
|
* Display mode for visual components - controls which UI elements are shown
|
|
1368
1399
|
*/
|
package/dist/types/types.d.ts
CHANGED
|
@@ -442,21 +442,25 @@ declare interface DrillToURLInteraction {
|
|
|
442
442
|
mode: 'drillToURL';
|
|
443
443
|
/**
|
|
444
444
|
* What element must be clicked to trigger this URL drill.
|
|
445
|
-
* @migration Optional during migration. Will be required in V2.
|
|
446
445
|
*/
|
|
447
446
|
trigger?: InteractionTrigger;
|
|
448
447
|
filterFields: Field[];
|
|
448
|
+
/**
|
|
449
|
+
* URL template with placeholders (e.g., 'https://example.com/product/{{product_id}}')
|
|
450
|
+
*/
|
|
449
451
|
urlTemplate: string;
|
|
450
452
|
/**
|
|
451
|
-
*
|
|
452
|
-
* @default true
|
|
453
|
+
* List of parameters used in the URL template
|
|
453
454
|
*/
|
|
454
|
-
|
|
455
|
+
parameters: URLParameter[];
|
|
455
456
|
/**
|
|
456
457
|
* Whether to URL-encode parameter values
|
|
457
458
|
* @default true
|
|
458
459
|
*/
|
|
459
460
|
encodeParameters?: boolean;
|
|
461
|
+
/**
|
|
462
|
+
* Custom label for this interaction in the menu
|
|
463
|
+
*/
|
|
460
464
|
label?: string;
|
|
461
465
|
}
|
|
462
466
|
|
|
@@ -1355,6 +1359,33 @@ export declare type TStyle = {
|
|
|
1355
1359
|
dark?: StyleProps;
|
|
1356
1360
|
};
|
|
1357
1361
|
|
|
1362
|
+
/**
|
|
1363
|
+
* URL Parameter for drill-to-URL interpolation
|
|
1364
|
+
* Represents a placeholder in the URL template (e.g., {{product_id}})
|
|
1365
|
+
*/
|
|
1366
|
+
declare interface URLParameter {
|
|
1367
|
+
/**
|
|
1368
|
+
* Unique identifier for the parameter (e.g., 'product_id', 'card_id')
|
|
1369
|
+
* Used in template as {{id}}
|
|
1370
|
+
*/
|
|
1371
|
+
id: string;
|
|
1372
|
+
/**
|
|
1373
|
+
* Display label for the parameter
|
|
1374
|
+
*/
|
|
1375
|
+
label: string;
|
|
1376
|
+
/**
|
|
1377
|
+
* Category of the parameter
|
|
1378
|
+
* - attribute: From card dimensions/attributes (e.g., product name, region)
|
|
1379
|
+
* - identifier: System values (card_id, frame_id, sheet_id)
|
|
1380
|
+
*/
|
|
1381
|
+
category: 'attribute' | 'identifier';
|
|
1382
|
+
/**
|
|
1383
|
+
* For attribute parameters: the complete field object
|
|
1384
|
+
* Provides access to all field properties (name, qualifiedFieldName, dataType, etc.)
|
|
1385
|
+
*/
|
|
1386
|
+
field?: Field;
|
|
1387
|
+
}
|
|
1388
|
+
|
|
1358
1389
|
/**
|
|
1359
1390
|
* Display mode for visual components - controls which UI elements are shown
|
|
1360
1391
|
*/
|