Fluent Commerce Logo
Docs
Sign In

Date Range Forwarding Wrapper

UI Component

Changed on:

18 Mar 2025

Overview

The

`fc.daterange.wrapper.forwarder`
is a wrapper designed to forward date range data to a URL. 

Plugin NameInventory

Components for viewing and managing inventory.

0000-00-00

v1.0.0

Initial changelog entry.

Alias

fc.daterange.wrapper.forwarder

Detailed technical description

An optional property,

`keyConfig`
, allows to specify the variables' names to be used in the URL, making this wrapper highly flexible and adaptable for various use cases. 

Properties

Name

Type

Required

Default Value

Description

keyConfig

`{`

 
`from: string;`

 
`to: string;`

`}`

No

`{`

 
`from: 'from',`

 
`to: 'to',`

`}`

Defines how date range values are mapped variables' names to be used in the URL. 

Configuration example

1{
2  "type": "page",
3  "path": "bppDashboard",
4  "component": "fc.page",
5  "nav": {
6    "label": "i18n:fc.inventory.sources.dashboard.bpp",
7    "icon": "filter_list"
8  },
9  "props": {
10    "title": "i18n:fc.inventory.sources.dashboard.bpp.title"
11  },
12  "descendants": [
13    {
14      "component": "fc.daterange.wrapper.forwarder",
15      "props": {
16        "keyConfig": {
17          "from": "start",
18          "to": "end"
19        }
20      }
21    }
22  ]
23}

Language: json

Version History

2025-03-17

25.03.17

Initial release

Recommended Placement

None

Copyright © 2025 Fluent Retail Pty Ltd (trading as Fluent Commerce). All rights reserved. No materials on this docs.fluentcommerce.com site may be used in any way and/or for any purpose without prior written authorisation from Fluent Commerce. Current customers and partners shall use these materials strictly in accordance with the terms and conditions of their written agreements with Fluent Commerce or its affiliates.

Fluent Logo