@empathyco/x-components 4.1.0-alpha.24 → 4.1.0-alpha.25
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/CHANGELOG.md +9 -0
- package/docs/API-reference/api/x-components.locationprovider.md +12 -10
- package/docs/API-reference/api/x-components.md +1 -1
- package/docs/API-reference/components/common/x-components.location-provider.md +0 -6
- package/js/components/location-provider.vue.js.map +1 -1
- package/js/components/location-provider.vue2.js +31 -13
- package/js/components/location-provider.vue2.js.map +1 -1
- package/package.json +2 -2
- package/report/x-components.api.json +95 -45
- package/report/x-components.api.md +11 -5
- package/types/components/location-provider.vue.d.ts +18 -4
- package/types/components/location-provider.vue.d.ts.map +1 -1
- package/docs/API-reference/api/x-components.locationprovider.location.md +0 -13
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,15 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [4.1.0-alpha.25](https://github.com/empathyco/x/compare/@empathyco/x-components@4.1.0-alpha.24...@empathyco/x-components@4.1.0-alpha.25) (2024-02-23)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Code Refactoring
|
|
10
|
+
|
|
11
|
+
* **components:** migrate location-provider component to vue 2.7 (#1421) ([98377e8](https://github.com/empathyco/x/commit/98377e8fb4e3a65dce7aa8ddd144cd69f2ab1395))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
6
15
|
## [4.1.0-alpha.24](https://github.com/empathyco/x/compare/@empathyco/x-components@4.1.0-alpha.23...@empathyco/x-components@4.1.0-alpha.24) (2024-02-21)
|
|
7
16
|
|
|
8
17
|
|
|
@@ -2,20 +2,22 @@
|
|
|
2
2
|
|
|
3
3
|
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [LocationProvider](./x-components.locationprovider.md)
|
|
4
4
|
|
|
5
|
-
## LocationProvider
|
|
5
|
+
## LocationProvider variable
|
|
6
6
|
|
|
7
7
|
Location Provider component. This component injects the location with value passed as prop.
|
|
8
8
|
|
|
9
9
|
**Signature:**
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
|
|
12
|
+
_default: import("vue").DefineComponent<{
|
|
13
|
+
location: {
|
|
14
|
+
type: PropType<FeatureLocation>;
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
}, () => import("vue").VNode, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
18
|
+
location: {
|
|
19
|
+
type: PropType<FeatureLocation>;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
|
+
}>>, {}>
|
|
13
23
|
```
|
|
14
|
-
**Extends:** NoElement
|
|
15
|
-
|
|
16
|
-
## Properties
|
|
17
|
-
|
|
18
|
-
| Property | Modifiers | Type | Description |
|
|
19
|
-
| --- | --- | --- | --- |
|
|
20
|
-
| [location](./x-components.locationprovider.location.md) | <code>protected</code> | [FeatureLocation](./x-components.featurelocation.md) | The [FeatureLocation](./x-components.featurelocation.md) to provide. |
|
|
21
|
-
|
|
@@ -67,7 +67,6 @@ X-Components is a library usable everywhere not only for search experiences.
|
|
|
67
67
|
| [IdentifierResults](./x-components.identifierresults.md) | Paints the list of identifier results stored in the state. Each identifier result should be represented by a [IdentifierResult](./x-components.identifierresult.md) component besides any other component. |
|
|
68
68
|
| [ItemsList](./x-components.itemslist.md) | It renders a list of [ListItem](./x-components.listitem.md) providing a slot for each <code>slotName</code> which depends on the <code>modelName</code>of the item. |
|
|
69
69
|
| [ItemsListInjectionMixin](./x-components.itemslistinjectionmixin.md) | Mixin to facilitate providing and injecting a list of list items. Injected list is available at <code>injectedListItems</code>, and the provided list should be stored in <code>items</code>. |
|
|
70
|
-
| [LocationProvider](./x-components.locationprovider.md) | Location Provider component. This component injects the location with value passed as prop. |
|
|
71
70
|
| [MainScroll](./x-components.mainscroll.md) | <p>Extends the scroll making it able to sync the first visible element, and allowing the children position to be restored.</p><p>Each child element that wants to have this support must be wrapped in a [MainScrollItem](./x-components.mainscrollitem.md) component.</p> |
|
|
72
71
|
| [MainScrollItem](./x-components.mainscrollitem.md) | Wrapper for elements contained in the [MainScroll](./x-components.mainscroll.md) that should store/restore its position. |
|
|
73
72
|
| [MultiColumnMaxWidthLayout](./x-components.multicolumnmaxwidthlayout.md) | Component for use as Layout to be filled with the rest of the Components. |
|
|
@@ -538,6 +537,7 @@ X-Components is a library usable everywhere not only for search experiences.
|
|
|
538
537
|
| [LightBulbOn](./x-components.lightbulbon.md) | |
|
|
539
538
|
| [loadHistoryQueriesFromBrowserStorage](./x-components.loadhistoryqueriesfrombrowserstorage.md) | Default implementation for the [HistoryQueriesActions.loadHistoryQueriesFromBrowserStorage()](./x-components.historyqueriesactions.loadhistoryqueriesfrombrowserstorage.md) action. |
|
|
540
539
|
| [loadHistoryQueriesFromBrowserStorageWire](./x-components.loadhistoryqueriesfrombrowserstoragewire.md) | Loads the history queries from the browser storage, saving them to the [HistoryQueriesState.historyQueries](./x-components.historyqueriesstate.historyqueries.md)<!-- -->. |
|
|
540
|
+
| [LocationProvider](./x-components.locationprovider.md) | Location Provider component. This component injects the location with value passed as prop. |
|
|
541
541
|
| [MainModal](./x-components.mainmodal.md) | A specialised version of a modal component, made to contain a full search application. |
|
|
542
542
|
| [MenuIcon](./x-components.menuicon.md) | |
|
|
543
543
|
| [MinusIcon](./x-components.minusicon.md) | |
|
|
@@ -14,12 +14,6 @@ Location Provider component. This component injects the location with value pass
|
|
|
14
14
|
| --------------------- | ------------------------------- | ---------------------------- | ------------- |
|
|
15
15
|
| <code>location</code> | The FeatureLocation to provide. | <code>FeatureLocation</code> | <code></code> |
|
|
16
16
|
|
|
17
|
-
## Slots
|
|
18
|
-
|
|
19
|
-
| Name | Description | Bindings<br />(name - type - description) |
|
|
20
|
-
| -------------------- | ----------- | ----------------------------------------- |
|
|
21
|
-
| <code>default</code> | | None |
|
|
22
|
-
|
|
23
17
|
## Events
|
|
24
18
|
|
|
25
19
|
This component doesn't emit events. However, events emitted by child components, will include the
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"location-provider.vue.js","sources":["../../../src/components/location-provider.vue"],"sourcesContent":["<script lang=\"ts\">\n import {
|
|
1
|
+
{"version":3,"file":"location-provider.vue.js","sources":["../../../src/components/location-provider.vue"],"sourcesContent":["<script lang=\"ts\">\n import { defineComponent, PropType, provide, toRef } from 'vue';\n import { FeatureLocation } from '../types';\n import { useNoElementRender } from '../composables/index';\n\n /**\n * Location Provider component.\n * This component injects the location with value passed as prop.\n *\n * @public\n */\n export default defineComponent({\n name: 'LocationProvider',\n props: {\n /**\n * The {@link FeatureLocation} to provide.\n *\n * @public\n */\n location: {\n type: String as PropType<FeatureLocation>,\n required: true\n }\n },\n setup(props, { slots }) {\n const featureLocation = toRef(props, 'location');\n provide('location', featureLocation);\n\n return () => useNoElementRender(slots);\n }\n });\n</script>\n\n<docs lang=\"mdx\">\n## Events\n\nThis component doesn't emit events. However, events emitted by child components, will include the\n`location` prop value in its metadata.\n\n## See it in action\n\nIn this example, the `LocationProvider` component receives the `location` prop with the\n`predictive_layer` value. This value will then be combined with the `NextQueries` feature name,\n`next_query` to create a `QueryOrigin` string, which is used for tracking the performance of the\ndifferent tools that generate the query.\n\n```vue\n<template>\n <LocationProvider location=\"predictive_layer\">\n <NextQueries />\n </LocationProvider>\n</template>\n<script>\n import { LocationProvider } from '@empathyco/x-components';\n import { NextQueries } from '@empathyco/x-components/next-queries';\n export default {\n name: 'LocationProviderDemo',\n components: {\n LocationProvider,\n NextQueries\n }\n };\n</script>\n```\n</docs>\n"],"names":[],"mappings":";;;;AAEA,MAAc,cAAA,GAAA,OAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,6 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
1
|
+
import { defineComponent, toRef, provide } from 'vue';
|
|
2
|
+
import '../composables/create-use-device.composable.js';
|
|
3
|
+
import { useNoElementRender } from '../composables/use-no-element-render.js';
|
|
4
|
+
import '../plugins/x-plugin.js';
|
|
5
|
+
import '@vueuse/core';
|
|
6
|
+
import '@vue/devtools-api';
|
|
7
|
+
import '../plugins/devtools/timeline.devtools.js';
|
|
8
|
+
import '@empathyco/x-utils';
|
|
9
|
+
import 'rxjs/operators';
|
|
10
|
+
import 'rxjs';
|
|
11
|
+
import '../plugins/devtools/colors.utils.js';
|
|
12
|
+
import '../plugins/x-bus.js';
|
|
4
13
|
|
|
5
14
|
/**
|
|
6
15
|
* Location Provider component.
|
|
@@ -8,16 +17,25 @@ import { NoElement } from './no-element.js';
|
|
|
8
17
|
*
|
|
9
18
|
* @public
|
|
10
19
|
*/
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
20
|
+
var script = defineComponent({
|
|
21
|
+
name: 'LocationProvider',
|
|
22
|
+
props: {
|
|
23
|
+
/**
|
|
24
|
+
* The {@link FeatureLocation} to provide.
|
|
25
|
+
*
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
28
|
+
location: {
|
|
29
|
+
type: String,
|
|
30
|
+
required: true
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
setup(props, { slots }) {
|
|
34
|
+
const featureLocation = toRef(props, 'location');
|
|
35
|
+
provide('location', featureLocation);
|
|
36
|
+
return () => useNoElementRender(slots);
|
|
37
|
+
}
|
|
38
|
+
});
|
|
21
39
|
|
|
22
40
|
export { script as default };
|
|
23
41
|
//# sourceMappingURL=location-provider.vue2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"location-provider.vue2.js","sources":["../../../src/components/location-provider.vue?rollup-plugin-vue=script.ts"],"sourcesContent":["\n import {
|
|
1
|
+
{"version":3,"file":"location-provider.vue2.js","sources":["../../../src/components/location-provider.vue?rollup-plugin-vue=script.ts"],"sourcesContent":["\n import { defineComponent, PropType, provide, toRef } from 'vue';\n import { FeatureLocation } from '../types';\n import { useNoElementRender } from '../composables/index';\n\n /**\n * Location Provider component.\n * This component injects the location with value passed as prop.\n *\n * @public\n */\n export default defineComponent({\n name: 'LocationProvider',\n props: {\n /**\n * The {@link FeatureLocation} to provide.\n *\n * @public\n */\n location: {\n type: String as PropType<FeatureLocation>,\n required: true\n }\n },\n setup(props, { slots }) {\n const featureLocation = toRef(props, 'location');\n provide('location', featureLocation);\n\n return () => useNoElementRender(slots);\n }\n });\n"],"names":[],"mappings":";;;;;;;;;;;;;AAKE;;;;;AAKG;AACH,aAAe,eAAe,CAAC;AAC7B,IAAA,IAAI,EAAE,kBAAkB;AACxB,IAAA,KAAK,EAAE;AACL;;;;AAIG;AACH,QAAA,QAAQ,EAAE;AACR,YAAA,IAAI,EAAE,MAAmC;AACzC,YAAA,QAAQ,EAAE,IAAI;AACf,SAAA;AACF,KAAA;AACD,IAAA,KAAK,CAAC,KAAK,EAAE,EAAE,KAAK,EAAE,EAAA;QACpB,MAAM,eAAe,GAAG,KAAK,CAAC,KAAK,EAAE,UAAU,CAAC,CAAC;AACjD,QAAA,OAAO,CAAC,UAAU,EAAE,eAAe,CAAC,CAAC;AAErC,QAAA,OAAO,MAAM,kBAAkB,CAAC,KAAK,CAAC,CAAC;KACxC;AACF,CAAA,CAAC;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@empathyco/x-components",
|
|
3
|
-
"version": "4.1.0-alpha.
|
|
3
|
+
"version": "4.1.0-alpha.25",
|
|
4
4
|
"description": "Empathy X Components",
|
|
5
5
|
"author": "Empathy Systems Corporation S.L.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -143,5 +143,5 @@
|
|
|
143
143
|
"access": "public",
|
|
144
144
|
"directory": "dist"
|
|
145
145
|
},
|
|
146
|
-
"gitHead": "
|
|
146
|
+
"gitHead": "2aab60ec704c772f6c3e7b63ef9d12532ad85b5b"
|
|
147
147
|
}
|
|
@@ -30569,67 +30569,117 @@
|
|
|
30569
30569
|
}
|
|
30570
30570
|
},
|
|
30571
30571
|
{
|
|
30572
|
-
"kind": "
|
|
30573
|
-
"canonicalReference": "@empathyco/x-components!LocationProvider:
|
|
30572
|
+
"kind": "Variable",
|
|
30573
|
+
"canonicalReference": "@empathyco/x-components!LocationProvider:var",
|
|
30574
30574
|
"docComment": "/**\n * Location Provider component. This component injects the location with value passed as prop.\n *\n * @public\n */\n",
|
|
30575
30575
|
"excerptTokens": [
|
|
30576
30576
|
{
|
|
30577
30577
|
"kind": "Content",
|
|
30578
|
-
"text": "
|
|
30578
|
+
"text": "_default: "
|
|
30579
|
+
},
|
|
30580
|
+
{
|
|
30581
|
+
"kind": "Content",
|
|
30582
|
+
"text": "import(\"vue\")."
|
|
30579
30583
|
},
|
|
30580
30584
|
{
|
|
30581
30585
|
"kind": "Reference",
|
|
30582
|
-
"text": "
|
|
30583
|
-
"canonicalReference": "
|
|
30586
|
+
"text": "DefineComponent",
|
|
30587
|
+
"canonicalReference": "vue!DefineComponent:type"
|
|
30584
30588
|
},
|
|
30585
30589
|
{
|
|
30586
30590
|
"kind": "Content",
|
|
30587
|
-
"text": " "
|
|
30591
|
+
"text": "<{\n location: {\n type: "
|
|
30592
|
+
},
|
|
30593
|
+
{
|
|
30594
|
+
"kind": "Reference",
|
|
30595
|
+
"text": "PropType",
|
|
30596
|
+
"canonicalReference": "vue!PropType:type"
|
|
30597
|
+
},
|
|
30598
|
+
{
|
|
30599
|
+
"kind": "Content",
|
|
30600
|
+
"text": "<"
|
|
30601
|
+
},
|
|
30602
|
+
{
|
|
30603
|
+
"kind": "Reference",
|
|
30604
|
+
"text": "FeatureLocation",
|
|
30605
|
+
"canonicalReference": "@empathyco/x-components!FeatureLocation:type"
|
|
30606
|
+
},
|
|
30607
|
+
{
|
|
30608
|
+
"kind": "Content",
|
|
30609
|
+
"text": ">;\n required: true;\n };\n}, () => import(\"vue\")."
|
|
30610
|
+
},
|
|
30611
|
+
{
|
|
30612
|
+
"kind": "Reference",
|
|
30613
|
+
"text": "VNode",
|
|
30614
|
+
"canonicalReference": "vue!VNode:interface"
|
|
30615
|
+
},
|
|
30616
|
+
{
|
|
30617
|
+
"kind": "Content",
|
|
30618
|
+
"text": ", {}, {}, {}, import(\"vue/types/v3-component-options\")."
|
|
30619
|
+
},
|
|
30620
|
+
{
|
|
30621
|
+
"kind": "Reference",
|
|
30622
|
+
"text": "ComponentOptionsMixin",
|
|
30623
|
+
"canonicalReference": "vue!ComponentOptionsMixin:type"
|
|
30624
|
+
},
|
|
30625
|
+
{
|
|
30626
|
+
"kind": "Content",
|
|
30627
|
+
"text": ", import(\"vue/types/v3-component-options\")."
|
|
30628
|
+
},
|
|
30629
|
+
{
|
|
30630
|
+
"kind": "Reference",
|
|
30631
|
+
"text": "ComponentOptionsMixin",
|
|
30632
|
+
"canonicalReference": "vue!ComponentOptionsMixin:type"
|
|
30633
|
+
},
|
|
30634
|
+
{
|
|
30635
|
+
"kind": "Content",
|
|
30636
|
+
"text": ", {}, string, "
|
|
30637
|
+
},
|
|
30638
|
+
{
|
|
30639
|
+
"kind": "Reference",
|
|
30640
|
+
"text": "Readonly",
|
|
30641
|
+
"canonicalReference": "!Readonly:type"
|
|
30642
|
+
},
|
|
30643
|
+
{
|
|
30644
|
+
"kind": "Content",
|
|
30645
|
+
"text": "<import(\"vue\")."
|
|
30646
|
+
},
|
|
30647
|
+
{
|
|
30648
|
+
"kind": "Reference",
|
|
30649
|
+
"text": "ExtractPropTypes",
|
|
30650
|
+
"canonicalReference": "vue!ExtractPropTypes:type"
|
|
30651
|
+
},
|
|
30652
|
+
{
|
|
30653
|
+
"kind": "Content",
|
|
30654
|
+
"text": "<{\n location: {\n type: "
|
|
30655
|
+
},
|
|
30656
|
+
{
|
|
30657
|
+
"kind": "Reference",
|
|
30658
|
+
"text": "PropType",
|
|
30659
|
+
"canonicalReference": "vue!PropType:type"
|
|
30660
|
+
},
|
|
30661
|
+
{
|
|
30662
|
+
"kind": "Content",
|
|
30663
|
+
"text": "<"
|
|
30664
|
+
},
|
|
30665
|
+
{
|
|
30666
|
+
"kind": "Reference",
|
|
30667
|
+
"text": "FeatureLocation",
|
|
30668
|
+
"canonicalReference": "@empathyco/x-components!FeatureLocation:type"
|
|
30669
|
+
},
|
|
30670
|
+
{
|
|
30671
|
+
"kind": "Content",
|
|
30672
|
+
"text": ">;\n required: true;\n };\n}>>, {}>"
|
|
30588
30673
|
}
|
|
30589
30674
|
],
|
|
30590
30675
|
"fileUrlPath": "dist/types/components/location-provider.vue.d.ts",
|
|
30676
|
+
"isReadonly": true,
|
|
30591
30677
|
"releaseTag": "Public",
|
|
30592
|
-
"isAbstract": false,
|
|
30593
30678
|
"name": "LocationProvider",
|
|
30594
|
-
"
|
|
30595
|
-
"members": [
|
|
30596
|
-
{
|
|
30597
|
-
"kind": "Property",
|
|
30598
|
-
"canonicalReference": "@empathyco/x-components!LocationProvider#location:member",
|
|
30599
|
-
"docComment": "/**\n * The {@link FeatureLocation} to provide.\n *\n * @public\n */\n",
|
|
30600
|
-
"excerptTokens": [
|
|
30601
|
-
{
|
|
30602
|
-
"kind": "Content",
|
|
30603
|
-
"text": "protected location: "
|
|
30604
|
-
},
|
|
30605
|
-
{
|
|
30606
|
-
"kind": "Reference",
|
|
30607
|
-
"text": "FeatureLocation",
|
|
30608
|
-
"canonicalReference": "@empathyco/x-components!FeatureLocation:type"
|
|
30609
|
-
},
|
|
30610
|
-
{
|
|
30611
|
-
"kind": "Content",
|
|
30612
|
-
"text": ";"
|
|
30613
|
-
}
|
|
30614
|
-
],
|
|
30615
|
-
"isReadonly": false,
|
|
30616
|
-
"isOptional": false,
|
|
30617
|
-
"releaseTag": "Public",
|
|
30618
|
-
"name": "location",
|
|
30619
|
-
"propertyTypeTokenRange": {
|
|
30620
|
-
"startIndex": 1,
|
|
30621
|
-
"endIndex": 2
|
|
30622
|
-
},
|
|
30623
|
-
"isStatic": false,
|
|
30624
|
-
"isProtected": true,
|
|
30625
|
-
"isAbstract": false
|
|
30626
|
-
}
|
|
30627
|
-
],
|
|
30628
|
-
"extendsTokenRange": {
|
|
30679
|
+
"variableTypeTokenRange": {
|
|
30629
30680
|
"startIndex": 1,
|
|
30630
|
-
"endIndex":
|
|
30631
|
-
}
|
|
30632
|
-
"implementsTokenRanges": []
|
|
30681
|
+
"endIndex": 22
|
|
30682
|
+
}
|
|
30633
30683
|
},
|
|
30634
30684
|
{
|
|
30635
30685
|
"kind": "Variable",
|
|
@@ -2986,12 +2986,18 @@ export const loadHistoryQueriesFromBrowserStorageWire: AnyWire;
|
|
|
2986
2986
|
// @internal
|
|
2987
2987
|
export const localStorageService: StorageService;
|
|
2988
2988
|
|
|
2989
|
-
// Warning: (ae-incompatible-release-tags) The symbol "LocationProvider" is marked as @public, but its signature references "NoElement" which is marked as @internal
|
|
2990
|
-
//
|
|
2991
2989
|
// @public
|
|
2992
|
-
export
|
|
2993
|
-
|
|
2994
|
-
|
|
2990
|
+
export const LocationProvider: DefineComponent< {
|
|
2991
|
+
location: {
|
|
2992
|
+
type: PropType<FeatureLocation>;
|
|
2993
|
+
required: true;
|
|
2994
|
+
};
|
|
2995
|
+
}, () => VNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes< {
|
|
2996
|
+
location: {
|
|
2997
|
+
type: PropType<FeatureLocation>;
|
|
2998
|
+
required: true;
|
|
2999
|
+
};
|
|
3000
|
+
}>>, {}>;
|
|
2995
3001
|
|
|
2996
3002
|
// @internal
|
|
2997
3003
|
export type Machine<SomeStatus extends string, SomeEvent extends string> = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
2
|
import { FeatureLocation } from '../types';
|
|
3
3
|
/**
|
|
4
4
|
* Location Provider component.
|
|
@@ -6,12 +6,26 @@ import { FeatureLocation } from '../types';
|
|
|
6
6
|
*
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
9
|
-
|
|
9
|
+
declare const _default: import("vue").DefineComponent<{
|
|
10
10
|
/**
|
|
11
11
|
* The {@link FeatureLocation} to provide.
|
|
12
12
|
*
|
|
13
13
|
* @public
|
|
14
14
|
*/
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
location: {
|
|
16
|
+
type: PropType<FeatureLocation>;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
}, () => import("vue").VNode, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
20
|
+
/**
|
|
21
|
+
* The {@link FeatureLocation} to provide.
|
|
22
|
+
*
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
25
|
+
location: {
|
|
26
|
+
type: PropType<FeatureLocation>;
|
|
27
|
+
required: true;
|
|
28
|
+
};
|
|
29
|
+
}>>, {}>;
|
|
30
|
+
export default _default;
|
|
17
31
|
//# sourceMappingURL=location-provider.vue?rollup-plugin-vue=script.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"location-provider.vue?rollup-plugin-vue=script.d.ts","sourceRoot":"","sources":["../../../src/components/location-provider.vue?rollup-plugin-vue=script.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"location-provider.vue?rollup-plugin-vue=script.d.ts","sourceRoot":"","sources":["../../../src/components/location-provider.vue?rollup-plugin-vue=script.ts"],"names":[],"mappings":"AACE,OAAO,EAAmB,QAAQ,EAAkB,MAAM,KAAK,CAAC;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAG3C;;;;;GAKG;;IAIC;;;;OAIG;;;;;;IAJH;;;;OAIG;;;;;;AAPP,wBAmBG"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [LocationProvider](./x-components.locationprovider.md) > [location](./x-components.locationprovider.location.md)
|
|
4
|
-
|
|
5
|
-
## LocationProvider.location property
|
|
6
|
-
|
|
7
|
-
The [FeatureLocation](./x-components.featurelocation.md) to provide.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
protected location: FeatureLocation;
|
|
13
|
-
```
|