@mapvx/web-components-ssr 1.7.0-dev.1 → 1.7.0-dev.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/README.md +17 -13
- package/dist/browser/{chunk-Cg9Nd_Mm.js → chunk-BcTPI0Ei.js} +78 -78
- package/dist/browser/chunk-BxefRtM9.js +3 -0
- package/dist/browser/{chunk-qJiyNNGo.js → chunk-C64ZrtDH.js} +9 -9
- package/dist/browser/{chunk-BK2bFfek.js → chunk-C7x5ioh5.js} +28 -28
- package/dist/browser/chunk-CHv413eO.js +13 -0
- package/dist/browser/chunk-CRCKWzfw.js +3 -0
- package/dist/browser/chunk-CYtO4qrL.js +3 -0
- package/dist/browser/chunk-CgRco1rJ.js +2 -0
- package/dist/browser/chunk-CwafJShv.js +3 -0
- package/dist/browser/chunk-D6zG2upO.js +1180 -0
- package/dist/browser/chunk-DIEcQ4a-.js +1318 -0
- package/dist/browser/chunk-DtPiRK4g.js +3 -0
- package/dist/browser/chunk-FjUzkN6v.js +2 -0
- package/dist/browser/chunk-KW-jIWmp.js +3 -0
- package/dist/browser/chunk-sqKVpUVP.js +4116 -0
- package/dist/browser/main.js +71 -71
- package/dist/browser/styles.css +1 -1
- package/dist/types/public-api.d.ts +90 -24
- package/package.json +29 -29
- package/dist/browser/chunk-7vIcv6rM.js +0 -1180
- package/dist/browser/chunk-Bjk3HkK2.js +0 -3
- package/dist/browser/chunk-CCaUxYwr.js +0 -3
- package/dist/browser/chunk-CTFjnL_B.js +0 -2
- package/dist/browser/chunk-ClYPPgpq.js +0 -3
- package/dist/browser/chunk-ConEJto8.js +0 -1318
- package/dist/browser/chunk-CuTcljJ2.js +0 -2
- package/dist/browser/chunk-CzASft0S.js +0 -13
- package/dist/browser/chunk-DAjekpI-.js +0 -3
- package/dist/browser/chunk-DHX-WiFW.js +0 -3
- package/dist/browser/chunk-DsKCGfdq.js +0 -3
- package/dist/browser/chunk-LltjhLJU.js +0 -4116
package/README.md
CHANGED
|
@@ -247,19 +247,23 @@ export class MyComponent {
|
|
|
247
247
|
|
|
248
248
|
The web component accepts the following input properties to customize its behavior:
|
|
249
249
|
|
|
250
|
-
| Property
|
|
251
|
-
|
|
|
252
|
-
| `api-key`
|
|
253
|
-
| `institution-id`
|
|
254
|
-
| `initial-data`
|
|
255
|
-
| `default-to-map`
|
|
256
|
-
| `show-category-filters`
|
|
257
|
-
| `show-city-filter`
|
|
258
|
-
| `
|
|
259
|
-
| `
|
|
260
|
-
| `
|
|
261
|
-
| `
|
|
262
|
-
| `
|
|
250
|
+
| Property | Type | Required | Default | Description |
|
|
251
|
+
| ------------------------- | --------- | ---------- | ------------------------------- | ------------------------------------------------------------------------------------------------- |
|
|
252
|
+
| `api-key` | `string` | ✅ **Yes** | - | Valid API key to initialize the SDK |
|
|
253
|
+
| `institution-id` | `string` | ✅ **Yes** | - | Institution ID for specific data filtering and search |
|
|
254
|
+
| `initial-data` | `string` | ❌ No | - | JSON string with initial data (use `prepareInitialData` from `@mapvx/web-components-ssr-helpers`) |
|
|
255
|
+
| `default-to-map` | `boolean` | ❌ No | `false` | If `true`, shows map view by default |
|
|
256
|
+
| `show-category-filters` | `boolean` | ❌ No | `true` | If `true`, shows category filters |
|
|
257
|
+
| `show-city-filter` | `boolean` | ❌ No | `true` | If `true`, shows city filter |
|
|
258
|
+
| `show-view-toggle` | `boolean` | ❌ No | `true` | If `true`, shows the Grid View / Map View toggle |
|
|
259
|
+
| `show-search-bar` | `boolean` | ❌ No | `true` | If `true`, shows the search bar |
|
|
260
|
+
| `full-width-map` | `boolean` | ❌ No | `false` | If `true`, the map fills the width in map view and the card list beside it is hidden |
|
|
261
|
+
| `hide-unselected-markers` | `boolean` | ❌ No | `false` | If `true`, while a place profile is open only that place's marker stays on the map |
|
|
262
|
+
| `inherit-font-family` | `boolean` | ❌ No | `false` | If `true`, inherits font family from parent |
|
|
263
|
+
| `hide-deals` | `boolean` | ❌ No | `false` | If `true`, hides deals and promotional content |
|
|
264
|
+
| `show-deal-labels` | `boolean` | ❌ No | `false` | If `true`, shows deal labels over their images on the home screen |
|
|
265
|
+
| `card-width` | `number` | ❌ No | `237` (desktop), `170` (mobile) | Custom card width in pixels for grid view. Affects card size and number of cards per row |
|
|
266
|
+
| `rows-per-page` | `number` | ❌ No | `2` | Maximum number of rows per page (1-10). Shows fewer rows if not enough cards to fill all rows |
|
|
263
267
|
|
|
264
268
|
### Input Usage Examples
|
|
265
269
|
|