@cling-se/widget 0.14.3 → 0.14.4

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.
Files changed (134) hide show
  1. package/.eslintrc.cjs +4 -4
  2. package/README.md +40 -40
  3. package/package.json +1 -1
  4. package/tsconfig.json +26 -26
  5. package/tsconfig.node.json +10 -10
  6. package/tsconfig.paths.json +17 -17
  7. package/vite.config.ts +61 -61
  8. package/dist/AddClientCallout-DKH-LP5B.js +0 -46
  9. package/dist/AnswerModal-BCbq8wc4.js +0 -3869
  10. package/dist/AttachmentItem-60CSZnkF.js +0 -78
  11. package/dist/BaseDatePicker-Cl8SnC1k.js +0 -3183
  12. package/dist/BaseUpload-D4FCjlhL.js +0 -1977
  13. package/dist/BlockMedia-CqkwdGnE.js +0 -76
  14. package/dist/CCallout-BTBgU8f-.js +0 -59
  15. package/dist/CCurrencyDropdown-CL32Mo-Y.js +0 -246
  16. package/dist/CDropdownItem-DlWtQwO6.js +0 -538
  17. package/dist/CField.vue_vue_type_style_index_0_lang-l0sNRNKZ.js +0 -1
  18. package/dist/CFormField-BxJv-nUO.js +0 -241
  19. package/dist/CPhoneFormat-CJ9kndtJ.js +0 -62
  20. package/dist/CPriceInput-BpXI5X2j.js +0 -112
  21. package/dist/CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-l0sNRNKZ.js +0 -1
  22. package/dist/ClientAutocomplete-D9Dj9iBW.js +0 -78
  23. package/dist/ClientModal-JOt8NGcR.js +0 -625
  24. package/dist/ColorPicker-uPKD-Gvm.js +0 -2879
  25. package/dist/CompanyModal-7bG0iIRd.js +0 -141
  26. package/dist/ContentWrapper-B2nyZHL4.js +0 -183
  27. package/dist/CoverBlockSettings-C1O_FAde.js +0 -275
  28. package/dist/DocAnswer-B9G-y4Px.js +0 -36
  29. package/dist/DocDetails-DYHxKChO.js +0 -246
  30. package/dist/DocForm-BktEXjML.js +0 -7273
  31. package/dist/DocFormSend-DM6QgUOj.js +0 -143
  32. package/dist/DocLinks-BIGwfB3H.js +0 -38
  33. package/dist/DocModalBase-D5GdwTI7.js +0 -28
  34. package/dist/DocPrint-HqbaIGms.js +0 -240
  35. package/dist/DocReceipt-WXo6vWyW.js +0 -210
  36. package/dist/DocSendReminder-C8dNEpLg.js +0 -137
  37. package/dist/DocTextEditor-BfOZFDTP.js +0 -17177
  38. package/dist/DocTimeline-CitwS9px.js +0 -481
  39. package/dist/DocumentClient-CQ_z8ajY.js +0 -136
  40. package/dist/DocumentLayout-BA7mFfZh.js +0 -4909
  41. package/dist/DocumentLogotype-woc_hfll.js +0 -87
  42. package/dist/DocumentVoided-DC4FzpxG.js +0 -25
  43. package/dist/EmbedInput-CheqYcNr.js +0 -113
  44. package/dist/EmbedSettings-YcwM8hJw.js +0 -72
  45. package/dist/ErrorCallout-6pCYcx00.js +0 -28
  46. package/dist/FilePreviewModal-T8AiphqO.js +0 -81
  47. package/dist/Flag-Ddm6a4Il.js +0 -114
  48. package/dist/HeaderSettings-DHdZweJH.js +0 -392
  49. package/dist/ImageSelectModal-CAoBhnI8.js +0 -84
  50. package/dist/ImageUploadWrapper-CNv59Lhh.js +0 -1604
  51. package/dist/Index-B6S9U4Z-.js +0 -26
  52. package/dist/Index-BHX0D5fW.js +0 -559
  53. package/dist/Index-BL_7m5Ca.js +0 -70
  54. package/dist/Index-BXMXEUfo.js +0 -223
  55. package/dist/Index-BhVBvMu6.js +0 -32
  56. package/dist/Index-Bl_SNW80.js +0 -25
  57. package/dist/Index-BsguntKl.js +0 -21
  58. package/dist/Index-CGYjPfsf.js +0 -2402
  59. package/dist/Index-CKrGb3of.js +0 -61
  60. package/dist/Index-CMNrQo5a.js +0 -140
  61. package/dist/Index-CU50Al5c.js +0 -642
  62. package/dist/Index-CdqrrZxd.js +0 -77
  63. package/dist/Index-CfnL9dAw.js +0 -58
  64. package/dist/Index-CuW0MYrT.js +0 -171
  65. package/dist/Index-D-z8JSn6.js +0 -154
  66. package/dist/Index-D8giJ_bs.js +0 -84
  67. package/dist/Index-DDvfqy_h.js +0 -24
  68. package/dist/Index-DQDalqZ-.js +0 -107
  69. package/dist/Index-DTIPKKkV.js +0 -150
  70. package/dist/Index-DWxzUBff.js +0 -754
  71. package/dist/Index-DaNGeDQw.js +0 -144
  72. package/dist/Index-DfLU_AyN.js +0 -49
  73. package/dist/Index-DkVav_I7.js +0 -25
  74. package/dist/Index-Dxp8QAtB.js +0 -57
  75. package/dist/Index-DzjxFkcv.js +0 -52
  76. package/dist/Index-EwUJJWaB.js +0 -69
  77. package/dist/Index-I60qAqLl.js +0 -31
  78. package/dist/Index-LfF-7lQK.js +0 -292
  79. package/dist/Index-P0_dyc2V.js +0 -45
  80. package/dist/Index-RQMPSeHw.js +0 -98
  81. package/dist/Index-oipNLl3Y.js +0 -46
  82. package/dist/Index-sJq2Iyvt.js +0 -62
  83. package/dist/Index-uubi3NHX.js +0 -33
  84. package/dist/Index-vNj2kYZT.js +0 -55
  85. package/dist/InputToggleRow-B2pWvVyx.js +0 -57
  86. package/dist/ManualPopover-BI_Sf1zG.js +0 -54
  87. package/dist/MediaWrapper-eFpWxv3n.js +0 -23
  88. package/dist/NotBindingText-DA5NpePz.js +0 -32
  89. package/dist/PackageGroup-DOSijBdN.js +0 -699
  90. package/dist/PdfTerms-Q5YuVtrJ.js +0 -36
  91. package/dist/PdfViewer-zcWl8XZT.js +0 -374
  92. package/dist/PlainHtml-BmA83UAm.js +0 -20
  93. package/dist/PriceHeader-C14L5zgG.js +0 -339
  94. package/dist/SearchApi-CGT7-jVf.js +0 -161
  95. package/dist/Setup-RJQvZlDO.js +0 -50
  96. package/dist/SmartList-YosKRPVn.js +0 -83
  97. package/dist/TermsSettings-C5JTv7rT.js +0 -102
  98. package/dist/ThemeColorRow-D-C_tm2f.js +0 -63
  99. package/dist/ToggleBinding-KEVHHvKf.js +0 -38
  100. package/dist/UploadModal-DOYoWELI.js +0 -95
  101. package/dist/VideoPlayerInput-Dxb6CNk-.js +0 -93
  102. package/dist/VideoPlayerSettings-DsVN4Ix-.js +0 -61
  103. package/dist/VideoSelectModal-BpfzNx61.js +0 -100
  104. package/dist/anime.es-BrPTThYb.js +0 -858
  105. package/dist/answerDocumentMixin-BJMGrfUs.js +0 -51
  106. package/dist/color-TdtKxwVa.js +0 -19
  107. package/dist/debounce-BN83gOVd.js +0 -84
  108. package/dist/dom-CJxkno7i.js +0 -91
  109. package/dist/favicon.ico +0 -0
  110. package/dist/focusDrawerMixin-CawyQaGq.js +0 -22
  111. package/dist/formComponentsInstall-jcnyQ1zw.js +0 -2494
  112. package/dist/formDrawerState-BdNohvZH.js +0 -20
  113. package/dist/formValidationMixin-DOwgebZk.js +0 -49
  114. package/dist/i18nMessages-Chz_lxGG.js +0 -17
  115. package/dist/index-BBJIOkm_.js +0 -347
  116. package/dist/index-BNq9YCWc.js +0 -166
  117. package/dist/index-BdhbkLLU.js +0 -81
  118. package/dist/index-COf8F6CL.js +0 -3916
  119. package/dist/index-D0WvZHX_.js +0 -102
  120. package/dist/index-DTzZP4yq.js +0 -492
  121. package/dist/index.es.js +0 -35
  122. package/dist/index.umd.js +0 -3148
  123. package/dist/main-DE5THsiR.js +0 -56739
  124. package/dist/mapFormMixin-y2txvLw9.js +0 -72
  125. package/dist/omit-BrsWQAtU.js +0 -31
  126. package/dist/publicSenderState-BYsq95Vt.js +0 -21
  127. package/dist/splitpanes-BHUVsCZF.js +0 -382
  128. package/dist/style.css +0 -4
  129. package/dist/throttle-C2srA2wa.js +0 -18
  130. package/dist/tinycolor-SjV_ROuP.js +0 -633
  131. package/dist/tippy.esm-Dj7DQppr.js +0 -1799
  132. package/dist/utils-16HMuRfY.js +0 -108
  133. package/dist/vuedraggable.umd-Cd1g2Hr7.js +0 -3161
  134. package/dist/vuex.esm-DKGl8mcw.js +0 -467
