jamespot-front-business 1.1.47 → 1.1.48

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/cjs.js CHANGED
@@ -1930,6 +1930,22 @@ const UserCurrent = {
1930
1930
  utils: { isAdmin, isLogged },
1931
1931
  };
1932
1932
 
1933
+ const widgetApiDefinition = {
1934
+ label: 'WIDGET_Api',
1935
+ description: 'WIDGET_Api_Description',
1936
+ name: 'widget-api',
1937
+ img: '/img/fast-intranet/widget-text.png',
1938
+ available: true,
1939
+ panel: {
1940
+ useWrapper: false,
1941
+ useEditor: true,
1942
+ useWidgets: false,
1943
+ },
1944
+ };
1945
+ const widgetApiContent = {
1946
+ url: '',
1947
+ };
1948
+
1933
1949
  const widgetArticleAttachmentDefinition = {
1934
1950
  label: 'WIDGET_Article_Attachment',
1935
1951
  description: 'WIDGET_Article_Attachment_Description',
@@ -1946,6 +1962,33 @@ const widgetArticleAttachmentContent = {
1946
1962
  files: [],
1947
1963
  };
1948
1964
 
1965
+ const widgetArticleButtonDefinition = {
1966
+ label: 'WIDGET_Button',
1967
+ description: 'WIDGET_Button_Description',
1968
+ name: 'widget-article-button',
1969
+ img: '/img/article-widget-thumbnail/widget_thumbnail_button.png',
1970
+ available: true,
1971
+ panel: {
1972
+ useWrapper: false,
1973
+ useEditor: true,
1974
+ useWidgets: false,
1975
+ },
1976
+ };
1977
+ const widgetArticleButtonContent = {
1978
+ text: '',
1979
+ openingType: 'link',
1980
+ openingTypeLink: {
1981
+ url: '',
1982
+ target: '_blank',
1983
+ },
1984
+ variant: 'contained',
1985
+ fontSize: '14',
1986
+ color: '#fff',
1987
+ backgroundColor: '#4dbf96',
1988
+ buttonSize: 'lg',
1989
+ borderRadius: '4',
1990
+ };
1991
+
1949
1992
  const widgetArticleGalleryDefinition = {
1950
1993
  label: 'WIDGET_Article_Gallery',
1951
1994
  description: 'WIDGET_Article_Gallery_Description',
@@ -1978,11 +2021,11 @@ const widgetArticleImageDefinition = {
1978
2021
  };
1979
2022
  const widgetArticleImageContent = {};
1980
2023
 
1981
- const widgetArticleButtonDefinition = {
1982
- label: 'WIDGET_Button',
1983
- description: 'WIDGET_Button_Description',
1984
- name: 'widget-article-button',
1985
- img: '/img/article-widget-thumbnail/widget_thumbnail_button.png',
2024
+ const widgetArticleSliderDefinition = {
2025
+ label: 'WIDGET_Slider',
2026
+ description: 'WIDGET_Slider_Description',
2027
+ name: 'widget-article-slider',
2028
+ img: '/img/article-widget-thumbnail/widget_thumbnail_slider.png',
1986
2029
  available: true,
1987
2030
  panel: {
1988
2031
  useWrapper: false,
@@ -1990,19 +2033,12 @@ const widgetArticleButtonDefinition = {
1990
2033
  useWidgets: false,
1991
2034
  },
1992
2035
  };
1993
- const widgetArticleButtonContent = {
1994
- text: '',
1995
- openingType: 'link',
1996
- openingTypeLink: {
1997
- url: '',
1998
- target: '_blank',
1999
- },
2000
- variant: 'contained',
2001
- fontSize: '14',
2002
- color: '#fff',
2003
- backgroundColor: '#4dbf96',
2004
- buttonSize: 'lg',
2005
- borderRadius: '4',
2036
+ const widgetArticleSliderContent = {
2037
+ slides: [],
2038
+ maxWidth: 800,
2039
+ loop: false,
2040
+ useDots: true,
2041
+ startAt: 0,
2006
2042
  };
2007
2043
 
2008
2044
  const widgetArticleTextDefinition = {
@@ -2041,27 +2077,34 @@ const widgetArticleTitleContent = {
2041
2077
  backgroundColor: 'transparent',
2042
2078
  };
2043
2079
 
2044
- const widgetApiDefinition = {
2045
- label: 'WIDGET_Api',
2046
- description: 'WIDGET_Api_Description',
2047
- name: 'widget-api',
2048
- img: '/img/fast-intranet/widget-text.png',
2049
- available: true,
2050
- panel: {
2051
- useWrapper: false,
2052
- useEditor: true,
2053
- useWidgets: false,
2054
- },
2055
- };
2056
- const widgetApiContent = {
2057
- url: '',
2058
- };
2080
+ const WIDGET_ARTICLE_TITLE = 'widget-article-title';
2081
+ const WIDGET_ARTICLE_TEXT = 'widget-article-text';
2082
+ const WIDGET_ARTICLE_IMAGE = 'widget-article-image';
2083
+ const WIDGET_ARTICLE_BUTTON = 'widget-article-button';
2084
+ const WIDGET_ARTICLE_GALLERY = 'widget-article-gallery';
2085
+ const WIDGET_ARTICLE_ATTACHMENT = 'widget-article-attachment';
2086
+ const WIDGET_CHECK_LIST = 'widget-check-list';
2087
+ const WIDGET_CHECK_LIST_LABEL = 'WIDGET_Check_List';
2088
+ const WIDGET_CHECK_LIST_DESCRIPTION = 'WIDGET_Check_List_Description';
2059
2089
 
2060
- const widgetArticleSliderDefinition = {
2061
- label: 'WIDGET_Slider',
2062
- description: 'WIDGET_Slider_Description',
2063
- name: 'widget-article-slider',
2064
- img: '/img/article-widget-thumbnail/widget_thumbnail_slider.png',
2090
+ var WIDGETS = /*#__PURE__*/Object.freeze({
2091
+ __proto__: null,
2092
+ WIDGET_ARTICLE_TITLE: WIDGET_ARTICLE_TITLE,
2093
+ WIDGET_ARTICLE_TEXT: WIDGET_ARTICLE_TEXT,
2094
+ WIDGET_ARTICLE_IMAGE: WIDGET_ARTICLE_IMAGE,
2095
+ WIDGET_ARTICLE_BUTTON: WIDGET_ARTICLE_BUTTON,
2096
+ WIDGET_ARTICLE_GALLERY: WIDGET_ARTICLE_GALLERY,
2097
+ WIDGET_ARTICLE_ATTACHMENT: WIDGET_ARTICLE_ATTACHMENT,
2098
+ WIDGET_CHECK_LIST: WIDGET_CHECK_LIST,
2099
+ WIDGET_CHECK_LIST_LABEL: WIDGET_CHECK_LIST_LABEL,
2100
+ WIDGET_CHECK_LIST_DESCRIPTION: WIDGET_CHECK_LIST_DESCRIPTION
2101
+ });
2102
+
2103
+ const widgetCheckListDefinition = {
2104
+ label: WIDGET_CHECK_LIST_LABEL,
2105
+ description: WIDGET_CHECK_LIST_DESCRIPTION,
2106
+ name: WIDGET_CHECK_LIST,
2107
+ img: '/img/fast-intranet/widget-check-list.png',
2065
2108
  available: true,
2066
2109
  panel: {
2067
2110
  useWrapper: false,
@@ -2069,12 +2112,8 @@ const widgetArticleSliderDefinition = {
2069
2112
  useWidgets: false,
2070
2113
  },
2071
2114
  };
2072
- const widgetArticleSliderContent = {
2073
- slides: [],
2074
- maxWidth: 800,
2075
- loop: false,
2076
- useDots: true,
2077
- startAt: 0,
2115
+ const widgetCheckListContent = {
2116
+ arr: [],
2078
2117
  };
2079
2118
 
2080
2119
  function uniqid() {
@@ -2117,26 +2156,11 @@ function content(name) {
2117
2156
  return Object.assign({}, widgetArticleImageContent);
2118
2157
  case 'widget-article-text':
2119
2158
  return Object.assign({}, widgetArticleTextContent);
2159
+ case 'widget-check-list':
2160
+ return Object.assign({}, widgetCheckListContent);
2120
2161
  }
2121
2162
  }
2122
2163
 
2123
- const WIDGET_ARTICLE_TITLE = 'widget-article-title';
2124
- const WIDGET_ARTICLE_TEXT = 'widget-article-text';
2125
- const WIDGET_ARTICLE_IMAGE = 'widget-article-image';
2126
- const WIDGET_ARTICLE_BUTTON = 'widget-article-button';
2127
- const WIDGET_ARTICLE_GALLERY = 'widget-article-gallery';
2128
- const WIDGET_ARTICLE_ATTACHMENT = 'widget-article-attachment';
2129
-
2130
- var WIDGETS = /*#__PURE__*/Object.freeze({
2131
- __proto__: null,
2132
- WIDGET_ARTICLE_TITLE: WIDGET_ARTICLE_TITLE,
2133
- WIDGET_ARTICLE_TEXT: WIDGET_ARTICLE_TEXT,
2134
- WIDGET_ARTICLE_IMAGE: WIDGET_ARTICLE_IMAGE,
2135
- WIDGET_ARTICLE_BUTTON: WIDGET_ARTICLE_BUTTON,
2136
- WIDGET_ARTICLE_GALLERY: WIDGET_ARTICLE_GALLERY,
2137
- WIDGET_ARTICLE_ATTACHMENT: WIDGET_ARTICLE_ATTACHMENT
2138
- });
2139
-
2140
2164
  function widgetDefinition(name) {
2141
2165
  switch (name) {
2142
2166
  default:
@@ -2157,6 +2181,8 @@ function widgetDefinition(name) {
2157
2181
  return widgetApiDefinition;
2158
2182
  case 'widget-article-button':
2159
2183
  return widgetArticleButtonDefinition;
2184
+ case 'widget-check-list':
2185
+ return widgetCheckListDefinition;
2160
2186
  }
2161
2187
  }
2162
2188