mediacube-ui-v2 0.0.186 → 0.0.188

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.
@@ -1,5 +1,5 @@
1
1
  import { PropType } from 'vue';
2
- import { ChipVariationUnion, ChipSizeUnion } from '../../../types/IChip';
2
+ import { ChipSizeModifiersUnion, ChipVariationUnion } from '../../../types/IChip';
3
3
  declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
4
  /**
5
5
  * Text content
@@ -36,7 +36,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
36
36
  * Размер
37
37
  */
38
38
  size: {
39
- type: () => ChipSizeUnion;
39
+ type: () => ChipSizeModifiersUnion;
40
40
  default: string;
41
41
  };
42
42
  /**
@@ -85,7 +85,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
85
85
  * Размер
86
86
  */
87
87
  size: {
88
- type: () => ChipSizeUnion;
88
+ type: () => ChipSizeModifiersUnion;
89
89
  default: string;
90
90
  };
91
91
  /**
@@ -99,7 +99,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
99
99
  onClick?: ((...args: any[]) => any) | undefined;
100
100
  onClose?: ((...args: any[]) => any) | undefined;
101
101
  }>, {
102
- size: ChipSizeUnion;
102
+ size: ChipSizeModifiersUnion;
103
103
  title: string | number;
104
104
  closable: boolean;
105
105
  counter: string | number;
@@ -128,9 +128,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
128
128
  default: null;
129
129
  };
130
130
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
131
+ compact: (value: boolean) => any;
131
132
  "absolute-mode": (value: boolean) => any;
132
133
  "hidden-mode": (value: boolean) => any;
133
- compact: (value: boolean) => any;
134
134
  chatraClick: () => any;
135
135
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
136
136
  /**
@@ -259,13 +259,13 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
259
259
  default: null;
260
260
  };
261
261
  }>> & Readonly<{
262
+ onCompact?: ((value: boolean) => any) | undefined;
262
263
  "onAbsolute-mode"?: ((value: boolean) => any) | undefined;
263
264
  "onHidden-mode"?: ((value: boolean) => any) | undefined;
264
- onCompact?: ((value: boolean) => any) | undefined;
265
265
  onChatraClick?: (() => any) | undefined;
266
266
  }>, {
267
- width: string;
268
267
  compact: boolean;
268
+ width: string;
269
269
  logoTitle: string;
270
270
  logoTitleVariation: TitleVariationsUnion;
271
271
  logoSrc: string;
@@ -183,6 +183,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
183
183
  default: boolean;
184
184
  };
185
185
  }>> & Readonly<{}>, {
186
+ compact: boolean;
186
187
  info: string | number | null;
187
188
  icon: "reset" | "link" | "fast" | "email" | "info" | "circle" | "a_circle" | "access_time" | "account_circle" | "account_edit" | "add" | "add_circle" | "address" | "ads_banner" | "album" | "alert_solid" | "alternate_email" | "amocrm" | "amper_music" | "analytics" | "animation_motion" | "api" | "apple_icon" | "applications" | "applications_new" | "apps" | "archive" | "archive_in" | "archive_out" | "arrow-stats-down" | "arrow-stats-up" | "arrow_backward" | "arrow_downward" | "arrow_drop_down" | "arrow_drop_up" | "arrow_forward" | "arrow_leftward" | "arrow_rightward" | "arrow_split" | "arrow_to_grow_circle" | "arrow_up_down" | "arrow_upward" | "arrows" | "artist" | "assessment" | "assets_unassigned" | "assignment" | "assignment_ind" | "assist_icon" | "attach_money" | "audiotrack" | "backspace" | "bank" | "bank_building" | "bank_building_blue" | "bank_building_circled" | "bank_building_colored" | "bank_card" | "bank_card_arrow" | "bank_card_clock" | "bank_card_double" | "bank_card_virtual_blue" | "bank_money_colored" | "bankwire" | "bell" | "binance_coin_colored" | "biometrics" | "bitcoin" | "bitcoin_cash_colored" | "bitcoin_colored" | "board" | "book" | "broken_link" | "bug" | "bug_big" | "bug_report" | "building" | "building_colored" | "buildings" | "business_center" | "calendar" | "calendar_colored" | "calendar_load" | "calendar_sixteen" | "calendar_two_weeks" | "calendar_user" | "camera_alt" | "camera_plus" | "camera_video" | "cancel" | "cancel_alt" | "capitalist" | "capitalist_colored" | "card" | "card_mastercard_colored" | "card_mir_colored" | "card_off" | "card_off_circle" | "card_to_card_blue" | "card_to_card_colored" | "card_visa_colored" | "cash-ad" | "cash" | "category" | "cellphone" | "change_sheet" | "channels_icon" | "chart_bar" | "chart_line" | "chat" | "chat_add" | "chat_forum" | "chat_messages" | "check-rhombus" | "check" | "check_all" | "check_circle" | "check_circle_second" | "check_circle_solid" | "check_polygonal" | "checkbox--checked" | "checkbox--indeterminate" | "checkbox" | "checkboxes" | "circle_arrows" | "click" | "clickup" | "clip" | "clock_check" | "clock_solid" | "close" | "close_circle_outline" | "close_circle_solid" | "cloud_upload" | "coin_speed" | "comment" | "company" | "confetti" | "connection" | "contacts" | "contracts" | "convert" | "copy" | "copyright" | "credit-card" | "credit_card_blink" | "crypto" | "crypto_blue" | "crypto_colored" | "cryptowallet" | "cryptowallet_blue" | "cryptowallet_colored" | "cup" | "dashboard" | "date_range" | "deeplinks" | "deferred_payment" | "delete-account" | "delete" | "delete_alt" | "deprecated" | "desktop_device" | "dialog" | "discord" | "discord_colored" | "dislike" | "doc-export" | "document" | "dollar" | "donate_blue" | "donate_colored" | "dot-status" | "download" | "drag" | "eWallet" | "e_wallet_blue" | "e_wallet_colored" | "edit" | "edit_solid" | "email_circle" | "email_colored" | "enrollment" | "epayments_colored" | "epidemic-sound" | "epidemic_sound_circle" | "error" | "ethereum_colored" | "event" | "event_alt" | "exit_to_app" | "explicit" | "export" | "export_all" | "express_payment" | "face" | "face_alt" | "facebook" | "facebook_colored" | "favorite" | "file" | "file_add" | "file_check" | "file_copy" | "file_download" | "file_export" | "file_eye" | "file_import" | "file_list" | "file_list_cross" | "file_new" | "filter_list" | "find_in_page" | "fire" | "fire_colored" | "fire_solid" | "flag_ar" | "flag_en" | "flag_es" | "flag_pt" | "flag_ru" | "flag_th" | "flag_vi" | "fly_dollar" | "fly_euro" | "freeze" | "fullscreen" | "get_app" | "gift_solid" | "glasses" | "google_colored" | "googleplus_colored" | "graph-no-data" | "group" | "group_connection" | "growth_arrow_circle" | "hand_money" | "help" | "help_invert" | "help_solid" | "help_ukraine_colored" | "home" | "iban" | "iban_blue" | "id_square" | "id_thin" | "image" | "infinity" | "info_rounded_square" | "info_solid" | "instagram" | "instagram_colored" | "keyboard" | "keyboard_arrow_left" | "keyboard_arrow_right" | "keyboard_arrow_right_thin" | "kraken" | "language" | "layers" | "lightning" | "lightning_circle" | "lightning_circle_solid" | "lightning_outlined" | "like" | "link_broken" | "link_colored" | "link_external" | "link_external_new" | "linkedin" | "linkedin_colored" | "list" | "litecoin_colored" | "live_help" | "loader" | "location_city" | "location_on" | "lock" | "lock_old" | "logout" | "magic_blink" | "mail_close" | "mail_outline" | "mail_simple" | "marketplace" | "mc_assist" | "mc_dashboard" | "mc_id" | "mc_pay" | "mc_pay_app" | "mc_pay_compact" | "mc_pay_menu" | "mc_pay_menu_circle_colored" | "mc_pay_mobile_app" | "mc_studio" | "mc_vidwide" | "mcadslogo" | "mediacube" | "menu" | "menu_new" | "message" | "messenger" | "messenger_colored" | "minus" | "mobile_device" | "money_clock" | "money_input" | "more_horiz" | "music" | "music_icon" | "new" | "notes" | "objects" | "obs" | "okru" | "okru_colored" | "ondemand_video" | "partners" | "pause" | "pause_circle_solid" | "payment" | "payoneer" | "payoneer_colored" | "payoneer_cy" | "paypal" | "paypal_colored" | "percent" | "percent_circle_arrow" | "person_close" | "personal_email_colored" | "phone_colored" | "photo_add" | "picture" | "picture_thin" | "plane" | "plane_simple" | "planet_colored" | "play-videos" | "play" | "play_circle_solid" | "print" | "prototype" | "public" | "qiwi" | "qiwi_colored" | "radio--checked" | "ready" | "receipt" | "receipt_thin" | "receipt_torn" | "recording" | "recording_circle" | "recruiters" | "redo" | "referral" | "referral_solid" | "reload" | "reload_right" | "remove_red_eye" | "repair" | "reply_arrow" | "requisites" | "resize_video" | "return" | "revenue" | "review" | "ripple_colored" | "rocket" | "rocket_colored" | "rocket_simple" | "rocket_small" | "role" | "safety" | "sand_clock" | "save" | "search" | "send" | "send_solid" | "settings" | "settings_solid" | "settings_tools" | "shield" | "shield_blue" | "shield_colored" | "shield_usd" | "shop" | "shopping_cart" | "shuffle" | "sign_out" | "skype" | "skype_colored" | "slack" | "smile_star_eye" | "sort_asc" | "sort_az" | "sort_desc" | "sort_directions" | "sort_list" | "sort_za" | "spy_colored" | "staff" | "star" | "star_round" | "star_round_solid" | "stars" | "stars_fill" | "stats_icon" | "steam" | "steam_colored" | "studio_icon" | "subscriptions" | "suitcase" | "suitcase_close" | "supervised_user_circle" | "support" | "swap_cubes" | "swap_cubes_colored" | "swap_horizontal_circle" | "switches" | "table" | "telegram" | "telegram_colored" | "tether" | "tether_colored" | "three_dots" | "thumb_down" | "thumb_up" | "tiktok" | "time" | "time_thin" | "timelapse" | "timeline" | "tipalti" | "transaction" | "twitter_colored" | "unarchive" | "unfold_more" | "unlock" | "upload_img" | "usd_coin_colored" | "user" | "user_copy" | "user_edit" | "user_kyc" | "user_square_close" | "viber" | "viber_colored" | "videoblocks" | "vidiq-logo-mono" | "vidiq_circle" | "visibility" | "visibility_off" | "vkontakte" | "vkontakte_colored" | "wallet" | "warning" | "webmoney" | "webmoney_colored" | "website_colored" | "whatsapp" | "whatsapp_colored" | "wise_colored" | "worldfirst" | "x_network" | "yandexmoney" | "yoomoney_colored" | "youtube" | "youtube_circled" | "youtube_circled_second" | "youtube_colored" | "youtube_outlined" | "zcash_colored";
188
189
  title: string;
@@ -190,7 +191,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
190
191
  isActive: boolean;
191
192
  exact: boolean;
192
193
  iconColor: "transparent" | "main" | "main-light" | "main-lighter" | "main-dark" | "purple" | "hover-purple" | "light-purple" | "bg-purple" | "lighter-purple" | "black" | "outline-light" | "dark-gray" | "gray" | "outline-gray" | "hover-gray" | "light-gray" | "bg-gray" | "white" | "hover-blue" | "blue" | "light-blue" | "lighter-blue" | "dark-orange" | "orange" | "yellow" | "dark-red" | "red" | "bright-pink" | "pale-pink" | "dark-green" | "green" | "toxic" | "ultraviolet" | "pinkish" | "azure" | "turquoise" | "darken-turquoise";
193
- compact: boolean;
194
194
  withTooltip: boolean;
195
195
  withIndicator: boolean;
196
196
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -85,8 +85,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
85
85
  "onOpen-side-bar"?: (() => any) | undefined;
86
86
  onHandlerChatraClick?: (() => any) | undefined;
87
87
  }>, {
88
- title: string;
89
88
  compact: boolean;
89
+ title: string;
90
90
  menuMain: ISideBarMenuItem[];
91
91
  counts: Record<string, number | null>;
92
92
  chatraConfig: ISideBarChatra;
@@ -18,6 +18,10 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
18
18
  type: PropType<ITableTotals<ITableColumn>>;
19
19
  default: () => {};
20
20
  };
21
+ totalLoading: {
22
+ type: PropType<boolean>;
23
+ default: boolean;
24
+ };
21
25
  sort: {
22
26
  type: PropType<ITableSort>;
23
27
  default: () => {};
@@ -153,6 +157,10 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
153
157
  type: PropType<ITableTotals<ITableColumn>>;
154
158
  default: () => {};
155
159
  };
160
+ totalLoading: {
161
+ type: PropType<boolean>;
162
+ default: boolean;
163
+ };
156
164
  sort: {
157
165
  type: PropType<ITableSort>;
158
166
  default: () => {};
@@ -278,6 +286,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
278
286
  placeholders: Partial<ITablePlaceholders>;
279
287
  columns: ITableColumn[];
280
288
  totals: ITableTotals<ITableColumn>;
289
+ totalLoading: boolean;
281
290
  fixedFirstColumn: boolean;
282
291
  fixedLastColumn: boolean;
283
292
  hasLoadMore: boolean;
@@ -3,6 +3,9 @@ export declare enum ChipSize {
3
3
  S = "s",
4
4
  M = "m"
5
5
  }
6
+ export declare enum ChipSizeModifiers {
7
+ Compact = "compact"
8
+ }
6
9
  export declare enum ChipModifiers {
7
10
  Invert = "invert",
8
11
  Outline = "outline"
@@ -1,8 +1,9 @@
1
- import { ChipModifiers, ChipSize } from '../enums/Chip';
1
+ import { ChipModifiers, ChipSize, ChipSizeModifiers } from '../enums/Chip';
2
2
  import { ColorTypes } from './styles/Colors';
3
3
  export interface IChipStyleOptions {
4
4
  color: string;
5
5
  variation: string;
6
6
  }
7
7
  export type ChipSizeUnion = (typeof ChipSize)[keyof typeof ChipSize];
8
+ export type ChipSizeModifiersUnion = ChipSizeUnion | `${ChipSizeUnion}-${ChipSizeModifiers.Compact}`;
8
9
  export type ChipVariationUnion = ColorTypes | `${ColorTypes}-${ChipModifiers.Invert}` | `${ColorTypes}-${ChipModifiers.Outline}`;
@@ -1,4 +1,5 @@
1
1
  export * from './dayjs';
2
+ export * from './sanitize';
2
3
  export * as mcGridColAdaptiveProps from './mcGridColAdaptiveProps';
3
4
  export * as mcSvgIconAdaptiveProps from './mcSvgIconAdaptiveProps';
4
5
  export * as mcTitleAdaptiveProps from './mcTitleAdaptiveProps';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mediacube-ui-v2",
3
- "version": "0.0.186",
3
+ "version": "0.0.188",
4
4
  "license": "MIT",
5
5
  "description": "Design system for Mediacube services",
6
6
  "keywords": [