@cccsaurora/howler-ui 2.15.0-dev.292 → 2.15.0-dev.296

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.
@@ -49,6 +49,10 @@ import TemplateViewer from '@cccsaurora/howler-ui/components/routes/templates/Te
49
49
  import Templates from '@cccsaurora/howler-ui/components/routes/templates/Templates';
50
50
  import ViewComposer from '@cccsaurora/howler-ui/components/routes/views/ViewComposer';
51
51
  import Views from '@cccsaurora/howler-ui/components/routes/views/Views';
52
+ import dayjs from 'dayjs';
53
+ import duration from 'dayjs/plugin/duration';
54
+ import relativeTime from 'dayjs/plugin/relativeTime';
55
+ import utc from 'dayjs/plugin/utc';
52
56
  import i18n from '@cccsaurora/howler-ui/i18n';
53
57
  import * as monaco from 'monaco-editor';
54
58
  import howlerPluginStore from '@cccsaurora/howler-ui/plugins/store';
@@ -73,6 +77,9 @@ import ParameterProvider from './providers/ParameterProvider';
73
77
  import SocketProvider from './providers/SocketProvider';
74
78
  import UserListProvider from './providers/UserListProvider';
75
79
  import ViewProvider from './providers/ViewProvider';
80
+ dayjs.extend(utc);
81
+ dayjs.extend(duration);
82
+ dayjs.extend(relativeTime);
76
83
  loader.config({ monaco });
77
84
  const RoleRoute = ({ role }) => {
78
85
  const appUser = useAppUser();
package/index.js CHANGED
@@ -1,17 +1,10 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import '@fontsource/roboto';
3
3
  import App from '@cccsaurora/howler-ui/components/app/App';
4
- import dayjs from 'dayjs';
5
- import duration from 'dayjs/plugin/duration';
6
- import relativeTime from 'dayjs/plugin/relativeTime';
7
- import utc from 'dayjs/plugin/utc';
8
4
  import '@cccsaurora/howler-ui/i18n';
9
5
  import 'index.css';
10
6
  // import howlerPluginStore from '@cccsaurora/howler-ui/plugins/store';
11
7
  import * as ReactDOM from 'react-dom/client';
12
- dayjs.extend(utc);
13
- dayjs.extend(duration);
14
- dayjs.extend(relativeTime);
15
8
  // This is where you can inject UI plugins to modify Howler's interface.
16
9
  // howlerPluginStore.install(new ExamplePlugin());
17
10
  ReactDOM.createRoot(document.getElementById('root')).render(_jsx(App, {}));
package/package.json CHANGED
@@ -96,7 +96,7 @@
96
96
  "internal-slot": "1.0.7"
97
97
  },
98
98
  "type": "module",
99
- "version": "2.15.0-dev.292",
99
+ "version": "2.15.0-dev.296",
100
100
  "exports": {
101
101
  "./i18n": "./i18n.js",
102
102
  "./index.css": "./index.css",