package/.eslintrc.cjs CHANGED
@@ -1,4 +1,4 @@
1
- // eslint-disable-next-line no-undef
2
- module.exports = {
3
- extends: ['../.eslintrc.cjs']
4
- }
1
+ // eslint-disable-next-line no-undef
2
+ module.exports = {
3
+ extends: ['../.eslintrc.cjs']
4
+ }
package/README.md CHANGED
@@ -1,40 +1,40 @@
1
- # Publish to @cling-se/widget
2
-
3
- [NPM directory - @cling-se/widget](https://www.npmjs.com/package/@cling-se/widget)
4
-
5
- ### Prerequisites
6
-
7
- 1. Authenticated to NPM
8
- 2. Publishing rights to `@cling-se/widget`
9
-
10
- ### Publishing to NPM
11
-
12
- **Bumping the version**
13
-
14
- - Stand on `dev/master`. Using `dev` is fine as long as the branch is stable.
15
- - Navigate to `widget/package.json` and change version according to semantic versioning (_see table below_)
16
- - Commit and push version change to `dev/master`
17
- - Commit message: `chore(widget): bumps version to <version>`
18
-
19
- **Publishing**
20
-
21
- - Navigate to root and run "pnpm widget:publish"
22
- - If not publishing from master you will be prompted with a confirm dialog. Press yes if the dev branch is stable
23
- - Post a message in **#cling-release-notes** channel:
24
-
25
- New Cling Widget published <npmVersion>
26
- - Specify your changes in a bullet list
27
-
28
- ### Resources and definitions
29
-
30
- <!-- Definition table -->
31
- <details>
32
- <summary>Semantic versioning definitions</summary>
33
-
34
- | Version | Description |
35
- | ------- | -------------------------------------------------------------------------------------------------------------------------------------- |
36
- | MAJOR | When you make incompatible API changes. _At the time of writing we only change this if we plan on long term maintainance of a version_ |
37
- | MINOR | When you add functionality in a backwards compatible manner. |
38
- | PATCH | When you make backwards compatible bug fixes. |
39
-
40
- </details>
1
+ # Publish to @cling-se/widget
2
+
3
+ [NPM directory - @cling-se/widget](https://www.npmjs.com/package/@cling-se/widget)
4
+
5
+ ### Prerequisites
6
+
7
+ 1. Authenticated to NPM
8
+ 2. Publishing rights to `@cling-se/widget`
9
+
10
+ ### Publishing to NPM
11
+
12
+ **Bumping the version**
13
+
14
+ - Stand on `dev/master`. Using `dev` is fine as long as the branch is stable.
15
+ - Navigate to `widget/package.json` and change version according to semantic versioning (_see table below_)
16
+ - Commit and push version change to `dev/master`
17
+ - Commit message: `chore(widget): bumps version to <version>`
18
+
19
+ **Publishing**
20
+
21
+ - Navigate to root and run "pnpm widget:publish"
22
+ - If not publishing from master you will be prompted with a confirm dialog. Press yes if the dev branch is stable
23
+ - Post a message in **#cling-release-notes** channel:
24
+
25
+ New Cling Widget published <npmVersion>
26
+ - Specify your changes in a bullet list
27
+
28
+ ### Resources and definitions
29
+
30
+ <!-- Definition table -->
31
+ <details>
32
+ <summary>Semantic versioning definitions</summary>
33
+
34
+ | Version | Description |
35
+ | ------- | -------------------------------------------------------------------------------------------------------------------------------------- |
36
+ | MAJOR | When you make incompatible API changes. _At the time of writing we only change this if we plan on long term maintainance of a version_ |
37
+ | MINOR | When you add functionality in a backwards compatible manner. |
38
+ | PATCH | When you make backwards compatible bug fixes. |
39
+
40
+ </details>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cling-se/widget",
3
- "version": "0.14.3",
3
+ "version": "0.14.4",
4
4
  "type": "module",
5
5
  "main": "./dist/index.umd.js",
6
6
  "module": "./dist/index.es.js",
package/tsconfig.json CHANGED
@@ -1,26 +1,26 @@
1
- {
2
- "extends": "./tsconfig.paths.json",
3
- "compilerOptions": {
4
- "target": "ES2020",
5
- "useDefineForClassFields": true,
6
- "lib": ["ES2020", "DOM"],
7
- "module": "ES2020",
8
- "skipLibCheck": true,
9
- "allowJs": true,
10
-
11
- // Bundler mode
12
- "moduleResolution": "bundler",
13
- "resolveJsonModule": true,
14
- "isolatedModules": true,
15
- "noEmit": true,
16
-
17
- // Linting
18
- "strict": true,
19
- "noUnusedLocals": true,
20
- "noUnusedParameters": true,
21
- "noFallthroughCasesInSwitch": true
22
- },
23
- "include": ["src/**/*"],
24
- "exclude": ["node_modules", "../node_modules", "./dist/**/*"],
25
- "references": [{ "path": "./tsconfig.node.json" }]
26
- }
1
+ {
2
+ "extends": "./tsconfig.paths.json",
3
+ "compilerOptions": {
4
+ "target": "ES2020",
5
+ "useDefineForClassFields": true,
6
+ "lib": ["ES2020", "DOM"],
7
+ "module": "ES2020",
8
+ "skipLibCheck": true,
9
+ "allowJs": true,
10
+
11
+ // Bundler mode
12
+ "moduleResolution": "bundler",
13
+ "resolveJsonModule": true,
14
+ "isolatedModules": true,
15
+ "noEmit": true,
16
+
17
+ // Linting
18
+ "strict": true,
19
+ "noUnusedLocals": true,
20
+ "noUnusedParameters": true,
21
+ "noFallthroughCasesInSwitch": true
22
+ },
23
+ "include": ["src/**/*"],
24
+ "exclude": ["node_modules", "../node_modules", "./dist/**/*"],
25
+ "references": [{ "path": "./tsconfig.node.json" }]
26
+ }
@@ -1,10 +1,10 @@
1
- {
2
- "compilerOptions": {
3
- "composite": true,
4
- "skipLibCheck": true,
5
- "module": "ESNext",
6
- "moduleResolution": "bundler",
7
- "allowSyntheticDefaultImports": true
8
- },
9
- "include": ["./vite.config.ts"]
10
- }
1
+ {
2
+ "compilerOptions": {
3
+ "composite": true,
4
+ "skipLibCheck": true,
5
+ "module": "ESNext",
6
+ "moduleResolution": "bundler",
7
+ "allowSyntheticDefaultImports": true
8
+ },
9
+ "include": ["./vite.config.ts"]
10
+ }
@@ -1,17 +1,17 @@
1
- {
2
- "compilerOptions": {
3
- "baseUrl": "./src",
4
- "paths": {
5
- "@/*": ["*"],
6
- "@/assets/*": ["assets/*"],
7
- "@/components/*": ["components/*"],
8
- "@/models": ["models/*"],
9
- "@/plugins/*": ["plugins/*"],
10
- "@/router/*": ["router/*"],
11
- "@/store/*": ["store/*"],
12
- "@/ui/*": ["ui/*"],
13
- "@/utils": ["utils/*"],
14
- "@/views/*": ["views/*"]
15
- }
16
- }
17
- }
1
+ {
2
+ "compilerOptions": {
3
+ "baseUrl": "./src",
4
+ "paths": {
5
+ "@/*": ["*"],
6
+ "@/assets/*": ["assets/*"],
7
+ "@/components/*": ["components/*"],
8
+ "@/models": ["models/*"],
9
+ "@/plugins/*": ["plugins/*"],
10
+ "@/router/*": ["router/*"],
11
+ "@/store/*": ["store/*"],
12
+ "@/ui/*": ["ui/*"],
13
+ "@/utils": ["utils/*"],
14
+ "@/views/*": ["views/*"]
15
+ }
16
+ }
17
+ }
package/vite.config.ts CHANGED
@@ -1,61 +1,61 @@
1
- import { resolve } from 'path'
2
-
3
- import vue2 from '@vitejs/plugin-vue2'
4
- import vue2Jsx from '@vitejs/plugin-vue2-jsx'
5
-
6
- import { visualizer } from 'rollup-plugin-visualizer'
7
-
8
- import { defineConfig } from 'vite'
9
- import tsconfigPaths from 'vite-tsconfig-paths'
10
-
11
- import injectCss from './vite-plugin-inject-css'
12
-
13
- import generateSharedConfig from '../shared'
14
-
15
- // https://vitejs.dev/config/
16
- export default ({ mode }) => {
17
- const sharedConfig = generateSharedConfig(mode)
18
-
19
- return defineConfig({
20
- plugins: [
21
- vue2(),
22
- vue2Jsx(),
23
- injectCss({
24
- styleId: process.env.VITE_APP_ROOT_STYLE_ID
25
- }),
26
- tsconfigPaths(),
27
- ...sharedConfig.plugins
28
- ],
29
- resolve: {
30
- alias: {
31
- '@': resolve(__dirname, 'src'),
32
- ...sharedConfig.resolve.alias
33
- }
34
- },
35
- define: {
36
- __APP_TYPE__: JSON.stringify('widget'),
37
- ...sharedConfig.define,
38
- 'process.env.BUILD': JSON.stringify('web') // TODO add to shared when tested in app staging
39
- },
40
- server: {
41
- watch: {
42
- ignored: ['!**/core/**'],
43
- usePolling: true
44
- }
45
- },
46
- build: {
47
- lib: {
48
- entry: resolve(__dirname, 'src/init.js'),
49
- name: 'widget',
50
- fileName: format => `index.${format}.js`
51
- },
52
- rollupOptions: {
53
- plugins: [visualizer()],
54
- output: {
55
- manualChunks: undefined // Create a single file only
56
- }
57
- }
58
- // sourcemap: 'hidden'
59
- }
60
- })
61
- }
1
+ import { resolve } from 'path'
2
+
3
+ import vue2 from '@vitejs/plugin-vue2'
4
+ import vue2Jsx from '@vitejs/plugin-vue2-jsx'
5
+
6
+ import { visualizer } from 'rollup-plugin-visualizer'
7
+
8
+ import { defineConfig } from 'vite'
9
+ import tsconfigPaths from 'vite-tsconfig-paths'
10
+
11
+ import injectCss from './vite-plugin-inject-css'
12
+
13
+ import generateSharedConfig from '../shared'
14
+
15
+ // https://vitejs.dev/config/
16
+ export default ({ mode }) => {
17
+ const sharedConfig = generateSharedConfig(mode)
18
+
19
+ return defineConfig({
20
+ plugins: [
21
+ vue2(),
22
+ vue2Jsx(),
23
+ injectCss({
24
+ styleId: process.env.VITE_APP_ROOT_STYLE_ID
25
+ }),
26
+ tsconfigPaths(),
27
+ ...sharedConfig.plugins
28
+ ],
29
+ resolve: {
30
+ alias: {
31
+ '@': resolve(__dirname, 'src'),
32
+ ...sharedConfig.resolve.alias
33
+ }
34
+ },
35
+ define: {
36
+ __APP_TYPE__: JSON.stringify('widget'),
37
+ ...sharedConfig.define,
38
+ 'process.env.BUILD': JSON.stringify('web') // TODO add to shared when tested in app staging
39
+ },
40
+ server: {
41
+ watch: {
42
+ ignored: ['!**/core/**'],
43
+ usePolling: true
44
+ }
45
+ },
46
+ build: {
47
+ lib: {
48
+ entry: resolve(__dirname, 'src/init.js'),
49
+ name: 'widget',
50
+ fileName: format => `index.${format}.js`
51
+ },
52
+ rollupOptions: {
53
+ plugins: [visualizer()],
54
+ output: {
55
+ manualChunks: undefined // Create a single file only
56
+ }
57
+ }
58
+ // sourcemap: 'hidden'
59
+ }
60
+ })
61
+ }
@@ -1,46 +0,0 @@
1
- import { m as o } from "./mapFormMixin-y2txvLw9.js";
2
- import { C as s } from "./ClientAutocomplete-D9Dj9iBW.js";
3
- import { n as r } from "./main-DE5THsiR.js";
4
- const a = {
5
- i18nOptions: {
6
- namespaces: "components",
7
- keyPrefix: "account.documentForm.clients"
8
- },
9
- name: "AddClientCallout",
10
- components: {
11
- ClientAutocomplete: s
12
- },
13
- mixins: [o([])],
14
- props: {
15
- compact: {
16
- type: Boolean,
17
- default: !1
18
- }
19
- },
20
- computed: {
21
- showSearch() {
22
- return this.$view !== "widget" && !this.viewSettings.isPublicForm;
23
- }
24
- }
25
- };
26
- var i = function() {
27
- var t = this, e = t._self._c;
28
- return e("div", { class: t.compact ? "rounded-lg border border-gray-200 p-3" : "rounded-lg border border-gray-200 bg-gray-100 p-3", style: t.compact && {
29
- "--stripe-1": "hsl(var(--gray-color-50))",
30
- "--stripe-2": "hsl(var(--gray-color-100))",
31
- background: "repeating-linear-gradient(45deg,var(--stripe-1),var(--stripe-1) 15px,var(--stripe-2) 15px,var(--stripe-2) 30px)"
32
- } }, [t.compact ? t._e() : e("div", { staticClass: "px-2" }, [e("div", { staticClass: "text-base font-semibold", domProps: { textContent: t._s(t.$t("title")) } }), e("div", { staticClass: "pb-6 text-gray-700", domProps: { textContent: t._s(t.$t("subTitle")) } })]), e("CField", { attrs: { grouped: "", "group-multiline": "" } }, [e("div", { staticClass: "control" }, [e("CButton", { staticClass: "is-left", attrs: { type: "secondary", size: "small", taller: "", "icon-left": "plus" }, on: { click: function(p) {
33
- return t.$emit("add");
34
- } } }, [t._v(" " + t._s(t.showSearch ? t.$t("add.new") : t.$t("_common:add", { thing: t.$t("_common:recipient") })) + " ")])], 1), t.showSearch ? [t.compact ? e("div", { staticClass: "control flex items-center text-gray-500", staticStyle: { width: "initial", "font-size": "13px" } }, [t._v(" " + t._s(t.$t("_common:or")) + " ")]) : t._e(), e("ClientAutocomplete", t._g({ staticStyle: { flex: "1 1 0" }, attrs: { "show-loading": !0, "show-empty": !0, icon: "search", "clear-on-select": "" } }, t.$listeners))] : t._e()], 2)], 1);
35
- }, n = [], l = /* @__PURE__ */ r(
36
- a,
37
- i,
38
- n,
39
- !1,
40
- null,
41
- null
42
- );
43
- const _ = l.exports;
44
- export {
45
- _ as default
46
- };