ixbrl-viewer 1.4.70__py3-none-any.whl → 1.4.72__py3-none-any.whl

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.

Potentially problematic release.


This version of ixbrl-viewer might be problematic. Click here for more details.

@@ -90,6 +90,10 @@ const note = 'note' + ws + '\\d{1,3}';
90
90
  const level = 'level' + ws + '\\d{1,3}';
91
91
  const page = 'page' + ws + '\\d{1,3}';
92
92
  const tier = 'tier' + ws + '\\d{1,3}';
93
+ const act = 'act' + ws + 'of' + ws + year; // e.g. 'SECURITIES EXCHANGE ACT OF 1934'
94
+ // Note that this is a superset of "isoDate" but "dateMatch" appears before "do_not_want" so it won't exclude ISO dates.
95
+ const phone_number = '\\d+-\\d+[-\\d]*' // e.g. 275-3125. Also covers employer number (e.g. 47-2509828).
96
+ const form_name = '(?:10|8)-(?:k|q)' // e.g. '10-K'
93
97
 
94
98
  const months_ended = r_or([number_word, '\\d+']) + ws + 'months ended';
95
99
 
@@ -98,7 +102,7 @@ const month_day_year = month_num + '/' + day_with_0 + '/' + year;
98
102
  const month_year = month_num + '/\\d\\d';
99
103
 
100
104
  const do_not_want = r_or([section, topic, form, asc, item, rule, note, level, page,
101
- tier, months_ended, month_day_year, month_year]);
105
+ tier, act, phone_number, form_name, months_ended, month_day_year, month_year]);
102
106
 
103
107
  const number_separator = r_or([r_maybe(ws + hyphen + ws), ws]);
104
108
  const number_word_string = number_word + r_zero_or_more(number_separator + number_word);
