@dereekb/dbx-components-mcp 14.11.0 → 14.12.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/dbx-components-mcp.js
CHANGED
|
@@ -10,7 +10,7 @@ var __export = (target, all) => {
|
|
|
10
10
|
// packages/dbx-components-mcp/package.json
|
|
11
11
|
var package_default = {
|
|
12
12
|
name: "@dereekb/dbx-components-mcp",
|
|
13
|
-
version: "14.
|
|
13
|
+
version: "14.12.0",
|
|
14
14
|
sideEffects: false,
|
|
15
15
|
type: "module",
|
|
16
16
|
bin: {
|
|
@@ -22,8 +22,8 @@ var package_default = {
|
|
|
22
22
|
"ts-morph": "^21.0.0"
|
|
23
23
|
},
|
|
24
24
|
peerDependencies: {
|
|
25
|
-
"@dereekb/dbx-cli": "14.
|
|
26
|
-
"@dereekb/util": "14.
|
|
25
|
+
"@dereekb/dbx-cli": "14.12.0",
|
|
26
|
+
"@dereekb/util": "14.12.0"
|
|
27
27
|
}
|
|
28
28
|
};
|
|
29
29
|
|
|
@@ -1616,6 +1616,122 @@
|
|
|
1616
1616
|
"format-date-range"
|
|
1617
1617
|
]
|
|
1618
1618
|
},
|
|
1619
|
+
{
|
|
1620
|
+
"slug": "date-or-day-string-range-to-date-range",
|
|
1621
|
+
"name": "dateOrDayStringRangeToDateRange",
|
|
1622
|
+
"kind": "function",
|
|
1623
|
+
"category": "date",
|
|
1624
|
+
"module": "@dereekb/date",
|
|
1625
|
+
"subpath": "date/date.range.string",
|
|
1626
|
+
"signature": "dateOrDayStringRangeToDateRange(range: DateOrDayStringRange): DateRange",
|
|
1627
|
+
"description": "Converts a {@link DateOrDayStringRange} to a {@link DateRange} by parsing any string values to the start of their respective days.",
|
|
1628
|
+
"params": [
|
|
1629
|
+
{
|
|
1630
|
+
"name": "range",
|
|
1631
|
+
"type": "DateOrDayStringRange",
|
|
1632
|
+
"description": "- The range with Date or string values.",
|
|
1633
|
+
"optional": false
|
|
1634
|
+
}
|
|
1635
|
+
],
|
|
1636
|
+
"returns": "A DateRange with concrete Date objects.",
|
|
1637
|
+
"tags": [
|
|
1638
|
+
"date",
|
|
1639
|
+
"range",
|
|
1640
|
+
"day",
|
|
1641
|
+
"string",
|
|
1642
|
+
"iso8601",
|
|
1643
|
+
"parse",
|
|
1644
|
+
"convert",
|
|
1645
|
+
"to",
|
|
1646
|
+
"or",
|
|
1647
|
+
"dateordaystringrangetodaterange"
|
|
1648
|
+
],
|
|
1649
|
+
"example": "const range = dateOrDayStringRangeToDateRange({ start: '2024-01-01', end: '2024-01-31' });\n// range.start and range.end are Date objects at start of day",
|
|
1650
|
+
"relatedSlugs": [
|
|
1651
|
+
"date-or-day-string-range-to-iso8601-day-string-range",
|
|
1652
|
+
"iso8601-day-string-range-params-to-date-range"
|
|
1653
|
+
]
|
|
1654
|
+
},
|
|
1655
|
+
{
|
|
1656
|
+
"slug": "date-or-day-string-range-to-iso8601-day-string-range",
|
|
1657
|
+
"name": "dateOrDayStringRangeToISO8601DayStringRange",
|
|
1658
|
+
"kind": "function",
|
|
1659
|
+
"category": "date",
|
|
1660
|
+
"module": "@dereekb/date",
|
|
1661
|
+
"subpath": "date/date.range.string",
|
|
1662
|
+
"signature": "dateOrDayStringRangeToISO8601DayStringRange(range: DateOrDayStringRange): ISO8601DayStringRange",
|
|
1663
|
+
"description": "Converts a {@link DateOrDayStringRange} to an {@link ISO8601DayStringRange} by formatting any Date values as ISO 8601 day strings using the system timezone.",
|
|
1664
|
+
"params": [
|
|
1665
|
+
{
|
|
1666
|
+
"name": "range",
|
|
1667
|
+
"type": "DateOrDayStringRange",
|
|
1668
|
+
"description": "- The range with Date or string values.",
|
|
1669
|
+
"optional": false
|
|
1670
|
+
}
|
|
1671
|
+
],
|
|
1672
|
+
"returns": "A range with both start and end as ISO 8601 day strings.",
|
|
1673
|
+
"tags": [
|
|
1674
|
+
"date",
|
|
1675
|
+
"range",
|
|
1676
|
+
"day",
|
|
1677
|
+
"string",
|
|
1678
|
+
"iso8601",
|
|
1679
|
+
"params",
|
|
1680
|
+
"url",
|
|
1681
|
+
"query",
|
|
1682
|
+
"route",
|
|
1683
|
+
"format",
|
|
1684
|
+
"convert",
|
|
1685
|
+
"to",
|
|
1686
|
+
"or",
|
|
1687
|
+
"dateordaystringrangetoiso8601daystringrange"
|
|
1688
|
+
],
|
|
1689
|
+
"example": "const stringRange = dateOrDayStringRangeToISO8601DayStringRange({\n start: new Date('2024-01-01T10:00:00Z'),\n end: '2024-01-31'\n});\n// stringRange.start === '2024-01-01', stringRange.end === '2024-01-31'",
|
|
1690
|
+
"relatedSlugs": [
|
|
1691
|
+
"date-or-day-string-range-to-date-range",
|
|
1692
|
+
"iso8601-day-string-range-params-to-date-range"
|
|
1693
|
+
]
|
|
1694
|
+
},
|
|
1695
|
+
{
|
|
1696
|
+
"slug": "iso8601-day-string-range-params-to-date-range",
|
|
1697
|
+
"name": "iso8601DayStringRangeParamsToDateRange",
|
|
1698
|
+
"kind": "function",
|
|
1699
|
+
"category": "date",
|
|
1700
|
+
"module": "@dereekb/date",
|
|
1701
|
+
"subpath": "date/date.range.string",
|
|
1702
|
+
"signature": "iso8601DayStringRangeParamsToDateRange(params: Maybe<ISO8601DayStringRangeParams>): Maybe<DateRange>",
|
|
1703
|
+
"description": "Converts {@link ISO8601DayStringRangeParams} to a {@link DateRange}, reading the days in the system timezone.\n\nUnlike {@link dateOrDayStringRangeToDateRange}, the values are checked first, and the range ends at the end of the end day.\nA start that is missing or not a valid ISO 8601 day string returns undefined. An end that is missing, invalid, or before the\nstart is ignored, so the range covers just the start day.",
|
|
1704
|
+
"params": [
|
|
1705
|
+
{
|
|
1706
|
+
"name": "params",
|
|
1707
|
+
"type": "Maybe<ISO8601DayStringRangeParams>",
|
|
1708
|
+
"description": "- The params to read, typically the current route's params.",
|
|
1709
|
+
"optional": false
|
|
1710
|
+
}
|
|
1711
|
+
],
|
|
1712
|
+
"returns": "The date range, or undefined when there is no valid start day.",
|
|
1713
|
+
"tags": [
|
|
1714
|
+
"date",
|
|
1715
|
+
"range",
|
|
1716
|
+
"day",
|
|
1717
|
+
"string",
|
|
1718
|
+
"iso8601",
|
|
1719
|
+
"params",
|
|
1720
|
+
"url",
|
|
1721
|
+
"query",
|
|
1722
|
+
"route",
|
|
1723
|
+
"parse",
|
|
1724
|
+
"validate",
|
|
1725
|
+
"convert",
|
|
1726
|
+
"to",
|
|
1727
|
+
"iso8601daystringrangeparamstodaterange"
|
|
1728
|
+
],
|
|
1729
|
+
"example": "iso8601DayStringRangeParamsToDateRange({ start: '2026-10-14', end: '2026-10-20' });\n// { start: 2026-10-14T00:00:00, end: 2026-10-20T23:59:59.999 } (system timezone)\n\niso8601DayStringRangeParamsToDateRange({ start: '2026-10-14' });\n// { start: 2026-10-14T00:00:00, end: 2026-10-14T23:59:59.999 }\n\niso8601DayStringRangeParamsToDateRange({ start: 'tomorrow' });\n// undefined",
|
|
1730
|
+
"relatedSlugs": [
|
|
1731
|
+
"date-or-day-string-range-to-iso8601-day-string-range",
|
|
1732
|
+
"date-or-day-string-range-to-date-range"
|
|
1733
|
+
]
|
|
1734
|
+
},
|
|
1619
1735
|
{
|
|
1620
1736
|
"slug": "date-range-days-count",
|
|
1621
1737
|
"name": "dateRangeDaysCount",
|
|
@@ -108,6 +108,31 @@
|
|
|
108
108
|
"dbx__ref__dbx-component-patterns"
|
|
109
109
|
]
|
|
110
110
|
},
|
|
111
|
+
{
|
|
112
|
+
"kind": "directive",
|
|
113
|
+
"slug": "map-route-params",
|
|
114
|
+
"selector": "[dbxFilterMapRouteParams]",
|
|
115
|
+
"className": "DbxFilterMapRouteParamsDirective",
|
|
116
|
+
"module": "@dereekb/dbx-core",
|
|
117
|
+
"description": "Loads the filter of a keyed entry in an ancestor {@link FilterMap} from the current route params, so a link can open the page on a specific filter.\n\nThe params' filter becomes the key's default filter when the page loads, and a later change to the params (such as a link to\nthe same page with other params) sets the key's filter. When {@link DbxFilterMapRouteParamsConfig.paramsFromFilter} is set,\nevery change to the key is also written back to the URL, so reloading the page keeps the filter.\n\nThe params must be declared on the current route (for UIRouter, as query params of an ancestor state, ideally `dynamic: true`\nso writing them does not reload the state). Do not use it together with {@link DbxFilterMapStorageDirective} on the same key,\nsince both set the key's default filter.",
|
|
118
|
+
"inputs": [
|
|
119
|
+
{
|
|
120
|
+
"name": "dbxFilterMapRouteParams",
|
|
121
|
+
"type": "Maybe<DbxFilterMapRouteParamsConfig<F>>",
|
|
122
|
+
"description": "The key to load and how to read and write its params."
|
|
123
|
+
}
|
|
124
|
+
],
|
|
125
|
+
"outputs": [],
|
|
126
|
+
"example": "<div dbxFilterMap>\n <my-filter-button [dbxFilterMapSourceConnector]=\"'list'\" [dbxFilterMapRouteParams]=\"routeParamsConfig\"></my-filter-button>\n</div>",
|
|
127
|
+
"relatedSlugs": [
|
|
128
|
+
"map",
|
|
129
|
+
"map-storage",
|
|
130
|
+
"map-source-connector"
|
|
131
|
+
],
|
|
132
|
+
"skillRefs": [
|
|
133
|
+
"dbx__ref__dbx-component-patterns"
|
|
134
|
+
]
|
|
135
|
+
},
|
|
111
136
|
{
|
|
112
137
|
"kind": "directive",
|
|
113
138
|
"slug": "map-source",
|
|
@@ -151,7 +176,8 @@
|
|
|
151
176
|
"relatedSlugs": [
|
|
152
177
|
"map",
|
|
153
178
|
"map-source-connector",
|
|
154
|
-
"map-merge-source"
|
|
179
|
+
"map-merge-source",
|
|
180
|
+
"map-route-params"
|
|
155
181
|
],
|
|
156
182
|
"skillRefs": [
|
|
157
183
|
"dbx__ref__dbx-component-patterns"
|
|
@@ -2734,6 +2734,12 @@
|
|
|
2734
2734
|
"required": false,
|
|
2735
2735
|
"default": "false"
|
|
2736
2736
|
},
|
|
2737
|
+
{
|
|
2738
|
+
"name": "buttonStyle",
|
|
2739
|
+
"type": "Maybe<DbxButtonStyle>",
|
|
2740
|
+
"description": "Style passed to the button when the navbar renders as a button (the \"button\" and \"icon\" modes), such as a flat type and a color.\n\nThe active anchor's activeButton style is used instead, if it has one. Has no effect on the tab bar.",
|
|
2741
|
+
"required": false
|
|
2742
|
+
},
|
|
2737
2743
|
{
|
|
2738
2744
|
"name": "fab",
|
|
2739
2745
|
"type": "boolean",
|
|
@@ -2789,7 +2795,7 @@
|
|
|
2789
2795
|
},
|
|
2790
2796
|
{
|
|
2791
2797
|
"name": "anchors",
|
|
2792
|
-
"type": "Maybe<
|
|
2798
|
+
"type": "Maybe<DbxNavbarClickableAnchorLinkSegueRef[]>",
|
|
2793
2799
|
"description": "",
|
|
2794
2800
|
"required": false,
|
|
2795
2801
|
"default": "[]"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dereekb/dbx-components-mcp",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.12.0",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"ts-morph": "^21.0.0"
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"@dereekb/dbx-cli": "14.
|
|
16
|
-
"@dereekb/util": "14.
|
|
15
|
+
"@dereekb/dbx-cli": "14.12.0",
|
|
16
|
+
"@dereekb/util": "14.12.0"
|
|
17
17
|
}
|
|
18
18
|
}
|