@cling-se/widget 0.14.2 → 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-BP2ip0A4.js +0 -46
  9. package/dist/AnswerModal-C8i3ldB_.js +0 -3869
  10. package/dist/AttachmentItem-BrvrAMae.js +0 -78
  11. package/dist/BaseDatePicker-BSkAllLg.js +0 -3183
  12. package/dist/BaseUpload-J2v3G0-q.js +0 -1977
  13. package/dist/BlockMedia-CAgKbN_k.js +0 -76
  14. package/dist/CCallout-D5Nk5DgN.js +0 -59
  15. package/dist/CCurrencyDropdown-CGYQfYSD.js +0 -246
  16. package/dist/CDropdownItem-DGES8E6l.js +0 -538
  17. package/dist/CField.vue_vue_type_style_index_0_lang-l0sNRNKZ.js +0 -1
  18. package/dist/CFormField-CE4rV3cr.js +0 -241
  19. package/dist/CPhoneFormat-DXPrTit9.js +0 -62
  20. package/dist/CPriceInput-CYsf1n6T.js +0 -112
  21. package/dist/CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-l0sNRNKZ.js +0 -1
  22. package/dist/ClientAutocomplete-DPgOfPg1.js +0 -78
  23. package/dist/ClientModal-Dznh8Vvn.js +0 -625
  24. package/dist/ColorPicker-CWQEE8VR.js +0 -2879
  25. package/dist/CompanyModal-CeZ3GgLu.js +0 -141
  26. package/dist/ContentWrapper-DW7VHTdA.js +0 -183
  27. package/dist/CoverBlockSettings-DNSdXFgF.js +0 -275
  28. package/dist/DocAnswer-CPttkKAJ.js +0 -36
  29. package/dist/DocDetails-BCwWW_kM.js +0 -246
  30. package/dist/DocForm-BPjC08Ic.js +0 -7273
  31. package/dist/DocFormSend-BaC8IJCu.js +0 -143
  32. package/dist/DocLinks-DN-S8MY_.js +0 -38
  33. package/dist/DocModalBase-bFJp0T2Y.js +0 -28
  34. package/dist/DocPrint-Ci7Jyh-C.js +0 -240
  35. package/dist/DocReceipt-BYlXr6eS.js +0 -210
  36. package/dist/DocSendReminder-DFx4934a.js +0 -137
  37. package/dist/DocTextEditor-idQMnlIF.js +0 -17177
  38. package/dist/DocTimeline-ZmGSVRUB.js +0 -481
  39. package/dist/DocumentClient-DTRlyvLO.js +0 -136
  40. package/dist/DocumentLayout-BJAyNjNa.js +0 -4909
  41. package/dist/DocumentLogotype-pDJRc6Hj.js +0 -87
  42. package/dist/DocumentVoided-DfKewfe4.js +0 -25
  43. package/dist/EmbedInput-7hLNsnEV.js +0 -113
  44. package/dist/EmbedSettings-CpL24RhA.js +0 -72
  45. package/dist/ErrorCallout-CdJCe67q.js +0 -28
  46. package/dist/FilePreviewModal-B7qT3I7F.js +0 -81
  47. package/dist/Flag-DwW19zju.js +0 -114
  48. package/dist/HeaderSettings-C8SuuAwv.js +0 -392
  49. package/dist/ImageSelectModal-CAOh3YHc.js +0 -84
  50. package/dist/ImageUploadWrapper-21yldsj9.js +0 -1604
  51. package/dist/Index-B0BgYtWI.js +0 -150
  52. package/dist/Index-BC1AhlQ9.js +0 -98
  53. package/dist/Index-BZi6r2UN.js +0 -144
  54. package/dist/Index-BsD09y_2.js +0 -84
  55. package/dist/Index-Bu9SdKLP.js +0 -31
  56. package/dist/Index-BvsqZh2A.js +0 -26
  57. package/dist/Index-Bz4qd9uO.js +0 -55
  58. package/dist/Index-C--GiPc1.js +0 -171
  59. package/dist/Index-CC7qF0br.js +0 -77
  60. package/dist/Index-CGxOvTF4.js +0 -2402
  61. package/dist/Index-CI7_ktvb.js +0 -70
  62. package/dist/Index-COJZmxkX.js +0 -32
  63. package/dist/Index-CObEQ6G-.js +0 -140
  64. package/dist/Index-CP2bsXd-.js +0 -52
  65. package/dist/Index-CSvZBLnp.js +0 -49
  66. package/dist/Index-Ci-hGBbC.js +0 -33
  67. package/dist/Index-Ckzq1cEJ.js +0 -69
  68. package/dist/Index-CoIh5y2F.js +0 -62
  69. package/dist/Index-Couda8BX.js +0 -21
  70. package/dist/Index-CvXt3dm6.js +0 -292
  71. package/dist/Index-D95MNzAZ.js +0 -58
  72. package/dist/Index-DB5EG4EI.js +0 -223
  73. package/dist/Index-DDvRihXA.js +0 -24
  74. package/dist/Index-DIAntwBs.js +0 -61
  75. package/dist/Index-DUdJNcDT.js +0 -25
  76. package/dist/Index-DfANvO5d.js +0 -154
  77. package/dist/Index-Ds1Jv5Mr.js +0 -559
  78. package/dist/Index-FIWsRGmh.js +0 -57
  79. package/dist/Index-M3b7S4YX.js +0 -25
  80. package/dist/Index-NoN1_539.js +0 -642
  81. package/dist/Index-UGFm4yxI.js +0 -107
  82. package/dist/Index-aCBe0dXx.js +0 -754
  83. package/dist/Index-kJFtpJEP.js +0 -46
  84. package/dist/Index-rQKoLISX.js +0 -45
  85. package/dist/InputToggleRow-Ct8rvqAF.js +0 -57
  86. package/dist/ManualPopover-B0vp9ydC.js +0 -54
  87. package/dist/MediaWrapper-hmofOPLv.js +0 -23
  88. package/dist/NotBindingText-COpJPwHe.js +0 -32
  89. package/dist/PackageGroup-BdtslJL-.js +0 -699
  90. package/dist/PdfTerms-EDStBDhn.js +0 -36
  91. package/dist/PdfViewer-D1_Roqu2.js +0 -374
  92. package/dist/PlainHtml-C3JPvt4o.js +0 -20
  93. package/dist/PriceHeader-BdfozyN8.js +0 -339
  94. package/dist/SearchApi-CQtYh98a.js +0 -161
  95. package/dist/Setup-DHHMT6xu.js +0 -50
  96. package/dist/SmartList-BXeRj5NC.js +0 -83
  97. package/dist/TermsSettings-D1tDAu-r.js +0 -102
  98. package/dist/ThemeColorRow-HUN-QPY_.js +0 -63
  99. package/dist/ToggleBinding-CRoVM6Nw.js +0 -38
  100. package/dist/UploadModal-BD3pIiPT.js +0 -95
  101. package/dist/VideoPlayerInput-QFJfPoCf.js +0 -93
  102. package/dist/VideoPlayerSettings-CGq--niu.js +0 -61
  103. package/dist/VideoSelectModal-B61rBqdH.js +0 -100
  104. package/dist/anime.es-BrPTThYb.js +0 -858
  105. package/dist/answerDocumentMixin-DiONfM1s.js +0 -51
  106. package/dist/color-TdtKxwVa.js +0 -19
  107. package/dist/debounce-BIchuVwa.js +0 -84
  108. package/dist/dom-CJxkno7i.js +0 -91
  109. package/dist/favicon.ico +0 -0
  110. package/dist/focusDrawerMixin-CzvgKsOZ.js +0 -22
  111. package/dist/formComponentsInstall-EQLbqYqI.js +0 -2494
  112. package/dist/formDrawerState-CiKGHdNH.js +0 -20
  113. package/dist/formValidationMixin-5BVcxu38.js +0 -49
  114. package/dist/i18nMessages-Chz_lxGG.js +0 -17
  115. package/dist/index-BYTRIZIz.js +0 -81
  116. package/dist/index-Be__C37A.js +0 -102
  117. package/dist/index-CUydiL8B.js +0 -3919
  118. package/dist/index-DH6SCEKQ.js +0 -166
  119. package/dist/index-gtVGRKIX.js +0 -347
  120. package/dist/index-tNIrTnCx.js +0 -492
  121. package/dist/index.es.js +0 -35
  122. package/dist/index.umd.js +0 -3148
  123. package/dist/main-Bp2qcma0.js +0 -56697
  124. package/dist/mapFormMixin-Ce3_WIKw.js +0 -72
  125. package/dist/omit-21u5fFMx.js +0 -31
  126. package/dist/publicSenderState-BcN9kJJr.js +0 -21
  127. package/dist/splitpanes-BHUVsCZF.js +0 -382
  128. package/dist/style.css +0 -4
  129. package/dist/throttle-CfPxqhW_.js +0 -18
  130. package/dist/tinycolor-DNK6zGoq.js +0 -633
  131. package/dist/tippy.esm-B5TcTBWX.js +0 -1799
  132. package/dist/utils-GzwJPAEe.js +0 -108
  133. package/dist/vuedraggable.umd-2pmrPYml.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.2",
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/**/*", "src/**/*.vue", "src/**/*.js"],
24
- "exclude": ["node_modules", "../node_modules"],
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-Ce3_WIKw.js";
2
- import { C as s } from "./ClientAutocomplete-DPgOfPg1.js";
3
- import { n as r } from "./main-Bp2qcma0.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
- };