@@ -112,12 +112,16 @@ describe("Number match replace", () => {
112
112
  var numbers = [
113
113
  [ 'Sept 20th, 2019', '[[Sept 20th, 2019]]' ],
114
114
  [ 'abcd 37 abcd', 'abcd [[37]] abcd' ],
115
+ [ '2010-01-01', '[[2010-01-01]]' ],
115
116
  // Test "do not want" filtering
116
117
  [ 'abcd topic 37 abcd', 'abcd topic 37 abcd' ],
117
118
  [ 'abcd topic 37 93 abcd', 'abcd topic 37 [[93]] abcd' ],
118
119
  [ 'section 123(a)', 'section 123(a)' ],
119
120
  [ 'section 123a', 'section 123a' ],
120
121
  [ 'section 123', 'section 123' ],
122
+ [ 'securities exchange act of 1934', 'securities exchange act of 1934' ],
123
+ [ '10-K', '10-K' ],
124
+ [ '274-3125', '274-3125' ],
121
125
  // Doesn't match due to end guard
122
126
  [ '401(k)', '401(k)' ],
123
127
  [ 'N RM100', 'N [[RM100]]' ],
@@ -79,7 +79,7 @@
79
79
  }
80
80
 
81
81
  // Apply related fact highlighting (used for calc contributors)
82
- &.ixbrl-related {
82
+ .ixbrl-related {
83
83
  &:not(.ixbrl-no-highlight),
84
84
  .ixbrl-sub-element:not(.ixbrl-no-highlight) {
85
85
  outline: solid 0.125em var(--colour-related-fact);
@@ -92,7 +92,7 @@
92
92
  }
93
93
 
94
94
  // Apply linked fact highlighting (used when hovering on facts in inspector)
95
- &.ixbrl-linked-highlight {
95
+ .ixbrl-linked-highlight {
96
96
  &:not(.ixbrl-no-highlight),
97
97
  .ixbrl-sub-element:not(.ixbrl-no-highlight) {
98
98
  outline: dashed 0.125em var(--colour-linked-fact);
@@ -120,7 +120,7 @@
120
120
  }
121
121
 
122
122
  // Apply solid outline to selected elements
123
- &.ixbrl-selected {
123
+ .ixbrl-selected {
124
124
  &:not(.ixbrl-no-highlight),
125
125
  .ixbrl-sub-element:not(.ixbrl-no-highlight) {
126
126
  // This rule needs to override the previous one so that already selected
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ixbrl-viewer
3
- Version: 1.4.70
3
+ Version: 1.4.72
4
4
  Summary: The Arelle iXBRL Viewer allows iXBRL reports to be viewed interactively in a web browser.
5
5
  Author-email: "arelle.org" <support@arelle.org>
6
6
  License-Expression: Apache-2.0
@@ -35,7 +35,7 @@ Requires-Dist: arelle_release==2.*; extra == "arelle"
35
35
  Provides-Extra: dev
36
36
  Requires-Dist: flake8==7.3.0; extra == "dev"
37
37
  Requires-Dist: lxml-stubs==0.5.1; extra == "dev"
38
- Requires-Dist: mypy==1.16.1; extra == "dev"
38
+ Requires-Dist: mypy==1.17.1; extra == "dev"
39
39
  Requires-Dist: pytest==8.4.1; extra == "dev"
40
40
  Requires-Dist: typing-extensions==4.14.1; extra == "dev"
41
41
  Dynamic: license-file
@@ -1,5 +1,5 @@
1
1
  iXBRLViewerPlugin/__init__.py,sha256=263DtPKBXeTomSI-4SeE7gTX0ak16GiIB9DFOoxBK3k,16839
2
- iXBRLViewerPlugin/_version.py,sha256=J1zb3LOE18nHstPewQ6MOy7F1Vs0t7rwcIf22yoDXT8,513
2
+ iXBRLViewerPlugin/_version.py,sha256=3baw_lQCtMfmXj6xbjNMSelnWDu4F5E6kiVxTCBr9oA,513
3
3
  iXBRLViewerPlugin/constants.py,sha256=DMyEKzoJZPN36vINiNF9wiP7PPofQg0ZLF0H2CP-ns4,3866
4
4
  iXBRLViewerPlugin/featureConfig.py,sha256=551aLjiGAkoxsgFDMBJT8s3nVaF787kgbRjFumTTsBE,255
5
5
  iXBRLViewerPlugin/iXBRLViewer.py,sha256=7IqbLuapCla5_c-lSM4KiKgSezbioKulJ5pa4ZEPejs,30643
@@ -12,7 +12,7 @@ iXBRLViewerPlugin/viewer/version.js,sha256=7b5si8UmaS7QqALQIP-wJ0I8onKFox8VyaAiU
12
12
  iXBRLViewerPlugin/viewer/webpack.common.js,sha256=hpXufjShXAESQh8Ds7ViJ_tbr8XSb7EdqQLRvyu_mQg,1691
13
13
  iXBRLViewerPlugin/viewer/webpack.dev.js,sha256=R9AwY_TBrg9otvXpDxT1UsGg5eMqi4aXW7C7EIsHzZk,551
14
14
  iXBRLViewerPlugin/viewer/webpack.prod.js,sha256=vfLowWC1EOty0zbq9P-usGaJ3w-JoERpJrYaE9MfoSE,499
15
- iXBRLViewerPlugin/viewer/dist/ixbrlviewer.js,sha256=bup-oQnni-Ja9mcivzP45YCmrtoV4eDtwdnJJbrfwW4,942420
15
+ iXBRLViewerPlugin/viewer/dist/ixbrlviewer.js,sha256=y5cubpfJyHruSkcsgbcRGBwULuRMKO_Cp9eoUXSIt80,942432
16
16
  iXBRLViewerPlugin/viewer/dist/ixbrlviewer.js.LICENSE.txt,sha256=LtlhXpjEorsiefz-usoFDNTZC_le1KyOKPWgb3RWIq8,1832
17
17
  iXBRLViewerPlugin/viewer/src/data/utr.json,sha256=32ZuovUvTOiCiXnxQH1fyOlgLEbah8DhUInqxZNIjFc,20159
18
18
  iXBRLViewerPlugin/viewer/src/html/fact-details.html,sha256=r3cPuOzcosgBkYl0jfmRUGjYnLgv6Eu0IeTMmUHY4Ak,2863
@@ -155,8 +155,8 @@ iXBRLViewerPlugin/viewer/src/js/menu.js,sha256=oodODQ7D-2DjX-fiLKyD3OvftEkyOhg23
155
155
  iXBRLViewerPlugin/viewer/src/js/messagebox.js,sha256=p9W10KslmfxWtdSA0cNJBaoAiAHHqXicAXG8JT9ljdg,1435
156
156
  iXBRLViewerPlugin/viewer/src/js/moment-jest.js,sha256=ARWtMMXf_WelYJ4NksOsFLwsKrqsPrXb5Sqfn1NNCWI,1481
157
157
  iXBRLViewerPlugin/viewer/src/js/number-matcher-preprocess.test.js,sha256=0DaUAwIvcpf_sBGmqileotZo9lj1xEAUwhmiNyYj_3s,3939
158
- iXBRLViewerPlugin/viewer/src/js/number-matcher.js,sha256=S8t1yagSyGeNwgITFOSY1Fhsj1tHr8HLtuwgzGlvtPE,6137
159
- iXBRLViewerPlugin/viewer/src/js/number-matcher.test.js,sha256=mNgnB46-p7NxWa6aQvI83GRDupxncvGeDb59KuI8CMM,4059
158
+ iXBRLViewerPlugin/viewer/src/js/number-matcher.js,sha256=kbuFOQV1Fmveb3JLwm5WcDvihYO1TZZVnr43FUwqGDo,6540
159
+ iXBRLViewerPlugin/viewer/src/js/number-matcher.test.js,sha256=_oUrVphaYPA800TNl8sBXyHsZhEWLBSX1ZP6XPeSIGc,4265
160
160
  iXBRLViewerPlugin/viewer/src/js/outline.js,sha256=WqkRuc6FgtRm_pleLDuaTMZfb1kYMkbnGAUXGlS8Jek,6585
161
161
  iXBRLViewerPlugin/viewer/src/js/outline.test.js,sha256=PaUzfy675G04YcjY8CcFDLCWi87Xx2hjqh1pogdetYY,13661
162
162
  iXBRLViewerPlugin/viewer/src/js/period.js,sha256=qTSLapuLwK_Rky0cNZ16ms0o04xSVH_vUBAGdJ8Cx4s,2238
@@ -206,12 +206,12 @@ iXBRLViewerPlugin/viewer/src/less/tabs.less,sha256=Bhhqyn22KKfYsDGXr0vTQt0FZQq1R
206
206
  iXBRLViewerPlugin/viewer/src/less/text-block-viewer.less,sha256=CYwgDxPHXmdlw-mqysbsovTV4rUXvcgb8Cp2qvUhOPA,499
207
207
  iXBRLViewerPlugin/viewer/src/less/text-mixins.less,sha256=pYeQjz6JptSyUTxoVwfNebMx4JfQwxqZKI1fhV3wydo,250
208
208
  iXBRLViewerPlugin/viewer/src/less/validation-report.less,sha256=HWkYEWxny-_zAYrwPXwAXuNCbThMRyomhu6KteUAjEg,351
209
- iXBRLViewerPlugin/viewer/src/less/viewer.less,sha256=piLepb_LJUQw0iDfpXtrHI1Wts9L4tbKvAc3ZDtZi-Q,5598
209
+ iXBRLViewerPlugin/viewer/src/less/viewer.less,sha256=2Q_kms-bYCUHCX1sGUGzF3nQ6GGAy0y348wjybWchl8,5595
210
210
  iXBRLViewerPlugin/viewer/tools/build-font.js,sha256=Q-Uh0o6Uj2fkKd0zjS7rbVV2mkNydmEWGpkg0uWVir4,818
211
- ixbrl_viewer-1.4.70.dist-info/licenses/LICENSE.md,sha256=FOClHlBMDtwKei0tOJ7pv8WZ_HuQJMNYD1az3NpK73o,16647
212
- ixbrl_viewer-1.4.70.dist-info/licenses/NOTICE,sha256=-SHDY0OY7s4gm4Rdk5AB3nbnUsrdHEHPdJuGFR_vuM4,566
213
- ixbrl_viewer-1.4.70.dist-info/METADATA,sha256=vvHUsB-Ju8Llu_Sd0uy-zj9vCiJcec95oQuU8GvuL40,18490
214
- ixbrl_viewer-1.4.70.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
215
- ixbrl_viewer-1.4.70.dist-info/entry_points.txt,sha256=2XUzP20WGwxdvnugdBybUBwAB3xf_zvrOR5W_smFz_4,65
216
- ixbrl_viewer-1.4.70.dist-info/top_level.txt,sha256=iQGm144gaJwCPqPDGQHi8umPFRQAvQShVKDk3JQv3JE,18
217
- ixbrl_viewer-1.4.70.dist-info/RECORD,,
211
+ ixbrl_viewer-1.4.72.dist-info/licenses/LICENSE.md,sha256=FOClHlBMDtwKei0tOJ7pv8WZ_HuQJMNYD1az3NpK73o,16647
212
+ ixbrl_viewer-1.4.72.dist-info/licenses/NOTICE,sha256=-SHDY0OY7s4gm4Rdk5AB3nbnUsrdHEHPdJuGFR_vuM4,566
213
+ ixbrl_viewer-1.4.72.dist-info/METADATA,sha256=z_aKmN9hkU9TyY5wlsbkDAoU6l8L-WgF3bBzIc0CGNw,18490
214
+ ixbrl_viewer-1.4.72.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
215
+ ixbrl_viewer-1.4.72.dist-info/entry_points.txt,sha256=2XUzP20WGwxdvnugdBybUBwAB3xf_zvrOR5W_smFz_4,65
216
+ ixbrl_viewer-1.4.72.dist-info/top_level.txt,sha256=iQGm144gaJwCPqPDGQHi8umPFRQAvQShVKDk3JQv3JE,18
217
+ ixbrl_viewer-1.4.72.dist-info/RECORD,,