@icvdeveloper/common-module 2.1.0 → 2.1.1

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 CHANGED
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## Unreleased
9
9
 
10
+ ## 2.1.1 - 2024-09-07
11
+
10
12
  ## 2.1.0 - 2024-09-05
11
13
 
12
14
  ## 2.0.0 - 2024-08-09
package/dist/module.d.mts CHANGED
@@ -382,6 +382,10 @@ type AuthUser = User & {
382
382
  expires_at: string;
383
383
  token_type: string;
384
384
  };
385
+ type UserSearchParams = {
386
+ value?: string;
387
+ iterate?: boolean;
388
+ };
385
389
 
386
390
  interface Pagination {
387
391
  total: number;
@@ -1074,4 +1078,4 @@ interface ModuleOptions {
1074
1078
  }
1075
1079
  declare const _default: _nuxt_schema.NuxtModule<ModuleOptions, ModuleOptions, false>;
1076
1080
 
1077
- export { type AdobeLaunchFunctions, type Affiliate, type AffiliateBoothLgConfigs, type AffiliateBoothMedConfigs, type AffiliateBoothSmallConfigs, type AgendaPlayerPageConfigs, type Analytics, type ArchiveContentTabsVariable, type ArchivePlayerPageConfigs, type AttendeeList, type AttendeeListResult, type AttendeesConfigs, type AuditoriumConfigs, type AuthUser, type CeCreditConfig, type Conference, ConferenceState, type ContentData, type Conversation, type Day, type Document, type EntryWayConfigs, type ExhibitHallConfigs, type ExhibitorPageConfigs, type GlobalConfig, type GlobalConfigKey, type GlobalConfigKeyType, type GlobalElements, type Group, type GroupVariable, type Icon, type Icons, type Link, type LoginParams, type MainPageConfigs, type MeetingsConfigs, type Merchant, type Message, type MessagesRead, type Meta, type MiscElements, type ModuleOptions, type NavigationConfig, type NestedKeyOf, type NetworkingConfigs, PAGE_LENGTH, type Pages, type PagesElements, type Pagination, type PlayerContentTabsVariable, type PlayerObj, type PlayerPresentation, type Portal, type Presentation, PresentationType, type Presenter, type PresenterPageConfigs, type PresenterWithPivot, type PresentersConfigs, type RegistrationField, type RegistrationForm, type RegistrationPageConfigs, type ResourcesConfigs, type SettingElements, type Sponsor, type SponsorsPageConfigs, type Spotlight1Configs, type Spotlight2Configs, type SpotlightConfigs, type Stream, type SupportPageConfigs, type TemplateConfig, type Track, type TrackGroup, type User, type UsersResult, type Video, type VirtualGlobal, type VirtualMainPageConfigs, type VirtualNestedKeyOf, type VirtualPages, type VirtualPresentation, type WebcastPageConfigs, _default as default };
1081
+ export { type AdobeLaunchFunctions, type Affiliate, type AffiliateBoothLgConfigs, type AffiliateBoothMedConfigs, type AffiliateBoothSmallConfigs, type AgendaPlayerPageConfigs, type Analytics, type ArchiveContentTabsVariable, type ArchivePlayerPageConfigs, type AttendeeList, type AttendeeListResult, type AttendeesConfigs, type AuditoriumConfigs, type AuthUser, type CeCreditConfig, type Conference, ConferenceState, type ContentData, type Conversation, type Day, type Document, type EntryWayConfigs, type ExhibitHallConfigs, type ExhibitorPageConfigs, type GlobalConfig, type GlobalConfigKey, type GlobalConfigKeyType, type GlobalElements, type Group, type GroupVariable, type Icon, type Icons, type Link, type LoginParams, type MainPageConfigs, type MeetingsConfigs, type Merchant, type Message, type MessagesRead, type Meta, type MiscElements, type ModuleOptions, type NavigationConfig, type NestedKeyOf, type NetworkingConfigs, PAGE_LENGTH, type Pages, type PagesElements, type Pagination, type PlayerContentTabsVariable, type PlayerObj, type PlayerPresentation, type Portal, type Presentation, PresentationType, type Presenter, type PresenterPageConfigs, type PresenterWithPivot, type PresentersConfigs, type RegistrationField, type RegistrationForm, type RegistrationPageConfigs, type ResourcesConfigs, type SettingElements, type Sponsor, type SponsorsPageConfigs, type Spotlight1Configs, type Spotlight2Configs, type SpotlightConfigs, type Stream, type SupportPageConfigs, type TemplateConfig, type Track, type TrackGroup, type User, type UserSearchParams, type UsersResult, type Video, type VirtualGlobal, type VirtualMainPageConfigs, type VirtualNestedKeyOf, type VirtualPages, type VirtualPresentation, type WebcastPageConfigs, _default as default };
package/dist/module.d.ts CHANGED
@@ -382,6 +382,10 @@ type AuthUser = User & {
382
382
  expires_at: string;
383
383
  token_type: string;
384
384
  };
385
+ type UserSearchParams = {
386
+ value?: string;
387
+ iterate?: boolean;
388
+ };
385
389
 
386
390
  interface Pagination {
387
391
  total: number;
@@ -1074,4 +1078,4 @@ interface ModuleOptions {
1074
1078
  }
1075
1079
  declare const _default: _nuxt_schema.NuxtModule<ModuleOptions, ModuleOptions, false>;
1076
1080
 
1077
- export { type AdobeLaunchFunctions, type Affiliate, type AffiliateBoothLgConfigs, type AffiliateBoothMedConfigs, type AffiliateBoothSmallConfigs, type AgendaPlayerPageConfigs, type Analytics, type ArchiveContentTabsVariable, type ArchivePlayerPageConfigs, type AttendeeList, type AttendeeListResult, type AttendeesConfigs, type AuditoriumConfigs, type AuthUser, type CeCreditConfig, type Conference, ConferenceState, type ContentData, type Conversation, type Day, type Document, type EntryWayConfigs, type ExhibitHallConfigs, type ExhibitorPageConfigs, type GlobalConfig, type GlobalConfigKey, type GlobalConfigKeyType, type GlobalElements, type Group, type GroupVariable, type Icon, type Icons, type Link, type LoginParams, type MainPageConfigs, type MeetingsConfigs, type Merchant, type Message, type MessagesRead, type Meta, type MiscElements, type ModuleOptions, type NavigationConfig, type NestedKeyOf, type NetworkingConfigs, PAGE_LENGTH, type Pages, type PagesElements, type Pagination, type PlayerContentTabsVariable, type PlayerObj, type PlayerPresentation, type Portal, type Presentation, PresentationType, type Presenter, type PresenterPageConfigs, type PresenterWithPivot, type PresentersConfigs, type RegistrationField, type RegistrationForm, type RegistrationPageConfigs, type ResourcesConfigs, type SettingElements, type Sponsor, type SponsorsPageConfigs, type Spotlight1Configs, type Spotlight2Configs, type SpotlightConfigs, type Stream, type SupportPageConfigs, type TemplateConfig, type Track, type TrackGroup, type User, type UsersResult, type Video, type VirtualGlobal, type VirtualMainPageConfigs, type VirtualNestedKeyOf, type VirtualPages, type VirtualPresentation, type WebcastPageConfigs, _default as default };
1081
+ export { type AdobeLaunchFunctions, type Affiliate, type AffiliateBoothLgConfigs, type AffiliateBoothMedConfigs, type AffiliateBoothSmallConfigs, type AgendaPlayerPageConfigs, type Analytics, type ArchiveContentTabsVariable, type ArchivePlayerPageConfigs, type AttendeeList, type AttendeeListResult, type AttendeesConfigs, type AuditoriumConfigs, type AuthUser, type CeCreditConfig, type Conference, ConferenceState, type ContentData, type Conversation, type Day, type Document, type EntryWayConfigs, type ExhibitHallConfigs, type ExhibitorPageConfigs, type GlobalConfig, type GlobalConfigKey, type GlobalConfigKeyType, type GlobalElements, type Group, type GroupVariable, type Icon, type Icons, type Link, type LoginParams, type MainPageConfigs, type MeetingsConfigs, type Merchant, type Message, type MessagesRead, type Meta, type MiscElements, type ModuleOptions, type NavigationConfig, type NestedKeyOf, type NetworkingConfigs, PAGE_LENGTH, type Pages, type PagesElements, type Pagination, type PlayerContentTabsVariable, type PlayerObj, type PlayerPresentation, type Portal, type Presentation, PresentationType, type Presenter, type PresenterPageConfigs, type PresenterWithPivot, type PresentersConfigs, type RegistrationField, type RegistrationForm, type RegistrationPageConfigs, type ResourcesConfigs, type SettingElements, type Sponsor, type SponsorsPageConfigs, type Spotlight1Configs, type Spotlight2Configs, type SpotlightConfigs, type Stream, type SupportPageConfigs, type TemplateConfig, type Track, type TrackGroup, type User, type UserSearchParams, type UsersResult, type Video, type VirtualGlobal, type VirtualMainPageConfigs, type VirtualNestedKeyOf, type VirtualPages, type VirtualPresentation, type WebcastPageConfigs, _default as default };
package/dist/module.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "v3plus-common-module",
3
3
  "configKey": "v3plusCommonModule",
4
- "version": "2.1.0"
4
+ "version": "2.1.1"
5
5
  }
package/dist/module.mjs CHANGED
@@ -65,12 +65,12 @@ const module = defineNuxtModule({
65
65
  tailwindConfig.configPath = tailwindConfigPath;
66
66
  }
67
67
  tailwindConfig.config = {
68
- content: [join(runtimeDir, "components/**/*.{vue,js}")]
68
+ content: [join(runtimeDir, "components/**/*.{vue,js,ts}")]
69
69
  };
70
70
  await installModule("@nuxtjs/tailwindcss", tailwindConfig);
71
71
  logger.success("Tailwindcss installed!");
72
72
  } else {
73
- throw new Error("Remove @nuxtjs/tailwindcss from nuxt.config.js");
73
+ throw new Error("Remove @nuxtjs/tailwindcss from nuxt.config.ts");
74
74
  }
75
75
  logger.info("Installing SVG loader");
76
76
  if (nuxt.options.vite.plugins) {
@@ -81,12 +81,13 @@ const module = defineNuxtModule({
81
81
  logger.success("SVG loader installed!");
82
82
  nuxt.options.build.transpile.push(runtimeDir);
83
83
  addPlugin(resolve(runtimeDir, "plugin"));
84
- nuxt.options.css.push("nprogress/nprogress.css");
85
- if (options.compileCss) {
86
- nuxt.options.css.push(join(runtimeDir, "assets/scss/index.css"));
87
- } else {
88
- nuxt.options.css.push(join(runtimeDir, "assets/scss/index.css"));
89
- }
84
+ nuxt.options.css.push(resolve("node_modules/nprogress/nprogress.css"));
85
+ logger.info("compiling css...");
86
+ nuxt.options.css.push(resolve(join(runtimeDir, "assets/scss/index.css")));
87
+ nuxt.options.nitro.publicAssets = [{
88
+ dir: resolve(resolve(join(runtimeDir, "assets/css"))),
89
+ baseURL: "/public"
90
+ }];
90
91
  if (nuxt.options.vite.optimizeDeps) {
91
92
  nuxt.options.vite.optimizeDeps.include = ["nprogress", "lodash-es", "pusher-js"];
92
93
  } else {
@@ -96,6 +97,7 @@ const module = defineNuxtModule({
96
97
  }
97
98
  addImportsDir(join(runtimeDir, "models"));
98
99
  addImportsDir(join(runtimeDir, "@types"));
100
+ addImportsDir(join(runtimeDir, "enums"));
99
101
  addImportsDir(join(runtimeDir, "store"));
100
102
  addImportsDir(join(runtimeDir, "composables"));
101
103
  await addComponentsDir({
@@ -0,0 +1 @@
1
+ :host{width:-moz-fit-content;width:fit-content;--box-border-radius:0.25em;--base-font-size-l:16px;--base-font-size-m:16px;--base-font-size-s:16px;--keyboard-focus:#1e90ff;--font:inherit;--btn-background:transparent;--btn-background-hover:transparent;--btn-border:#d2d2d2;--btn-text:#333;--btn-text-hover:#000;--btn-shadow:none;--btn-shadow-hover:none;--btn-shadow-active:none;--list-background:#f5f5f5;--list-background-hover:#fff;--list-text:#333;--list-text-hover:#000;--list-close-text:#777;--list-close-background:#f5f5f5;--list-shadow:transparent 0px 0px 0px 0px,transparent 0px 0px 0px 0px,rgba(0 0 0 0.1) 0px 1px 3px 0px,rgba(0 0 0 0.1) 0px 1px 2px -1px;--list-shadow-modal:transparent 0px 0px 0px 0px,transparent 0px 0px 0px 0px,rgba(0,0,0,.1) 0px 1px 3px 0px,rgba(0,0,0,.1) 0px 1px 2px -1px;--modal-text:#000;--modal-background:#f5f5f5;--modal-btn-bar:#c6c8cd;--modal-btn-background:#f5f5f5;--modal-btn-secondary-background:#e2e1e6;--modal-btn-background-hover:#fff;--modal-btn-text:#2e2e2e;--modal-btn-text-hover:#161616;--modal-btn-secondary-text:#666567;--modal-shadow:drop-shadow(5px 8px 30px rgba(0,0,0,.7));--modal-shadow-btn:rgba(0,0,0,.1) 2px 3px 10px -3px,rgba(0,0,0,.25) 1px 1px 8px -4px;--modal-shadow-btn-hover:rgba(0,0,0,.35) 3px 5px 15px -2px,rgba(0,0,0,.2) 2px 4px 25px -6px;--date-btn-text:#1d1d1e;--date-btn-text-secondary:#3a3a3f;--date-btn-cal-day-text:#fff;--date-btn-cal-month-text:#d3d2d7;--date-btn-cal-background:#313132;--date-btn-background:#eae9ed;--date-btn-background-hover:#fff;--date-btn-shadow:rgba(0,0,0,.4) 1px 3px 15px -4px,rgba(0,0,0,.2) 1px 1px 8px -4px;--date-btn-shadow-hover:rgba(0,0,0,.4) 4px 6px 18px -1px,rgba(0,0,0,.35) 4px 5px 25px -2px;--checkmark-background:radial-gradient(circle,#fff 0,hsla(0,0%,100%,.8) 40%,hsla(0,0%,100%,0) 70%);--overlay-background:hsla(0,0%,8%,.25);--overlay-cursor:default;--icon-ms365-color:#ea3e23;--icon-yahoo-color:#5f01d1;--icon-filter:none}:host(.atcb-dark){--btn-background:#2e2e2e;--btn-background-hover:#373737;--btn-border:#4d4d4d;--btn-text:#dedede;--btn-text-hover:#f1f1f1;--btn-shadow:hsla(0,0%,100%,.05) -12px -5px 20px -8px,hsla(0,0%,100%,.06) -7px -5px 15px -3px,rgba(0,0,0,.5) 2px 5px 18px -1px,rgba(0,0,0,.4) 3px 3px 20px -3px;--btn-shadow-hover:hsla(0,0%,100%,.06) -12px -5px 23px -8px,hsla(0,0%,100%,.07) -7px -5px 18px -3px,rgba(0,0,0,.6) 2px 5px 19px -1px,rgba(0,0,0,.5) 3px 3px 22px -3px;--btn-shadow-active:hsla(0,0%,100%,.07) -12px -5px 23px -8px,hsla(0,0%,100%,.08) -7px -5px 18px -3px,rgba(0,0,0,.7) 2px 5px 19px -1px,rgba(0,0,0,.6) 3px 3px 22px -3px;--list-background:#2e2e2e;--list-background-hover:#373737;--list-text:#dedede;--list-text-hover:#f1f1f1;--list-close-background:#282828;--list-shadow:hsla(0,0%,100%,.05) -12px -5px 20px -8px,hsla(0,0%,100%,.06) -7px -5px 15px -3px,rgba(0,0,0,.5) 2px 5px 18px -1px,rgba(0,0,0,.4) 3px 3px 20px -3px;--list-shadow-modal:hsla(0,0%,100%,.08) -12px -5px 30px -8px,hsla(0,0%,100%,.08) -7px -5px 15px -3px,rgba(0,0,0,.6) 4px 6px 50px -4px,rgba(0,0,0,.9) 8px 12px 40px -2px;--modal-text:#f1f1f1;--modal-background:#242424;--modal-btn-bar:#38383a;--modal-btn-background:#181819;--modal-btn-secondary-background:#2e2d30;--modal-btn-background-hover:#434246;--modal-btn-text:#dbdbdb;--modal-btn-text-hover:#fff;--modal-btn-secondary-text:#b8b8b8;--modal-shadow:drop-shadow(5px 8px 30px rgba(0,0,0,.9));--modal-shadow-btn:hsla(0,0%,100%,.05) -2px -2px 10px,rgba(0,0,0,.3) 1px 2px 8px -1px;--date-btn-text:#ebebf0;--date-btn-text-secondary:#b5b5bd;--date-btn-cal-day-text:#101010;--date-btn-cal-month-text:#3e3e3f;--date-btn-cal-background:#c7c7cd;--date-btn-background:#363636;--date-btn-background-hover:#474747;--date-btn-shadow:hsla(0,0%,100%,.1) -8px -6px 20px,rgba(0,0,0,.5) 1px 3px 25px -8px,rgba(0,0,0,.5) 1px 1px 10px -3px;--checkmark-background:radial-gradient(circle,rgba(0,0,0,.5) 0,rgba(0,0,0,.3) 40%,transparent 70%);--overlay-background:hsla(0,0%,8%,.6);--icon-ms365-color:#ea3e23;--icon-yahoo-color:#bebebe;--icon-filter:grayscale(.2)}.atcb-button-wrapper,.atcb-list,.atcb-modal-box{font-size:var(--base-font-size-l)}@media (max-width:991px){.atcb-button-wrapper,.atcb-list,.atcb-modal-box{font-size:var(--base-font-size-m)}}@media (max-width:575px){.atcb-button-wrapper,.atcb-list,.atcb-modal-box{font-size:var(--base-font-size-s)}}.atcb-button-wrapper{display:inline;padding:0;position:relative}.atcb-button{align-items:center;background-color:var(--btn-background);border:none;border-radius:0;box-shadow:var(--btn-shadow);color:var(--btn-text);cursor:pointer;display:flex;font-family:var(--font);font-size:inherit;font-weight:inherit;justify-content:center;line-height:1.5em;margin:0;max-width:350px;min-width:-moz-fit-content;min-width:fit-content;padding:0;position:relative;text-align:center;text-decoration:underline;touch-action:manipulation;-moz-user-select:none;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent;width:auto;z-index:1}.atcb-button.atcb-no-text{min-width:0}.atcb-rtl .atcb-button{direction:rtl;text-align:right}.atcb-button:focus,.atcb-button:hover{background-color:var(--btn-background-hover);box-shadow:var(--btn-shadow-hover)}.atcb-button:focus-visible{outline:none}.atcb-button.atcb-active:not(.atcb-modal-style,.atcb-dropoverlay){z-index:15000000}.atcb-button.atcb-active:not(.atcb-modal-style,.atcb-dropoverlay),.atcb-button.atcb-single:focus,.atcb-button.atcb-single:hover{background-color:var(--btn-background-hover);box-shadow:var(--btn-shadow-active);margin:0;padding:0}.atcb-button.atcb-active.atcb-dropoverlay{z-index:14000090}.atcb-icon{flex-grow:0;flex-shrink:0;height:1em;margin-bottom:.3em;margin-right:.8em}.atcb-rtl .atcb-icon{margin-left:.8em;margin-right:0}.atcb-no-text .atcb-icon{margin-left:0;margin-right:0}.atcb-icon svg{height:100%;fill:currentcolor;width:auto}.atcb-text{overflow-wrap:anywhere}.atcb-dropdown-anchor{bottom:4px;height:1px;opacity:0;position:absolute;width:100%}.atcb-list-wrapper{background-color:var(--list-background);box-sizing:border-box;padding:0;position:absolute;z-index:14000090}.atcb-list-wrapper.atcb-dropdown{box-shadow:var(--list-shadow-modal)}.atcb-list-wrapper.atcb-dropoverlay{max-width:-moz-max-content;max-width:max-content;z-index:15000000}.atcb-list{border-radius:var(--box-border-radius);box-shadow:var(--list-shadow);box-sizing:border-box;color:var(--list-text);display:block;font-family:var(--font);min-width:100%;position:relative;-moz-user-select:none;user-select:none;-webkit-user-select:none;width:-moz-fit-content;width:fit-content}.atcb-list-item{align-items:center;background-color:var(--list-background);box-sizing:border-box;cursor:pointer;display:flex;font-size:1em;line-height:1.75em;padding:4px 6px;text-align:left;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.atcb-rtl .atcb-list-item{direction:rtl;text-align:right}.atcb-list-item:hover{background-color:var(--list-background-hover);color:var(--list-text-hover)}.atcb-list-item:focus-visible{background-color:var(--list-background-hover);color:var(--keyboard-focus);font-weight:600;outline:none}.atcb-list-item:last-child{border-radius:var(--box-border-radius);border-top-left-radius:0;border-top-right-radius:0}.atcb-dropup .atcb-list-item:last-child{border-radius:0;padding-bottom:.8em}.atcb-dropoverlay .atcb-list .atcb-list-item:first-child,.atcb-dropup .atcb-list,.atcb-dropup .atcb-list-item:first-child,.atcb-list.atcb-modal .atcb-list-item:first-child{border-radius:var(--box-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.atcb-dropoverlay .atcb-list .atcb-list-item:only-child,.atcb-list.atcb-modal .atcb-list-item:only-child{border-radius:var(--box-border-radius)}.atcb-dropoverlay .atcb-list.atcb-generated-button:not(.atcb-modal) .atcb-list-item:first-child,.atcb-dropup .atcb-list.atcb-generated-button:not(.atcb-modal) .atcb-list-item:first-child,.atcb-list.atcb-generated-button:not(.atcb-modal) .atcb-list-item:first-child{padding-top:.8em}.atcb-dropoverlay .atcb-list,.atcb-list.atcb-modal{border-radius:var(--box-border-radius)}.atcb-list.atcb-modal{box-shadow:var(--list-shadow-modal)}.atcb-list-item .atcb-icon{margin-bottom:.5em;margin-right:.6em;width:1.125em}.atcb-rtl .atcb-list-item .atcb-icon{margin-left:.6em;margin-right:0}.atcb-no-text .atcb-list-item .atcb-icon{margin:0 auto}.atcb-list-item-close{background-color:var(--list-close-background)}.atcb-list-item.atcb-list-item-close:not(:focus-visible){color:var(--list-close-text)}.atcb-list-item-close svg{fill:currentcolor;height:90%;margin-left:3px}.atcb-modal{display:block;margin:auto;min-width:200px;position:relative;width:auto;z-index:14000090}.atcb-modal-box{box-sizing:border-box;color:var(--modal-text);cursor:default;filter:var(--modal-shadow);font-family:var(--font);line-height:1.5em;margin-bottom:20px;max-width:32em;text-align:left;touch-action:manipulation;-moz-user-select:none;user-select:none;-webkit-user-select:none;width:100%;-webkit-tap-highlight-color:transparent}.atcb-modal-box.atcb-rtl{direction:rtl;padding:1.25em 1em 1.25em 2em;text-align:right}.atcb-modal-icon{background-color:var(--modal-background);border-radius:100%;height:2.5em;margin:auto;padding:1.75em;width:2.5em}.atcb-modal-icon svg{height:auto;fill:currentcolor;width:100%}.atcb-modal-headline{background-color:var(--modal-background);border-radius:var(--box-border-radius);border-top-left-radius:0;border-top-right-radius:0;font-size:1.3em;font-weight:600;line-height:1.5em;padding:1.8em 2em 1.3em;text-align:center;text-transform:uppercase}.atcb-modal-icon+.atcb-modal-headline{margin-top:-2.6em;padding-top:2.6em}.atcb-modal-content{background-color:var(--modal-background);font-size:1em;padding:.3em 2.5em 2.25em}@media (max-width:575px){.atcb-modal-headline{padding:1.8em 1em 1em}.atcb-modal-content{padding:.3em 1em 2em}}.atcb-modal-buttons{align-items:center;background-color:var(--modal-btn-bar);border-radius:0 0 6px 6px;box-sizing:border-box;display:flex;flex-flow:row-reverse wrap;justify-content:center;padding:.8em 1em;text-align:center;width:100%}a.atcb-modal-btn,button.atcb-modal-btn{background-color:var(--modal-btn-secondary-background);border:0;border-radius:var(--box-border-radius);box-shadow:var(--modal-shadow-btn);color:var(--modal-btn-secondary-text);cursor:pointer;display:inline-block;font-family:var(--font);font-size:.9em;font-weight:600;line-height:1.5em;margin:.625em;padding:.625em 1.25em;position:relative;text-align:center;text-decoration:none;touch-action:manipulation;-moz-user-select:none;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent;text-transform:uppercase}a.atcb-modal-btn.atcb-modal-btn-primary,button.atcb-modal-btn.atcb-modal-btn-primary{background-color:var(--modal-btn-background);color:var(--modal-btn-text)}a.atcb-modal-btn:hover,button.atcb-modal-btn:hover{background-color:var(--modal-btn-background-hover);box-shadow:var(--modal-shadow-btn-hover);color:var(--modal-btn-text-hover);text-decoration:none}a.atcb-modal-btn:focus-visible,button.atcb-modal-btn:focus-visible{background-color:var(--modal-btn-background-hover);outline:2px solid var(--keyboard-focus)}.atcb-subevent-btn{align-items:flex-start;background-color:var(--date-btn-background);border:0;border-radius:var(--box-border-radius);box-shadow:var(--date-btn-shadow);cursor:pointer;display:flex;font-family:var(--font);font-size:1em;margin:0;padding:0;position:relative;touch-action:manipulation;-moz-user-select:none;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent}.atcb-subevent-btn:hover{align-items:center}.atcb-subevent-btn:focus,.atcb-subevent-btn:hover{background-color:var(--date-btn-background-hover);box-shadow:var(--date-btn-shadow-hover)}.atcb-subevent-btn:focus-visible{outline:2px solid var(--keyboard-focus)}.atcb-subevent-btn+.atcb-subevent-btn{margin-top:30px}.atcb-date-btn-left{align-items:center;align-self:stretch;background-color:var(--date-btn-cal-background);border-radius:4px 0 0 4px;color:var(--date-btn-background-hover);display:flex;flex-direction:column;padding:.7em .8em .8em;width:2.7em}.atcb-rtl .atcb-date-btn-left{border-radius:0 4px 4px 0}.atcb-subevent-btn:hover .atcb-date-btn-left{opacity:.8}.atcb-date-btn-day{color:var(--date-btn-cal-day-text);font-size:2em;font-weight:300;padding-bottom:.1em;word-break:keep-all}.atcb-initialized[lang=ja] .atcb-date-btn-day,.atcb-initialized[lang=ko] .atcb-date-btn-day,.atcb-initialized[lang=zh] .atcb-date-btn-day{font-size:1.3em}.atcb-date-btn-month{color:var(--date-btn-cal-month-text);font-size:1em;font-weight:600}.atcb-date-btn-right{color:var(--date-btn-text);min-width:12.5em;overflow-wrap:anywhere;position:relative}.atcb-date-btn-details{opacity:1;padding:.7em .8em;text-align:left}.atcb-rtl .atcb-date-btn-details{text-align:right}.atcb-date-btn-hover{align-items:center;display:flex;font-size:1em;font-weight:600;height:100%;justify-content:center;left:0;opacity:0;position:absolute;top:0;width:100%}.atcb-subevent-btn:hover .atcb-date-btn-details{opacity:0}.atcb-subevent-btn:hover .atcb-date-btn-hover{opacity:1}.atcb-date-btn-headline{display:-webkit-box;font-size:.9em;font-weight:600;margin-bottom:.5em;overflow:hidden;-webkit-line-clamp:1;-webkit-box-orient:vertical}.atcb-date-btn-content{align-items:center;color:var(--date-btn-text-secondary);display:flex;font-size:.8em}.atcb-date-btn-content-location{display:-webkit-box;overflow:hidden;-webkit-line-clamp:1;-webkit-box-orient:vertical;word-break:break-all}.atcb-date-btn-content-icon{display:inline-block;flex:0 0 1.3em;height:.8em;margin-top:-.3em;width:1.3em}.atcb-rtl .atcb-date-btn-content-icon{margin-left:.5em;margin-right:0}.atcb-initialized[lang=ja] .atcb-date-btn-content-icon,.atcb-initialized[lang=ko] .atcb-date-btn-content-icon,.atcb-initialized[lang=zh] .atcb-date-btn-content-icon{margin-top:-.2em}.atcb-date-btn-content-icon svg{height:100%;fill:currentcolor;width:auto}.atcb-date-btn-content+.atcb-date-btn-content{margin-top:.3em}.atcb-date-btn-content-recurr-icon{padding-left:.3em}.atcb-checkmark{display:none}.atcb-saved .atcb-checkmark{background:var(--checkmark-background);border-radius:100%;box-sizing:content-box;color:var(--btn-text);display:block;height:2em;padding:.5em;position:absolute;right:-.3em;top:-1.2em}.atcb-button.atcb-active:not(.atcb-modal-style,.atcb-dropoverlay) .atcb-checkmark,.atcb-button.atcb-single:focus .atcb-checkmark,.atcb-button.atcb-single:hover .atcb-checkmark{right:-.17em;top:-1.07em}.atcb-checkmark svg{height:100%;fill:currentcolor;width:auto}#atcb-bgoverlay{animation:atcb-bgoverlay-animate .1s ease 0s 1 normal forwards;backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);background-color:var(--overlay-background);border:0;box-sizing:border-box;display:flex;height:calc(100vh + 100px);inset-inline:0;left:0;min-height:100%;min-width:100%;opacity:0;overflow-y:auto;padding:20px 20px 130px;position:fixed;right:0;top:0;width:100vw;z-index:14000000}#atcb-bgoverlay.atcb-no-bg{animation:none;backdrop-filter:none;-webkit-backdrop-filter:none;background-color:transparent;opacity:1}@keyframes atcb-bgoverlay-animate{0%{opacity:0}to{opacity:1}}#atcb-bgoverlay.atcb-click:hover{cursor:var(--overlay-cursor)}.atcb-icon .atcb-icon-apple svg,.atcb-icon .atcb-icon-ical svg{fill:currentcolor}.atcb-icon .atcb-icon-ms365 svg{fill:var(--icon-ms365-color)}.atcb-icon .atcb-icon-yahoo svg{fill:var(--icon-yahoo-color)}.atcb-icon .atcb-icon-google svg,.atcb-icon .atcb-icon-msteams svg,.atcb-icon .atcb-icon-outlookcom svg{filter:var(--icon-filter)}
@@ -255,12 +255,12 @@ const presentersContainer = computed(() => {
255
255
  </div>
256
256
 
257
257
  <!-- ADD TO CALENDAR -->
258
- <!-- <CommonComponentsCalendar
258
+ <CommonComponentsCalendar
259
259
  :key="conference.id"
260
260
  class="agenda-add-to-calendar mb-3"
261
261
  :presentation="presentation"
262
262
  :conference="conference"
263
- /> -->
263
+ />
264
264
 
265
265
  <!-- PRESENTERS LIST (ACCORDION OR STANDARD/DIV) -->
266
266
  <component
@@ -3,9 +3,12 @@ import { toRefs, computed } from "vue";
3
3
  import { storeToRefs } from "pinia";
4
4
  import { useTemplateConfigsStore } from "../../../store";
5
5
  import { usePresentation } from "../../../composables/usePresentation";
6
- import "../../../../../node_modules/add-to-calendar-button";
6
+ import "add-to-calendar-button";
7
7
  import type { Conference } from "../../../models/conference";
8
8
  import type { Presentation } from "../../../models/conference";
9
+
10
+
11
+
9
12
  type Props = {
10
13
  conference: Conference;
11
14
  presentation: Presentation;
@@ -39,7 +42,7 @@ const calendarOptions = computed((): string => {
39
42
  });
40
43
  const cssPath = computed((): string => {
41
44
  // atcb.css required in template/playground public folder
42
- return window.location.origin + "/atcb.css";
45
+ return window.location.origin + "/public/atcb.css";
43
46
  });
44
47
 
45
48
  // TODO - this *almost* works - the div classed "atcb-initialized" does not get its inline styles updated in order to display the button.
@@ -53,19 +56,19 @@ const cssPath = computed((): string => {
53
56
  <add-to-calendar-button
54
57
  :name="presentation.name"
55
58
  :description="presentation.description"
56
- :start-date="getPresentationStartTime(presentation,'yyyy-MM-dd',false)"
57
- :start-time="getPresentationStartTime(presentation,'HH:mm',false)"
58
- :end-time="getPresentationEndTime(presentation,'HH:mm',false)"
59
- :time-zone="conference.timezone"
59
+ :startDate="getPresentationStartTime(presentation,'yyyy-MM-dd',false)"
60
+ :startTime="getPresentationStartTime(presentation,'HH:mm',false)"
61
+ :endTime="getPresentationEndTime(presentation,'HH:mm',false)"
62
+ :timeZone="conference.timezone"
60
63
  :location="conference.location"
61
- list-style="dropdown"
64
+ listStyle="dropdown"
62
65
  trigger="click"
63
- light-mode="bodyScheme"
64
- button-style="custom"
65
- :custom-css="cssPath"
66
- hide-icon-button
67
- hide-background
68
- hide-checkmark
66
+ lightMode="bodyScheme"
67
+ buttonStyle="custom"
68
+ :customCss="cssPath"
69
+ hideIconButton
70
+ hideBackground
71
+ hideCheckmark
69
72
  :options="calendarOptions"
70
73
  />
71
74
  </div>
@@ -5,7 +5,7 @@ import { debounce, find, remove } from 'lodash-es';
5
5
  import { VueEternalLoading } from '@ts-pro/vue-eternal-loading';
6
6
  import { useConversationStore } from '#imports';
7
7
  import { chatSearchEventHook } from '../../composables/useEventHooks';
8
- import type { LoadAction } from '@ts-pro/vue-eternal-loading';
8
+ import type { LoadAction } from '../../models/vueEternalLoading';
9
9
  import type { User, UsersResult } from '../../models/user';
10
10
 
11
11
  const conversationStore = useConversationStore();
@@ -5,7 +5,7 @@ import { debounce, find, remove } from 'lodash-es';
5
5
  import { VueEternalLoading } from "@ts-pro/vue-eternal-loading";
6
6
  import { useConversationStore } from '../../store/conversations';
7
7
  import { chatSearchEventHook } from '../../composables/useEventHooks';
8
- import type { LoadAction } from "@ts-pro/vue-eternal-loading";
8
+ import type { LoadAction } from "../../models/vueEternalLoading";
9
9
  import type { User } from '../../models/user';
10
10
 
11
11
  // data
@@ -1,7 +1,7 @@
1
1
  <script lang="ts" setup>
2
- import { useConversationStore } from '#imports';
2
+ import { useConversationStore } from '../../store/conversations.js';
3
3
 
4
- import { MenuOptions } from './ChatWindow.vue';
4
+ import { MenuOptions } from '../../enums/chatWindow';
5
5
 
6
6
  const { toggleChat } = useConversationStore();
7
7
 
@@ -1,16 +1,7 @@
1
- <script>
2
- export var MenuOptions = /* @__PURE__ */ ((MenuOptions2) => {
3
- MenuOptions2["LIST"] = "ChatConversationlist";
4
- MenuOptions2["CREATE"] = "CreateConversation";
5
- MenuOptions2["CREATEGROUP"] = "CreateGroupConversation";
6
- MenuOptions2["SHOW"] = "ShowConversation";
7
- return MenuOptions2;
8
- })(MenuOptions || {});
9
- </script>
10
-
11
1
  <script lang="ts" setup>
12
2
  import { computed, ref, watch } from 'vue';
13
3
  import { storeToRefs } from 'pinia';
4
+ import { MenuOptions } from '../../enums/chatWindow';
14
5
  import {
15
6
  clearConversationEventHook,
16
7
  createConversationEventHook,
@@ -14,7 +14,7 @@ import type {
14
14
  AttendeeListClassObj,
15
15
  AttendeeListCompObj,
16
16
  } from "../../@types/components";
17
- import type { LoadAction } from "@ts-pro/vue-eternal-loading";
17
+ import type { LoadAction } from "../../models/vueEternalLoading";
18
18
  import type { User } from "../../models/user";
19
19
 
20
20
  type Props = {
@@ -5,9 +5,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
5
5
  };
6
6
  }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
7
7
  [key: string]: any;
8
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
9
- template: string;
10
- } & {} & {}>, {
8
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
9
+ template: {
10
+ type: StringConstructor;
11
+ default: string;
12
+ };
13
+ }>> & Readonly<{}>, {
11
14
  template: string;
12
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}>;
15
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
13
16
  export default _default;
@@ -1,10 +1,6 @@
1
1
  import type { ContentData } from '../models/vButton';
2
2
  import type { Conversation } from '../models/conversation';
3
- import type { User } from '../models/user';
4
- export type UserSearchParams = {
5
- value?: string;
6
- iterate?: boolean;
7
- };
3
+ import type { User, UserSearchParams } from '../models/user';
8
4
  export declare const loginEventHook: import("@vueuse/shared").EventHook<boolean>;
9
5
  export declare const loggedOutEventHook: import("@vueuse/shared").EventHook<any>;
10
6
  export declare const modalClosedEventHook: import("@vueuse/shared").EventHook<any>;
@@ -0,0 +1,7 @@
1
+ export var MenuOptions = /* @__PURE__ */ ((MenuOptions2) => {
2
+ MenuOptions2["LIST"] = "ChatConversationlist";
3
+ MenuOptions2["CREATE"] = "CreateConversation";
4
+ MenuOptions2["CREATEGROUP"] = "CreateGroupConversation";
5
+ MenuOptions2["SHOW"] = "ShowConversation";
6
+ return MenuOptions2;
7
+ })(MenuOptions || {});
@@ -28,3 +28,7 @@ export type AuthUser = User & {
28
28
  expires_at: string;
29
29
  token_type: string;
30
30
  };
31
+ export type UserSearchParams = {
32
+ value?: string;
33
+ iterate?: boolean;
34
+ };
@@ -0,0 +1,11 @@
1
+ export type LoadAction = {
2
+ loaded(count?: number, pageSize?: number): State;
3
+ noMore(): void;
4
+ noResults(): void;
5
+ error(): void;
6
+ };
7
+ export type LoadPayload = {
8
+ isFirstLoad: boolean;
9
+ };
10
+ export type State = 'loading' | 'error' | 'no-more' | 'no-results';
11
+ export type Position = 'top' | 'left' | 'default';
File without changes
@@ -2,7 +2,7 @@ import { ref, computed } from "vue";
2
2
  import { defineStore } from "pinia";
3
3
  export const usePlayerConfigStore = defineStore("playerConfig", () => {
4
4
  const isPlayerVisible = ref(false);
5
- const playerPresentation = ref({});
5
+ const playerPresentation = ref({ "player_type": "", "data": {} });
6
6
  const livePresentations = ref({});
7
7
  const playerConference = ref({});
8
8
  const selectedContent = ref({});
package/dist/types.d.mts CHANGED
@@ -13,4 +13,4 @@ declare module 'nuxt/schema' {
13
13
  }
14
14
 
15
15
 
16
- export type { AdobeLaunchFunctions, Affiliate, AffiliateBoothLgConfigs, AffiliateBoothMedConfigs, AffiliateBoothSmallConfigs, AgendaPlayerPageConfigs, Analytics, ArchiveContentTabsVariable, ArchivePlayerPageConfigs, AttendeeList, AttendeeListResult, AttendeesConfigs, AuditoriumConfigs, AuthUser, CeCreditConfig, Conference, ConferenceState, ContentData, Conversation, Day, Document, EntryWayConfigs, ExhibitHallConfigs, ExhibitorPageConfigs, GlobalConfig, GlobalConfigKey, GlobalConfigKeyType, GlobalElements, Group, GroupVariable, Icon, Icons, Link, LoginParams, MainPageConfigs, MeetingsConfigs, Merchant, Message, MessagesRead, Meta, MiscElements, ModuleOptions, NavigationConfig, NestedKeyOf, NetworkingConfigs, PAGE_LENGTH, Pages, PagesElements, Pagination, PlayerContentTabsVariable, PlayerObj, PlayerPresentation, Portal, Presentation, PresentationType, Presenter, PresenterPageConfigs, PresenterWithPivot, PresentersConfigs, RegistrationField, RegistrationForm, RegistrationPageConfigs, ResourcesConfigs, SettingElements, Sponsor, SponsorsPageConfigs, Spotlight1Configs, Spotlight2Configs, SpotlightConfigs, Stream, SupportPageConfigs, TemplateConfig, Track, TrackGroup, User, UsersResult, Video, VirtualGlobal, VirtualMainPageConfigs, VirtualNestedKeyOf, VirtualPages, VirtualPresentation, WebcastPageConfigs, default } from './module.js'
16
+ export type { AdobeLaunchFunctions, Affiliate, AffiliateBoothLgConfigs, AffiliateBoothMedConfigs, AffiliateBoothSmallConfigs, AgendaPlayerPageConfigs, Analytics, ArchiveContentTabsVariable, ArchivePlayerPageConfigs, AttendeeList, AttendeeListResult, AttendeesConfigs, AuditoriumConfigs, AuthUser, CeCreditConfig, Conference, ConferenceState, ContentData, Conversation, Day, Document, EntryWayConfigs, ExhibitHallConfigs, ExhibitorPageConfigs, GlobalConfig, GlobalConfigKey, GlobalConfigKeyType, GlobalElements, Group, GroupVariable, Icon, Icons, Link, LoginParams, MainPageConfigs, MeetingsConfigs, Merchant, Message, MessagesRead, Meta, MiscElements, ModuleOptions, NavigationConfig, NestedKeyOf, NetworkingConfigs, PAGE_LENGTH, Pages, PagesElements, Pagination, PlayerContentTabsVariable, PlayerObj, PlayerPresentation, Portal, Presentation, PresentationType, Presenter, PresenterPageConfigs, PresenterWithPivot, PresentersConfigs, RegistrationField, RegistrationForm, RegistrationPageConfigs, ResourcesConfigs, SettingElements, Sponsor, SponsorsPageConfigs, Spotlight1Configs, Spotlight2Configs, SpotlightConfigs, Stream, SupportPageConfigs, TemplateConfig, Track, TrackGroup, User, UserSearchParams, UsersResult, Video, VirtualGlobal, VirtualMainPageConfigs, VirtualNestedKeyOf, VirtualPages, VirtualPresentation, WebcastPageConfigs, default } from './module.js'
package/dist/types.d.ts CHANGED
@@ -13,4 +13,4 @@ declare module 'nuxt/schema' {
13
13
  }
14
14
 
15
15
 
16
- export type { AdobeLaunchFunctions, Affiliate, AffiliateBoothLgConfigs, AffiliateBoothMedConfigs, AffiliateBoothSmallConfigs, AgendaPlayerPageConfigs, Analytics, ArchiveContentTabsVariable, ArchivePlayerPageConfigs, AttendeeList, AttendeeListResult, AttendeesConfigs, AuditoriumConfigs, AuthUser, CeCreditConfig, Conference, ConferenceState, ContentData, Conversation, Day, Document, EntryWayConfigs, ExhibitHallConfigs, ExhibitorPageConfigs, GlobalConfig, GlobalConfigKey, GlobalConfigKeyType, GlobalElements, Group, GroupVariable, Icon, Icons, Link, LoginParams, MainPageConfigs, MeetingsConfigs, Merchant, Message, MessagesRead, Meta, MiscElements, ModuleOptions, NavigationConfig, NestedKeyOf, NetworkingConfigs, PAGE_LENGTH, Pages, PagesElements, Pagination, PlayerContentTabsVariable, PlayerObj, PlayerPresentation, Portal, Presentation, PresentationType, Presenter, PresenterPageConfigs, PresenterWithPivot, PresentersConfigs, RegistrationField, RegistrationForm, RegistrationPageConfigs, ResourcesConfigs, SettingElements, Sponsor, SponsorsPageConfigs, Spotlight1Configs, Spotlight2Configs, SpotlightConfigs, Stream, SupportPageConfigs, TemplateConfig, Track, TrackGroup, User, UsersResult, Video, VirtualGlobal, VirtualMainPageConfigs, VirtualNestedKeyOf, VirtualPages, VirtualPresentation, WebcastPageConfigs, default } from './module'
16
+ export type { AdobeLaunchFunctions, Affiliate, AffiliateBoothLgConfigs, AffiliateBoothMedConfigs, AffiliateBoothSmallConfigs, AgendaPlayerPageConfigs, Analytics, ArchiveContentTabsVariable, ArchivePlayerPageConfigs, AttendeeList, AttendeeListResult, AttendeesConfigs, AuditoriumConfigs, AuthUser, CeCreditConfig, Conference, ConferenceState, ContentData, Conversation, Day, Document, EntryWayConfigs, ExhibitHallConfigs, ExhibitorPageConfigs, GlobalConfig, GlobalConfigKey, GlobalConfigKeyType, GlobalElements, Group, GroupVariable, Icon, Icons, Link, LoginParams, MainPageConfigs, MeetingsConfigs, Merchant, Message, MessagesRead, Meta, MiscElements, ModuleOptions, NavigationConfig, NestedKeyOf, NetworkingConfigs, PAGE_LENGTH, Pages, PagesElements, Pagination, PlayerContentTabsVariable, PlayerObj, PlayerPresentation, Portal, Presentation, PresentationType, Presenter, PresenterPageConfigs, PresenterWithPivot, PresentersConfigs, RegistrationField, RegistrationForm, RegistrationPageConfigs, ResourcesConfigs, SettingElements, Sponsor, SponsorsPageConfigs, Spotlight1Configs, Spotlight2Configs, SpotlightConfigs, Stream, SupportPageConfigs, TemplateConfig, Track, TrackGroup, User, UserSearchParams, UsersResult, Video, VirtualGlobal, VirtualMainPageConfigs, VirtualNestedKeyOf, VirtualPages, VirtualPresentation, WebcastPageConfigs, default } from './module'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@icvdeveloper/common-module",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "exports": {
@@ -31,7 +31,7 @@
31
31
  "@ts-pro/vue-eternal-loading": "^1.3.1",
32
32
  "@types/pusher-js": "^5.1.0",
33
33
  "@vueuse/core": "^10.9.0",
34
- "add-to-calendar-button": "^2.1.1",
34
+ "add-to-calendar-button": "^2.6.19",
35
35
  "analytics": "^0.8.1",
36
36
  "laravel-echo": "^1.15.1",
37
37
  "lodash-es": "^4.17.21",