@edx/frontend-app-subscription-manage 1.6.0 → 1.7.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/dist/slots.js CHANGED
@@ -1,7 +1,3 @@
1
- var _a;
2
- import { exampleHeaderApp } from './widgets/ExampleHeader';
3
- const slots = [
4
- ...((_a = exampleHeaderApp.slots) !== null && _a !== void 0 ? _a : []),
5
- ];
1
+ const slots = [];
6
2
  export default slots;
7
3
  //# sourceMappingURL=slots.js.map
package/dist/slots.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"slots.js","sourceRoot":"","sources":["../src/slots.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAE3D,MAAM,KAAK,GAAoB;IAC7B,GAAG,CAAC,MAAA,gBAAgB,CAAC,KAAK,mCAAI,EAAE,CAAC;CAClC,CAAC;AAEF,eAAe,KAAK,CAAC","sourcesContent":["import { SlotOperation } from '@openedx/frontend-base';\n\nimport { exampleHeaderApp } from './widgets/ExampleHeader';\n\nconst slots: SlotOperation[] = [\n ...(exampleHeaderApp.slots ?? []),\n];\n\nexport default slots;\n"]}
1
+ {"version":3,"file":"slots.js","sourceRoot":"","sources":["../src/slots.tsx"],"names":[],"mappings":"AAEA,MAAM,KAAK,GAAoB,EAAE,CAAC;AAElC,eAAe,KAAK,CAAC","sourcesContent":["import { SlotOperation } from '@openedx/frontend-base';\n\nconst slots: SlotOperation[] = [];\n\nexport default slots;\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edx/frontend-app-subscription-manage",
3
- "version": "1.6.0",
3
+ "version": "1.7.0",
4
4
  "description": "Subscription Manage Frontend application",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,3 +0,0 @@
1
- import { App } from '@openedx/frontend-base';
2
- declare const app: App;
3
- export default app;
@@ -1,19 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { LinkMenuItem, WidgetOperationTypes } from '@openedx/frontend-base';
3
- import { subscriptionManageRole } from '../../constants';
4
- const app = {
5
- appId: 'org.openedx.frontend.app.template.exampleHeader',
6
- slots: [
7
- {
8
- slotId: 'org.openedx.frontend.slot.header.primaryLinks.v1',
9
- id: 'org.openedx.frontend.widget.template.exampleHeaderLink.v1',
10
- op: WidgetOperationTypes.APPEND,
11
- element: (_jsx(LinkMenuItem, { label: "Example Menu", role: subscriptionManageRole, variant: "navLink" })),
12
- condition: {
13
- active: [subscriptionManageRole],
14
- },
15
- },
16
- ],
17
- };
18
- export default app;
19
- //# sourceMappingURL=app.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"app.js","sourceRoot":"","sources":["../../../src/widgets/ExampleHeader/app.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAO,YAAY,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAEjF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,MAAM,GAAG,GAAQ;IACf,KAAK,EAAE,iDAAiD;IACxD,KAAK,EAAE;QACL;YACE,MAAM,EAAE,kDAAkD;YAC1D,EAAE,EAAE,2DAA2D;YAC/D,EAAE,EAAE,oBAAoB,CAAC,MAAM;YAC/B,OAAO,EAAE,CACP,KAAC,YAAY,IACX,KAAK,EAAC,cAAc,EACpB,IAAI,EAAE,sBAAsB,EAC5B,OAAO,EAAC,SAAS,GACjB,CACH;YACD,SAAS,EAAE;gBACT,MAAM,EAAE,CAAC,sBAAsB,CAAC;aACjC;SACF;KACF;CACF,CAAC;AAEF,eAAe,GAAG,CAAC","sourcesContent":["import { App, LinkMenuItem, WidgetOperationTypes } from '@openedx/frontend-base';\n\nimport { subscriptionManageRole } from '../../constants';\n\nconst app: App = {\n appId: 'org.openedx.frontend.app.template.exampleHeader',\n slots: [\n {\n slotId: 'org.openedx.frontend.slot.header.primaryLinks.v1',\n id: 'org.openedx.frontend.widget.template.exampleHeaderLink.v1',\n op: WidgetOperationTypes.APPEND,\n element: (\n <LinkMenuItem\n label=\"Example Menu\"\n role={subscriptionManageRole}\n variant=\"navLink\"\n />\n ),\n condition: {\n active: [subscriptionManageRole],\n },\n },\n ],\n};\n\nexport default app;\n"]}
@@ -1 +0,0 @@
1
- export { default as exampleHeaderApp } from './app';
@@ -1,2 +0,0 @@
1
- export { default as exampleHeaderApp } from './app';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/widgets/ExampleHeader/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,OAAO,CAAC","sourcesContent":["export { default as exampleHeaderApp } from './app';\n"]}